@alicloud/cams20200606 1.4.4 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +358 -0
- package/dist/client.js +818 -42
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1075 -70
package/dist/client.js
CHANGED
|
@@ -27,11 +27,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DeleteChatappTemplateRequest = exports.CreatePhoneMessageQrdlResponse = exports.CreatePhoneMessageQrdlResponseBody = exports.CreatePhoneMessageQrdlRequest = exports.CreateFlowResponse = exports.CreateFlowResponseBody = exports.CreateFlowShrinkRequest = exports.CreateFlowRequest = exports.CreateChatappTemplateResponse = exports.CreateChatappTemplateResponseBody = exports.CreateChatappTemplateShrinkRequest = exports.CreateChatappTemplateRequest = exports.CreateChatappMigrationInitiateResponse = exports.CreateChatappMigrationInitiateResponseBody = exports.CreateChatappMigrationInitiateRequest = exports.ChatappVerifyAndRegisterResponse = exports.ChatappVerifyAndRegisterResponseBody = exports.ChatappVerifyAndRegisterRequest = exports.ChatappSyncPhoneNumberResponse = exports.ChatappSyncPhoneNumberResponseBody = exports.ChatappSyncPhoneNumberRequest = exports.ChatappPhoneNumberRegisterResponse = exports.ChatappPhoneNumberRegisterResponseBody = exports.ChatappPhoneNumberRegisterRequest = exports.ChatappPhoneNumberDeregisterResponse = exports.ChatappPhoneNumberDeregisterResponseBody = exports.ChatappPhoneNumberDeregisterRequest = exports.ChatappMigrationVerifiedResponse = exports.ChatappMigrationVerifiedResponseBody = exports.ChatappMigrationVerifiedRequest = exports.ChatappMigrationRegisterResponse = exports.ChatappMigrationRegisterResponseBody = exports.ChatappMigrationRegisterRequest = exports.ChatappEmbedSignUpResponse = exports.ChatappEmbedSignUpResponseBody = exports.ChatappEmbedSignUpRequest = exports.ChatappBindWabaResponse = exports.ChatappBindWabaResponseBody = exports.ChatappBindWabaRequest = exports.BeeBotChatResponse = exports.BeeBotChatResponseBody = exports.BeeBotChatShrinkRequest = exports.BeeBotChatRequest = exports.BeeBotAssociateResponse = exports.BeeBotAssociateResponseBody = exports.BeeBotAssociateShrinkRequest = exports.BeeBotAssociateRequest = exports.AddChatappPhoneNumberResponse = exports.AddChatappPhoneNumberResponseBody = exports.AddChatappPhoneNumberRequest = void 0;
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.UpdatePhoneMessageQrdlResponseBodyData = exports.UpdateFlowJSONAssetResponseBodyData = exports.SendChatappMessageRequestProductAction = exports.SendChatappMessageRequestProductActionSections = exports.SendChatappMessageRequestProductActionSectionsProductItems = exports.SendChatappMessageRequestFlowAction = exports.SendChatappMassMessageRequestSenderList = exports.SendChatappMassMessageRequestSenderListProductAction = exports.SendChatappMassMessageRequestSenderListProductActionSections = exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = exports.SendChatappMassMessageRequestSenderListFlowAction = exports.QueryWabaBusinessInfoResponseBodyData = exports.QueryPhoneBusinessProfileResponseBodyData = void 0;
|
|
30
|
+
exports.GetPermissionByCodeResponseBody = exports.GetPermissionByCodeShrinkRequest = exports.GetPermissionByCodeRequest = exports.GetMigrationVerifyCodeResponse = exports.GetMigrationVerifyCodeResponseBody = exports.GetMigrationVerifyCodeRequest = exports.GetFlowPreviewUrlResponse = exports.GetFlowPreviewUrlResponseBody = exports.GetFlowPreviewUrlRequest = exports.GetFlowJSONAssestResponse = exports.GetFlowJSONAssestResponseBody = exports.GetFlowJSONAssestRequest = exports.GetFlowResponse = exports.GetFlowResponseBody = exports.GetFlowRequest = exports.GetConversationalAutomationResponse = exports.GetConversationalAutomationResponseBody = exports.GetConversationalAutomationRequest = exports.GetCommerceSettingResponse = exports.GetCommerceSettingResponseBody = exports.GetCommerceSettingRequest = exports.GetChatappVerifyCodeResponse = exports.GetChatappVerifyCodeResponseBody = exports.GetChatappVerifyCodeRequest = exports.GetChatappUploadAuthorizationResponse = exports.GetChatappUploadAuthorizationResponseBody = exports.GetChatappUploadAuthorizationRequest = exports.GetChatappTemplateMetricResponse = exports.GetChatappTemplateMetricResponseBody = exports.GetChatappTemplateMetricRequest = exports.GetChatappTemplateDetailResponse = exports.GetChatappTemplateDetailResponseBody = exports.GetChatappTemplateDetailRequest = exports.GetChatappPhoneNumberMetricResponse = exports.GetChatappPhoneNumberMetricResponseBody = exports.GetChatappPhoneNumberMetricRequest = exports.EnableWhatsappROIMetricResponse = exports.EnableWhatsappROIMetricResponseBody = exports.EnableWhatsappROIMetricRequest = exports.DeprecateFlowResponse = exports.DeprecateFlowResponseBody = exports.DeprecateFlowRequest = exports.DeletePhoneMessageQrdlResponse = exports.DeletePhoneMessageQrdlResponseBody = exports.DeletePhoneMessageQrdlRequest = exports.DeleteFlowResponse = exports.DeleteFlowResponseBody = exports.DeleteFlowRequest = exports.DeleteChatappTemplateResponse = exports.DeleteChatappTemplateResponseBody = void 0;
|
|
31
|
+
exports.PublishFlowResponseBody = exports.PublishFlowRequest = exports.ModifyPhoneBusinessProfileResponse = exports.ModifyPhoneBusinessProfileResponseBody = exports.ModifyPhoneBusinessProfileShrinkRequest = exports.ModifyPhoneBusinessProfileRequest = exports.ModifyFlowResponse = exports.ModifyFlowResponseBody = exports.ModifyFlowShrinkRequest = exports.ModifyFlowRequest = exports.ModifyChatappTemplateResponse = exports.ModifyChatappTemplateResponseBody = exports.ModifyChatappTemplateShrinkRequest = exports.ModifyChatappTemplateRequest = exports.ListProductCatalogResponse = exports.ListProductCatalogResponseBody = exports.ListProductCatalogRequest = exports.ListProductResponse = exports.ListProductResponseBody = exports.ListProductRequest = exports.ListPhoneMessageQrdlResponse = exports.ListPhoneMessageQrdlResponseBody = exports.ListPhoneMessageQrdlRequest = exports.ListFlowResponse = exports.ListFlowResponseBody = exports.ListFlowShrinkRequest = exports.ListFlowRequest = exports.ListChatappTemplateResponse = exports.ListChatappTemplateResponseBody = exports.ListChatappTemplateShrinkRequest = exports.ListChatappTemplateRequest = exports.IsvGetAppIdResponse = exports.IsvGetAppIdResponseBody = exports.IsvGetAppIdRequest = exports.GetWhatsappHealthStatusResponse = exports.GetWhatsappHealthStatusResponseBody = exports.GetWhatsappHealthStatusRequest = exports.GetWhatsappConnectionCatalogResponse = exports.GetWhatsappConnectionCatalogResponseBody = exports.GetWhatsappConnectionCatalogRequest = exports.GetPreValidatePhoneIdResponse = exports.GetPreValidatePhoneIdResponseBody = exports.GetPreValidatePhoneIdRequest = exports.GetPhoneNumberVerificationStatusResponse = exports.GetPhoneNumberVerificationStatusResponseBody = exports.GetPhoneNumberVerificationStatusRequest = exports.GetPhoneEncryptionPublicKeyResponse = exports.GetPhoneEncryptionPublicKeyResponseBody = exports.GetPhoneEncryptionPublicKeyRequest = exports.GetPermissionByCodeResponse = void 0;
|
|
32
|
+
exports.BeeBotChatResponseBodyDataMessagesKnowledge = exports.BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges = exports.BeeBotAssociateResponseBodyData = exports.BeeBotAssociateResponseBodyDataAssociate = exports.UpdatePhoneWebhookResponse = exports.UpdatePhoneWebhookResponseBody = exports.UpdatePhoneWebhookRequest = exports.UpdatePhoneMessageQrdlResponse = exports.UpdatePhoneMessageQrdlResponseBody = exports.UpdatePhoneMessageQrdlRequest = exports.UpdatePhoneEncryptionPublicKeyResponse = exports.UpdatePhoneEncryptionPublicKeyResponseBody = exports.UpdatePhoneEncryptionPublicKeyRequest = exports.UpdateFlowJSONAssetResponse = exports.UpdateFlowJSONAssetResponseBody = exports.UpdateFlowJSONAssetRequest = exports.UpdateConversationalAutomationResponse = exports.UpdateConversationalAutomationResponseBody = exports.UpdateConversationalAutomationShrinkRequest = exports.UpdateConversationalAutomationRequest = exports.UpdateCommerceSettingResponse = exports.UpdateCommerceSettingResponseBody = exports.UpdateCommerceSettingRequest = exports.UpdateAccountWebhookResponse = exports.UpdateAccountWebhookResponseBody = exports.UpdateAccountWebhookRequest = exports.SubmitIsvCustomerTermsResponse = exports.SubmitIsvCustomerTermsResponseBody = exports.SubmitIsvCustomerTermsRequest = exports.SendChatappMessageResponse = exports.SendChatappMessageResponseBody = exports.SendChatappMessageShrinkRequest = exports.SendChatappMessageRequest = exports.SendChatappMassMessageResponse = exports.SendChatappMassMessageResponseBody = exports.SendChatappMassMessageShrinkRequest = exports.SendChatappMassMessageRequest = exports.QueryWabaBusinessInfoResponse = exports.QueryWabaBusinessInfoResponseBody = exports.QueryWabaBusinessInfoRequest = exports.QueryPhoneBusinessProfileResponse = exports.QueryPhoneBusinessProfileResponseBody = exports.QueryPhoneBusinessProfileRequest = exports.QueryChatappPhoneNumbersResponse = exports.QueryChatappPhoneNumbersResponseBody = exports.QueryChatappPhoneNumbersRequest = exports.QueryChatappBindWabaResponse = exports.QueryChatappBindWabaResponseBody = exports.QueryChatappBindWabaRequest = exports.PublishFlowResponse = void 0;
|
|
33
|
+
exports.ListProductResponseBodyModelPagingCursors = exports.ListPhoneMessageQrdlResponseBodyData = exports.ListFlowResponseBodyData = exports.ListFlowRequestPage = exports.ListChatappTemplateResponseBodyListTemplate = exports.ListChatappTemplateRequestPage = exports.GetWhatsappHealthStatusResponseBodyData = exports.GetWhatsappHealthStatusResponseBodyDataEntities = exports.GetWhatsappHealthStatusResponseBodyDataEntitiesErrors = exports.GetPreValidatePhoneIdResponseBodyData = exports.GetPhoneNumberVerificationStatusResponseBodyData = exports.GetPhoneEncryptionPublicKeyResponseBodyData = exports.GetMigrationVerifyCodeResponseBodyData = exports.GetFlowPreviewUrlResponseBodyData = exports.GetFlowJSONAssestResponseBodyData = exports.GetFlowResponseBodyData = exports.GetConversationalAutomationResponseBodyData = exports.GetConversationalAutomationResponseBodyDataCommands = exports.GetCommerceSettingResponseBodyData = exports.GetChatappUploadAuthorizationResponseBodyData = exports.GetChatappTemplateMetricResponseBodyData = exports.GetChatappTemplateMetricResponseBodyDataCliented = exports.GetChatappTemplateDetailResponseBodyData = exports.GetChatappTemplateDetailResponseBodyDataComponents = exports.GetChatappTemplateDetailResponseBodyDataComponentsCards = exports.GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponents = exports.GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponentsButtons = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtons = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs = exports.GetChatappPhoneNumberMetricResponseBodyData = exports.CreatePhoneMessageQrdlResponseBodyData = exports.CreateFlowResponseBodyData = exports.CreateChatappTemplateResponseBodyData = exports.CreateChatappTemplateRequestComponents = exports.CreateChatappTemplateRequestComponentsCards = exports.CreateChatappTemplateRequestComponentsCardsCardComponents = exports.CreateChatappTemplateRequestComponentsCardsCardComponentsButtons = exports.CreateChatappTemplateRequestComponentsButtons = exports.CreateChatappTemplateRequestComponentsButtonsSupportedApps = exports.CreateChatappMigrationInitiateResponseBodyData = exports.ChatappSyncPhoneNumberResponseBodyPhoneNumbers = exports.ChatappMigrationVerifiedResponseBodyData = exports.ChatappEmbedSignUpResponseBodyWabas = exports.ChatappBindWabaResponseBodyData = exports.BeeBotChatResponseBodyData = exports.BeeBotChatResponseBodyDataMessages = exports.BeeBotChatResponseBodyDataMessagesText = exports.BeeBotChatResponseBodyDataMessagesTextSlots = exports.BeeBotChatResponseBodyDataMessagesRecommends = void 0;
|
|
34
|
+
exports.UpdatePhoneMessageQrdlResponseBodyData = exports.UpdateFlowJSONAssetResponseBodyData = exports.UpdateConversationalAutomationRequestCommands = exports.SendChatappMessageRequestProductAction = exports.SendChatappMessageRequestProductActionSections = exports.SendChatappMessageRequestProductActionSectionsProductItems = exports.SendChatappMessageRequestFlowAction = exports.SendChatappMassMessageRequestSenderList = exports.SendChatappMassMessageRequestSenderListProductAction = exports.SendChatappMassMessageRequestSenderListProductActionSections = exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = exports.SendChatappMassMessageRequestSenderListFlowAction = exports.QueryWabaBusinessInfoResponseBodyData = exports.QueryPhoneBusinessProfileResponseBodyData = exports.QueryChatappPhoneNumbersResponseBodyPhoneNumbers = exports.QueryChatappBindWabaResponseBodyData = exports.ModifyFlowResponseBodyData = exports.ModifyChatappTemplateResponseBodyData = exports.ModifyChatappTemplateRequestComponents = exports.ModifyChatappTemplateRequestComponentsCards = exports.ModifyChatappTemplateRequestComponentsCardsCardComponents = exports.ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons = exports.ModifyChatappTemplateRequestComponentsButtons = exports.ModifyChatappTemplateRequestComponentsButtonsSupportedApps = exports.ListProductCatalogResponseBodyModel = exports.ListProductCatalogResponseBodyModelPaging = exports.ListProductCatalogResponseBodyModelPagingCursors = exports.ListProductResponseBodyModel = exports.ListProductResponseBodyModelPaging = void 0;
|
|
35
35
|
// This file is auto-generated, don't edit it
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
@@ -46,8 +46,11 @@ class AddChatappPhoneNumberRequest extends $tea.Model {
|
|
|
46
46
|
return {
|
|
47
47
|
cc: 'Cc',
|
|
48
48
|
custSpaceId: 'CustSpaceId',
|
|
49
|
+
ownerId: 'OwnerId',
|
|
49
50
|
phoneNumber: 'PhoneNumber',
|
|
50
51
|
preValidateId: 'PreValidateId',
|
|
52
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
53
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
51
54
|
verifiedName: 'VerifiedName',
|
|
52
55
|
};
|
|
53
56
|
}
|
|
@@ -55,8 +58,11 @@ class AddChatappPhoneNumberRequest extends $tea.Model {
|
|
|
55
58
|
return {
|
|
56
59
|
cc: 'string',
|
|
57
60
|
custSpaceId: 'string',
|
|
61
|
+
ownerId: 'number',
|
|
58
62
|
phoneNumber: 'string',
|
|
59
63
|
preValidateId: 'string',
|
|
64
|
+
resourceOwnerAccount: 'string',
|
|
65
|
+
resourceOwnerId: 'number',
|
|
60
66
|
verifiedName: 'string',
|
|
61
67
|
};
|
|
62
68
|
}
|
|
@@ -72,6 +78,7 @@ class AddChatappPhoneNumberResponseBody extends $tea.Model {
|
|
|
72
78
|
code: 'Code',
|
|
73
79
|
message: 'Message',
|
|
74
80
|
requestId: 'RequestId',
|
|
81
|
+
success: 'Success',
|
|
75
82
|
};
|
|
76
83
|
}
|
|
77
84
|
static types() {
|
|
@@ -80,6 +87,7 @@ class AddChatappPhoneNumberResponseBody extends $tea.Model {
|
|
|
80
87
|
code: 'string',
|
|
81
88
|
message: 'string',
|
|
82
89
|
requestId: 'string',
|
|
90
|
+
success: 'boolean',
|
|
83
91
|
};
|
|
84
92
|
}
|
|
85
93
|
constructor(map) {
|
|
@@ -326,11 +334,17 @@ exports.BeeBotChatResponse = BeeBotChatResponse;
|
|
|
326
334
|
class ChatappBindWabaRequest extends $tea.Model {
|
|
327
335
|
static names() {
|
|
328
336
|
return {
|
|
337
|
+
ownerId: 'OwnerId',
|
|
338
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
339
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
329
340
|
wabaId: 'WabaId',
|
|
330
341
|
};
|
|
331
342
|
}
|
|
332
343
|
static types() {
|
|
333
344
|
return {
|
|
345
|
+
ownerId: 'number',
|
|
346
|
+
resourceOwnerAccount: 'string',
|
|
347
|
+
resourceOwnerId: 'number',
|
|
334
348
|
wabaId: 'string',
|
|
335
349
|
};
|
|
336
350
|
}
|
|
@@ -347,6 +361,7 @@ class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
347
361
|
data: 'Data',
|
|
348
362
|
message: 'Message',
|
|
349
363
|
requestId: 'RequestId',
|
|
364
|
+
success: 'Success',
|
|
350
365
|
};
|
|
351
366
|
}
|
|
352
367
|
static types() {
|
|
@@ -356,6 +371,7 @@ class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
356
371
|
data: ChatappBindWabaResponseBodyData,
|
|
357
372
|
message: 'string',
|
|
358
373
|
requestId: 'string',
|
|
374
|
+
success: 'boolean',
|
|
359
375
|
};
|
|
360
376
|
}
|
|
361
377
|
constructor(map) {
|
|
@@ -631,13 +647,19 @@ class ChatappPhoneNumberRegisterRequest extends $tea.Model {
|
|
|
631
647
|
static names() {
|
|
632
648
|
return {
|
|
633
649
|
custSpaceId: 'CustSpaceId',
|
|
650
|
+
ownerId: 'OwnerId',
|
|
634
651
|
phoneNumber: 'PhoneNumber',
|
|
652
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
653
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
635
654
|
};
|
|
636
655
|
}
|
|
637
656
|
static types() {
|
|
638
657
|
return {
|
|
639
658
|
custSpaceId: 'string',
|
|
659
|
+
ownerId: 'number',
|
|
640
660
|
phoneNumber: 'string',
|
|
661
|
+
resourceOwnerAccount: 'string',
|
|
662
|
+
resourceOwnerId: 'number',
|
|
641
663
|
};
|
|
642
664
|
}
|
|
643
665
|
constructor(map) {
|
|
@@ -652,6 +674,7 @@ class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
652
674
|
code: 'Code',
|
|
653
675
|
message: 'Message',
|
|
654
676
|
requestId: 'RequestId',
|
|
677
|
+
success: 'Success',
|
|
655
678
|
};
|
|
656
679
|
}
|
|
657
680
|
static types() {
|
|
@@ -660,6 +683,7 @@ class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
660
683
|
code: 'string',
|
|
661
684
|
message: 'string',
|
|
662
685
|
requestId: 'string',
|
|
686
|
+
success: 'boolean',
|
|
663
687
|
};
|
|
664
688
|
}
|
|
665
689
|
constructor(map) {
|
|
@@ -691,11 +715,17 @@ class ChatappSyncPhoneNumberRequest extends $tea.Model {
|
|
|
691
715
|
static names() {
|
|
692
716
|
return {
|
|
693
717
|
custSpaceId: 'CustSpaceId',
|
|
718
|
+
ownerId: 'OwnerId',
|
|
719
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
720
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
694
721
|
};
|
|
695
722
|
}
|
|
696
723
|
static types() {
|
|
697
724
|
return {
|
|
698
725
|
custSpaceId: 'string',
|
|
726
|
+
ownerId: 'number',
|
|
727
|
+
resourceOwnerAccount: 'string',
|
|
728
|
+
resourceOwnerId: 'number',
|
|
699
729
|
};
|
|
700
730
|
}
|
|
701
731
|
constructor(map) {
|
|
@@ -711,6 +741,7 @@ class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
711
741
|
message: 'Message',
|
|
712
742
|
phoneNumbers: 'PhoneNumbers',
|
|
713
743
|
requestId: 'RequestId',
|
|
744
|
+
success: 'Success',
|
|
714
745
|
};
|
|
715
746
|
}
|
|
716
747
|
static types() {
|
|
@@ -720,6 +751,7 @@ class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
720
751
|
message: 'string',
|
|
721
752
|
phoneNumbers: { 'type': 'array', 'itemType': ChatappSyncPhoneNumberResponseBodyPhoneNumbers },
|
|
722
753
|
requestId: 'string',
|
|
754
|
+
success: 'boolean',
|
|
723
755
|
};
|
|
724
756
|
}
|
|
725
757
|
constructor(map) {
|
|
@@ -751,14 +783,20 @@ class ChatappVerifyAndRegisterRequest extends $tea.Model {
|
|
|
751
783
|
static names() {
|
|
752
784
|
return {
|
|
753
785
|
custSpaceId: 'CustSpaceId',
|
|
786
|
+
ownerId: 'OwnerId',
|
|
754
787
|
phoneNumber: 'PhoneNumber',
|
|
788
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
789
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
755
790
|
verifyCode: 'VerifyCode',
|
|
756
791
|
};
|
|
757
792
|
}
|
|
758
793
|
static types() {
|
|
759
794
|
return {
|
|
760
795
|
custSpaceId: 'string',
|
|
796
|
+
ownerId: 'number',
|
|
761
797
|
phoneNumber: 'string',
|
|
798
|
+
resourceOwnerAccount: 'string',
|
|
799
|
+
resourceOwnerId: 'number',
|
|
762
800
|
verifyCode: 'string',
|
|
763
801
|
};
|
|
764
802
|
}
|
|
@@ -774,6 +812,7 @@ class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
774
812
|
code: 'Code',
|
|
775
813
|
message: 'Message',
|
|
776
814
|
requestId: 'RequestId',
|
|
815
|
+
success: 'Success',
|
|
777
816
|
};
|
|
778
817
|
}
|
|
779
818
|
static types() {
|
|
@@ -782,6 +821,7 @@ class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
782
821
|
code: 'string',
|
|
783
822
|
message: 'string',
|
|
784
823
|
requestId: 'string',
|
|
824
|
+
success: 'boolean',
|
|
785
825
|
};
|
|
786
826
|
}
|
|
787
827
|
constructor(map) {
|
|
@@ -1142,6 +1182,9 @@ class DeleteChatappTemplateRequest extends $tea.Model {
|
|
|
1142
1182
|
custWabaId: 'CustWabaId',
|
|
1143
1183
|
isvCode: 'IsvCode',
|
|
1144
1184
|
language: 'Language',
|
|
1185
|
+
ownerId: 'OwnerId',
|
|
1186
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1187
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1145
1188
|
templateCode: 'TemplateCode',
|
|
1146
1189
|
templateName: 'TemplateName',
|
|
1147
1190
|
templateType: 'TemplateType',
|
|
@@ -1153,6 +1196,9 @@ class DeleteChatappTemplateRequest extends $tea.Model {
|
|
|
1153
1196
|
custWabaId: 'string',
|
|
1154
1197
|
isvCode: 'string',
|
|
1155
1198
|
language: 'string',
|
|
1199
|
+
ownerId: 'number',
|
|
1200
|
+
resourceOwnerAccount: 'string',
|
|
1201
|
+
resourceOwnerId: 'number',
|
|
1156
1202
|
templateCode: 'string',
|
|
1157
1203
|
templateName: 'string',
|
|
1158
1204
|
templateType: 'string',
|
|
@@ -1170,6 +1216,7 @@ class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
1170
1216
|
code: 'Code',
|
|
1171
1217
|
message: 'Message',
|
|
1172
1218
|
requestId: 'RequestId',
|
|
1219
|
+
success: 'Success',
|
|
1173
1220
|
};
|
|
1174
1221
|
}
|
|
1175
1222
|
static types() {
|
|
@@ -1178,6 +1225,7 @@ class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
1178
1225
|
code: 'string',
|
|
1179
1226
|
message: 'string',
|
|
1180
1227
|
requestId: 'string',
|
|
1228
|
+
success: 'boolean',
|
|
1181
1229
|
};
|
|
1182
1230
|
}
|
|
1183
1231
|
constructor(map) {
|
|
@@ -1723,7 +1771,10 @@ class GetChatappVerifyCodeRequest extends $tea.Model {
|
|
|
1723
1771
|
custSpaceId: 'CustSpaceId',
|
|
1724
1772
|
locale: 'Locale',
|
|
1725
1773
|
method: 'Method',
|
|
1774
|
+
ownerId: 'OwnerId',
|
|
1726
1775
|
phoneNumber: 'PhoneNumber',
|
|
1776
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1777
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1727
1778
|
};
|
|
1728
1779
|
}
|
|
1729
1780
|
static types() {
|
|
@@ -1731,7 +1782,10 @@ class GetChatappVerifyCodeRequest extends $tea.Model {
|
|
|
1731
1782
|
custSpaceId: 'string',
|
|
1732
1783
|
locale: 'string',
|
|
1733
1784
|
method: 'string',
|
|
1785
|
+
ownerId: 'number',
|
|
1734
1786
|
phoneNumber: 'string',
|
|
1787
|
+
resourceOwnerAccount: 'string',
|
|
1788
|
+
resourceOwnerId: 'number',
|
|
1735
1789
|
};
|
|
1736
1790
|
}
|
|
1737
1791
|
constructor(map) {
|
|
@@ -1746,6 +1800,7 @@ class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
1746
1800
|
code: 'Code',
|
|
1747
1801
|
message: 'Message',
|
|
1748
1802
|
requestId: 'RequestId',
|
|
1803
|
+
success: 'Success',
|
|
1749
1804
|
};
|
|
1750
1805
|
}
|
|
1751
1806
|
static types() {
|
|
@@ -1754,6 +1809,7 @@ class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
1754
1809
|
code: 'string',
|
|
1755
1810
|
message: 'string',
|
|
1756
1811
|
requestId: 'string',
|
|
1812
|
+
success: 'boolean',
|
|
1757
1813
|
};
|
|
1758
1814
|
}
|
|
1759
1815
|
constructor(map) {
|
|
@@ -1785,13 +1841,19 @@ class GetCommerceSettingRequest extends $tea.Model {
|
|
|
1785
1841
|
static names() {
|
|
1786
1842
|
return {
|
|
1787
1843
|
custSpaceId: 'CustSpaceId',
|
|
1844
|
+
ownerId: 'OwnerId',
|
|
1788
1845
|
phoneNumber: 'PhoneNumber',
|
|
1846
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1847
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1789
1848
|
};
|
|
1790
1849
|
}
|
|
1791
1850
|
static types() {
|
|
1792
1851
|
return {
|
|
1793
1852
|
custSpaceId: 'string',
|
|
1853
|
+
ownerId: 'number',
|
|
1794
1854
|
phoneNumber: 'string',
|
|
1855
|
+
resourceOwnerAccount: 'string',
|
|
1856
|
+
resourceOwnerId: 'number',
|
|
1795
1857
|
};
|
|
1796
1858
|
}
|
|
1797
1859
|
constructor(map) {
|
|
@@ -1802,18 +1864,22 @@ exports.GetCommerceSettingRequest = GetCommerceSettingRequest;
|
|
|
1802
1864
|
class GetCommerceSettingResponseBody extends $tea.Model {
|
|
1803
1865
|
static names() {
|
|
1804
1866
|
return {
|
|
1867
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1805
1868
|
code: 'Code',
|
|
1806
1869
|
data: 'Data',
|
|
1807
1870
|
message: 'Message',
|
|
1808
1871
|
requestId: 'RequestId',
|
|
1872
|
+
success: 'Success',
|
|
1809
1873
|
};
|
|
1810
1874
|
}
|
|
1811
1875
|
static types() {
|
|
1812
1876
|
return {
|
|
1877
|
+
accessDeniedDetail: 'string',
|
|
1813
1878
|
code: 'string',
|
|
1814
1879
|
data: GetCommerceSettingResponseBodyData,
|
|
1815
1880
|
message: 'string',
|
|
1816
1881
|
requestId: 'string',
|
|
1882
|
+
success: 'boolean',
|
|
1817
1883
|
};
|
|
1818
1884
|
}
|
|
1819
1885
|
constructor(map) {
|
|
@@ -1841,6 +1907,76 @@ class GetCommerceSettingResponse extends $tea.Model {
|
|
|
1841
1907
|
}
|
|
1842
1908
|
}
|
|
1843
1909
|
exports.GetCommerceSettingResponse = GetCommerceSettingResponse;
|
|
1910
|
+
class GetConversationalAutomationRequest extends $tea.Model {
|
|
1911
|
+
static names() {
|
|
1912
|
+
return {
|
|
1913
|
+
custSpaceId: 'CustSpaceId',
|
|
1914
|
+
ownerId: 'OwnerId',
|
|
1915
|
+
phoneNumber: 'PhoneNumber',
|
|
1916
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1917
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1918
|
+
};
|
|
1919
|
+
}
|
|
1920
|
+
static types() {
|
|
1921
|
+
return {
|
|
1922
|
+
custSpaceId: 'string',
|
|
1923
|
+
ownerId: 'number',
|
|
1924
|
+
phoneNumber: 'string',
|
|
1925
|
+
resourceOwnerAccount: 'string',
|
|
1926
|
+
resourceOwnerId: 'number',
|
|
1927
|
+
};
|
|
1928
|
+
}
|
|
1929
|
+
constructor(map) {
|
|
1930
|
+
super(map);
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
exports.GetConversationalAutomationRequest = GetConversationalAutomationRequest;
|
|
1934
|
+
class GetConversationalAutomationResponseBody extends $tea.Model {
|
|
1935
|
+
static names() {
|
|
1936
|
+
return {
|
|
1937
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1938
|
+
code: 'Code',
|
|
1939
|
+
data: 'Data',
|
|
1940
|
+
message: 'Message',
|
|
1941
|
+
requestId: 'RequestId',
|
|
1942
|
+
success: 'Success',
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
static types() {
|
|
1946
|
+
return {
|
|
1947
|
+
accessDeniedDetail: 'string',
|
|
1948
|
+
code: 'string',
|
|
1949
|
+
data: GetConversationalAutomationResponseBodyData,
|
|
1950
|
+
message: 'string',
|
|
1951
|
+
requestId: 'string',
|
|
1952
|
+
success: 'boolean',
|
|
1953
|
+
};
|
|
1954
|
+
}
|
|
1955
|
+
constructor(map) {
|
|
1956
|
+
super(map);
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
exports.GetConversationalAutomationResponseBody = GetConversationalAutomationResponseBody;
|
|
1960
|
+
class GetConversationalAutomationResponse extends $tea.Model {
|
|
1961
|
+
static names() {
|
|
1962
|
+
return {
|
|
1963
|
+
headers: 'headers',
|
|
1964
|
+
statusCode: 'statusCode',
|
|
1965
|
+
body: 'body',
|
|
1966
|
+
};
|
|
1967
|
+
}
|
|
1968
|
+
static types() {
|
|
1969
|
+
return {
|
|
1970
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1971
|
+
statusCode: 'number',
|
|
1972
|
+
body: GetConversationalAutomationResponseBody,
|
|
1973
|
+
};
|
|
1974
|
+
}
|
|
1975
|
+
constructor(map) {
|
|
1976
|
+
super(map);
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
exports.GetConversationalAutomationResponse = GetConversationalAutomationResponse;
|
|
1844
1980
|
class GetFlowRequest extends $tea.Model {
|
|
1845
1981
|
static names() {
|
|
1846
1982
|
return {
|
|
@@ -2417,6 +2553,84 @@ class GetWhatsappConnectionCatalogResponse extends $tea.Model {
|
|
|
2417
2553
|
}
|
|
2418
2554
|
}
|
|
2419
2555
|
exports.GetWhatsappConnectionCatalogResponse = GetWhatsappConnectionCatalogResponse;
|
|
2556
|
+
class GetWhatsappHealthStatusRequest extends $tea.Model {
|
|
2557
|
+
static names() {
|
|
2558
|
+
return {
|
|
2559
|
+
custSpaceId: 'CustSpaceId',
|
|
2560
|
+
language: 'Language',
|
|
2561
|
+
nodeType: 'NodeType',
|
|
2562
|
+
ownerId: 'OwnerId',
|
|
2563
|
+
phoneNumber: 'PhoneNumber',
|
|
2564
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2565
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
2566
|
+
templateCode: 'TemplateCode',
|
|
2567
|
+
wabaId: 'WabaId',
|
|
2568
|
+
};
|
|
2569
|
+
}
|
|
2570
|
+
static types() {
|
|
2571
|
+
return {
|
|
2572
|
+
custSpaceId: 'string',
|
|
2573
|
+
language: 'string',
|
|
2574
|
+
nodeType: 'string',
|
|
2575
|
+
ownerId: 'number',
|
|
2576
|
+
phoneNumber: 'string',
|
|
2577
|
+
resourceOwnerAccount: 'string',
|
|
2578
|
+
resourceOwnerId: 'number',
|
|
2579
|
+
templateCode: 'string',
|
|
2580
|
+
wabaId: 'string',
|
|
2581
|
+
};
|
|
2582
|
+
}
|
|
2583
|
+
constructor(map) {
|
|
2584
|
+
super(map);
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
exports.GetWhatsappHealthStatusRequest = GetWhatsappHealthStatusRequest;
|
|
2588
|
+
class GetWhatsappHealthStatusResponseBody extends $tea.Model {
|
|
2589
|
+
static names() {
|
|
2590
|
+
return {
|
|
2591
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2592
|
+
code: 'Code',
|
|
2593
|
+
data: 'Data',
|
|
2594
|
+
message: 'Message',
|
|
2595
|
+
requestId: 'RequestId',
|
|
2596
|
+
success: 'Success',
|
|
2597
|
+
};
|
|
2598
|
+
}
|
|
2599
|
+
static types() {
|
|
2600
|
+
return {
|
|
2601
|
+
accessDeniedDetail: 'string',
|
|
2602
|
+
code: 'string',
|
|
2603
|
+
data: GetWhatsappHealthStatusResponseBodyData,
|
|
2604
|
+
message: 'string',
|
|
2605
|
+
requestId: 'string',
|
|
2606
|
+
success: 'boolean',
|
|
2607
|
+
};
|
|
2608
|
+
}
|
|
2609
|
+
constructor(map) {
|
|
2610
|
+
super(map);
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
exports.GetWhatsappHealthStatusResponseBody = GetWhatsappHealthStatusResponseBody;
|
|
2614
|
+
class GetWhatsappHealthStatusResponse extends $tea.Model {
|
|
2615
|
+
static names() {
|
|
2616
|
+
return {
|
|
2617
|
+
headers: 'headers',
|
|
2618
|
+
statusCode: 'statusCode',
|
|
2619
|
+
body: 'body',
|
|
2620
|
+
};
|
|
2621
|
+
}
|
|
2622
|
+
static types() {
|
|
2623
|
+
return {
|
|
2624
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2625
|
+
statusCode: 'number',
|
|
2626
|
+
body: GetWhatsappHealthStatusResponseBody,
|
|
2627
|
+
};
|
|
2628
|
+
}
|
|
2629
|
+
constructor(map) {
|
|
2630
|
+
super(map);
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
exports.GetWhatsappHealthStatusResponse = GetWhatsappHealthStatusResponse;
|
|
2420
2634
|
class IsvGetAppIdRequest extends $tea.Model {
|
|
2421
2635
|
static names() {
|
|
2422
2636
|
return {
|
|
@@ -3101,8 +3315,11 @@ class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3101
3315
|
custSpaceId: 'CustSpaceId',
|
|
3102
3316
|
description: 'Description',
|
|
3103
3317
|
email: 'Email',
|
|
3318
|
+
ownerId: 'OwnerId',
|
|
3104
3319
|
phoneNumber: 'PhoneNumber',
|
|
3105
3320
|
profilePictureUrl: 'ProfilePictureUrl',
|
|
3321
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3322
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3106
3323
|
vertical: 'Vertical',
|
|
3107
3324
|
websites: 'Websites',
|
|
3108
3325
|
};
|
|
@@ -3114,8 +3331,11 @@ class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3114
3331
|
custSpaceId: 'string',
|
|
3115
3332
|
description: 'string',
|
|
3116
3333
|
email: 'string',
|
|
3334
|
+
ownerId: 'number',
|
|
3117
3335
|
phoneNumber: 'string',
|
|
3118
3336
|
profilePictureUrl: 'string',
|
|
3337
|
+
resourceOwnerAccount: 'string',
|
|
3338
|
+
resourceOwnerId: 'number',
|
|
3119
3339
|
vertical: 'string',
|
|
3120
3340
|
websites: { 'type': 'array', 'itemType': 'string' },
|
|
3121
3341
|
};
|
|
@@ -3133,8 +3353,11 @@ class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
3133
3353
|
custSpaceId: 'CustSpaceId',
|
|
3134
3354
|
description: 'Description',
|
|
3135
3355
|
email: 'Email',
|
|
3356
|
+
ownerId: 'OwnerId',
|
|
3136
3357
|
phoneNumber: 'PhoneNumber',
|
|
3137
3358
|
profilePictureUrl: 'ProfilePictureUrl',
|
|
3359
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3360
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3138
3361
|
vertical: 'Vertical',
|
|
3139
3362
|
websitesShrink: 'Websites',
|
|
3140
3363
|
};
|
|
@@ -3146,8 +3369,11 @@ class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
3146
3369
|
custSpaceId: 'string',
|
|
3147
3370
|
description: 'string',
|
|
3148
3371
|
email: 'string',
|
|
3372
|
+
ownerId: 'number',
|
|
3149
3373
|
phoneNumber: 'string',
|
|
3150
3374
|
profilePictureUrl: 'string',
|
|
3375
|
+
resourceOwnerAccount: 'string',
|
|
3376
|
+
resourceOwnerId: 'number',
|
|
3151
3377
|
vertical: 'string',
|
|
3152
3378
|
websitesShrink: 'string',
|
|
3153
3379
|
};
|
|
@@ -3164,6 +3390,7 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3164
3390
|
code: 'Code',
|
|
3165
3391
|
message: 'Message',
|
|
3166
3392
|
requestId: 'RequestId',
|
|
3393
|
+
success: 'Success',
|
|
3167
3394
|
};
|
|
3168
3395
|
}
|
|
3169
3396
|
static types() {
|
|
@@ -3172,6 +3399,7 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3172
3399
|
code: 'string',
|
|
3173
3400
|
message: 'string',
|
|
3174
3401
|
requestId: 'string',
|
|
3402
|
+
success: 'boolean',
|
|
3175
3403
|
};
|
|
3176
3404
|
}
|
|
3177
3405
|
constructor(map) {
|
|
@@ -3395,13 +3623,19 @@ class QueryPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3395
3623
|
static names() {
|
|
3396
3624
|
return {
|
|
3397
3625
|
custSpaceId: 'CustSpaceId',
|
|
3626
|
+
ownerId: 'OwnerId',
|
|
3398
3627
|
phoneNumber: 'PhoneNumber',
|
|
3628
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3629
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3399
3630
|
};
|
|
3400
3631
|
}
|
|
3401
3632
|
static types() {
|
|
3402
3633
|
return {
|
|
3403
3634
|
custSpaceId: 'string',
|
|
3635
|
+
ownerId: 'number',
|
|
3404
3636
|
phoneNumber: 'string',
|
|
3637
|
+
resourceOwnerAccount: 'string',
|
|
3638
|
+
resourceOwnerId: 'number',
|
|
3405
3639
|
};
|
|
3406
3640
|
}
|
|
3407
3641
|
constructor(map) {
|
|
@@ -3417,6 +3651,7 @@ class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3417
3651
|
data: 'Data',
|
|
3418
3652
|
message: 'Message',
|
|
3419
3653
|
requestId: 'RequestId',
|
|
3654
|
+
success: 'Success',
|
|
3420
3655
|
};
|
|
3421
3656
|
}
|
|
3422
3657
|
static types() {
|
|
@@ -3426,6 +3661,7 @@ class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3426
3661
|
data: QueryPhoneBusinessProfileResponseBodyData,
|
|
3427
3662
|
message: 'string',
|
|
3428
3663
|
requestId: 'string',
|
|
3664
|
+
success: 'boolean',
|
|
3429
3665
|
};
|
|
3430
3666
|
}
|
|
3431
3667
|
constructor(map) {
|
|
@@ -3457,12 +3693,18 @@ class QueryWabaBusinessInfoRequest extends $tea.Model {
|
|
|
3457
3693
|
static names() {
|
|
3458
3694
|
return {
|
|
3459
3695
|
custSpaceId: 'CustSpaceId',
|
|
3696
|
+
ownerId: 'OwnerId',
|
|
3697
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3698
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3460
3699
|
wabaId: 'WabaId',
|
|
3461
3700
|
};
|
|
3462
3701
|
}
|
|
3463
3702
|
static types() {
|
|
3464
3703
|
return {
|
|
3465
3704
|
custSpaceId: 'string',
|
|
3705
|
+
ownerId: 'number',
|
|
3706
|
+
resourceOwnerAccount: 'string',
|
|
3707
|
+
resourceOwnerId: 'number',
|
|
3466
3708
|
wabaId: 'string',
|
|
3467
3709
|
};
|
|
3468
3710
|
}
|
|
@@ -3479,6 +3721,7 @@ class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
3479
3721
|
data: 'Data',
|
|
3480
3722
|
message: 'Message',
|
|
3481
3723
|
requestId: 'RequestId',
|
|
3724
|
+
success: 'Success',
|
|
3482
3725
|
};
|
|
3483
3726
|
}
|
|
3484
3727
|
static types() {
|
|
@@ -3488,6 +3731,7 @@ class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
3488
3731
|
data: QueryWabaBusinessInfoResponseBodyData,
|
|
3489
3732
|
message: 'string',
|
|
3490
3733
|
requestId: 'string',
|
|
3734
|
+
success: 'boolean',
|
|
3491
3735
|
};
|
|
3492
3736
|
}
|
|
3493
3737
|
constructor(map) {
|
|
@@ -3969,7 +4213,10 @@ class UpdateCommerceSettingRequest extends $tea.Model {
|
|
|
3969
4213
|
cartEnable: 'CartEnable',
|
|
3970
4214
|
catalogVisible: 'CatalogVisible',
|
|
3971
4215
|
custSpaceId: 'CustSpaceId',
|
|
4216
|
+
ownerId: 'OwnerId',
|
|
3972
4217
|
phoneNumber: 'PhoneNumber',
|
|
4218
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4219
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3973
4220
|
};
|
|
3974
4221
|
}
|
|
3975
4222
|
static types() {
|
|
@@ -3977,7 +4224,10 @@ class UpdateCommerceSettingRequest extends $tea.Model {
|
|
|
3977
4224
|
cartEnable: 'boolean',
|
|
3978
4225
|
catalogVisible: 'boolean',
|
|
3979
4226
|
custSpaceId: 'string',
|
|
4227
|
+
ownerId: 'number',
|
|
3980
4228
|
phoneNumber: 'string',
|
|
4229
|
+
resourceOwnerAccount: 'string',
|
|
4230
|
+
resourceOwnerId: 'number',
|
|
3981
4231
|
};
|
|
3982
4232
|
}
|
|
3983
4233
|
constructor(map) {
|
|
@@ -3988,16 +4238,20 @@ exports.UpdateCommerceSettingRequest = UpdateCommerceSettingRequest;
|
|
|
3988
4238
|
class UpdateCommerceSettingResponseBody extends $tea.Model {
|
|
3989
4239
|
static names() {
|
|
3990
4240
|
return {
|
|
4241
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3991
4242
|
code: 'Code',
|
|
3992
4243
|
message: 'Message',
|
|
3993
4244
|
requestId: 'RequestId',
|
|
4245
|
+
success: 'Success',
|
|
3994
4246
|
};
|
|
3995
4247
|
}
|
|
3996
4248
|
static types() {
|
|
3997
4249
|
return {
|
|
4250
|
+
accessDeniedDetail: 'string',
|
|
3998
4251
|
code: 'string',
|
|
3999
4252
|
message: 'string',
|
|
4000
4253
|
requestId: 'string',
|
|
4254
|
+
success: 'boolean',
|
|
4001
4255
|
};
|
|
4002
4256
|
}
|
|
4003
4257
|
constructor(map) {
|
|
@@ -4025,34 +4279,138 @@ class UpdateCommerceSettingResponse extends $tea.Model {
|
|
|
4025
4279
|
}
|
|
4026
4280
|
}
|
|
4027
4281
|
exports.UpdateCommerceSettingResponse = UpdateCommerceSettingResponse;
|
|
4028
|
-
class
|
|
4282
|
+
class UpdateConversationalAutomationRequest extends $tea.Model {
|
|
4029
4283
|
static names() {
|
|
4030
4284
|
return {
|
|
4285
|
+
commands: 'Commands',
|
|
4031
4286
|
custSpaceId: 'CustSpaceId',
|
|
4032
|
-
|
|
4033
|
-
|
|
4287
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
4288
|
+
ownerId: 'OwnerId',
|
|
4289
|
+
phoneNumber: 'PhoneNumber',
|
|
4290
|
+
prompts: 'Prompts',
|
|
4291
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4292
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
4034
4293
|
};
|
|
4035
4294
|
}
|
|
4036
4295
|
static types() {
|
|
4037
4296
|
return {
|
|
4297
|
+
commands: { 'type': 'array', 'itemType': UpdateConversationalAutomationRequestCommands },
|
|
4038
4298
|
custSpaceId: 'string',
|
|
4039
|
-
|
|
4040
|
-
|
|
4299
|
+
enableWelcomeMessage: 'boolean',
|
|
4300
|
+
ownerId: 'number',
|
|
4301
|
+
phoneNumber: 'string',
|
|
4302
|
+
prompts: { 'type': 'array', 'itemType': 'string' },
|
|
4303
|
+
resourceOwnerAccount: 'string',
|
|
4304
|
+
resourceOwnerId: 'number',
|
|
4041
4305
|
};
|
|
4042
4306
|
}
|
|
4043
4307
|
constructor(map) {
|
|
4044
4308
|
super(map);
|
|
4045
4309
|
}
|
|
4046
4310
|
}
|
|
4047
|
-
exports.
|
|
4048
|
-
class
|
|
4311
|
+
exports.UpdateConversationalAutomationRequest = UpdateConversationalAutomationRequest;
|
|
4312
|
+
class UpdateConversationalAutomationShrinkRequest extends $tea.Model {
|
|
4049
4313
|
static names() {
|
|
4050
4314
|
return {
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4315
|
+
commandsShrink: 'Commands',
|
|
4316
|
+
custSpaceId: 'CustSpaceId',
|
|
4317
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
4318
|
+
ownerId: 'OwnerId',
|
|
4319
|
+
phoneNumber: 'PhoneNumber',
|
|
4320
|
+
promptsShrink: 'Prompts',
|
|
4321
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4322
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
4323
|
+
};
|
|
4324
|
+
}
|
|
4325
|
+
static types() {
|
|
4326
|
+
return {
|
|
4327
|
+
commandsShrink: 'string',
|
|
4328
|
+
custSpaceId: 'string',
|
|
4329
|
+
enableWelcomeMessage: 'boolean',
|
|
4330
|
+
ownerId: 'number',
|
|
4331
|
+
phoneNumber: 'string',
|
|
4332
|
+
promptsShrink: 'string',
|
|
4333
|
+
resourceOwnerAccount: 'string',
|
|
4334
|
+
resourceOwnerId: 'number',
|
|
4335
|
+
};
|
|
4336
|
+
}
|
|
4337
|
+
constructor(map) {
|
|
4338
|
+
super(map);
|
|
4339
|
+
}
|
|
4340
|
+
}
|
|
4341
|
+
exports.UpdateConversationalAutomationShrinkRequest = UpdateConversationalAutomationShrinkRequest;
|
|
4342
|
+
class UpdateConversationalAutomationResponseBody extends $tea.Model {
|
|
4343
|
+
static names() {
|
|
4344
|
+
return {
|
|
4345
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
4346
|
+
code: 'Code',
|
|
4347
|
+
message: 'Message',
|
|
4348
|
+
requestId: 'RequestId',
|
|
4349
|
+
success: 'Success',
|
|
4350
|
+
};
|
|
4351
|
+
}
|
|
4352
|
+
static types() {
|
|
4353
|
+
return {
|
|
4354
|
+
accessDeniedDetail: 'string',
|
|
4355
|
+
code: 'string',
|
|
4356
|
+
message: 'string',
|
|
4357
|
+
requestId: 'string',
|
|
4358
|
+
success: 'boolean',
|
|
4359
|
+
};
|
|
4360
|
+
}
|
|
4361
|
+
constructor(map) {
|
|
4362
|
+
super(map);
|
|
4363
|
+
}
|
|
4364
|
+
}
|
|
4365
|
+
exports.UpdateConversationalAutomationResponseBody = UpdateConversationalAutomationResponseBody;
|
|
4366
|
+
class UpdateConversationalAutomationResponse extends $tea.Model {
|
|
4367
|
+
static names() {
|
|
4368
|
+
return {
|
|
4369
|
+
headers: 'headers',
|
|
4370
|
+
statusCode: 'statusCode',
|
|
4371
|
+
body: 'body',
|
|
4372
|
+
};
|
|
4373
|
+
}
|
|
4374
|
+
static types() {
|
|
4375
|
+
return {
|
|
4376
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4377
|
+
statusCode: 'number',
|
|
4378
|
+
body: UpdateConversationalAutomationResponseBody,
|
|
4379
|
+
};
|
|
4380
|
+
}
|
|
4381
|
+
constructor(map) {
|
|
4382
|
+
super(map);
|
|
4383
|
+
}
|
|
4384
|
+
}
|
|
4385
|
+
exports.UpdateConversationalAutomationResponse = UpdateConversationalAutomationResponse;
|
|
4386
|
+
class UpdateFlowJSONAssetRequest extends $tea.Model {
|
|
4387
|
+
static names() {
|
|
4388
|
+
return {
|
|
4389
|
+
custSpaceId: 'CustSpaceId',
|
|
4390
|
+
filePath: 'FilePath',
|
|
4391
|
+
flowId: 'FlowId',
|
|
4392
|
+
};
|
|
4393
|
+
}
|
|
4394
|
+
static types() {
|
|
4395
|
+
return {
|
|
4396
|
+
custSpaceId: 'string',
|
|
4397
|
+
filePath: 'string',
|
|
4398
|
+
flowId: 'string',
|
|
4399
|
+
};
|
|
4400
|
+
}
|
|
4401
|
+
constructor(map) {
|
|
4402
|
+
super(map);
|
|
4403
|
+
}
|
|
4404
|
+
}
|
|
4405
|
+
exports.UpdateFlowJSONAssetRequest = UpdateFlowJSONAssetRequest;
|
|
4406
|
+
class UpdateFlowJSONAssetResponseBody extends $tea.Model {
|
|
4407
|
+
static names() {
|
|
4408
|
+
return {
|
|
4409
|
+
code: 'Code',
|
|
4410
|
+
data: 'Data',
|
|
4411
|
+
message: 'Message',
|
|
4412
|
+
requestId: 'RequestId',
|
|
4413
|
+
};
|
|
4056
4414
|
}
|
|
4057
4415
|
static types() {
|
|
4058
4416
|
return {
|
|
@@ -5203,6 +5561,46 @@ class GetCommerceSettingResponseBodyData extends $tea.Model {
|
|
|
5203
5561
|
}
|
|
5204
5562
|
}
|
|
5205
5563
|
exports.GetCommerceSettingResponseBodyData = GetCommerceSettingResponseBodyData;
|
|
5564
|
+
class GetConversationalAutomationResponseBodyDataCommands extends $tea.Model {
|
|
5565
|
+
static names() {
|
|
5566
|
+
return {
|
|
5567
|
+
commandDescription: 'CommandDescription',
|
|
5568
|
+
commandName: 'CommandName',
|
|
5569
|
+
};
|
|
5570
|
+
}
|
|
5571
|
+
static types() {
|
|
5572
|
+
return {
|
|
5573
|
+
commandDescription: 'string',
|
|
5574
|
+
commandName: 'string',
|
|
5575
|
+
};
|
|
5576
|
+
}
|
|
5577
|
+
constructor(map) {
|
|
5578
|
+
super(map);
|
|
5579
|
+
}
|
|
5580
|
+
}
|
|
5581
|
+
exports.GetConversationalAutomationResponseBodyDataCommands = GetConversationalAutomationResponseBodyDataCommands;
|
|
5582
|
+
class GetConversationalAutomationResponseBodyData extends $tea.Model {
|
|
5583
|
+
static names() {
|
|
5584
|
+
return {
|
|
5585
|
+
commands: 'Commands',
|
|
5586
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
5587
|
+
phoneNumber: 'PhoneNumber',
|
|
5588
|
+
prompts: 'Prompts',
|
|
5589
|
+
};
|
|
5590
|
+
}
|
|
5591
|
+
static types() {
|
|
5592
|
+
return {
|
|
5593
|
+
commands: { 'type': 'array', 'itemType': GetConversationalAutomationResponseBodyDataCommands },
|
|
5594
|
+
enableWelcomeMessage: 'boolean',
|
|
5595
|
+
phoneNumber: 'string',
|
|
5596
|
+
prompts: { 'type': 'array', 'itemType': 'string' },
|
|
5597
|
+
};
|
|
5598
|
+
}
|
|
5599
|
+
constructor(map) {
|
|
5600
|
+
super(map);
|
|
5601
|
+
}
|
|
5602
|
+
}
|
|
5603
|
+
exports.GetConversationalAutomationResponseBodyData = GetConversationalAutomationResponseBodyData;
|
|
5206
5604
|
class GetFlowResponseBodyData extends $tea.Model {
|
|
5207
5605
|
static names() {
|
|
5208
5606
|
return {
|
|
@@ -5347,6 +5745,74 @@ class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
|
|
|
5347
5745
|
}
|
|
5348
5746
|
}
|
|
5349
5747
|
exports.GetPreValidatePhoneIdResponseBodyData = GetPreValidatePhoneIdResponseBodyData;
|
|
5748
|
+
class GetWhatsappHealthStatusResponseBodyDataEntitiesErrors extends $tea.Model {
|
|
5749
|
+
static names() {
|
|
5750
|
+
return {
|
|
5751
|
+
errorCode: 'ErrorCode',
|
|
5752
|
+
errorDescription: 'ErrorDescription',
|
|
5753
|
+
possibleSolution: 'PossibleSolution',
|
|
5754
|
+
};
|
|
5755
|
+
}
|
|
5756
|
+
static types() {
|
|
5757
|
+
return {
|
|
5758
|
+
errorCode: 'string',
|
|
5759
|
+
errorDescription: 'string',
|
|
5760
|
+
possibleSolution: 'string',
|
|
5761
|
+
};
|
|
5762
|
+
}
|
|
5763
|
+
constructor(map) {
|
|
5764
|
+
super(map);
|
|
5765
|
+
}
|
|
5766
|
+
}
|
|
5767
|
+
exports.GetWhatsappHealthStatusResponseBodyDataEntitiesErrors = GetWhatsappHealthStatusResponseBodyDataEntitiesErrors;
|
|
5768
|
+
class GetWhatsappHealthStatusResponseBodyDataEntities extends $tea.Model {
|
|
5769
|
+
static names() {
|
|
5770
|
+
return {
|
|
5771
|
+
businessId: 'BusinessId',
|
|
5772
|
+
canSendMessage: 'CanSendMessage',
|
|
5773
|
+
entityType: 'EntityType',
|
|
5774
|
+
errors: 'Errors',
|
|
5775
|
+
language: 'Language',
|
|
5776
|
+
phoneNumber: 'PhoneNumber',
|
|
5777
|
+
templateCode: 'TemplateCode',
|
|
5778
|
+
wabaId: 'WabaId',
|
|
5779
|
+
};
|
|
5780
|
+
}
|
|
5781
|
+
static types() {
|
|
5782
|
+
return {
|
|
5783
|
+
businessId: 'string',
|
|
5784
|
+
canSendMessage: 'string',
|
|
5785
|
+
entityType: 'string',
|
|
5786
|
+
errors: { 'type': 'array', 'itemType': GetWhatsappHealthStatusResponseBodyDataEntitiesErrors },
|
|
5787
|
+
language: 'string',
|
|
5788
|
+
phoneNumber: 'string',
|
|
5789
|
+
templateCode: 'string',
|
|
5790
|
+
wabaId: 'string',
|
|
5791
|
+
};
|
|
5792
|
+
}
|
|
5793
|
+
constructor(map) {
|
|
5794
|
+
super(map);
|
|
5795
|
+
}
|
|
5796
|
+
}
|
|
5797
|
+
exports.GetWhatsappHealthStatusResponseBodyDataEntities = GetWhatsappHealthStatusResponseBodyDataEntities;
|
|
5798
|
+
class GetWhatsappHealthStatusResponseBodyData extends $tea.Model {
|
|
5799
|
+
static names() {
|
|
5800
|
+
return {
|
|
5801
|
+
canSendMessage: 'CanSendMessage',
|
|
5802
|
+
entities: 'Entities',
|
|
5803
|
+
};
|
|
5804
|
+
}
|
|
5805
|
+
static types() {
|
|
5806
|
+
return {
|
|
5807
|
+
canSendMessage: 'string',
|
|
5808
|
+
entities: { 'type': 'array', 'itemType': GetWhatsappHealthStatusResponseBodyDataEntities },
|
|
5809
|
+
};
|
|
5810
|
+
}
|
|
5811
|
+
constructor(map) {
|
|
5812
|
+
super(map);
|
|
5813
|
+
}
|
|
5814
|
+
}
|
|
5815
|
+
exports.GetWhatsappHealthStatusResponseBodyData = GetWhatsappHealthStatusResponseBodyData;
|
|
5350
5816
|
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
5351
5817
|
static names() {
|
|
5352
5818
|
return {
|
|
@@ -5371,6 +5837,7 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
5371
5837
|
auditStatus: 'AuditStatus',
|
|
5372
5838
|
category: 'Category',
|
|
5373
5839
|
language: 'Language',
|
|
5840
|
+
lastUpdateTime: 'LastUpdateTime',
|
|
5374
5841
|
reason: 'Reason',
|
|
5375
5842
|
templateCode: 'TemplateCode',
|
|
5376
5843
|
templateName: 'TemplateName',
|
|
@@ -5382,6 +5849,7 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
5382
5849
|
auditStatus: 'string',
|
|
5383
5850
|
category: 'string',
|
|
5384
5851
|
language: 'string',
|
|
5852
|
+
lastUpdateTime: 'number',
|
|
5385
5853
|
reason: 'string',
|
|
5386
5854
|
templateCode: 'string',
|
|
5387
5855
|
templateName: 'string',
|
|
@@ -6045,6 +6513,24 @@ class SendChatappMessageRequestProductAction extends $tea.Model {
|
|
|
6045
6513
|
}
|
|
6046
6514
|
}
|
|
6047
6515
|
exports.SendChatappMessageRequestProductAction = SendChatappMessageRequestProductAction;
|
|
6516
|
+
class UpdateConversationalAutomationRequestCommands extends $tea.Model {
|
|
6517
|
+
static names() {
|
|
6518
|
+
return {
|
|
6519
|
+
commandDescription: 'CommandDescription',
|
|
6520
|
+
commandName: 'CommandName',
|
|
6521
|
+
};
|
|
6522
|
+
}
|
|
6523
|
+
static types() {
|
|
6524
|
+
return {
|
|
6525
|
+
commandDescription: 'string',
|
|
6526
|
+
commandName: 'string',
|
|
6527
|
+
};
|
|
6528
|
+
}
|
|
6529
|
+
constructor(map) {
|
|
6530
|
+
super(map);
|
|
6531
|
+
}
|
|
6532
|
+
}
|
|
6533
|
+
exports.UpdateConversationalAutomationRequestCommands = UpdateConversationalAutomationRequestCommands;
|
|
6048
6534
|
class UpdateFlowJSONAssetResponseBodyData extends $tea.Model {
|
|
6049
6535
|
static names() {
|
|
6050
6536
|
return {
|
|
@@ -6114,24 +6600,33 @@ class Client extends openapi_client_1.default {
|
|
|
6114
6600
|
*/
|
|
6115
6601
|
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
6116
6602
|
tea_util_1.default.validateModel(request);
|
|
6117
|
-
let
|
|
6603
|
+
let query = {};
|
|
6118
6604
|
if (!tea_util_1.default.isUnset(request.cc)) {
|
|
6119
|
-
|
|
6605
|
+
query["Cc"] = request.cc;
|
|
6120
6606
|
}
|
|
6121
6607
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6122
|
-
|
|
6608
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6609
|
+
}
|
|
6610
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6611
|
+
query["OwnerId"] = request.ownerId;
|
|
6123
6612
|
}
|
|
6124
6613
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6125
|
-
|
|
6614
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6126
6615
|
}
|
|
6127
6616
|
if (!tea_util_1.default.isUnset(request.preValidateId)) {
|
|
6128
|
-
|
|
6617
|
+
query["PreValidateId"] = request.preValidateId;
|
|
6618
|
+
}
|
|
6619
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
6620
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6621
|
+
}
|
|
6622
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
6623
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6129
6624
|
}
|
|
6130
6625
|
if (!tea_util_1.default.isUnset(request.verifiedName)) {
|
|
6131
|
-
|
|
6626
|
+
query["VerifiedName"] = request.verifiedName;
|
|
6132
6627
|
}
|
|
6133
6628
|
let req = new $OpenApi.OpenApiRequest({
|
|
6134
|
-
|
|
6629
|
+
query: openapi_util_1.default.query(query),
|
|
6135
6630
|
});
|
|
6136
6631
|
let params = new $OpenApi.Params({
|
|
6137
6632
|
action: "AddChatappPhoneNumber",
|
|
@@ -6316,12 +6811,21 @@ class Client extends openapi_client_1.default {
|
|
|
6316
6811
|
*/
|
|
6317
6812
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
6318
6813
|
tea_util_1.default.validateModel(request);
|
|
6319
|
-
let
|
|
6814
|
+
let query = {};
|
|
6815
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6816
|
+
query["OwnerId"] = request.ownerId;
|
|
6817
|
+
}
|
|
6818
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
6819
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6820
|
+
}
|
|
6821
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
6822
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6823
|
+
}
|
|
6320
6824
|
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
6321
|
-
|
|
6825
|
+
query["WabaId"] = request.wabaId;
|
|
6322
6826
|
}
|
|
6323
6827
|
let req = new $OpenApi.OpenApiRequest({
|
|
6324
|
-
|
|
6828
|
+
query: openapi_util_1.default.query(query),
|
|
6325
6829
|
});
|
|
6326
6830
|
let params = new $OpenApi.Params({
|
|
6327
6831
|
action: "ChatappBindWaba",
|
|
@@ -6543,15 +7047,24 @@ class Client extends openapi_client_1.default {
|
|
|
6543
7047
|
*/
|
|
6544
7048
|
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
6545
7049
|
tea_util_1.default.validateModel(request);
|
|
6546
|
-
let
|
|
7050
|
+
let query = {};
|
|
6547
7051
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6548
|
-
|
|
7052
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7053
|
+
}
|
|
7054
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7055
|
+
query["OwnerId"] = request.ownerId;
|
|
6549
7056
|
}
|
|
6550
7057
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6551
|
-
|
|
7058
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7059
|
+
}
|
|
7060
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
7061
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7062
|
+
}
|
|
7063
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
7064
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6552
7065
|
}
|
|
6553
7066
|
let req = new $OpenApi.OpenApiRequest({
|
|
6554
|
-
|
|
7067
|
+
query: openapi_util_1.default.query(query),
|
|
6555
7068
|
});
|
|
6556
7069
|
let params = new $OpenApi.Params({
|
|
6557
7070
|
action: "ChatappPhoneNumberRegister",
|
|
@@ -6593,6 +7106,15 @@ class Client extends openapi_client_1.default {
|
|
|
6593
7106
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6594
7107
|
query["CustSpaceId"] = request.custSpaceId;
|
|
6595
7108
|
}
|
|
7109
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7110
|
+
query["OwnerId"] = request.ownerId;
|
|
7111
|
+
}
|
|
7112
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
7113
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7114
|
+
}
|
|
7115
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
7116
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
7117
|
+
}
|
|
6596
7118
|
let req = new $OpenApi.OpenApiRequest({
|
|
6597
7119
|
query: openapi_util_1.default.query(query),
|
|
6598
7120
|
});
|
|
@@ -6632,18 +7154,27 @@ class Client extends openapi_client_1.default {
|
|
|
6632
7154
|
*/
|
|
6633
7155
|
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
6634
7156
|
tea_util_1.default.validateModel(request);
|
|
6635
|
-
let
|
|
7157
|
+
let query = {};
|
|
6636
7158
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6637
|
-
|
|
7159
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7160
|
+
}
|
|
7161
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7162
|
+
query["OwnerId"] = request.ownerId;
|
|
6638
7163
|
}
|
|
6639
7164
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6640
|
-
|
|
7165
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7166
|
+
}
|
|
7167
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
7168
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7169
|
+
}
|
|
7170
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
7171
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6641
7172
|
}
|
|
6642
7173
|
if (!tea_util_1.default.isUnset(request.verifyCode)) {
|
|
6643
|
-
|
|
7174
|
+
query["VerifyCode"] = request.verifyCode;
|
|
6644
7175
|
}
|
|
6645
7176
|
let req = new $OpenApi.OpenApiRequest({
|
|
6646
|
-
|
|
7177
|
+
query: openapi_util_1.default.query(query),
|
|
6647
7178
|
});
|
|
6648
7179
|
let params = new $OpenApi.Params({
|
|
6649
7180
|
action: "ChatappVerifyAndRegister",
|
|
@@ -6931,6 +7462,15 @@ class Client extends openapi_client_1.default {
|
|
|
6931
7462
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
6932
7463
|
query["Language"] = request.language;
|
|
6933
7464
|
}
|
|
7465
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7466
|
+
query["OwnerId"] = request.ownerId;
|
|
7467
|
+
}
|
|
7468
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
7469
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7470
|
+
}
|
|
7471
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
7472
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
7473
|
+
}
|
|
6934
7474
|
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
6935
7475
|
query["TemplateCode"] = request.templateCode;
|
|
6936
7476
|
}
|
|
@@ -7387,21 +7927,30 @@ class Client extends openapi_client_1.default {
|
|
|
7387
7927
|
*/
|
|
7388
7928
|
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
7389
7929
|
tea_util_1.default.validateModel(request);
|
|
7390
|
-
let
|
|
7930
|
+
let query = {};
|
|
7391
7931
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7392
|
-
|
|
7932
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7393
7933
|
}
|
|
7394
7934
|
if (!tea_util_1.default.isUnset(request.locale)) {
|
|
7395
|
-
|
|
7935
|
+
query["Locale"] = request.locale;
|
|
7396
7936
|
}
|
|
7397
7937
|
if (!tea_util_1.default.isUnset(request.method)) {
|
|
7398
|
-
|
|
7938
|
+
query["Method"] = request.method;
|
|
7939
|
+
}
|
|
7940
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7941
|
+
query["OwnerId"] = request.ownerId;
|
|
7399
7942
|
}
|
|
7400
7943
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7401
|
-
|
|
7944
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7945
|
+
}
|
|
7946
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
7947
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7948
|
+
}
|
|
7949
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
7950
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
7402
7951
|
}
|
|
7403
7952
|
let req = new $OpenApi.OpenApiRequest({
|
|
7404
|
-
|
|
7953
|
+
query: openapi_util_1.default.query(query),
|
|
7405
7954
|
});
|
|
7406
7955
|
let params = new $OpenApi.Params({
|
|
7407
7956
|
action: "GetChatappVerifyCode",
|
|
@@ -7443,9 +7992,18 @@ class Client extends openapi_client_1.default {
|
|
|
7443
7992
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7444
7993
|
query["CustSpaceId"] = request.custSpaceId;
|
|
7445
7994
|
}
|
|
7995
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7996
|
+
query["OwnerId"] = request.ownerId;
|
|
7997
|
+
}
|
|
7446
7998
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7447
7999
|
query["PhoneNumber"] = request.phoneNumber;
|
|
7448
8000
|
}
|
|
8001
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8002
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8003
|
+
}
|
|
8004
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8005
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8006
|
+
}
|
|
7449
8007
|
let req = new $OpenApi.OpenApiRequest({
|
|
7450
8008
|
query: openapi_util_1.default.query(query),
|
|
7451
8009
|
});
|
|
@@ -7474,6 +8032,57 @@ class Client extends openapi_client_1.default {
|
|
|
7474
8032
|
let runtime = new $Util.RuntimeOptions({});
|
|
7475
8033
|
return await this.getCommerceSettingWithOptions(request, runtime);
|
|
7476
8034
|
}
|
|
8035
|
+
/**
|
|
8036
|
+
* @summary 获取号码欢迎消息设置信息
|
|
8037
|
+
*
|
|
8038
|
+
* @param request GetConversationalAutomationRequest
|
|
8039
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8040
|
+
* @return GetConversationalAutomationResponse
|
|
8041
|
+
*/
|
|
8042
|
+
async getConversationalAutomationWithOptions(request, runtime) {
|
|
8043
|
+
tea_util_1.default.validateModel(request);
|
|
8044
|
+
let query = {};
|
|
8045
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8046
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8047
|
+
}
|
|
8048
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8049
|
+
query["OwnerId"] = request.ownerId;
|
|
8050
|
+
}
|
|
8051
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8052
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
8053
|
+
}
|
|
8054
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8055
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8056
|
+
}
|
|
8057
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8058
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8059
|
+
}
|
|
8060
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8061
|
+
query: openapi_util_1.default.query(query),
|
|
8062
|
+
});
|
|
8063
|
+
let params = new $OpenApi.Params({
|
|
8064
|
+
action: "GetConversationalAutomation",
|
|
8065
|
+
version: "2020-06-06",
|
|
8066
|
+
protocol: "HTTPS",
|
|
8067
|
+
pathname: "/",
|
|
8068
|
+
method: "POST",
|
|
8069
|
+
authType: "AK",
|
|
8070
|
+
style: "RPC",
|
|
8071
|
+
reqBodyType: "formData",
|
|
8072
|
+
bodyType: "json",
|
|
8073
|
+
});
|
|
8074
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetConversationalAutomationResponse({}));
|
|
8075
|
+
}
|
|
8076
|
+
/**
|
|
8077
|
+
* @summary 获取号码欢迎消息设置信息
|
|
8078
|
+
*
|
|
8079
|
+
* @param request GetConversationalAutomationRequest
|
|
8080
|
+
* @return GetConversationalAutomationResponse
|
|
8081
|
+
*/
|
|
8082
|
+
async getConversationalAutomation(request) {
|
|
8083
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8084
|
+
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
8085
|
+
}
|
|
7477
8086
|
/**
|
|
7478
8087
|
* @summary Queries the information about a Flow.
|
|
7479
8088
|
*
|
|
@@ -7899,6 +8508,69 @@ class Client extends openapi_client_1.default {
|
|
|
7899
8508
|
let runtime = new $Util.RuntimeOptions({});
|
|
7900
8509
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
7901
8510
|
}
|
|
8511
|
+
/**
|
|
8512
|
+
* @summary 获取whatsapp节点信息发送消息健康度
|
|
8513
|
+
*
|
|
8514
|
+
* @param request GetWhatsappHealthStatusRequest
|
|
8515
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8516
|
+
* @return GetWhatsappHealthStatusResponse
|
|
8517
|
+
*/
|
|
8518
|
+
async getWhatsappHealthStatusWithOptions(request, runtime) {
|
|
8519
|
+
tea_util_1.default.validateModel(request);
|
|
8520
|
+
let query = {};
|
|
8521
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8522
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8523
|
+
}
|
|
8524
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
8525
|
+
query["Language"] = request.language;
|
|
8526
|
+
}
|
|
8527
|
+
if (!tea_util_1.default.isUnset(request.nodeType)) {
|
|
8528
|
+
query["NodeType"] = request.nodeType;
|
|
8529
|
+
}
|
|
8530
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8531
|
+
query["OwnerId"] = request.ownerId;
|
|
8532
|
+
}
|
|
8533
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8534
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
8535
|
+
}
|
|
8536
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8537
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8538
|
+
}
|
|
8539
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8540
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8541
|
+
}
|
|
8542
|
+
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
8543
|
+
query["TemplateCode"] = request.templateCode;
|
|
8544
|
+
}
|
|
8545
|
+
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
8546
|
+
query["WabaId"] = request.wabaId;
|
|
8547
|
+
}
|
|
8548
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8549
|
+
query: openapi_util_1.default.query(query),
|
|
8550
|
+
});
|
|
8551
|
+
let params = new $OpenApi.Params({
|
|
8552
|
+
action: "GetWhatsappHealthStatus",
|
|
8553
|
+
version: "2020-06-06",
|
|
8554
|
+
protocol: "HTTPS",
|
|
8555
|
+
pathname: "/",
|
|
8556
|
+
method: "POST",
|
|
8557
|
+
authType: "AK",
|
|
8558
|
+
style: "RPC",
|
|
8559
|
+
reqBodyType: "formData",
|
|
8560
|
+
bodyType: "json",
|
|
8561
|
+
});
|
|
8562
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappHealthStatusResponse({}));
|
|
8563
|
+
}
|
|
8564
|
+
/**
|
|
8565
|
+
* @summary 获取whatsapp节点信息发送消息健康度
|
|
8566
|
+
*
|
|
8567
|
+
* @param request GetWhatsappHealthStatusRequest
|
|
8568
|
+
* @return GetWhatsappHealthStatusResponse
|
|
8569
|
+
*/
|
|
8570
|
+
async getWhatsappHealthStatus(request) {
|
|
8571
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8572
|
+
return await this.getWhatsappHealthStatusWithOptions(request, runtime);
|
|
8573
|
+
}
|
|
7902
8574
|
/**
|
|
7903
8575
|
* @summary Obtains the application ID under the ISV account.
|
|
7904
8576
|
*
|
|
@@ -8422,12 +9094,21 @@ class Client extends openapi_client_1.default {
|
|
|
8422
9094
|
if (!tea_util_1.default.isUnset(request.email)) {
|
|
8423
9095
|
query["Email"] = request.email;
|
|
8424
9096
|
}
|
|
9097
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
9098
|
+
query["OwnerId"] = request.ownerId;
|
|
9099
|
+
}
|
|
8425
9100
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8426
9101
|
query["PhoneNumber"] = request.phoneNumber;
|
|
8427
9102
|
}
|
|
8428
9103
|
if (!tea_util_1.default.isUnset(request.profilePictureUrl)) {
|
|
8429
9104
|
query["ProfilePictureUrl"] = request.profilePictureUrl;
|
|
8430
9105
|
}
|
|
9106
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
9107
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9108
|
+
}
|
|
9109
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
9110
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9111
|
+
}
|
|
8431
9112
|
if (!tea_util_1.default.isUnset(request.vertical)) {
|
|
8432
9113
|
query["Vertical"] = request.vertical;
|
|
8433
9114
|
}
|
|
@@ -8627,9 +9308,18 @@ class Client extends openapi_client_1.default {
|
|
|
8627
9308
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8628
9309
|
query["CustSpaceId"] = request.custSpaceId;
|
|
8629
9310
|
}
|
|
9311
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
9312
|
+
query["OwnerId"] = request.ownerId;
|
|
9313
|
+
}
|
|
8630
9314
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8631
9315
|
query["PhoneNumber"] = request.phoneNumber;
|
|
8632
9316
|
}
|
|
9317
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
9318
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9319
|
+
}
|
|
9320
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
9321
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9322
|
+
}
|
|
8633
9323
|
let req = new $OpenApi.OpenApiRequest({
|
|
8634
9324
|
query: openapi_util_1.default.query(query),
|
|
8635
9325
|
});
|
|
@@ -8673,6 +9363,15 @@ class Client extends openapi_client_1.default {
|
|
|
8673
9363
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8674
9364
|
query["CustSpaceId"] = request.custSpaceId;
|
|
8675
9365
|
}
|
|
9366
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
9367
|
+
query["OwnerId"] = request.ownerId;
|
|
9368
|
+
}
|
|
9369
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
9370
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9371
|
+
}
|
|
9372
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
9373
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9374
|
+
}
|
|
8676
9375
|
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
8677
9376
|
query["WabaId"] = request.wabaId;
|
|
8678
9377
|
}
|
|
@@ -9070,9 +9769,18 @@ class Client extends openapi_client_1.default {
|
|
|
9070
9769
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
9071
9770
|
query["CustSpaceId"] = request.custSpaceId;
|
|
9072
9771
|
}
|
|
9772
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
9773
|
+
query["OwnerId"] = request.ownerId;
|
|
9774
|
+
}
|
|
9073
9775
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
9074
9776
|
query["PhoneNumber"] = request.phoneNumber;
|
|
9075
9777
|
}
|
|
9778
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
9779
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9780
|
+
}
|
|
9781
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
9782
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9783
|
+
}
|
|
9076
9784
|
let req = new $OpenApi.OpenApiRequest({
|
|
9077
9785
|
query: openapi_util_1.default.query(query),
|
|
9078
9786
|
});
|
|
@@ -9101,6 +9809,74 @@ class Client extends openapi_client_1.default {
|
|
|
9101
9809
|
let runtime = new $Util.RuntimeOptions({});
|
|
9102
9810
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
9103
9811
|
}
|
|
9812
|
+
/**
|
|
9813
|
+
* @summary 更新号码欢迎消息、命令等属性
|
|
9814
|
+
*
|
|
9815
|
+
* @param tmpReq UpdateConversationalAutomationRequest
|
|
9816
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9817
|
+
* @return UpdateConversationalAutomationResponse
|
|
9818
|
+
*/
|
|
9819
|
+
async updateConversationalAutomationWithOptions(tmpReq, runtime) {
|
|
9820
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
9821
|
+
let request = new UpdateConversationalAutomationShrinkRequest({});
|
|
9822
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
9823
|
+
if (!tea_util_1.default.isUnset(tmpReq.commands)) {
|
|
9824
|
+
request.commandsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.commands, "Commands", "json");
|
|
9825
|
+
}
|
|
9826
|
+
if (!tea_util_1.default.isUnset(tmpReq.prompts)) {
|
|
9827
|
+
request.promptsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.prompts, "Prompts", "json");
|
|
9828
|
+
}
|
|
9829
|
+
let query = {};
|
|
9830
|
+
if (!tea_util_1.default.isUnset(request.commandsShrink)) {
|
|
9831
|
+
query["Commands"] = request.commandsShrink;
|
|
9832
|
+
}
|
|
9833
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
9834
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
9835
|
+
}
|
|
9836
|
+
if (!tea_util_1.default.isUnset(request.enableWelcomeMessage)) {
|
|
9837
|
+
query["EnableWelcomeMessage"] = request.enableWelcomeMessage;
|
|
9838
|
+
}
|
|
9839
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
9840
|
+
query["OwnerId"] = request.ownerId;
|
|
9841
|
+
}
|
|
9842
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
9843
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
9844
|
+
}
|
|
9845
|
+
if (!tea_util_1.default.isUnset(request.promptsShrink)) {
|
|
9846
|
+
query["Prompts"] = request.promptsShrink;
|
|
9847
|
+
}
|
|
9848
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
9849
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9850
|
+
}
|
|
9851
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
9852
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9853
|
+
}
|
|
9854
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9855
|
+
query: openapi_util_1.default.query(query),
|
|
9856
|
+
});
|
|
9857
|
+
let params = new $OpenApi.Params({
|
|
9858
|
+
action: "UpdateConversationalAutomation",
|
|
9859
|
+
version: "2020-06-06",
|
|
9860
|
+
protocol: "HTTPS",
|
|
9861
|
+
pathname: "/",
|
|
9862
|
+
method: "POST",
|
|
9863
|
+
authType: "AK",
|
|
9864
|
+
style: "RPC",
|
|
9865
|
+
reqBodyType: "formData",
|
|
9866
|
+
bodyType: "json",
|
|
9867
|
+
});
|
|
9868
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateConversationalAutomationResponse({}));
|
|
9869
|
+
}
|
|
9870
|
+
/**
|
|
9871
|
+
* @summary 更新号码欢迎消息、命令等属性
|
|
9872
|
+
*
|
|
9873
|
+
* @param request UpdateConversationalAutomationRequest
|
|
9874
|
+
* @return UpdateConversationalAutomationResponse
|
|
9875
|
+
*/
|
|
9876
|
+
async updateConversationalAutomation(request) {
|
|
9877
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9878
|
+
return await this.updateConversationalAutomationWithOptions(request, runtime);
|
|
9879
|
+
}
|
|
9104
9880
|
/**
|
|
9105
9881
|
* @summary 更新flow的表单内容
|
|
9106
9882
|
*
|