@azure/arm-botservice
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -1,1 +0,1 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@azure/ms-rest-azure-js"),require("@azure/ms-rest-js")):"function"==typeof define&&define.amd?define(["exports","@azure/ms-rest-azure-js","@azure/ms-rest-js"],r):r((e.Azure=e.Azure||{},e.Azure.ArmBotservice={}),e.msRestAzure,e.msRest)}(this,function(e,n,r){"use strict";var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])})(e,r)};function a(e,r){function a(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(a.prototype=r.prototype,new a)}var i=function(){return(i=Object.assign||function(e){for(var r,a=1,t=arguments.length;a<t;a++)for(var i in r=arguments[a])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)},s=Object.freeze({}),o=n.CloudErrorMapper,p=n.BaseResourceMapper,l={serializedName:"Sku",type:{name:"Composite",className:"Sku",modelProperties:{name:{required:!0,serializedName:"name",type:{name:"String"}},tier:{readOnly:!0,serializedName:"tier",type:{name:"String"}}}}},m={serializedName:"Resource",type:{name:"Composite",className:"Resource",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},name:{readOnly:!0,serializedName:"name",type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},sku:{serializedName:"sku",type:{name:"Composite",className:"Sku"}},kind:{serializedName:"kind",type:{name:"String"}},etag:{serializedName:"etag",type:{name:"String"}}}}},d={serializedName:"BotProperties",type:{name:"Composite",className:"BotProperties",modelProperties:{displayName:{required:!0,serializedName:"displayName",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}},iconUrl:{serializedName:"iconUrl",type:{name:"String"}},endpoint:{required:!0,serializedName:"endpoint",type:{name:"String"}},endpointVersion:{readOnly:!0,serializedName:"endpointVersion",type:{name:"String"}},msaAppId:{required:!0,serializedName:"msaAppId",type:{name:"String"}},configuredChannels:{readOnly:!0,serializedName:"configuredChannels",type:{name:"Sequence",element:{type:{name:"String"}}}},enabledChannels:{readOnly:!0,serializedName:"enabledChannels",type:{name:"Sequence",element:{type:{name:"String"}}}},developerAppInsightKey:{serializedName:"developerAppInsightKey",type:{name:"String"}},developerAppInsightsApiKey:{serializedName:"developerAppInsightsApiKey",type:{name:"String"}},developerAppInsightsApplicationId:{serializedName:"developerAppInsightsApplicationId",type:{name:"String"}},luisAppIds:{serializedName:"luisAppIds",type:{name:"Sequence",element:{type:{name:"String"}}}},luisKey:{serializedName:"luisKey",type:{name:"String"}}}}},c={serializedName:"Bot",type:{name:"Composite",className:"Bot",modelProperties:i({},m.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"BotProperties"}}})}},u={serializedName:"Channel",type:{name:"Composite",polymorphicDiscriminator:{serializedName:"channelName",clientName:"channelName"},uberParent:"Channel",className:"Channel",modelProperties:{channelName:{required:!0,serializedName:"channelName",type:{name:"String"}}}}},h={serializedName:"BotChannel",type:{name:"Composite",className:"BotChannel",modelProperties:i({},m.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"Channel"}}})}},y={serializedName:"FacebookPage",type:{name:"Composite",className:"FacebookPage",modelProperties:{id:{required:!0,serializedName:"id",type:{name:"String"}},accessToken:{required:!0,serializedName:"accessToken",type:{name:"String"}}}}},N={serializedName:"FacebookChannelProperties",type:{name:"Composite",className:"FacebookChannelProperties",modelProperties:{verifyToken:{readOnly:!0,serializedName:"verifyToken",type:{name:"String"}},pages:{serializedName:"pages",type:{name:"Sequence",element:{type:{name:"Composite",className:"FacebookPage"}}}},appId:{required:!0,serializedName:"appId",type:{name:"String"}},appSecret:{required:!0,serializedName:"appSecret",type:{name:"String"}},callbackUrl:{readOnly:!0,serializedName:"callbackUrl",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},C={serializedName:"FacebookChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"FacebookChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"FacebookChannelProperties"}}})}},P={serializedName:"EmailChannelProperties",type:{name:"Composite",className:"EmailChannelProperties",modelProperties:{emailAddress:{required:!0,serializedName:"emailAddress",type:{name:"String"}},password:{required:!0,serializedName:"password",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},S={serializedName:"EmailChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"EmailChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"EmailChannelProperties"}}})}},b={serializedName:"MsTeamsChannelProperties",type:{name:"Composite",className:"MsTeamsChannelProperties",modelProperties:{enableCalling:{serializedName:"enableCalling",type:{name:"Boolean"}},callingWebHook:{serializedName:"callingWebHook",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},z={serializedName:"MsTeamsChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"MsTeamsChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"MsTeamsChannelProperties"}}})}},g={serializedName:"SkypeChannelProperties",type:{name:"Composite",className:"SkypeChannelProperties",modelProperties:{enableMessaging:{serializedName:"enableMessaging",type:{name:"Boolean"}},enableMediaCards:{serializedName:"enableMediaCards",type:{name:"Boolean"}},enableVideo:{serializedName:"enableVideo",type:{name:"Boolean"}},enableCalling:{serializedName:"enableCalling",type:{name:"Boolean"}},enableScreenSharing:{serializedName:"enableScreenSharing",type:{name:"Boolean"}},enableGroups:{serializedName:"enableGroups",type:{name:"Boolean"}},groupsMode:{serializedName:"groupsMode",type:{name:"String"}},callingWebHook:{serializedName:"callingWebHook",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},v={serializedName:"SkypeChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"SkypeChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"SkypeChannelProperties"}}})}},M={serializedName:"KikChannelProperties",type:{name:"Composite",className:"KikChannelProperties",modelProperties:{userName:{required:!0,serializedName:"userName",type:{name:"String"}},apiKey:{required:!0,serializedName:"apiKey",type:{name:"String"}},isValidated:{serializedName:"isValidated",type:{name:"Boolean"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},k={serializedName:"KikChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"KikChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"KikChannelProperties"}}})}},f={serializedName:"WebChatSite",type:{name:"Composite",className:"WebChatSite",modelProperties:{siteId:{readOnly:!0,serializedName:"siteId",type:{name:"String"}},siteName:{required:!0,serializedName:"siteName",type:{name:"String"}},key:{readOnly:!0,serializedName:"key",type:{name:"String"}},key2:{readOnly:!0,serializedName:"key2",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}},enablePreview:{required:!0,serializedName:"enablePreview",type:{name:"Boolean"}}}}},q={serializedName:"WebChatChannelProperties",type:{name:"Composite",className:"WebChatChannelProperties",modelProperties:{webChatEmbedCode:{readOnly:!0,serializedName:"webChatEmbedCode",type:{name:"String"}},sites:{serializedName:"sites",type:{name:"Sequence",element:{type:{name:"Composite",className:"WebChatSite"}}}}}}},E={serializedName:"WebChatChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"WebChatChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"WebChatChannelProperties"}}})}},B={serializedName:"DirectLineSite",type:{name:"Composite",className:"DirectLineSite",modelProperties:{siteId:{readOnly:!0,serializedName:"siteId",type:{name:"String"}},siteName:{required:!0,serializedName:"siteName",type:{name:"String"}},key:{readOnly:!0,serializedName:"key",type:{name:"String"}},key2:{readOnly:!0,serializedName:"key2",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}},isV1Enabled:{required:!0,serializedName:"isV1Enabled",type:{name:"Boolean"}},isV3Enabled:{required:!0,serializedName:"isV3Enabled",type:{name:"Boolean"}},isSecureSiteEnabled:{serializedName:"isSecureSiteEnabled",type:{name:"Boolean"}},trustedOrigins:{serializedName:"trustedOrigins",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},O={serializedName:"DirectLineChannelProperties",type:{name:"Composite",className:"DirectLineChannelProperties",modelProperties:{sites:{serializedName:"sites",type:{name:"Sequence",element:{type:{name:"Composite",className:"DirectLineSite"}}}}}}},R={serializedName:"DirectLineChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"DirectLineChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"DirectLineChannelProperties"}}})}},L={serializedName:"TelegramChannelProperties",type:{name:"Composite",className:"TelegramChannelProperties",modelProperties:{accessToken:{required:!0,serializedName:"accessToken",type:{name:"String"}},isValidated:{serializedName:"isValidated",type:{name:"Boolean"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},G={serializedName:"TelegramChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"TelegramChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"TelegramChannelProperties"}}})}},T={serializedName:"SmsChannelProperties",type:{name:"Composite",className:"SmsChannelProperties",modelProperties:{phone:{required:!0,serializedName:"phone",type:{name:"String"}},accountSID:{required:!0,serializedName:"accountSID",type:{name:"String"}},authToken:{required:!0,serializedName:"authToken",type:{name:"String"}},isValidated:{serializedName:"isValidated",type:{name:"Boolean"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},A={serializedName:"SmsChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"SmsChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"SmsChannelProperties"}}})}},I={serializedName:"SlackChannelProperties",type:{name:"Composite",className:"SlackChannelProperties",modelProperties:{clientId:{required:!0,serializedName:"clientId",type:{name:"String"}},clientSecret:{required:!0,serializedName:"clientSecret",type:{name:"String"}},verificationToken:{required:!0,serializedName:"verificationToken",type:{name:"String"}},landingPageUrl:{serializedName:"landingPageUrl",type:{name:"String"}},redirectAction:{readOnly:!0,serializedName:"redirectAction",type:{name:"String"}},lastSubmissionId:{readOnly:!0,serializedName:"lastSubmissionId",type:{name:"String"}},registerBeforeOAuthFlow:{readOnly:!0,serializedName:"registerBeforeOAuthFlow",type:{name:"Boolean"}},isValidated:{readOnly:!0,serializedName:"isValidated",type:{name:"Boolean"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},D={serializedName:"SlackChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"SlackChannel",modelProperties:i({},u.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"SlackChannelProperties"}}})}},x={serializedName:"ConnectionSettingParameter",type:{name:"Composite",className:"ConnectionSettingParameter",modelProperties:{key:{serializedName:"key",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},U={serializedName:"ConnectionSettingProperties",type:{name:"Composite",className:"ConnectionSettingProperties",modelProperties:{clientId:{serializedName:"clientId",type:{name:"String"}},settingId:{readOnly:!0,serializedName:"settingId",type:{name:"String"}},clientSecret:{serializedName:"clientSecret",type:{name:"String"}},scopes:{serializedName:"scopes",type:{name:"String"}},serviceProviderId:{serializedName:"serviceProviderId",type:{name:"String"}},serviceProviderDisplayName:{serializedName:"serviceProviderDisplayName",type:{name:"String"}},parameters:{serializedName:"parameters",type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectionSettingParameter"}}}}}}},W={serializedName:"ConnectionSetting",type:{name:"Composite",className:"ConnectionSetting",modelProperties:i({},m.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"ConnectionSettingProperties"}}})}},F={serializedName:"ServiceProviderParameter",type:{name:"Composite",className:"ServiceProviderParameter",modelProperties:{name:{readOnly:!0,serializedName:"name",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}},displayName:{readOnly:!0,serializedName:"displayName",type:{name:"String"}},description:{readOnly:!0,serializedName:"description",type:{name:"String"}},helpUrl:{readOnly:!0,serializedName:"helpUrl",type:{name:"String"}},default:{readOnly:!0,serializedName:"default",type:{name:"String"}}}}},K={serializedName:"ServiceProviderProperties",type:{name:"Composite",className:"ServiceProviderProperties",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},displayName:{readOnly:!0,serializedName:"displayName",type:{name:"String"}},serviceProviderName:{readOnly:!0,serializedName:"serviceProviderName",type:{name:"String"}},devPortalUrl:{readOnly:!0,serializedName:"devPortalUrl",type:{name:"String"}},iconUrl:{readOnly:!0,serializedName:"iconUrl",type:{name:"String"}},parameters:{serializedName:"parameters",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceProviderParameter"}}}}}}},w={serializedName:"ServiceProvider",type:{name:"Composite",className:"ServiceProvider",modelProperties:{properties:{serializedName:"properties",type:{name:"Composite",className:"ServiceProviderProperties"}}}}},V={serializedName:"ServiceProviderResponseList",type:{name:"Composite",className:"ServiceProviderResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceProvider"}}}}}}},j={serializedName:"ErrorBody",type:{name:"Composite",className:"ErrorBody",modelProperties:{code:{required:!0,serializedName:"code",type:{name:"String"}},message:{required:!0,serializedName:"message",type:{name:"String"}}}}},_={serializedName:"Error",type:{name:"Composite",className:"ErrorModel",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorBody"}}}}},H={serializedName:"OperationDisplayInfo",type:{name:"Composite",className:"OperationDisplayInfo",modelProperties:{description:{serializedName:"description",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}}}}},Z={serializedName:"OperationEntity",type:{name:"Composite",className:"OperationEntity",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplayInfo"}},origin:{serializedName:"origin",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Object"}}}}},$={serializedName:"CheckNameAvailabilityRequestBody",type:{name:"Composite",className:"CheckNameAvailabilityRequestBody",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},J={serializedName:"CheckNameAvailabilityResponseBody",type:{name:"Composite",className:"CheckNameAvailabilityResponseBody",modelProperties:{valid:{serializedName:"valid",type:{name:"Boolean"}},message:{serializedName:"message",type:{name:"String"}}}}},Q={serializedName:"EnterpriseChannelCheckNameAvailabilityRequest",type:{name:"Composite",className:"EnterpriseChannelCheckNameAvailabilityRequest",modelProperties:{name:{serializedName:"name",type:{name:"String"}}}}},X={serializedName:"EnterpriseChannelCheckNameAvailabilityResponse",type:{name:"Composite",className:"EnterpriseChannelCheckNameAvailabilityResponse",modelProperties:{valid:{serializedName:"valid",type:{name:"Boolean"}},message:{serializedName:"message",type:{name:"String"}}}}},Y={serializedName:"EnterpriseChannelNode",type:{name:"Composite",className:"EnterpriseChannelNode",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},state:{serializedName:"state",type:{name:"String"}},name:{required:!0,serializedName:"name",type:{name:"String"}},azureSku:{required:!0,serializedName:"azureSku",type:{name:"String"}},azureLocation:{required:!0,serializedName:"azureLocation",type:{name:"String"}}}}},ee={serializedName:"EnterpriseChannelProperties",type:{name:"Composite",className:"EnterpriseChannelProperties",modelProperties:{state:{serializedName:"state",type:{name:"String"}},nodes:{required:!0,serializedName:"nodes",type:{name:"Sequence",element:{type:{name:"Composite",className:"EnterpriseChannelNode"}}}}}}},re={serializedName:"EnterpriseChannel",type:{name:"Composite",className:"EnterpriseChannel",modelProperties:i({},m.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"EnterpriseChannelProperties"}}})}},ae={serializedName:"BotResponseList",type:{name:"Composite",className:"BotResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"Bot"}}}}}}},te={serializedName:"ChannelResponseList",type:{name:"Composite",className:"ChannelResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"BotChannel"}}}}}}},ie={serializedName:"OperationEntityListResult",type:{name:"Composite",className:"OperationEntityListResult",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"OperationEntity"}}}}}}},ne={serializedName:"ConnectionSettingResponseList",type:{name:"Composite",className:"ConnectionSettingResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectionSetting"}}}}}}},se={serializedName:"EnterpriseChannelResponseList",type:{name:"Composite",className:"EnterpriseChannelResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"EnterpriseChannel"}}}}}}},oe={Channel:u,"Channel.FacebookChannel":C,"Channel.EmailChannel":S,"Channel.MsTeamsChannel":z,"Channel.SkypeChannel":v,"Channel.KikChannel":k,"Channel.WebChatChannel":E,"Channel.DirectLineChannel":R,"Channel.TelegramChannel":G,"Channel.SmsChannel":A,"Channel.SlackChannel":D},pe=Object.freeze({CloudError:o,BaseResource:p,Sku:l,Resource:m,BotProperties:d,Bot:c,Channel:u,BotChannel:h,FacebookPage:y,FacebookChannelProperties:N,FacebookChannel:C,EmailChannelProperties:P,EmailChannel:S,MsTeamsChannelProperties:b,MsTeamsChannel:z,SkypeChannelProperties:g,SkypeChannel:v,KikChannelProperties:M,KikChannel:k,WebChatSite:f,WebChatChannelProperties:q,WebChatChannel:E,DirectLineSite:B,DirectLineChannelProperties:O,DirectLineChannel:R,TelegramChannelProperties:L,TelegramChannel:G,SmsChannelProperties:T,SmsChannel:A,SlackChannelProperties:I,SlackChannel:D,ConnectionItemName:{serializedName:"ConnectionItemName",type:{name:"Composite",className:"ConnectionItemName",modelProperties:{name:{readOnly:!0,serializedName:"name",type:{name:"String"}}}}},ConnectionSettingParameter:x,ConnectionSettingProperties:U,ConnectionSetting:W,ServiceProviderParameter:F,ServiceProviderProperties:K,ServiceProvider:w,ServiceProviderResponseList:V,ErrorBody:j,ErrorModel:_,OperationDisplayInfo:H,OperationEntity:Z,CheckNameAvailabilityRequestBody:$,CheckNameAvailabilityResponseBody:J,EnterpriseChannelCheckNameAvailabilityRequest:Q,EnterpriseChannelCheckNameAvailabilityResponse:X,EnterpriseChannelNode:Y,EnterpriseChannelProperties:ee,EnterpriseChannel:re,BotResponseList:ae,ChannelResponseList:te,OperationEntityListResult:ie,ConnectionSettingResponseList:ne,EnterpriseChannelResponseList:se,discriminators:oe}),le=Object.freeze({discriminators:oe,BaseResource:p,Bot:c,BotChannel:h,BotProperties:d,BotResponseList:ae,Channel:u,CheckNameAvailabilityRequestBody:$,CheckNameAvailabilityResponseBody:J,ConnectionSetting:W,ConnectionSettingParameter:x,ConnectionSettingProperties:U,DirectLineChannel:R,DirectLineChannelProperties:O,DirectLineSite:B,EmailChannel:S,EmailChannelProperties:P,EnterpriseChannel:re,EnterpriseChannelNode:Y,EnterpriseChannelProperties:ee,ErrorBody:j,ErrorModel:_,FacebookChannel:C,FacebookChannelProperties:N,FacebookPage:y,KikChannel:k,KikChannelProperties:M,MsTeamsChannel:z,MsTeamsChannelProperties:b,Resource:m,Sku:l,SkypeChannel:v,SkypeChannelProperties:g,SlackChannel:D,SlackChannelProperties:I,SmsChannel:A,SmsChannelProperties:T,TelegramChannel:G,TelegramChannelProperties:L,WebChatChannel:E,WebChatChannelProperties:q,WebChatSite:f}),me={parameterPath:"acceptLanguage",mapper:{serializedName:"accept-language",defaultValue:"en-US",type:{name:"String"}}},de={parameterPath:"apiVersion",mapper:{required:!0,serializedName:"api-version",type:{name:"String"}}},ce={parameterPath:"channelName",mapper:{required:!0,serializedName:"channelName",type:{name:"Enum",allowedValues:["FacebookChannel","EmailChannel","KikChannel","TelegramChannel","SlackChannel","MsTeamsChannel","SkypeChannel","WebChatChannel","DirectLineChannel","SmsChannel"]}}},ue={parameterPath:"channelName",mapper:{required:!0,serializedName:"channelName",constraints:{MaxLength:64,MinLength:2,Pattern:/^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/},type:{name:"String"}}},he={parameterPath:"connectionName",mapper:{required:!0,serializedName:"connectionName",constraints:{MaxLength:64,MinLength:2,Pattern:/^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/},type:{name:"String"}}},ye={parameterPath:"nextPageLink",mapper:{required:!0,serializedName:"nextLink",type:{name:"String"}},skipEncoding:!0},Ne={parameterPath:"resourceGroupName",mapper:{required:!0,serializedName:"resourceGroupName",constraints:{MaxLength:64,MinLength:2,Pattern:/^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/},type:{name:"String"}}},Ce={parameterPath:"resourceName",mapper:{required:!0,serializedName:"resourceName",constraints:{MaxLength:64,MinLength:2,Pattern:/^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/},type:{name:"String"}}},Pe={parameterPath:"subscriptionId",mapper:{required:!0,serializedName:"subscriptionId",type:{name:"String"}}},Se=(be.prototype.create=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,parameters:a,options:t},ge,i)},be.prototype.update=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},ve,t)},be.prototype.deleteMethod=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},Me,t)},be.prototype.get=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},ke,t)},be.prototype.listByResourceGroup=function(e,r,a){return this.client.sendOperationRequest({resourceGroupName:e,options:r},fe,a)},be.prototype.list=function(e,r){return this.client.sendOperationRequest({options:e},qe,r)},be.prototype.getCheckNameAvailability=function(e,r,a){return this.client.sendOperationRequest({parameters:e,options:r},Ee,a)},be.prototype.listByResourceGroupNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},Be,a)},be.prototype.listNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},Oe,a)},be);function be(e){this.client=e}var ze=new r.Serializer(le),ge={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:"parameters",mapper:i({},c,{required:!0})},responses:{200:{bodyMapper:c},201:{bodyMapper:c},default:{bodyMapper:_}},serializer:ze},ve={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:{location:["options","location"],tags:["options","tags"],sku:["options","sku"],kind:["options","kind"],etag:["options","etag"],properties:["options","properties"]},mapper:i({},c,{required:!0})},responses:{200:{bodyMapper:c},201:{bodyMapper:c},default:{bodyMapper:_}},serializer:ze},Me={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{},204:{},default:{bodyMapper:_}},serializer:ze},ke={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:c},default:{bodyMapper:_}},serializer:ze},fe={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices",urlParameters:[Ne,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:ae},default:{bodyMapper:_}},serializer:ze},qe={httpMethod:"GET",path:"subscriptions/{subscriptionId}/providers/Microsoft.BotService/botServices",urlParameters:[Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:ae},default:{bodyMapper:_}},serializer:ze},Ee={httpMethod:"POST",path:"providers/Microsoft.BotService/checkNameAvailability",queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:"parameters",mapper:i({},$,{required:!0})},responses:{200:{bodyMapper:J},default:{bodyMapper:_}},serializer:ze},Be={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[ye],headerParameters:[me],responses:{200:{bodyMapper:ae},default:{bodyMapper:_}},serializer:ze},Oe={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[ye],headerParameters:[me],responses:{200:{bodyMapper:ae},default:{bodyMapper:_}},serializer:ze},Re=Object.freeze({discriminators:oe,BaseResource:p,Bot:c,BotChannel:h,BotProperties:d,Channel:u,ChannelResponseList:te,ConnectionSetting:W,ConnectionSettingParameter:x,ConnectionSettingProperties:U,DirectLineChannel:R,DirectLineChannelProperties:O,DirectLineSite:B,EmailChannel:S,EmailChannelProperties:P,EnterpriseChannel:re,EnterpriseChannelNode:Y,EnterpriseChannelProperties:ee,ErrorBody:j,ErrorModel:_,FacebookChannel:C,FacebookChannelProperties:N,FacebookPage:y,KikChannel:k,KikChannelProperties:M,MsTeamsChannel:z,MsTeamsChannelProperties:b,Resource:m,Sku:l,SkypeChannel:v,SkypeChannelProperties:g,SlackChannel:D,SlackChannelProperties:I,SmsChannel:A,SmsChannelProperties:T,TelegramChannel:G,TelegramChannelProperties:L,WebChatChannel:E,WebChatChannelProperties:q,WebChatSite:f}),Le=(Ge.prototype.create=function(e,r,a,t,i,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,parameters:t,options:i},Ae,n)},Ge.prototype.update=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,options:t},Ie,i)},Ge.prototype.deleteMethod=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,options:t},De,i)},Ge.prototype.get=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,options:t},xe,i)},Ge.prototype.listWithKeys=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,options:t},Ue,i)},Ge.prototype.listByResourceGroup=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},We,t)},Ge.prototype.listByResourceGroupNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},Fe,a)},Ge);function Ge(e){this.client=e}var Te=new r.Serializer(Re),Ae={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}",urlParameters:[Ne,Ce,ce,Pe],queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:"parameters",mapper:i({},h,{required:!0})},responses:{200:{bodyMapper:h},201:{bodyMapper:h},default:{bodyMapper:_}},serializer:Te},Ie={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}",urlParameters:[Ne,Ce,ce,Pe],queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:{location:["options","location"],tags:["options","tags"],sku:["options","sku"],kind:["options","kind"],etag:["options","etag"],properties:["options","properties"]},mapper:i({},h,{required:!0})},responses:{200:{bodyMapper:h},201:{bodyMapper:h},default:{bodyMapper:_}},serializer:Te},De={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}",urlParameters:[Ne,Ce,ue,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{},204:{},default:{bodyMapper:_}},serializer:Te},xe={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}",urlParameters:[Ne,Ce,ue,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:h},default:{bodyMapper:_}},serializer:Te},Ue={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}/listChannelWithKeys",urlParameters:[Ne,Ce,ce,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:h},default:{bodyMapper:_}},serializer:Te},We={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:te},default:{bodyMapper:_}},serializer:Te},Fe={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[ye],headerParameters:[me],responses:{200:{bodyMapper:te},default:{bodyMapper:_}},serializer:Te},Ke=Object.freeze({discriminators:oe,CloudError:o,OperationDisplayInfo:H,OperationEntity:Z,OperationEntityListResult:ie}),we=(Ve.prototype.list=function(e,r){return this.client.sendOperationRequest({options:e},_e,r)},Ve.prototype.listNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},He,a)},Ve);function Ve(e){this.client=e}var je=new r.Serializer(Ke),_e={httpMethod:"GET",path:"providers/Microsoft.BotService/operations",queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:ie},default:{bodyMapper:o}},serializer:je},He={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[ye],headerParameters:[me],responses:{200:{bodyMapper:ie},default:{bodyMapper:o}},serializer:je},Ze=Object.freeze({discriminators:oe,BaseResource:p,Bot:c,BotChannel:h,BotProperties:d,Channel:u,ConnectionSetting:W,ConnectionSettingParameter:x,ConnectionSettingProperties:U,ConnectionSettingResponseList:ne,DirectLineChannel:R,DirectLineChannelProperties:O,DirectLineSite:B,EmailChannel:S,EmailChannelProperties:P,EnterpriseChannel:re,EnterpriseChannelNode:Y,EnterpriseChannelProperties:ee,ErrorBody:j,ErrorModel:_,FacebookChannel:C,FacebookChannelProperties:N,FacebookPage:y,KikChannel:k,KikChannelProperties:M,MsTeamsChannel:z,MsTeamsChannelProperties:b,Resource:m,ServiceProvider:w,ServiceProviderParameter:F,ServiceProviderProperties:K,ServiceProviderResponseList:V,Sku:l,SkypeChannel:v,SkypeChannelProperties:g,SlackChannel:D,SlackChannelProperties:I,SmsChannel:A,SmsChannelProperties:T,TelegramChannel:G,TelegramChannelProperties:L,WebChatChannel:E,WebChatChannelProperties:q,WebChatSite:f}),$e=(Je.prototype.listServiceProviders=function(e,r){return this.client.sendOperationRequest({options:e},Xe,r)},Je.prototype.listWithSecrets=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,options:t},Ye,i)},Je.prototype.create=function(e,r,a,t,i,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,parameters:t,options:i},er,n)},Je.prototype.update=function(e,r,a,t,i,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,parameters:t,options:i},rr,n)},Je.prototype.get=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,options:t},ar,i)},Je.prototype.deleteMethod=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,options:t},tr,i)},Je.prototype.listByBotService=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},ir,t)},Je.prototype.listByBotServiceNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},nr,a)},Je);function Je(e){this.client=e}var Qe=new r.Serializer(Ze),Xe={httpMethod:"POST",path:"subscriptions/{subscriptionId}/providers/Microsoft.BotService/listAuthServiceProviders",urlParameters:[Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:V},default:{bodyMapper:_}},serializer:Qe},Ye={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}/listWithSecrets",urlParameters:[Ne,Ce,he,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:W},default:{bodyMapper:_}},serializer:Qe},er={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}",urlParameters:[Ne,Ce,he,Pe],queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:"parameters",mapper:i({},W,{required:!0})},responses:{200:{bodyMapper:W},201:{bodyMapper:W},default:{bodyMapper:_}},serializer:Qe},rr={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}",urlParameters:[Ne,Ce,he,Pe],queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:"parameters",mapper:i({},W,{required:!0})},responses:{200:{bodyMapper:W},201:{bodyMapper:W},default:{bodyMapper:_}},serializer:Qe},ar={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}",urlParameters:[Ne,Ce,he,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:W},default:{bodyMapper:_}},serializer:Qe},tr={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}",urlParameters:[Ne,Ce,he,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{},204:{},default:{bodyMapper:_}},serializer:Qe},ir={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:ne},default:{bodyMapper:_}},serializer:Qe},nr={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[ye],headerParameters:[me],responses:{200:{bodyMapper:ne},default:{bodyMapper:_}},serializer:Qe},sr=Object.freeze({discriminators:oe,BaseResource:p,Bot:c,BotChannel:h,BotProperties:d,Channel:u,ConnectionSetting:W,ConnectionSettingParameter:x,ConnectionSettingProperties:U,DirectLineChannel:R,DirectLineChannelProperties:O,DirectLineSite:B,EmailChannel:S,EmailChannelProperties:P,EnterpriseChannel:re,EnterpriseChannelCheckNameAvailabilityRequest:Q,EnterpriseChannelCheckNameAvailabilityResponse:X,EnterpriseChannelNode:Y,EnterpriseChannelProperties:ee,EnterpriseChannelResponseList:se,ErrorBody:j,ErrorModel:_,FacebookChannel:C,FacebookChannelProperties:N,FacebookPage:y,KikChannel:k,KikChannelProperties:M,MsTeamsChannel:z,MsTeamsChannelProperties:b,Resource:m,Sku:l,SkypeChannel:v,SkypeChannelProperties:g,SlackChannel:D,SlackChannelProperties:I,SmsChannel:A,SmsChannelProperties:T,TelegramChannel:G,TelegramChannelProperties:L,WebChatChannel:E,WebChatChannelProperties:q,WebChatSite:f}),or=(pr.prototype.checkNameAvailability=function(e,r,a){return this.client.sendOperationRequest({parameters:e,options:r},dr,a)},pr.prototype.listByResourceGroup=function(e,r,a){return this.client.sendOperationRequest({resourceGroupName:e,options:r},cr,a)},pr.prototype.create=function(e,r,a,t){return this.beginCreate(e,r,a,t).then(function(e){return e.pollUntilFinished()})},pr.prototype.update=function(e,r,a){return this.beginUpdate(e,r,a).then(function(e){return e.pollUntilFinished()})},pr.prototype.deleteMethod=function(e,r,a){return this.beginDeleteMethod(e,r,a).then(function(e){return e.pollUntilFinished()})},pr.prototype.get=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},ur,t)},pr.prototype.beginCreate=function(e,r,a,t){return this.client.sendLRORequest({resourceGroupName:e,resourceName:r,parameters:a,options:t},hr,t)},pr.prototype.beginUpdate=function(e,r,a){return this.client.sendLRORequest({resourceGroupName:e,resourceName:r,options:a},yr,a)},pr.prototype.beginDeleteMethod=function(e,r,a){return this.client.sendLRORequest({resourceGroupName:e,resourceName:r,options:a},Nr,a)},pr.prototype.listByResourceGroupNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},Cr,a)},pr);function pr(e){this.client=e}var lr,mr=new r.Serializer(sr),dr={httpMethod:"POST",path:"providers/Microsoft.BotService/checkEnterpriseChannelNameAvailability",queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:"parameters",mapper:i({},Q,{required:!0})},responses:{200:{bodyMapper:X},default:{bodyMapper:_}},serializer:mr},cr={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/enterpriseChannels",urlParameters:[Ne,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:se},default:{bodyMapper:_}},serializer:mr},ur={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/enterpriseChannels/{resourceName}",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{bodyMapper:re},default:{bodyMapper:_}},serializer:mr},hr={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/enterpriseChannels/{resourceName}",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:"parameters",mapper:i({},re,{required:!0})},responses:{200:{bodyMapper:re},201:{bodyMapper:re},default:{bodyMapper:_}},serializer:mr},yr={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/enterpriseChannels/{resourceName}",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],requestBody:{parameterPath:{location:["options","location"],tags:["options","tags"],sku:["options","sku"],kind:["options","kind"],etag:["options","etag"],properties:["options","properties"]},mapper:i({},re,{required:!0})},responses:{200:{bodyMapper:re},201:{bodyMapper:re},default:{bodyMapper:_}},serializer:mr},Nr={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/enterpriseChannels/{resourceName}",urlParameters:[Ne,Ce,Pe],queryParameters:[de],headerParameters:[me],responses:{200:{},204:{},default:{bodyMapper:_}},serializer:mr},Cr={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[ye],headerParameters:[me],responses:{200:{bodyMapper:se},default:{bodyMapper:_}},serializer:mr},Pr=(a(Sr,lr=n.AzureServiceClient),Sr);function Sr(e,r,a){var t=this;if(null==e)throw new Error("'credentials' cannot be null.");if(null==r)throw new Error("'subscriptionId' cannot be null.");if(a||(a={}),!a.userAgent){var i=n.getDefaultUserAgentValue();a.userAgent="@azure/arm-botservice/1.0.0 "+i}return(t=lr.call(this,e,a)||this).apiVersion="2018-07-12",t.acceptLanguage="en-US",t.longRunningOperationRetryTimeout=30,t.baseUri=a.baseUri||t.baseUri||"https://management.azure.com",t.requestContentType="application/json; charset=utf-8",t.credentials=e,t.subscriptionId=r,null!==a.acceptLanguage&&void 0!==a.acceptLanguage&&(t.acceptLanguage=a.acceptLanguage),null!==a.longRunningOperationRetryTimeout&&void 0!==a.longRunningOperationRetryTimeout&&(t.longRunningOperationRetryTimeout=a.longRunningOperationRetryTimeout),t}var br,zr=(a(gr,br=Pr),gr);function gr(e,r,a){var t=br.call(this,e,r,a)||this;return t.bots=new Se(t),t.channels=new Le(t),t.operations=new we(t),t.botConnection=new $e(t),t.enterpriseChannels=new or(t),t}e.AzureBotService=zr,e.AzureBotServiceContext=Pr,e.AzureBotServiceModels=s,e.AzureBotServiceMappers=pe,e.Bots=Se,e.Channels=Le,e.Operations=we,e.BotConnection=$e,e.EnterpriseChannels=or,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@azure/ms-rest-azure-js"),require("@azure/ms-rest-js")):"function"==typeof define&&define.amd?define(["exports","@azure/ms-rest-azure-js","@azure/ms-rest-js"],r):r(((e=e||self).Azure=e.Azure||{},e.Azure.ArmBotservice={}),e.msRestAzure,e.msRest)}(this,function(e,n,r){"use strict";var i=function(e,r){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])})(e,r)};function a(e,r){function a(){this.constructor=e}i(e,r),e.prototype=null===r?Object.create(r):(a.prototype=r.prototype,new a)}var t=function(){return(t=Object.assign||function(e){for(var r,a=1,i=arguments.length;a<i;a++)for(var t in r=arguments[a])Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e}).apply(this,arguments)},s=Object.freeze({__proto__:null}),o=n.CloudErrorMapper,p=n.BaseResourceMapper,l={serializedName:"Sku",type:{name:"Composite",className:"Sku",modelProperties:{name:{required:!0,serializedName:"name",type:{name:"String"}},tier:{readOnly:!0,serializedName:"tier",type:{name:"String"}}}}},m={serializedName:"Resource",type:{name:"Composite",className:"Resource",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},name:{readOnly:!0,serializedName:"name",type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},sku:{serializedName:"sku",type:{name:"Composite",className:"Sku"}},kind:{serializedName:"kind",type:{name:"String"}},etag:{serializedName:"etag",type:{name:"String"}}}}},d={serializedName:"BotProperties",type:{name:"Composite",className:"BotProperties",modelProperties:{displayName:{required:!0,serializedName:"displayName",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}},iconUrl:{serializedName:"iconUrl",type:{name:"String"}},endpoint:{required:!0,serializedName:"endpoint",type:{name:"String"}},endpointVersion:{readOnly:!0,serializedName:"endpointVersion",type:{name:"String"}},msaAppId:{required:!0,serializedName:"msaAppId",type:{name:"String"}},configuredChannels:{readOnly:!0,serializedName:"configuredChannels",type:{name:"Sequence",element:{type:{name:"String"}}}},enabledChannels:{readOnly:!0,serializedName:"enabledChannels",type:{name:"Sequence",element:{type:{name:"String"}}}},developerAppInsightKey:{serializedName:"developerAppInsightKey",type:{name:"String"}},developerAppInsightsApiKey:{serializedName:"developerAppInsightsApiKey",type:{name:"String"}},developerAppInsightsApplicationId:{serializedName:"developerAppInsightsApplicationId",type:{name:"String"}},luisAppIds:{serializedName:"luisAppIds",type:{name:"Sequence",element:{type:{name:"String"}}}},luisKey:{serializedName:"luisKey",type:{name:"String"}}}}},c={serializedName:"Bot",type:{name:"Composite",className:"Bot",modelProperties:t(t({},m.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"BotProperties"}}})}},u={serializedName:"Channel",type:{name:"Composite",polymorphicDiscriminator:{serializedName:"channelName",clientName:"channelName"},uberParent:"Channel",className:"Channel",modelProperties:{channelName:{required:!0,serializedName:"channelName",type:{name:"String"}}}}},h={serializedName:"BotChannel",type:{name:"Composite",className:"BotChannel",modelProperties:t(t({},m.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"Channel"}}})}},y={serializedName:"AlexaChannelProperties",type:{name:"Composite",className:"AlexaChannelProperties",modelProperties:{alexaSkillId:{required:!0,serializedName:"alexaSkillId",type:{name:"String"}},urlFragment:{readOnly:!0,serializedName:"urlFragment",type:{name:"String"}},serviceEndpointUri:{readOnly:!0,serializedName:"serviceEndpointUri",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},N={serializedName:"AlexaChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"AlexaChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"AlexaChannelProperties"}}})}},C={serializedName:"FacebookPage",type:{name:"Composite",className:"FacebookPage",modelProperties:{id:{required:!0,serializedName:"id",type:{name:"String"}},accessToken:{required:!0,serializedName:"accessToken",type:{name:"String"}}}}},P={serializedName:"FacebookChannelProperties",type:{name:"Composite",className:"FacebookChannelProperties",modelProperties:{verifyToken:{readOnly:!0,serializedName:"verifyToken",type:{name:"String"}},pages:{serializedName:"pages",type:{name:"Sequence",element:{type:{name:"Composite",className:"FacebookPage"}}}},appId:{required:!0,serializedName:"appId",type:{name:"String"}},appSecret:{required:!0,serializedName:"appSecret",type:{name:"String"}},callbackUrl:{readOnly:!0,serializedName:"callbackUrl",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},S={serializedName:"FacebookChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"FacebookChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"FacebookChannelProperties"}}})}},z={serializedName:"EmailChannelProperties",type:{name:"Composite",className:"EmailChannelProperties",modelProperties:{emailAddress:{required:!0,serializedName:"emailAddress",type:{name:"String"}},password:{required:!0,serializedName:"password",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},g={serializedName:"EmailChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"EmailChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"EmailChannelProperties"}}})}},b={serializedName:"MsTeamsChannelProperties",type:{name:"Composite",className:"MsTeamsChannelProperties",modelProperties:{enableCalling:{serializedName:"enableCalling",type:{name:"Boolean"}},callingWebHook:{serializedName:"callingWebHook",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},v={serializedName:"MsTeamsChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"MsTeamsChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"MsTeamsChannelProperties"}}})}},k={serializedName:"SkypeChannelProperties",type:{name:"Composite",className:"SkypeChannelProperties",modelProperties:{enableMessaging:{serializedName:"enableMessaging",type:{name:"Boolean"}},enableMediaCards:{serializedName:"enableMediaCards",type:{name:"Boolean"}},enableVideo:{serializedName:"enableVideo",type:{name:"Boolean"}},enableCalling:{serializedName:"enableCalling",type:{name:"Boolean"}},enableScreenSharing:{serializedName:"enableScreenSharing",type:{name:"Boolean"}},enableGroups:{serializedName:"enableGroups",type:{name:"Boolean"}},groupsMode:{serializedName:"groupsMode",type:{name:"String"}},callingWebHook:{serializedName:"callingWebHook",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},M={serializedName:"SkypeChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"SkypeChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"SkypeChannelProperties"}}})}},f={serializedName:"KikChannelProperties",type:{name:"Composite",className:"KikChannelProperties",modelProperties:{userName:{required:!0,serializedName:"userName",type:{name:"String"}},apiKey:{required:!0,serializedName:"apiKey",type:{name:"String"}},isValidated:{serializedName:"isValidated",type:{name:"Boolean"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},q={serializedName:"KikChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"KikChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"KikChannelProperties"}}})}},B={serializedName:"WebChatSite",type:{name:"Composite",className:"WebChatSite",modelProperties:{siteId:{readOnly:!0,serializedName:"siteId",type:{name:"String"}},siteName:{required:!0,serializedName:"siteName",type:{name:"String"}},key:{readOnly:!0,serializedName:"key",type:{name:"String"}},key2:{readOnly:!0,serializedName:"key2",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}},enablePreview:{required:!0,serializedName:"enablePreview",type:{name:"Boolean"}}}}},L={serializedName:"WebChatChannelProperties",type:{name:"Composite",className:"WebChatChannelProperties",modelProperties:{webChatEmbedCode:{readOnly:!0,serializedName:"webChatEmbedCode",type:{name:"String"}},sites:{serializedName:"sites",type:{name:"Sequence",element:{type:{name:"Composite",className:"WebChatSite"}}}}}}},O={serializedName:"WebChatChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"WebChatChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"WebChatChannelProperties"}}})}},E={serializedName:"DirectLineSite",type:{name:"Composite",className:"DirectLineSite",modelProperties:{siteId:{readOnly:!0,serializedName:"siteId",type:{name:"String"}},siteName:{required:!0,serializedName:"siteName",type:{name:"String"}},key:{readOnly:!0,serializedName:"key",type:{name:"String"}},key2:{readOnly:!0,serializedName:"key2",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}},isV1Enabled:{required:!0,serializedName:"isV1Enabled",type:{name:"Boolean"}},isV3Enabled:{required:!0,serializedName:"isV3Enabled",type:{name:"Boolean"}},isSecureSiteEnabled:{serializedName:"isSecureSiteEnabled",type:{name:"Boolean"}},trustedOrigins:{serializedName:"trustedOrigins",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},R={serializedName:"DirectLineChannelProperties",type:{name:"Composite",className:"DirectLineChannelProperties",modelProperties:{sites:{serializedName:"sites",type:{name:"Sequence",element:{type:{name:"Composite",className:"DirectLineSite"}}}}}}},D={serializedName:"DirectLineChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"DirectLineChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"DirectLineChannelProperties"}}})}},T={serializedName:"TelegramChannelProperties",type:{name:"Composite",className:"TelegramChannelProperties",modelProperties:{accessToken:{required:!0,serializedName:"accessToken",type:{name:"String"}},isValidated:{serializedName:"isValidated",type:{name:"Boolean"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},A={serializedName:"TelegramChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"TelegramChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"TelegramChannelProperties"}}})}},I={serializedName:"SmsChannelProperties",type:{name:"Composite",className:"SmsChannelProperties",modelProperties:{phone:{required:!0,serializedName:"phone",type:{name:"String"}},accountSID:{required:!0,serializedName:"accountSID",type:{name:"String"}},authToken:{required:!0,serializedName:"authToken",type:{name:"String"}},isValidated:{serializedName:"isValidated",type:{name:"Boolean"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},G={serializedName:"SmsChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"SmsChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"SmsChannelProperties"}}})}},x={serializedName:"SlackChannelProperties",type:{name:"Composite",className:"SlackChannelProperties",modelProperties:{clientId:{required:!0,serializedName:"clientId",type:{name:"String"}},clientSecret:{required:!0,serializedName:"clientSecret",type:{name:"String"}},verificationToken:{required:!0,serializedName:"verificationToken",type:{name:"String"}},landingPageUrl:{serializedName:"landingPageUrl",type:{name:"String"}},redirectAction:{readOnly:!0,serializedName:"redirectAction",type:{name:"String"}},lastSubmissionId:{readOnly:!0,serializedName:"lastSubmissionId",type:{name:"String"}},registerBeforeOAuthFlow:{readOnly:!0,serializedName:"registerBeforeOAuthFlow",type:{name:"Boolean"}},isValidated:{readOnly:!0,serializedName:"isValidated",type:{name:"Boolean"}},signingSecret:{serializedName:"signingSecret",type:{name:"String"}},isEnabled:{required:!0,serializedName:"isEnabled",type:{name:"Boolean"}}}}},_={serializedName:"SlackChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"SlackChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"SlackChannelProperties"}}})}},W={serializedName:"LineRegistration",type:{name:"Composite",className:"LineRegistration",modelProperties:{generatedId:{readOnly:!0,serializedName:"generatedId",type:{name:"String"}},channelSecret:{serializedName:"channelSecret",type:{name:"String"}},channelAccessToken:{serializedName:"channelAccessToken",type:{name:"String"}}}}},F={serializedName:"LineChannelProperties",type:{name:"Composite",className:"LineChannelProperties",modelProperties:{lineRegistrations:{required:!0,serializedName:"lineRegistrations",type:{name:"Sequence",element:{type:{name:"Composite",className:"LineRegistration"}}}},callbackUrl:{readOnly:!0,serializedName:"callbackUrl",type:{name:"String"}},isValidated:{readOnly:!0,serializedName:"isValidated",type:{name:"Boolean"}}}}},U={serializedName:"LineChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"LineChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"LineChannelProperties"}}})}},w={serializedName:"DirectLineSpeechChannelProperties",type:{name:"Composite",className:"DirectLineSpeechChannelProperties",modelProperties:{cognitiveServicesSubscriptionId:{required:!0,serializedName:"cognitiveServicesSubscriptionId",type:{name:"String"}},isEnabled:{serializedName:"isEnabled",type:{name:"Boolean"}},customVoiceDeploymentId:{serializedName:"customVoiceDeploymentId",type:{name:"String"}},customSpeechModelId:{serializedName:"customSpeechModelId",type:{name:"String"}},isDefaultBotForCogSvcAccount:{serializedName:"isDefaultBotForCogSvcAccount",type:{name:"Boolean"}}}}},K={serializedName:"DirectLineSpeechChannel",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"Channel",className:"DirectLineSpeechChannel",modelProperties:t(t({},u.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"DirectLineSpeechChannelProperties"}}})}},V={serializedName:"SiteInfo",type:{name:"Composite",className:"SiteInfo",modelProperties:{siteName:{required:!0,serializedName:"siteName",type:{name:"String"}},key:{required:!0,serializedName:"key",type:{name:"Enum",allowedValues:["key1","key2"]}}}}},j={serializedName:"ConnectionSettingParameter",type:{name:"Composite",className:"ConnectionSettingParameter",modelProperties:{key:{serializedName:"key",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},Z={serializedName:"ConnectionSettingProperties",type:{name:"Composite",className:"ConnectionSettingProperties",modelProperties:{clientId:{serializedName:"clientId",type:{name:"String"}},settingId:{readOnly:!0,serializedName:"settingId",type:{name:"String"}},clientSecret:{serializedName:"clientSecret",type:{name:"String"}},scopes:{serializedName:"scopes",type:{name:"String"}},serviceProviderId:{serializedName:"serviceProviderId",type:{name:"String"}},serviceProviderDisplayName:{serializedName:"serviceProviderDisplayName",type:{name:"String"}},parameters:{serializedName:"parameters",type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectionSettingParameter"}}}}}}},H={serializedName:"ConnectionSetting",type:{name:"Composite",className:"ConnectionSetting",modelProperties:t(t({},m.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"ConnectionSettingProperties"}}})}},$={serializedName:"ServiceProviderParameter",type:{name:"Composite",className:"ServiceProviderParameter",modelProperties:{name:{readOnly:!0,serializedName:"name",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}},displayName:{readOnly:!0,serializedName:"displayName",type:{name:"String"}},description:{readOnly:!0,serializedName:"description",type:{name:"String"}},helpUrl:{readOnly:!0,serializedName:"helpUrl",type:{name:"String"}},default:{readOnly:!0,serializedName:"default",type:{name:"String"}}}}},J={serializedName:"ServiceProviderProperties",type:{name:"Composite",className:"ServiceProviderProperties",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},displayName:{readOnly:!0,serializedName:"displayName",type:{name:"String"}},serviceProviderName:{readOnly:!0,serializedName:"serviceProviderName",type:{name:"String"}},devPortalUrl:{readOnly:!0,serializedName:"devPortalUrl",type:{name:"String"}},iconUrl:{readOnly:!0,serializedName:"iconUrl",type:{name:"String"}},parameters:{serializedName:"parameters",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceProviderParameter"}}}}}}},Q={serializedName:"ServiceProvider",type:{name:"Composite",className:"ServiceProvider",modelProperties:{properties:{serializedName:"properties",type:{name:"Composite",className:"ServiceProviderProperties"}}}}},X={serializedName:"ServiceProviderResponseList",type:{name:"Composite",className:"ServiceProviderResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceProvider"}}}}}}},Y={serializedName:"ErrorBody",type:{name:"Composite",className:"ErrorBody",modelProperties:{code:{required:!0,serializedName:"code",type:{name:"String"}},message:{required:!0,serializedName:"message",type:{name:"String"}}}}},ee={serializedName:"Error",type:{name:"Composite",className:"ErrorModel",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorBody"}}}}},re={serializedName:"OperationDisplayInfo",type:{name:"Composite",className:"OperationDisplayInfo",modelProperties:{description:{serializedName:"description",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}}}}},ae={serializedName:"OperationEntity",type:{name:"Composite",className:"OperationEntity",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplayInfo"}},origin:{serializedName:"origin",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Object"}}}}},ie={serializedName:"CheckNameAvailabilityRequestBody",type:{name:"Composite",className:"CheckNameAvailabilityRequestBody",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},te={serializedName:"CheckNameAvailabilityResponseBody",type:{name:"Composite",className:"CheckNameAvailabilityResponseBody",modelProperties:{valid:{serializedName:"valid",type:{name:"Boolean"}},message:{serializedName:"message",type:{name:"String"}}}}},ne={serializedName:"BotResponseList",type:{name:"Composite",className:"BotResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"Bot"}}}}}}},se={serializedName:"ChannelResponseList",type:{name:"Composite",className:"ChannelResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"BotChannel"}}}}}}},oe={serializedName:"OperationEntityListResult",type:{name:"Composite",className:"OperationEntityListResult",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"OperationEntity"}}}}}}},pe={serializedName:"ConnectionSettingResponseList",type:{name:"Composite",className:"ConnectionSettingResponseList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{readOnly:!0,serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectionSetting"}}}}}}},le={Channel:u,"Channel.AlexaChannel":N,"Channel.FacebookChannel":S,"Channel.EmailChannel":g,"Channel.MsTeamsChannel":v,"Channel.SkypeChannel":M,"Channel.KikChannel":q,"Channel.WebChatChannel":O,"Channel.DirectLineChannel":D,"Channel.TelegramChannel":A,"Channel.SmsChannel":G,"Channel.SlackChannel":_,"Channel.LineChannel":U,"Channel.DirectLineSpeechChannel":K},me=Object.freeze({__proto__:null,CloudError:o,BaseResource:p,Sku:l,Resource:m,BotProperties:d,Bot:c,Channel:u,BotChannel:h,AlexaChannelProperties:y,AlexaChannel:N,FacebookPage:C,FacebookChannelProperties:P,FacebookChannel:S,EmailChannelProperties:z,EmailChannel:g,MsTeamsChannelProperties:b,MsTeamsChannel:v,SkypeChannelProperties:k,SkypeChannel:M,KikChannelProperties:f,KikChannel:q,WebChatSite:B,WebChatChannelProperties:L,WebChatChannel:O,DirectLineSite:E,DirectLineChannelProperties:R,DirectLineChannel:D,TelegramChannelProperties:T,TelegramChannel:A,SmsChannelProperties:I,SmsChannel:G,SlackChannelProperties:x,SlackChannel:_,LineRegistration:W,LineChannelProperties:F,LineChannel:U,DirectLineSpeechChannelProperties:w,DirectLineSpeechChannel:K,SiteInfo:V,ConnectionItemName:{serializedName:"ConnectionItemName",type:{name:"Composite",className:"ConnectionItemName",modelProperties:{name:{readOnly:!0,serializedName:"name",type:{name:"String"}}}}},ConnectionSettingParameter:j,ConnectionSettingProperties:Z,ConnectionSetting:H,ServiceProviderParameter:$,ServiceProviderProperties:J,ServiceProvider:Q,ServiceProviderResponseList:X,ErrorBody:Y,ErrorModel:ee,OperationDisplayInfo:re,OperationEntity:ae,CheckNameAvailabilityRequestBody:ie,CheckNameAvailabilityResponseBody:te,BotResponseList:ne,ChannelResponseList:se,OperationEntityListResult:oe,ConnectionSettingResponseList:pe,discriminators:le}),de=Object.freeze({__proto__:null,discriminators:le,AlexaChannel:N,AlexaChannelProperties:y,BaseResource:p,Bot:c,BotChannel:h,BotProperties:d,BotResponseList:ne,Channel:u,CheckNameAvailabilityRequestBody:ie,CheckNameAvailabilityResponseBody:te,ConnectionSetting:H,ConnectionSettingParameter:j,ConnectionSettingProperties:Z,DirectLineChannel:D,DirectLineChannelProperties:R,DirectLineSite:E,DirectLineSpeechChannel:K,DirectLineSpeechChannelProperties:w,EmailChannel:g,EmailChannelProperties:z,ErrorBody:Y,ErrorModel:ee,FacebookChannel:S,FacebookChannelProperties:P,FacebookPage:C,KikChannel:q,KikChannelProperties:f,LineChannel:U,LineChannelProperties:F,LineRegistration:W,MsTeamsChannel:v,MsTeamsChannelProperties:b,Resource:m,Sku:l,SkypeChannel:M,SkypeChannelProperties:k,SlackChannel:_,SlackChannelProperties:x,SmsChannel:G,SmsChannelProperties:I,TelegramChannel:A,TelegramChannelProperties:T,WebChatChannel:O,WebChatChannelProperties:L,WebChatSite:B}),ce={parameterPath:"acceptLanguage",mapper:{serializedName:"accept-language",defaultValue:"en-US",type:{name:"String"}}},ue={parameterPath:"apiVersion",mapper:{required:!0,serializedName:"api-version",type:{name:"String"}}},he={parameterPath:"channelName",mapper:{required:!0,serializedName:"channelName",type:{name:"Enum",allowedValues:["AlexaChannel","FacebookChannel","EmailChannel","KikChannel","TelegramChannel","SlackChannel","MsTeamsChannel","SkypeChannel","WebChatChannel","DirectLineChannel","SmsChannel","LineChannel","DirectLineSpeechChannel"]}}},ye={parameterPath:"channelName",mapper:{required:!0,serializedName:"channelName",constraints:{MaxLength:64,MinLength:2,Pattern:/^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/},type:{name:"String"}}},Ne={parameterPath:"connectionName",mapper:{required:!0,serializedName:"connectionName",constraints:{MaxLength:64,MinLength:2,Pattern:/^[a-zA-Z0-9][\sa-zA-Z0-9_.-]*$/},type:{name:"String"}}},Ce={parameterPath:"nextPageLink",mapper:{required:!0,serializedName:"nextLink",type:{name:"String"}},skipEncoding:!0},Pe={parameterPath:"resourceGroupName",mapper:{required:!0,serializedName:"resourceGroupName",constraints:{MaxLength:64,MinLength:2,Pattern:/^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/},type:{name:"String"}}},Se={parameterPath:"resourceName",mapper:{required:!0,serializedName:"resourceName",constraints:{MaxLength:64,MinLength:2,Pattern:/^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/},type:{name:"String"}}},ze={parameterPath:"subscriptionId",mapper:{required:!0,serializedName:"subscriptionId",type:{name:"String"}}},ge=(be.prototype.create=function(e,r,a,i,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,parameters:a,options:i},ve,t)},be.prototype.update=function(e,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},ke,i)},be.prototype.deleteMethod=function(e,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},Me,i)},be.prototype.get=function(e,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},fe,i)},be.prototype.listByResourceGroup=function(e,r,a){return this.client.sendOperationRequest({resourceGroupName:e,options:r},qe,a)},be.prototype.list=function(e,r){return this.client.sendOperationRequest({options:e},Be,r)},be.prototype.getCheckNameAvailability=function(e,r,a){return this.client.sendOperationRequest({parameters:e,options:r},Le,a)},be.prototype.listByResourceGroupNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},Oe,a)},be.prototype.listNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},Ee,a)},be);function be(e){this.client=e}var de=new r.Serializer(de),ve={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}",urlParameters:[Pe,Se,ze],queryParameters:[ue],headerParameters:[ce],requestBody:{parameterPath:"parameters",mapper:t(t({},c),{required:!0})},responses:{200:{bodyMapper:c},201:{bodyMapper:c},default:{bodyMapper:ee}},serializer:de},ke={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}",urlParameters:[Pe,Se,ze],queryParameters:[ue],headerParameters:[ce],requestBody:{parameterPath:{location:["options","location"],tags:["options","tags"],sku:["options","sku"],kind:["options","kind"],etag:["options","etag"],properties:["options","properties"]},mapper:t(t({},c),{required:!0})},responses:{200:{bodyMapper:c},201:{bodyMapper:c},default:{bodyMapper:ee}},serializer:de},Me={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}",urlParameters:[Pe,Se,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{},204:{},default:{bodyMapper:ee}},serializer:de},fe={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}",urlParameters:[Pe,Se,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:c},default:{bodyMapper:ee}},serializer:de},qe={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices",urlParameters:[Pe,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:ne},default:{bodyMapper:ee}},serializer:de},Be={httpMethod:"GET",path:"subscriptions/{subscriptionId}/providers/Microsoft.BotService/botServices",urlParameters:[ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:ne},default:{bodyMapper:ee}},serializer:de},Le={httpMethod:"POST",path:"providers/Microsoft.BotService/checkNameAvailability",queryParameters:[ue],headerParameters:[ce],requestBody:{parameterPath:"parameters",mapper:t(t({},ie),{required:!0})},responses:{200:{bodyMapper:te},default:{bodyMapper:ee}},serializer:de},Oe={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Ce],headerParameters:[ce],responses:{200:{bodyMapper:ne},default:{bodyMapper:ee}},serializer:de},Ee={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Ce],headerParameters:[ce],responses:{200:{bodyMapper:ne},default:{bodyMapper:ee}},serializer:de},de=Object.freeze({__proto__:null,discriminators:le,AlexaChannel:N,AlexaChannelProperties:y,BaseResource:p,Bot:c,BotChannel:h,BotProperties:d,Channel:u,ChannelResponseList:se,ConnectionSetting:H,ConnectionSettingParameter:j,ConnectionSettingProperties:Z,DirectLineChannel:D,DirectLineChannelProperties:R,DirectLineSite:E,DirectLineSpeechChannel:K,DirectLineSpeechChannelProperties:w,EmailChannel:g,EmailChannelProperties:z,ErrorBody:Y,ErrorModel:ee,FacebookChannel:S,FacebookChannelProperties:P,FacebookPage:C,KikChannel:q,KikChannelProperties:f,LineChannel:U,LineChannelProperties:F,LineRegistration:W,MsTeamsChannel:v,MsTeamsChannelProperties:b,Resource:m,Sku:l,SkypeChannel:M,SkypeChannelProperties:k,SlackChannel:_,SlackChannelProperties:x,SmsChannel:G,SmsChannelProperties:I,TelegramChannel:A,TelegramChannelProperties:T,WebChatChannel:O,WebChatChannelProperties:L,WebChatSite:B}),Re=(De.prototype.create=function(e,r,a,i,t,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,parameters:i,options:t},Te,n)},De.prototype.update=function(e,r,a,i,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,options:i},Ae,t)},De.prototype.deleteMethod=function(e,r,a,i,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,options:i},Ie,t)},De.prototype.get=function(e,r,a,i,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,options:i},Ge,t)},De.prototype.listWithKeys=function(e,r,a,i,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,options:i},xe,t)},De.prototype.listByResourceGroup=function(e,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},_e,i)},De.prototype.listByResourceGroupNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},We,a)},De);function De(e){this.client=e}var de=new r.Serializer(de),Te={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}",urlParameters:[Pe,Se,he,ze],queryParameters:[ue],headerParameters:[ce],requestBody:{parameterPath:"parameters",mapper:t(t({},h),{required:!0})},responses:{200:{bodyMapper:h},201:{bodyMapper:h},default:{bodyMapper:ee}},serializer:de},Ae={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}",urlParameters:[Pe,Se,he,ze],queryParameters:[ue],headerParameters:[ce],requestBody:{parameterPath:{location:["options","location"],tags:["options","tags"],sku:["options","sku"],kind:["options","kind"],etag:["options","etag"],properties:["options","properties"]},mapper:t(t({},h),{required:!0})},responses:{200:{bodyMapper:h},201:{bodyMapper:h},default:{bodyMapper:ee}},serializer:de},Ie={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}",urlParameters:[Pe,Se,ye,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{},204:{},default:{bodyMapper:ee}},serializer:de},Ge={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}",urlParameters:[Pe,Se,ye,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:h},default:{bodyMapper:ee}},serializer:de},xe={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}/listChannelWithKeys",urlParameters:[Pe,Se,he,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:h},default:{bodyMapper:ee}},serializer:de},_e={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels",urlParameters:[Pe,Se,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:se},default:{bodyMapper:ee}},serializer:de},We={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Ce],headerParameters:[ce],responses:{200:{bodyMapper:se},default:{bodyMapper:ee}},serializer:de},de=Object.freeze({__proto__:null,discriminators:le,AlexaChannel:N,AlexaChannelProperties:y,BaseResource:p,Bot:c,BotChannel:h,BotProperties:d,Channel:u,ConnectionSetting:H,ConnectionSettingParameter:j,ConnectionSettingProperties:Z,DirectLineChannel:D,DirectLineChannelProperties:R,DirectLineSite:E,DirectLineSpeechChannel:K,DirectLineSpeechChannelProperties:w,EmailChannel:g,EmailChannelProperties:z,ErrorBody:Y,ErrorModel:ee,FacebookChannel:S,FacebookChannelProperties:P,FacebookPage:C,KikChannel:q,KikChannelProperties:f,LineChannel:U,LineChannelProperties:F,LineRegistration:W,MsTeamsChannel:v,MsTeamsChannelProperties:b,Resource:m,SiteInfo:V,Sku:l,SkypeChannel:M,SkypeChannelProperties:k,SlackChannel:_,SlackChannelProperties:x,SmsChannel:G,SmsChannelProperties:I,TelegramChannel:A,TelegramChannelProperties:T,WebChatChannel:O,WebChatChannelProperties:L,WebChatSite:B}),Fe=(Ue.prototype.regenerateKeys=function(e,r,a,i,t,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,channelName:a,parameters:i,options:t},we,n)},Ue);function Ue(e){this.client=e}var de=new r.Serializer(de),we={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}/regeneratekeys",urlParameters:[Pe,Se,ze,{parameterPath:"channelName",mapper:{required:!0,serializedName:"channelName",type:{name:"Enum",allowedValues:["WebChatChannel","DirectLineChannel"]}}}],queryParameters:[ue],headerParameters:[ce],requestBody:{parameterPath:"parameters",mapper:t(t({},V),{required:!0})},responses:{200:{bodyMapper:h},default:{bodyMapper:ee}},serializer:de},ae=Object.freeze({__proto__:null,discriminators:le,CloudError:o,OperationDisplayInfo:re,OperationEntity:ae,OperationEntityListResult:oe}),Ke=(Ve.prototype.list=function(e,r){return this.client.sendOperationRequest({options:e},je,r)},Ve.prototype.listNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},Ze,a)},Ve);function Ve(e){this.client=e}var ae=new r.Serializer(ae),je={httpMethod:"GET",path:"providers/Microsoft.BotService/operations",queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:oe},default:{bodyMapper:o}},serializer:ae},Ze={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Ce],headerParameters:[ce],responses:{200:{bodyMapper:oe},default:{bodyMapper:o}},serializer:ae},B=Object.freeze({__proto__:null,discriminators:le,AlexaChannel:N,AlexaChannelProperties:y,BaseResource:p,Bot:c,BotChannel:h,BotProperties:d,Channel:u,ConnectionSetting:H,ConnectionSettingParameter:j,ConnectionSettingProperties:Z,ConnectionSettingResponseList:pe,DirectLineChannel:D,DirectLineChannelProperties:R,DirectLineSite:E,DirectLineSpeechChannel:K,DirectLineSpeechChannelProperties:w,EmailChannel:g,EmailChannelProperties:z,ErrorBody:Y,ErrorModel:ee,FacebookChannel:S,FacebookChannelProperties:P,FacebookPage:C,KikChannel:q,KikChannelProperties:f,LineChannel:U,LineChannelProperties:F,LineRegistration:W,MsTeamsChannel:v,MsTeamsChannelProperties:b,Resource:m,ServiceProvider:Q,ServiceProviderParameter:$,ServiceProviderProperties:J,ServiceProviderResponseList:X,Sku:l,SkypeChannel:M,SkypeChannelProperties:k,SlackChannel:_,SlackChannelProperties:x,SmsChannel:G,SmsChannelProperties:I,TelegramChannel:A,TelegramChannelProperties:T,WebChatChannel:O,WebChatChannelProperties:L,WebChatSite:B}),He=($e.prototype.listServiceProviders=function(e,r){return this.client.sendOperationRequest({options:e},Qe,r)},$e.prototype.listWithSecrets=function(e,r,a,i,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,options:i},Xe,t)},$e.prototype.create=function(e,r,a,i,t,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,parameters:i,options:t},Ye,n)},$e.prototype.update=function(e,r,a,i,t,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,parameters:i,options:t},er,n)},$e.prototype.get=function(e,r,a,i,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,options:i},rr,t)},$e.prototype.deleteMethod=function(e,r,a,i,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,connectionName:a,options:i},ar,t)},$e.prototype.listByBotService=function(e,r,a,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:a},ir,i)},$e.prototype.listByBotServiceNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},tr,a)},$e);function $e(e){this.client=e}var Je,B=new r.Serializer(B),Qe={httpMethod:"POST",path:"subscriptions/{subscriptionId}/providers/Microsoft.BotService/listAuthServiceProviders",urlParameters:[ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:X},default:{bodyMapper:ee}},serializer:B},Xe={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}/listWithSecrets",urlParameters:[Pe,Se,Ne,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:H},default:{bodyMapper:ee}},serializer:B},Ye={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}",urlParameters:[Pe,Se,Ne,ze],queryParameters:[ue],headerParameters:[ce],requestBody:{parameterPath:"parameters",mapper:t(t({},H),{required:!0})},responses:{200:{bodyMapper:H},201:{bodyMapper:H},default:{bodyMapper:ee}},serializer:B},er={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}",urlParameters:[Pe,Se,Ne,ze],queryParameters:[ue],headerParameters:[ce],requestBody:{parameterPath:"parameters",mapper:t(t({},H),{required:!0})},responses:{200:{bodyMapper:H},201:{bodyMapper:H},default:{bodyMapper:ee}},serializer:B},rr={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}",urlParameters:[Pe,Se,Ne,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:H},default:{bodyMapper:ee}},serializer:B},ar={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}",urlParameters:[Pe,Se,Ne,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{},204:{},default:{bodyMapper:ee}},serializer:B},ir={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections",urlParameters:[Pe,Se,ze],queryParameters:[ue],headerParameters:[ce],responses:{200:{bodyMapper:pe},default:{bodyMapper:ee}},serializer:B},tr={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Ce],headerParameters:[ce],responses:{200:{bodyMapper:pe},default:{bodyMapper:ee}},serializer:B},ee=(a(nr,Je=n.AzureServiceClient),nr);function nr(e,r,a){var i,t=this;if(null==e)throw new Error("'credentials' cannot be null.");if(null==r)throw new Error("'subscriptionId' cannot be null.");return(a=a||{}).userAgent||(i=n.getDefaultUserAgentValue(),a.userAgent="@azure/arm-botservice/2.0.0 "+i),(t=Je.call(this,e,a)||this).apiVersion="2020-06-02",t.acceptLanguage="en-US",t.longRunningOperationRetryTimeout=30,t.baseUri=a.baseUri||t.baseUri||"https://management.azure.com",t.requestContentType="application/json; charset=utf-8",t.credentials=e,t.subscriptionId=r,null!==a.acceptLanguage&&void 0!==a.acceptLanguage&&(t.acceptLanguage=a.acceptLanguage),null!==a.longRunningOperationRetryTimeout&&void 0!==a.longRunningOperationRetryTimeout&&(t.longRunningOperationRetryTimeout=a.longRunningOperationRetryTimeout),t}var sr,B=(a(or,sr=ee),or);function or(e,r,a){a=sr.call(this,e,r,a)||this;return a.bots=new ge(a),a.channels=new Re(a),a.directLine=new Fe(a),a.operations=new Ke(a),a.botConnection=new He(a),a}e.AzureBotService=B,e.AzureBotServiceContext=ee,e.AzureBotServiceMappers=me,e.AzureBotServiceModels=s,e.BotConnection=He,e.Bots=ge,e.Channels=Re,e.DirectLine=Fe,e.Operations=Ke,Object.defineProperty(e,"__esModule",{value:!0})}); |
@@ -9,5 +9,5 @@ import * as msRest from "@azure/ms-rest-js"; | ||
channels: operations.Channels; | ||
directLine: operations.DirectLine; | ||
operations: operations.Operations; | ||
botConnection: operations.BotConnection; | ||
enterpriseChannels: operations.EnterpriseChannels; | ||
/** | ||
@@ -14,0 +14,0 @@ * Initializes a new instance of the AzureBotService class. |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __extends } from "tslib"; | ||
import * as Models from "./models"; | ||
@@ -17,3 +17,3 @@ import * as Mappers from "./models/mappers"; | ||
var AzureBotService = /** @class */ (function (_super) { | ||
tslib_1.__extends(AzureBotService, _super); | ||
__extends(AzureBotService, _super); | ||
/** | ||
@@ -29,5 +29,5 @@ * Initializes a new instance of the AzureBotService class. | ||
_this.channels = new operations.Channels(_this); | ||
_this.directLine = new operations.DirectLine(_this); | ||
_this.operations = new operations.Operations(_this); | ||
_this.botConnection = new operations.BotConnection(_this); | ||
_this.enterpriseChannels = new operations.EnterpriseChannels(_this); | ||
return _this; | ||
@@ -34,0 +34,0 @@ } |
@@ -10,8 +10,8 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __extends } from "tslib"; | ||
import * as msRestAzure from "@azure/ms-rest-azure-js"; | ||
var packageName = "@azure/arm-botservice"; | ||
var packageVersion = "1.0.0"; | ||
var packageVersion = "2.0.0"; | ||
var AzureBotServiceContext = /** @class */ (function (_super) { | ||
tslib_1.__extends(AzureBotServiceContext, _super); | ||
__extends(AzureBotServiceContext, _super); | ||
/** | ||
@@ -39,3 +39,3 @@ * Initializes a new instance of the AzureBotService class. | ||
_this = _super.call(this, credentials, options) || this; | ||
_this.apiVersion = '2018-07-12'; | ||
_this.apiVersion = '2020-06-02'; | ||
_this.acceptLanguage = 'en-US'; | ||
@@ -42,0 +42,0 @@ _this.longRunningOperationRetryTimeout = 30; |
@@ -1,2 +0,2 @@ | ||
export { discriminators, BaseResource, Bot, BotChannel, BotProperties, Channel, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, ConnectionSettingResponseList, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, EmailChannel, EmailChannelProperties, EnterpriseChannel, EnterpriseChannelNode, EnterpriseChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, MsTeamsChannel, MsTeamsChannelProperties, Resource, ServiceProvider, ServiceProviderParameter, ServiceProviderProperties, ServiceProviderResponseList, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
export { discriminators, AlexaChannel, AlexaChannelProperties, BaseResource, Bot, BotChannel, BotProperties, Channel, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, ConnectionSettingResponseList, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, DirectLineSpeechChannel, DirectLineSpeechChannelProperties, EmailChannel, EmailChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, LineChannel, LineChannelProperties, LineRegistration, MsTeamsChannel, MsTeamsChannelProperties, Resource, ServiceProvider, ServiceProviderParameter, ServiceProviderProperties, ServiceProviderResponseList, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
//# sourceMappingURL=botConnectionMappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
export { discriminators, BaseResource, Bot, BotChannel, BotProperties, Channel, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, ConnectionSettingResponseList, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, EmailChannel, EmailChannelProperties, EnterpriseChannel, EnterpriseChannelNode, EnterpriseChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, MsTeamsChannel, MsTeamsChannelProperties, Resource, ServiceProvider, ServiceProviderParameter, ServiceProviderProperties, ServiceProviderResponseList, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
export { discriminators, AlexaChannel, AlexaChannelProperties, BaseResource, Bot, BotChannel, BotProperties, Channel, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, ConnectionSettingResponseList, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, DirectLineSpeechChannel, DirectLineSpeechChannelProperties, EmailChannel, EmailChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, LineChannel, LineChannelProperties, LineRegistration, MsTeamsChannel, MsTeamsChannelProperties, Resource, ServiceProvider, ServiceProviderParameter, ServiceProviderProperties, ServiceProviderResponseList, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
//# sourceMappingURL=botConnectionMappers.js.map |
@@ -1,2 +0,2 @@ | ||
export { discriminators, BaseResource, Bot, BotChannel, BotProperties, BotResponseList, Channel, CheckNameAvailabilityRequestBody, CheckNameAvailabilityResponseBody, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, EmailChannel, EmailChannelProperties, EnterpriseChannel, EnterpriseChannelNode, EnterpriseChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, MsTeamsChannel, MsTeamsChannelProperties, Resource, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
export { discriminators, AlexaChannel, AlexaChannelProperties, BaseResource, Bot, BotChannel, BotProperties, BotResponseList, Channel, CheckNameAvailabilityRequestBody, CheckNameAvailabilityResponseBody, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, DirectLineSpeechChannel, DirectLineSpeechChannelProperties, EmailChannel, EmailChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, LineChannel, LineChannelProperties, LineRegistration, MsTeamsChannel, MsTeamsChannelProperties, Resource, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
//# sourceMappingURL=botsMappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
export { discriminators, BaseResource, Bot, BotChannel, BotProperties, BotResponseList, Channel, CheckNameAvailabilityRequestBody, CheckNameAvailabilityResponseBody, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, EmailChannel, EmailChannelProperties, EnterpriseChannel, EnterpriseChannelNode, EnterpriseChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, MsTeamsChannel, MsTeamsChannelProperties, Resource, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
export { discriminators, AlexaChannel, AlexaChannelProperties, BaseResource, Bot, BotChannel, BotProperties, BotResponseList, Channel, CheckNameAvailabilityRequestBody, CheckNameAvailabilityResponseBody, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, DirectLineSpeechChannel, DirectLineSpeechChannelProperties, EmailChannel, EmailChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, LineChannel, LineChannelProperties, LineRegistration, MsTeamsChannel, MsTeamsChannelProperties, Resource, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
//# sourceMappingURL=botsMappers.js.map |
@@ -1,2 +0,2 @@ | ||
export { discriminators, BaseResource, Bot, BotChannel, BotProperties, Channel, ChannelResponseList, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, EmailChannel, EmailChannelProperties, EnterpriseChannel, EnterpriseChannelNode, EnterpriseChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, MsTeamsChannel, MsTeamsChannelProperties, Resource, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
export { discriminators, AlexaChannel, AlexaChannelProperties, BaseResource, Bot, BotChannel, BotProperties, Channel, ChannelResponseList, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, DirectLineSpeechChannel, DirectLineSpeechChannelProperties, EmailChannel, EmailChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, LineChannel, LineChannelProperties, LineRegistration, MsTeamsChannel, MsTeamsChannelProperties, Resource, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
//# sourceMappingURL=channelsMappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
export { discriminators, BaseResource, Bot, BotChannel, BotProperties, Channel, ChannelResponseList, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, EmailChannel, EmailChannelProperties, EnterpriseChannel, EnterpriseChannelNode, EnterpriseChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, MsTeamsChannel, MsTeamsChannelProperties, Resource, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
export { discriminators, AlexaChannel, AlexaChannelProperties, BaseResource, Bot, BotChannel, BotProperties, Channel, ChannelResponseList, ConnectionSetting, ConnectionSettingParameter, ConnectionSettingProperties, DirectLineChannel, DirectLineChannelProperties, DirectLineSite, DirectLineSpeechChannel, DirectLineSpeechChannelProperties, EmailChannel, EmailChannelProperties, ErrorBody, ErrorModel, FacebookChannel, FacebookChannelProperties, FacebookPage, KikChannel, KikChannelProperties, LineChannel, LineChannelProperties, LineRegistration, MsTeamsChannel, MsTeamsChannelProperties, Resource, Sku, SkypeChannel, SkypeChannelProperties, SlackChannel, SlackChannelProperties, SmsChannel, SmsChannelProperties, TelegramChannel, TelegramChannelProperties, WebChatChannel, WebChatChannelProperties, WebChatSite } from "../models/mappers"; | ||
//# sourceMappingURL=channelsMappers.js.map |
@@ -133,3 +133,3 @@ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; | ||
*/ | ||
export declare type ChannelUnion = Channel | FacebookChannel | EmailChannel | MsTeamsChannel | SkypeChannel | KikChannel | WebChatChannel | DirectLineChannel | TelegramChannel | SmsChannel | SlackChannel; | ||
export declare type ChannelUnion = Channel | AlexaChannel | FacebookChannel | EmailChannel | MsTeamsChannel | SkypeChannel | KikChannel | WebChatChannel | DirectLineChannel | TelegramChannel | SmsChannel | SlackChannel | LineChannel | DirectLineSpeechChannel; | ||
/** | ||
@@ -154,2 +154,38 @@ * Channel definition | ||
/** | ||
* The parameters to provide for the Alexa channel. | ||
*/ | ||
export interface AlexaChannelProperties { | ||
/** | ||
* The Alexa skill Id | ||
*/ | ||
alexaSkillId: string; | ||
/** | ||
* Url fragment used in part of the Uri configured in Alexa | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly urlFragment?: string; | ||
/** | ||
* Full Uri used to configured the skill in Alexa | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly serviceEndpointUri?: string; | ||
/** | ||
* Whether this channel is enabled for the bot | ||
*/ | ||
isEnabled: boolean; | ||
} | ||
/** | ||
* Alexa channel definition | ||
*/ | ||
export interface AlexaChannel { | ||
/** | ||
* Polymorphic Discriminator | ||
*/ | ||
channelName: "AlexaChannel"; | ||
/** | ||
* The set of properties specific to Alexa channel resource | ||
*/ | ||
properties?: AlexaChannelProperties; | ||
} | ||
/** | ||
* A Facebook page for Facebook channel registration | ||
@@ -605,2 +641,6 @@ */ | ||
/** | ||
* The Slack signing secret. | ||
*/ | ||
signingSecret?: string; | ||
/** | ||
* Whether this channel is enabled for the bot | ||
@@ -624,2 +664,104 @@ */ | ||
/** | ||
* The properties corresponding to a line channel registration | ||
*/ | ||
export interface LineRegistration { | ||
/** | ||
* Id generated for the line channel registration | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly generatedId?: string; | ||
/** | ||
* Secret for the line channel registration | ||
*/ | ||
channelSecret?: string; | ||
/** | ||
* Access token for the line channel registration | ||
*/ | ||
channelAccessToken?: string; | ||
} | ||
/** | ||
* The parameters to provide for the Line channel. | ||
*/ | ||
export interface LineChannelProperties { | ||
/** | ||
* The list of line channel registrations | ||
*/ | ||
lineRegistrations: LineRegistration[]; | ||
/** | ||
* Callback Url to enter in line registration. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly callbackUrl?: string; | ||
/** | ||
* Whether this channel is validated for the bot | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly isValidated?: boolean; | ||
} | ||
/** | ||
* Line channel definition | ||
*/ | ||
export interface LineChannel { | ||
/** | ||
* Polymorphic Discriminator | ||
*/ | ||
channelName: "LineChannel"; | ||
/** | ||
* The set of properties specific to line channel resource | ||
*/ | ||
properties?: LineChannelProperties; | ||
} | ||
/** | ||
* The parameters to provide for the DirectLine Speech channel. | ||
*/ | ||
export interface DirectLineSpeechChannelProperties { | ||
/** | ||
* The cognitive service subscription ID to use with this channel registration. | ||
*/ | ||
cognitiveServicesSubscriptionId: string; | ||
/** | ||
* Whether this channel is enabled or not. | ||
*/ | ||
isEnabled?: boolean; | ||
/** | ||
* Custom speech model id (optional). | ||
*/ | ||
customVoiceDeploymentId?: string; | ||
/** | ||
* Custom voice deployment id (optional). | ||
*/ | ||
customSpeechModelId?: string; | ||
/** | ||
* Make this a default bot for chosen cognitive service account. | ||
*/ | ||
isDefaultBotForCogSvcAccount?: boolean; | ||
} | ||
/** | ||
* DirectLine Speech channel definition | ||
*/ | ||
export interface DirectLineSpeechChannel { | ||
/** | ||
* Polymorphic Discriminator | ||
*/ | ||
channelName: "DirectLineSpeechChannel"; | ||
/** | ||
* The set of properties specific to DirectLine Speech channel resource | ||
*/ | ||
properties?: DirectLineSpeechChannelProperties; | ||
} | ||
/** | ||
* Site information for WebChat or DirectLine Channels to identify which site to regenerate keys | ||
* for. | ||
*/ | ||
export interface SiteInfo { | ||
/** | ||
* The site name | ||
*/ | ||
siteName: string; | ||
/** | ||
* Determines which key is to be regenerated. Possible values include: 'key1', 'key2' | ||
*/ | ||
key: Key; | ||
} | ||
/** | ||
* The display name of a connection Item Setting registered with the Bot | ||
@@ -770,11 +912,11 @@ */ | ||
/** | ||
* The list of bot service service providers response. | ||
* The list of bot service providers response. | ||
*/ | ||
export interface ServiceProviderResponseList { | ||
/** | ||
* The link used to get the next page of bot service service providers. | ||
* The link used to get the next page of bot service providers. | ||
*/ | ||
nextLink?: string; | ||
/** | ||
* Gets the list of bot service service providers and their properties. | ||
* Gets the list of bot service providers and their properties. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
@@ -876,76 +1018,2 @@ */ | ||
/** | ||
* A request to Bot Service Management to check availability of an Enterprise Channel name. | ||
*/ | ||
export interface EnterpriseChannelCheckNameAvailabilityRequest { | ||
/** | ||
* The name of the Enterprise Channel for which availability needs to be checked. | ||
*/ | ||
name?: string; | ||
} | ||
/** | ||
* A request to Bot Service Management to check availability of an Enterprise Channel name. | ||
*/ | ||
export interface EnterpriseChannelCheckNameAvailabilityResponse { | ||
/** | ||
* Indicates if the Enterprise Channel name is valid. | ||
*/ | ||
valid?: boolean; | ||
/** | ||
* Additional information about why a bot name is not available. | ||
*/ | ||
message?: string; | ||
} | ||
/** | ||
* The properties specific to an Enterprise Channel Node. | ||
*/ | ||
export interface EnterpriseChannelNode { | ||
/** | ||
* Id of Enterprise Channel Node. This is generated by the Bot Framework. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* The current state of the Enterprise Channel Node. Possible values include: 'Creating', | ||
* 'CreateFailed', 'Started', 'Starting', 'StartFailed', 'Stopped', 'Stopping', 'StopFailed', | ||
* 'Deleting', 'DeleteFailed' | ||
*/ | ||
state?: EnterpriseChannelNodeState; | ||
/** | ||
* The name of the Enterprise Channel Node. | ||
*/ | ||
name: string; | ||
/** | ||
* The sku of the Enterprise Channel Node. | ||
*/ | ||
azureSku: string; | ||
/** | ||
* The location of the Enterprise Channel Node. | ||
*/ | ||
azureLocation: string; | ||
} | ||
/** | ||
* The parameters to provide for the Enterprise Channel. | ||
*/ | ||
export interface EnterpriseChannelProperties { | ||
/** | ||
* The current state of the Enterprise Channel. Possible values include: 'Creating', | ||
* 'CreateFailed', 'Started', 'Starting', 'StartFailed', 'Stopped', 'Stopping', 'StopFailed', | ||
* 'Deleting', 'DeleteFailed' | ||
*/ | ||
state?: EnterpriseChannelState; | ||
/** | ||
* The nodes associated with the Enterprise Channel. | ||
*/ | ||
nodes: EnterpriseChannelNode[]; | ||
} | ||
/** | ||
* Enterprise Channel resource definition | ||
*/ | ||
export interface EnterpriseChannel extends Resource { | ||
/** | ||
* The set of properties specific to an Enterprise Channel resource. | ||
*/ | ||
properties?: EnterpriseChannelProperties; | ||
} | ||
/** | ||
* Optional Parameters. | ||
@@ -1015,66 +1083,2 @@ */ | ||
/** | ||
* Optional Parameters. | ||
*/ | ||
export interface EnterpriseChannelsUpdateOptionalParams extends msRest.RequestOptionsBase { | ||
/** | ||
* Specifies the location of the resource. | ||
*/ | ||
location?: string; | ||
/** | ||
* Contains resource tags defined as key/value pairs. | ||
*/ | ||
tags?: { | ||
[propertyName: string]: string; | ||
}; | ||
/** | ||
* Gets or sets the SKU of the resource. | ||
*/ | ||
sku?: Sku; | ||
/** | ||
* Required. Gets or sets the Kind of the resource. Possible values include: 'sdk', 'designer', | ||
* 'bot', 'function' | ||
*/ | ||
kind?: Kind; | ||
/** | ||
* Entity Tag | ||
*/ | ||
etag?: string; | ||
/** | ||
* The set of properties specific to an Enterprise Channel resource. | ||
*/ | ||
properties?: EnterpriseChannelProperties; | ||
} | ||
/** | ||
* Optional Parameters. | ||
*/ | ||
export interface EnterpriseChannelsBeginUpdateOptionalParams extends msRest.RequestOptionsBase { | ||
/** | ||
* Specifies the location of the resource. | ||
*/ | ||
location?: string; | ||
/** | ||
* Contains resource tags defined as key/value pairs. | ||
*/ | ||
tags?: { | ||
[propertyName: string]: string; | ||
}; | ||
/** | ||
* Gets or sets the SKU of the resource. | ||
*/ | ||
sku?: Sku; | ||
/** | ||
* Required. Gets or sets the Kind of the resource. Possible values include: 'sdk', 'designer', | ||
* 'bot', 'function' | ||
*/ | ||
kind?: Kind; | ||
/** | ||
* Entity Tag | ||
*/ | ||
etag?: string; | ||
/** | ||
* The set of properties specific to an Enterprise Channel resource. | ||
*/ | ||
properties?: EnterpriseChannelProperties; | ||
} | ||
/** | ||
* An interface representing AzureBotServiceOptions. | ||
@@ -1130,13 +1134,2 @@ */ | ||
/** | ||
* @interface | ||
* The list of bot service operation response. | ||
* @extends Array<EnterpriseChannel> | ||
*/ | ||
export interface EnterpriseChannelResponseList extends Array<EnterpriseChannel> { | ||
/** | ||
* The link used to get the next page of bot service resources. | ||
*/ | ||
nextLink?: string; | ||
} | ||
/** | ||
* Defines values for SkuName. | ||
@@ -1163,26 +1156,24 @@ * Possible values include: 'F0', 'S1' | ||
/** | ||
* Defines values for EnterpriseChannelState. | ||
* Possible values include: 'Creating', 'CreateFailed', 'Started', 'Starting', 'StartFailed', | ||
* 'Stopped', 'Stopping', 'StopFailed', 'Deleting', 'DeleteFailed' | ||
* Defines values for Key. | ||
* Possible values include: 'key1', 'key2' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export declare type EnterpriseChannelState = 'Creating' | 'CreateFailed' | 'Started' | 'Starting' | 'StartFailed' | 'Stopped' | 'Stopping' | 'StopFailed' | 'Deleting' | 'DeleteFailed'; | ||
export declare type Key = 'key1' | 'key2'; | ||
/** | ||
* Defines values for EnterpriseChannelNodeState. | ||
* Possible values include: 'Creating', 'CreateFailed', 'Started', 'Starting', 'StartFailed', | ||
* 'Stopped', 'Stopping', 'StopFailed', 'Deleting', 'DeleteFailed' | ||
* Defines values for ChannelName. | ||
* Possible values include: 'AlexaChannel', 'FacebookChannel', 'EmailChannel', 'KikChannel', | ||
* 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', | ||
* 'DirectLineChannel', 'SmsChannel', 'LineChannel', 'DirectLineSpeechChannel' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export declare type EnterpriseChannelNodeState = 'Creating' | 'CreateFailed' | 'Started' | 'Starting' | 'StartFailed' | 'Stopped' | 'Stopping' | 'StopFailed' | 'Deleting' | 'DeleteFailed'; | ||
export declare type ChannelName = 'AlexaChannel' | 'FacebookChannel' | 'EmailChannel' | 'KikChannel' | 'TelegramChannel' | 'SlackChannel' | 'MsTeamsChannel' | 'SkypeChannel' | 'WebChatChannel' | 'DirectLineChannel' | 'SmsChannel' | 'LineChannel' | 'DirectLineSpeechChannel'; | ||
/** | ||
* Defines values for ChannelName. | ||
* Possible values include: 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', | ||
* 'SlackChannel', 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', | ||
* 'SmsChannel' | ||
* Defines values for RegenerateKeysChannelName. | ||
* Possible values include: 'WebChatChannel', 'DirectLineChannel' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export declare type ChannelName = 'FacebookChannel' | 'EmailChannel' | 'KikChannel' | 'TelegramChannel' | 'SlackChannel' | 'MsTeamsChannel' | 'SkypeChannel' | 'WebChatChannel' | 'DirectLineChannel' | 'SmsChannel'; | ||
export declare type RegenerateKeysChannelName = 'WebChatChannel' | 'DirectLineChannel'; | ||
/** | ||
@@ -1441,2 +1432,20 @@ * Contains response data for the create operation. | ||
/** | ||
* Contains response data for the regenerateKeys operation. | ||
*/ | ||
export declare type DirectLineRegenerateKeysResponse = BotChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: BotChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the list operation. | ||
@@ -1603,146 +1612,2 @@ */ | ||
}; | ||
/** | ||
* Contains response data for the checkNameAvailability operation. | ||
*/ | ||
export declare type EnterpriseChannelsCheckNameAvailabilityResponse = EnterpriseChannelCheckNameAvailabilityResponse & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannelCheckNameAvailabilityResponse; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the listByResourceGroup operation. | ||
*/ | ||
export declare type EnterpriseChannelsListByResourceGroupResponse = EnterpriseChannelResponseList & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannelResponseList; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the create operation. | ||
*/ | ||
export declare type EnterpriseChannelsCreateResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the update operation. | ||
*/ | ||
export declare type EnterpriseChannelsUpdateResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the get operation. | ||
*/ | ||
export declare type EnterpriseChannelsGetResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the beginCreate operation. | ||
*/ | ||
export declare type EnterpriseChannelsBeginCreateResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the beginUpdate operation. | ||
*/ | ||
export declare type EnterpriseChannelsBeginUpdateResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the listByResourceGroupNext operation. | ||
*/ | ||
export declare type EnterpriseChannelsListByResourceGroupNextResponse = EnterpriseChannelResponseList & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannelResponseList; | ||
}; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,2 +10,4 @@ import * as msRest from "@azure/ms-rest-js"; | ||
export declare const BotChannel: msRest.CompositeMapper; | ||
export declare const AlexaChannelProperties: msRest.CompositeMapper; | ||
export declare const AlexaChannel: msRest.CompositeMapper; | ||
export declare const FacebookPage: msRest.CompositeMapper; | ||
@@ -34,2 +36,8 @@ export declare const FacebookChannelProperties: msRest.CompositeMapper; | ||
export declare const SlackChannel: msRest.CompositeMapper; | ||
export declare const LineRegistration: msRest.CompositeMapper; | ||
export declare const LineChannelProperties: msRest.CompositeMapper; | ||
export declare const LineChannel: msRest.CompositeMapper; | ||
export declare const DirectLineSpeechChannelProperties: msRest.CompositeMapper; | ||
export declare const DirectLineSpeechChannel: msRest.CompositeMapper; | ||
export declare const SiteInfo: msRest.CompositeMapper; | ||
export declare const ConnectionItemName: msRest.CompositeMapper; | ||
@@ -49,7 +57,2 @@ export declare const ConnectionSettingParameter: msRest.CompositeMapper; | ||
export declare const CheckNameAvailabilityResponseBody: msRest.CompositeMapper; | ||
export declare const EnterpriseChannelCheckNameAvailabilityRequest: msRest.CompositeMapper; | ||
export declare const EnterpriseChannelCheckNameAvailabilityResponse: msRest.CompositeMapper; | ||
export declare const EnterpriseChannelNode: msRest.CompositeMapper; | ||
export declare const EnterpriseChannelProperties: msRest.CompositeMapper; | ||
export declare const EnterpriseChannel: msRest.CompositeMapper; | ||
export declare const BotResponseList: msRest.CompositeMapper; | ||
@@ -59,5 +62,5 @@ export declare const ChannelResponseList: msRest.CompositeMapper; | ||
export declare const ConnectionSettingResponseList: msRest.CompositeMapper; | ||
export declare const EnterpriseChannelResponseList: msRest.CompositeMapper; | ||
export declare const discriminators: { | ||
'Channel': msRest.CompositeMapper; | ||
Channel: msRest.CompositeMapper; | ||
'Channel.AlexaChannel': msRest.CompositeMapper; | ||
'Channel.FacebookChannel': msRest.CompositeMapper; | ||
@@ -73,3 +76,5 @@ 'Channel.EmailChannel': msRest.CompositeMapper; | ||
'Channel.SlackChannel': msRest.CompositeMapper; | ||
'Channel.LineChannel': msRest.CompositeMapper; | ||
'Channel.DirectLineSpeechChannel': msRest.CompositeMapper; | ||
}; | ||
//# sourceMappingURL=mappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; | ||
@@ -215,3 +215,3 @@ export var CloudError = CloudErrorMapper; | ||
className: "Bot", | ||
modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -251,3 +251,3 @@ type: { | ||
className: "BotChannel", | ||
modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -261,2 +261,55 @@ type: { | ||
}; | ||
export var AlexaChannelProperties = { | ||
serializedName: "AlexaChannelProperties", | ||
type: { | ||
name: "Composite", | ||
className: "AlexaChannelProperties", | ||
modelProperties: { | ||
alexaSkillId: { | ||
required: true, | ||
serializedName: "alexaSkillId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
urlFragment: { | ||
readOnly: true, | ||
serializedName: "urlFragment", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
serviceEndpointUri: { | ||
readOnly: true, | ||
serializedName: "serviceEndpointUri", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isEnabled: { | ||
required: true, | ||
serializedName: "isEnabled", | ||
type: { | ||
name: "Boolean" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var AlexaChannel = { | ||
serializedName: "AlexaChannel", | ||
type: { | ||
name: "Composite", | ||
polymorphicDiscriminator: Channel.type.polymorphicDiscriminator, | ||
uberParent: "Channel", | ||
className: "AlexaChannel", | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "AlexaChannelProperties" | ||
} | ||
} }) | ||
} | ||
}; | ||
export var FacebookPage = { | ||
@@ -348,3 +401,3 @@ serializedName: "FacebookPage", | ||
className: "FacebookChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -395,3 +448,3 @@ type: { | ||
className: "EmailChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -440,3 +493,3 @@ type: { | ||
className: "MsTeamsChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -521,3 +574,3 @@ type: { | ||
className: "SkypeChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -574,3 +627,3 @@ type: { | ||
className: "KikChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -670,3 +723,3 @@ type: { | ||
className: "WebChatChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -783,3 +836,3 @@ type: { | ||
className: "DirectLineChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -829,3 +882,3 @@ type: { | ||
className: "TelegramChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -889,3 +942,3 @@ type: { | ||
className: "SmsChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -960,2 +1013,8 @@ type: { | ||
}, | ||
signingSecret: { | ||
serializedName: "signingSecret", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isEnabled: { | ||
@@ -978,3 +1037,3 @@ required: true, | ||
className: "SlackChannel", | ||
modelProperties: tslib_1.__assign({}, Channel.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -988,2 +1047,165 @@ type: { | ||
}; | ||
export var LineRegistration = { | ||
serializedName: "LineRegistration", | ||
type: { | ||
name: "Composite", | ||
className: "LineRegistration", | ||
modelProperties: { | ||
generatedId: { | ||
readOnly: true, | ||
serializedName: "generatedId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
channelSecret: { | ||
serializedName: "channelSecret", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
channelAccessToken: { | ||
serializedName: "channelAccessToken", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var LineChannelProperties = { | ||
serializedName: "LineChannelProperties", | ||
type: { | ||
name: "Composite", | ||
className: "LineChannelProperties", | ||
modelProperties: { | ||
lineRegistrations: { | ||
required: true, | ||
serializedName: "lineRegistrations", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "Composite", | ||
className: "LineRegistration" | ||
} | ||
} | ||
} | ||
}, | ||
callbackUrl: { | ||
readOnly: true, | ||
serializedName: "callbackUrl", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isValidated: { | ||
readOnly: true, | ||
serializedName: "isValidated", | ||
type: { | ||
name: "Boolean" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var LineChannel = { | ||
serializedName: "LineChannel", | ||
type: { | ||
name: "Composite", | ||
polymorphicDiscriminator: Channel.type.polymorphicDiscriminator, | ||
uberParent: "Channel", | ||
className: "LineChannel", | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "LineChannelProperties" | ||
} | ||
} }) | ||
} | ||
}; | ||
export var DirectLineSpeechChannelProperties = { | ||
serializedName: "DirectLineSpeechChannelProperties", | ||
type: { | ||
name: "Composite", | ||
className: "DirectLineSpeechChannelProperties", | ||
modelProperties: { | ||
cognitiveServicesSubscriptionId: { | ||
required: true, | ||
serializedName: "cognitiveServicesSubscriptionId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isEnabled: { | ||
serializedName: "isEnabled", | ||
type: { | ||
name: "Boolean" | ||
} | ||
}, | ||
customVoiceDeploymentId: { | ||
serializedName: "customVoiceDeploymentId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
customSpeechModelId: { | ||
serializedName: "customSpeechModelId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isDefaultBotForCogSvcAccount: { | ||
serializedName: "isDefaultBotForCogSvcAccount", | ||
type: { | ||
name: "Boolean" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var DirectLineSpeechChannel = { | ||
serializedName: "DirectLineSpeechChannel", | ||
type: { | ||
name: "Composite", | ||
polymorphicDiscriminator: Channel.type.polymorphicDiscriminator, | ||
uberParent: "Channel", | ||
className: "DirectLineSpeechChannel", | ||
modelProperties: __assign(__assign({}, Channel.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "DirectLineSpeechChannelProperties" | ||
} | ||
} }) | ||
} | ||
}; | ||
export var SiteInfo = { | ||
serializedName: "SiteInfo", | ||
type: { | ||
name: "Composite", | ||
className: "SiteInfo", | ||
modelProperties: { | ||
siteName: { | ||
required: true, | ||
serializedName: "siteName", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
key: { | ||
required: true, | ||
serializedName: "key", | ||
type: { | ||
name: "Enum", | ||
allowedValues: [ | ||
"key1", | ||
"key2" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var ConnectionItemName = { | ||
@@ -1089,3 +1311,3 @@ serializedName: "ConnectionItemName", | ||
className: "ConnectionSetting", | ||
modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -1398,123 +1620,2 @@ type: { | ||
}; | ||
export var EnterpriseChannelCheckNameAvailabilityRequest = { | ||
serializedName: "EnterpriseChannelCheckNameAvailabilityRequest", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelCheckNameAvailabilityRequest", | ||
modelProperties: { | ||
name: { | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var EnterpriseChannelCheckNameAvailabilityResponse = { | ||
serializedName: "EnterpriseChannelCheckNameAvailabilityResponse", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelCheckNameAvailabilityResponse", | ||
modelProperties: { | ||
valid: { | ||
serializedName: "valid", | ||
type: { | ||
name: "Boolean" | ||
} | ||
}, | ||
message: { | ||
serializedName: "message", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var EnterpriseChannelNode = { | ||
serializedName: "EnterpriseChannelNode", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelNode", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
state: { | ||
serializedName: "state", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
name: { | ||
required: true, | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
azureSku: { | ||
required: true, | ||
serializedName: "azureSku", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
azureLocation: { | ||
required: true, | ||
serializedName: "azureLocation", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var EnterpriseChannelProperties = { | ||
serializedName: "EnterpriseChannelProperties", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelProperties", | ||
modelProperties: { | ||
state: { | ||
serializedName: "state", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
nodes: { | ||
required: true, | ||
serializedName: "nodes", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelNode" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var EnterpriseChannel = { | ||
serializedName: "EnterpriseChannel", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannel", | ||
modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelProperties" | ||
} | ||
} }) | ||
} | ||
}; | ||
export var BotResponseList = { | ||
@@ -1631,32 +1732,5 @@ serializedName: "BotResponseList", | ||
}; | ||
export var EnterpriseChannelResponseList = { | ||
serializedName: "EnterpriseChannelResponseList", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelResponseList", | ||
modelProperties: { | ||
nextLink: { | ||
serializedName: "nextLink", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
value: { | ||
readOnly: true, | ||
serializedName: "", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannel" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var discriminators = { | ||
'Channel': Channel, | ||
'Channel.AlexaChannel': AlexaChannel, | ||
'Channel.FacebookChannel': FacebookChannel, | ||
@@ -1671,4 +1745,6 @@ 'Channel.EmailChannel': EmailChannel, | ||
'Channel.SmsChannel': SmsChannel, | ||
'Channel.SlackChannel': SlackChannel | ||
'Channel.SlackChannel': SlackChannel, | ||
'Channel.LineChannel': LineChannel, | ||
'Channel.DirectLineSpeechChannel': DirectLineSpeechChannel | ||
}; | ||
//# sourceMappingURL=mappers.js.map |
@@ -6,2 +6,3 @@ import * as msRest from "@azure/ms-rest-js"; | ||
export declare const channelName1: msRest.OperationURLParameter; | ||
export declare const channelName2: msRest.OperationURLParameter; | ||
export declare const connectionName: msRest.OperationURLParameter; | ||
@@ -8,0 +9,0 @@ export declare const nextPageLink: msRest.OperationURLParameter; |
@@ -38,2 +38,3 @@ /* | ||
allowedValues: [ | ||
"AlexaChannel", | ||
"FacebookChannel", | ||
@@ -48,3 +49,5 @@ "EmailChannel", | ||
"DirectLineChannel", | ||
"SmsChannel" | ||
"SmsChannel", | ||
"LineChannel", | ||
"DirectLineSpeechChannel" | ||
] | ||
@@ -69,2 +72,16 @@ } | ||
}; | ||
export var channelName2 = { | ||
parameterPath: "channelName", | ||
mapper: { | ||
required: true, | ||
serializedName: "channelName", | ||
type: { | ||
name: "Enum", | ||
allowedValues: [ | ||
"WebChatChannel", | ||
"DirectLineChannel" | ||
] | ||
} | ||
} | ||
}; | ||
export var connectionName = { | ||
@@ -78,3 +95,3 @@ parameterPath: "connectionName", | ||
MinLength: 2, | ||
Pattern: /^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/ | ||
Pattern: /^[a-zA-Z0-9][\sa-zA-Z0-9_.-]*$/ | ||
}, | ||
@@ -81,0 +98,0 @@ type: { |
@@ -31,3 +31,3 @@ import * as msRest from "@azure/ms-rest-js"; | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param [options] The optional parameters | ||
@@ -40,3 +40,3 @@ * @returns Promise<Models.BotConnectionListWithSecretsResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param callback The callback | ||
@@ -48,3 +48,3 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param options The optional parameters | ||
@@ -58,3 +58,3 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for creating the Connection Setting. | ||
@@ -68,3 +68,3 @@ * @param [options] The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for creating the Connection Setting. | ||
@@ -77,3 +77,3 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for creating the Connection Setting. | ||
@@ -88,3 +88,3 @@ * @param options The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for updating the Connection Setting. | ||
@@ -98,3 +98,3 @@ * @param [options] The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for updating the Connection Setting. | ||
@@ -107,3 +107,3 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for updating the Connection Setting. | ||
@@ -118,3 +118,3 @@ * @param options The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param [options] The optional parameters | ||
@@ -127,3 +127,3 @@ * @returns Promise<Models.BotConnectionGetResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param callback The callback | ||
@@ -135,3 +135,3 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param options The optional parameters | ||
@@ -145,3 +145,3 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param [options] The optional parameters | ||
@@ -154,3 +154,3 @@ * @returns Promise<msRest.RestResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param callback The callback | ||
@@ -162,3 +162,3 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param options The optional parameters | ||
@@ -165,0 +165,0 @@ * @param callback The callback |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import * as msRest from "@azure/ms-rest-js"; | ||
@@ -153,3 +153,3 @@ import * as Mappers from "../models/botConnectionMappers"; | ||
parameterPath: "parameters", | ||
mapper: tslib_1.__assign({}, Mappers.ConnectionSetting, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.ConnectionSetting), { required: true }) | ||
}, | ||
@@ -186,3 +186,3 @@ responses: { | ||
parameterPath: "parameters", | ||
mapper: tslib_1.__assign({}, Mappers.ConnectionSetting, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.ConnectionSetting), { required: true }) | ||
}, | ||
@@ -189,0 +189,0 @@ responses: { |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import * as msRest from "@azure/ms-rest-js"; | ||
@@ -103,3 +103,3 @@ import * as Mappers from "../models/botsMappers"; | ||
parameterPath: "parameters", | ||
mapper: tslib_1.__assign({}, Mappers.Bot, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.Bot), { required: true }) | ||
}, | ||
@@ -160,3 +160,3 @@ responses: { | ||
}, | ||
mapper: tslib_1.__assign({}, Mappers.Bot, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.Bot), { required: true }) | ||
}, | ||
@@ -279,3 +279,3 @@ responses: { | ||
parameterPath: "parameters", | ||
mapper: tslib_1.__assign({}, Mappers.CheckNameAvailabilityRequestBody, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.CheckNameAvailabilityRequestBody), { required: true }) | ||
}, | ||
@@ -282,0 +282,0 @@ responses: { |
@@ -16,5 +16,6 @@ import * as msRest from "@azure/ms-rest-js"; | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param parameters The parameters to provide for the created bot. | ||
@@ -28,5 +29,6 @@ * @param [options] The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param parameters The parameters to provide for the created bot. | ||
@@ -39,5 +41,6 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param parameters The parameters to provide for the created bot. | ||
@@ -52,5 +55,6 @@ * @param options The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param [options] The optional parameters | ||
@@ -63,5 +67,6 @@ * @returns Promise<Models.ChannelsUpdateResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param callback The callback | ||
@@ -73,5 +78,6 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param options The optional parameters | ||
@@ -133,5 +139,6 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param [options] The optional parameters | ||
@@ -144,5 +151,6 @@ * @returns Promise<Models.ChannelsListWithKeysResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param callback The callback | ||
@@ -154,5 +162,6 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param options The optional parameters | ||
@@ -159,0 +168,0 @@ * @param callback The callback |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import * as msRest from "@azure/ms-rest-js"; | ||
@@ -100,3 +100,3 @@ import * as Mappers from "../models/channelsMappers"; | ||
parameterPath: "parameters", | ||
mapper: tslib_1.__assign({}, Mappers.BotChannel, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.BotChannel), { required: true }) | ||
}, | ||
@@ -158,3 +158,3 @@ responses: { | ||
}, | ||
mapper: tslib_1.__assign({}, Mappers.BotChannel, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.BotChannel), { required: true }) | ||
}, | ||
@@ -161,0 +161,0 @@ responses: { |
export * from "./bots"; | ||
export * from "./channels"; | ||
export * from "./directLine"; | ||
export * from "./operations"; | ||
export * from "./botConnection"; | ||
export * from "./enterpriseChannels"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -12,5 +12,5 @@ /* | ||
export * from "./channels"; | ||
export * from "./directLine"; | ||
export * from "./operations"; | ||
export * from "./botConnection"; | ||
export * from "./enterpriseChannels"; | ||
//# sourceMappingURL=index.js.map |
The MIT License (MIT) | ||
Copyright (c) 2019 Microsoft | ||
Copyright (c) 2020 Microsoft | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -5,7 +5,7 @@ { | ||
"description": "AzureBotService Library with typescript type definitions for node.js and browser.", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"dependencies": { | ||
"@azure/ms-rest-azure-js": "^1.3.2", | ||
"@azure/ms-rest-js": "^1.8.1", | ||
"tslib": "^1.9.3" | ||
"@azure/ms-rest-azure-js": "^2.0.1", | ||
"@azure/ms-rest-js": "^2.0.4", | ||
"tslib": "^1.10.0" | ||
}, | ||
@@ -24,15 +24,15 @@ "keywords": [ | ||
"devDependencies": { | ||
"typescript": "^3.1.1", | ||
"rollup": "^0.66.2", | ||
"rollup-plugin-node-resolve": "^3.4.0", | ||
"typescript": "^3.5.3", | ||
"rollup": "^1.18.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"uglify-js": "^3.4.9" | ||
"uglify-js": "^3.6.0" | ||
}, | ||
"homepage": "https://github.com/azure/azure-sdk-for-js", | ||
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/botservice/arm-botservice", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/azure/azure-sdk-for-js.git" | ||
"url": "https://github.com/Azure/azure-sdk-for-js.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/azure/azure-sdk-for-js/issues" | ||
"url": "https://github.com/Azure/azure-sdk-for-js/issues" | ||
}, | ||
@@ -39,0 +39,0 @@ "files": [ |
@@ -22,4 +22,5 @@ ## Azure AzureBotService SDK for JavaScript | ||
- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. | ||
```bash | ||
npm install @azure/ms-rest-nodeauth | ||
npm install @azure/ms-rest-nodeauth@"^3.0.0" | ||
``` | ||
@@ -102,1 +103,3 @@ | ||
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) | ||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/botservice/arm-botservice/README.png) |
@@ -32,3 +32,3 @@ import rollup from "rollup"; | ||
plugins: [ | ||
nodeResolve({ module: true }), | ||
nodeResolve({ mainFields: ['module', 'main'] }), | ||
sourcemaps() | ||
@@ -35,0 +35,0 @@ ] |
@@ -22,5 +22,5 @@ /* | ||
channels: operations.Channels; | ||
directLine: operations.DirectLine; | ||
operations: operations.Operations; | ||
botConnection: operations.BotConnection; | ||
enterpriseChannels: operations.EnterpriseChannels; | ||
@@ -37,5 +37,5 @@ /** | ||
this.channels = new operations.Channels(this); | ||
this.directLine = new operations.DirectLine(this); | ||
this.operations = new operations.Operations(this); | ||
this.botConnection = new operations.BotConnection(this); | ||
this.enterpriseChannels = new operations.EnterpriseChannels(this); | ||
} | ||
@@ -42,0 +42,0 @@ } |
@@ -16,3 +16,3 @@ /* | ||
const packageName = "@azure/arm-botservice"; | ||
const packageVersion = "1.0.0"; | ||
const packageVersion = "2.0.0"; | ||
@@ -41,3 +41,3 @@ export class AzureBotServiceContext extends msRestAzure.AzureServiceClient { | ||
} | ||
if(!options.userAgent) { | ||
if (!options.userAgent) { | ||
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); | ||
@@ -49,3 +49,3 @@ options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; | ||
this.apiVersion = '2018-07-12'; | ||
this.apiVersion = '2020-06-02'; | ||
this.acceptLanguage = 'en-US'; | ||
@@ -58,6 +58,6 @@ this.longRunningOperationRetryTimeout = 30; | ||
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { | ||
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { | ||
this.acceptLanguage = options.acceptLanguage; | ||
} | ||
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { | ||
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { | ||
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; | ||
@@ -64,0 +64,0 @@ } |
@@ -11,2 +11,4 @@ /* | ||
discriminators, | ||
AlexaChannel, | ||
AlexaChannelProperties, | ||
BaseResource, | ||
@@ -24,7 +26,6 @@ Bot, | ||
DirectLineSite, | ||
DirectLineSpeechChannel, | ||
DirectLineSpeechChannelProperties, | ||
EmailChannel, | ||
EmailChannelProperties, | ||
EnterpriseChannel, | ||
EnterpriseChannelNode, | ||
EnterpriseChannelProperties, | ||
ErrorBody, | ||
@@ -37,2 +38,5 @@ ErrorModel, | ||
KikChannelProperties, | ||
LineChannel, | ||
LineChannelProperties, | ||
LineRegistration, | ||
MsTeamsChannel, | ||
@@ -39,0 +43,0 @@ MsTeamsChannelProperties, |
@@ -11,2 +11,4 @@ /* | ||
discriminators, | ||
AlexaChannel, | ||
AlexaChannelProperties, | ||
BaseResource, | ||
@@ -26,7 +28,6 @@ Bot, | ||
DirectLineSite, | ||
DirectLineSpeechChannel, | ||
DirectLineSpeechChannelProperties, | ||
EmailChannel, | ||
EmailChannelProperties, | ||
EnterpriseChannel, | ||
EnterpriseChannelNode, | ||
EnterpriseChannelProperties, | ||
ErrorBody, | ||
@@ -39,2 +40,5 @@ ErrorModel, | ||
KikChannelProperties, | ||
LineChannel, | ||
LineChannelProperties, | ||
LineRegistration, | ||
MsTeamsChannel, | ||
@@ -41,0 +45,0 @@ MsTeamsChannelProperties, |
@@ -11,2 +11,4 @@ /* | ||
discriminators, | ||
AlexaChannel, | ||
AlexaChannelProperties, | ||
BaseResource, | ||
@@ -24,7 +26,6 @@ Bot, | ||
DirectLineSite, | ||
DirectLineSpeechChannel, | ||
DirectLineSpeechChannelProperties, | ||
EmailChannel, | ||
EmailChannelProperties, | ||
EnterpriseChannel, | ||
EnterpriseChannelNode, | ||
EnterpriseChannelProperties, | ||
ErrorBody, | ||
@@ -37,2 +38,5 @@ ErrorModel, | ||
KikChannelProperties, | ||
LineChannel, | ||
LineChannelProperties, | ||
LineRegistration, | ||
MsTeamsChannel, | ||
@@ -39,0 +43,0 @@ MsTeamsChannelProperties, |
@@ -145,3 +145,3 @@ /* | ||
*/ | ||
export type ChannelUnion = Channel | FacebookChannel | EmailChannel | MsTeamsChannel | SkypeChannel | KikChannel | WebChatChannel | DirectLineChannel | TelegramChannel | SmsChannel | SlackChannel; | ||
export type ChannelUnion = Channel | AlexaChannel | FacebookChannel | EmailChannel | MsTeamsChannel | SkypeChannel | KikChannel | WebChatChannel | DirectLineChannel | TelegramChannel | SmsChannel | SlackChannel | LineChannel | DirectLineSpeechChannel; | ||
@@ -169,2 +169,40 @@ /** | ||
/** | ||
* The parameters to provide for the Alexa channel. | ||
*/ | ||
export interface AlexaChannelProperties { | ||
/** | ||
* The Alexa skill Id | ||
*/ | ||
alexaSkillId: string; | ||
/** | ||
* Url fragment used in part of the Uri configured in Alexa | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly urlFragment?: string; | ||
/** | ||
* Full Uri used to configured the skill in Alexa | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly serviceEndpointUri?: string; | ||
/** | ||
* Whether this channel is enabled for the bot | ||
*/ | ||
isEnabled: boolean; | ||
} | ||
/** | ||
* Alexa channel definition | ||
*/ | ||
export interface AlexaChannel { | ||
/** | ||
* Polymorphic Discriminator | ||
*/ | ||
channelName: "AlexaChannel"; | ||
/** | ||
* The set of properties specific to Alexa channel resource | ||
*/ | ||
properties?: AlexaChannelProperties; | ||
} | ||
/** | ||
* A Facebook page for Facebook channel registration | ||
@@ -641,2 +679,6 @@ */ | ||
/** | ||
* The Slack signing secret. | ||
*/ | ||
signingSecret?: string; | ||
/** | ||
* Whether this channel is enabled for the bot | ||
@@ -662,2 +704,110 @@ */ | ||
/** | ||
* The properties corresponding to a line channel registration | ||
*/ | ||
export interface LineRegistration { | ||
/** | ||
* Id generated for the line channel registration | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly generatedId?: string; | ||
/** | ||
* Secret for the line channel registration | ||
*/ | ||
channelSecret?: string; | ||
/** | ||
* Access token for the line channel registration | ||
*/ | ||
channelAccessToken?: string; | ||
} | ||
/** | ||
* The parameters to provide for the Line channel. | ||
*/ | ||
export interface LineChannelProperties { | ||
/** | ||
* The list of line channel registrations | ||
*/ | ||
lineRegistrations: LineRegistration[]; | ||
/** | ||
* Callback Url to enter in line registration. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly callbackUrl?: string; | ||
/** | ||
* Whether this channel is validated for the bot | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly isValidated?: boolean; | ||
} | ||
/** | ||
* Line channel definition | ||
*/ | ||
export interface LineChannel { | ||
/** | ||
* Polymorphic Discriminator | ||
*/ | ||
channelName: "LineChannel"; | ||
/** | ||
* The set of properties specific to line channel resource | ||
*/ | ||
properties?: LineChannelProperties; | ||
} | ||
/** | ||
* The parameters to provide for the DirectLine Speech channel. | ||
*/ | ||
export interface DirectLineSpeechChannelProperties { | ||
/** | ||
* The cognitive service subscription ID to use with this channel registration. | ||
*/ | ||
cognitiveServicesSubscriptionId: string; | ||
/** | ||
* Whether this channel is enabled or not. | ||
*/ | ||
isEnabled?: boolean; | ||
/** | ||
* Custom speech model id (optional). | ||
*/ | ||
customVoiceDeploymentId?: string; | ||
/** | ||
* Custom voice deployment id (optional). | ||
*/ | ||
customSpeechModelId?: string; | ||
/** | ||
* Make this a default bot for chosen cognitive service account. | ||
*/ | ||
isDefaultBotForCogSvcAccount?: boolean; | ||
} | ||
/** | ||
* DirectLine Speech channel definition | ||
*/ | ||
export interface DirectLineSpeechChannel { | ||
/** | ||
* Polymorphic Discriminator | ||
*/ | ||
channelName: "DirectLineSpeechChannel"; | ||
/** | ||
* The set of properties specific to DirectLine Speech channel resource | ||
*/ | ||
properties?: DirectLineSpeechChannelProperties; | ||
} | ||
/** | ||
* Site information for WebChat or DirectLine Channels to identify which site to regenerate keys | ||
* for. | ||
*/ | ||
export interface SiteInfo { | ||
/** | ||
* The site name | ||
*/ | ||
siteName: string; | ||
/** | ||
* Determines which key is to be regenerated. Possible values include: 'key1', 'key2' | ||
*/ | ||
key: Key; | ||
} | ||
/** | ||
* The display name of a connection Item Setting registered with the Bot | ||
@@ -815,11 +965,11 @@ */ | ||
/** | ||
* The list of bot service service providers response. | ||
* The list of bot service providers response. | ||
*/ | ||
export interface ServiceProviderResponseList { | ||
/** | ||
* The link used to get the next page of bot service service providers. | ||
* The link used to get the next page of bot service providers. | ||
*/ | ||
nextLink?: string; | ||
/** | ||
* Gets the list of bot service service providers and their properties. | ||
* Gets the list of bot service providers and their properties. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
@@ -928,81 +1078,2 @@ */ | ||
/** | ||
* A request to Bot Service Management to check availability of an Enterprise Channel name. | ||
*/ | ||
export interface EnterpriseChannelCheckNameAvailabilityRequest { | ||
/** | ||
* The name of the Enterprise Channel for which availability needs to be checked. | ||
*/ | ||
name?: string; | ||
} | ||
/** | ||
* A request to Bot Service Management to check availability of an Enterprise Channel name. | ||
*/ | ||
export interface EnterpriseChannelCheckNameAvailabilityResponse { | ||
/** | ||
* Indicates if the Enterprise Channel name is valid. | ||
*/ | ||
valid?: boolean; | ||
/** | ||
* Additional information about why a bot name is not available. | ||
*/ | ||
message?: string; | ||
} | ||
/** | ||
* The properties specific to an Enterprise Channel Node. | ||
*/ | ||
export interface EnterpriseChannelNode { | ||
/** | ||
* Id of Enterprise Channel Node. This is generated by the Bot Framework. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* The current state of the Enterprise Channel Node. Possible values include: 'Creating', | ||
* 'CreateFailed', 'Started', 'Starting', 'StartFailed', 'Stopped', 'Stopping', 'StopFailed', | ||
* 'Deleting', 'DeleteFailed' | ||
*/ | ||
state?: EnterpriseChannelNodeState; | ||
/** | ||
* The name of the Enterprise Channel Node. | ||
*/ | ||
name: string; | ||
/** | ||
* The sku of the Enterprise Channel Node. | ||
*/ | ||
azureSku: string; | ||
/** | ||
* The location of the Enterprise Channel Node. | ||
*/ | ||
azureLocation: string; | ||
} | ||
/** | ||
* The parameters to provide for the Enterprise Channel. | ||
*/ | ||
export interface EnterpriseChannelProperties { | ||
/** | ||
* The current state of the Enterprise Channel. Possible values include: 'Creating', | ||
* 'CreateFailed', 'Started', 'Starting', 'StartFailed', 'Stopped', 'Stopping', 'StopFailed', | ||
* 'Deleting', 'DeleteFailed' | ||
*/ | ||
state?: EnterpriseChannelState; | ||
/** | ||
* The nodes associated with the Enterprise Channel. | ||
*/ | ||
nodes: EnterpriseChannelNode[]; | ||
} | ||
/** | ||
* Enterprise Channel resource definition | ||
*/ | ||
export interface EnterpriseChannel extends Resource { | ||
/** | ||
* The set of properties specific to an Enterprise Channel resource. | ||
*/ | ||
properties?: EnterpriseChannelProperties; | ||
} | ||
/** | ||
* Optional Parameters. | ||
@@ -1070,64 +1141,2 @@ */ | ||
/** | ||
* Optional Parameters. | ||
*/ | ||
export interface EnterpriseChannelsUpdateOptionalParams extends msRest.RequestOptionsBase { | ||
/** | ||
* Specifies the location of the resource. | ||
*/ | ||
location?: string; | ||
/** | ||
* Contains resource tags defined as key/value pairs. | ||
*/ | ||
tags?: { [propertyName: string]: string }; | ||
/** | ||
* Gets or sets the SKU of the resource. | ||
*/ | ||
sku?: Sku; | ||
/** | ||
* Required. Gets or sets the Kind of the resource. Possible values include: 'sdk', 'designer', | ||
* 'bot', 'function' | ||
*/ | ||
kind?: Kind; | ||
/** | ||
* Entity Tag | ||
*/ | ||
etag?: string; | ||
/** | ||
* The set of properties specific to an Enterprise Channel resource. | ||
*/ | ||
properties?: EnterpriseChannelProperties; | ||
} | ||
/** | ||
* Optional Parameters. | ||
*/ | ||
export interface EnterpriseChannelsBeginUpdateOptionalParams extends msRest.RequestOptionsBase { | ||
/** | ||
* Specifies the location of the resource. | ||
*/ | ||
location?: string; | ||
/** | ||
* Contains resource tags defined as key/value pairs. | ||
*/ | ||
tags?: { [propertyName: string]: string }; | ||
/** | ||
* Gets or sets the SKU of the resource. | ||
*/ | ||
sku?: Sku; | ||
/** | ||
* Required. Gets or sets the Kind of the resource. Possible values include: 'sdk', 'designer', | ||
* 'bot', 'function' | ||
*/ | ||
kind?: Kind; | ||
/** | ||
* Entity Tag | ||
*/ | ||
etag?: string; | ||
/** | ||
* The set of properties specific to an Enterprise Channel resource. | ||
*/ | ||
properties?: EnterpriseChannelProperties; | ||
} | ||
/** | ||
* An interface representing AzureBotServiceOptions. | ||
@@ -1188,14 +1197,2 @@ */ | ||
/** | ||
* @interface | ||
* The list of bot service operation response. | ||
* @extends Array<EnterpriseChannel> | ||
*/ | ||
export interface EnterpriseChannelResponseList extends Array<EnterpriseChannel> { | ||
/** | ||
* The link used to get the next page of bot service resources. | ||
*/ | ||
nextLink?: string; | ||
} | ||
/** | ||
* Defines values for SkuName. | ||
@@ -1225,28 +1222,26 @@ * Possible values include: 'F0', 'S1' | ||
/** | ||
* Defines values for EnterpriseChannelState. | ||
* Possible values include: 'Creating', 'CreateFailed', 'Started', 'Starting', 'StartFailed', | ||
* 'Stopped', 'Stopping', 'StopFailed', 'Deleting', 'DeleteFailed' | ||
* Defines values for Key. | ||
* Possible values include: 'key1', 'key2' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export type EnterpriseChannelState = 'Creating' | 'CreateFailed' | 'Started' | 'Starting' | 'StartFailed' | 'Stopped' | 'Stopping' | 'StopFailed' | 'Deleting' | 'DeleteFailed'; | ||
export type Key = 'key1' | 'key2'; | ||
/** | ||
* Defines values for EnterpriseChannelNodeState. | ||
* Possible values include: 'Creating', 'CreateFailed', 'Started', 'Starting', 'StartFailed', | ||
* 'Stopped', 'Stopping', 'StopFailed', 'Deleting', 'DeleteFailed' | ||
* Defines values for ChannelName. | ||
* Possible values include: 'AlexaChannel', 'FacebookChannel', 'EmailChannel', 'KikChannel', | ||
* 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', | ||
* 'DirectLineChannel', 'SmsChannel', 'LineChannel', 'DirectLineSpeechChannel' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export type EnterpriseChannelNodeState = 'Creating' | 'CreateFailed' | 'Started' | 'Starting' | 'StartFailed' | 'Stopped' | 'Stopping' | 'StopFailed' | 'Deleting' | 'DeleteFailed'; | ||
export type ChannelName = 'AlexaChannel' | 'FacebookChannel' | 'EmailChannel' | 'KikChannel' | 'TelegramChannel' | 'SlackChannel' | 'MsTeamsChannel' | 'SkypeChannel' | 'WebChatChannel' | 'DirectLineChannel' | 'SmsChannel' | 'LineChannel' | 'DirectLineSpeechChannel'; | ||
/** | ||
* Defines values for ChannelName. | ||
* Possible values include: 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', | ||
* 'SlackChannel', 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', | ||
* 'SmsChannel' | ||
* Defines values for RegenerateKeysChannelName. | ||
* Possible values include: 'WebChatChannel', 'DirectLineChannel' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export type ChannelName = 'FacebookChannel' | 'EmailChannel' | 'KikChannel' | 'TelegramChannel' | 'SlackChannel' | 'MsTeamsChannel' | 'SkypeChannel' | 'WebChatChannel' | 'DirectLineChannel' | 'SmsChannel'; | ||
export type RegenerateKeysChannelName = 'WebChatChannel' | 'DirectLineChannel'; | ||
@@ -1534,2 +1529,22 @@ /** | ||
/** | ||
* Contains response data for the regenerateKeys operation. | ||
*/ | ||
export type DirectLineRegenerateKeysResponse = BotChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: BotChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the list operation. | ||
@@ -1713,161 +1728,1 @@ */ | ||
}; | ||
/** | ||
* Contains response data for the checkNameAvailability operation. | ||
*/ | ||
export type EnterpriseChannelsCheckNameAvailabilityResponse = EnterpriseChannelCheckNameAvailabilityResponse & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannelCheckNameAvailabilityResponse; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the listByResourceGroup operation. | ||
*/ | ||
export type EnterpriseChannelsListByResourceGroupResponse = EnterpriseChannelResponseList & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannelResponseList; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the create operation. | ||
*/ | ||
export type EnterpriseChannelsCreateResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the update operation. | ||
*/ | ||
export type EnterpriseChannelsUpdateResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the get operation. | ||
*/ | ||
export type EnterpriseChannelsGetResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the beginCreate operation. | ||
*/ | ||
export type EnterpriseChannelsBeginCreateResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the beginUpdate operation. | ||
*/ | ||
export type EnterpriseChannelsBeginUpdateResponse = EnterpriseChannel & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannel; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the listByResourceGroupNext operation. | ||
*/ | ||
export type EnterpriseChannelsListByResourceGroupNextResponse = EnterpriseChannelResponseList & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: EnterpriseChannelResponseList; | ||
}; | ||
}; |
@@ -273,2 +273,60 @@ /* | ||
export const AlexaChannelProperties: msRest.CompositeMapper = { | ||
serializedName: "AlexaChannelProperties", | ||
type: { | ||
name: "Composite", | ||
className: "AlexaChannelProperties", | ||
modelProperties: { | ||
alexaSkillId: { | ||
required: true, | ||
serializedName: "alexaSkillId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
urlFragment: { | ||
readOnly: true, | ||
serializedName: "urlFragment", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
serviceEndpointUri: { | ||
readOnly: true, | ||
serializedName: "serviceEndpointUri", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isEnabled: { | ||
required: true, | ||
serializedName: "isEnabled", | ||
type: { | ||
name: "Boolean" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const AlexaChannel: msRest.CompositeMapper = { | ||
serializedName: "AlexaChannel", | ||
type: { | ||
name: "Composite", | ||
polymorphicDiscriminator: Channel.type.polymorphicDiscriminator, | ||
uberParent: "Channel", | ||
className: "AlexaChannel", | ||
modelProperties: { | ||
...Channel.type.modelProperties, | ||
properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "AlexaChannelProperties" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const FacebookPage: msRest.CompositeMapper = { | ||
@@ -1011,2 +1069,8 @@ serializedName: "FacebookPage", | ||
}, | ||
signingSecret: { | ||
serializedName: "signingSecret", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isEnabled: { | ||
@@ -1043,2 +1107,177 @@ required: true, | ||
export const LineRegistration: msRest.CompositeMapper = { | ||
serializedName: "LineRegistration", | ||
type: { | ||
name: "Composite", | ||
className: "LineRegistration", | ||
modelProperties: { | ||
generatedId: { | ||
readOnly: true, | ||
serializedName: "generatedId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
channelSecret: { | ||
serializedName: "channelSecret", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
channelAccessToken: { | ||
serializedName: "channelAccessToken", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const LineChannelProperties: msRest.CompositeMapper = { | ||
serializedName: "LineChannelProperties", | ||
type: { | ||
name: "Composite", | ||
className: "LineChannelProperties", | ||
modelProperties: { | ||
lineRegistrations: { | ||
required: true, | ||
serializedName: "lineRegistrations", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "Composite", | ||
className: "LineRegistration" | ||
} | ||
} | ||
} | ||
}, | ||
callbackUrl: { | ||
readOnly: true, | ||
serializedName: "callbackUrl", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isValidated: { | ||
readOnly: true, | ||
serializedName: "isValidated", | ||
type: { | ||
name: "Boolean" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const LineChannel: msRest.CompositeMapper = { | ||
serializedName: "LineChannel", | ||
type: { | ||
name: "Composite", | ||
polymorphicDiscriminator: Channel.type.polymorphicDiscriminator, | ||
uberParent: "Channel", | ||
className: "LineChannel", | ||
modelProperties: { | ||
...Channel.type.modelProperties, | ||
properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "LineChannelProperties" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const DirectLineSpeechChannelProperties: msRest.CompositeMapper = { | ||
serializedName: "DirectLineSpeechChannelProperties", | ||
type: { | ||
name: "Composite", | ||
className: "DirectLineSpeechChannelProperties", | ||
modelProperties: { | ||
cognitiveServicesSubscriptionId: { | ||
required: true, | ||
serializedName: "cognitiveServicesSubscriptionId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isEnabled: { | ||
serializedName: "isEnabled", | ||
type: { | ||
name: "Boolean" | ||
} | ||
}, | ||
customVoiceDeploymentId: { | ||
serializedName: "customVoiceDeploymentId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
customSpeechModelId: { | ||
serializedName: "customSpeechModelId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
isDefaultBotForCogSvcAccount: { | ||
serializedName: "isDefaultBotForCogSvcAccount", | ||
type: { | ||
name: "Boolean" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const DirectLineSpeechChannel: msRest.CompositeMapper = { | ||
serializedName: "DirectLineSpeechChannel", | ||
type: { | ||
name: "Composite", | ||
polymorphicDiscriminator: Channel.type.polymorphicDiscriminator, | ||
uberParent: "Channel", | ||
className: "DirectLineSpeechChannel", | ||
modelProperties: { | ||
...Channel.type.modelProperties, | ||
properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "DirectLineSpeechChannelProperties" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const SiteInfo: msRest.CompositeMapper = { | ||
serializedName: "SiteInfo", | ||
type: { | ||
name: "Composite", | ||
className: "SiteInfo", | ||
modelProperties: { | ||
siteName: { | ||
required: true, | ||
serializedName: "siteName", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
key: { | ||
required: true, | ||
serializedName: "key", | ||
type: { | ||
name: "Enum", | ||
allowedValues: [ | ||
"key1", | ||
"key2" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const ConnectionItemName: msRest.CompositeMapper = { | ||
@@ -1469,131 +1708,2 @@ serializedName: "ConnectionItemName", | ||
export const EnterpriseChannelCheckNameAvailabilityRequest: msRest.CompositeMapper = { | ||
serializedName: "EnterpriseChannelCheckNameAvailabilityRequest", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelCheckNameAvailabilityRequest", | ||
modelProperties: { | ||
name: { | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const EnterpriseChannelCheckNameAvailabilityResponse: msRest.CompositeMapper = { | ||
serializedName: "EnterpriseChannelCheckNameAvailabilityResponse", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelCheckNameAvailabilityResponse", | ||
modelProperties: { | ||
valid: { | ||
serializedName: "valid", | ||
type: { | ||
name: "Boolean" | ||
} | ||
}, | ||
message: { | ||
serializedName: "message", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const EnterpriseChannelNode: msRest.CompositeMapper = { | ||
serializedName: "EnterpriseChannelNode", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelNode", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
state: { | ||
serializedName: "state", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
name: { | ||
required: true, | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
azureSku: { | ||
required: true, | ||
serializedName: "azureSku", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
azureLocation: { | ||
required: true, | ||
serializedName: "azureLocation", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const EnterpriseChannelProperties: msRest.CompositeMapper = { | ||
serializedName: "EnterpriseChannelProperties", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelProperties", | ||
modelProperties: { | ||
state: { | ||
serializedName: "state", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
nodes: { | ||
required: true, | ||
serializedName: "nodes", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelNode" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const EnterpriseChannel: msRest.CompositeMapper = { | ||
serializedName: "EnterpriseChannel", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannel", | ||
modelProperties: { | ||
...Resource.type.modelProperties, | ||
properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelProperties" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const BotResponseList: msRest.CompositeMapper = { | ||
@@ -1714,33 +1824,5 @@ serializedName: "BotResponseList", | ||
export const EnterpriseChannelResponseList: msRest.CompositeMapper = { | ||
serializedName: "EnterpriseChannelResponseList", | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannelResponseList", | ||
modelProperties: { | ||
nextLink: { | ||
serializedName: "nextLink", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
value: { | ||
readOnly: true, | ||
serializedName: "", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "Composite", | ||
className: "EnterpriseChannel" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const discriminators = { | ||
'Channel' : Channel, | ||
'Channel.AlexaChannel' : AlexaChannel, | ||
'Channel.FacebookChannel' : FacebookChannel, | ||
@@ -1755,4 +1837,6 @@ 'Channel.EmailChannel' : EmailChannel, | ||
'Channel.SmsChannel' : SmsChannel, | ||
'Channel.SlackChannel' : SlackChannel | ||
'Channel.SlackChannel' : SlackChannel, | ||
'Channel.LineChannel' : LineChannel, | ||
'Channel.DirectLineSpeechChannel' : DirectLineSpeechChannel | ||
}; |
@@ -41,2 +41,3 @@ /* | ||
allowedValues: [ | ||
"AlexaChannel", | ||
"FacebookChannel", | ||
@@ -51,3 +52,5 @@ "EmailChannel", | ||
"DirectLineChannel", | ||
"SmsChannel" | ||
"SmsChannel", | ||
"LineChannel", | ||
"DirectLineSpeechChannel" | ||
] | ||
@@ -72,2 +75,16 @@ } | ||
}; | ||
export const channelName2: msRest.OperationURLParameter = { | ||
parameterPath: "channelName", | ||
mapper: { | ||
required: true, | ||
serializedName: "channelName", | ||
type: { | ||
name: "Enum", | ||
allowedValues: [ | ||
"WebChatChannel", | ||
"DirectLineChannel" | ||
] | ||
} | ||
} | ||
}; | ||
export const connectionName: msRest.OperationURLParameter = { | ||
@@ -81,3 +98,3 @@ parameterPath: "connectionName", | ||
MinLength: 2, | ||
Pattern: /^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/ | ||
Pattern: /^[a-zA-Z0-9][\sa-zA-Z0-9_.-]*$/ | ||
}, | ||
@@ -84,0 +101,0 @@ type: { |
@@ -57,3 +57,3 @@ /* | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param [options] The optional parameters | ||
@@ -66,3 +66,3 @@ * @returns Promise<Models.BotConnectionListWithSecretsResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param callback The callback | ||
@@ -74,3 +74,3 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param options The optional parameters | ||
@@ -96,3 +96,3 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for creating the Connection Setting. | ||
@@ -106,3 +106,3 @@ * @param [options] The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for creating the Connection Setting. | ||
@@ -115,3 +115,3 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for creating the Connection Setting. | ||
@@ -139,3 +139,3 @@ * @param options The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for updating the Connection Setting. | ||
@@ -149,3 +149,3 @@ * @param [options] The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for updating the Connection Setting. | ||
@@ -158,3 +158,3 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param parameters The parameters to provide for updating the Connection Setting. | ||
@@ -182,3 +182,3 @@ * @param options The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param [options] The optional parameters | ||
@@ -191,3 +191,3 @@ * @returns Promise<Models.BotConnectionGetResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param callback The callback | ||
@@ -199,3 +199,3 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param options The optional parameters | ||
@@ -221,3 +221,3 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param [options] The optional parameters | ||
@@ -230,3 +230,3 @@ * @returns Promise<msRest.RestResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param callback The callback | ||
@@ -238,3 +238,3 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param connectionName The name of the Bot Service Connection Setting resource | ||
* @param connectionName The name of the Bot Service Connection Setting resource. | ||
* @param options The optional parameters | ||
@@ -241,0 +241,0 @@ * @param callback The callback |
@@ -33,5 +33,6 @@ /* | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param parameters The parameters to provide for the created bot. | ||
@@ -45,5 +46,6 @@ * @param [options] The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param parameters The parameters to provide for the created bot. | ||
@@ -56,5 +58,6 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param parameters The parameters to provide for the created bot. | ||
@@ -82,5 +85,6 @@ * @param options The optional parameters | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param [options] The optional parameters | ||
@@ -93,5 +97,6 @@ * @returns Promise<Models.ChannelsUpdateResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param callback The callback | ||
@@ -103,5 +108,6 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param options The optional parameters | ||
@@ -199,5 +205,6 @@ * @param callback The callback | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param [options] The optional parameters | ||
@@ -210,5 +217,6 @@ * @returns Promise<Models.ChannelsListWithKeysResponse> | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param callback The callback | ||
@@ -220,5 +228,6 @@ */ | ||
* @param resourceName The name of the Bot resource. | ||
* @param channelName The name of the Channel resource. Possible values include: 'FacebookChannel', | ||
* 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', 'MsTeamsChannel', | ||
* 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel' | ||
* @param channelName The name of the Channel resource. Possible values include: 'AlexaChannel', | ||
* 'FacebookChannel', 'EmailChannel', 'KikChannel', 'TelegramChannel', 'SlackChannel', | ||
* 'MsTeamsChannel', 'SkypeChannel', 'WebChatChannel', 'DirectLineChannel', 'SmsChannel', | ||
* 'LineChannel', 'DirectLineSpeechChannel' | ||
* @param options The optional parameters | ||
@@ -225,0 +234,0 @@ * @param callback The callback |
@@ -13,4 +13,4 @@ /* | ||
export * from "./channels"; | ||
export * from "./directLine"; | ||
export * from "./operations"; | ||
export * from "./botConnection"; | ||
export * from "./enterpriseChannels"; |
@@ -12,3 +12,3 @@ { | ||
"forceConsistentCasingInFileNames": true, | ||
"lib": ["es6"], | ||
"lib": ["es6", "dom"], | ||
"declaration": true, | ||
@@ -15,0 +15,0 @@ "outDir": "./esm", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
104
879247
14543
+ Added@azure/ms-rest-azure-js@2.1.0(transitive)
+ Added@azure/ms-rest-js@2.7.0(transitive)
+ Addedabort-controller@3.0.0(transitive)
+ Addedevent-target-shim@5.0.1(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedxml2js@0.5.0(transitive)
- Removed@azure/ms-rest-azure-js@1.4.0(transitive)
- Removed@azure/ms-rest-js@1.11.2(transitive)
- Removedaxios@0.21.4(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedpsl@1.14.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removeduuid@3.4.0(transitive)
- Removedxml2js@0.4.23(transitive)
Updated@azure/ms-rest-js@^2.0.4
Updatedtslib@^1.10.0