@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/src/client.ts
CHANGED
|
@@ -83,12 +83,14 @@ export class BeeBotAssociateShrinkRequest extends $tea.Model {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export class BeeBotAssociateResponseBody extends $tea.Model {
|
|
86
|
+
accessDeniedDetail?: string;
|
|
86
87
|
code?: string;
|
|
87
88
|
data?: BeeBotAssociateResponseBodyData;
|
|
88
89
|
message?: string;
|
|
89
90
|
requestId?: string;
|
|
90
91
|
static names(): { [key: string]: string } {
|
|
91
92
|
return {
|
|
93
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
92
94
|
code: 'Code',
|
|
93
95
|
data: 'Data',
|
|
94
96
|
message: 'Message',
|
|
@@ -98,6 +100,7 @@ export class BeeBotAssociateResponseBody extends $tea.Model {
|
|
|
98
100
|
|
|
99
101
|
static types(): { [key: string]: any } {
|
|
100
102
|
return {
|
|
103
|
+
accessDeniedDetail: 'string',
|
|
101
104
|
code: 'string',
|
|
102
105
|
data: BeeBotAssociateResponseBodyData,
|
|
103
106
|
message: 'string',
|
|
@@ -234,12 +237,14 @@ export class BeeBotChatShrinkRequest extends $tea.Model {
|
|
|
234
237
|
}
|
|
235
238
|
|
|
236
239
|
export class BeeBotChatResponseBody extends $tea.Model {
|
|
240
|
+
accessDeniedDetail?: string;
|
|
237
241
|
code?: string;
|
|
238
242
|
data?: BeeBotChatResponseBodyData;
|
|
239
243
|
message?: string;
|
|
240
244
|
requestId?: string;
|
|
241
245
|
static names(): { [key: string]: string } {
|
|
242
246
|
return {
|
|
247
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
243
248
|
code: 'Code',
|
|
244
249
|
data: 'Data',
|
|
245
250
|
message: 'Message',
|
|
@@ -249,6 +254,7 @@ export class BeeBotChatResponseBody extends $tea.Model {
|
|
|
249
254
|
|
|
250
255
|
static types(): { [key: string]: any } {
|
|
251
256
|
return {
|
|
257
|
+
accessDeniedDetail: 'string',
|
|
252
258
|
code: 'string',
|
|
253
259
|
data: BeeBotChatResponseBodyData,
|
|
254
260
|
message: 'string',
|
|
@@ -306,12 +312,14 @@ export class ChatappBindWabaRequest extends $tea.Model {
|
|
|
306
312
|
}
|
|
307
313
|
|
|
308
314
|
export class ChatappBindWabaResponseBody extends $tea.Model {
|
|
315
|
+
accessDeniedDetail?: string;
|
|
309
316
|
code?: string;
|
|
310
317
|
data?: ChatappBindWabaResponseBodyData;
|
|
311
318
|
message?: string;
|
|
312
319
|
requestId?: string;
|
|
313
320
|
static names(): { [key: string]: string } {
|
|
314
321
|
return {
|
|
322
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
315
323
|
code: 'Code',
|
|
316
324
|
data: 'Data',
|
|
317
325
|
message: 'Message',
|
|
@@ -321,6 +329,7 @@ export class ChatappBindWabaResponseBody extends $tea.Model {
|
|
|
321
329
|
|
|
322
330
|
static types(): { [key: string]: any } {
|
|
323
331
|
return {
|
|
332
|
+
accessDeniedDetail: 'string',
|
|
324
333
|
code: 'string',
|
|
325
334
|
data: ChatappBindWabaResponseBodyData,
|
|
326
335
|
message: 'string',
|
|
@@ -378,12 +387,14 @@ export class ChatappEmbedSignUpRequest extends $tea.Model {
|
|
|
378
387
|
}
|
|
379
388
|
|
|
380
389
|
export class ChatappEmbedSignUpResponseBody extends $tea.Model {
|
|
390
|
+
accessDeniedDetail?: string;
|
|
381
391
|
code?: string;
|
|
382
392
|
message?: string;
|
|
383
393
|
requestId?: string;
|
|
384
394
|
wabas?: ChatappEmbedSignUpResponseBodyWabas[];
|
|
385
395
|
static names(): { [key: string]: string } {
|
|
386
396
|
return {
|
|
397
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
387
398
|
code: 'Code',
|
|
388
399
|
message: 'Message',
|
|
389
400
|
requestId: 'RequestId',
|
|
@@ -393,6 +404,7 @@ export class ChatappEmbedSignUpResponseBody extends $tea.Model {
|
|
|
393
404
|
|
|
394
405
|
static types(): { [key: string]: any } {
|
|
395
406
|
return {
|
|
407
|
+
accessDeniedDetail: 'string',
|
|
396
408
|
code: 'string',
|
|
397
409
|
message: 'string',
|
|
398
410
|
requestId: 'string',
|
|
@@ -453,11 +465,13 @@ export class ChatappMigrationRegisterRequest extends $tea.Model {
|
|
|
453
465
|
}
|
|
454
466
|
|
|
455
467
|
export class ChatappMigrationRegisterResponseBody extends $tea.Model {
|
|
468
|
+
accessDeniedDetail?: string;
|
|
456
469
|
code?: string;
|
|
457
470
|
message?: string;
|
|
458
471
|
requestId?: string;
|
|
459
472
|
static names(): { [key: string]: string } {
|
|
460
473
|
return {
|
|
474
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
461
475
|
code: 'Code',
|
|
462
476
|
message: 'Message',
|
|
463
477
|
requestId: 'RequestId',
|
|
@@ -466,6 +480,7 @@ export class ChatappMigrationRegisterResponseBody extends $tea.Model {
|
|
|
466
480
|
|
|
467
481
|
static types(): { [key: string]: any } {
|
|
468
482
|
return {
|
|
483
|
+
accessDeniedDetail: 'string',
|
|
469
484
|
code: 'string',
|
|
470
485
|
message: 'string',
|
|
471
486
|
requestId: 'string',
|
|
@@ -528,12 +543,14 @@ export class ChatappMigrationVerifiedRequest extends $tea.Model {
|
|
|
528
543
|
}
|
|
529
544
|
|
|
530
545
|
export class ChatappMigrationVerifiedResponseBody extends $tea.Model {
|
|
546
|
+
accessDeniedDetail?: string;
|
|
531
547
|
code?: string;
|
|
532
548
|
data?: ChatappMigrationVerifiedResponseBodyData;
|
|
533
549
|
message?: string;
|
|
534
550
|
requestId?: string;
|
|
535
551
|
static names(): { [key: string]: string } {
|
|
536
552
|
return {
|
|
553
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
537
554
|
code: 'Code',
|
|
538
555
|
data: 'Data',
|
|
539
556
|
message: 'Message',
|
|
@@ -543,6 +560,7 @@ export class ChatappMigrationVerifiedResponseBody extends $tea.Model {
|
|
|
543
560
|
|
|
544
561
|
static types(): { [key: string]: any } {
|
|
545
562
|
return {
|
|
563
|
+
accessDeniedDetail: 'string',
|
|
546
564
|
code: 'string',
|
|
547
565
|
data: ChatappMigrationVerifiedResponseBodyData,
|
|
548
566
|
message: 'string',
|
|
@@ -603,11 +621,13 @@ export class ChatappPhoneNumberRegisterRequest extends $tea.Model {
|
|
|
603
621
|
}
|
|
604
622
|
|
|
605
623
|
export class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
624
|
+
accessDeniedDetail?: string;
|
|
606
625
|
code?: string;
|
|
607
626
|
message?: string;
|
|
608
627
|
requestId?: string;
|
|
609
628
|
static names(): { [key: string]: string } {
|
|
610
629
|
return {
|
|
630
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
611
631
|
code: 'Code',
|
|
612
632
|
message: 'Message',
|
|
613
633
|
requestId: 'RequestId',
|
|
@@ -616,6 +636,7 @@ export class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
|
|
|
616
636
|
|
|
617
637
|
static types(): { [key: string]: any } {
|
|
618
638
|
return {
|
|
639
|
+
accessDeniedDetail: 'string',
|
|
619
640
|
code: 'string',
|
|
620
641
|
message: 'string',
|
|
621
642
|
requestId: 'string',
|
|
@@ -672,12 +693,14 @@ export class ChatappSyncPhoneNumberRequest extends $tea.Model {
|
|
|
672
693
|
}
|
|
673
694
|
|
|
674
695
|
export class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
696
|
+
accessDeniedDetail?: string;
|
|
675
697
|
code?: string;
|
|
676
698
|
message?: string;
|
|
677
699
|
phoneNumbers?: ChatappSyncPhoneNumberResponseBodyPhoneNumbers[];
|
|
678
700
|
requestId?: string;
|
|
679
701
|
static names(): { [key: string]: string } {
|
|
680
702
|
return {
|
|
703
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
681
704
|
code: 'Code',
|
|
682
705
|
message: 'Message',
|
|
683
706
|
phoneNumbers: 'PhoneNumbers',
|
|
@@ -687,6 +710,7 @@ export class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
|
|
|
687
710
|
|
|
688
711
|
static types(): { [key: string]: any } {
|
|
689
712
|
return {
|
|
713
|
+
accessDeniedDetail: 'string',
|
|
690
714
|
code: 'string',
|
|
691
715
|
message: 'string',
|
|
692
716
|
phoneNumbers: { 'type': 'array', 'itemType': ChatappSyncPhoneNumberResponseBodyPhoneNumbers },
|
|
@@ -750,11 +774,13 @@ export class ChatappVerifyAndRegisterRequest extends $tea.Model {
|
|
|
750
774
|
}
|
|
751
775
|
|
|
752
776
|
export class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
777
|
+
accessDeniedDetail?: string;
|
|
753
778
|
code?: string;
|
|
754
779
|
message?: string;
|
|
755
780
|
requestId?: string;
|
|
756
781
|
static names(): { [key: string]: string } {
|
|
757
782
|
return {
|
|
783
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
758
784
|
code: 'Code',
|
|
759
785
|
message: 'Message',
|
|
760
786
|
requestId: 'RequestId',
|
|
@@ -763,6 +789,7 @@ export class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
|
|
|
763
789
|
|
|
764
790
|
static types(): { [key: string]: any } {
|
|
765
791
|
return {
|
|
792
|
+
accessDeniedDetail: 'string',
|
|
766
793
|
code: 'string',
|
|
767
794
|
message: 'string',
|
|
768
795
|
requestId: 'string',
|
|
@@ -825,12 +852,14 @@ export class CreateChatappMigrationInitiateRequest extends $tea.Model {
|
|
|
825
852
|
}
|
|
826
853
|
|
|
827
854
|
export class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
|
|
855
|
+
accessDeniedDetail?: string;
|
|
828
856
|
code?: string;
|
|
829
857
|
data?: CreateChatappMigrationInitiateResponseBodyData;
|
|
830
858
|
message?: string;
|
|
831
859
|
requestId?: string;
|
|
832
860
|
static names(): { [key: string]: string } {
|
|
833
861
|
return {
|
|
862
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
834
863
|
code: 'Code',
|
|
835
864
|
data: 'Data',
|
|
836
865
|
message: 'Message',
|
|
@@ -840,6 +869,7 @@ export class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
|
|
|
840
869
|
|
|
841
870
|
static types(): { [key: string]: any } {
|
|
842
871
|
return {
|
|
872
|
+
accessDeniedDetail: 'string',
|
|
843
873
|
code: 'string',
|
|
844
874
|
data: CreateChatappMigrationInitiateResponseBodyData,
|
|
845
875
|
message: 'string',
|
|
@@ -886,6 +916,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
886
916
|
example?: { [key: string]: string };
|
|
887
917
|
isvCode?: string;
|
|
888
918
|
language?: string;
|
|
919
|
+
messageSendTtlSeconds?: number;
|
|
889
920
|
name?: string;
|
|
890
921
|
templateType?: string;
|
|
891
922
|
static names(): { [key: string]: string } {
|
|
@@ -898,6 +929,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
898
929
|
example: 'Example',
|
|
899
930
|
isvCode: 'IsvCode',
|
|
900
931
|
language: 'Language',
|
|
932
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
901
933
|
name: 'Name',
|
|
902
934
|
templateType: 'TemplateType',
|
|
903
935
|
};
|
|
@@ -913,6 +945,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
913
945
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
914
946
|
isvCode: 'string',
|
|
915
947
|
language: 'string',
|
|
948
|
+
messageSendTtlSeconds: 'number',
|
|
916
949
|
name: 'string',
|
|
917
950
|
templateType: 'string',
|
|
918
951
|
};
|
|
@@ -932,6 +965,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
932
965
|
exampleShrink?: string;
|
|
933
966
|
isvCode?: string;
|
|
934
967
|
language?: string;
|
|
968
|
+
messageSendTtlSeconds?: number;
|
|
935
969
|
name?: string;
|
|
936
970
|
templateType?: string;
|
|
937
971
|
static names(): { [key: string]: string } {
|
|
@@ -944,6 +978,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
944
978
|
exampleShrink: 'Example',
|
|
945
979
|
isvCode: 'IsvCode',
|
|
946
980
|
language: 'Language',
|
|
981
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
947
982
|
name: 'Name',
|
|
948
983
|
templateType: 'TemplateType',
|
|
949
984
|
};
|
|
@@ -959,6 +994,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
959
994
|
exampleShrink: 'string',
|
|
960
995
|
isvCode: 'string',
|
|
961
996
|
language: 'string',
|
|
997
|
+
messageSendTtlSeconds: 'number',
|
|
962
998
|
name: 'string',
|
|
963
999
|
templateType: 'string',
|
|
964
1000
|
};
|
|
@@ -970,12 +1006,14 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
970
1006
|
}
|
|
971
1007
|
|
|
972
1008
|
export class CreateChatappTemplateResponseBody extends $tea.Model {
|
|
1009
|
+
accessDeniedDetail?: string;
|
|
973
1010
|
code?: string;
|
|
974
1011
|
data?: CreateChatappTemplateResponseBodyData;
|
|
975
1012
|
message?: string;
|
|
976
1013
|
requestId?: string;
|
|
977
1014
|
static names(): { [key: string]: string } {
|
|
978
1015
|
return {
|
|
1016
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
979
1017
|
code: 'Code',
|
|
980
1018
|
data: 'Data',
|
|
981
1019
|
message: 'Message',
|
|
@@ -985,6 +1023,7 @@ export class CreateChatappTemplateResponseBody extends $tea.Model {
|
|
|
985
1023
|
|
|
986
1024
|
static types(): { [key: string]: any } {
|
|
987
1025
|
return {
|
|
1026
|
+
accessDeniedDetail: 'string',
|
|
988
1027
|
code: 'string',
|
|
989
1028
|
data: CreateChatappTemplateResponseBodyData,
|
|
990
1029
|
message: 'string',
|
|
@@ -1051,11 +1090,13 @@ export class DeleteChatappTemplateRequest extends $tea.Model {
|
|
|
1051
1090
|
}
|
|
1052
1091
|
|
|
1053
1092
|
export class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
1093
|
+
accessDeniedDetail?: string;
|
|
1054
1094
|
code?: string;
|
|
1055
1095
|
message?: string;
|
|
1056
1096
|
requestId?: string;
|
|
1057
1097
|
static names(): { [key: string]: string } {
|
|
1058
1098
|
return {
|
|
1099
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1059
1100
|
code: 'Code',
|
|
1060
1101
|
message: 'Message',
|
|
1061
1102
|
requestId: 'RequestId',
|
|
@@ -1064,6 +1105,7 @@ export class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
|
1064
1105
|
|
|
1065
1106
|
static types(): { [key: string]: any } {
|
|
1066
1107
|
return {
|
|
1108
|
+
accessDeniedDetail: 'string',
|
|
1067
1109
|
code: 'string',
|
|
1068
1110
|
message: 'string',
|
|
1069
1111
|
requestId: 'string',
|
|
@@ -1135,12 +1177,14 @@ export class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
|
1135
1177
|
}
|
|
1136
1178
|
|
|
1137
1179
|
export class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
1180
|
+
accessDeniedDetail?: string;
|
|
1138
1181
|
code?: string;
|
|
1139
1182
|
data?: GetChatappTemplateDetailResponseBodyData;
|
|
1140
1183
|
message?: string;
|
|
1141
1184
|
requestId?: string;
|
|
1142
1185
|
static names(): { [key: string]: string } {
|
|
1143
1186
|
return {
|
|
1187
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1144
1188
|
code: 'Code',
|
|
1145
1189
|
data: 'Data',
|
|
1146
1190
|
message: 'Message',
|
|
@@ -1150,6 +1194,7 @@ export class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
|
1150
1194
|
|
|
1151
1195
|
static types(): { [key: string]: any } {
|
|
1152
1196
|
return {
|
|
1197
|
+
accessDeniedDetail: 'string',
|
|
1153
1198
|
code: 'string',
|
|
1154
1199
|
data: GetChatappTemplateDetailResponseBodyData,
|
|
1155
1200
|
message: 'string',
|
|
@@ -1207,12 +1252,14 @@ export class GetChatappUploadAuthorizationRequest extends $tea.Model {
|
|
|
1207
1252
|
}
|
|
1208
1253
|
|
|
1209
1254
|
export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
|
|
1255
|
+
accessDeniedDetail?: string;
|
|
1210
1256
|
code?: string;
|
|
1211
1257
|
data?: GetChatappUploadAuthorizationResponseBodyData;
|
|
1212
1258
|
message?: string;
|
|
1213
1259
|
requestId?: string;
|
|
1214
1260
|
static names(): { [key: string]: string } {
|
|
1215
1261
|
return {
|
|
1262
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1216
1263
|
code: 'Code',
|
|
1217
1264
|
data: 'Data',
|
|
1218
1265
|
message: 'Message',
|
|
@@ -1222,6 +1269,7 @@ export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
|
|
|
1222
1269
|
|
|
1223
1270
|
static types(): { [key: string]: any } {
|
|
1224
1271
|
return {
|
|
1272
|
+
accessDeniedDetail: 'string',
|
|
1225
1273
|
code: 'string',
|
|
1226
1274
|
data: GetChatappUploadAuthorizationResponseBodyData,
|
|
1227
1275
|
message: 'string',
|
|
@@ -1288,11 +1336,13 @@ export class GetChatappVerifyCodeRequest extends $tea.Model {
|
|
|
1288
1336
|
}
|
|
1289
1337
|
|
|
1290
1338
|
export class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
1339
|
+
accessDeniedDetail?: string;
|
|
1291
1340
|
code?: string;
|
|
1292
1341
|
message?: string;
|
|
1293
1342
|
requestId?: string;
|
|
1294
1343
|
static names(): { [key: string]: string } {
|
|
1295
1344
|
return {
|
|
1345
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1296
1346
|
code: 'Code',
|
|
1297
1347
|
message: 'Message',
|
|
1298
1348
|
requestId: 'RequestId',
|
|
@@ -1301,6 +1351,7 @@ export class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
1301
1351
|
|
|
1302
1352
|
static types(): { [key: string]: any } {
|
|
1303
1353
|
return {
|
|
1354
|
+
accessDeniedDetail: 'string',
|
|
1304
1355
|
code: 'string',
|
|
1305
1356
|
message: 'string',
|
|
1306
1357
|
requestId: 'string',
|
|
@@ -1366,12 +1417,14 @@ export class GetMigrationVerifyCodeRequest extends $tea.Model {
|
|
|
1366
1417
|
}
|
|
1367
1418
|
|
|
1368
1419
|
export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
1420
|
+
accessDeniedDetail?: string;
|
|
1369
1421
|
code?: string;
|
|
1370
1422
|
data?: GetMigrationVerifyCodeResponseBodyData;
|
|
1371
1423
|
message?: string;
|
|
1372
1424
|
requestId?: string;
|
|
1373
1425
|
static names(): { [key: string]: string } {
|
|
1374
1426
|
return {
|
|
1427
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1375
1428
|
code: 'Code',
|
|
1376
1429
|
data: 'Data',
|
|
1377
1430
|
message: 'Message',
|
|
@@ -1381,6 +1434,7 @@ export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
|
1381
1434
|
|
|
1382
1435
|
static types(): { [key: string]: any } {
|
|
1383
1436
|
return {
|
|
1437
|
+
accessDeniedDetail: 'string',
|
|
1384
1438
|
code: 'string',
|
|
1385
1439
|
data: GetMigrationVerifyCodeResponseBodyData,
|
|
1386
1440
|
message: 'string',
|
|
@@ -1493,6 +1547,81 @@ export class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
|
|
|
1493
1547
|
}
|
|
1494
1548
|
}
|
|
1495
1549
|
|
|
1550
|
+
export class GetPreValidatePhoneIdRequest extends $tea.Model {
|
|
1551
|
+
phoneNumber?: string;
|
|
1552
|
+
verifyCode?: string;
|
|
1553
|
+
static names(): { [key: string]: string } {
|
|
1554
|
+
return {
|
|
1555
|
+
phoneNumber: 'PhoneNumber',
|
|
1556
|
+
verifyCode: 'VerifyCode',
|
|
1557
|
+
};
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
static types(): { [key: string]: any } {
|
|
1561
|
+
return {
|
|
1562
|
+
phoneNumber: 'string',
|
|
1563
|
+
verifyCode: 'string',
|
|
1564
|
+
};
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
constructor(map?: { [key: string]: any }) {
|
|
1568
|
+
super(map);
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
export class GetPreValidatePhoneIdResponseBody extends $tea.Model {
|
|
1573
|
+
code?: string;
|
|
1574
|
+
data?: GetPreValidatePhoneIdResponseBodyData;
|
|
1575
|
+
message?: string;
|
|
1576
|
+
requestId?: string;
|
|
1577
|
+
static names(): { [key: string]: string } {
|
|
1578
|
+
return {
|
|
1579
|
+
code: 'Code',
|
|
1580
|
+
data: 'Data',
|
|
1581
|
+
message: 'Message',
|
|
1582
|
+
requestId: 'RequestId',
|
|
1583
|
+
};
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
static types(): { [key: string]: any } {
|
|
1587
|
+
return {
|
|
1588
|
+
code: 'string',
|
|
1589
|
+
data: GetPreValidatePhoneIdResponseBodyData,
|
|
1590
|
+
message: 'string',
|
|
1591
|
+
requestId: 'string',
|
|
1592
|
+
};
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
constructor(map?: { [key: string]: any }) {
|
|
1596
|
+
super(map);
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
export class GetPreValidatePhoneIdResponse extends $tea.Model {
|
|
1601
|
+
headers: { [key: string]: string };
|
|
1602
|
+
statusCode: number;
|
|
1603
|
+
body: GetPreValidatePhoneIdResponseBody;
|
|
1604
|
+
static names(): { [key: string]: string } {
|
|
1605
|
+
return {
|
|
1606
|
+
headers: 'headers',
|
|
1607
|
+
statusCode: 'statusCode',
|
|
1608
|
+
body: 'body',
|
|
1609
|
+
};
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
static types(): { [key: string]: any } {
|
|
1613
|
+
return {
|
|
1614
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1615
|
+
statusCode: 'number',
|
|
1616
|
+
body: GetPreValidatePhoneIdResponseBody,
|
|
1617
|
+
};
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
constructor(map?: { [key: string]: any }) {
|
|
1621
|
+
super(map);
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1496
1625
|
export class IsvGetAppIdRequest extends $tea.Model {
|
|
1497
1626
|
type?: string;
|
|
1498
1627
|
static names(): { [key: string]: string } {
|
|
@@ -1513,12 +1642,14 @@ export class IsvGetAppIdRequest extends $tea.Model {
|
|
|
1513
1642
|
}
|
|
1514
1643
|
|
|
1515
1644
|
export class IsvGetAppIdResponseBody extends $tea.Model {
|
|
1645
|
+
accessDeniedDetail?: string;
|
|
1516
1646
|
appId?: string;
|
|
1517
1647
|
code?: string;
|
|
1518
1648
|
message?: string;
|
|
1519
1649
|
requestId?: string;
|
|
1520
1650
|
static names(): { [key: string]: string } {
|
|
1521
1651
|
return {
|
|
1652
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1522
1653
|
appId: 'AppId',
|
|
1523
1654
|
code: 'Code',
|
|
1524
1655
|
message: 'Message',
|
|
@@ -1528,6 +1659,7 @@ export class IsvGetAppIdResponseBody extends $tea.Model {
|
|
|
1528
1659
|
|
|
1529
1660
|
static types(): { [key: string]: any } {
|
|
1530
1661
|
return {
|
|
1662
|
+
accessDeniedDetail: 'string',
|
|
1531
1663
|
appId: 'string',
|
|
1532
1664
|
code: 'string',
|
|
1533
1665
|
message: 'string',
|
|
@@ -1646,6 +1778,7 @@ export class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1646
1778
|
}
|
|
1647
1779
|
|
|
1648
1780
|
export class ListChatappTemplateResponseBody extends $tea.Model {
|
|
1781
|
+
accessDeniedDetail?: string;
|
|
1649
1782
|
code?: string;
|
|
1650
1783
|
listTemplate?: ListChatappTemplateResponseBodyListTemplate[];
|
|
1651
1784
|
message?: string;
|
|
@@ -1653,6 +1786,7 @@ export class ListChatappTemplateResponseBody extends $tea.Model {
|
|
|
1653
1786
|
total?: number;
|
|
1654
1787
|
static names(): { [key: string]: string } {
|
|
1655
1788
|
return {
|
|
1789
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1656
1790
|
code: 'Code',
|
|
1657
1791
|
listTemplate: 'ListTemplate',
|
|
1658
1792
|
message: 'Message',
|
|
@@ -1663,6 +1797,7 @@ export class ListChatappTemplateResponseBody extends $tea.Model {
|
|
|
1663
1797
|
|
|
1664
1798
|
static types(): { [key: string]: any } {
|
|
1665
1799
|
return {
|
|
1800
|
+
accessDeniedDetail: 'string',
|
|
1666
1801
|
code: 'string',
|
|
1667
1802
|
listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
|
|
1668
1803
|
message: 'string',
|
|
@@ -1709,6 +1844,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
|
|
|
1709
1844
|
example?: { [key: string]: string };
|
|
1710
1845
|
isvCode?: string;
|
|
1711
1846
|
language?: string;
|
|
1847
|
+
messageSendTtlSeconds?: number;
|
|
1712
1848
|
templateCode?: string;
|
|
1713
1849
|
templateType?: string;
|
|
1714
1850
|
static names(): { [key: string]: string } {
|
|
@@ -1720,6 +1856,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
|
|
|
1720
1856
|
example: 'Example',
|
|
1721
1857
|
isvCode: 'IsvCode',
|
|
1722
1858
|
language: 'Language',
|
|
1859
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
1723
1860
|
templateCode: 'TemplateCode',
|
|
1724
1861
|
templateType: 'TemplateType',
|
|
1725
1862
|
};
|
|
@@ -1734,6 +1871,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
|
|
|
1734
1871
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1735
1872
|
isvCode: 'string',
|
|
1736
1873
|
language: 'string',
|
|
1874
|
+
messageSendTtlSeconds: 'number',
|
|
1737
1875
|
templateCode: 'string',
|
|
1738
1876
|
templateType: 'string',
|
|
1739
1877
|
};
|
|
@@ -1752,6 +1890,7 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1752
1890
|
exampleShrink?: string;
|
|
1753
1891
|
isvCode?: string;
|
|
1754
1892
|
language?: string;
|
|
1893
|
+
messageSendTtlSeconds?: number;
|
|
1755
1894
|
templateCode?: string;
|
|
1756
1895
|
templateType?: string;
|
|
1757
1896
|
static names(): { [key: string]: string } {
|
|
@@ -1763,6 +1902,7 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1763
1902
|
exampleShrink: 'Example',
|
|
1764
1903
|
isvCode: 'IsvCode',
|
|
1765
1904
|
language: 'Language',
|
|
1905
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
1766
1906
|
templateCode: 'TemplateCode',
|
|
1767
1907
|
templateType: 'TemplateType',
|
|
1768
1908
|
};
|
|
@@ -1777,6 +1917,7 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1777
1917
|
exampleShrink: 'string',
|
|
1778
1918
|
isvCode: 'string',
|
|
1779
1919
|
language: 'string',
|
|
1920
|
+
messageSendTtlSeconds: 'number',
|
|
1780
1921
|
templateCode: 'string',
|
|
1781
1922
|
templateType: 'string',
|
|
1782
1923
|
};
|
|
@@ -1788,12 +1929,14 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
1788
1929
|
}
|
|
1789
1930
|
|
|
1790
1931
|
export class ModifyChatappTemplateResponseBody extends $tea.Model {
|
|
1932
|
+
accessDeniedDetail?: string;
|
|
1791
1933
|
code?: string;
|
|
1792
1934
|
data?: ModifyChatappTemplateResponseBodyData;
|
|
1793
1935
|
message?: string;
|
|
1794
1936
|
requestId?: string;
|
|
1795
1937
|
static names(): { [key: string]: string } {
|
|
1796
1938
|
return {
|
|
1939
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1797
1940
|
code: 'Code',
|
|
1798
1941
|
data: 'Data',
|
|
1799
1942
|
message: 'Message',
|
|
@@ -1803,6 +1946,7 @@ export class ModifyChatappTemplateResponseBody extends $tea.Model {
|
|
|
1803
1946
|
|
|
1804
1947
|
static types(): { [key: string]: any } {
|
|
1805
1948
|
return {
|
|
1949
|
+
accessDeniedDetail: 'string',
|
|
1806
1950
|
code: 'string',
|
|
1807
1951
|
data: ModifyChatappTemplateResponseBodyData,
|
|
1808
1952
|
message: 'string',
|
|
@@ -1921,11 +2065,13 @@ export class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
1921
2065
|
}
|
|
1922
2066
|
|
|
1923
2067
|
export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
2068
|
+
accessDeniedDetail?: string;
|
|
1924
2069
|
code?: string;
|
|
1925
2070
|
message?: string;
|
|
1926
2071
|
requestId?: string;
|
|
1927
2072
|
static names(): { [key: string]: string } {
|
|
1928
2073
|
return {
|
|
2074
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1929
2075
|
code: 'Code',
|
|
1930
2076
|
message: 'Message',
|
|
1931
2077
|
requestId: 'RequestId',
|
|
@@ -1934,6 +2080,7 @@ export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
1934
2080
|
|
|
1935
2081
|
static types(): { [key: string]: any } {
|
|
1936
2082
|
return {
|
|
2083
|
+
accessDeniedDetail: 'string',
|
|
1937
2084
|
code: 'string',
|
|
1938
2085
|
message: 'string',
|
|
1939
2086
|
requestId: 'string',
|
|
@@ -1993,12 +2140,14 @@ export class QueryChatappBindWabaRequest extends $tea.Model {
|
|
|
1993
2140
|
}
|
|
1994
2141
|
|
|
1995
2142
|
export class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
2143
|
+
accessDeniedDetail?: string;
|
|
1996
2144
|
code?: string;
|
|
1997
2145
|
data?: QueryChatappBindWabaResponseBodyData;
|
|
1998
2146
|
message?: string;
|
|
1999
2147
|
requestId?: string;
|
|
2000
2148
|
static names(): { [key: string]: string } {
|
|
2001
2149
|
return {
|
|
2150
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2002
2151
|
code: 'Code',
|
|
2003
2152
|
data: 'Data',
|
|
2004
2153
|
message: 'Message',
|
|
@@ -2008,6 +2157,7 @@ export class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
2008
2157
|
|
|
2009
2158
|
static types(): { [key: string]: any } {
|
|
2010
2159
|
return {
|
|
2160
|
+
accessDeniedDetail: 'string',
|
|
2011
2161
|
code: 'string',
|
|
2012
2162
|
data: QueryChatappBindWabaResponseBodyData,
|
|
2013
2163
|
message: 'string',
|
|
@@ -2068,12 +2218,14 @@ export class QueryChatappPhoneNumbersRequest extends $tea.Model {
|
|
|
2068
2218
|
}
|
|
2069
2219
|
|
|
2070
2220
|
export class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
|
|
2221
|
+
accessDeniedDetail?: string;
|
|
2071
2222
|
code?: string;
|
|
2072
2223
|
message?: string;
|
|
2073
2224
|
phoneNumbers?: QueryChatappPhoneNumbersResponseBodyPhoneNumbers[];
|
|
2074
2225
|
requestId?: string;
|
|
2075
2226
|
static names(): { [key: string]: string } {
|
|
2076
2227
|
return {
|
|
2228
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2077
2229
|
code: 'Code',
|
|
2078
2230
|
message: 'Message',
|
|
2079
2231
|
phoneNumbers: 'PhoneNumbers',
|
|
@@ -2083,6 +2235,7 @@ export class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
|
|
|
2083
2235
|
|
|
2084
2236
|
static types(): { [key: string]: any } {
|
|
2085
2237
|
return {
|
|
2238
|
+
accessDeniedDetail: 'string',
|
|
2086
2239
|
code: 'string',
|
|
2087
2240
|
message: 'string',
|
|
2088
2241
|
phoneNumbers: { 'type': 'array', 'itemType': QueryChatappPhoneNumbersResponseBodyPhoneNumbers },
|
|
@@ -2143,12 +2296,14 @@ export class QueryPhoneBusinessProfileRequest extends $tea.Model {
|
|
|
2143
2296
|
}
|
|
2144
2297
|
|
|
2145
2298
|
export class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
2299
|
+
accessDeniedDetail?: string;
|
|
2146
2300
|
code?: string;
|
|
2147
2301
|
data?: QueryPhoneBusinessProfileResponseBodyData;
|
|
2148
2302
|
message?: string;
|
|
2149
2303
|
requestId?: string;
|
|
2150
2304
|
static names(): { [key: string]: string } {
|
|
2151
2305
|
return {
|
|
2306
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2152
2307
|
code: 'Code',
|
|
2153
2308
|
data: 'Data',
|
|
2154
2309
|
message: 'Message',
|
|
@@ -2158,6 +2313,7 @@ export class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
2158
2313
|
|
|
2159
2314
|
static types(): { [key: string]: any } {
|
|
2160
2315
|
return {
|
|
2316
|
+
accessDeniedDetail: 'string',
|
|
2161
2317
|
code: 'string',
|
|
2162
2318
|
data: QueryPhoneBusinessProfileResponseBodyData,
|
|
2163
2319
|
message: 'string',
|
|
@@ -2218,12 +2374,14 @@ export class QueryWabaBusinessInfoRequest extends $tea.Model {
|
|
|
2218
2374
|
}
|
|
2219
2375
|
|
|
2220
2376
|
export class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
2377
|
+
accessDeniedDetail?: string;
|
|
2221
2378
|
code?: string;
|
|
2222
2379
|
data?: QueryWabaBusinessInfoResponseBodyData;
|
|
2223
2380
|
message?: string;
|
|
2224
2381
|
requestId?: string;
|
|
2225
2382
|
static names(): { [key: string]: string } {
|
|
2226
2383
|
return {
|
|
2384
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2227
2385
|
code: 'Code',
|
|
2228
2386
|
data: 'Data',
|
|
2229
2387
|
message: 'Message',
|
|
@@ -2233,6 +2391,7 @@ export class QueryWabaBusinessInfoResponseBody extends $tea.Model {
|
|
|
2233
2391
|
|
|
2234
2392
|
static types(): { [key: string]: any } {
|
|
2235
2393
|
return {
|
|
2394
|
+
accessDeniedDetail: 'string',
|
|
2236
2395
|
code: 'string',
|
|
2237
2396
|
data: QueryWabaBusinessInfoResponseBodyData,
|
|
2238
2397
|
message: 'string',
|
|
@@ -2393,12 +2552,14 @@ export class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
2393
2552
|
}
|
|
2394
2553
|
|
|
2395
2554
|
export class SendChatappMassMessageResponseBody extends $tea.Model {
|
|
2555
|
+
accessDeniedDetail?: string;
|
|
2396
2556
|
code?: string;
|
|
2397
2557
|
groupMessageId?: string;
|
|
2398
2558
|
message?: string;
|
|
2399
2559
|
requestId?: string;
|
|
2400
2560
|
static names(): { [key: string]: string } {
|
|
2401
2561
|
return {
|
|
2562
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2402
2563
|
code: 'Code',
|
|
2403
2564
|
groupMessageId: 'GroupMessageId',
|
|
2404
2565
|
message: 'Message',
|
|
@@ -2408,6 +2569,7 @@ export class SendChatappMassMessageResponseBody extends $tea.Model {
|
|
|
2408
2569
|
|
|
2409
2570
|
static types(): { [key: string]: any } {
|
|
2410
2571
|
return {
|
|
2572
|
+
accessDeniedDetail: 'string',
|
|
2411
2573
|
code: 'string',
|
|
2412
2574
|
groupMessageId: 'string',
|
|
2413
2575
|
message: 'string',
|
|
@@ -2460,6 +2622,7 @@ export class SendChatappMessageRequest extends $tea.Model {
|
|
|
2460
2622
|
language?: string;
|
|
2461
2623
|
messageType?: string;
|
|
2462
2624
|
payload?: string[];
|
|
2625
|
+
productAction?: SendChatappMessageRequestProductAction;
|
|
2463
2626
|
tag?: string;
|
|
2464
2627
|
taskId?: string;
|
|
2465
2628
|
templateCode?: string;
|
|
@@ -2484,6 +2647,7 @@ export class SendChatappMessageRequest extends $tea.Model {
|
|
|
2484
2647
|
language: 'Language',
|
|
2485
2648
|
messageType: 'MessageType',
|
|
2486
2649
|
payload: 'Payload',
|
|
2650
|
+
productAction: 'ProductAction',
|
|
2487
2651
|
tag: 'Tag',
|
|
2488
2652
|
taskId: 'TaskId',
|
|
2489
2653
|
templateCode: 'TemplateCode',
|
|
@@ -2511,6 +2675,7 @@ export class SendChatappMessageRequest extends $tea.Model {
|
|
|
2511
2675
|
language: 'string',
|
|
2512
2676
|
messageType: 'string',
|
|
2513
2677
|
payload: { 'type': 'array', 'itemType': 'string' },
|
|
2678
|
+
productAction: SendChatappMessageRequestProductAction,
|
|
2514
2679
|
tag: 'string',
|
|
2515
2680
|
taskId: 'string',
|
|
2516
2681
|
templateCode: 'string',
|
|
@@ -2542,6 +2707,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2542
2707
|
language?: string;
|
|
2543
2708
|
messageType?: string;
|
|
2544
2709
|
payloadShrink?: string;
|
|
2710
|
+
productActionShrink?: string;
|
|
2545
2711
|
tag?: string;
|
|
2546
2712
|
taskId?: string;
|
|
2547
2713
|
templateCode?: string;
|
|
@@ -2566,6 +2732,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2566
2732
|
language: 'Language',
|
|
2567
2733
|
messageType: 'MessageType',
|
|
2568
2734
|
payloadShrink: 'Payload',
|
|
2735
|
+
productActionShrink: 'ProductAction',
|
|
2569
2736
|
tag: 'Tag',
|
|
2570
2737
|
taskId: 'TaskId',
|
|
2571
2738
|
templateCode: 'TemplateCode',
|
|
@@ -2593,6 +2760,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2593
2760
|
language: 'string',
|
|
2594
2761
|
messageType: 'string',
|
|
2595
2762
|
payloadShrink: 'string',
|
|
2763
|
+
productActionShrink: 'string',
|
|
2596
2764
|
tag: 'string',
|
|
2597
2765
|
taskId: 'string',
|
|
2598
2766
|
templateCode: 'string',
|
|
@@ -2700,11 +2868,13 @@ export class SubmitIsvCustomerTermsRequest extends $tea.Model {
|
|
|
2700
2868
|
}
|
|
2701
2869
|
|
|
2702
2870
|
export class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
|
|
2871
|
+
accessDeniedDetail?: string;
|
|
2703
2872
|
code?: string;
|
|
2704
2873
|
message?: string;
|
|
2705
2874
|
requestId?: string;
|
|
2706
2875
|
static names(): { [key: string]: string } {
|
|
2707
2876
|
return {
|
|
2877
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2708
2878
|
code: 'Code',
|
|
2709
2879
|
message: 'Message',
|
|
2710
2880
|
requestId: 'RequestId',
|
|
@@ -2713,6 +2883,7 @@ export class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
|
|
|
2713
2883
|
|
|
2714
2884
|
static types(): { [key: string]: any } {
|
|
2715
2885
|
return {
|
|
2886
|
+
accessDeniedDetail: 'string',
|
|
2716
2887
|
code: 'string',
|
|
2717
2888
|
message: 'string',
|
|
2718
2889
|
requestId: 'string',
|
|
@@ -2778,11 +2949,13 @@ export class UpdateAccountWebhookRequest extends $tea.Model {
|
|
|
2778
2949
|
}
|
|
2779
2950
|
|
|
2780
2951
|
export class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
2952
|
+
accessDeniedDetail?: string;
|
|
2781
2953
|
code?: string;
|
|
2782
2954
|
message?: string;
|
|
2783
2955
|
requestId?: string;
|
|
2784
2956
|
static names(): { [key: string]: string } {
|
|
2785
2957
|
return {
|
|
2958
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2786
2959
|
code: 'Code',
|
|
2787
2960
|
message: 'Message',
|
|
2788
2961
|
requestId: 'RequestId',
|
|
@@ -2791,6 +2964,7 @@ export class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
|
2791
2964
|
|
|
2792
2965
|
static types(): { [key: string]: any } {
|
|
2793
2966
|
return {
|
|
2967
|
+
accessDeniedDetail: 'string',
|
|
2794
2968
|
code: 'string',
|
|
2795
2969
|
message: 'string',
|
|
2796
2970
|
requestId: 'string',
|
|
@@ -2862,11 +3036,13 @@ export class UpdatePhoneWebhookRequest extends $tea.Model {
|
|
|
2862
3036
|
}
|
|
2863
3037
|
|
|
2864
3038
|
export class UpdatePhoneWebhookResponseBody extends $tea.Model {
|
|
3039
|
+
accessDeniedDetail?: string;
|
|
2865
3040
|
code?: string;
|
|
2866
3041
|
message?: string;
|
|
2867
3042
|
requestId?: string;
|
|
2868
3043
|
static names(): { [key: string]: string } {
|
|
2869
3044
|
return {
|
|
3045
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2870
3046
|
code: 'Code',
|
|
2871
3047
|
message: 'Message',
|
|
2872
3048
|
requestId: 'RequestId',
|
|
@@ -2875,6 +3051,7 @@ export class UpdatePhoneWebhookResponseBody extends $tea.Model {
|
|
|
2875
3051
|
|
|
2876
3052
|
static types(): { [key: string]: any } {
|
|
2877
3053
|
return {
|
|
3054
|
+
accessDeniedDetail: 'string',
|
|
2878
3055
|
code: 'string',
|
|
2879
3056
|
message: 'string',
|
|
2880
3057
|
requestId: 'string',
|
|
@@ -3603,7 +3780,9 @@ export class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
3603
3780
|
components?: GetChatappTemplateDetailResponseBodyDataComponents[];
|
|
3604
3781
|
example?: { [key: string]: string };
|
|
3605
3782
|
language?: string;
|
|
3783
|
+
messageSendTtlSeconds?: number;
|
|
3606
3784
|
name?: string;
|
|
3785
|
+
qualityScore?: string;
|
|
3607
3786
|
templateCode?: string;
|
|
3608
3787
|
templateType?: string;
|
|
3609
3788
|
static names(): { [key: string]: string } {
|
|
@@ -3613,7 +3792,9 @@ export class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
3613
3792
|
components: 'Components',
|
|
3614
3793
|
example: 'Example',
|
|
3615
3794
|
language: 'Language',
|
|
3795
|
+
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
3616
3796
|
name: 'Name',
|
|
3797
|
+
qualityScore: 'QualityScore',
|
|
3617
3798
|
templateCode: 'TemplateCode',
|
|
3618
3799
|
templateType: 'TemplateType',
|
|
3619
3800
|
};
|
|
@@ -3626,7 +3807,9 @@ export class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
3626
3807
|
components: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponents },
|
|
3627
3808
|
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3628
3809
|
language: 'string',
|
|
3810
|
+
messageSendTtlSeconds: 'number',
|
|
3629
3811
|
name: 'string',
|
|
3812
|
+
qualityScore: 'string',
|
|
3630
3813
|
templateCode: 'string',
|
|
3631
3814
|
templateType: 'string',
|
|
3632
3815
|
};
|
|
@@ -3721,6 +3904,28 @@ export class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model
|
|
|
3721
3904
|
}
|
|
3722
3905
|
}
|
|
3723
3906
|
|
|
3907
|
+
export class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
|
|
3908
|
+
phoneNumber?: string;
|
|
3909
|
+
phoneNumberId?: string;
|
|
3910
|
+
static names(): { [key: string]: string } {
|
|
3911
|
+
return {
|
|
3912
|
+
phoneNumber: 'PhoneNumber',
|
|
3913
|
+
phoneNumberId: 'PhoneNumberId',
|
|
3914
|
+
};
|
|
3915
|
+
}
|
|
3916
|
+
|
|
3917
|
+
static types(): { [key: string]: any } {
|
|
3918
|
+
return {
|
|
3919
|
+
phoneNumber: 'string',
|
|
3920
|
+
phoneNumberId: 'string',
|
|
3921
|
+
};
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3924
|
+
constructor(map?: { [key: string]: any }) {
|
|
3925
|
+
super(map);
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3724
3929
|
export class ListChatappTemplateRequestPage extends $tea.Model {
|
|
3725
3930
|
index?: number;
|
|
3726
3931
|
size?: number;
|
|
@@ -4039,13 +4244,78 @@ export class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
|
|
|
4039
4244
|
}
|
|
4040
4245
|
}
|
|
4041
4246
|
|
|
4247
|
+
export class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $tea.Model {
|
|
4248
|
+
productRetailerId?: string;
|
|
4249
|
+
static names(): { [key: string]: string } {
|
|
4250
|
+
return {
|
|
4251
|
+
productRetailerId: 'ProductRetailerId',
|
|
4252
|
+
};
|
|
4253
|
+
}
|
|
4254
|
+
|
|
4255
|
+
static types(): { [key: string]: any } {
|
|
4256
|
+
return {
|
|
4257
|
+
productRetailerId: 'string',
|
|
4258
|
+
};
|
|
4259
|
+
}
|
|
4260
|
+
|
|
4261
|
+
constructor(map?: { [key: string]: any }) {
|
|
4262
|
+
super(map);
|
|
4263
|
+
}
|
|
4264
|
+
}
|
|
4265
|
+
|
|
4266
|
+
export class SendChatappMassMessageRequestSenderListProductActionSections extends $tea.Model {
|
|
4267
|
+
productItems?: SendChatappMassMessageRequestSenderListProductActionSectionsProductItems[];
|
|
4268
|
+
title?: string;
|
|
4269
|
+
static names(): { [key: string]: string } {
|
|
4270
|
+
return {
|
|
4271
|
+
productItems: 'ProductItems',
|
|
4272
|
+
title: 'Title',
|
|
4273
|
+
};
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4276
|
+
static types(): { [key: string]: any } {
|
|
4277
|
+
return {
|
|
4278
|
+
productItems: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderListProductActionSectionsProductItems },
|
|
4279
|
+
title: 'string',
|
|
4280
|
+
};
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4283
|
+
constructor(map?: { [key: string]: any }) {
|
|
4284
|
+
super(map);
|
|
4285
|
+
}
|
|
4286
|
+
}
|
|
4287
|
+
|
|
4288
|
+
export class SendChatappMassMessageRequestSenderListProductAction extends $tea.Model {
|
|
4289
|
+
sections?: SendChatappMassMessageRequestSenderListProductActionSections[];
|
|
4290
|
+
thumbnailProductRetailerId?: string;
|
|
4291
|
+
static names(): { [key: string]: string } {
|
|
4292
|
+
return {
|
|
4293
|
+
sections: 'Sections',
|
|
4294
|
+
thumbnailProductRetailerId: 'ThumbnailProductRetailerId',
|
|
4295
|
+
};
|
|
4296
|
+
}
|
|
4297
|
+
|
|
4298
|
+
static types(): { [key: string]: any } {
|
|
4299
|
+
return {
|
|
4300
|
+
sections: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderListProductActionSections },
|
|
4301
|
+
thumbnailProductRetailerId: 'string',
|
|
4302
|
+
};
|
|
4303
|
+
}
|
|
4304
|
+
|
|
4305
|
+
constructor(map?: { [key: string]: any }) {
|
|
4306
|
+
super(map);
|
|
4307
|
+
}
|
|
4308
|
+
}
|
|
4309
|
+
|
|
4042
4310
|
export class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
4043
4311
|
payload?: string[];
|
|
4312
|
+
productAction?: SendChatappMassMessageRequestSenderListProductAction;
|
|
4044
4313
|
templateParams?: { [key: string]: string };
|
|
4045
4314
|
to?: string;
|
|
4046
4315
|
static names(): { [key: string]: string } {
|
|
4047
4316
|
return {
|
|
4048
4317
|
payload: 'Payload',
|
|
4318
|
+
productAction: 'ProductAction',
|
|
4049
4319
|
templateParams: 'TemplateParams',
|
|
4050
4320
|
to: 'To',
|
|
4051
4321
|
};
|
|
@@ -4054,6 +4324,7 @@ export class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
4054
4324
|
static types(): { [key: string]: any } {
|
|
4055
4325
|
return {
|
|
4056
4326
|
payload: { 'type': 'array', 'itemType': 'string' },
|
|
4327
|
+
productAction: SendChatappMassMessageRequestSenderListProductAction,
|
|
4057
4328
|
templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4058
4329
|
to: 'string',
|
|
4059
4330
|
};
|
|
@@ -4064,6 +4335,69 @@ export class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
4064
4335
|
}
|
|
4065
4336
|
}
|
|
4066
4337
|
|
|
4338
|
+
export class SendChatappMessageRequestProductActionSectionsProductItems extends $tea.Model {
|
|
4339
|
+
productRetailerId?: string;
|
|
4340
|
+
static names(): { [key: string]: string } {
|
|
4341
|
+
return {
|
|
4342
|
+
productRetailerId: 'ProductRetailerId',
|
|
4343
|
+
};
|
|
4344
|
+
}
|
|
4345
|
+
|
|
4346
|
+
static types(): { [key: string]: any } {
|
|
4347
|
+
return {
|
|
4348
|
+
productRetailerId: 'string',
|
|
4349
|
+
};
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4352
|
+
constructor(map?: { [key: string]: any }) {
|
|
4353
|
+
super(map);
|
|
4354
|
+
}
|
|
4355
|
+
}
|
|
4356
|
+
|
|
4357
|
+
export class SendChatappMessageRequestProductActionSections extends $tea.Model {
|
|
4358
|
+
productItems?: SendChatappMessageRequestProductActionSectionsProductItems[];
|
|
4359
|
+
title?: string;
|
|
4360
|
+
static names(): { [key: string]: string } {
|
|
4361
|
+
return {
|
|
4362
|
+
productItems: 'ProductItems',
|
|
4363
|
+
title: 'Title',
|
|
4364
|
+
};
|
|
4365
|
+
}
|
|
4366
|
+
|
|
4367
|
+
static types(): { [key: string]: any } {
|
|
4368
|
+
return {
|
|
4369
|
+
productItems: { 'type': 'array', 'itemType': SendChatappMessageRequestProductActionSectionsProductItems },
|
|
4370
|
+
title: 'string',
|
|
4371
|
+
};
|
|
4372
|
+
}
|
|
4373
|
+
|
|
4374
|
+
constructor(map?: { [key: string]: any }) {
|
|
4375
|
+
super(map);
|
|
4376
|
+
}
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4379
|
+
export class SendChatappMessageRequestProductAction extends $tea.Model {
|
|
4380
|
+
sections?: SendChatappMessageRequestProductActionSections[];
|
|
4381
|
+
thumbnailProductRetailerId?: string;
|
|
4382
|
+
static names(): { [key: string]: string } {
|
|
4383
|
+
return {
|
|
4384
|
+
sections: 'Sections',
|
|
4385
|
+
thumbnailProductRetailerId: 'ThumbnailProductRetailerId',
|
|
4386
|
+
};
|
|
4387
|
+
}
|
|
4388
|
+
|
|
4389
|
+
static types(): { [key: string]: any } {
|
|
4390
|
+
return {
|
|
4391
|
+
sections: { 'type': 'array', 'itemType': SendChatappMessageRequestProductActionSections },
|
|
4392
|
+
thumbnailProductRetailerId: 'string',
|
|
4393
|
+
};
|
|
4394
|
+
}
|
|
4395
|
+
|
|
4396
|
+
constructor(map?: { [key: string]: any }) {
|
|
4397
|
+
super(map);
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
|
|
4067
4401
|
|
|
4068
4402
|
export default class Client extends OpenApi {
|
|
4069
4403
|
|
|
@@ -4671,6 +5005,10 @@ export default class Client extends OpenApi {
|
|
|
4671
5005
|
body["Language"] = request.language;
|
|
4672
5006
|
}
|
|
4673
5007
|
|
|
5008
|
+
if (!Util.isUnset(request.messageSendTtlSeconds)) {
|
|
5009
|
+
body["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
5010
|
+
}
|
|
5011
|
+
|
|
4674
5012
|
if (!Util.isUnset(request.name)) {
|
|
4675
5013
|
body["Name"] = request.name;
|
|
4676
5014
|
}
|
|
@@ -5021,8 +5359,41 @@ export default class Client extends OpenApi {
|
|
|
5021
5359
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
5022
5360
|
}
|
|
5023
5361
|
|
|
5362
|
+
async getPreValidatePhoneIdWithOptions(request: GetPreValidatePhoneIdRequest, runtime: $Util.RuntimeOptions): Promise<GetPreValidatePhoneIdResponse> {
|
|
5363
|
+
Util.validateModel(request);
|
|
5364
|
+
let body : {[key: string ]: any} = { };
|
|
5365
|
+
if (!Util.isUnset(request.phoneNumber)) {
|
|
5366
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
5367
|
+
}
|
|
5368
|
+
|
|
5369
|
+
if (!Util.isUnset(request.verifyCode)) {
|
|
5370
|
+
body["VerifyCode"] = request.verifyCode;
|
|
5371
|
+
}
|
|
5372
|
+
|
|
5373
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5374
|
+
body: OpenApiUtil.parseToMap(body),
|
|
5375
|
+
});
|
|
5376
|
+
let params = new $OpenApi.Params({
|
|
5377
|
+
action: "GetPreValidatePhoneId",
|
|
5378
|
+
version: "2020-06-06",
|
|
5379
|
+
protocol: "HTTPS",
|
|
5380
|
+
pathname: "/",
|
|
5381
|
+
method: "POST",
|
|
5382
|
+
authType: "AK",
|
|
5383
|
+
style: "RPC",
|
|
5384
|
+
reqBodyType: "formData",
|
|
5385
|
+
bodyType: "json",
|
|
5386
|
+
});
|
|
5387
|
+
return $tea.cast<GetPreValidatePhoneIdResponse>(await this.callApi(params, req, runtime), new GetPreValidatePhoneIdResponse({}));
|
|
5388
|
+
}
|
|
5389
|
+
|
|
5390
|
+
async getPreValidatePhoneId(request: GetPreValidatePhoneIdRequest): Promise<GetPreValidatePhoneIdResponse> {
|
|
5391
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5392
|
+
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
5393
|
+
}
|
|
5394
|
+
|
|
5024
5395
|
/**
|
|
5025
|
-
*
|
|
5396
|
+
* 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.
|
|
5026
5397
|
*
|
|
5027
5398
|
* @param request IsvGetAppIdRequest
|
|
5028
5399
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -5053,7 +5424,7 @@ export default class Client extends OpenApi {
|
|
|
5053
5424
|
}
|
|
5054
5425
|
|
|
5055
5426
|
/**
|
|
5056
|
-
*
|
|
5427
|
+
* 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.
|
|
5057
5428
|
*
|
|
5058
5429
|
* @param request IsvGetAppIdRequest
|
|
5059
5430
|
* @return IsvGetAppIdResponse
|
|
@@ -5189,6 +5560,10 @@ export default class Client extends OpenApi {
|
|
|
5189
5560
|
body["Language"] = request.language;
|
|
5190
5561
|
}
|
|
5191
5562
|
|
|
5563
|
+
if (!Util.isUnset(request.messageSendTtlSeconds)) {
|
|
5564
|
+
body["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5192
5567
|
if (!Util.isUnset(request.templateCode)) {
|
|
5193
5568
|
body["TemplateCode"] = request.templateCode;
|
|
5194
5569
|
}
|
|
@@ -5226,7 +5601,7 @@ export default class Client extends OpenApi {
|
|
|
5226
5601
|
}
|
|
5227
5602
|
|
|
5228
5603
|
/**
|
|
5229
|
-
*
|
|
5604
|
+
* ModifyPhoneBusinessProfile
|
|
5230
5605
|
*
|
|
5231
5606
|
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
5232
5607
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -5291,7 +5666,7 @@ export default class Client extends OpenApi {
|
|
|
5291
5666
|
}
|
|
5292
5667
|
|
|
5293
5668
|
/**
|
|
5294
|
-
*
|
|
5669
|
+
* ModifyPhoneBusinessProfile
|
|
5295
5670
|
*
|
|
5296
5671
|
* @param request ModifyPhoneBusinessProfileRequest
|
|
5297
5672
|
* @return ModifyPhoneBusinessProfileResponse
|
|
@@ -5606,6 +5981,10 @@ export default class Client extends OpenApi {
|
|
|
5606
5981
|
request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
|
|
5607
5982
|
}
|
|
5608
5983
|
|
|
5984
|
+
if (!Util.isUnset(tmpReq.productAction)) {
|
|
5985
|
+
request.productActionShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.productAction, "ProductAction", "json");
|
|
5986
|
+
}
|
|
5987
|
+
|
|
5609
5988
|
if (!Util.isUnset(tmpReq.templateParams)) {
|
|
5610
5989
|
request.templateParamsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateParams, "TemplateParams", "json");
|
|
5611
5990
|
}
|
|
@@ -5668,6 +6047,10 @@ export default class Client extends OpenApi {
|
|
|
5668
6047
|
body["MessageType"] = request.messageType;
|
|
5669
6048
|
}
|
|
5670
6049
|
|
|
6050
|
+
if (!Util.isUnset(request.productActionShrink)) {
|
|
6051
|
+
body["ProductAction"] = request.productActionShrink;
|
|
6052
|
+
}
|
|
6053
|
+
|
|
5671
6054
|
if (!Util.isUnset(request.tag)) {
|
|
5672
6055
|
body["Tag"] = request.tag;
|
|
5673
6056
|
}
|