diff --git a/libraries/botbuilder-core/etc/botbuilder-core.api.md b/libraries/botbuilder-core/etc/botbuilder-core.api.md index cde4b222af..389ba8fe85 100644 --- a/libraries/botbuilder-core/etc/botbuilder-core.api.md +++ b/libraries/botbuilder-core/etc/botbuilder-core.api.md @@ -352,10 +352,13 @@ export class ConfigurationBotFrameworkAuthentication extends BotFrameworkAuthent createUserTokenClient(claimsIdentity: ClaimsIdentity): Promise; } -// Warning: (ae-forgotten-export) The symbol "TypedOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "ZodOptions" needs to be exported by the entry point index.d.ts // // @public -export type ConfigurationBotFrameworkAuthenticationOptions = z.infer; +export interface ConfigurationBotFrameworkAuthenticationOptions extends ZodOptions { + // (undocumented) + [key: string]: string | boolean | undefined; +} // @public export class ConfigurationServiceClientCredentialFactory extends PasswordServiceClientCredentialFactory { diff --git a/libraries/botbuilder-core/src/configurationBotFrameworkAuthentication.ts b/libraries/botbuilder-core/src/configurationBotFrameworkAuthentication.ts index f6053ff236..abffe2954f 100644 --- a/libraries/botbuilder-core/src/configurationBotFrameworkAuthentication.ts +++ b/libraries/botbuilder-core/src/configurationBotFrameworkAuthentication.ts @@ -112,10 +112,14 @@ const TypedOptions = z }) .partial(); +type ZodOptions = z.infer; + /** * Contains settings used to configure a [ConfigurationBotFrameworkAuthentication](xref:botbuilder-core.ConfigurationBotFrameworkAuthentication) instance. */ -export type ConfigurationBotFrameworkAuthenticationOptions = z.infer; +export interface ConfigurationBotFrameworkAuthenticationOptions extends ZodOptions { + [key: string]: string | boolean | undefined; +} /** * Creates a [BotFrameworkAuthentication](xref:botframework-connector.BotFrameworkAuthentication) instance from an object with the authentication values or a [Configuration](xref:botbuilder-dialogs-adaptive-runtime-core.Configuration) instance.