import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class BotServices extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'botServices' , } ) ; } } schema export class BotServicesChannels extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'botServices_channels' , } ) ; } } schema export class BotServicesConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'botServices_connections' , } ) ; } } schema export interface BotServicesOptions { schema readonly apiVersion ? : MicrosoftBotServiceBotServicesApiVersion ; schema readonly etag ? : string ; schema readonly kind ? : MicrosoftBotServiceBotServicesKind ; schema readonly location ? : string ; schema readonly name : MicrosoftBotServiceBotServicesNamePattern ; schema readonly properties : BotProperties ; schema readonly resources ? : MicrosoftBotServiceBotServicesResources [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftBotServiceBotServicesTags ; schema readonly type : MicrosoftBotServiceBotServicesType ; } schema export interface BotServicesChannelsOptions { schema readonly apiVersion ? : MicrosoftBotServiceBotServicesChannelsApiVersion ; schema readonly etag ? : string ; schema readonly kind ? : MicrosoftBotServiceBotServicesChannelsKind ; schema readonly location ? : string ; schema readonly name : MicrosoftBotServiceBotServicesChannelsName ; schema readonly properties : Channel ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftBotServiceBotServicesChannelsTags ; schema readonly type : MicrosoftBotServiceBotServicesChannelsType ; } schema export interface BotServicesConnectionsOptions { schema readonly apiVersion ? : MicrosoftBotServiceBotServicesConnectionsApiVersion ; schema readonly etag ? : string ; schema readonly kind ? : MicrosoftBotServiceBotServicesConnectionsKind ; schema readonly location ? : string ; schema readonly name : MicrosoftBotServiceBotServicesConnectionsNamePattern ; schema readonly properties : ConnectionSettingProperties ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftBotServiceBotServicesConnectionsTags ; schema readonly type : MicrosoftBotServiceBotServicesConnectionsType ; } export enum MicrosoftBotServiceBotServicesApiVersion { "MicrosoftBotServiceBotServicesApiVersion_2021_03_01" = '2021-03-01' } export enum MicrosoftBotServiceBotServicesKind { SDK = 'sdk' , DESIGNER = 'designer' , BOT = 'bot' , FUNCTION = 'function' , AZUREBOT = 'azurebot' } schema export class MicrosoftBotServiceBotServicesNamePattern { public static pattern ( value ) { return value ; } } schema export interface BotProperties { schema readonly cmekKeyVaultUrl ? : string ; schema readonly description ? : string ; schema readonly developerAppInsightKey ? : string ; schema readonly developerAppInsightsApiKey ? : string ; schema readonly developerAppInsightsApplicationId ? : string ; schema readonly displayName : string ; schema readonly endpoint : string ; schema readonly iconUrl ? : string ; schema readonly isCmekEnabled ? : boolean ; schema readonly isIsolated ? : boolean ; schema readonly luisAppIds ? : string [ ] ; schema readonly luisKey ? : string ; schema readonly msaAppId : string ; schema readonly schemaTransformationVersion ? : string ; } schema export class MicrosoftBotServiceBotServicesResources { public static fromBotServicesChannelsChildResource ( value ) { return new MicrosoftBotServiceBotServicesResources ( value ) ; } public static fromBotServicesConnectionsChildResource ( value ) { return new MicrosoftBotServiceBotServicesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface Sku { schema readonly name : SkuName ; } schema export interface MicrosoftBotServiceBotServicesTags { } export enum MicrosoftBotServiceBotServicesType { "MicrosoftBotServiceBotServicesType_MICROSOFT_BOT_SERVICE_BOT_SERVICES" = 'Microsoft.BotService/botServices' } export enum MicrosoftBotServiceBotServicesChannelsApiVersion { "MicrosoftBotServiceBotServicesChannelsApiVersion_2021_03_01" = '2021-03-01' } export enum MicrosoftBotServiceBotServicesChannelsKind { SDK = 'sdk' , DESIGNER = 'designer' , BOT = 'bot' , FUNCTION = 'function' , AZUREBOT = 'azurebot' } export enum MicrosoftBotServiceBotServicesChannelsName { ALEXA_CHANNEL = 'AlexaChannel' , FACEBOOK_CHANNEL = 'FacebookChannel' , EMAIL_CHANNEL = 'EmailChannel' , KIK_CHANNEL = 'KikChannel' , TELEGRAM_CHANNEL = 'TelegramChannel' , SLACK_CHANNEL = 'SlackChannel' , MS_TEAMS_CHANNEL = 'MsTeamsChannel' , SKYPE_CHANNEL = 'SkypeChannel' , WEB_CHAT_CHANNEL = 'WebChatChannel' , DIRECT_LINE_CHANNEL = 'DirectLineChannel' , SMS_CHANNEL = 'SmsChannel' , LINE_CHANNEL = 'LineChannel' , DIRECT_LINE_SPEECH_CHANNEL = 'DirectLineSpeechChannel' } schema export class Channel { public static fromAlexaChannel ( value ) { return new Channel ( value ) ; } public static fromFacebookChannel ( value ) { return new Channel ( value ) ; } public static fromEmailChannel ( value ) { return new Channel ( value ) ; } public static fromMsTeamsChannel ( value ) { return new Channel ( value ) ; } public static fromSkypeChannel ( value ) { return new Channel ( value ) ; } public static fromKikChannel ( value ) { return new Channel ( value ) ; } public static fromWebChatChannel ( value ) { return new Channel ( value ) ; } public static fromDirectLineChannel ( value ) { return new Channel ( value ) ; } public static fromTelegramChannel ( value ) { return new Channel ( value ) ; } public static fromSmsChannel ( value ) { return new Channel ( value ) ; } public static fromSlackChannel ( value ) { return new Channel ( value ) ; } public static fromLineChannel ( value ) { return new Channel ( value ) ; } public static fromDirectLineSpeechChannel ( value ) { return new Channel ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface MicrosoftBotServiceBotServicesChannelsTags { } export enum MicrosoftBotServiceBotServicesChannelsType { "MicrosoftBotServiceBotServicesChannelsType_MICROSOFT_BOT_SERVICE_BOT_SERVICES_CHANNELS" = 'Microsoft.BotService/botServices/channels' } export enum MicrosoftBotServiceBotServicesConnectionsApiVersion { "MicrosoftBotServiceBotServicesConnectionsApiVersion_2021_03_01" = '2021-03-01' } export enum MicrosoftBotServiceBotServicesConnectionsKind { SDK = 'sdk' , DESIGNER = 'designer' , BOT = 'bot' , FUNCTION = 'function' , AZUREBOT = 'azurebot' } schema export class MicrosoftBotServiceBotServicesConnectionsNamePattern { public static pattern ( value ) { return value ; } } schema export interface ConnectionSettingProperties { schema readonly clientId ? : string ; schema readonly clientSecret ? : string ; schema readonly parameters ? : ConnectionSettingParameter [ ] ; schema readonly scopes ? : string ; schema readonly serviceProviderDisplayName ? : string ; schema readonly serviceProviderId ? : string ; } schema export interface MicrosoftBotServiceBotServicesConnectionsTags { } export enum MicrosoftBotServiceBotServicesConnectionsType { "MicrosoftBotServiceBotServicesConnectionsType_MICROSOFT_BOT_SERVICE_BOT_SERVICES_CONNECTIONS" = 'Microsoft.BotService/botServices/connections' } schema export interface BotServicesChannelsChildResource { schema readonly apiVersion : BotServicesChannelsChildResourceApiVersion ; schema readonly etag ? : string ; schema readonly kind ? : BotServicesChannelsChildResourceKind ; schema readonly location ? : string ; schema readonly name : BotServicesChannelsChildResourceName ; schema readonly properties : Channel ; schema readonly sku ? : Sku ; schema readonly tags ? : BotServicesChannelsChildResourceTags ; schema readonly type : BotServicesChannelsChildResourceType ; } schema export interface BotServicesConnectionsChildResource { schema readonly apiVersion : BotServicesConnectionsChildResourceApiVersion ; schema readonly etag ? : string ; schema readonly kind ? : BotServicesConnectionsChildResourceKind ; schema readonly location ? : string ; schema readonly name : BotServicesConnectionsChildResourceNamePattern ; schema readonly properties : ConnectionSettingProperties ; schema readonly sku ? : Sku ; schema readonly tags ? : BotServicesConnectionsChildResourceTags ; schema readonly type : BotServicesConnectionsChildResourceType ; } export enum SkuName { "SkuName_F0" = 'F0' , "SkuName_S1" = 'S1' } schema export interface AlexaChannel { schema readonly channelName : AlexaChannelChannelName ; schema readonly properties ? : AlexaChannelProperties ; } schema export interface FacebookChannel { schema readonly channelName : FacebookChannelChannelName ; schema readonly properties ? : FacebookChannelProperties ; } schema export interface EmailChannel { schema readonly channelName : EmailChannelChannelName ; schema readonly properties ? : EmailChannelProperties ; } schema export interface MsTeamsChannel { schema readonly channelName : MsTeamsChannelChannelName ; schema readonly properties ? : MsTeamsChannelProperties ; } schema export interface SkypeChannel { schema readonly channelName : SkypeChannelChannelName ; schema readonly properties ? : SkypeChannelProperties ; } schema export interface KikChannel { schema readonly channelName : KikChannelChannelName ; schema readonly properties ? : KikChannelProperties ; } schema export interface WebChatChannel { schema readonly channelName : WebChatChannelChannelName ; schema readonly properties ? : WebChatChannelProperties ; } schema export interface DirectLineChannel { schema readonly channelName : DirectLineChannelChannelName ; schema readonly properties ? : DirectLineChannelProperties ; } schema export interface TelegramChannel { schema readonly channelName : TelegramChannelChannelName ; schema readonly properties ? : TelegramChannelProperties ; } schema export interface SmsChannel { schema readonly channelName : SmsChannelChannelName ; schema readonly properties ? : SmsChannelProperties ; } schema export interface SlackChannel { schema readonly channelName : SlackChannelChannelName ; schema readonly properties ? : SlackChannelProperties ; } schema export interface LineChannel { schema readonly channelName : LineChannelChannelName ; schema readonly properties ? : LineChannelProperties ; } schema export interface DirectLineSpeechChannel { schema readonly channelName : DirectLineSpeechChannelChannelName ; schema readonly properties ? : DirectLineSpeechChannelProperties ; } schema export interface ConnectionSettingParameter { schema readonly key ? : string ; schema readonly value ? : string ; } export enum BotServicesChannelsChildResourceApiVersion { "BotServicesChannelsChildResourceApiVersion_2021_03_01" = '2021-03-01' } export enum BotServicesChannelsChildResourceKind { SDK = 'sdk' , DESIGNER = 'designer' , BOT = 'bot' , FUNCTION = 'function' , AZUREBOT = 'azurebot' } export enum BotServicesChannelsChildResourceName { ALEXA_CHANNEL = 'AlexaChannel' , FACEBOOK_CHANNEL = 'FacebookChannel' , EMAIL_CHANNEL = 'EmailChannel' , KIK_CHANNEL = 'KikChannel' , TELEGRAM_CHANNEL = 'TelegramChannel' , SLACK_CHANNEL = 'SlackChannel' , MS_TEAMS_CHANNEL = 'MsTeamsChannel' , SKYPE_CHANNEL = 'SkypeChannel' , WEB_CHAT_CHANNEL = 'WebChatChannel' , DIRECT_LINE_CHANNEL = 'DirectLineChannel' , SMS_CHANNEL = 'SmsChannel' , LINE_CHANNEL = 'LineChannel' , DIRECT_LINE_SPEECH_CHANNEL = 'DirectLineSpeechChannel' } schema export interface BotServicesChannelsChildResourceTags { } export enum BotServicesChannelsChildResourceType { CHANNELS = 'channels' } export enum BotServicesConnectionsChildResourceApiVersion { "BotServicesConnectionsChildResourceApiVersion_2021_03_01" = '2021-03-01' } export enum BotServicesConnectionsChildResourceKind { SDK = 'sdk' , DESIGNER = 'designer' , BOT = 'bot' , FUNCTION = 'function' , AZUREBOT = 'azurebot' } schema export class BotServicesConnectionsChildResourceNamePattern { public static pattern ( value ) { return value ; } } schema export interface BotServicesConnectionsChildResourceTags { } export enum BotServicesConnectionsChildResourceType { CONNECTIONS = 'connections' } export enum AlexaChannelChannelName { ALEXA_CHANNEL = 'AlexaChannel' } schema export interface AlexaChannelProperties { schema readonly alexaSkillId : string ; schema readonly isEnabled : boolean ; } export enum FacebookChannelChannelName { FACEBOOK_CHANNEL = 'FacebookChannel' } schema export interface FacebookChannelProperties { schema readonly appId : string ; schema readonly appSecret ? : string ; schema readonly isEnabled : boolean ; schema readonly pages ? : FacebookPage [ ] ; } export enum EmailChannelChannelName { EMAIL_CHANNEL = 'EmailChannel' } schema export interface EmailChannelProperties { schema readonly emailAddress : string ; schema readonly isEnabled : boolean ; schema readonly password ? : string ; } export enum MsTeamsChannelChannelName { MS_TEAMS_CHANNEL = 'MsTeamsChannel' } schema export interface MsTeamsChannelProperties { schema readonly callingWebHook ? : string ; schema readonly enableCalling ? : boolean ; schema readonly isEnabled : boolean ; } export enum SkypeChannelChannelName { SKYPE_CHANNEL = 'SkypeChannel' } schema export interface SkypeChannelProperties { schema readonly callingWebHook ? : string ; schema readonly enableCalling ? : boolean ; schema readonly enableGroups ? : boolean ; schema readonly enableMediaCards ? : boolean ; schema readonly enableMessaging ? : boolean ; schema readonly enableScreenSharing ? : boolean ; schema readonly enableVideo ? : boolean ; schema readonly groupsMode ? : string ; schema readonly isEnabled : boolean ; } export enum KikChannelChannelName { KIK_CHANNEL = 'KikChannel' } schema export interface KikChannelProperties { schema readonly apiKey ? : string ; schema readonly isEnabled : boolean ; schema readonly isValidated ? : boolean ; schema readonly userName : string ; } export enum WebChatChannelChannelName { WEB_CHAT_CHANNEL = 'WebChatChannel' } schema export interface WebChatChannelProperties { schema readonly sites ? : WebChatSite [ ] ; } export enum DirectLineChannelChannelName { DIRECT_LINE_CHANNEL = 'DirectLineChannel' } schema export interface DirectLineChannelProperties { schema readonly sites ? : DirectLineSite [ ] ; } export enum TelegramChannelChannelName { TELEGRAM_CHANNEL = 'TelegramChannel' } schema export interface TelegramChannelProperties { schema readonly accessToken ? : string ; schema readonly isEnabled : boolean ; schema readonly isValidated ? : boolean ; } export enum SmsChannelChannelName { SMS_CHANNEL = 'SmsChannel' } schema export interface SmsChannelProperties { schema readonly accountSID : string ; schema readonly authToken ? : string ; schema readonly isEnabled : boolean ; schema readonly isValidated ? : boolean ; schema readonly phone : string ; } export enum SlackChannelChannelName { SLACK_CHANNEL = 'SlackChannel' } schema export interface SlackChannelProperties { schema readonly clientId ? : string ; schema readonly clientSecret ? : string ; schema readonly isEnabled : boolean ; schema readonly landingPageUrl ? : string ; schema readonly signingSecret ? : string ; schema readonly verificationToken ? : string ; } export enum LineChannelChannelName { LINE_CHANNEL = 'LineChannel' } schema export interface LineChannelProperties { schema readonly lineRegistrations : LineRegistration [ ] ; } export enum DirectLineSpeechChannelChannelName { DIRECT_LINE_SPEECH_CHANNEL = 'DirectLineSpeechChannel' } schema export interface DirectLineSpeechChannelProperties { schema readonly cognitiveServicesSubscriptionId : string ; schema readonly customSpeechModelId ? : string ; schema readonly customVoiceDeploymentId ? : string ; schema readonly isDefaultBotForCogSvcAccount ? : boolean ; schema readonly isEnabled ? : boolean ; } schema export interface FacebookPage { schema readonly accessToken ? : string ; schema readonly id : string ; } schema export interface WebChatSite { schema readonly enablePreview : boolean ; schema readonly isEnabled : boolean ; schema readonly siteName : string ; } schema export interface DirectLineSite { schema readonly isEnabled : boolean ; schema readonly isSecureSiteEnabled ? : boolean ; schema readonly isV1Enabled : boolean ; schema readonly isV3Enabled : boolean ; schema readonly siteName : string ; schema readonly trustedOrigins ? : string [ ] ; } schema export interface LineRegistration { schema readonly channelAccessToken ? : string ; schema readonly channelSecret ? : string ; }