@alicloud/cams20200606 1.4.4 → 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 +54 -0
- package/dist/client.js +241 -25
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +331 -25
package/dist/client.js
CHANGED
|
@@ -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) {
|
|
@@ -5371,6 +5477,7 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
5371
5477
|
auditStatus: 'AuditStatus',
|
|
5372
5478
|
category: 'Category',
|
|
5373
5479
|
language: 'Language',
|
|
5480
|
+
lastUpdateTime: 'LastUpdateTime',
|
|
5374
5481
|
reason: 'Reason',
|
|
5375
5482
|
templateCode: 'TemplateCode',
|
|
5376
5483
|
templateName: 'TemplateName',
|
|
@@ -5382,6 +5489,7 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
5382
5489
|
auditStatus: 'string',
|
|
5383
5490
|
category: 'string',
|
|
5384
5491
|
language: 'string',
|
|
5492
|
+
lastUpdateTime: 'number',
|
|
5385
5493
|
reason: 'string',
|
|
5386
5494
|
templateCode: 'string',
|
|
5387
5495
|
templateName: 'string',
|
|
@@ -6114,24 +6222,33 @@ class Client extends openapi_client_1.default {
|
|
|
6114
6222
|
*/
|
|
6115
6223
|
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
6116
6224
|
tea_util_1.default.validateModel(request);
|
|
6117
|
-
let
|
|
6225
|
+
let query = {};
|
|
6118
6226
|
if (!tea_util_1.default.isUnset(request.cc)) {
|
|
6119
|
-
|
|
6227
|
+
query["Cc"] = request.cc;
|
|
6120
6228
|
}
|
|
6121
6229
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6122
|
-
|
|
6230
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6231
|
+
}
|
|
6232
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6233
|
+
query["OwnerId"] = request.ownerId;
|
|
6123
6234
|
}
|
|
6124
6235
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6125
|
-
|
|
6236
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6126
6237
|
}
|
|
6127
6238
|
if (!tea_util_1.default.isUnset(request.preValidateId)) {
|
|
6128
|
-
|
|
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;
|
|
6129
6246
|
}
|
|
6130
6247
|
if (!tea_util_1.default.isUnset(request.verifiedName)) {
|
|
6131
|
-
|
|
6248
|
+
query["VerifiedName"] = request.verifiedName;
|
|
6132
6249
|
}
|
|
6133
6250
|
let req = new $OpenApi.OpenApiRequest({
|
|
6134
|
-
|
|
6251
|
+
query: openapi_util_1.default.query(query),
|
|
6135
6252
|
});
|
|
6136
6253
|
let params = new $OpenApi.Params({
|
|
6137
6254
|
action: "AddChatappPhoneNumber",
|
|
@@ -6316,12 +6433,21 @@ class Client extends openapi_client_1.default {
|
|
|
6316
6433
|
*/
|
|
6317
6434
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
6318
6435
|
tea_util_1.default.validateModel(request);
|
|
6319
|
-
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
|
+
}
|
|
6320
6446
|
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
6321
|
-
|
|
6447
|
+
query["WabaId"] = request.wabaId;
|
|
6322
6448
|
}
|
|
6323
6449
|
let req = new $OpenApi.OpenApiRequest({
|
|
6324
|
-
|
|
6450
|
+
query: openapi_util_1.default.query(query),
|
|
6325
6451
|
});
|
|
6326
6452
|
let params = new $OpenApi.Params({
|
|
6327
6453
|
action: "ChatappBindWaba",
|
|
@@ -6543,15 +6669,24 @@ class Client extends openapi_client_1.default {
|
|
|
6543
6669
|
*/
|
|
6544
6670
|
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
6545
6671
|
tea_util_1.default.validateModel(request);
|
|
6546
|
-
let
|
|
6672
|
+
let query = {};
|
|
6547
6673
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6548
|
-
|
|
6674
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6675
|
+
}
|
|
6676
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6677
|
+
query["OwnerId"] = request.ownerId;
|
|
6549
6678
|
}
|
|
6550
6679
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6551
|
-
|
|
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;
|
|
6552
6687
|
}
|
|
6553
6688
|
let req = new $OpenApi.OpenApiRequest({
|
|
6554
|
-
|
|
6689
|
+
query: openapi_util_1.default.query(query),
|
|
6555
6690
|
});
|
|
6556
6691
|
let params = new $OpenApi.Params({
|
|
6557
6692
|
action: "ChatappPhoneNumberRegister",
|
|
@@ -6593,6 +6728,15 @@ class Client extends openapi_client_1.default {
|
|
|
6593
6728
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6594
6729
|
query["CustSpaceId"] = request.custSpaceId;
|
|
6595
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
|
+
}
|
|
6596
6740
|
let req = new $OpenApi.OpenApiRequest({
|
|
6597
6741
|
query: openapi_util_1.default.query(query),
|
|
6598
6742
|
});
|
|
@@ -6632,18 +6776,27 @@ class Client extends openapi_client_1.default {
|
|
|
6632
6776
|
*/
|
|
6633
6777
|
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
6634
6778
|
tea_util_1.default.validateModel(request);
|
|
6635
|
-
let
|
|
6779
|
+
let query = {};
|
|
6636
6780
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6637
|
-
|
|
6781
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6782
|
+
}
|
|
6783
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
6784
|
+
query["OwnerId"] = request.ownerId;
|
|
6638
6785
|
}
|
|
6639
6786
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6640
|
-
|
|
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;
|
|
6641
6794
|
}
|
|
6642
6795
|
if (!tea_util_1.default.isUnset(request.verifyCode)) {
|
|
6643
|
-
|
|
6796
|
+
query["VerifyCode"] = request.verifyCode;
|
|
6644
6797
|
}
|
|
6645
6798
|
let req = new $OpenApi.OpenApiRequest({
|
|
6646
|
-
|
|
6799
|
+
query: openapi_util_1.default.query(query),
|
|
6647
6800
|
});
|
|
6648
6801
|
let params = new $OpenApi.Params({
|
|
6649
6802
|
action: "ChatappVerifyAndRegister",
|
|
@@ -6931,6 +7084,15 @@ class Client extends openapi_client_1.default {
|
|
|
6931
7084
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
6932
7085
|
query["Language"] = request.language;
|
|
6933
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
|
+
}
|
|
6934
7096
|
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
6935
7097
|
query["TemplateCode"] = request.templateCode;
|
|
6936
7098
|
}
|
|
@@ -7387,21 +7549,30 @@ class Client extends openapi_client_1.default {
|
|
|
7387
7549
|
*/
|
|
7388
7550
|
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
7389
7551
|
tea_util_1.default.validateModel(request);
|
|
7390
|
-
let
|
|
7552
|
+
let query = {};
|
|
7391
7553
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7392
|
-
|
|
7554
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7393
7555
|
}
|
|
7394
7556
|
if (!tea_util_1.default.isUnset(request.locale)) {
|
|
7395
|
-
|
|
7557
|
+
query["Locale"] = request.locale;
|
|
7396
7558
|
}
|
|
7397
7559
|
if (!tea_util_1.default.isUnset(request.method)) {
|
|
7398
|
-
|
|
7560
|
+
query["Method"] = request.method;
|
|
7561
|
+
}
|
|
7562
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7563
|
+
query["OwnerId"] = request.ownerId;
|
|
7399
7564
|
}
|
|
7400
7565
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7401
|
-
|
|
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;
|
|
7402
7573
|
}
|
|
7403
7574
|
let req = new $OpenApi.OpenApiRequest({
|
|
7404
|
-
|
|
7575
|
+
query: openapi_util_1.default.query(query),
|
|
7405
7576
|
});
|
|
7406
7577
|
let params = new $OpenApi.Params({
|
|
7407
7578
|
action: "GetChatappVerifyCode",
|
|
@@ -7443,9 +7614,18 @@ class Client extends openapi_client_1.default {
|
|
|
7443
7614
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7444
7615
|
query["CustSpaceId"] = request.custSpaceId;
|
|
7445
7616
|
}
|
|
7617
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7618
|
+
query["OwnerId"] = request.ownerId;
|
|
7619
|
+
}
|
|
7446
7620
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7447
7621
|
query["PhoneNumber"] = request.phoneNumber;
|
|
7448
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
|
+
}
|
|
7449
7629
|
let req = new $OpenApi.OpenApiRequest({
|
|
7450
7630
|
query: openapi_util_1.default.query(query),
|
|
7451
7631
|
});
|
|
@@ -8422,12 +8602,21 @@ class Client extends openapi_client_1.default {
|
|
|
8422
8602
|
if (!tea_util_1.default.isUnset(request.email)) {
|
|
8423
8603
|
query["Email"] = request.email;
|
|
8424
8604
|
}
|
|
8605
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8606
|
+
query["OwnerId"] = request.ownerId;
|
|
8607
|
+
}
|
|
8425
8608
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8426
8609
|
query["PhoneNumber"] = request.phoneNumber;
|
|
8427
8610
|
}
|
|
8428
8611
|
if (!tea_util_1.default.isUnset(request.profilePictureUrl)) {
|
|
8429
8612
|
query["ProfilePictureUrl"] = request.profilePictureUrl;
|
|
8430
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
|
+
}
|
|
8431
8620
|
if (!tea_util_1.default.isUnset(request.vertical)) {
|
|
8432
8621
|
query["Vertical"] = request.vertical;
|
|
8433
8622
|
}
|
|
@@ -8627,9 +8816,18 @@ class Client extends openapi_client_1.default {
|
|
|
8627
8816
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8628
8817
|
query["CustSpaceId"] = request.custSpaceId;
|
|
8629
8818
|
}
|
|
8819
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8820
|
+
query["OwnerId"] = request.ownerId;
|
|
8821
|
+
}
|
|
8630
8822
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8631
8823
|
query["PhoneNumber"] = request.phoneNumber;
|
|
8632
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
|
+
}
|
|
8633
8831
|
let req = new $OpenApi.OpenApiRequest({
|
|
8634
8832
|
query: openapi_util_1.default.query(query),
|
|
8635
8833
|
});
|
|
@@ -8673,6 +8871,15 @@ class Client extends openapi_client_1.default {
|
|
|
8673
8871
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8674
8872
|
query["CustSpaceId"] = request.custSpaceId;
|
|
8675
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
|
+
}
|
|
8676
8883
|
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
8677
8884
|
query["WabaId"] = request.wabaId;
|
|
8678
8885
|
}
|
|
@@ -9070,9 +9277,18 @@ class Client extends openapi_client_1.default {
|
|
|
9070
9277
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
9071
9278
|
query["CustSpaceId"] = request.custSpaceId;
|
|
9072
9279
|
}
|
|
9280
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
9281
|
+
query["OwnerId"] = request.ownerId;
|
|
9282
|
+
}
|
|
9073
9283
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
9074
9284
|
query["PhoneNumber"] = request.phoneNumber;
|
|
9075
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
|
+
}
|
|
9076
9292
|
let req = new $OpenApi.OpenApiRequest({
|
|
9077
9293
|
query: openapi_util_1.default.query(query),
|
|
9078
9294
|
});
|