Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / config / NormalizedConfig

Interface: NormalizedConfig

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:25

Normalized B2C configuration with camelCase fields.

This is the canonical intermediate format that all configuration sources map to. It provides a consistent interface regardless of the source format (dw.json uses kebab-case, env vars use SCREAMING_SNAKE_CASE, etc.).

Properties

accountManagerHost?

optional accountManagerHost: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:50

Account Manager hostname for OAuth (default: account.demandware.com)


authMethods?

optional authMethods: AuthMethod[]

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:48

Allowed authentication methods in priority order


clientId?

optional clientId: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:42

OAuth client ID


clientSecret?

optional clientSecret: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:44

OAuth client secret


codeVersion?

optional codeVersion: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:32

Code version for deployments


hostname?

optional hostname: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:28

B2C instance hostname


instanceName?

optional instanceName: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:68

Instance name (from multi-config dw.json)


mrtApiKey?

optional mrtApiKey: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:62

MRT API key


mrtEnvironment?

optional mrtEnvironment: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:60

MRT environment name (e.g., staging, production)


mrtOrigin?

optional mrtOrigin: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:64

MRT API origin URL override


mrtProject?

optional mrtProject: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:58

MRT project slug


password?

optional password: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:38

Password/access-key for Basic auth (WebDAV)


scopes?

optional scopes: string[]

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:46

OAuth scopes


shortCode?

optional shortCode: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:54

SCAPI short code


username?

optional username: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:36

Username for Basic auth (WebDAV)


webdavHostname?

optional webdavHostname: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:30

Separate hostname for WebDAV operations (if different from main hostname)

All rights reserved.