/** * @type Client: * * @property clientId: Client ID * - **Max Length:** 100 * * @property name: Client Name * - **Max Length:** 100 * * @property secret: Client Secret. The secret will only display on create and if the secret was updated when updating the client. * - **Max Length:** 256 * * @property scopes: Merchant scopes. These scopes allows different permissions in SLAS and B2C commerce. Shopper Custom Objects additionally provides a way to do granular scoping besides the standard `sfcc.shopper-custom-objects` like `sfcc.shopper-custom-objects.xyz` SLAS is capable of handling a maximum of 20 Custom Object scopes. For B2C Commerce scope details, see the [Authorization Scopes Catalog](https://developer.salesforce.com/docs/commerce/commerce-api/guide/auth-z-scope-catalog.html).\" * * @property redirectUri: An absolute URL, beginning with a protocol * - **Max Length:** 2048 * * @property callbackUri: An absolute URL, beginning with a protocol * - **Max Length:** 2048 * * @property channels: Client Channels * * @property isPrivateClient: Private or Public Client * * @property loginEpRestrict: When enabling (true) this will restrict all calls to the `\\login` endpoint for the Client Id. When calling the `\\login` endpoint and `loginEpRestrict` is enabled a HTTP Status code of 403 will be returned. * * @property isSixDigitOtp: If this attribute is set to true in the request for the clientId, a 6-digit OTP is generated during PasswordlessLogin, PasswordReset, and WebAuthn Authorization. If set to false or unspecified, an 8-digit OTP is generated by default for the aforementioned calls. * * @property strictClientAuth: When enabled, requests from this client to `/oauth2/login` and `/oauth2/authorize` are rejected with a 401 if the `x-slas-client-auth` header is missing. The `strictClientAuth` attribute applies only to private clients. The \'x-slas-client-auth\' header is a Base64-encoded string of client credentials. The string is composed of a client ID and client secret, separated by a colon (`:`). For example, `clientId:clientSecret`. Don\'t add the string `\"Basic\"`. * */ export type Client = { clientId: string; name: string; secret: string; scopes: Array; redirectUri: string; callbackUri: string; channels: Array; isPrivateClient?: boolean; loginEpRestrict?: boolean; isSixDigitOtp?: boolean; strictClientAuth?: boolean; } & { [key: string]: any; };