@alicloud/cams20200606 1.0.21 → 1.2.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/src/client.ts CHANGED
@@ -8,6 +8,90 @@ import OpenApiUtil from '@alicloud/openapi-util';
8
8
  import EndpointUtil from '@alicloud/endpoint-util';
9
9
  import * as $tea from '@alicloud/tea-typescript';
10
10
 
11
+ export class AddChatappPhoneNumberRequest extends $tea.Model {
12
+ cc?: string;
13
+ custSpaceId?: string;
14
+ phoneNumber?: string;
15
+ preValidateId?: string;
16
+ verifiedName?: string;
17
+ static names(): { [key: string]: string } {
18
+ return {
19
+ cc: 'Cc',
20
+ custSpaceId: 'CustSpaceId',
21
+ phoneNumber: 'PhoneNumber',
22
+ preValidateId: 'PreValidateId',
23
+ verifiedName: 'VerifiedName',
24
+ };
25
+ }
26
+
27
+ static types(): { [key: string]: any } {
28
+ return {
29
+ cc: 'string',
30
+ custSpaceId: 'string',
31
+ phoneNumber: 'string',
32
+ preValidateId: 'string',
33
+ verifiedName: 'string',
34
+ };
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
42
+ export class AddChatappPhoneNumberResponseBody extends $tea.Model {
43
+ accessDeniedDetail?: string;
44
+ code?: string;
45
+ message?: string;
46
+ requestId?: string;
47
+ static names(): { [key: string]: string } {
48
+ return {
49
+ accessDeniedDetail: 'AccessDeniedDetail',
50
+ code: 'Code',
51
+ message: 'Message',
52
+ requestId: 'RequestId',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ accessDeniedDetail: 'string',
59
+ code: 'string',
60
+ message: 'string',
61
+ requestId: 'string',
62
+ };
63
+ }
64
+
65
+ constructor(map?: { [key: string]: any }) {
66
+ super(map);
67
+ }
68
+ }
69
+
70
+ export class AddChatappPhoneNumberResponse extends $tea.Model {
71
+ headers: { [key: string]: string };
72
+ statusCode: number;
73
+ body: AddChatappPhoneNumberResponseBody;
74
+ static names(): { [key: string]: string } {
75
+ return {
76
+ headers: 'headers',
77
+ statusCode: 'statusCode',
78
+ body: 'body',
79
+ };
80
+ }
81
+
82
+ static types(): { [key: string]: any } {
83
+ return {
84
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
85
+ statusCode: 'number',
86
+ body: AddChatappPhoneNumberResponseBody,
87
+ };
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
11
95
  export class BeeBotAssociateRequest extends $tea.Model {
12
96
  chatBotInstanceId?: string;
13
97
  custSpaceId?: string;
@@ -83,12 +167,14 @@ export class BeeBotAssociateShrinkRequest extends $tea.Model {
83
167
  }
84
168
 
85
169
  export class BeeBotAssociateResponseBody extends $tea.Model {
170
+ accessDeniedDetail?: string;
86
171
  code?: string;
87
172
  data?: BeeBotAssociateResponseBodyData;
88
173
  message?: string;
89
174
  requestId?: string;
90
175
  static names(): { [key: string]: string } {
91
176
  return {
177
+ accessDeniedDetail: 'AccessDeniedDetail',
92
178
  code: 'Code',
93
179
  data: 'Data',
94
180
  message: 'Message',
@@ -98,6 +184,7 @@ export class BeeBotAssociateResponseBody extends $tea.Model {
98
184
 
99
185
  static types(): { [key: string]: any } {
100
186
  return {
187
+ accessDeniedDetail: 'string',
101
188
  code: 'string',
102
189
  data: BeeBotAssociateResponseBodyData,
103
190
  message: 'string',
@@ -234,12 +321,14 @@ export class BeeBotChatShrinkRequest extends $tea.Model {
234
321
  }
235
322
 
236
323
  export class BeeBotChatResponseBody extends $tea.Model {
324
+ accessDeniedDetail?: string;
237
325
  code?: string;
238
326
  data?: BeeBotChatResponseBodyData;
239
327
  message?: string;
240
328
  requestId?: string;
241
329
  static names(): { [key: string]: string } {
242
330
  return {
331
+ accessDeniedDetail: 'AccessDeniedDetail',
243
332
  code: 'Code',
244
333
  data: 'Data',
245
334
  message: 'Message',
@@ -249,6 +338,7 @@ export class BeeBotChatResponseBody extends $tea.Model {
249
338
 
250
339
  static types(): { [key: string]: any } {
251
340
  return {
341
+ accessDeniedDetail: 'string',
252
342
  code: 'string',
253
343
  data: BeeBotChatResponseBodyData,
254
344
  message: 'string',
@@ -306,12 +396,14 @@ export class ChatappBindWabaRequest extends $tea.Model {
306
396
  }
307
397
 
308
398
  export class ChatappBindWabaResponseBody extends $tea.Model {
399
+ accessDeniedDetail?: string;
309
400
  code?: string;
310
401
  data?: ChatappBindWabaResponseBodyData;
311
402
  message?: string;
312
403
  requestId?: string;
313
404
  static names(): { [key: string]: string } {
314
405
  return {
406
+ accessDeniedDetail: 'AccessDeniedDetail',
315
407
  code: 'Code',
316
408
  data: 'Data',
317
409
  message: 'Message',
@@ -321,6 +413,7 @@ export class ChatappBindWabaResponseBody extends $tea.Model {
321
413
 
322
414
  static types(): { [key: string]: any } {
323
415
  return {
416
+ accessDeniedDetail: 'string',
324
417
  code: 'string',
325
418
  data: ChatappBindWabaResponseBodyData,
326
419
  message: 'string',
@@ -378,12 +471,14 @@ export class ChatappEmbedSignUpRequest extends $tea.Model {
378
471
  }
379
472
 
380
473
  export class ChatappEmbedSignUpResponseBody extends $tea.Model {
474
+ accessDeniedDetail?: string;
381
475
  code?: string;
382
476
  message?: string;
383
477
  requestId?: string;
384
478
  wabas?: ChatappEmbedSignUpResponseBodyWabas[];
385
479
  static names(): { [key: string]: string } {
386
480
  return {
481
+ accessDeniedDetail: 'AccessDeniedDetail',
387
482
  code: 'Code',
388
483
  message: 'Message',
389
484
  requestId: 'RequestId',
@@ -393,6 +488,7 @@ export class ChatappEmbedSignUpResponseBody extends $tea.Model {
393
488
 
394
489
  static types(): { [key: string]: any } {
395
490
  return {
491
+ accessDeniedDetail: 'string',
396
492
  code: 'string',
397
493
  message: 'string',
398
494
  requestId: 'string',
@@ -453,11 +549,13 @@ export class ChatappMigrationRegisterRequest extends $tea.Model {
453
549
  }
454
550
 
455
551
  export class ChatappMigrationRegisterResponseBody extends $tea.Model {
552
+ accessDeniedDetail?: string;
456
553
  code?: string;
457
554
  message?: string;
458
555
  requestId?: string;
459
556
  static names(): { [key: string]: string } {
460
557
  return {
558
+ accessDeniedDetail: 'AccessDeniedDetail',
461
559
  code: 'Code',
462
560
  message: 'Message',
463
561
  requestId: 'RequestId',
@@ -466,6 +564,7 @@ export class ChatappMigrationRegisterResponseBody extends $tea.Model {
466
564
 
467
565
  static types(): { [key: string]: any } {
468
566
  return {
567
+ accessDeniedDetail: 'string',
469
568
  code: 'string',
470
569
  message: 'string',
471
570
  requestId: 'string',
@@ -528,12 +627,14 @@ export class ChatappMigrationVerifiedRequest extends $tea.Model {
528
627
  }
529
628
 
530
629
  export class ChatappMigrationVerifiedResponseBody extends $tea.Model {
630
+ accessDeniedDetail?: string;
531
631
  code?: string;
532
632
  data?: ChatappMigrationVerifiedResponseBodyData;
533
633
  message?: string;
534
634
  requestId?: string;
535
635
  static names(): { [key: string]: string } {
536
636
  return {
637
+ accessDeniedDetail: 'AccessDeniedDetail',
537
638
  code: 'Code',
538
639
  data: 'Data',
539
640
  message: 'Message',
@@ -543,6 +644,7 @@ export class ChatappMigrationVerifiedResponseBody extends $tea.Model {
543
644
 
544
645
  static types(): { [key: string]: any } {
545
646
  return {
647
+ accessDeniedDetail: 'string',
546
648
  code: 'string',
547
649
  data: ChatappMigrationVerifiedResponseBodyData,
548
650
  message: 'string',
@@ -580,6 +682,81 @@ export class ChatappMigrationVerifiedResponse extends $tea.Model {
580
682
  }
581
683
  }
582
684
 
685
+ export class ChatappPhoneNumberDeregisterRequest extends $tea.Model {
686
+ custSpaceId?: string;
687
+ phoneNumber?: string;
688
+ static names(): { [key: string]: string } {
689
+ return {
690
+ custSpaceId: 'CustSpaceId',
691
+ phoneNumber: 'PhoneNumber',
692
+ };
693
+ }
694
+
695
+ static types(): { [key: string]: any } {
696
+ return {
697
+ custSpaceId: 'string',
698
+ phoneNumber: 'string',
699
+ };
700
+ }
701
+
702
+ constructor(map?: { [key: string]: any }) {
703
+ super(map);
704
+ }
705
+ }
706
+
707
+ export class ChatappPhoneNumberDeregisterResponseBody extends $tea.Model {
708
+ accessDeniedDetail?: string;
709
+ code?: string;
710
+ message?: string;
711
+ requestId?: string;
712
+ static names(): { [key: string]: string } {
713
+ return {
714
+ accessDeniedDetail: 'AccessDeniedDetail',
715
+ code: 'Code',
716
+ message: 'Message',
717
+ requestId: 'RequestId',
718
+ };
719
+ }
720
+
721
+ static types(): { [key: string]: any } {
722
+ return {
723
+ accessDeniedDetail: 'string',
724
+ code: 'string',
725
+ message: 'string',
726
+ requestId: 'string',
727
+ };
728
+ }
729
+
730
+ constructor(map?: { [key: string]: any }) {
731
+ super(map);
732
+ }
733
+ }
734
+
735
+ export class ChatappPhoneNumberDeregisterResponse extends $tea.Model {
736
+ headers: { [key: string]: string };
737
+ statusCode: number;
738
+ body: ChatappPhoneNumberDeregisterResponseBody;
739
+ static names(): { [key: string]: string } {
740
+ return {
741
+ headers: 'headers',
742
+ statusCode: 'statusCode',
743
+ body: 'body',
744
+ };
745
+ }
746
+
747
+ static types(): { [key: string]: any } {
748
+ return {
749
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
750
+ statusCode: 'number',
751
+ body: ChatappPhoneNumberDeregisterResponseBody,
752
+ };
753
+ }
754
+
755
+ constructor(map?: { [key: string]: any }) {
756
+ super(map);
757
+ }
758
+ }
759
+
583
760
  export class ChatappPhoneNumberRegisterRequest extends $tea.Model {
584
761
  custSpaceId?: string;
585
762
  phoneNumber?: string;
@@ -603,11 +780,13 @@ export class ChatappPhoneNumberRegisterRequest extends $tea.Model {
603
780
  }
604
781
 
605
782
  export class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
783
+ accessDeniedDetail?: string;
606
784
  code?: string;
607
785
  message?: string;
608
786
  requestId?: string;
609
787
  static names(): { [key: string]: string } {
610
788
  return {
789
+ accessDeniedDetail: 'AccessDeniedDetail',
611
790
  code: 'Code',
612
791
  message: 'Message',
613
792
  requestId: 'RequestId',
@@ -616,6 +795,7 @@ export class ChatappPhoneNumberRegisterResponseBody extends $tea.Model {
616
795
 
617
796
  static types(): { [key: string]: any } {
618
797
  return {
798
+ accessDeniedDetail: 'string',
619
799
  code: 'string',
620
800
  message: 'string',
621
801
  requestId: 'string',
@@ -672,12 +852,14 @@ export class ChatappSyncPhoneNumberRequest extends $tea.Model {
672
852
  }
673
853
 
674
854
  export class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
855
+ accessDeniedDetail?: string;
675
856
  code?: string;
676
857
  message?: string;
677
858
  phoneNumbers?: ChatappSyncPhoneNumberResponseBodyPhoneNumbers[];
678
859
  requestId?: string;
679
860
  static names(): { [key: string]: string } {
680
861
  return {
862
+ accessDeniedDetail: 'AccessDeniedDetail',
681
863
  code: 'Code',
682
864
  message: 'Message',
683
865
  phoneNumbers: 'PhoneNumbers',
@@ -687,6 +869,7 @@ export class ChatappSyncPhoneNumberResponseBody extends $tea.Model {
687
869
 
688
870
  static types(): { [key: string]: any } {
689
871
  return {
872
+ accessDeniedDetail: 'string',
690
873
  code: 'string',
691
874
  message: 'string',
692
875
  phoneNumbers: { 'type': 'array', 'itemType': ChatappSyncPhoneNumberResponseBodyPhoneNumbers },
@@ -750,11 +933,13 @@ export class ChatappVerifyAndRegisterRequest extends $tea.Model {
750
933
  }
751
934
 
752
935
  export class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
936
+ accessDeniedDetail?: string;
753
937
  code?: string;
754
938
  message?: string;
755
939
  requestId?: string;
756
940
  static names(): { [key: string]: string } {
757
941
  return {
942
+ accessDeniedDetail: 'AccessDeniedDetail',
758
943
  code: 'Code',
759
944
  message: 'Message',
760
945
  requestId: 'RequestId',
@@ -763,6 +948,7 @@ export class ChatappVerifyAndRegisterResponseBody extends $tea.Model {
763
948
 
764
949
  static types(): { [key: string]: any } {
765
950
  return {
951
+ accessDeniedDetail: 'string',
766
952
  code: 'string',
767
953
  message: 'string',
768
954
  requestId: 'string',
@@ -825,12 +1011,14 @@ export class CreateChatappMigrationInitiateRequest extends $tea.Model {
825
1011
  }
826
1012
 
827
1013
  export class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
1014
+ accessDeniedDetail?: string;
828
1015
  code?: string;
829
1016
  data?: CreateChatappMigrationInitiateResponseBodyData;
830
1017
  message?: string;
831
1018
  requestId?: string;
832
1019
  static names(): { [key: string]: string } {
833
1020
  return {
1021
+ accessDeniedDetail: 'AccessDeniedDetail',
834
1022
  code: 'Code',
835
1023
  data: 'Data',
836
1024
  message: 'Message',
@@ -840,6 +1028,7 @@ export class CreateChatappMigrationInitiateResponseBody extends $tea.Model {
840
1028
 
841
1029
  static types(): { [key: string]: any } {
842
1030
  return {
1031
+ accessDeniedDetail: 'string',
843
1032
  code: 'string',
844
1033
  data: CreateChatappMigrationInitiateResponseBodyData,
845
1034
  message: 'string',
@@ -886,6 +1075,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
886
1075
  example?: { [key: string]: string };
887
1076
  isvCode?: string;
888
1077
  language?: string;
1078
+ messageSendTtlSeconds?: number;
889
1079
  name?: string;
890
1080
  templateType?: string;
891
1081
  static names(): { [key: string]: string } {
@@ -898,6 +1088,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
898
1088
  example: 'Example',
899
1089
  isvCode: 'IsvCode',
900
1090
  language: 'Language',
1091
+ messageSendTtlSeconds: 'MessageSendTtlSeconds',
901
1092
  name: 'Name',
902
1093
  templateType: 'TemplateType',
903
1094
  };
@@ -913,6 +1104,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
913
1104
  example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
914
1105
  isvCode: 'string',
915
1106
  language: 'string',
1107
+ messageSendTtlSeconds: 'number',
916
1108
  name: 'string',
917
1109
  templateType: 'string',
918
1110
  };
@@ -932,6 +1124,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
932
1124
  exampleShrink?: string;
933
1125
  isvCode?: string;
934
1126
  language?: string;
1127
+ messageSendTtlSeconds?: number;
935
1128
  name?: string;
936
1129
  templateType?: string;
937
1130
  static names(): { [key: string]: string } {
@@ -944,6 +1137,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
944
1137
  exampleShrink: 'Example',
945
1138
  isvCode: 'IsvCode',
946
1139
  language: 'Language',
1140
+ messageSendTtlSeconds: 'MessageSendTtlSeconds',
947
1141
  name: 'Name',
948
1142
  templateType: 'TemplateType',
949
1143
  };
@@ -959,6 +1153,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
959
1153
  exampleShrink: 'string',
960
1154
  isvCode: 'string',
961
1155
  language: 'string',
1156
+ messageSendTtlSeconds: 'number',
962
1157
  name: 'string',
963
1158
  templateType: 'string',
964
1159
  };
@@ -970,12 +1165,14 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
970
1165
  }
971
1166
 
972
1167
  export class CreateChatappTemplateResponseBody extends $tea.Model {
1168
+ accessDeniedDetail?: string;
973
1169
  code?: string;
974
1170
  data?: CreateChatappTemplateResponseBodyData;
975
1171
  message?: string;
976
1172
  requestId?: string;
977
1173
  static names(): { [key: string]: string } {
978
1174
  return {
1175
+ accessDeniedDetail: 'AccessDeniedDetail',
979
1176
  code: 'Code',
980
1177
  data: 'Data',
981
1178
  message: 'Message',
@@ -985,6 +1182,7 @@ export class CreateChatappTemplateResponseBody extends $tea.Model {
985
1182
 
986
1183
  static types(): { [key: string]: any } {
987
1184
  return {
1185
+ accessDeniedDetail: 'string',
988
1186
  code: 'string',
989
1187
  data: CreateChatappTemplateResponseBodyData,
990
1188
  message: 'string',
@@ -1051,11 +1249,13 @@ export class DeleteChatappTemplateRequest extends $tea.Model {
1051
1249
  }
1052
1250
 
1053
1251
  export class DeleteChatappTemplateResponseBody extends $tea.Model {
1252
+ accessDeniedDetail?: string;
1054
1253
  code?: string;
1055
1254
  message?: string;
1056
1255
  requestId?: string;
1057
1256
  static names(): { [key: string]: string } {
1058
1257
  return {
1258
+ accessDeniedDetail: 'AccessDeniedDetail',
1059
1259
  code: 'Code',
1060
1260
  message: 'Message',
1061
1261
  requestId: 'RequestId',
@@ -1064,6 +1264,7 @@ export class DeleteChatappTemplateResponseBody extends $tea.Model {
1064
1264
 
1065
1265
  static types(): { [key: string]: any } {
1066
1266
  return {
1267
+ accessDeniedDetail: 'string',
1067
1268
  code: 'string',
1068
1269
  message: 'string',
1069
1270
  requestId: 'string',
@@ -1100,32 +1301,20 @@ export class DeleteChatappTemplateResponse extends $tea.Model {
1100
1301
  }
1101
1302
  }
1102
1303
 
1103
- export class GetChatappTemplateDetailRequest extends $tea.Model {
1304
+ export class EnableWhatsappROIMetricRequest extends $tea.Model {
1104
1305
  custSpaceId?: string;
1105
- custWabaId?: string;
1106
1306
  isvCode?: string;
1107
- language?: string;
1108
- templateCode?: string;
1109
- templateType?: string;
1110
1307
  static names(): { [key: string]: string } {
1111
1308
  return {
1112
1309
  custSpaceId: 'CustSpaceId',
1113
- custWabaId: 'CustWabaId',
1114
1310
  isvCode: 'IsvCode',
1115
- language: 'Language',
1116
- templateCode: 'TemplateCode',
1117
- templateType: 'TemplateType',
1118
1311
  };
1119
1312
  }
1120
1313
 
1121
1314
  static types(): { [key: string]: any } {
1122
1315
  return {
1123
1316
  custSpaceId: 'string',
1124
- custWabaId: 'string',
1125
1317
  isvCode: 'string',
1126
- language: 'string',
1127
- templateCode: 'string',
1128
- templateType: 'string',
1129
1318
  };
1130
1319
  }
1131
1320
 
@@ -1134,15 +1323,15 @@ export class GetChatappTemplateDetailRequest extends $tea.Model {
1134
1323
  }
1135
1324
  }
1136
1325
 
1137
- export class GetChatappTemplateDetailResponseBody extends $tea.Model {
1326
+ export class EnableWhatsappROIMetricResponseBody extends $tea.Model {
1327
+ accessDeniedDetail?: string;
1138
1328
  code?: string;
1139
- data?: GetChatappTemplateDetailResponseBodyData;
1140
1329
  message?: string;
1141
1330
  requestId?: string;
1142
1331
  static names(): { [key: string]: string } {
1143
1332
  return {
1333
+ accessDeniedDetail: 'AccessDeniedDetail',
1144
1334
  code: 'Code',
1145
- data: 'Data',
1146
1335
  message: 'Message',
1147
1336
  requestId: 'RequestId',
1148
1337
  };
@@ -1150,8 +1339,8 @@ export class GetChatappTemplateDetailResponseBody extends $tea.Model {
1150
1339
 
1151
1340
  static types(): { [key: string]: any } {
1152
1341
  return {
1342
+ accessDeniedDetail: 'string',
1153
1343
  code: 'string',
1154
- data: GetChatappTemplateDetailResponseBodyData,
1155
1344
  message: 'string',
1156
1345
  requestId: 'string',
1157
1346
  };
@@ -1162,10 +1351,10 @@ export class GetChatappTemplateDetailResponseBody extends $tea.Model {
1162
1351
  }
1163
1352
  }
1164
1353
 
1165
- export class GetChatappTemplateDetailResponse extends $tea.Model {
1354
+ export class EnableWhatsappROIMetricResponse extends $tea.Model {
1166
1355
  headers: { [key: string]: string };
1167
1356
  statusCode: number;
1168
- body: GetChatappTemplateDetailResponseBody;
1357
+ body: EnableWhatsappROIMetricResponseBody;
1169
1358
  static names(): { [key: string]: string } {
1170
1359
  return {
1171
1360
  headers: 'headers',
@@ -1178,7 +1367,7 @@ export class GetChatappTemplateDetailResponse extends $tea.Model {
1178
1367
  return {
1179
1368
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1180
1369
  statusCode: 'number',
1181
- body: GetChatappTemplateDetailResponseBody,
1370
+ body: EnableWhatsappROIMetricResponseBody,
1182
1371
  };
1183
1372
  }
1184
1373
 
@@ -1187,17 +1376,32 @@ export class GetChatappTemplateDetailResponse extends $tea.Model {
1187
1376
  }
1188
1377
  }
1189
1378
 
1190
- export class GetChatappUploadAuthorizationRequest extends $tea.Model {
1379
+ export class GetChatappPhoneNumberMetricRequest extends $tea.Model {
1191
1380
  custSpaceId?: string;
1381
+ end?: number;
1382
+ granularity?: string;
1383
+ isvCode?: string;
1384
+ phoneNumber?: string;
1385
+ start?: number;
1192
1386
  static names(): { [key: string]: string } {
1193
1387
  return {
1194
1388
  custSpaceId: 'CustSpaceId',
1389
+ end: 'End',
1390
+ granularity: 'Granularity',
1391
+ isvCode: 'IsvCode',
1392
+ phoneNumber: 'PhoneNumber',
1393
+ start: 'Start',
1195
1394
  };
1196
1395
  }
1197
1396
 
1198
1397
  static types(): { [key: string]: any } {
1199
1398
  return {
1200
1399
  custSpaceId: 'string',
1400
+ end: 'number',
1401
+ granularity: 'string',
1402
+ isvCode: 'string',
1403
+ phoneNumber: 'string',
1404
+ start: 'number',
1201
1405
  };
1202
1406
  }
1203
1407
 
@@ -1206,13 +1410,15 @@ export class GetChatappUploadAuthorizationRequest extends $tea.Model {
1206
1410
  }
1207
1411
  }
1208
1412
 
1209
- export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
1413
+ export class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
1414
+ accessDeniedDetail?: string;
1210
1415
  code?: string;
1211
- data?: GetChatappUploadAuthorizationResponseBodyData;
1416
+ data?: GetChatappPhoneNumberMetricResponseBodyData[];
1212
1417
  message?: string;
1213
1418
  requestId?: string;
1214
1419
  static names(): { [key: string]: string } {
1215
1420
  return {
1421
+ accessDeniedDetail: 'AccessDeniedDetail',
1216
1422
  code: 'Code',
1217
1423
  data: 'Data',
1218
1424
  message: 'Message',
@@ -1222,8 +1428,9 @@ export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
1222
1428
 
1223
1429
  static types(): { [key: string]: any } {
1224
1430
  return {
1431
+ accessDeniedDetail: 'string',
1225
1432
  code: 'string',
1226
- data: GetChatappUploadAuthorizationResponseBodyData,
1433
+ data: { 'type': 'array', 'itemType': GetChatappPhoneNumberMetricResponseBodyData },
1227
1434
  message: 'string',
1228
1435
  requestId: 'string',
1229
1436
  };
@@ -1234,10 +1441,10 @@ export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
1234
1441
  }
1235
1442
  }
1236
1443
 
1237
- export class GetChatappUploadAuthorizationResponse extends $tea.Model {
1444
+ export class GetChatappPhoneNumberMetricResponse extends $tea.Model {
1238
1445
  headers: { [key: string]: string };
1239
1446
  statusCode: number;
1240
- body: GetChatappUploadAuthorizationResponseBody;
1447
+ body: GetChatappPhoneNumberMetricResponseBody;
1241
1448
  static names(): { [key: string]: string } {
1242
1449
  return {
1243
1450
  headers: 'headers',
@@ -1250,7 +1457,7 @@ export class GetChatappUploadAuthorizationResponse extends $tea.Model {
1250
1457
  return {
1251
1458
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1252
1459
  statusCode: 'number',
1253
- body: GetChatappUploadAuthorizationResponseBody,
1460
+ body: GetChatappPhoneNumberMetricResponseBody,
1254
1461
  };
1255
1462
  }
1256
1463
 
@@ -1259,26 +1466,32 @@ export class GetChatappUploadAuthorizationResponse extends $tea.Model {
1259
1466
  }
1260
1467
  }
1261
1468
 
1262
- export class GetChatappVerifyCodeRequest extends $tea.Model {
1469
+ export class GetChatappTemplateDetailRequest extends $tea.Model {
1263
1470
  custSpaceId?: string;
1264
- locale?: string;
1265
- method?: string;
1266
- phoneNumber?: string;
1471
+ custWabaId?: string;
1472
+ isvCode?: string;
1473
+ language?: string;
1474
+ templateCode?: string;
1475
+ templateType?: string;
1267
1476
  static names(): { [key: string]: string } {
1268
1477
  return {
1269
1478
  custSpaceId: 'CustSpaceId',
1270
- locale: 'Locale',
1271
- method: 'Method',
1272
- phoneNumber: 'PhoneNumber',
1479
+ custWabaId: 'CustWabaId',
1480
+ isvCode: 'IsvCode',
1481
+ language: 'Language',
1482
+ templateCode: 'TemplateCode',
1483
+ templateType: 'TemplateType',
1273
1484
  };
1274
1485
  }
1275
1486
 
1276
1487
  static types(): { [key: string]: any } {
1277
1488
  return {
1278
1489
  custSpaceId: 'string',
1279
- locale: 'string',
1280
- method: 'string',
1281
- phoneNumber: 'string',
1490
+ custWabaId: 'string',
1491
+ isvCode: 'string',
1492
+ language: 'string',
1493
+ templateCode: 'string',
1494
+ templateType: 'string',
1282
1495
  };
1283
1496
  }
1284
1497
 
@@ -1287,13 +1500,17 @@ export class GetChatappVerifyCodeRequest extends $tea.Model {
1287
1500
  }
1288
1501
  }
1289
1502
 
1290
- export class GetChatappVerifyCodeResponseBody extends $tea.Model {
1503
+ export class GetChatappTemplateDetailResponseBody extends $tea.Model {
1504
+ accessDeniedDetail?: string;
1291
1505
  code?: string;
1506
+ data?: GetChatappTemplateDetailResponseBodyData;
1292
1507
  message?: string;
1293
1508
  requestId?: string;
1294
1509
  static names(): { [key: string]: string } {
1295
1510
  return {
1511
+ accessDeniedDetail: 'AccessDeniedDetail',
1296
1512
  code: 'Code',
1513
+ data: 'Data',
1297
1514
  message: 'Message',
1298
1515
  requestId: 'RequestId',
1299
1516
  };
@@ -1301,7 +1518,9 @@ export class GetChatappVerifyCodeResponseBody extends $tea.Model {
1301
1518
 
1302
1519
  static types(): { [key: string]: any } {
1303
1520
  return {
1521
+ accessDeniedDetail: 'string',
1304
1522
  code: 'string',
1523
+ data: GetChatappTemplateDetailResponseBodyData,
1305
1524
  message: 'string',
1306
1525
  requestId: 'string',
1307
1526
  };
@@ -1312,10 +1531,10 @@ export class GetChatappVerifyCodeResponseBody extends $tea.Model {
1312
1531
  }
1313
1532
  }
1314
1533
 
1315
- export class GetChatappVerifyCodeResponse extends $tea.Model {
1534
+ export class GetChatappTemplateDetailResponse extends $tea.Model {
1316
1535
  headers: { [key: string]: string };
1317
1536
  statusCode: number;
1318
- body: GetChatappVerifyCodeResponseBody;
1537
+ body: GetChatappTemplateDetailResponseBody;
1319
1538
  static names(): { [key: string]: string } {
1320
1539
  return {
1321
1540
  headers: 'headers',
@@ -1328,7 +1547,7 @@ export class GetChatappVerifyCodeResponse extends $tea.Model {
1328
1547
  return {
1329
1548
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1330
1549
  statusCode: 'number',
1331
- body: GetChatappVerifyCodeResponseBody,
1550
+ body: GetChatappTemplateDetailResponseBody,
1332
1551
  };
1333
1552
  }
1334
1553
 
@@ -1337,26 +1556,38 @@ export class GetChatappVerifyCodeResponse extends $tea.Model {
1337
1556
  }
1338
1557
  }
1339
1558
 
1340
- export class GetMigrationVerifyCodeRequest extends $tea.Model {
1559
+ export class GetChatappTemplateMetricRequest extends $tea.Model {
1341
1560
  custSpaceId?: string;
1342
- locale?: string;
1343
- method?: string;
1344
- phoneNumber?: string;
1561
+ end?: number;
1562
+ granularity?: string;
1563
+ isvCode?: string;
1564
+ language?: string;
1565
+ start?: number;
1566
+ templateCode?: string;
1567
+ templateType?: string;
1345
1568
  static names(): { [key: string]: string } {
1346
1569
  return {
1347
1570
  custSpaceId: 'CustSpaceId',
1348
- locale: 'Locale',
1349
- method: 'Method',
1350
- phoneNumber: 'PhoneNumber',
1571
+ end: 'End',
1572
+ granularity: 'Granularity',
1573
+ isvCode: 'IsvCode',
1574
+ language: 'Language',
1575
+ start: 'Start',
1576
+ templateCode: 'TemplateCode',
1577
+ templateType: 'TemplateType',
1351
1578
  };
1352
1579
  }
1353
1580
 
1354
1581
  static types(): { [key: string]: any } {
1355
1582
  return {
1356
1583
  custSpaceId: 'string',
1357
- locale: 'string',
1358
- method: 'string',
1359
- phoneNumber: 'string',
1584
+ end: 'number',
1585
+ granularity: 'string',
1586
+ isvCode: 'string',
1587
+ language: 'string',
1588
+ start: 'number',
1589
+ templateCode: 'string',
1590
+ templateType: 'string',
1360
1591
  };
1361
1592
  }
1362
1593
 
@@ -1365,13 +1596,15 @@ export class GetMigrationVerifyCodeRequest extends $tea.Model {
1365
1596
  }
1366
1597
  }
1367
1598
 
1368
- export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
1599
+ export class GetChatappTemplateMetricResponseBody extends $tea.Model {
1600
+ accessDeniedDetail?: string;
1369
1601
  code?: string;
1370
- data?: GetMigrationVerifyCodeResponseBodyData;
1602
+ data?: GetChatappTemplateMetricResponseBodyData[];
1371
1603
  message?: string;
1372
1604
  requestId?: string;
1373
1605
  static names(): { [key: string]: string } {
1374
1606
  return {
1607
+ accessDeniedDetail: 'AccessDeniedDetail',
1375
1608
  code: 'Code',
1376
1609
  data: 'Data',
1377
1610
  message: 'Message',
@@ -1381,8 +1614,9 @@ export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
1381
1614
 
1382
1615
  static types(): { [key: string]: any } {
1383
1616
  return {
1617
+ accessDeniedDetail: 'string',
1384
1618
  code: 'string',
1385
- data: GetMigrationVerifyCodeResponseBodyData,
1619
+ data: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyData },
1386
1620
  message: 'string',
1387
1621
  requestId: 'string',
1388
1622
  };
@@ -1393,10 +1627,10 @@ export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
1393
1627
  }
1394
1628
  }
1395
1629
 
1396
- export class GetMigrationVerifyCodeResponse extends $tea.Model {
1630
+ export class GetChatappTemplateMetricResponse extends $tea.Model {
1397
1631
  headers: { [key: string]: string };
1398
1632
  statusCode: number;
1399
- body: GetMigrationVerifyCodeResponseBody;
1633
+ body: GetChatappTemplateMetricResponseBody;
1400
1634
  static names(): { [key: string]: string } {
1401
1635
  return {
1402
1636
  headers: 'headers',
@@ -1409,7 +1643,7 @@ export class GetMigrationVerifyCodeResponse extends $tea.Model {
1409
1643
  return {
1410
1644
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1411
1645
  statusCode: 'number',
1412
- body: GetMigrationVerifyCodeResponseBody,
1646
+ body: GetChatappTemplateMetricResponseBody,
1413
1647
  };
1414
1648
  }
1415
1649
 
@@ -1418,20 +1652,17 @@ export class GetMigrationVerifyCodeResponse extends $tea.Model {
1418
1652
  }
1419
1653
  }
1420
1654
 
1421
- export class GetPhoneNumberVerificationStatusRequest extends $tea.Model {
1655
+ export class GetChatappUploadAuthorizationRequest extends $tea.Model {
1422
1656
  custSpaceId?: string;
1423
- phoneNumber?: string;
1424
1657
  static names(): { [key: string]: string } {
1425
1658
  return {
1426
1659
  custSpaceId: 'CustSpaceId',
1427
- phoneNumber: 'PhoneNumber',
1428
1660
  };
1429
1661
  }
1430
1662
 
1431
1663
  static types(): { [key: string]: any } {
1432
1664
  return {
1433
1665
  custSpaceId: 'string',
1434
- phoneNumber: 'string',
1435
1666
  };
1436
1667
  }
1437
1668
 
@@ -1440,13 +1671,15 @@ export class GetPhoneNumberVerificationStatusRequest extends $tea.Model {
1440
1671
  }
1441
1672
  }
1442
1673
 
1443
- export class GetPhoneNumberVerificationStatusResponseBody extends $tea.Model {
1674
+ export class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
1675
+ accessDeniedDetail?: string;
1444
1676
  code?: string;
1445
- data?: GetPhoneNumberVerificationStatusResponseBodyData;
1677
+ data?: GetChatappUploadAuthorizationResponseBodyData;
1446
1678
  message?: string;
1447
1679
  requestId?: string;
1448
1680
  static names(): { [key: string]: string } {
1449
1681
  return {
1682
+ accessDeniedDetail: 'AccessDeniedDetail',
1450
1683
  code: 'Code',
1451
1684
  data: 'Data',
1452
1685
  message: 'Message',
@@ -1456,8 +1689,9 @@ export class GetPhoneNumberVerificationStatusResponseBody extends $tea.Model {
1456
1689
 
1457
1690
  static types(): { [key: string]: any } {
1458
1691
  return {
1692
+ accessDeniedDetail: 'string',
1459
1693
  code: 'string',
1460
- data: GetPhoneNumberVerificationStatusResponseBodyData,
1694
+ data: GetChatappUploadAuthorizationResponseBodyData,
1461
1695
  message: 'string',
1462
1696
  requestId: 'string',
1463
1697
  };
@@ -1468,10 +1702,10 @@ export class GetPhoneNumberVerificationStatusResponseBody extends $tea.Model {
1468
1702
  }
1469
1703
  }
1470
1704
 
1471
- export class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
1705
+ export class GetChatappUploadAuthorizationResponse extends $tea.Model {
1472
1706
  headers: { [key: string]: string };
1473
1707
  statusCode: number;
1474
- body: GetPhoneNumberVerificationStatusResponseBody;
1708
+ body: GetChatappUploadAuthorizationResponseBody;
1475
1709
  static names(): { [key: string]: string } {
1476
1710
  return {
1477
1711
  headers: 'headers',
@@ -1484,7 +1718,7 @@ export class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
1484
1718
  return {
1485
1719
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1486
1720
  statusCode: 'number',
1487
- body: GetPhoneNumberVerificationStatusResponseBody,
1721
+ body: GetChatappUploadAuthorizationResponseBody,
1488
1722
  };
1489
1723
  }
1490
1724
 
@@ -1493,10 +1727,415 @@ export class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
1493
1727
  }
1494
1728
  }
1495
1729
 
1496
- export class IsvGetAppIdRequest extends $tea.Model {
1497
- type?: string;
1498
- static names(): { [key: string]: string } {
1499
- return {
1730
+ export class GetChatappVerifyCodeRequest extends $tea.Model {
1731
+ custSpaceId?: string;
1732
+ locale?: string;
1733
+ method?: string;
1734
+ phoneNumber?: string;
1735
+ static names(): { [key: string]: string } {
1736
+ return {
1737
+ custSpaceId: 'CustSpaceId',
1738
+ locale: 'Locale',
1739
+ method: 'Method',
1740
+ phoneNumber: 'PhoneNumber',
1741
+ };
1742
+ }
1743
+
1744
+ static types(): { [key: string]: any } {
1745
+ return {
1746
+ custSpaceId: 'string',
1747
+ locale: 'string',
1748
+ method: 'string',
1749
+ phoneNumber: 'string',
1750
+ };
1751
+ }
1752
+
1753
+ constructor(map?: { [key: string]: any }) {
1754
+ super(map);
1755
+ }
1756
+ }
1757
+
1758
+ export class GetChatappVerifyCodeResponseBody extends $tea.Model {
1759
+ accessDeniedDetail?: string;
1760
+ code?: string;
1761
+ message?: string;
1762
+ requestId?: string;
1763
+ static names(): { [key: string]: string } {
1764
+ return {
1765
+ accessDeniedDetail: 'AccessDeniedDetail',
1766
+ code: 'Code',
1767
+ message: 'Message',
1768
+ requestId: 'RequestId',
1769
+ };
1770
+ }
1771
+
1772
+ static types(): { [key: string]: any } {
1773
+ return {
1774
+ accessDeniedDetail: 'string',
1775
+ code: 'string',
1776
+ message: 'string',
1777
+ requestId: 'string',
1778
+ };
1779
+ }
1780
+
1781
+ constructor(map?: { [key: string]: any }) {
1782
+ super(map);
1783
+ }
1784
+ }
1785
+
1786
+ export class GetChatappVerifyCodeResponse extends $tea.Model {
1787
+ headers: { [key: string]: string };
1788
+ statusCode: number;
1789
+ body: GetChatappVerifyCodeResponseBody;
1790
+ static names(): { [key: string]: string } {
1791
+ return {
1792
+ headers: 'headers',
1793
+ statusCode: 'statusCode',
1794
+ body: 'body',
1795
+ };
1796
+ }
1797
+
1798
+ static types(): { [key: string]: any } {
1799
+ return {
1800
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1801
+ statusCode: 'number',
1802
+ body: GetChatappVerifyCodeResponseBody,
1803
+ };
1804
+ }
1805
+
1806
+ constructor(map?: { [key: string]: any }) {
1807
+ super(map);
1808
+ }
1809
+ }
1810
+
1811
+ export class GetMigrationVerifyCodeRequest extends $tea.Model {
1812
+ custSpaceId?: string;
1813
+ locale?: string;
1814
+ method?: string;
1815
+ phoneNumber?: string;
1816
+ static names(): { [key: string]: string } {
1817
+ return {
1818
+ custSpaceId: 'CustSpaceId',
1819
+ locale: 'Locale',
1820
+ method: 'Method',
1821
+ phoneNumber: 'PhoneNumber',
1822
+ };
1823
+ }
1824
+
1825
+ static types(): { [key: string]: any } {
1826
+ return {
1827
+ custSpaceId: 'string',
1828
+ locale: 'string',
1829
+ method: 'string',
1830
+ phoneNumber: 'string',
1831
+ };
1832
+ }
1833
+
1834
+ constructor(map?: { [key: string]: any }) {
1835
+ super(map);
1836
+ }
1837
+ }
1838
+
1839
+ export class GetMigrationVerifyCodeResponseBody extends $tea.Model {
1840
+ accessDeniedDetail?: string;
1841
+ code?: string;
1842
+ data?: GetMigrationVerifyCodeResponseBodyData;
1843
+ message?: string;
1844
+ requestId?: string;
1845
+ static names(): { [key: string]: string } {
1846
+ return {
1847
+ accessDeniedDetail: 'AccessDeniedDetail',
1848
+ code: 'Code',
1849
+ data: 'Data',
1850
+ message: 'Message',
1851
+ requestId: 'RequestId',
1852
+ };
1853
+ }
1854
+
1855
+ static types(): { [key: string]: any } {
1856
+ return {
1857
+ accessDeniedDetail: 'string',
1858
+ code: 'string',
1859
+ data: GetMigrationVerifyCodeResponseBodyData,
1860
+ message: 'string',
1861
+ requestId: 'string',
1862
+ };
1863
+ }
1864
+
1865
+ constructor(map?: { [key: string]: any }) {
1866
+ super(map);
1867
+ }
1868
+ }
1869
+
1870
+ export class GetMigrationVerifyCodeResponse extends $tea.Model {
1871
+ headers: { [key: string]: string };
1872
+ statusCode: number;
1873
+ body: GetMigrationVerifyCodeResponseBody;
1874
+ static names(): { [key: string]: string } {
1875
+ return {
1876
+ headers: 'headers',
1877
+ statusCode: 'statusCode',
1878
+ body: 'body',
1879
+ };
1880
+ }
1881
+
1882
+ static types(): { [key: string]: any } {
1883
+ return {
1884
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1885
+ statusCode: 'number',
1886
+ body: GetMigrationVerifyCodeResponseBody,
1887
+ };
1888
+ }
1889
+
1890
+ constructor(map?: { [key: string]: any }) {
1891
+ super(map);
1892
+ }
1893
+ }
1894
+
1895
+ export class GetPhoneNumberVerificationStatusRequest extends $tea.Model {
1896
+ custSpaceId?: string;
1897
+ phoneNumber?: string;
1898
+ static names(): { [key: string]: string } {
1899
+ return {
1900
+ custSpaceId: 'CustSpaceId',
1901
+ phoneNumber: 'PhoneNumber',
1902
+ };
1903
+ }
1904
+
1905
+ static types(): { [key: string]: any } {
1906
+ return {
1907
+ custSpaceId: 'string',
1908
+ phoneNumber: 'string',
1909
+ };
1910
+ }
1911
+
1912
+ constructor(map?: { [key: string]: any }) {
1913
+ super(map);
1914
+ }
1915
+ }
1916
+
1917
+ export class GetPhoneNumberVerificationStatusResponseBody extends $tea.Model {
1918
+ code?: string;
1919
+ data?: GetPhoneNumberVerificationStatusResponseBodyData;
1920
+ message?: string;
1921
+ requestId?: string;
1922
+ static names(): { [key: string]: string } {
1923
+ return {
1924
+ code: 'Code',
1925
+ data: 'Data',
1926
+ message: 'Message',
1927
+ requestId: 'RequestId',
1928
+ };
1929
+ }
1930
+
1931
+ static types(): { [key: string]: any } {
1932
+ return {
1933
+ code: 'string',
1934
+ data: GetPhoneNumberVerificationStatusResponseBodyData,
1935
+ message: 'string',
1936
+ requestId: 'string',
1937
+ };
1938
+ }
1939
+
1940
+ constructor(map?: { [key: string]: any }) {
1941
+ super(map);
1942
+ }
1943
+ }
1944
+
1945
+ export class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
1946
+ headers: { [key: string]: string };
1947
+ statusCode: number;
1948
+ body: GetPhoneNumberVerificationStatusResponseBody;
1949
+ static names(): { [key: string]: string } {
1950
+ return {
1951
+ headers: 'headers',
1952
+ statusCode: 'statusCode',
1953
+ body: 'body',
1954
+ };
1955
+ }
1956
+
1957
+ static types(): { [key: string]: any } {
1958
+ return {
1959
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1960
+ statusCode: 'number',
1961
+ body: GetPhoneNumberVerificationStatusResponseBody,
1962
+ };
1963
+ }
1964
+
1965
+ constructor(map?: { [key: string]: any }) {
1966
+ super(map);
1967
+ }
1968
+ }
1969
+
1970
+ export class GetPreValidatePhoneIdRequest extends $tea.Model {
1971
+ phoneNumber?: string;
1972
+ verifyCode?: string;
1973
+ static names(): { [key: string]: string } {
1974
+ return {
1975
+ phoneNumber: 'PhoneNumber',
1976
+ verifyCode: 'VerifyCode',
1977
+ };
1978
+ }
1979
+
1980
+ static types(): { [key: string]: any } {
1981
+ return {
1982
+ phoneNumber: 'string',
1983
+ verifyCode: 'string',
1984
+ };
1985
+ }
1986
+
1987
+ constructor(map?: { [key: string]: any }) {
1988
+ super(map);
1989
+ }
1990
+ }
1991
+
1992
+ export class GetPreValidatePhoneIdResponseBody extends $tea.Model {
1993
+ code?: string;
1994
+ data?: GetPreValidatePhoneIdResponseBodyData;
1995
+ message?: string;
1996
+ requestId?: string;
1997
+ static names(): { [key: string]: string } {
1998
+ return {
1999
+ code: 'Code',
2000
+ data: 'Data',
2001
+ message: 'Message',
2002
+ requestId: 'RequestId',
2003
+ };
2004
+ }
2005
+
2006
+ static types(): { [key: string]: any } {
2007
+ return {
2008
+ code: 'string',
2009
+ data: GetPreValidatePhoneIdResponseBodyData,
2010
+ message: 'string',
2011
+ requestId: 'string',
2012
+ };
2013
+ }
2014
+
2015
+ constructor(map?: { [key: string]: any }) {
2016
+ super(map);
2017
+ }
2018
+ }
2019
+
2020
+ export class GetPreValidatePhoneIdResponse extends $tea.Model {
2021
+ headers: { [key: string]: string };
2022
+ statusCode: number;
2023
+ body: GetPreValidatePhoneIdResponseBody;
2024
+ static names(): { [key: string]: string } {
2025
+ return {
2026
+ headers: 'headers',
2027
+ statusCode: 'statusCode',
2028
+ body: 'body',
2029
+ };
2030
+ }
2031
+
2032
+ static types(): { [key: string]: any } {
2033
+ return {
2034
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2035
+ statusCode: 'number',
2036
+ body: GetPreValidatePhoneIdResponseBody,
2037
+ };
2038
+ }
2039
+
2040
+ constructor(map?: { [key: string]: any }) {
2041
+ super(map);
2042
+ }
2043
+ }
2044
+
2045
+ export class GetWhatsappConnectionCatalogRequest extends $tea.Model {
2046
+ custSpaceId?: string;
2047
+ ownerId?: number;
2048
+ resourceOwnerAccount?: string;
2049
+ resourceOwnerId?: number;
2050
+ wabaId?: string;
2051
+ static names(): { [key: string]: string } {
2052
+ return {
2053
+ custSpaceId: 'CustSpaceId',
2054
+ ownerId: 'OwnerId',
2055
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2056
+ resourceOwnerId: 'ResourceOwnerId',
2057
+ wabaId: 'WabaId',
2058
+ };
2059
+ }
2060
+
2061
+ static types(): { [key: string]: any } {
2062
+ return {
2063
+ custSpaceId: 'string',
2064
+ ownerId: 'number',
2065
+ resourceOwnerAccount: 'string',
2066
+ resourceOwnerId: 'number',
2067
+ wabaId: 'string',
2068
+ };
2069
+ }
2070
+
2071
+ constructor(map?: { [key: string]: any }) {
2072
+ super(map);
2073
+ }
2074
+ }
2075
+
2076
+ export class GetWhatsappConnectionCatalogResponseBody extends $tea.Model {
2077
+ accessDeniedDetail?: string;
2078
+ code?: string;
2079
+ message?: string;
2080
+ model?: { [key: string]: any };
2081
+ requestId?: string;
2082
+ success?: boolean;
2083
+ static names(): { [key: string]: string } {
2084
+ return {
2085
+ accessDeniedDetail: 'AccessDeniedDetail',
2086
+ code: 'Code',
2087
+ message: 'Message',
2088
+ model: 'Model',
2089
+ requestId: 'RequestId',
2090
+ success: 'Success',
2091
+ };
2092
+ }
2093
+
2094
+ static types(): { [key: string]: any } {
2095
+ return {
2096
+ accessDeniedDetail: 'string',
2097
+ code: 'string',
2098
+ message: 'string',
2099
+ model: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2100
+ requestId: 'string',
2101
+ success: 'boolean',
2102
+ };
2103
+ }
2104
+
2105
+ constructor(map?: { [key: string]: any }) {
2106
+ super(map);
2107
+ }
2108
+ }
2109
+
2110
+ export class GetWhatsappConnectionCatalogResponse extends $tea.Model {
2111
+ headers: { [key: string]: string };
2112
+ statusCode: number;
2113
+ body: GetWhatsappConnectionCatalogResponseBody;
2114
+ static names(): { [key: string]: string } {
2115
+ return {
2116
+ headers: 'headers',
2117
+ statusCode: 'statusCode',
2118
+ body: 'body',
2119
+ };
2120
+ }
2121
+
2122
+ static types(): { [key: string]: any } {
2123
+ return {
2124
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2125
+ statusCode: 'number',
2126
+ body: GetWhatsappConnectionCatalogResponseBody,
2127
+ };
2128
+ }
2129
+
2130
+ constructor(map?: { [key: string]: any }) {
2131
+ super(map);
2132
+ }
2133
+ }
2134
+
2135
+ export class IsvGetAppIdRequest extends $tea.Model {
2136
+ type?: string;
2137
+ static names(): { [key: string]: string } {
2138
+ return {
1500
2139
  type: 'Type',
1501
2140
  };
1502
2141
  }
@@ -1513,12 +2152,14 @@ export class IsvGetAppIdRequest extends $tea.Model {
1513
2152
  }
1514
2153
 
1515
2154
  export class IsvGetAppIdResponseBody extends $tea.Model {
2155
+ accessDeniedDetail?: string;
1516
2156
  appId?: string;
1517
2157
  code?: string;
1518
2158
  message?: string;
1519
2159
  requestId?: string;
1520
2160
  static names(): { [key: string]: string } {
1521
2161
  return {
2162
+ accessDeniedDetail: 'AccessDeniedDetail',
1522
2163
  appId: 'AppId',
1523
2164
  code: 'Code',
1524
2165
  message: 'Message',
@@ -1528,6 +2169,7 @@ export class IsvGetAppIdResponseBody extends $tea.Model {
1528
2169
 
1529
2170
  static types(): { [key: string]: any } {
1530
2171
  return {
2172
+ accessDeniedDetail: 'string',
1531
2173
  appId: 'string',
1532
2174
  code: 'string',
1533
2175
  message: 'string',
@@ -1646,6 +2288,7 @@ export class ListChatappTemplateShrinkRequest extends $tea.Model {
1646
2288
  }
1647
2289
 
1648
2290
  export class ListChatappTemplateResponseBody extends $tea.Model {
2291
+ accessDeniedDetail?: string;
1649
2292
  code?: string;
1650
2293
  listTemplate?: ListChatappTemplateResponseBodyListTemplate[];
1651
2294
  message?: string;
@@ -1653,6 +2296,7 @@ export class ListChatappTemplateResponseBody extends $tea.Model {
1653
2296
  total?: number;
1654
2297
  static names(): { [key: string]: string } {
1655
2298
  return {
2299
+ accessDeniedDetail: 'AccessDeniedDetail',
1656
2300
  code: 'Code',
1657
2301
  listTemplate: 'ListTemplate',
1658
2302
  message: 'Message',
@@ -1663,6 +2307,7 @@ export class ListChatappTemplateResponseBody extends $tea.Model {
1663
2307
 
1664
2308
  static types(): { [key: string]: any } {
1665
2309
  return {
2310
+ accessDeniedDetail: 'string',
1666
2311
  code: 'string',
1667
2312
  listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
1668
2313
  message: 'string',
@@ -1701,6 +2346,213 @@ export class ListChatappTemplateResponse extends $tea.Model {
1701
2346
  }
1702
2347
  }
1703
2348
 
2349
+ export class ListProductRequest extends $tea.Model {
2350
+ after?: string;
2351
+ before?: string;
2352
+ catalogId?: string;
2353
+ custSpaceId?: string;
2354
+ fields?: string;
2355
+ limit?: number;
2356
+ ownerId?: number;
2357
+ resourceOwnerAccount?: string;
2358
+ resourceOwnerId?: number;
2359
+ wabaId?: string;
2360
+ static names(): { [key: string]: string } {
2361
+ return {
2362
+ after: 'After',
2363
+ before: 'Before',
2364
+ catalogId: 'CatalogId',
2365
+ custSpaceId: 'CustSpaceId',
2366
+ fields: 'Fields',
2367
+ limit: 'Limit',
2368
+ ownerId: 'OwnerId',
2369
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2370
+ resourceOwnerId: 'ResourceOwnerId',
2371
+ wabaId: 'WabaId',
2372
+ };
2373
+ }
2374
+
2375
+ static types(): { [key: string]: any } {
2376
+ return {
2377
+ after: 'string',
2378
+ before: 'string',
2379
+ catalogId: 'string',
2380
+ custSpaceId: 'string',
2381
+ fields: 'string',
2382
+ limit: 'number',
2383
+ ownerId: 'number',
2384
+ resourceOwnerAccount: 'string',
2385
+ resourceOwnerId: 'number',
2386
+ wabaId: 'string',
2387
+ };
2388
+ }
2389
+
2390
+ constructor(map?: { [key: string]: any }) {
2391
+ super(map);
2392
+ }
2393
+ }
2394
+
2395
+ export class ListProductResponseBody extends $tea.Model {
2396
+ accessDeniedDetail?: string;
2397
+ code?: string;
2398
+ message?: string;
2399
+ model?: ListProductResponseBodyModel;
2400
+ requestId?: string;
2401
+ success?: boolean;
2402
+ static names(): { [key: string]: string } {
2403
+ return {
2404
+ accessDeniedDetail: 'AccessDeniedDetail',
2405
+ code: 'Code',
2406
+ message: 'Message',
2407
+ model: 'Model',
2408
+ requestId: 'RequestId',
2409
+ success: 'Success',
2410
+ };
2411
+ }
2412
+
2413
+ static types(): { [key: string]: any } {
2414
+ return {
2415
+ accessDeniedDetail: 'string',
2416
+ code: 'string',
2417
+ message: 'string',
2418
+ model: ListProductResponseBodyModel,
2419
+ requestId: 'string',
2420
+ success: 'boolean',
2421
+ };
2422
+ }
2423
+
2424
+ constructor(map?: { [key: string]: any }) {
2425
+ super(map);
2426
+ }
2427
+ }
2428
+
2429
+ export class ListProductResponse extends $tea.Model {
2430
+ headers: { [key: string]: string };
2431
+ statusCode: number;
2432
+ body: ListProductResponseBody;
2433
+ static names(): { [key: string]: string } {
2434
+ return {
2435
+ headers: 'headers',
2436
+ statusCode: 'statusCode',
2437
+ body: 'body',
2438
+ };
2439
+ }
2440
+
2441
+ static types(): { [key: string]: any } {
2442
+ return {
2443
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2444
+ statusCode: 'number',
2445
+ body: ListProductResponseBody,
2446
+ };
2447
+ }
2448
+
2449
+ constructor(map?: { [key: string]: any }) {
2450
+ super(map);
2451
+ }
2452
+ }
2453
+
2454
+ export class ListProductCatalogRequest extends $tea.Model {
2455
+ after?: string;
2456
+ before?: string;
2457
+ businessId?: number;
2458
+ custSpaceId?: string;
2459
+ fields?: string;
2460
+ limit?: number;
2461
+ ownerId?: number;
2462
+ resourceOwnerAccount?: string;
2463
+ resourceOwnerId?: number;
2464
+ static names(): { [key: string]: string } {
2465
+ return {
2466
+ after: 'After',
2467
+ before: 'Before',
2468
+ businessId: 'BusinessId',
2469
+ custSpaceId: 'CustSpaceId',
2470
+ fields: 'Fields',
2471
+ limit: 'Limit',
2472
+ ownerId: 'OwnerId',
2473
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2474
+ resourceOwnerId: 'ResourceOwnerId',
2475
+ };
2476
+ }
2477
+
2478
+ static types(): { [key: string]: any } {
2479
+ return {
2480
+ after: 'string',
2481
+ before: 'string',
2482
+ businessId: 'number',
2483
+ custSpaceId: 'string',
2484
+ fields: 'string',
2485
+ limit: 'number',
2486
+ ownerId: 'number',
2487
+ resourceOwnerAccount: 'string',
2488
+ resourceOwnerId: 'number',
2489
+ };
2490
+ }
2491
+
2492
+ constructor(map?: { [key: string]: any }) {
2493
+ super(map);
2494
+ }
2495
+ }
2496
+
2497
+ export class ListProductCatalogResponseBody extends $tea.Model {
2498
+ accessDeniedDetail?: string;
2499
+ code?: string;
2500
+ message?: string;
2501
+ model?: ListProductCatalogResponseBodyModel;
2502
+ requestId?: string;
2503
+ success?: boolean;
2504
+ static names(): { [key: string]: string } {
2505
+ return {
2506
+ accessDeniedDetail: 'AccessDeniedDetail',
2507
+ code: 'Code',
2508
+ message: 'Message',
2509
+ model: 'Model',
2510
+ requestId: 'RequestId',
2511
+ success: 'Success',
2512
+ };
2513
+ }
2514
+
2515
+ static types(): { [key: string]: any } {
2516
+ return {
2517
+ accessDeniedDetail: 'string',
2518
+ code: 'string',
2519
+ message: 'string',
2520
+ model: ListProductCatalogResponseBodyModel,
2521
+ requestId: 'string',
2522
+ success: 'boolean',
2523
+ };
2524
+ }
2525
+
2526
+ constructor(map?: { [key: string]: any }) {
2527
+ super(map);
2528
+ }
2529
+ }
2530
+
2531
+ export class ListProductCatalogResponse extends $tea.Model {
2532
+ headers: { [key: string]: string };
2533
+ statusCode: number;
2534
+ body: ListProductCatalogResponseBody;
2535
+ static names(): { [key: string]: string } {
2536
+ return {
2537
+ headers: 'headers',
2538
+ statusCode: 'statusCode',
2539
+ body: 'body',
2540
+ };
2541
+ }
2542
+
2543
+ static types(): { [key: string]: any } {
2544
+ return {
2545
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2546
+ statusCode: 'number',
2547
+ body: ListProductCatalogResponseBody,
2548
+ };
2549
+ }
2550
+
2551
+ constructor(map?: { [key: string]: any }) {
2552
+ super(map);
2553
+ }
2554
+ }
2555
+
1704
2556
  export class ModifyChatappTemplateRequest extends $tea.Model {
1705
2557
  category?: string;
1706
2558
  components?: ModifyChatappTemplateRequestComponents[];
@@ -1709,6 +2561,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
1709
2561
  example?: { [key: string]: string };
1710
2562
  isvCode?: string;
1711
2563
  language?: string;
2564
+ messageSendTtlSeconds?: number;
1712
2565
  templateCode?: string;
1713
2566
  templateType?: string;
1714
2567
  static names(): { [key: string]: string } {
@@ -1720,6 +2573,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
1720
2573
  example: 'Example',
1721
2574
  isvCode: 'IsvCode',
1722
2575
  language: 'Language',
2576
+ messageSendTtlSeconds: 'MessageSendTtlSeconds',
1723
2577
  templateCode: 'TemplateCode',
1724
2578
  templateType: 'TemplateType',
1725
2579
  };
@@ -1734,6 +2588,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
1734
2588
  example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1735
2589
  isvCode: 'string',
1736
2590
  language: 'string',
2591
+ messageSendTtlSeconds: 'number',
1737
2592
  templateCode: 'string',
1738
2593
  templateType: 'string',
1739
2594
  };
@@ -1752,6 +2607,7 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
1752
2607
  exampleShrink?: string;
1753
2608
  isvCode?: string;
1754
2609
  language?: string;
2610
+ messageSendTtlSeconds?: number;
1755
2611
  templateCode?: string;
1756
2612
  templateType?: string;
1757
2613
  static names(): { [key: string]: string } {
@@ -1763,6 +2619,7 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
1763
2619
  exampleShrink: 'Example',
1764
2620
  isvCode: 'IsvCode',
1765
2621
  language: 'Language',
2622
+ messageSendTtlSeconds: 'MessageSendTtlSeconds',
1766
2623
  templateCode: 'TemplateCode',
1767
2624
  templateType: 'TemplateType',
1768
2625
  };
@@ -1777,6 +2634,7 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
1777
2634
  exampleShrink: 'string',
1778
2635
  isvCode: 'string',
1779
2636
  language: 'string',
2637
+ messageSendTtlSeconds: 'number',
1780
2638
  templateCode: 'string',
1781
2639
  templateType: 'string',
1782
2640
  };
@@ -1788,12 +2646,14 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
1788
2646
  }
1789
2647
 
1790
2648
  export class ModifyChatappTemplateResponseBody extends $tea.Model {
2649
+ accessDeniedDetail?: string;
1791
2650
  code?: string;
1792
2651
  data?: ModifyChatappTemplateResponseBodyData;
1793
2652
  message?: string;
1794
2653
  requestId?: string;
1795
2654
  static names(): { [key: string]: string } {
1796
2655
  return {
2656
+ accessDeniedDetail: 'AccessDeniedDetail',
1797
2657
  code: 'Code',
1798
2658
  data: 'Data',
1799
2659
  message: 'Message',
@@ -1803,6 +2663,7 @@ export class ModifyChatappTemplateResponseBody extends $tea.Model {
1803
2663
 
1804
2664
  static types(): { [key: string]: any } {
1805
2665
  return {
2666
+ accessDeniedDetail: 'string',
1806
2667
  code: 'string',
1807
2668
  data: ModifyChatappTemplateResponseBodyData,
1808
2669
  message: 'string',
@@ -1921,11 +2782,13 @@ export class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
1921
2782
  }
1922
2783
 
1923
2784
  export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
2785
+ accessDeniedDetail?: string;
1924
2786
  code?: string;
1925
2787
  message?: string;
1926
2788
  requestId?: string;
1927
2789
  static names(): { [key: string]: string } {
1928
2790
  return {
2791
+ accessDeniedDetail: 'AccessDeniedDetail',
1929
2792
  code: 'Code',
1930
2793
  message: 'Message',
1931
2794
  requestId: 'RequestId',
@@ -1934,6 +2797,7 @@ export class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
1934
2797
 
1935
2798
  static types(): { [key: string]: any } {
1936
2799
  return {
2800
+ accessDeniedDetail: 'string',
1937
2801
  code: 'string',
1938
2802
  message: 'string',
1939
2803
  requestId: 'string',
@@ -1993,12 +2857,14 @@ export class QueryChatappBindWabaRequest extends $tea.Model {
1993
2857
  }
1994
2858
 
1995
2859
  export class QueryChatappBindWabaResponseBody extends $tea.Model {
2860
+ accessDeniedDetail?: string;
1996
2861
  code?: string;
1997
2862
  data?: QueryChatappBindWabaResponseBodyData;
1998
2863
  message?: string;
1999
2864
  requestId?: string;
2000
2865
  static names(): { [key: string]: string } {
2001
2866
  return {
2867
+ accessDeniedDetail: 'AccessDeniedDetail',
2002
2868
  code: 'Code',
2003
2869
  data: 'Data',
2004
2870
  message: 'Message',
@@ -2008,6 +2874,7 @@ export class QueryChatappBindWabaResponseBody extends $tea.Model {
2008
2874
 
2009
2875
  static types(): { [key: string]: any } {
2010
2876
  return {
2877
+ accessDeniedDetail: 'string',
2011
2878
  code: 'string',
2012
2879
  data: QueryChatappBindWabaResponseBodyData,
2013
2880
  message: 'string',
@@ -2068,12 +2935,14 @@ export class QueryChatappPhoneNumbersRequest extends $tea.Model {
2068
2935
  }
2069
2936
 
2070
2937
  export class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
2938
+ accessDeniedDetail?: string;
2071
2939
  code?: string;
2072
2940
  message?: string;
2073
2941
  phoneNumbers?: QueryChatappPhoneNumbersResponseBodyPhoneNumbers[];
2074
2942
  requestId?: string;
2075
2943
  static names(): { [key: string]: string } {
2076
2944
  return {
2945
+ accessDeniedDetail: 'AccessDeniedDetail',
2077
2946
  code: 'Code',
2078
2947
  message: 'Message',
2079
2948
  phoneNumbers: 'PhoneNumbers',
@@ -2083,6 +2952,7 @@ export class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
2083
2952
 
2084
2953
  static types(): { [key: string]: any } {
2085
2954
  return {
2955
+ accessDeniedDetail: 'string',
2086
2956
  code: 'string',
2087
2957
  message: 'string',
2088
2958
  phoneNumbers: { 'type': 'array', 'itemType': QueryChatappPhoneNumbersResponseBodyPhoneNumbers },
@@ -2143,12 +3013,14 @@ export class QueryPhoneBusinessProfileRequest extends $tea.Model {
2143
3013
  }
2144
3014
 
2145
3015
  export class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
3016
+ accessDeniedDetail?: string;
2146
3017
  code?: string;
2147
3018
  data?: QueryPhoneBusinessProfileResponseBodyData;
2148
3019
  message?: string;
2149
3020
  requestId?: string;
2150
3021
  static names(): { [key: string]: string } {
2151
3022
  return {
3023
+ accessDeniedDetail: 'AccessDeniedDetail',
2152
3024
  code: 'Code',
2153
3025
  data: 'Data',
2154
3026
  message: 'Message',
@@ -2158,6 +3030,7 @@ export class QueryPhoneBusinessProfileResponseBody extends $tea.Model {
2158
3030
 
2159
3031
  static types(): { [key: string]: any } {
2160
3032
  return {
3033
+ accessDeniedDetail: 'string',
2161
3034
  code: 'string',
2162
3035
  data: QueryPhoneBusinessProfileResponseBodyData,
2163
3036
  message: 'string',
@@ -2218,12 +3091,14 @@ export class QueryWabaBusinessInfoRequest extends $tea.Model {
2218
3091
  }
2219
3092
 
2220
3093
  export class QueryWabaBusinessInfoResponseBody extends $tea.Model {
3094
+ accessDeniedDetail?: string;
2221
3095
  code?: string;
2222
3096
  data?: QueryWabaBusinessInfoResponseBodyData;
2223
3097
  message?: string;
2224
3098
  requestId?: string;
2225
3099
  static names(): { [key: string]: string } {
2226
3100
  return {
3101
+ accessDeniedDetail: 'AccessDeniedDetail',
2227
3102
  code: 'Code',
2228
3103
  data: 'Data',
2229
3104
  message: 'Message',
@@ -2233,6 +3108,7 @@ export class QueryWabaBusinessInfoResponseBody extends $tea.Model {
2233
3108
 
2234
3109
  static types(): { [key: string]: any } {
2235
3110
  return {
3111
+ accessDeniedDetail: 'string',
2236
3112
  code: 'string',
2237
3113
  data: QueryWabaBusinessInfoResponseBodyData,
2238
3114
  message: 'string',
@@ -2393,12 +3269,14 @@ export class SendChatappMassMessageShrinkRequest extends $tea.Model {
2393
3269
  }
2394
3270
 
2395
3271
  export class SendChatappMassMessageResponseBody extends $tea.Model {
3272
+ accessDeniedDetail?: string;
2396
3273
  code?: string;
2397
3274
  groupMessageId?: string;
2398
3275
  message?: string;
2399
3276
  requestId?: string;
2400
3277
  static names(): { [key: string]: string } {
2401
3278
  return {
3279
+ accessDeniedDetail: 'AccessDeniedDetail',
2402
3280
  code: 'Code',
2403
3281
  groupMessageId: 'GroupMessageId',
2404
3282
  message: 'Message',
@@ -2408,6 +3286,7 @@ export class SendChatappMassMessageResponseBody extends $tea.Model {
2408
3286
 
2409
3287
  static types(): { [key: string]: any } {
2410
3288
  return {
3289
+ accessDeniedDetail: 'string',
2411
3290
  code: 'string',
2412
3291
  groupMessageId: 'string',
2413
3292
  message: 'string',
@@ -2460,6 +3339,7 @@ export class SendChatappMessageRequest extends $tea.Model {
2460
3339
  language?: string;
2461
3340
  messageType?: string;
2462
3341
  payload?: string[];
3342
+ productAction?: SendChatappMessageRequestProductAction;
2463
3343
  tag?: string;
2464
3344
  taskId?: string;
2465
3345
  templateCode?: string;
@@ -2484,6 +3364,7 @@ export class SendChatappMessageRequest extends $tea.Model {
2484
3364
  language: 'Language',
2485
3365
  messageType: 'MessageType',
2486
3366
  payload: 'Payload',
3367
+ productAction: 'ProductAction',
2487
3368
  tag: 'Tag',
2488
3369
  taskId: 'TaskId',
2489
3370
  templateCode: 'TemplateCode',
@@ -2511,6 +3392,7 @@ export class SendChatappMessageRequest extends $tea.Model {
2511
3392
  language: 'string',
2512
3393
  messageType: 'string',
2513
3394
  payload: { 'type': 'array', 'itemType': 'string' },
3395
+ productAction: SendChatappMessageRequestProductAction,
2514
3396
  tag: 'string',
2515
3397
  taskId: 'string',
2516
3398
  templateCode: 'string',
@@ -2542,6 +3424,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
2542
3424
  language?: string;
2543
3425
  messageType?: string;
2544
3426
  payloadShrink?: string;
3427
+ productActionShrink?: string;
2545
3428
  tag?: string;
2546
3429
  taskId?: string;
2547
3430
  templateCode?: string;
@@ -2566,6 +3449,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
2566
3449
  language: 'Language',
2567
3450
  messageType: 'MessageType',
2568
3451
  payloadShrink: 'Payload',
3452
+ productActionShrink: 'ProductAction',
2569
3453
  tag: 'Tag',
2570
3454
  taskId: 'TaskId',
2571
3455
  templateCode: 'TemplateCode',
@@ -2593,6 +3477,7 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
2593
3477
  language: 'string',
2594
3478
  messageType: 'string',
2595
3479
  payloadShrink: 'string',
3480
+ productActionShrink: 'string',
2596
3481
  tag: 'string',
2597
3482
  taskId: 'string',
2598
3483
  templateCode: 'string',
@@ -2700,11 +3585,13 @@ export class SubmitIsvCustomerTermsRequest extends $tea.Model {
2700
3585
  }
2701
3586
 
2702
3587
  export class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
3588
+ accessDeniedDetail?: string;
2703
3589
  code?: string;
2704
3590
  message?: string;
2705
3591
  requestId?: string;
2706
3592
  static names(): { [key: string]: string } {
2707
3593
  return {
3594
+ accessDeniedDetail: 'AccessDeniedDetail',
2708
3595
  code: 'Code',
2709
3596
  message: 'Message',
2710
3597
  requestId: 'RequestId',
@@ -2713,6 +3600,7 @@ export class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
2713
3600
 
2714
3601
  static types(): { [key: string]: any } {
2715
3602
  return {
3603
+ accessDeniedDetail: 'string',
2716
3604
  code: 'string',
2717
3605
  message: 'string',
2718
3606
  requestId: 'string',
@@ -2778,11 +3666,13 @@ export class UpdateAccountWebhookRequest extends $tea.Model {
2778
3666
  }
2779
3667
 
2780
3668
  export class UpdateAccountWebhookResponseBody extends $tea.Model {
3669
+ accessDeniedDetail?: string;
2781
3670
  code?: string;
2782
3671
  message?: string;
2783
3672
  requestId?: string;
2784
3673
  static names(): { [key: string]: string } {
2785
3674
  return {
3675
+ accessDeniedDetail: 'AccessDeniedDetail',
2786
3676
  code: 'Code',
2787
3677
  message: 'Message',
2788
3678
  requestId: 'RequestId',
@@ -2791,6 +3681,7 @@ export class UpdateAccountWebhookResponseBody extends $tea.Model {
2791
3681
 
2792
3682
  static types(): { [key: string]: any } {
2793
3683
  return {
3684
+ accessDeniedDetail: 'string',
2794
3685
  code: 'string',
2795
3686
  message: 'string',
2796
3687
  requestId: 'string',
@@ -2862,11 +3753,13 @@ export class UpdatePhoneWebhookRequest extends $tea.Model {
2862
3753
  }
2863
3754
 
2864
3755
  export class UpdatePhoneWebhookResponseBody extends $tea.Model {
3756
+ accessDeniedDetail?: string;
2865
3757
  code?: string;
2866
3758
  message?: string;
2867
3759
  requestId?: string;
2868
3760
  static names(): { [key: string]: string } {
2869
3761
  return {
3762
+ accessDeniedDetail: 'AccessDeniedDetail',
2870
3763
  code: 'Code',
2871
3764
  message: 'Message',
2872
3765
  requestId: 'RequestId',
@@ -2875,6 +3768,7 @@ export class UpdatePhoneWebhookResponseBody extends $tea.Model {
2875
3768
 
2876
3769
  static types(): { [key: string]: any } {
2877
3770
  return {
3771
+ accessDeniedDetail: 'string',
2878
3772
  code: 'string',
2879
3773
  message: 'string',
2880
3774
  requestId: 'string',
@@ -3456,6 +4350,40 @@ export class CreateChatappTemplateResponseBodyData extends $tea.Model {
3456
4350
  }
3457
4351
  }
3458
4352
 
4353
+ export class GetChatappPhoneNumberMetricResponseBodyData extends $tea.Model {
4354
+ deliveredCount?: number;
4355
+ end?: number;
4356
+ granularity?: string;
4357
+ phoneNumber?: string;
4358
+ sentCount?: number;
4359
+ start?: number;
4360
+ static names(): { [key: string]: string } {
4361
+ return {
4362
+ deliveredCount: 'DeliveredCount',
4363
+ end: 'End',
4364
+ granularity: 'Granularity',
4365
+ phoneNumber: 'PhoneNumber',
4366
+ sentCount: 'SentCount',
4367
+ start: 'Start',
4368
+ };
4369
+ }
4370
+
4371
+ static types(): { [key: string]: any } {
4372
+ return {
4373
+ deliveredCount: 'number',
4374
+ end: 'number',
4375
+ granularity: 'string',
4376
+ phoneNumber: 'string',
4377
+ sentCount: 'number',
4378
+ start: 'number',
4379
+ };
4380
+ }
4381
+
4382
+ constructor(map?: { [key: string]: any }) {
4383
+ super(map);
4384
+ }
4385
+ }
4386
+
3459
4387
  export class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs extends $tea.Model {
3460
4388
  action?: string;
3461
4389
  intentCode?: string;
@@ -3603,32 +4531,106 @@ export class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
3603
4531
  components?: GetChatappTemplateDetailResponseBodyDataComponents[];
3604
4532
  example?: { [key: string]: string };
3605
4533
  language?: string;
4534
+ messageSendTtlSeconds?: number;
3606
4535
  name?: string;
4536
+ qualityScore?: string;
4537
+ reason?: string;
3607
4538
  templateCode?: string;
3608
4539
  templateType?: string;
3609
4540
  static names(): { [key: string]: string } {
3610
4541
  return {
3611
- auditStatus: 'AuditStatus',
3612
- category: 'Category',
3613
- components: 'Components',
3614
- example: 'Example',
4542
+ auditStatus: 'AuditStatus',
4543
+ category: 'Category',
4544
+ components: 'Components',
4545
+ example: 'Example',
4546
+ language: 'Language',
4547
+ messageSendTtlSeconds: 'MessageSendTtlSeconds',
4548
+ name: 'Name',
4549
+ qualityScore: 'QualityScore',
4550
+ reason: 'Reason',
4551
+ templateCode: 'TemplateCode',
4552
+ templateType: 'TemplateType',
4553
+ };
4554
+ }
4555
+
4556
+ static types(): { [key: string]: any } {
4557
+ return {
4558
+ auditStatus: 'string',
4559
+ category: 'string',
4560
+ components: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponents },
4561
+ example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4562
+ language: 'string',
4563
+ messageSendTtlSeconds: 'number',
4564
+ name: 'string',
4565
+ qualityScore: 'string',
4566
+ reason: 'string',
4567
+ templateCode: 'string',
4568
+ templateType: 'string',
4569
+ };
4570
+ }
4571
+
4572
+ constructor(map?: { [key: string]: any }) {
4573
+ super(map);
4574
+ }
4575
+ }
4576
+
4577
+ export class GetChatappTemplateMetricResponseBodyDataCliented extends $tea.Model {
4578
+ buttonContent?: string;
4579
+ count?: number;
4580
+ type?: string;
4581
+ static names(): { [key: string]: string } {
4582
+ return {
4583
+ buttonContent: 'ButtonContent',
4584
+ count: 'Count',
4585
+ type: 'Type',
4586
+ };
4587
+ }
4588
+
4589
+ static types(): { [key: string]: any } {
4590
+ return {
4591
+ buttonContent: 'string',
4592
+ count: 'number',
4593
+ type: 'string',
4594
+ };
4595
+ }
4596
+
4597
+ constructor(map?: { [key: string]: any }) {
4598
+ super(map);
4599
+ }
4600
+ }
4601
+
4602
+ export class GetChatappTemplateMetricResponseBodyData extends $tea.Model {
4603
+ cliented?: GetChatappTemplateMetricResponseBodyDataCliented[];
4604
+ deliveredCount?: number;
4605
+ end?: number;
4606
+ language?: string;
4607
+ readCount?: number;
4608
+ sentCount?: number;
4609
+ start?: number;
4610
+ templateCode?: string;
4611
+ static names(): { [key: string]: string } {
4612
+ return {
4613
+ cliented: 'Cliented',
4614
+ deliveredCount: 'DeliveredCount',
4615
+ end: 'End',
3615
4616
  language: 'Language',
3616
- name: 'Name',
4617
+ readCount: 'ReadCount',
4618
+ sentCount: 'SentCount',
4619
+ start: 'Start',
3617
4620
  templateCode: 'TemplateCode',
3618
- templateType: 'TemplateType',
3619
4621
  };
3620
4622
  }
3621
4623
 
3622
4624
  static types(): { [key: string]: any } {
3623
4625
  return {
3624
- auditStatus: 'string',
3625
- category: 'string',
3626
- components: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponents },
3627
- example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4626
+ cliented: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyDataCliented },
4627
+ deliveredCount: 'number',
4628
+ end: 'number',
3628
4629
  language: 'string',
3629
- name: 'string',
4630
+ readCount: 'number',
4631
+ sentCount: 'number',
4632
+ start: 'number',
3630
4633
  templateCode: 'string',
3631
- templateType: 'string',
3632
4634
  };
3633
4635
  }
3634
4636
 
@@ -3721,6 +4723,28 @@ export class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model
3721
4723
  }
3722
4724
  }
3723
4725
 
4726
+ export class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
4727
+ phoneNumber?: string;
4728
+ phoneNumberId?: string;
4729
+ static names(): { [key: string]: string } {
4730
+ return {
4731
+ phoneNumber: 'PhoneNumber',
4732
+ phoneNumberId: 'PhoneNumberId',
4733
+ };
4734
+ }
4735
+
4736
+ static types(): { [key: string]: any } {
4737
+ return {
4738
+ phoneNumber: 'string',
4739
+ phoneNumberId: 'string',
4740
+ };
4741
+ }
4742
+
4743
+ constructor(map?: { [key: string]: any }) {
4744
+ super(map);
4745
+ }
4746
+ }
4747
+
3724
4748
  export class ListChatappTemplateRequestPage extends $tea.Model {
3725
4749
  index?: number;
3726
4750
  size?: number;
@@ -3747,6 +4771,7 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
3747
4771
  auditStatus?: string;
3748
4772
  category?: string;
3749
4773
  language?: string;
4774
+ reason?: string;
3750
4775
  templateCode?: string;
3751
4776
  templateName?: string;
3752
4777
  templateType?: string;
@@ -3755,6 +4780,7 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
3755
4780
  auditStatus: 'AuditStatus',
3756
4781
  category: 'Category',
3757
4782
  language: 'Language',
4783
+ reason: 'Reason',
3758
4784
  templateCode: 'TemplateCode',
3759
4785
  templateName: 'TemplateName',
3760
4786
  templateType: 'TemplateType',
@@ -3766,6 +4792,7 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
3766
4792
  auditStatus: 'string',
3767
4793
  category: 'string',
3768
4794
  language: 'string',
4795
+ reason: 'string',
3769
4796
  templateCode: 'string',
3770
4797
  templateName: 'string',
3771
4798
  templateType: 'string',
@@ -3777,6 +4804,132 @@ export class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
3777
4804
  }
3778
4805
  }
3779
4806
 
4807
+ export class ListProductResponseBodyModelPagingCursors extends $tea.Model {
4808
+ after?: string;
4809
+ before?: string;
4810
+ static names(): { [key: string]: string } {
4811
+ return {
4812
+ after: 'After',
4813
+ before: 'Before',
4814
+ };
4815
+ }
4816
+
4817
+ static types(): { [key: string]: any } {
4818
+ return {
4819
+ after: 'string',
4820
+ before: 'string',
4821
+ };
4822
+ }
4823
+
4824
+ constructor(map?: { [key: string]: any }) {
4825
+ super(map);
4826
+ }
4827
+ }
4828
+
4829
+ export class ListProductResponseBodyModelPaging extends $tea.Model {
4830
+ cursors?: ListProductResponseBodyModelPagingCursors;
4831
+ static names(): { [key: string]: string } {
4832
+ return {
4833
+ cursors: 'Cursors',
4834
+ };
4835
+ }
4836
+
4837
+ static types(): { [key: string]: any } {
4838
+ return {
4839
+ cursors: ListProductResponseBodyModelPagingCursors,
4840
+ };
4841
+ }
4842
+
4843
+ constructor(map?: { [key: string]: any }) {
4844
+ super(map);
4845
+ }
4846
+ }
4847
+
4848
+ export class ListProductResponseBodyModel extends $tea.Model {
4849
+ data?: { [key: string]: any }[];
4850
+ paging?: ListProductResponseBodyModelPaging;
4851
+ static names(): { [key: string]: string } {
4852
+ return {
4853
+ data: 'Data',
4854
+ paging: 'Paging',
4855
+ };
4856
+ }
4857
+
4858
+ static types(): { [key: string]: any } {
4859
+ return {
4860
+ data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
4861
+ paging: ListProductResponseBodyModelPaging,
4862
+ };
4863
+ }
4864
+
4865
+ constructor(map?: { [key: string]: any }) {
4866
+ super(map);
4867
+ }
4868
+ }
4869
+
4870
+ export class ListProductCatalogResponseBodyModelPagingCursors extends $tea.Model {
4871
+ after?: string;
4872
+ before?: string;
4873
+ static names(): { [key: string]: string } {
4874
+ return {
4875
+ after: 'After',
4876
+ before: 'Before',
4877
+ };
4878
+ }
4879
+
4880
+ static types(): { [key: string]: any } {
4881
+ return {
4882
+ after: 'string',
4883
+ before: 'string',
4884
+ };
4885
+ }
4886
+
4887
+ constructor(map?: { [key: string]: any }) {
4888
+ super(map);
4889
+ }
4890
+ }
4891
+
4892
+ export class ListProductCatalogResponseBodyModelPaging extends $tea.Model {
4893
+ cursors?: ListProductCatalogResponseBodyModelPagingCursors;
4894
+ static names(): { [key: string]: string } {
4895
+ return {
4896
+ cursors: 'Cursors',
4897
+ };
4898
+ }
4899
+
4900
+ static types(): { [key: string]: any } {
4901
+ return {
4902
+ cursors: ListProductCatalogResponseBodyModelPagingCursors,
4903
+ };
4904
+ }
4905
+
4906
+ constructor(map?: { [key: string]: any }) {
4907
+ super(map);
4908
+ }
4909
+ }
4910
+
4911
+ export class ListProductCatalogResponseBodyModel extends $tea.Model {
4912
+ data?: { [key: string]: any }[];
4913
+ paging?: ListProductCatalogResponseBodyModelPaging;
4914
+ static names(): { [key: string]: string } {
4915
+ return {
4916
+ data: 'Data',
4917
+ paging: 'Paging',
4918
+ };
4919
+ }
4920
+
4921
+ static types(): { [key: string]: any } {
4922
+ return {
4923
+ data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
4924
+ paging: ListProductCatalogResponseBodyModelPaging,
4925
+ };
4926
+ }
4927
+
4928
+ constructor(map?: { [key: string]: any }) {
4929
+ super(map);
4930
+ }
4931
+ }
4932
+
3780
4933
  export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
3781
4934
  autofillText?: string;
3782
4935
  isOptOut?: boolean;
@@ -3957,18 +5110,171 @@ export class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model
3957
5110
 
3958
5111
  static types(): { [key: string]: any } {
3959
5112
  return {
3960
- codeVerificationStatus: 'string',
3961
- messagingLimitTier: 'string',
3962
- nameStatus: 'string',
3963
- newNameStatus: 'string',
3964
- phoneNumber: 'string',
3965
- qualityRating: 'string',
3966
- status: 'string',
3967
- statusCallbackUrl: 'string',
3968
- statusQueue: 'string',
3969
- upCallbackUrl: 'string',
3970
- upQueue: 'string',
3971
- verifiedName: 'string',
5113
+ codeVerificationStatus: 'string',
5114
+ messagingLimitTier: 'string',
5115
+ nameStatus: 'string',
5116
+ newNameStatus: 'string',
5117
+ phoneNumber: 'string',
5118
+ qualityRating: 'string',
5119
+ status: 'string',
5120
+ statusCallbackUrl: 'string',
5121
+ statusQueue: 'string',
5122
+ upCallbackUrl: 'string',
5123
+ upQueue: 'string',
5124
+ verifiedName: 'string',
5125
+ };
5126
+ }
5127
+
5128
+ constructor(map?: { [key: string]: any }) {
5129
+ super(map);
5130
+ }
5131
+ }
5132
+
5133
+ export class QueryPhoneBusinessProfileResponseBodyData extends $tea.Model {
5134
+ address?: string;
5135
+ description?: string;
5136
+ email?: string;
5137
+ profilePictureUrl?: string;
5138
+ vertical?: string;
5139
+ websites?: string[];
5140
+ static names(): { [key: string]: string } {
5141
+ return {
5142
+ address: 'Address',
5143
+ description: 'Description',
5144
+ email: 'Email',
5145
+ profilePictureUrl: 'ProfilePictureUrl',
5146
+ vertical: 'Vertical',
5147
+ websites: 'Websites',
5148
+ };
5149
+ }
5150
+
5151
+ static types(): { [key: string]: any } {
5152
+ return {
5153
+ address: 'string',
5154
+ description: 'string',
5155
+ email: 'string',
5156
+ profilePictureUrl: 'string',
5157
+ vertical: 'string',
5158
+ websites: { 'type': 'array', 'itemType': 'string' },
5159
+ };
5160
+ }
5161
+
5162
+ constructor(map?: { [key: string]: any }) {
5163
+ super(map);
5164
+ }
5165
+ }
5166
+
5167
+ export class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
5168
+ businessId?: string;
5169
+ businessName?: string;
5170
+ verificationStatus?: string;
5171
+ vertical?: string;
5172
+ static names(): { [key: string]: string } {
5173
+ return {
5174
+ businessId: 'BusinessId',
5175
+ businessName: 'BusinessName',
5176
+ verificationStatus: 'VerificationStatus',
5177
+ vertical: 'Vertical',
5178
+ };
5179
+ }
5180
+
5181
+ static types(): { [key: string]: any } {
5182
+ return {
5183
+ businessId: 'string',
5184
+ businessName: 'string',
5185
+ verificationStatus: 'string',
5186
+ vertical: 'string',
5187
+ };
5188
+ }
5189
+
5190
+ constructor(map?: { [key: string]: any }) {
5191
+ super(map);
5192
+ }
5193
+ }
5194
+
5195
+ export class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $tea.Model {
5196
+ productRetailerId?: string;
5197
+ static names(): { [key: string]: string } {
5198
+ return {
5199
+ productRetailerId: 'ProductRetailerId',
5200
+ };
5201
+ }
5202
+
5203
+ static types(): { [key: string]: any } {
5204
+ return {
5205
+ productRetailerId: 'string',
5206
+ };
5207
+ }
5208
+
5209
+ constructor(map?: { [key: string]: any }) {
5210
+ super(map);
5211
+ }
5212
+ }
5213
+
5214
+ export class SendChatappMassMessageRequestSenderListProductActionSections extends $tea.Model {
5215
+ productItems?: SendChatappMassMessageRequestSenderListProductActionSectionsProductItems[];
5216
+ title?: string;
5217
+ static names(): { [key: string]: string } {
5218
+ return {
5219
+ productItems: 'ProductItems',
5220
+ title: 'Title',
5221
+ };
5222
+ }
5223
+
5224
+ static types(): { [key: string]: any } {
5225
+ return {
5226
+ productItems: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderListProductActionSectionsProductItems },
5227
+ title: 'string',
5228
+ };
5229
+ }
5230
+
5231
+ constructor(map?: { [key: string]: any }) {
5232
+ super(map);
5233
+ }
5234
+ }
5235
+
5236
+ export class SendChatappMassMessageRequestSenderListProductAction extends $tea.Model {
5237
+ sections?: SendChatappMassMessageRequestSenderListProductActionSections[];
5238
+ thumbnailProductRetailerId?: string;
5239
+ static names(): { [key: string]: string } {
5240
+ return {
5241
+ sections: 'Sections',
5242
+ thumbnailProductRetailerId: 'ThumbnailProductRetailerId',
5243
+ };
5244
+ }
5245
+
5246
+ static types(): { [key: string]: any } {
5247
+ return {
5248
+ sections: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderListProductActionSections },
5249
+ thumbnailProductRetailerId: 'string',
5250
+ };
5251
+ }
5252
+
5253
+ constructor(map?: { [key: string]: any }) {
5254
+ super(map);
5255
+ }
5256
+ }
5257
+
5258
+ export class SendChatappMassMessageRequestSenderList extends $tea.Model {
5259
+ payload?: string[];
5260
+ productAction?: SendChatappMassMessageRequestSenderListProductAction;
5261
+ templateParams?: { [key: string]: string };
5262
+ to?: string;
5263
+ static names(): { [key: string]: string } {
5264
+ return {
5265
+ payload: 'Payload',
5266
+ productAction: 'ProductAction',
5267
+ templateParams: 'TemplateParams',
5268
+ to: 'To',
5269
+ };
5270
+ }
5271
+
5272
+ static types(): { [key: string]: any } {
5273
+ return {
5274
+ payload: { 'type': 'array', 'itemType': 'string' },
5275
+ productAction: SendChatappMassMessageRequestSenderListProductAction,
5276
+ templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5277
+ to: 'string',
3972
5278
  };
3973
5279
  }
3974
5280
 
@@ -3977,32 +5283,17 @@ export class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model
3977
5283
  }
3978
5284
  }
3979
5285
 
3980
- export class QueryPhoneBusinessProfileResponseBodyData extends $tea.Model {
3981
- address?: string;
3982
- description?: string;
3983
- email?: string;
3984
- profilePictureUrl?: string;
3985
- vertical?: string;
3986
- websites?: string[];
5286
+ export class SendChatappMessageRequestProductActionSectionsProductItems extends $tea.Model {
5287
+ productRetailerId?: string;
3987
5288
  static names(): { [key: string]: string } {
3988
5289
  return {
3989
- address: 'Address',
3990
- description: 'Description',
3991
- email: 'Email',
3992
- profilePictureUrl: 'ProfilePictureUrl',
3993
- vertical: 'Vertical',
3994
- websites: 'Websites',
5290
+ productRetailerId: 'ProductRetailerId',
3995
5291
  };
3996
5292
  }
3997
5293
 
3998
5294
  static types(): { [key: string]: any } {
3999
5295
  return {
4000
- address: 'string',
4001
- description: 'string',
4002
- email: 'string',
4003
- profilePictureUrl: 'string',
4004
- vertical: 'string',
4005
- websites: { 'type': 'array', 'itemType': 'string' },
5296
+ productRetailerId: 'string',
4006
5297
  };
4007
5298
  }
4008
5299
 
@@ -4011,26 +5302,20 @@ export class QueryPhoneBusinessProfileResponseBodyData extends $tea.Model {
4011
5302
  }
4012
5303
  }
4013
5304
 
4014
- export class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
4015
- businessId?: string;
4016
- businessName?: string;
4017
- verificationStatus?: string;
4018
- vertical?: string;
5305
+ export class SendChatappMessageRequestProductActionSections extends $tea.Model {
5306
+ productItems?: SendChatappMessageRequestProductActionSectionsProductItems[];
5307
+ title?: string;
4019
5308
  static names(): { [key: string]: string } {
4020
5309
  return {
4021
- businessId: 'BusinessId',
4022
- businessName: 'BusinessName',
4023
- verificationStatus: 'VerificationStatus',
4024
- vertical: 'Vertical',
5310
+ productItems: 'ProductItems',
5311
+ title: 'Title',
4025
5312
  };
4026
5313
  }
4027
5314
 
4028
5315
  static types(): { [key: string]: any } {
4029
5316
  return {
4030
- businessId: 'string',
4031
- businessName: 'string',
4032
- verificationStatus: 'string',
4033
- vertical: 'string',
5317
+ productItems: { 'type': 'array', 'itemType': SendChatappMessageRequestProductActionSectionsProductItems },
5318
+ title: 'string',
4034
5319
  };
4035
5320
  }
4036
5321
 
@@ -4039,23 +5324,20 @@ export class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
4039
5324
  }
4040
5325
  }
4041
5326
 
4042
- export class SendChatappMassMessageRequestSenderList extends $tea.Model {
4043
- payload?: string[];
4044
- templateParams?: { [key: string]: string };
4045
- to?: string;
5327
+ export class SendChatappMessageRequestProductAction extends $tea.Model {
5328
+ sections?: SendChatappMessageRequestProductActionSections[];
5329
+ thumbnailProductRetailerId?: string;
4046
5330
  static names(): { [key: string]: string } {
4047
5331
  return {
4048
- payload: 'Payload',
4049
- templateParams: 'TemplateParams',
4050
- to: 'To',
5332
+ sections: 'Sections',
5333
+ thumbnailProductRetailerId: 'ThumbnailProductRetailerId',
4051
5334
  };
4052
5335
  }
4053
5336
 
4054
5337
  static types(): { [key: string]: any } {
4055
5338
  return {
4056
- payload: { 'type': 'array', 'itemType': 'string' },
4057
- templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4058
- to: 'string',
5339
+ sections: { 'type': 'array', 'itemType': SendChatappMessageRequestProductActionSections },
5340
+ thumbnailProductRetailerId: 'string',
4059
5341
  };
4060
5342
  }
4061
5343
 
@@ -4087,6 +5369,51 @@ export default class Client extends OpenApi {
4087
5369
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
4088
5370
  }
4089
5371
 
5372
+ async addChatappPhoneNumberWithOptions(request: AddChatappPhoneNumberRequest, runtime: $Util.RuntimeOptions): Promise<AddChatappPhoneNumberResponse> {
5373
+ Util.validateModel(request);
5374
+ let body : {[key: string ]: any} = { };
5375
+ if (!Util.isUnset(request.cc)) {
5376
+ body["Cc"] = request.cc;
5377
+ }
5378
+
5379
+ if (!Util.isUnset(request.custSpaceId)) {
5380
+ body["CustSpaceId"] = request.custSpaceId;
5381
+ }
5382
+
5383
+ if (!Util.isUnset(request.phoneNumber)) {
5384
+ body["PhoneNumber"] = request.phoneNumber;
5385
+ }
5386
+
5387
+ if (!Util.isUnset(request.preValidateId)) {
5388
+ body["PreValidateId"] = request.preValidateId;
5389
+ }
5390
+
5391
+ if (!Util.isUnset(request.verifiedName)) {
5392
+ body["VerifiedName"] = request.verifiedName;
5393
+ }
5394
+
5395
+ let req = new $OpenApi.OpenApiRequest({
5396
+ body: OpenApiUtil.parseToMap(body),
5397
+ });
5398
+ let params = new $OpenApi.Params({
5399
+ action: "AddChatappPhoneNumber",
5400
+ version: "2020-06-06",
5401
+ protocol: "HTTPS",
5402
+ pathname: "/",
5403
+ method: "POST",
5404
+ authType: "AK",
5405
+ style: "RPC",
5406
+ reqBodyType: "formData",
5407
+ bodyType: "json",
5408
+ });
5409
+ return $tea.cast<AddChatappPhoneNumberResponse>(await this.callApi(params, req, runtime), new AddChatappPhoneNumberResponse({}));
5410
+ }
5411
+
5412
+ async addChatappPhoneNumber(request: AddChatappPhoneNumberRequest): Promise<AddChatappPhoneNumberResponse> {
5413
+ let runtime = new $Util.RuntimeOptions({ });
5414
+ return await this.addChatappPhoneNumberWithOptions(request, runtime);
5415
+ }
5416
+
4090
5417
  /**
4091
5418
  * You can call this operation up to 100 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.
4092
5419
  *
@@ -4431,6 +5758,39 @@ export default class Client extends OpenApi {
4431
5758
  return await this.chatappMigrationVerifiedWithOptions(request, runtime);
4432
5759
  }
4433
5760
 
5761
+ async chatappPhoneNumberDeregisterWithOptions(request: ChatappPhoneNumberDeregisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappPhoneNumberDeregisterResponse> {
5762
+ Util.validateModel(request);
5763
+ let body : {[key: string ]: any} = { };
5764
+ if (!Util.isUnset(request.custSpaceId)) {
5765
+ body["CustSpaceId"] = request.custSpaceId;
5766
+ }
5767
+
5768
+ if (!Util.isUnset(request.phoneNumber)) {
5769
+ body["PhoneNumber"] = request.phoneNumber;
5770
+ }
5771
+
5772
+ let req = new $OpenApi.OpenApiRequest({
5773
+ body: OpenApiUtil.parseToMap(body),
5774
+ });
5775
+ let params = new $OpenApi.Params({
5776
+ action: "ChatappPhoneNumberDeregister",
5777
+ version: "2020-06-06",
5778
+ protocol: "HTTPS",
5779
+ pathname: "/",
5780
+ method: "POST",
5781
+ authType: "AK",
5782
+ style: "RPC",
5783
+ reqBodyType: "formData",
5784
+ bodyType: "json",
5785
+ });
5786
+ return $tea.cast<ChatappPhoneNumberDeregisterResponse>(await this.callApi(params, req, runtime), new ChatappPhoneNumberDeregisterResponse({}));
5787
+ }
5788
+
5789
+ async chatappPhoneNumberDeregister(request: ChatappPhoneNumberDeregisterRequest): Promise<ChatappPhoneNumberDeregisterResponse> {
5790
+ let runtime = new $Util.RuntimeOptions({ });
5791
+ return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
5792
+ }
5793
+
4434
5794
  /**
4435
5795
  * 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.
4436
5796
  *
@@ -4652,38 +6012,186 @@ export default class Client extends OpenApi {
4652
6012
  }
4653
6013
 
4654
6014
  if (!Util.isUnset(request.custSpaceId)) {
4655
- body["CustSpaceId"] = request.custSpaceId;
6015
+ body["CustSpaceId"] = request.custSpaceId;
6016
+ }
6017
+
6018
+ if (!Util.isUnset(request.custWabaId)) {
6019
+ body["CustWabaId"] = request.custWabaId;
6020
+ }
6021
+
6022
+ if (!Util.isUnset(request.exampleShrink)) {
6023
+ body["Example"] = request.exampleShrink;
6024
+ }
6025
+
6026
+ if (!Util.isUnset(request.isvCode)) {
6027
+ body["IsvCode"] = request.isvCode;
6028
+ }
6029
+
6030
+ if (!Util.isUnset(request.language)) {
6031
+ body["Language"] = request.language;
6032
+ }
6033
+
6034
+ if (!Util.isUnset(request.messageSendTtlSeconds)) {
6035
+ body["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
6036
+ }
6037
+
6038
+ if (!Util.isUnset(request.name)) {
6039
+ body["Name"] = request.name;
6040
+ }
6041
+
6042
+ if (!Util.isUnset(request.templateType)) {
6043
+ body["TemplateType"] = request.templateType;
6044
+ }
6045
+
6046
+ let req = new $OpenApi.OpenApiRequest({
6047
+ body: OpenApiUtil.parseToMap(body),
6048
+ });
6049
+ let params = new $OpenApi.Params({
6050
+ action: "CreateChatappTemplate",
6051
+ version: "2020-06-06",
6052
+ protocol: "HTTPS",
6053
+ pathname: "/",
6054
+ method: "POST",
6055
+ authType: "AK",
6056
+ style: "RPC",
6057
+ reqBodyType: "formData",
6058
+ bodyType: "json",
6059
+ });
6060
+ return $tea.cast<CreateChatappTemplateResponse>(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
6061
+ }
6062
+
6063
+ /**
6064
+ * The error message.
6065
+ *
6066
+ * @param request CreateChatappTemplateRequest
6067
+ * @return CreateChatappTemplateResponse
6068
+ */
6069
+ async createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse> {
6070
+ let runtime = new $Util.RuntimeOptions({ });
6071
+ return await this.createChatappTemplateWithOptions(request, runtime);
6072
+ }
6073
+
6074
+ /**
6075
+ * ### QPS limit
6076
+ * You can call this operation up to five times per second per account. If the number of the 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.
6077
+ *
6078
+ * @param request DeleteChatappTemplateRequest
6079
+ * @param runtime runtime options for this request RuntimeOptions
6080
+ * @return DeleteChatappTemplateResponse
6081
+ */
6082
+ async deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse> {
6083
+ Util.validateModel(request);
6084
+ let query = { };
6085
+ if (!Util.isUnset(request.custSpaceId)) {
6086
+ query["CustSpaceId"] = request.custSpaceId;
6087
+ }
6088
+
6089
+ if (!Util.isUnset(request.custWabaId)) {
6090
+ query["CustWabaId"] = request.custWabaId;
6091
+ }
6092
+
6093
+ if (!Util.isUnset(request.isvCode)) {
6094
+ query["IsvCode"] = request.isvCode;
6095
+ }
6096
+
6097
+ if (!Util.isUnset(request.templateCode)) {
6098
+ query["TemplateCode"] = request.templateCode;
6099
+ }
6100
+
6101
+ let req = new $OpenApi.OpenApiRequest({
6102
+ query: OpenApiUtil.query(query),
6103
+ });
6104
+ let params = new $OpenApi.Params({
6105
+ action: "DeleteChatappTemplate",
6106
+ version: "2020-06-06",
6107
+ protocol: "HTTPS",
6108
+ pathname: "/",
6109
+ method: "POST",
6110
+ authType: "AK",
6111
+ style: "RPC",
6112
+ reqBodyType: "formData",
6113
+ bodyType: "json",
6114
+ });
6115
+ return $tea.cast<DeleteChatappTemplateResponse>(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
6116
+ }
6117
+
6118
+ /**
6119
+ * ### QPS limit
6120
+ * You can call this operation up to five times per second per account. If the number of the 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.
6121
+ *
6122
+ * @param request DeleteChatappTemplateRequest
6123
+ * @return DeleteChatappTemplateResponse
6124
+ */
6125
+ async deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse> {
6126
+ let runtime = new $Util.RuntimeOptions({ });
6127
+ return await this.deleteChatappTemplateWithOptions(request, runtime);
6128
+ }
6129
+
6130
+ async enableWhatsappROIMetricWithOptions(request: EnableWhatsappROIMetricRequest, runtime: $Util.RuntimeOptions): Promise<EnableWhatsappROIMetricResponse> {
6131
+ Util.validateModel(request);
6132
+ let query = { };
6133
+ if (!Util.isUnset(request.custSpaceId)) {
6134
+ query["CustSpaceId"] = request.custSpaceId;
6135
+ }
6136
+
6137
+ if (!Util.isUnset(request.isvCode)) {
6138
+ query["IsvCode"] = request.isvCode;
6139
+ }
6140
+
6141
+ let req = new $OpenApi.OpenApiRequest({
6142
+ query: OpenApiUtil.query(query),
6143
+ });
6144
+ let params = new $OpenApi.Params({
6145
+ action: "EnableWhatsappROIMetric",
6146
+ version: "2020-06-06",
6147
+ protocol: "HTTPS",
6148
+ pathname: "/",
6149
+ method: "POST",
6150
+ authType: "AK",
6151
+ style: "RPC",
6152
+ reqBodyType: "formData",
6153
+ bodyType: "json",
6154
+ });
6155
+ return $tea.cast<EnableWhatsappROIMetricResponse>(await this.callApi(params, req, runtime), new EnableWhatsappROIMetricResponse({}));
6156
+ }
6157
+
6158
+ async enableWhatsappROIMetric(request: EnableWhatsappROIMetricRequest): Promise<EnableWhatsappROIMetricResponse> {
6159
+ let runtime = new $Util.RuntimeOptions({ });
6160
+ return await this.enableWhatsappROIMetricWithOptions(request, runtime);
6161
+ }
6162
+
6163
+ async getChatappPhoneNumberMetricWithOptions(request: GetChatappPhoneNumberMetricRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappPhoneNumberMetricResponse> {
6164
+ Util.validateModel(request);
6165
+ let query = { };
6166
+ if (!Util.isUnset(request.custSpaceId)) {
6167
+ query["CustSpaceId"] = request.custSpaceId;
4656
6168
  }
4657
6169
 
4658
- if (!Util.isUnset(request.custWabaId)) {
4659
- body["CustWabaId"] = request.custWabaId;
6170
+ if (!Util.isUnset(request.end)) {
6171
+ query["End"] = request.end;
4660
6172
  }
4661
6173
 
4662
- if (!Util.isUnset(request.exampleShrink)) {
4663
- body["Example"] = request.exampleShrink;
6174
+ if (!Util.isUnset(request.granularity)) {
6175
+ query["Granularity"] = request.granularity;
4664
6176
  }
4665
6177
 
4666
6178
  if (!Util.isUnset(request.isvCode)) {
4667
- body["IsvCode"] = request.isvCode;
4668
- }
4669
-
4670
- if (!Util.isUnset(request.language)) {
4671
- body["Language"] = request.language;
6179
+ query["IsvCode"] = request.isvCode;
4672
6180
  }
4673
6181
 
4674
- if (!Util.isUnset(request.name)) {
4675
- body["Name"] = request.name;
6182
+ if (!Util.isUnset(request.phoneNumber)) {
6183
+ query["PhoneNumber"] = request.phoneNumber;
4676
6184
  }
4677
6185
 
4678
- if (!Util.isUnset(request.templateType)) {
4679
- body["TemplateType"] = request.templateType;
6186
+ if (!Util.isUnset(request.start)) {
6187
+ query["Start"] = request.start;
4680
6188
  }
4681
6189
 
4682
6190
  let req = new $OpenApi.OpenApiRequest({
4683
- body: OpenApiUtil.parseToMap(body),
6191
+ query: OpenApiUtil.query(query),
4684
6192
  });
4685
6193
  let params = new $OpenApi.Params({
4686
- action: "CreateChatappTemplate",
6194
+ action: "GetChatappPhoneNumberMetric",
4687
6195
  version: "2020-06-06",
4688
6196
  protocol: "HTTPS",
4689
6197
  pathname: "/",
@@ -4693,29 +6201,23 @@ export default class Client extends OpenApi {
4693
6201
  reqBodyType: "formData",
4694
6202
  bodyType: "json",
4695
6203
  });
4696
- return $tea.cast<CreateChatappTemplateResponse>(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
6204
+ return $tea.cast<GetChatappPhoneNumberMetricResponse>(await this.callApi(params, req, runtime), new GetChatappPhoneNumberMetricResponse({}));
4697
6205
  }
4698
6206
 
4699
- /**
4700
- * The error message.
4701
- *
4702
- * @param request CreateChatappTemplateRequest
4703
- * @return CreateChatappTemplateResponse
4704
- */
4705
- async createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse> {
6207
+ async getChatappPhoneNumberMetric(request: GetChatappPhoneNumberMetricRequest): Promise<GetChatappPhoneNumberMetricResponse> {
4706
6208
  let runtime = new $Util.RuntimeOptions({ });
4707
- return await this.createChatappTemplateWithOptions(request, runtime);
6209
+ return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
4708
6210
  }
4709
6211
 
4710
6212
  /**
4711
6213
  * ### QPS limit
4712
- * You can call this operation up to five times per second per account. If the number of the 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.
6214
+ * You can call this API operation up to five 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.
4713
6215
  *
4714
- * @param request DeleteChatappTemplateRequest
6216
+ * @param request GetChatappTemplateDetailRequest
4715
6217
  * @param runtime runtime options for this request RuntimeOptions
4716
- * @return DeleteChatappTemplateResponse
6218
+ * @return GetChatappTemplateDetailResponse
4717
6219
  */
4718
- async deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse> {
6220
+ async getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse> {
4719
6221
  Util.validateModel(request);
4720
6222
  let query = { };
4721
6223
  if (!Util.isUnset(request.custSpaceId)) {
@@ -4730,15 +6232,23 @@ export default class Client extends OpenApi {
4730
6232
  query["IsvCode"] = request.isvCode;
4731
6233
  }
4732
6234
 
6235
+ if (!Util.isUnset(request.language)) {
6236
+ query["Language"] = request.language;
6237
+ }
6238
+
4733
6239
  if (!Util.isUnset(request.templateCode)) {
4734
6240
  query["TemplateCode"] = request.templateCode;
4735
6241
  }
4736
6242
 
6243
+ if (!Util.isUnset(request.templateType)) {
6244
+ query["TemplateType"] = request.templateType;
6245
+ }
6246
+
4737
6247
  let req = new $OpenApi.OpenApiRequest({
4738
6248
  query: OpenApiUtil.query(query),
4739
6249
  });
4740
6250
  let params = new $OpenApi.Params({
4741
- action: "DeleteChatappTemplate",
6251
+ action: "GetChatappTemplateDetail",
4742
6252
  version: "2020-06-06",
4743
6253
  protocol: "HTTPS",
4744
6254
  pathname: "/",
@@ -4748,37 +6258,34 @@ export default class Client extends OpenApi {
4748
6258
  reqBodyType: "formData",
4749
6259
  bodyType: "json",
4750
6260
  });
4751
- return $tea.cast<DeleteChatappTemplateResponse>(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
6261
+ return $tea.cast<GetChatappTemplateDetailResponse>(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
4752
6262
  }
4753
6263
 
4754
6264
  /**
4755
6265
  * ### QPS limit
4756
- * You can call this operation up to five times per second per account. If the number of the 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.
6266
+ * You can call this API operation up to five 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.
4757
6267
  *
4758
- * @param request DeleteChatappTemplateRequest
4759
- * @return DeleteChatappTemplateResponse
6268
+ * @param request GetChatappTemplateDetailRequest
6269
+ * @return GetChatappTemplateDetailResponse
4760
6270
  */
4761
- async deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse> {
6271
+ async getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse> {
4762
6272
  let runtime = new $Util.RuntimeOptions({ });
4763
- return await this.deleteChatappTemplateWithOptions(request, runtime);
6273
+ return await this.getChatappTemplateDetailWithOptions(request, runtime);
4764
6274
  }
4765
6275
 
4766
- /**
4767
- * The type of the file attached in the Viber message template.
4768
- *
4769
- * @param request GetChatappTemplateDetailRequest
4770
- * @param runtime runtime options for this request RuntimeOptions
4771
- * @return GetChatappTemplateDetailResponse
4772
- */
4773
- async getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse> {
6276
+ async getChatappTemplateMetricWithOptions(request: GetChatappTemplateMetricRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateMetricResponse> {
4774
6277
  Util.validateModel(request);
4775
6278
  let query = { };
4776
6279
  if (!Util.isUnset(request.custSpaceId)) {
4777
6280
  query["CustSpaceId"] = request.custSpaceId;
4778
6281
  }
4779
6282
 
4780
- if (!Util.isUnset(request.custWabaId)) {
4781
- query["CustWabaId"] = request.custWabaId;
6283
+ if (!Util.isUnset(request.end)) {
6284
+ query["End"] = request.end;
6285
+ }
6286
+
6287
+ if (!Util.isUnset(request.granularity)) {
6288
+ query["Granularity"] = request.granularity;
4782
6289
  }
4783
6290
 
4784
6291
  if (!Util.isUnset(request.isvCode)) {
@@ -4789,6 +6296,10 @@ export default class Client extends OpenApi {
4789
6296
  query["Language"] = request.language;
4790
6297
  }
4791
6298
 
6299
+ if (!Util.isUnset(request.start)) {
6300
+ query["Start"] = request.start;
6301
+ }
6302
+
4792
6303
  if (!Util.isUnset(request.templateCode)) {
4793
6304
  query["TemplateCode"] = request.templateCode;
4794
6305
  }
@@ -4801,7 +6312,7 @@ export default class Client extends OpenApi {
4801
6312
  query: OpenApiUtil.query(query),
4802
6313
  });
4803
6314
  let params = new $OpenApi.Params({
4804
- action: "GetChatappTemplateDetail",
6315
+ action: "GetChatappTemplateMetric",
4805
6316
  version: "2020-06-06",
4806
6317
  protocol: "HTTPS",
4807
6318
  pathname: "/",
@@ -4811,18 +6322,12 @@ export default class Client extends OpenApi {
4811
6322
  reqBodyType: "formData",
4812
6323
  bodyType: "json",
4813
6324
  });
4814
- return $tea.cast<GetChatappTemplateDetailResponse>(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
6325
+ return $tea.cast<GetChatappTemplateMetricResponse>(await this.callApi(params, req, runtime), new GetChatappTemplateMetricResponse({}));
4815
6326
  }
4816
6327
 
4817
- /**
4818
- * The type of the file attached in the Viber message template.
4819
- *
4820
- * @param request GetChatappTemplateDetailRequest
4821
- * @return GetChatappTemplateDetailResponse
4822
- */
4823
- async getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse> {
6328
+ async getChatappTemplateMetric(request: GetChatappTemplateMetricRequest): Promise<GetChatappTemplateMetricResponse> {
4824
6329
  let runtime = new $Util.RuntimeOptions({ });
4825
- return await this.getChatappTemplateDetailWithOptions(request, runtime);
6330
+ return await this.getChatappTemplateMetricWithOptions(request, runtime);
4826
6331
  }
4827
6332
 
4828
6333
  /**
@@ -5021,8 +6526,86 @@ export default class Client extends OpenApi {
5021
6526
  return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
5022
6527
  }
5023
6528
 
6529
+ async getPreValidatePhoneIdWithOptions(request: GetPreValidatePhoneIdRequest, runtime: $Util.RuntimeOptions): Promise<GetPreValidatePhoneIdResponse> {
6530
+ Util.validateModel(request);
6531
+ let body : {[key: string ]: any} = { };
6532
+ if (!Util.isUnset(request.phoneNumber)) {
6533
+ body["PhoneNumber"] = request.phoneNumber;
6534
+ }
6535
+
6536
+ if (!Util.isUnset(request.verifyCode)) {
6537
+ body["VerifyCode"] = request.verifyCode;
6538
+ }
6539
+
6540
+ let req = new $OpenApi.OpenApiRequest({
6541
+ body: OpenApiUtil.parseToMap(body),
6542
+ });
6543
+ let params = new $OpenApi.Params({
6544
+ action: "GetPreValidatePhoneId",
6545
+ version: "2020-06-06",
6546
+ protocol: "HTTPS",
6547
+ pathname: "/",
6548
+ method: "POST",
6549
+ authType: "AK",
6550
+ style: "RPC",
6551
+ reqBodyType: "formData",
6552
+ bodyType: "json",
6553
+ });
6554
+ return $tea.cast<GetPreValidatePhoneIdResponse>(await this.callApi(params, req, runtime), new GetPreValidatePhoneIdResponse({}));
6555
+ }
6556
+
6557
+ async getPreValidatePhoneId(request: GetPreValidatePhoneIdRequest): Promise<GetPreValidatePhoneIdResponse> {
6558
+ let runtime = new $Util.RuntimeOptions({ });
6559
+ return await this.getPreValidatePhoneIdWithOptions(request, runtime);
6560
+ }
6561
+
6562
+ async getWhatsappConnectionCatalogWithOptions(request: GetWhatsappConnectionCatalogRequest, runtime: $Util.RuntimeOptions): Promise<GetWhatsappConnectionCatalogResponse> {
6563
+ Util.validateModel(request);
6564
+ let query = { };
6565
+ if (!Util.isUnset(request.custSpaceId)) {
6566
+ query["CustSpaceId"] = request.custSpaceId;
6567
+ }
6568
+
6569
+ if (!Util.isUnset(request.ownerId)) {
6570
+ query["OwnerId"] = request.ownerId;
6571
+ }
6572
+
6573
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
6574
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6575
+ }
6576
+
6577
+ if (!Util.isUnset(request.resourceOwnerId)) {
6578
+ query["ResourceOwnerId"] = request.resourceOwnerId;
6579
+ }
6580
+
6581
+ if (!Util.isUnset(request.wabaId)) {
6582
+ query["WabaId"] = request.wabaId;
6583
+ }
6584
+
6585
+ let req = new $OpenApi.OpenApiRequest({
6586
+ query: OpenApiUtil.query(query),
6587
+ });
6588
+ let params = new $OpenApi.Params({
6589
+ action: "GetWhatsappConnectionCatalog",
6590
+ version: "2020-06-06",
6591
+ protocol: "HTTPS",
6592
+ pathname: "/",
6593
+ method: "POST",
6594
+ authType: "AK",
6595
+ style: "RPC",
6596
+ reqBodyType: "formData",
6597
+ bodyType: "json",
6598
+ });
6599
+ return $tea.cast<GetWhatsappConnectionCatalogResponse>(await this.callApi(params, req, runtime), new GetWhatsappConnectionCatalogResponse({}));
6600
+ }
6601
+
6602
+ async getWhatsappConnectionCatalog(request: GetWhatsappConnectionCatalogRequest): Promise<GetWhatsappConnectionCatalogResponse> {
6603
+ let runtime = new $Util.RuntimeOptions({ });
6604
+ return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
6605
+ }
6606
+
5024
6607
  /**
5025
- * The message ID.
6608
+ * 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
6609
  *
5027
6610
  * @param request IsvGetAppIdRequest
5028
6611
  * @param runtime runtime options for this request RuntimeOptions
@@ -5053,7 +6636,7 @@ export default class Client extends OpenApi {
5053
6636
  }
5054
6637
 
5055
6638
  /**
5056
- * The message ID.
6639
+ * 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
6640
  *
5058
6641
  * @param request IsvGetAppIdRequest
5059
6642
  * @return IsvGetAppIdResponse
@@ -5141,6 +6724,132 @@ export default class Client extends OpenApi {
5141
6724
  return await this.listChatappTemplateWithOptions(request, runtime);
5142
6725
  }
5143
6726
 
6727
+ async listProductWithOptions(request: ListProductRequest, runtime: $Util.RuntimeOptions): Promise<ListProductResponse> {
6728
+ Util.validateModel(request);
6729
+ let query = { };
6730
+ if (!Util.isUnset(request.after)) {
6731
+ query["After"] = request.after;
6732
+ }
6733
+
6734
+ if (!Util.isUnset(request.before)) {
6735
+ query["Before"] = request.before;
6736
+ }
6737
+
6738
+ if (!Util.isUnset(request.catalogId)) {
6739
+ query["CatalogId"] = request.catalogId;
6740
+ }
6741
+
6742
+ if (!Util.isUnset(request.custSpaceId)) {
6743
+ query["CustSpaceId"] = request.custSpaceId;
6744
+ }
6745
+
6746
+ if (!Util.isUnset(request.fields)) {
6747
+ query["Fields"] = request.fields;
6748
+ }
6749
+
6750
+ if (!Util.isUnset(request.limit)) {
6751
+ query["Limit"] = request.limit;
6752
+ }
6753
+
6754
+ if (!Util.isUnset(request.ownerId)) {
6755
+ query["OwnerId"] = request.ownerId;
6756
+ }
6757
+
6758
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
6759
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6760
+ }
6761
+
6762
+ if (!Util.isUnset(request.resourceOwnerId)) {
6763
+ query["ResourceOwnerId"] = request.resourceOwnerId;
6764
+ }
6765
+
6766
+ if (!Util.isUnset(request.wabaId)) {
6767
+ query["WabaId"] = request.wabaId;
6768
+ }
6769
+
6770
+ let req = new $OpenApi.OpenApiRequest({
6771
+ query: OpenApiUtil.query(query),
6772
+ });
6773
+ let params = new $OpenApi.Params({
6774
+ action: "ListProduct",
6775
+ version: "2020-06-06",
6776
+ protocol: "HTTPS",
6777
+ pathname: "/",
6778
+ method: "POST",
6779
+ authType: "AK",
6780
+ style: "RPC",
6781
+ reqBodyType: "formData",
6782
+ bodyType: "json",
6783
+ });
6784
+ return $tea.cast<ListProductResponse>(await this.callApi(params, req, runtime), new ListProductResponse({}));
6785
+ }
6786
+
6787
+ async listProduct(request: ListProductRequest): Promise<ListProductResponse> {
6788
+ let runtime = new $Util.RuntimeOptions({ });
6789
+ return await this.listProductWithOptions(request, runtime);
6790
+ }
6791
+
6792
+ async listProductCatalogWithOptions(request: ListProductCatalogRequest, runtime: $Util.RuntimeOptions): Promise<ListProductCatalogResponse> {
6793
+ Util.validateModel(request);
6794
+ let query = { };
6795
+ if (!Util.isUnset(request.after)) {
6796
+ query["After"] = request.after;
6797
+ }
6798
+
6799
+ if (!Util.isUnset(request.before)) {
6800
+ query["Before"] = request.before;
6801
+ }
6802
+
6803
+ if (!Util.isUnset(request.businessId)) {
6804
+ query["BusinessId"] = request.businessId;
6805
+ }
6806
+
6807
+ if (!Util.isUnset(request.custSpaceId)) {
6808
+ query["CustSpaceId"] = request.custSpaceId;
6809
+ }
6810
+
6811
+ if (!Util.isUnset(request.fields)) {
6812
+ query["Fields"] = request.fields;
6813
+ }
6814
+
6815
+ if (!Util.isUnset(request.limit)) {
6816
+ query["Limit"] = request.limit;
6817
+ }
6818
+
6819
+ if (!Util.isUnset(request.ownerId)) {
6820
+ query["OwnerId"] = request.ownerId;
6821
+ }
6822
+
6823
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
6824
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6825
+ }
6826
+
6827
+ if (!Util.isUnset(request.resourceOwnerId)) {
6828
+ query["ResourceOwnerId"] = request.resourceOwnerId;
6829
+ }
6830
+
6831
+ let req = new $OpenApi.OpenApiRequest({
6832
+ query: OpenApiUtil.query(query),
6833
+ });
6834
+ let params = new $OpenApi.Params({
6835
+ action: "ListProductCatalog",
6836
+ version: "2020-06-06",
6837
+ protocol: "HTTPS",
6838
+ pathname: "/",
6839
+ method: "POST",
6840
+ authType: "AK",
6841
+ style: "RPC",
6842
+ reqBodyType: "formData",
6843
+ bodyType: "json",
6844
+ });
6845
+ return $tea.cast<ListProductCatalogResponse>(await this.callApi(params, req, runtime), new ListProductCatalogResponse({}));
6846
+ }
6847
+
6848
+ async listProductCatalog(request: ListProductCatalogRequest): Promise<ListProductCatalogResponse> {
6849
+ let runtime = new $Util.RuntimeOptions({ });
6850
+ return await this.listProductCatalogWithOptions(request, runtime);
6851
+ }
6852
+
5144
6853
  /**
5145
6854
  * The name of the message template.
5146
6855
  *
@@ -5189,6 +6898,10 @@ export default class Client extends OpenApi {
5189
6898
  body["Language"] = request.language;
5190
6899
  }
5191
6900
 
6901
+ if (!Util.isUnset(request.messageSendTtlSeconds)) {
6902
+ body["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
6903
+ }
6904
+
5192
6905
  if (!Util.isUnset(request.templateCode)) {
5193
6906
  body["TemplateCode"] = request.templateCode;
5194
6907
  }
@@ -5226,7 +6939,7 @@ export default class Client extends OpenApi {
5226
6939
  }
5227
6940
 
5228
6941
  /**
5229
- * 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.
6942
+ * ModifyPhoneBusinessProfile
5230
6943
  *
5231
6944
  * @param tmpReq ModifyPhoneBusinessProfileRequest
5232
6945
  * @param runtime runtime options for this request RuntimeOptions
@@ -5291,7 +7004,7 @@ export default class Client extends OpenApi {
5291
7004
  }
5292
7005
 
5293
7006
  /**
5294
- * 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.
7007
+ * ModifyPhoneBusinessProfile
5295
7008
  *
5296
7009
  * @param request ModifyPhoneBusinessProfileRequest
5297
7010
  * @return ModifyPhoneBusinessProfileResponse
@@ -5606,6 +7319,10 @@ export default class Client extends OpenApi {
5606
7319
  request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
5607
7320
  }
5608
7321
 
7322
+ if (!Util.isUnset(tmpReq.productAction)) {
7323
+ request.productActionShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.productAction, "ProductAction", "json");
7324
+ }
7325
+
5609
7326
  if (!Util.isUnset(tmpReq.templateParams)) {
5610
7327
  request.templateParamsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateParams, "TemplateParams", "json");
5611
7328
  }
@@ -5668,6 +7385,10 @@ export default class Client extends OpenApi {
5668
7385
  body["MessageType"] = request.messageType;
5669
7386
  }
5670
7387
 
7388
+ if (!Util.isUnset(request.productActionShrink)) {
7389
+ body["ProductAction"] = request.productActionShrink;
7390
+ }
7391
+
5671
7392
  if (!Util.isUnset(request.tag)) {
5672
7393
  body["Tag"] = request.tag;
5673
7394
  }