@alicloud/cams20200606 1.4.3 → 1.4.5
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 +96 -0
- package/dist/client.js +303 -27
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +406 -25
package/dist/client.js
CHANGED
|
@@ -30,8 +30,8 @@ exports.DeleteChatappTemplateRequest = exports.CreatePhoneMessageQrdlResponse =
|
|
|
30
30
|
exports.GetPhoneEncryptionPublicKeyResponseBody = exports.GetPhoneEncryptionPublicKeyRequest = exports.GetPermissionByCodeResponse = 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.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
31
|
exports.QueryChatappPhoneNumbersResponseBody = exports.QueryChatappPhoneNumbersRequest = exports.QueryChatappBindWabaResponse = exports.QueryChatappBindWabaResponseBody = exports.QueryChatappBindWabaRequest = exports.PublishFlowResponse = 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.GetWhatsappConnectionCatalogResponse = exports.GetWhatsappConnectionCatalogResponseBody = exports.GetWhatsappConnectionCatalogRequest = exports.GetPreValidatePhoneIdResponse = exports.GetPreValidatePhoneIdResponseBody = exports.GetPreValidatePhoneIdRequest = exports.GetPhoneNumberVerificationStatusResponse = exports.GetPhoneNumberVerificationStatusResponseBody = exports.GetPhoneNumberVerificationStatusRequest = exports.GetPhoneEncryptionPublicKeyResponse = void 0;
|
|
32
32
|
exports.CreateChatappMigrationInitiateResponseBodyData = exports.ChatappSyncPhoneNumberResponseBodyPhoneNumbers = exports.ChatappMigrationVerifiedResponseBodyData = exports.ChatappEmbedSignUpResponseBodyWabas = exports.ChatappBindWabaResponseBodyData = exports.BeeBotChatResponseBodyData = exports.BeeBotChatResponseBodyDataMessages = exports.BeeBotChatResponseBodyDataMessagesText = exports.BeeBotChatResponseBodyDataMessagesTextSlots = exports.BeeBotChatResponseBodyDataMessagesRecommends = 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.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 = void 0;
|
|
33
|
-
exports.
|
|
34
|
-
exports.UpdatePhoneMessageQrdlResponseBodyData = exports.UpdateFlowJSONAssetResponseBodyData = exports.SendChatappMessageRequestProductAction = exports.SendChatappMessageRequestProductActionSections = exports.SendChatappMessageRequestProductActionSectionsProductItems = exports.SendChatappMessageRequestFlowAction = exports.SendChatappMassMessageRequestSenderList = exports.SendChatappMassMessageRequestSenderListProductAction = exports.SendChatappMassMessageRequestSenderListProductActionSections = exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = void 0;
|
|
33
|
+
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 = exports.ListProductResponseBodyModelPagingCursors = exports.ListPhoneMessageQrdlResponseBodyData = exports.ListFlowResponseBodyData = exports.ListFlowRequestPage = exports.ListChatappTemplateResponseBodyListTemplate = exports.ListChatappTemplateRequestPage = exports.GetPreValidatePhoneIdResponseBodyData = exports.GetPhoneNumberVerificationStatusResponseBodyData = exports.GetPhoneEncryptionPublicKeyResponseBodyData = exports.GetMigrationVerifyCodeResponseBodyData = exports.GetFlowPreviewUrlResponseBodyData = exports.GetFlowJSONAssestResponseBodyData = exports.GetFlowResponseBodyData = 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 = void 0;
|
|
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;
|
|
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) {
|
|
@@ -3101,8 +3167,11 @@ class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3101
3167
|
custSpaceId: 'CustSpaceId',
|
|
3102
3168
|
description: 'Description',
|
|
3103
3169
|
email: 'Email',
|
|
3170
|
+
ownerId: 'OwnerId',
|
|
3104
3171
|
phoneNumber: 'PhoneNumber',
|
|
3105
3172
|
profilePictureUrl: 'ProfilePictureUrl',
|
|
3173
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3174
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3106
3175
|
vertical: 'Vertical',
|
|
3107
3176
|
websites: 'Websites',
|
|
3108
3177
|
};
|
|
@@ -3114,8 +3183,11 @@ class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3114
3183
|
custSpaceId: 'string',
|
|
3115
3184
|
description: 'string',
|
|
3116
3185
|
email: 'string',
|
|
3186
|
+
ownerId: 'number',
|
|
3117
3187
|
phoneNumber: 'string',
|
|
3118
3188
|
profilePictureUrl: 'string',
|
|
3189
|
+
resourceOwnerAccount: 'string',
|
|
3190
|
+
resourceOwnerId: 'number',
|
|
3119
3191
|
vertical: 'string',
|
|
3120
3192
|
websites: { 'type': 'array', 'itemType': 'string' },
|
|
3121
3193
|
};
|
|
@@ -3133,8 +3205,11 @@ class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
3133
3205
|
custSpaceId: 'CustSpaceId',
|
|
3134
3206
|
description: 'Description',
|
|
3135
3207
|
email: 'Email',
|
|
3208
|
+
ownerId: 'OwnerId',
|
|
3136
3209
|
phoneNumber: 'PhoneNumber',
|
|
3137
3210
|
profilePictureUrl: 'ProfilePictureUrl',
|
|
3211
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3212
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3138
3213
|
vertical: 'Vertical',
|
|
3139
3214
|
websitesShrink: 'Websites',
|
|
3140
3215
|
};
|
|
@@ -3146,8 +3221,11 @@ class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
3146
3221
|
custSpaceId: 'string',
|
|
3147
3222
|
description: 'string',
|
|
3148
3223
|
email: 'string',
|
|
3224
|
+
ownerId: 'number',
|
|
3149
3225
|
phoneNumber: 'string',
|
|
3150
3226
|
profilePictureUrl: 'string',
|
|
3227
|
+
resourceOwnerAccount: 'string',
|
|
3228
|
+
resourceOwnerId: 'number',
|
|
3151
3229
|
vertical: 'string',
|
|
3152
3230
|
websitesShrink: 'string',
|
|
3153
3231
|
};
|
|
@@ -3164,6 +3242,7 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3164
3242
|
code: 'Code',
|
|
3165
3243
|
message: 'Message',
|
|
3166
3244
|
requestId: 'RequestId',
|
|
3245
|
+
success: 'Success',
|
|
3167
3246
|
};
|
|
3168
3247
|
}
|
|
3169
3248
|
static types() {
|
|
@@ -3172,6 +3251,7 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3172
3251
|
code: 'string',
|
|
3173
3252
|
message: 'string',
|
|
3174
3253
|
requestId: 'string',
|
|
3254
|
+
success: 'boolean',
|
|
3175
3255
|
};
|
|
3176
3256
|
}
|
|
3177
3257
|
constructor(map) {
|
|
@@ -3395,13 +3475,19 @@ class QueryPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
3395
3475
|
static names() {
|
|
3396
3476
|
return {
|
|
3397
3477
|
custSpaceId: 'CustSpaceId',
|
|
3478
|
+
ownerId: 'OwnerId',
|
|
3398
3479
|
phoneNumber: 'PhoneNumber',
|
|
3480
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3481
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3399
3482
|
};
|
|
3400
3483
|
}
|
|
3401
3484
|
static types() {
|
|
3402
3485
|
return {
|
|
3403
3486
|
custSpaceId: 'string',
|
|
3487
|
+
ownerId: 'number',
|
|
3404
3488
|
phoneNumber: 'string',
|
|
3489
|
+
resourceOwnerAccount: 'string',
|
|
3490
|
+
resourceOwnerId: 'number',
|
|
3405
3491
|
};
|
|
3406
3492
|
}
|
|
3407
3493
|
constructor(map) {
|
|
@@ -3417,6 +3503,7 @@ class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3417
3503
|
data: 'Data',
|
|
3418
3504
|
message: 'Message',
|
|
3419
3505
|
requestId: 'RequestId',
|
|
3506
|
+
success: 'Success',
|
|
3420
3507
|
};
|
|
3421
3508
|
}
|
|
3422
3509
|
static types() {
|
|
@@ -3426,6 +3513,7 @@ class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
3426
3513
|
data: QueryPhoneBusinessProfileResponseBodyData,
|
|
3427
3514
|
message: 'string',
|
|
3428
3515
|
requestId: 'string',
|
|
3516
|
+
success: 'boolean',
|
|
3429
3517
|
};
|
|
3430
3518
|
}
|
|
3431
3519
|
constructor(map) {
|
|
@@ -3457,12 +3545,18 @@ class QueryWabaBusinessInfoRequest extends $tea.Model {
|
|
|
3457
3545
|
static names() {
|
|
3458
3546
|
return {
|
|
3459
3547
|
custSpaceId: 'CustSpaceId',
|
|
3548
|
+
ownerId: 'OwnerId',
|
|
3549
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3550
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3460
3551
|
wabaId: 'WabaId',
|
|
3461
3552
|
};
|
|
3462
3553
|
}
|
|
3463
3554
|
static types() {
|
|
3464
3555
|
return {
|
|
3465
3556
|
custSpaceId: 'string',
|
|
3557
|
+
ownerId: 'number',
|
|
3558
|
+
resourceOwnerAccount: 'string',
|
|
3559
|
+
resourceOwnerId: 'number',
|
|
3466
3560
|
wabaId: 'string',
|
|
3467
3561
|
};
|
|
3468
3562
|
}
|
|
@@ -3479,6 +3573,7 @@ class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
3479
3573
|
data: 'Data',
|
|
3480
3574
|
message: 'Message',
|
|
3481
3575
|
requestId: 'RequestId',
|
|
3576
|
+
success: 'Success',
|
|
3482
3577
|
};
|
|
3483
3578
|
}
|
|
3484
3579
|
static types() {
|
|
@@ -3488,6 +3583,7 @@ class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
3488
3583
|
data: QueryWabaBusinessInfoResponseBodyData,
|
|
3489
3584
|
message: 'string',
|
|
3490
3585
|
requestId: 'string',
|
|
3586
|
+
success: 'boolean',
|
|
3491
3587
|
};
|
|
3492
3588
|
}
|
|
3493
3589
|
constructor(map) {
|
|
@@ -3969,7 +4065,10 @@ class UpdateCommerceSettingRequest extends $tea.Model {
|
|
|
3969
4065
|
cartEnable: 'CartEnable',
|
|
3970
4066
|
catalogVisible: 'CatalogVisible',
|
|
3971
4067
|
custSpaceId: 'CustSpaceId',
|
|
4068
|
+
ownerId: 'OwnerId',
|
|
3972
4069
|
phoneNumber: 'PhoneNumber',
|
|
4070
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4071
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3973
4072
|
};
|
|
3974
4073
|
}
|
|
3975
4074
|
static types() {
|
|
@@ -3977,7 +4076,10 @@ class UpdateCommerceSettingRequest extends $tea.Model {
|
|
|
3977
4076
|
cartEnable: 'boolean',
|
|
3978
4077
|
catalogVisible: 'boolean',
|
|
3979
4078
|
custSpaceId: 'string',
|
|
4079
|
+
ownerId: 'number',
|
|
3980
4080
|
phoneNumber: 'string',
|
|
4081
|
+
resourceOwnerAccount: 'string',
|
|
4082
|
+
resourceOwnerId: 'number',
|
|
3981
4083
|
};
|
|
3982
4084
|
}
|
|
3983
4085
|
constructor(map) {
|
|
@@ -3988,16 +4090,20 @@ exports.UpdateCommerceSettingRequest = UpdateCommerceSettingRequest;
|
|
|
3988
4090
|
class UpdateCommerceSettingResponseBody extends $tea.Model {
|
|
3989
4091
|
static names() {
|
|
3990
4092
|
return {
|
|
4093
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3991
4094
|
code: 'Code',
|
|
3992
4095
|
message: 'Message',
|
|
3993
4096
|
requestId: 'RequestId',
|
|
4097
|
+
success: 'Success',
|
|
3994
4098
|
};
|
|
3995
4099
|
}
|
|
3996
4100
|
static types() {
|
|
3997
4101
|
return {
|
|
4102
|
+
accessDeniedDetail: 'string',
|
|
3998
4103
|
code: 'string',
|
|
3999
4104
|
message: 'string',
|
|
4000
4105
|
requestId: 'string',
|
|
4106
|
+
success: 'boolean',
|
|
4001
4107
|
};
|
|
4002
4108
|
}
|
|
4003
4109
|
constructor(map) {
|
|
@@ -4613,6 +4719,24 @@ class CreateChatappMigrationInitiateResponseBodyData extends $tea.Model {
|
|
|
4613
4719
|
}
|
|
4614
4720
|
}
|
|
4615
4721
|
exports.CreateChatappMigrationInitiateResponseBodyData = CreateChatappMigrationInitiateResponseBodyData;
|
|
4722
|
+
class CreateChatappTemplateRequestComponentsButtonsSupportedApps extends $tea.Model {
|
|
4723
|
+
static names() {
|
|
4724
|
+
return {
|
|
4725
|
+
packageName: 'PackageName',
|
|
4726
|
+
signatureHash: 'SignatureHash',
|
|
4727
|
+
};
|
|
4728
|
+
}
|
|
4729
|
+
static types() {
|
|
4730
|
+
return {
|
|
4731
|
+
packageName: 'string',
|
|
4732
|
+
signatureHash: 'string',
|
|
4733
|
+
};
|
|
4734
|
+
}
|
|
4735
|
+
constructor(map) {
|
|
4736
|
+
super(map);
|
|
4737
|
+
}
|
|
4738
|
+
}
|
|
4739
|
+
exports.CreateChatappTemplateRequestComponentsButtonsSupportedApps = CreateChatappTemplateRequestComponentsButtonsSupportedApps;
|
|
4616
4740
|
class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
4617
4741
|
static names() {
|
|
4618
4742
|
return {
|
|
@@ -4625,6 +4749,7 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
4625
4749
|
packageName: 'PackageName',
|
|
4626
4750
|
phoneNumber: 'PhoneNumber',
|
|
4627
4751
|
signatureHash: 'SignatureHash',
|
|
4752
|
+
supportedApps: 'SupportedApps',
|
|
4628
4753
|
text: 'Text',
|
|
4629
4754
|
type: 'Type',
|
|
4630
4755
|
url: 'Url',
|
|
@@ -4642,6 +4767,7 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
4642
4767
|
packageName: 'string',
|
|
4643
4768
|
phoneNumber: 'string',
|
|
4644
4769
|
signatureHash: 'string',
|
|
4770
|
+
supportedApps: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponentsButtonsSupportedApps },
|
|
4645
4771
|
text: 'string',
|
|
4646
4772
|
type: 'string',
|
|
4647
4773
|
url: 'string',
|
|
@@ -4873,6 +4999,24 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs exten
|
|
|
4873
4999
|
}
|
|
4874
5000
|
}
|
|
4875
5001
|
exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs = GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs;
|
|
5002
|
+
class GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps extends $tea.Model {
|
|
5003
|
+
static names() {
|
|
5004
|
+
return {
|
|
5005
|
+
packageName: 'PackageName',
|
|
5006
|
+
signatureHash: 'SignatureHash',
|
|
5007
|
+
};
|
|
5008
|
+
}
|
|
5009
|
+
static types() {
|
|
5010
|
+
return {
|
|
5011
|
+
packageName: 'string',
|
|
5012
|
+
signatureHash: 'string',
|
|
5013
|
+
};
|
|
5014
|
+
}
|
|
5015
|
+
constructor(map) {
|
|
5016
|
+
super(map);
|
|
5017
|
+
}
|
|
5018
|
+
}
|
|
5019
|
+
exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps = GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps;
|
|
4876
5020
|
class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
|
|
4877
5021
|
static names() {
|
|
4878
5022
|
return {
|
|
@@ -4886,6 +5030,7 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
|
|
|
4886
5030
|
packageName: 'PackageName',
|
|
4887
5031
|
phoneNumber: 'PhoneNumber',
|
|
4888
5032
|
signatureHash: 'SignatureHash',
|
|
5033
|
+
supportedApps: 'SupportedApps',
|
|
4889
5034
|
text: 'Text',
|
|
4890
5035
|
type: 'Type',
|
|
4891
5036
|
url: 'Url',
|
|
@@ -4904,6 +5049,7 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
|
|
|
4904
5049
|
packageName: 'string',
|
|
4905
5050
|
phoneNumber: 'string',
|
|
4906
5051
|
signatureHash: 'string',
|
|
5052
|
+
supportedApps: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps },
|
|
4907
5053
|
text: 'string',
|
|
4908
5054
|
type: 'string',
|
|
4909
5055
|
url: 'string',
|
|
@@ -5331,6 +5477,7 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
5331
5477
|
auditStatus: 'AuditStatus',
|
|
5332
5478
|
category: 'Category',
|
|
5333
5479
|
language: 'Language',
|
|
5480
|
+
lastUpdateTime: 'LastUpdateTime',
|
|
5334
5481
|
reason: 'Reason',
|
|
5335
5482
|
templateCode: 'TemplateCode',
|
|
5336
5483
|
templateName: 'TemplateName',
|
|
@@ -5342,6 +5489,7 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
5342
5489
|
auditStatus: 'string',
|
|
5343
5490
|
category: 'string',
|
|
5344
5491
|
language: 'string',
|
|
5492
|
+
lastUpdateTime: 'number',
|
|
5345
5493
|
reason: 'string',
|
|
5346
5494
|
templateCode: 'string',
|
|
5347
5495
|
templateName: 'string',
|
|
@@ -5521,6 +5669,24 @@ class ListProductCatalogResponseBodyModel extends $tea.Model {
|
|
|
5521
5669
|
}
|
|
5522
5670
|
}
|
|
5523
5671
|
exports.ListProductCatalogResponseBodyModel = ListProductCatalogResponseBodyModel;
|
|
5672
|
+
class ModifyChatappTemplateRequestComponentsButtonsSupportedApps extends $tea.Model {
|
|
5673
|
+
static names() {
|
|
5674
|
+
return {
|
|
5675
|
+
packageName: 'PackageName',
|
|
5676
|
+
signatureHash: 'SignatureHash',
|
|
5677
|
+
};
|
|
5678
|
+
}
|
|
5679
|
+
static types() {
|
|
5680
|
+
return {
|
|
5681
|
+
packageName: 'string',
|
|
5682
|
+
signatureHash: 'string',
|
|
5683
|
+
};
|
|
5684
|
+
}
|
|
5685
|
+
constructor(map) {
|
|
5686
|
+
super(map);
|
|
5687
|
+
}
|
|
5688
|
+
}
|
|
5689
|
+
exports.ModifyChatappTemplateRequestComponentsButtonsSupportedApps = ModifyChatappTemplateRequestComponentsButtonsSupportedApps;
|
|
5524
5690
|
class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
5525
5691
|
static names() {
|
|
5526
5692
|
return {
|
|
@@ -5533,6 +5699,7 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
5533
5699
|
packageName: 'PackageName',
|
|
5534
5700
|
phoneNumber: 'PhoneNumber',
|
|
5535
5701
|
signatureHash: 'SignatureHash',
|
|
5702
|
+
supportedApps: 'SupportedApps',
|
|
5536
5703
|
text: 'Text',
|
|
5537
5704
|
type: 'Type',
|
|
5538
5705
|
url: 'Url',
|
|
@@ -5550,6 +5717,7 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
5550
5717
|
packageName: 'string',
|
|
5551
5718
|
phoneNumber: 'string',
|
|
5552
5719
|
signatureHash: 'string',
|
|
5720
|
+
supportedApps: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponentsButtonsSupportedApps },
|
|
5553
5721
|
text: 'string',
|
|
5554
5722
|
type: 'string',
|
|
5555
5723
|
url: 'string',
|
|
@@ -6054,24 +6222,33 @@ class Client extends openapi_client_1.default {
|
|
|
6054
6222
|
*/
|
|
6055
6223
|
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
6056
6224
|
tea_util_1.default.validateModel(request);
|
|
6057
|
-
let
|
|
6225
|
+
let query = {};
|
|
6058
6226
|
if (!tea_util_1.default.isUnset(request.cc)) {
|
|
6059
|
-
|
|
6227
|
+
query["Cc"] = request.cc;
|
|
6060
6228
|
}
|
|
6061
6229
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6062
|
-
|
|
6230
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6231
|
+
}
|
|
6232
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6233
|
+
query["OwnerId"] = request.ownerId;
|
|
6063
6234
|
}
|
|
6064
6235
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6065
|
-
|
|
6236
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6066
6237
|
}
|
|
6067
6238
|
if (!tea_util_1.default.isUnset(request.preValidateId)) {
|
|
6068
|
-
|
|
6239
|
+
query["PreValidateId"] = request.preValidateId;
|
|
6240
|
+
}
|
|
6241
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
6242
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6243
|
+
}
|
|
6244
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
6245
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6069
6246
|
}
|
|
6070
6247
|
if (!tea_util_1.default.isUnset(request.verifiedName)) {
|
|
6071
|
-
|
|
6248
|
+
query["VerifiedName"] = request.verifiedName;
|
|
6072
6249
|
}
|
|
6073
6250
|
let req = new $OpenApi.OpenApiRequest({
|
|
6074
|
-
|
|
6251
|
+
query: openapi_util_1.default.query(query),
|
|
6075
6252
|
});
|
|
6076
6253
|
let params = new $OpenApi.Params({
|
|
6077
6254
|
action: "AddChatappPhoneNumber",
|
|
@@ -6256,12 +6433,21 @@ class Client extends openapi_client_1.default {
|
|
|
6256
6433
|
*/
|
|
6257
6434
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
6258
6435
|
tea_util_1.default.validateModel(request);
|
|
6259
|
-
let
|
|
6436
|
+
let query = {};
|
|
6437
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6438
|
+
query["OwnerId"] = request.ownerId;
|
|
6439
|
+
}
|
|
6440
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
6441
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6442
|
+
}
|
|
6443
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
6444
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6445
|
+
}
|
|
6260
6446
|
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
6261
|
-
|
|
6447
|
+
query["WabaId"] = request.wabaId;
|
|
6262
6448
|
}
|
|
6263
6449
|
let req = new $OpenApi.OpenApiRequest({
|
|
6264
|
-
|
|
6450
|
+
query: openapi_util_1.default.query(query),
|
|
6265
6451
|
});
|
|
6266
6452
|
let params = new $OpenApi.Params({
|
|
6267
6453
|
action: "ChatappBindWaba",
|
|
@@ -6483,15 +6669,24 @@ class Client extends openapi_client_1.default {
|
|
|
6483
6669
|
*/
|
|
6484
6670
|
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
6485
6671
|
tea_util_1.default.validateModel(request);
|
|
6486
|
-
let
|
|
6672
|
+
let query = {};
|
|
6487
6673
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6488
|
-
|
|
6674
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6675
|
+
}
|
|
6676
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6677
|
+
query["OwnerId"] = request.ownerId;
|
|
6489
6678
|
}
|
|
6490
6679
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6491
|
-
|
|
6680
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6681
|
+
}
|
|
6682
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
6683
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6684
|
+
}
|
|
6685
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
6686
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6492
6687
|
}
|
|
6493
6688
|
let req = new $OpenApi.OpenApiRequest({
|
|
6494
|
-
|
|
6689
|
+
query: openapi_util_1.default.query(query),
|
|
6495
6690
|
});
|
|
6496
6691
|
let params = new $OpenApi.Params({
|
|
6497
6692
|
action: "ChatappPhoneNumberRegister",
|
|
@@ -6533,6 +6728,15 @@ class Client extends openapi_client_1.default {
|
|
|
6533
6728
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6534
6729
|
query["CustSpaceId"] = request.custSpaceId;
|
|
6535
6730
|
}
|
|
6731
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6732
|
+
query["OwnerId"] = request.ownerId;
|
|
6733
|
+
}
|
|
6734
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
6735
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6736
|
+
}
|
|
6737
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
6738
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6739
|
+
}
|
|
6536
6740
|
let req = new $OpenApi.OpenApiRequest({
|
|
6537
6741
|
query: openapi_util_1.default.query(query),
|
|
6538
6742
|
});
|
|
@@ -6572,18 +6776,27 @@ class Client extends openapi_client_1.default {
|
|
|
6572
6776
|
*/
|
|
6573
6777
|
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
6574
6778
|
tea_util_1.default.validateModel(request);
|
|
6575
|
-
let
|
|
6779
|
+
let query = {};
|
|
6576
6780
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6577
|
-
|
|
6781
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6782
|
+
}
|
|
6783
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6784
|
+
query["OwnerId"] = request.ownerId;
|
|
6578
6785
|
}
|
|
6579
6786
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6580
|
-
|
|
6787
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6788
|
+
}
|
|
6789
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
6790
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6791
|
+
}
|
|
6792
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
6793
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6581
6794
|
}
|
|
6582
6795
|
if (!tea_util_1.default.isUnset(request.verifyCode)) {
|
|
6583
|
-
|
|
6796
|
+
query["VerifyCode"] = request.verifyCode;
|
|
6584
6797
|
}
|
|
6585
6798
|
let req = new $OpenApi.OpenApiRequest({
|
|
6586
|
-
|
|
6799
|
+
query: openapi_util_1.default.query(query),
|
|
6587
6800
|
});
|
|
6588
6801
|
let params = new $OpenApi.Params({
|
|
6589
6802
|
action: "ChatappVerifyAndRegister",
|
|
@@ -6871,6 +7084,15 @@ class Client extends openapi_client_1.default {
|
|
|
6871
7084
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
6872
7085
|
query["Language"] = request.language;
|
|
6873
7086
|
}
|
|
7087
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7088
|
+
query["OwnerId"] = request.ownerId;
|
|
7089
|
+
}
|
|
7090
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
7091
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7092
|
+
}
|
|
7093
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
7094
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
7095
|
+
}
|
|
6874
7096
|
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
6875
7097
|
query["TemplateCode"] = request.templateCode;
|
|
6876
7098
|
}
|
|
@@ -7327,21 +7549,30 @@ class Client extends openapi_client_1.default {
|
|
|
7327
7549
|
*/
|
|
7328
7550
|
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
7329
7551
|
tea_util_1.default.validateModel(request);
|
|
7330
|
-
let
|
|
7552
|
+
let query = {};
|
|
7331
7553
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7332
|
-
|
|
7554
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7333
7555
|
}
|
|
7334
7556
|
if (!tea_util_1.default.isUnset(request.locale)) {
|
|
7335
|
-
|
|
7557
|
+
query["Locale"] = request.locale;
|
|
7336
7558
|
}
|
|
7337
7559
|
if (!tea_util_1.default.isUnset(request.method)) {
|
|
7338
|
-
|
|
7560
|
+
query["Method"] = request.method;
|
|
7561
|
+
}
|
|
7562
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7563
|
+
query["OwnerId"] = request.ownerId;
|
|
7339
7564
|
}
|
|
7340
7565
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7341
|
-
|
|
7566
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7567
|
+
}
|
|
7568
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
7569
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7570
|
+
}
|
|
7571
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
7572
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
7342
7573
|
}
|
|
7343
7574
|
let req = new $OpenApi.OpenApiRequest({
|
|
7344
|
-
|
|
7575
|
+
query: openapi_util_1.default.query(query),
|
|
7345
7576
|
});
|
|
7346
7577
|
let params = new $OpenApi.Params({
|
|
7347
7578
|
action: "GetChatappVerifyCode",
|
|
@@ -7383,9 +7614,18 @@ class Client extends openapi_client_1.default {
|
|
|
7383
7614
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7384
7615
|
query["CustSpaceId"] = request.custSpaceId;
|
|
7385
7616
|
}
|
|
7617
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7618
|
+
query["OwnerId"] = request.ownerId;
|
|
7619
|
+
}
|
|
7386
7620
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7387
7621
|
query["PhoneNumber"] = request.phoneNumber;
|
|
7388
7622
|
}
|
|
7623
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
7624
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7625
|
+
}
|
|
7626
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
7627
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
7628
|
+
}
|
|
7389
7629
|
let req = new $OpenApi.OpenApiRequest({
|
|
7390
7630
|
query: openapi_util_1.default.query(query),
|
|
7391
7631
|
});
|
|
@@ -8362,12 +8602,21 @@ class Client extends openapi_client_1.default {
|
|
|
8362
8602
|
if (!tea_util_1.default.isUnset(request.email)) {
|
|
8363
8603
|
query["Email"] = request.email;
|
|
8364
8604
|
}
|
|
8605
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8606
|
+
query["OwnerId"] = request.ownerId;
|
|
8607
|
+
}
|
|
8365
8608
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8366
8609
|
query["PhoneNumber"] = request.phoneNumber;
|
|
8367
8610
|
}
|
|
8368
8611
|
if (!tea_util_1.default.isUnset(request.profilePictureUrl)) {
|
|
8369
8612
|
query["ProfilePictureUrl"] = request.profilePictureUrl;
|
|
8370
8613
|
}
|
|
8614
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8615
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8616
|
+
}
|
|
8617
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8618
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8619
|
+
}
|
|
8371
8620
|
if (!tea_util_1.default.isUnset(request.vertical)) {
|
|
8372
8621
|
query["Vertical"] = request.vertical;
|
|
8373
8622
|
}
|
|
@@ -8567,9 +8816,18 @@ class Client extends openapi_client_1.default {
|
|
|
8567
8816
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8568
8817
|
query["CustSpaceId"] = request.custSpaceId;
|
|
8569
8818
|
}
|
|
8819
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8820
|
+
query["OwnerId"] = request.ownerId;
|
|
8821
|
+
}
|
|
8570
8822
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8571
8823
|
query["PhoneNumber"] = request.phoneNumber;
|
|
8572
8824
|
}
|
|
8825
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8826
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8827
|
+
}
|
|
8828
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8829
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8830
|
+
}
|
|
8573
8831
|
let req = new $OpenApi.OpenApiRequest({
|
|
8574
8832
|
query: openapi_util_1.default.query(query),
|
|
8575
8833
|
});
|
|
@@ -8613,6 +8871,15 @@ class Client extends openapi_client_1.default {
|
|
|
8613
8871
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8614
8872
|
query["CustSpaceId"] = request.custSpaceId;
|
|
8615
8873
|
}
|
|
8874
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8875
|
+
query["OwnerId"] = request.ownerId;
|
|
8876
|
+
}
|
|
8877
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8878
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8879
|
+
}
|
|
8880
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8881
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8882
|
+
}
|
|
8616
8883
|
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
8617
8884
|
query["WabaId"] = request.wabaId;
|
|
8618
8885
|
}
|
|
@@ -9010,9 +9277,18 @@ class Client extends openapi_client_1.default {
|
|
|
9010
9277
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
9011
9278
|
query["CustSpaceId"] = request.custSpaceId;
|
|
9012
9279
|
}
|
|
9280
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
9281
|
+
query["OwnerId"] = request.ownerId;
|
|
9282
|
+
}
|
|
9013
9283
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
9014
9284
|
query["PhoneNumber"] = request.phoneNumber;
|
|
9015
9285
|
}
|
|
9286
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
9287
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9288
|
+
}
|
|
9289
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
9290
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9291
|
+
}
|
|
9016
9292
|
let req = new $OpenApi.OpenApiRequest({
|
|
9017
9293
|
query: openapi_util_1.default.query(query),
|
|
9018
9294
|
});
|