@alicloud/cams20200606 1.0.21 → 1.1.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 +176 -4
- package/dist/client.js +301 -4
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +387 -4
package/dist/client.js
CHANGED
|
@@ -81,6 +81,7 @@ class BeeBotAssociateResponseBody extends $tea.Model {
|
|
|
81
81
|
}
|
|
82
82
|
static names() {
|
|
83
83
|
return {
|
|
84
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
84
85
|
code: 'Code',
|
|
85
86
|
data: 'Data',
|
|
86
87
|
message: 'Message',
|
|
@@ -89,6 +90,7 @@ class BeeBotAssociateResponseBody extends $tea.Model {
|
|
|
89
90
|
}
|
|
90
91
|
static types() {
|
|
91
92
|
return {
|
|
93
|
+
accessDeniedDetail: 'string',
|
|
92
94
|
code: 'string',
|
|
93
95
|
data: BeeBotAssociateResponseBodyData,
|
|
94
96
|
message: 'string',
|
|
@@ -195,6 +197,7 @@ class BeeBotChatResponseBody extends $tea.Model {
|
|
|
195
197
|
}
|
|
196
198
|
static names() {
|
|
197
199
|
return {
|
|
200
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
198
201
|
code: 'Code',
|
|
199
202
|
data: 'Data',
|
|
200
203
|
message: 'Message',
|
|
@@ -203,6 +206,7 @@ class BeeBotChatResponseBody extends $tea.Model {
|
|
|
203
206
|
}
|
|
204
207
|
static types() {
|
|
205
208
|
return {
|
|
209
|
+
accessDeniedDetail: 'string',
|
|
206
210
|
code: 'string',
|
|
207
211
|
data: BeeBotChatResponseBodyData,
|
|
208
212
|
message: 'string',
|
|
@@ -253,6 +257,7 @@ class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
253
257
|
}
|
|
254
258
|
static names() {
|
|
255
259
|
return {
|
|
260
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
256
261
|
code: 'Code',
|
|
257
262
|
data: 'Data',
|
|
258
263
|
message: 'Message',
|
|
@@ -261,6 +266,7 @@ class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
261
266
|
}
|
|
262
267
|
static types() {
|
|
263
268
|
return {
|
|
269
|
+
accessDeniedDetail: 'string',
|
|
264
270
|
code: 'string',
|
|
265
271
|
data: ChatappBindWabaResponseBodyData,
|
|
266
272
|
message: 'string',
|
|
@@ -311,6 +317,7 @@ class ChatappEmbedSignUpResponseBody extends $tea.Model {
|
|
|
311
317
|
}
|
|
312
318
|
static names() {
|
|
313
319
|
return {
|
|
320
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
314
321
|
code: 'Code',
|
|
315
322
|
message: 'Message',
|
|
316
323
|
requestId: 'RequestId',
|
|
@@ -319,6 +326,7 @@ class ChatappEmbedSignUpResponseBody extends $tea.Model {
|
|
|
319
326
|
}
|
|
320
327
|
static types() {
|
|
321
328
|
return {
|
|
329
|
+
accessDeniedDetail: 'string',
|
|
322
330
|
code: 'string',
|
|
323
331
|
message: 'string',
|
|
324
332
|
requestId: 'string',
|
|
@@ -371,6 +379,7 @@ class ChatappMigrationRegisterResponseBody extends $tea.Model {
|
|
|
371
379
|
}
|
|
372
380
|
static names() {
|
|
373
381
|
return {
|
|
382
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
374
383
|
code: 'Code',
|
|
375
384
|
message: 'Message',
|
|
376
385
|
requestId: 'RequestId',
|
|
@@ -378,6 +387,7 @@ class ChatappMigrationRegisterResponseBody extends $tea.Model {
|
|
|
378
387
|
}
|
|
379
388
|
static types() {
|
|
380
389
|
return {
|
|
390
|
+
accessDeniedDetail: 'string',
|
|
381
391
|
code: 'string',
|
|
382
392
|
message: 'string',
|
|
383
393
|
requestId: 'string',
|
|
@@ -431,6 +441,7 @@ class ChatappMigrationVerifiedResponseBody extends $tea.Model {
|
|
|
431
441
|
}
|
|
432
442
|
static names() {
|
|
433
443
|
return {
|
|
444
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
434
445
|
code: 'Code',
|
|
435
446
|
data: 'Data',
|
|
436
447
|
message: 'Message',
|
|
@@ -439,6 +450,7 @@ class ChatappMigrationVerifiedResponseBody extends $tea.Model {
|
|
|
439
450
|
}
|
|
440
451
|
static types() {
|
|
441
452
|
return {
|
|
453
|
+
accessDeniedDetail: 'string',
|
|
442
454
|
code: 'string',
|
|
443
455
|
data: ChatappMigrationVerifiedResponseBodyData,
|
|
444
456
|
message: 'string',
|
|
@@ -491,6 +503,7 @@ class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
491
503
|
}
|
|
492
504
|
static names() {
|
|
493
505
|
return {
|
|
506
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
494
507
|
code: 'Code',
|
|
495
508
|
message: 'Message',
|
|
496
509
|
requestId: 'RequestId',
|
|
@@ -498,6 +511,7 @@ class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
498
511
|
}
|
|
499
512
|
static types() {
|
|
500
513
|
return {
|
|
514
|
+
accessDeniedDetail: 'string',
|
|
501
515
|
code: 'string',
|
|
502
516
|
message: 'string',
|
|
503
517
|
requestId: 'string',
|
|
@@ -547,6 +561,7 @@ class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
547
561
|
}
|
|
548
562
|
static names() {
|
|
549
563
|
return {
|
|
564
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
550
565
|
code: 'Code',
|
|
551
566
|
message: 'Message',
|
|
552
567
|
phoneNumbers: 'PhoneNumbers',
|
|
@@ -555,6 +570,7 @@ class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
555
570
|
}
|
|
556
571
|
static types() {
|
|
557
572
|
return {
|
|
573
|
+
accessDeniedDetail: 'string',
|
|
558
574
|
code: 'string',
|
|
559
575
|
message: 'string',
|
|
560
576
|
phoneNumbers: { 'type': 'array', 'itemType': ChatappSyncPhoneNumberResponseBodyPhoneNumbers },
|
|
@@ -609,6 +625,7 @@ class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
609
625
|
}
|
|
610
626
|
static names() {
|
|
611
627
|
return {
|
|
628
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
612
629
|
code: 'Code',
|
|
613
630
|
message: 'Message',
|
|
614
631
|
requestId: 'RequestId',
|
|
@@ -616,6 +633,7 @@ class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
616
633
|
}
|
|
617
634
|
static types() {
|
|
618
635
|
return {
|
|
636
|
+
accessDeniedDetail: 'string',
|
|
619
637
|
code: 'string',
|
|
620
638
|
message: 'string',
|
|
621
639
|
requestId: 'string',
|
|
@@ -669,6 +687,7 @@ class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
|
|
|
669
687
|
}
|
|
670
688
|
static names() {
|
|
671
689
|
return {
|
|
690
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
672
691
|
code: 'Code',
|
|
673
692
|
data: 'Data',
|
|
674
693
|
message: 'Message',
|
|
@@ -677,6 +696,7 @@ class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
|
|
|
677
696
|
}
|
|
678
697
|
static types() {
|
|
679
698
|
return {
|
|
699
|
+
accessDeniedDetail: 'string',
|
|
680
700
|
code: 'string',
|
|
681
701
|
data: CreateChatappMigrationInitiateResponseBodyData,
|
|
682
702
|
message: 'string',
|
|
@@ -719,6 +739,7 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
719
739
|
example: 'Example',
|
|
720
740
|
isvCode: 'IsvCode',
|
|
721
741
|
language: 'Language',
|
|
742
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
722
743
|
name: 'Name',
|
|
723
744
|
templateType: 'TemplateType',
|
|
724
745
|
};
|
|
@@ -733,6 +754,7 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
733
754
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
734
755
|
isvCode: 'string',
|
|
735
756
|
language: 'string',
|
|
757
|
+
messageSendTtlSeconds: 'number',
|
|
736
758
|
name: 'string',
|
|
737
759
|
templateType: 'string',
|
|
738
760
|
};
|
|
@@ -753,6 +775,7 @@ class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
753
775
|
exampleShrink: 'Example',
|
|
754
776
|
isvCode: 'IsvCode',
|
|
755
777
|
language: 'Language',
|
|
778
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
756
779
|
name: 'Name',
|
|
757
780
|
templateType: 'TemplateType',
|
|
758
781
|
};
|
|
@@ -767,6 +790,7 @@ class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
767
790
|
exampleShrink: 'string',
|
|
768
791
|
isvCode: 'string',
|
|
769
792
|
language: 'string',
|
|
793
|
+
messageSendTtlSeconds: 'number',
|
|
770
794
|
name: 'string',
|
|
771
795
|
templateType: 'string',
|
|
772
796
|
};
|
|
@@ -779,6 +803,7 @@ class CreateChatappTemplateResponseBody extends $tea.Model {
|
|
|
779
803
|
}
|
|
780
804
|
static names() {
|
|
781
805
|
return {
|
|
806
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
782
807
|
code: 'Code',
|
|
783
808
|
data: 'Data',
|
|
784
809
|
message: 'Message',
|
|
@@ -787,6 +812,7 @@ class CreateChatappTemplateResponseBody extends $tea.Model {
|
|
|
787
812
|
}
|
|
788
813
|
static types() {
|
|
789
814
|
return {
|
|
815
|
+
accessDeniedDetail: 'string',
|
|
790
816
|
code: 'string',
|
|
791
817
|
data: CreateChatappTemplateResponseBodyData,
|
|
792
818
|
message: 'string',
|
|
@@ -843,6 +869,7 @@ class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
843
869
|
}
|
|
844
870
|
static names() {
|
|
845
871
|
return {
|
|
872
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
846
873
|
code: 'Code',
|
|
847
874
|
message: 'Message',
|
|
848
875
|
requestId: 'RequestId',
|
|
@@ -850,6 +877,7 @@ class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
850
877
|
}
|
|
851
878
|
static types() {
|
|
852
879
|
return {
|
|
880
|
+
accessDeniedDetail: 'string',
|
|
853
881
|
code: 'string',
|
|
854
882
|
message: 'string',
|
|
855
883
|
requestId: 'string',
|
|
@@ -909,6 +937,7 @@ class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
|
909
937
|
}
|
|
910
938
|
static names() {
|
|
911
939
|
return {
|
|
940
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
912
941
|
code: 'Code',
|
|
913
942
|
data: 'Data',
|
|
914
943
|
message: 'Message',
|
|
@@ -917,6 +946,7 @@ class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
|
917
946
|
}
|
|
918
947
|
static types() {
|
|
919
948
|
return {
|
|
949
|
+
accessDeniedDetail: 'string',
|
|
920
950
|
code: 'string',
|
|
921
951
|
data: GetChatappTemplateDetailResponseBodyData,
|
|
922
952
|
message: 'string',
|
|
@@ -967,6 +997,7 @@ class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
|
|
|
967
997
|
}
|
|
968
998
|
static names() {
|
|
969
999
|
return {
|
|
1000
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
970
1001
|
code: 'Code',
|
|
971
1002
|
data: 'Data',
|
|
972
1003
|
message: 'Message',
|
|
@@ -975,6 +1006,7 @@ class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
|
|
|
975
1006
|
}
|
|
976
1007
|
static types() {
|
|
977
1008
|
return {
|
|
1009
|
+
accessDeniedDetail: 'string',
|
|
978
1010
|
code: 'string',
|
|
979
1011
|
data: GetChatappUploadAuthorizationResponseBodyData,
|
|
980
1012
|
message: 'string',
|
|
@@ -1031,6 +1063,7 @@ class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
1031
1063
|
}
|
|
1032
1064
|
static names() {
|
|
1033
1065
|
return {
|
|
1066
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1034
1067
|
code: 'Code',
|
|
1035
1068
|
message: 'Message',
|
|
1036
1069
|
requestId: 'RequestId',
|
|
@@ -1038,6 +1071,7 @@ class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
1038
1071
|
}
|
|
1039
1072
|
static types() {
|
|
1040
1073
|
return {
|
|
1074
|
+
accessDeniedDetail: 'string',
|
|
1041
1075
|
code: 'string',
|
|
1042
1076
|
message: 'string',
|
|
1043
1077
|
requestId: 'string',
|
|
@@ -1093,6 +1127,7 @@ class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
|
1093
1127
|
}
|
|
1094
1128
|
static names() {
|
|
1095
1129
|
return {
|
|
1130
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1096
1131
|
code: 'Code',
|
|
1097
1132
|
data: 'Data',
|
|
1098
1133
|
message: 'Message',
|
|
@@ -1101,6 +1136,7 @@ class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
|
1101
1136
|
}
|
|
1102
1137
|
static types() {
|
|
1103
1138
|
return {
|
|
1139
|
+
accessDeniedDetail: 'string',
|
|
1104
1140
|
code: 'string',
|
|
1105
1141
|
data: GetMigrationVerifyCodeResponseBodyData,
|
|
1106
1142
|
message: 'string',
|
|
@@ -1189,6 +1225,66 @@ class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
|
|
|
1189
1225
|
}
|
|
1190
1226
|
}
|
|
1191
1227
|
exports.GetPhoneNumberVerificationStatusResponse = GetPhoneNumberVerificationStatusResponse;
|
|
1228
|
+
class GetPreValidatePhoneIdRequest extends $tea.Model {
|
|
1229
|
+
constructor(map) {
|
|
1230
|
+
super(map);
|
|
1231
|
+
}
|
|
1232
|
+
static names() {
|
|
1233
|
+
return {
|
|
1234
|
+
phoneNumber: 'PhoneNumber',
|
|
1235
|
+
verifyCode: 'VerifyCode',
|
|
1236
|
+
};
|
|
1237
|
+
}
|
|
1238
|
+
static types() {
|
|
1239
|
+
return {
|
|
1240
|
+
phoneNumber: 'string',
|
|
1241
|
+
verifyCode: 'string',
|
|
1242
|
+
};
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
exports.GetPreValidatePhoneIdRequest = GetPreValidatePhoneIdRequest;
|
|
1246
|
+
class GetPreValidatePhoneIdResponseBody extends $tea.Model {
|
|
1247
|
+
constructor(map) {
|
|
1248
|
+
super(map);
|
|
1249
|
+
}
|
|
1250
|
+
static names() {
|
|
1251
|
+
return {
|
|
1252
|
+
code: 'Code',
|
|
1253
|
+
data: 'Data',
|
|
1254
|
+
message: 'Message',
|
|
1255
|
+
requestId: 'RequestId',
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
1258
|
+
static types() {
|
|
1259
|
+
return {
|
|
1260
|
+
code: 'string',
|
|
1261
|
+
data: GetPreValidatePhoneIdResponseBodyData,
|
|
1262
|
+
message: 'string',
|
|
1263
|
+
requestId: 'string',
|
|
1264
|
+
};
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
exports.GetPreValidatePhoneIdResponseBody = GetPreValidatePhoneIdResponseBody;
|
|
1268
|
+
class GetPreValidatePhoneIdResponse extends $tea.Model {
|
|
1269
|
+
constructor(map) {
|
|
1270
|
+
super(map);
|
|
1271
|
+
}
|
|
1272
|
+
static names() {
|
|
1273
|
+
return {
|
|
1274
|
+
headers: 'headers',
|
|
1275
|
+
statusCode: 'statusCode',
|
|
1276
|
+
body: 'body',
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
static types() {
|
|
1280
|
+
return {
|
|
1281
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1282
|
+
statusCode: 'number',
|
|
1283
|
+
body: GetPreValidatePhoneIdResponseBody,
|
|
1284
|
+
};
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
exports.GetPreValidatePhoneIdResponse = GetPreValidatePhoneIdResponse;
|
|
1192
1288
|
class IsvGetAppIdRequest extends $tea.Model {
|
|
1193
1289
|
constructor(map) {
|
|
1194
1290
|
super(map);
|
|
@@ -1211,6 +1307,7 @@ class IsvGetAppIdResponseBody extends $tea.Model {
|
|
|
1211
1307
|
}
|
|
1212
1308
|
static names() {
|
|
1213
1309
|
return {
|
|
1310
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1214
1311
|
appId: 'AppId',
|
|
1215
1312
|
code: 'Code',
|
|
1216
1313
|
message: 'Message',
|
|
@@ -1219,6 +1316,7 @@ class IsvGetAppIdResponseBody extends $tea.Model {
|
|
|
1219
1316
|
}
|
|
1220
1317
|
static types() {
|
|
1221
1318
|
return {
|
|
1319
|
+
accessDeniedDetail: 'string',
|
|
1222
1320
|
appId: 'string',
|
|
1223
1321
|
code: 'string',
|
|
1224
1322
|
message: 'string',
|
|
@@ -1313,6 +1411,7 @@ class ListChatappTemplateResponseBody extends $tea.Model {
|
|
|
1313
1411
|
}
|
|
1314
1412
|
static names() {
|
|
1315
1413
|
return {
|
|
1414
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1316
1415
|
code: 'Code',
|
|
1317
1416
|
listTemplate: 'ListTemplate',
|
|
1318
1417
|
message: 'Message',
|
|
@@ -1322,6 +1421,7 @@ class ListChatappTemplateResponseBody extends $tea.Model {
|
|
|
1322
1421
|
}
|
|
1323
1422
|
static types() {
|
|
1324
1423
|
return {
|
|
1424
|
+
accessDeniedDetail: 'string',
|
|
1325
1425
|
code: 'string',
|
|
1326
1426
|
listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
|
|
1327
1427
|
message: 'string',
|
|
@@ -1364,6 +1464,7 @@ class ModifyChatappTemplateRequest extends $tea.Model {
|
|
|
1364
1464
|
example: 'Example',
|
|
1365
1465
|
isvCode: 'IsvCode',
|
|
1366
1466
|
language: 'Language',
|
|
1467
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
1367
1468
|
templateCode: 'TemplateCode',
|
|
1368
1469
|
templateType: 'TemplateType',
|
|
1369
1470
|
};
|
|
@@ -1377,6 +1478,7 @@ class ModifyChatappTemplateRequest extends $tea.Model {
|
|
|
1377
1478
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1378
1479
|
isvCode: 'string',
|
|
1379
1480
|
language: 'string',
|
|
1481
|
+
messageSendTtlSeconds: 'number',
|
|
1380
1482
|
templateCode: 'string',
|
|
1381
1483
|
templateType: 'string',
|
|
1382
1484
|
};
|
|
@@ -1396,6 +1498,7 @@ class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1396
1498
|
exampleShrink: 'Example',
|
|
1397
1499
|
isvCode: 'IsvCode',
|
|
1398
1500
|
language: 'Language',
|
|
1501
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
1399
1502
|
templateCode: 'TemplateCode',
|
|
1400
1503
|
templateType: 'TemplateType',
|
|
1401
1504
|
};
|
|
@@ -1409,6 +1512,7 @@ class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1409
1512
|
exampleShrink: 'string',
|
|
1410
1513
|
isvCode: 'string',
|
|
1411
1514
|
language: 'string',
|
|
1515
|
+
messageSendTtlSeconds: 'number',
|
|
1412
1516
|
templateCode: 'string',
|
|
1413
1517
|
templateType: 'string',
|
|
1414
1518
|
};
|
|
@@ -1421,6 +1525,7 @@ class ModifyChatappTemplateResponseBody extends $tea.Model {
|
|
|
1421
1525
|
}
|
|
1422
1526
|
static names() {
|
|
1423
1527
|
return {
|
|
1528
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1424
1529
|
code: 'Code',
|
|
1425
1530
|
data: 'Data',
|
|
1426
1531
|
message: 'Message',
|
|
@@ -1429,6 +1534,7 @@ class ModifyChatappTemplateResponseBody extends $tea.Model {
|
|
|
1429
1534
|
}
|
|
1430
1535
|
static types() {
|
|
1431
1536
|
return {
|
|
1537
|
+
accessDeniedDetail: 'string',
|
|
1432
1538
|
code: 'string',
|
|
1433
1539
|
data: ModifyChatappTemplateResponseBodyData,
|
|
1434
1540
|
message: 'string',
|
|
@@ -1523,6 +1629,7 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1523
1629
|
}
|
|
1524
1630
|
static names() {
|
|
1525
1631
|
return {
|
|
1632
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1526
1633
|
code: 'Code',
|
|
1527
1634
|
message: 'Message',
|
|
1528
1635
|
requestId: 'RequestId',
|
|
@@ -1530,6 +1637,7 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1530
1637
|
}
|
|
1531
1638
|
static types() {
|
|
1532
1639
|
return {
|
|
1640
|
+
accessDeniedDetail: 'string',
|
|
1533
1641
|
code: 'string',
|
|
1534
1642
|
message: 'string',
|
|
1535
1643
|
requestId: 'string',
|
|
@@ -1581,6 +1689,7 @@ class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
1581
1689
|
}
|
|
1582
1690
|
static names() {
|
|
1583
1691
|
return {
|
|
1692
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1584
1693
|
code: 'Code',
|
|
1585
1694
|
data: 'Data',
|
|
1586
1695
|
message: 'Message',
|
|
@@ -1589,6 +1698,7 @@ class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
1589
1698
|
}
|
|
1590
1699
|
static types() {
|
|
1591
1700
|
return {
|
|
1701
|
+
accessDeniedDetail: 'string',
|
|
1592
1702
|
code: 'string',
|
|
1593
1703
|
data: QueryChatappBindWabaResponseBodyData,
|
|
1594
1704
|
message: 'string',
|
|
@@ -1641,6 +1751,7 @@ class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
|
|
|
1641
1751
|
}
|
|
1642
1752
|
static names() {
|
|
1643
1753
|
return {
|
|
1754
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1644
1755
|
code: 'Code',
|
|
1645
1756
|
message: 'Message',
|
|
1646
1757
|
phoneNumbers: 'PhoneNumbers',
|
|
@@ -1649,6 +1760,7 @@ class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
|
|
|
1649
1760
|
}
|
|
1650
1761
|
static types() {
|
|
1651
1762
|
return {
|
|
1763
|
+
accessDeniedDetail: 'string',
|
|
1652
1764
|
code: 'string',
|
|
1653
1765
|
message: 'string',
|
|
1654
1766
|
phoneNumbers: { 'type': 'array', 'itemType': QueryChatappPhoneNumbersResponseBodyPhoneNumbers },
|
|
@@ -1701,6 +1813,7 @@ class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1701
1813
|
}
|
|
1702
1814
|
static names() {
|
|
1703
1815
|
return {
|
|
1816
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1704
1817
|
code: 'Code',
|
|
1705
1818
|
data: 'Data',
|
|
1706
1819
|
message: 'Message',
|
|
@@ -1709,6 +1822,7 @@ class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1709
1822
|
}
|
|
1710
1823
|
static types() {
|
|
1711
1824
|
return {
|
|
1825
|
+
accessDeniedDetail: 'string',
|
|
1712
1826
|
code: 'string',
|
|
1713
1827
|
data: QueryPhoneBusinessProfileResponseBodyData,
|
|
1714
1828
|
message: 'string',
|
|
@@ -1761,6 +1875,7 @@ class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
1761
1875
|
}
|
|
1762
1876
|
static names() {
|
|
1763
1877
|
return {
|
|
1878
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1764
1879
|
code: 'Code',
|
|
1765
1880
|
data: 'Data',
|
|
1766
1881
|
message: 'Message',
|
|
@@ -1769,6 +1884,7 @@ class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
1769
1884
|
}
|
|
1770
1885
|
static types() {
|
|
1771
1886
|
return {
|
|
1887
|
+
accessDeniedDetail: 'string',
|
|
1772
1888
|
code: 'string',
|
|
1773
1889
|
data: QueryWabaBusinessInfoResponseBodyData,
|
|
1774
1890
|
message: 'string',
|
|
@@ -1891,6 +2007,7 @@ class SendChatappMassMessageResponseBody extends $tea.Model {
|
|
|
1891
2007
|
}
|
|
1892
2008
|
static names() {
|
|
1893
2009
|
return {
|
|
2010
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1894
2011
|
code: 'Code',
|
|
1895
2012
|
groupMessageId: 'GroupMessageId',
|
|
1896
2013
|
message: 'Message',
|
|
@@ -1899,6 +2016,7 @@ class SendChatappMassMessageResponseBody extends $tea.Model {
|
|
|
1899
2016
|
}
|
|
1900
2017
|
static types() {
|
|
1901
2018
|
return {
|
|
2019
|
+
accessDeniedDetail: 'string',
|
|
1902
2020
|
code: 'string',
|
|
1903
2021
|
groupMessageId: 'string',
|
|
1904
2022
|
message: 'string',
|
|
@@ -1947,6 +2065,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
1947
2065
|
language: 'Language',
|
|
1948
2066
|
messageType: 'MessageType',
|
|
1949
2067
|
payload: 'Payload',
|
|
2068
|
+
productAction: 'ProductAction',
|
|
1950
2069
|
tag: 'Tag',
|
|
1951
2070
|
taskId: 'TaskId',
|
|
1952
2071
|
templateCode: 'TemplateCode',
|
|
@@ -1973,6 +2092,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
1973
2092
|
language: 'string',
|
|
1974
2093
|
messageType: 'string',
|
|
1975
2094
|
payload: { 'type': 'array', 'itemType': 'string' },
|
|
2095
|
+
productAction: SendChatappMessageRequestProductAction,
|
|
1976
2096
|
tag: 'string',
|
|
1977
2097
|
taskId: 'string',
|
|
1978
2098
|
templateCode: 'string',
|
|
@@ -2005,6 +2125,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2005
2125
|
language: 'Language',
|
|
2006
2126
|
messageType: 'MessageType',
|
|
2007
2127
|
payloadShrink: 'Payload',
|
|
2128
|
+
productActionShrink: 'ProductAction',
|
|
2008
2129
|
tag: 'Tag',
|
|
2009
2130
|
taskId: 'TaskId',
|
|
2010
2131
|
templateCode: 'TemplateCode',
|
|
@@ -2031,6 +2152,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2031
2152
|
language: 'string',
|
|
2032
2153
|
messageType: 'string',
|
|
2033
2154
|
payloadShrink: 'string',
|
|
2155
|
+
productActionShrink: 'string',
|
|
2034
2156
|
tag: 'string',
|
|
2035
2157
|
taskId: 'string',
|
|
2036
2158
|
templateCode: 'string',
|
|
@@ -2119,6 +2241,7 @@ class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
|
|
|
2119
2241
|
}
|
|
2120
2242
|
static names() {
|
|
2121
2243
|
return {
|
|
2244
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2122
2245
|
code: 'Code',
|
|
2123
2246
|
message: 'Message',
|
|
2124
2247
|
requestId: 'RequestId',
|
|
@@ -2126,6 +2249,7 @@ class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
|
|
|
2126
2249
|
}
|
|
2127
2250
|
static types() {
|
|
2128
2251
|
return {
|
|
2252
|
+
accessDeniedDetail: 'string',
|
|
2129
2253
|
code: 'string',
|
|
2130
2254
|
message: 'string',
|
|
2131
2255
|
requestId: 'string',
|
|
@@ -2181,6 +2305,7 @@ class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
|
2181
2305
|
}
|
|
2182
2306
|
static names() {
|
|
2183
2307
|
return {
|
|
2308
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2184
2309
|
code: 'Code',
|
|
2185
2310
|
message: 'Message',
|
|
2186
2311
|
requestId: 'RequestId',
|
|
@@ -2188,6 +2313,7 @@ class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
|
2188
2313
|
}
|
|
2189
2314
|
static types() {
|
|
2190
2315
|
return {
|
|
2316
|
+
accessDeniedDetail: 'string',
|
|
2191
2317
|
code: 'string',
|
|
2192
2318
|
message: 'string',
|
|
2193
2319
|
requestId: 'string',
|
|
@@ -2247,6 +2373,7 @@ class UpdatePhoneWebhookResponseBody extends $tea.Model {
|
|
|
2247
2373
|
}
|
|
2248
2374
|
static names() {
|
|
2249
2375
|
return {
|
|
2376
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2250
2377
|
code: 'Code',
|
|
2251
2378
|
message: 'Message',
|
|
2252
2379
|
requestId: 'RequestId',
|
|
@@ -2254,6 +2381,7 @@ class UpdatePhoneWebhookResponseBody extends $tea.Model {
|
|
|
2254
2381
|
}
|
|
2255
2382
|
static types() {
|
|
2256
2383
|
return {
|
|
2384
|
+
accessDeniedDetail: 'string',
|
|
2257
2385
|
code: 'string',
|
|
2258
2386
|
message: 'string',
|
|
2259
2387
|
requestId: 'string',
|
|
@@ -2816,7 +2944,9 @@ class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
2816
2944
|
components: 'Components',
|
|
2817
2945
|
example: 'Example',
|
|
2818
2946
|
language: 'Language',
|
|
2947
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
2819
2948
|
name: 'Name',
|
|
2949
|
+
qualityScore: 'QualityScore',
|
|
2820
2950
|
templateCode: 'TemplateCode',
|
|
2821
2951
|
templateType: 'TemplateType',
|
|
2822
2952
|
};
|
|
@@ -2828,7 +2958,9 @@ class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
2828
2958
|
components: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponents },
|
|
2829
2959
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2830
2960
|
language: 'string',
|
|
2961
|
+
messageSendTtlSeconds: 'number',
|
|
2831
2962
|
name: 'string',
|
|
2963
|
+
qualityScore: 'string',
|
|
2832
2964
|
templateCode: 'string',
|
|
2833
2965
|
templateType: 'string',
|
|
2834
2966
|
};
|
|
@@ -2901,6 +3033,24 @@ class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model {
|
|
|
2901
3033
|
}
|
|
2902
3034
|
}
|
|
2903
3035
|
exports.GetPhoneNumberVerificationStatusResponseBodyData = GetPhoneNumberVerificationStatusResponseBodyData;
|
|
3036
|
+
class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
|
|
3037
|
+
constructor(map) {
|
|
3038
|
+
super(map);
|
|
3039
|
+
}
|
|
3040
|
+
static names() {
|
|
3041
|
+
return {
|
|
3042
|
+
phoneNumber: 'PhoneNumber',
|
|
3043
|
+
phoneNumberId: 'PhoneNumberId',
|
|
3044
|
+
};
|
|
3045
|
+
}
|
|
3046
|
+
static types() {
|
|
3047
|
+
return {
|
|
3048
|
+
phoneNumber: 'string',
|
|
3049
|
+
phoneNumberId: 'string',
|
|
3050
|
+
};
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
3053
|
+
exports.GetPreValidatePhoneIdResponseBodyData = GetPreValidatePhoneIdResponseBodyData;
|
|
2904
3054
|
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
2905
3055
|
constructor(map) {
|
|
2906
3056
|
super(map);
|
|
@@ -3143,6 +3293,58 @@ class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
|
|
|
3143
3293
|
}
|
|
3144
3294
|
}
|
|
3145
3295
|
exports.QueryWabaBusinessInfoResponseBodyData = QueryWabaBusinessInfoResponseBodyData;
|
|
3296
|
+
class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $tea.Model {
|
|
3297
|
+
constructor(map) {
|
|
3298
|
+
super(map);
|
|
3299
|
+
}
|
|
3300
|
+
static names() {
|
|
3301
|
+
return {
|
|
3302
|
+
productRetailerId: 'ProductRetailerId',
|
|
3303
|
+
};
|
|
3304
|
+
}
|
|
3305
|
+
static types() {
|
|
3306
|
+
return {
|
|
3307
|
+
productRetailerId: 'string',
|
|
3308
|
+
};
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = SendChatappMassMessageRequestSenderListProductActionSectionsProductItems;
|
|
3312
|
+
class SendChatappMassMessageRequestSenderListProductActionSections extends $tea.Model {
|
|
3313
|
+
constructor(map) {
|
|
3314
|
+
super(map);
|
|
3315
|
+
}
|
|
3316
|
+
static names() {
|
|
3317
|
+
return {
|
|
3318
|
+
productItems: 'ProductItems',
|
|
3319
|
+
title: 'Title',
|
|
3320
|
+
};
|
|
3321
|
+
}
|
|
3322
|
+
static types() {
|
|
3323
|
+
return {
|
|
3324
|
+
productItems: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderListProductActionSectionsProductItems },
|
|
3325
|
+
title: 'string',
|
|
3326
|
+
};
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
exports.SendChatappMassMessageRequestSenderListProductActionSections = SendChatappMassMessageRequestSenderListProductActionSections;
|
|
3330
|
+
class SendChatappMassMessageRequestSenderListProductAction extends $tea.Model {
|
|
3331
|
+
constructor(map) {
|
|
3332
|
+
super(map);
|
|
3333
|
+
}
|
|
3334
|
+
static names() {
|
|
3335
|
+
return {
|
|
3336
|
+
sections: 'Sections',
|
|
3337
|
+
thumbnailProductRetailerId: 'ThumbnailProductRetailerId',
|
|
3338
|
+
};
|
|
3339
|
+
}
|
|
3340
|
+
static types() {
|
|
3341
|
+
return {
|
|
3342
|
+
sections: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderListProductActionSections },
|
|
3343
|
+
thumbnailProductRetailerId: 'string',
|
|
3344
|
+
};
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
3347
|
+
exports.SendChatappMassMessageRequestSenderListProductAction = SendChatappMassMessageRequestSenderListProductAction;
|
|
3146
3348
|
class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
3147
3349
|
constructor(map) {
|
|
3148
3350
|
super(map);
|
|
@@ -3150,6 +3352,7 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
3150
3352
|
static names() {
|
|
3151
3353
|
return {
|
|
3152
3354
|
payload: 'Payload',
|
|
3355
|
+
productAction: 'ProductAction',
|
|
3153
3356
|
templateParams: 'TemplateParams',
|
|
3154
3357
|
to: 'To',
|
|
3155
3358
|
};
|
|
@@ -3157,12 +3360,65 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
3157
3360
|
static types() {
|
|
3158
3361
|
return {
|
|
3159
3362
|
payload: { 'type': 'array', 'itemType': 'string' },
|
|
3363
|
+
productAction: SendChatappMassMessageRequestSenderListProductAction,
|
|
3160
3364
|
templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3161
3365
|
to: 'string',
|
|
3162
3366
|
};
|
|
3163
3367
|
}
|
|
3164
3368
|
}
|
|
3165
3369
|
exports.SendChatappMassMessageRequestSenderList = SendChatappMassMessageRequestSenderList;
|
|
3370
|
+
class SendChatappMessageRequestProductActionSectionsProductItems extends $tea.Model {
|
|
3371
|
+
constructor(map) {
|
|
3372
|
+
super(map);
|
|
3373
|
+
}
|
|
3374
|
+
static names() {
|
|
3375
|
+
return {
|
|
3376
|
+
productRetailerId: 'ProductRetailerId',
|
|
3377
|
+
};
|
|
3378
|
+
}
|
|
3379
|
+
static types() {
|
|
3380
|
+
return {
|
|
3381
|
+
productRetailerId: 'string',
|
|
3382
|
+
};
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
exports.SendChatappMessageRequestProductActionSectionsProductItems = SendChatappMessageRequestProductActionSectionsProductItems;
|
|
3386
|
+
class SendChatappMessageRequestProductActionSections extends $tea.Model {
|
|
3387
|
+
constructor(map) {
|
|
3388
|
+
super(map);
|
|
3389
|
+
}
|
|
3390
|
+
static names() {
|
|
3391
|
+
return {
|
|
3392
|
+
productItems: 'ProductItems',
|
|
3393
|
+
title: 'Title',
|
|
3394
|
+
};
|
|
3395
|
+
}
|
|
3396
|
+
static types() {
|
|
3397
|
+
return {
|
|
3398
|
+
productItems: { 'type': 'array', 'itemType': SendChatappMessageRequestProductActionSectionsProductItems },
|
|
3399
|
+
title: 'string',
|
|
3400
|
+
};
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
exports.SendChatappMessageRequestProductActionSections = SendChatappMessageRequestProductActionSections;
|
|
3404
|
+
class SendChatappMessageRequestProductAction extends $tea.Model {
|
|
3405
|
+
constructor(map) {
|
|
3406
|
+
super(map);
|
|
3407
|
+
}
|
|
3408
|
+
static names() {
|
|
3409
|
+
return {
|
|
3410
|
+
sections: 'Sections',
|
|
3411
|
+
thumbnailProductRetailerId: 'ThumbnailProductRetailerId',
|
|
3412
|
+
};
|
|
3413
|
+
}
|
|
3414
|
+
static types() {
|
|
3415
|
+
return {
|
|
3416
|
+
sections: { 'type': 'array', 'itemType': SendChatappMessageRequestProductActionSections },
|
|
3417
|
+
thumbnailProductRetailerId: 'string',
|
|
3418
|
+
};
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
exports.SendChatappMessageRequestProductAction = SendChatappMessageRequestProductAction;
|
|
3166
3422
|
class Client extends openapi_client_1.default {
|
|
3167
3423
|
constructor(config) {
|
|
3168
3424
|
super(config);
|
|
@@ -3696,6 +3952,9 @@ class Client extends openapi_client_1.default {
|
|
|
3696
3952
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
3697
3953
|
body["Language"] = request.language;
|
|
3698
3954
|
}
|
|
3955
|
+
if (!tea_util_1.default.isUnset(request.messageSendTtlSeconds)) {
|
|
3956
|
+
body["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
3957
|
+
}
|
|
3699
3958
|
if (!tea_util_1.default.isUnset(request.name)) {
|
|
3700
3959
|
body["Name"] = request.name;
|
|
3701
3960
|
}
|
|
@@ -4009,8 +4268,37 @@ class Client extends openapi_client_1.default {
|
|
|
4009
4268
|
let runtime = new $Util.RuntimeOptions({});
|
|
4010
4269
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
4011
4270
|
}
|
|
4271
|
+
async getPreValidatePhoneIdWithOptions(request, runtime) {
|
|
4272
|
+
tea_util_1.default.validateModel(request);
|
|
4273
|
+
let body = {};
|
|
4274
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
4275
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
4276
|
+
}
|
|
4277
|
+
if (!tea_util_1.default.isUnset(request.verifyCode)) {
|
|
4278
|
+
body["VerifyCode"] = request.verifyCode;
|
|
4279
|
+
}
|
|
4280
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4281
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4282
|
+
});
|
|
4283
|
+
let params = new $OpenApi.Params({
|
|
4284
|
+
action: "GetPreValidatePhoneId",
|
|
4285
|
+
version: "2020-06-06",
|
|
4286
|
+
protocol: "HTTPS",
|
|
4287
|
+
pathname: "/",
|
|
4288
|
+
method: "POST",
|
|
4289
|
+
authType: "AK",
|
|
4290
|
+
style: "RPC",
|
|
4291
|
+
reqBodyType: "formData",
|
|
4292
|
+
bodyType: "json",
|
|
4293
|
+
});
|
|
4294
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetPreValidatePhoneIdResponse({}));
|
|
4295
|
+
}
|
|
4296
|
+
async getPreValidatePhoneId(request) {
|
|
4297
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4298
|
+
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
4299
|
+
}
|
|
4012
4300
|
/**
|
|
4013
|
-
*
|
|
4301
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4014
4302
|
*
|
|
4015
4303
|
* @param request IsvGetAppIdRequest
|
|
4016
4304
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4039,7 +4327,7 @@ class Client extends openapi_client_1.default {
|
|
|
4039
4327
|
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
4040
4328
|
}
|
|
4041
4329
|
/**
|
|
4042
|
-
*
|
|
4330
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4043
4331
|
*
|
|
4044
4332
|
* @param request IsvGetAppIdRequest
|
|
4045
4333
|
* @return IsvGetAppIdResponse
|
|
@@ -4154,6 +4442,9 @@ class Client extends openapi_client_1.default {
|
|
|
4154
4442
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
4155
4443
|
body["Language"] = request.language;
|
|
4156
4444
|
}
|
|
4445
|
+
if (!tea_util_1.default.isUnset(request.messageSendTtlSeconds)) {
|
|
4446
|
+
body["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
4447
|
+
}
|
|
4157
4448
|
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
4158
4449
|
body["TemplateCode"] = request.templateCode;
|
|
4159
4450
|
}
|
|
@@ -4187,7 +4478,7 @@ class Client extends openapi_client_1.default {
|
|
|
4187
4478
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
4188
4479
|
}
|
|
4189
4480
|
/**
|
|
4190
|
-
*
|
|
4481
|
+
* ModifyPhoneBusinessProfile
|
|
4191
4482
|
*
|
|
4192
4483
|
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
4193
4484
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4242,7 +4533,7 @@ class Client extends openapi_client_1.default {
|
|
|
4242
4533
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
|
|
4243
4534
|
}
|
|
4244
4535
|
/**
|
|
4245
|
-
*
|
|
4536
|
+
* ModifyPhoneBusinessProfile
|
|
4246
4537
|
*
|
|
4247
4538
|
* @param request ModifyPhoneBusinessProfileRequest
|
|
4248
4539
|
* @return ModifyPhoneBusinessProfileResponse
|
|
@@ -4521,6 +4812,9 @@ class Client extends openapi_client_1.default {
|
|
|
4521
4812
|
if (!tea_util_1.default.isUnset(tmpReq.payload)) {
|
|
4522
4813
|
request.payloadShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
|
|
4523
4814
|
}
|
|
4815
|
+
if (!tea_util_1.default.isUnset(tmpReq.productAction)) {
|
|
4816
|
+
request.productActionShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.productAction, "ProductAction", "json");
|
|
4817
|
+
}
|
|
4524
4818
|
if (!tea_util_1.default.isUnset(tmpReq.templateParams)) {
|
|
4525
4819
|
request.templateParamsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.templateParams, "TemplateParams", "json");
|
|
4526
4820
|
}
|
|
@@ -4568,6 +4862,9 @@ class Client extends openapi_client_1.default {
|
|
|
4568
4862
|
if (!tea_util_1.default.isUnset(request.messageType)) {
|
|
4569
4863
|
body["MessageType"] = request.messageType;
|
|
4570
4864
|
}
|
|
4865
|
+
if (!tea_util_1.default.isUnset(request.productActionShrink)) {
|
|
4866
|
+
body["ProductAction"] = request.productActionShrink;
|
|
4867
|
+
}
|
|
4571
4868
|
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
4572
4869
|
body["Tag"] = request.tag;
|
|
4573
4870
|
}
|