Skip to content

Commit 7744d5d

Browse files
tools/importer-rest-api-specs: the Bot Service Channel Common ID now includes constants
1 parent c51f47a commit 7744d5d

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

tools/importer-rest-api-specs/components/parser/resourceids/common_id_bot_service_channel.go

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,33 @@ func (commonIdBotServiceChannel) id() models.ParsedResourceId {
1313
name := "BotServiceChannel"
1414
return models.ParsedResourceId{
1515
CommonAlias: &name,
16-
Constants: map[string]resourcemanager.ConstantDetails{},
16+
Constants: map[string]resourcemanager.ConstantDetails{
17+
"BotServiceChannelType": {
18+
CaseInsensitive: false,
19+
Type: resourcemanager.StringConstant,
20+
Values: map[string]string{
21+
"AcsChatChannel": "AcsChatChannel",
22+
"AlexaChannel": "AlexaChannel",
23+
"DirectLineChannel": "DirectLineChannel",
24+
"DirectLineSpeechChannel": "DirectLineSpeechChannel",
25+
"EmailChannel": "EmailChannel",
26+
"KikChannel": "KikChannel",
27+
"FacebookChannel": "FacebookChannel",
28+
"LineChannel": "LineChannel",
29+
"M365Extensions": "M365Extensions",
30+
"MsTeamsChannel": "MsTeamsChannel",
31+
"Omnichannel": "Omnichannel",
32+
"OutlookChannel": "OutlookChannel",
33+
"SearchAssistant": "SearchAssistant",
34+
"SkypeChannel": "SkypeChannel",
35+
"SlackChannel": "SlackChannel",
36+
"SmsChannel": "SmsChannel",
37+
"TelegramChannel": "TelegramChannel",
38+
"TelephonyChannel": "TelephonyChannel",
39+
"WebChatChannel": "WebChatChannel",
40+
},
41+
},
42+
},
1743
Segments: []resourcemanager.ResourceIdSegment{
1844
models.StaticResourceIDSegment("staticSubscriptions", "subscriptions"),
1945
models.SubscriptionIDResourceIDSegment("subscriptionId"),

0 commit comments

Comments
 (0)