@alicloud/cams20200606 1.0.13 → 1.0.15

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
@@ -10,6 +10,7 @@ import * as $tea from '@alicloud/tea-typescript';
10
10
 
11
11
  export class BeeBotAssociateRequest extends $tea.Model {
12
12
  chatBotInstanceId?: string;
13
+ custSpaceId?: string;
13
14
  isvCode?: string;
14
15
  perspective?: string[];
15
16
  recommendNum?: number;
@@ -18,6 +19,7 @@ export class BeeBotAssociateRequest extends $tea.Model {
18
19
  static names(): { [key: string]: string } {
19
20
  return {
20
21
  chatBotInstanceId: 'ChatBotInstanceId',
22
+ custSpaceId: 'CustSpaceId',
21
23
  isvCode: 'IsvCode',
22
24
  perspective: 'Perspective',
23
25
  recommendNum: 'RecommendNum',
@@ -29,6 +31,7 @@ export class BeeBotAssociateRequest extends $tea.Model {
29
31
  static types(): { [key: string]: any } {
30
32
  return {
31
33
  chatBotInstanceId: 'string',
34
+ custSpaceId: 'string',
32
35
  isvCode: 'string',
33
36
  perspective: { 'type': 'array', 'itemType': 'string' },
34
37
  recommendNum: 'number',
@@ -44,6 +47,7 @@ export class BeeBotAssociateRequest extends $tea.Model {
44
47
 
45
48
  export class BeeBotAssociateShrinkRequest extends $tea.Model {
46
49
  chatBotInstanceId?: string;
50
+ custSpaceId?: string;
47
51
  isvCode?: string;
48
52
  perspectiveShrink?: string;
49
53
  recommendNum?: number;
@@ -52,6 +56,7 @@ export class BeeBotAssociateShrinkRequest extends $tea.Model {
52
56
  static names(): { [key: string]: string } {
53
57
  return {
54
58
  chatBotInstanceId: 'ChatBotInstanceId',
59
+ custSpaceId: 'CustSpaceId',
55
60
  isvCode: 'IsvCode',
56
61
  perspectiveShrink: 'Perspective',
57
62
  recommendNum: 'RecommendNum',
@@ -63,6 +68,7 @@ export class BeeBotAssociateShrinkRequest extends $tea.Model {
63
68
  static types(): { [key: string]: any } {
64
69
  return {
65
70
  chatBotInstanceId: 'string',
71
+ custSpaceId: 'string',
66
72
  isvCode: 'string',
67
73
  perspectiveShrink: 'string',
68
74
  recommendNum: 'number',
@@ -131,6 +137,7 @@ export class BeeBotAssociateResponse extends $tea.Model {
131
137
 
132
138
  export class BeeBotChatRequest extends $tea.Model {
133
139
  chatBotInstanceId?: string;
140
+ custSpaceId?: string;
134
141
  intentName?: string;
135
142
  isvCode?: string;
136
143
  knowledgeId?: string;
@@ -143,6 +150,7 @@ export class BeeBotChatRequest extends $tea.Model {
143
150
  static names(): { [key: string]: string } {
144
151
  return {
145
152
  chatBotInstanceId: 'ChatBotInstanceId',
153
+ custSpaceId: 'CustSpaceId',
146
154
  intentName: 'IntentName',
147
155
  isvCode: 'IsvCode',
148
156
  knowledgeId: 'KnowledgeId',
@@ -158,6 +166,7 @@ export class BeeBotChatRequest extends $tea.Model {
158
166
  static types(): { [key: string]: any } {
159
167
  return {
160
168
  chatBotInstanceId: 'string',
169
+ custSpaceId: 'string',
161
170
  intentName: 'string',
162
171
  isvCode: 'string',
163
172
  knowledgeId: 'string',
@@ -177,6 +186,7 @@ export class BeeBotChatRequest extends $tea.Model {
177
186
 
178
187
  export class BeeBotChatShrinkRequest extends $tea.Model {
179
188
  chatBotInstanceId?: string;
189
+ custSpaceId?: string;
180
190
  intentName?: string;
181
191
  isvCode?: string;
182
192
  knowledgeId?: string;
@@ -189,6 +199,7 @@ export class BeeBotChatShrinkRequest extends $tea.Model {
189
199
  static names(): { [key: string]: string } {
190
200
  return {
191
201
  chatBotInstanceId: 'ChatBotInstanceId',
202
+ custSpaceId: 'CustSpaceId',
192
203
  intentName: 'IntentName',
193
204
  isvCode: 'IsvCode',
194
205
  knowledgeId: 'KnowledgeId',
@@ -204,6 +215,7 @@ export class BeeBotChatShrinkRequest extends $tea.Model {
204
215
  static types(): { [key: string]: any } {
205
216
  return {
206
217
  chatBotInstanceId: 'string',
218
+ custSpaceId: 'string',
207
219
  intentName: 'string',
208
220
  isvCode: 'string',
209
221
  knowledgeId: 'string',
@@ -277,6 +289,7 @@ export class BeeBotChatResponse extends $tea.Model {
277
289
  export class CreateChatappTemplateRequest extends $tea.Model {
278
290
  category?: string;
279
291
  components?: CreateChatappTemplateRequestComponents[];
292
+ custSpaceId?: string;
280
293
  custWabaId?: string;
281
294
  example?: { [key: string]: string };
282
295
  isvCode?: string;
@@ -287,6 +300,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
287
300
  return {
288
301
  category: 'Category',
289
302
  components: 'Components',
303
+ custSpaceId: 'CustSpaceId',
290
304
  custWabaId: 'CustWabaId',
291
305
  example: 'Example',
292
306
  isvCode: 'IsvCode',
@@ -300,6 +314,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
300
314
  return {
301
315
  category: 'string',
302
316
  components: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponents },
317
+ custSpaceId: 'string',
303
318
  custWabaId: 'string',
304
319
  example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
305
320
  isvCode: 'string',
@@ -317,6 +332,7 @@ export class CreateChatappTemplateRequest extends $tea.Model {
317
332
  export class CreateChatappTemplateShrinkRequest extends $tea.Model {
318
333
  category?: string;
319
334
  componentsShrink?: string;
335
+ custSpaceId?: string;
320
336
  custWabaId?: string;
321
337
  exampleShrink?: string;
322
338
  isvCode?: string;
@@ -327,6 +343,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
327
343
  return {
328
344
  category: 'Category',
329
345
  componentsShrink: 'Components',
346
+ custSpaceId: 'CustSpaceId',
330
347
  custWabaId: 'CustWabaId',
331
348
  exampleShrink: 'Example',
332
349
  isvCode: 'IsvCode',
@@ -340,6 +357,7 @@ export class CreateChatappTemplateShrinkRequest extends $tea.Model {
340
357
  return {
341
358
  category: 'string',
342
359
  componentsShrink: 'string',
360
+ custSpaceId: 'string',
343
361
  custWabaId: 'string',
344
362
  exampleShrink: 'string',
345
363
  isvCode: 'string',
@@ -408,11 +426,13 @@ export class CreateChatappTemplateResponse extends $tea.Model {
408
426
  }
409
427
 
410
428
  export class DeleteChatappTemplateRequest extends $tea.Model {
429
+ custSpaceId?: string;
411
430
  custWabaId?: string;
412
431
  isvCode?: string;
413
432
  templateCode?: string;
414
433
  static names(): { [key: string]: string } {
415
434
  return {
435
+ custSpaceId: 'CustSpaceId',
416
436
  custWabaId: 'CustWabaId',
417
437
  isvCode: 'IsvCode',
418
438
  templateCode: 'TemplateCode',
@@ -421,6 +441,7 @@ export class DeleteChatappTemplateRequest extends $tea.Model {
421
441
 
422
442
  static types(): { [key: string]: any } {
423
443
  return {
444
+ custSpaceId: 'string',
424
445
  custWabaId: 'string',
425
446
  isvCode: 'string',
426
447
  templateCode: 'string',
@@ -483,12 +504,14 @@ export class DeleteChatappTemplateResponse extends $tea.Model {
483
504
  }
484
505
 
485
506
  export class GetChatappTemplateDetailRequest extends $tea.Model {
507
+ custSpaceId?: string;
486
508
  custWabaId?: string;
487
509
  isvCode?: string;
488
510
  language?: string;
489
511
  templateCode?: string;
490
512
  static names(): { [key: string]: string } {
491
513
  return {
514
+ custSpaceId: 'CustSpaceId',
492
515
  custWabaId: 'CustWabaId',
493
516
  isvCode: 'IsvCode',
494
517
  language: 'Language',
@@ -498,6 +521,7 @@ export class GetChatappTemplateDetailRequest extends $tea.Model {
498
521
 
499
522
  static types(): { [key: string]: any } {
500
523
  return {
524
+ custSpaceId: 'string',
501
525
  custWabaId: 'string',
502
526
  isvCode: 'string',
503
527
  language: 'string',
@@ -565,6 +589,7 @@ export class GetChatappTemplateDetailResponse extends $tea.Model {
565
589
 
566
590
  export class ListChatappTemplateRequest extends $tea.Model {
567
591
  auditStatus?: string;
592
+ custSpaceId?: string;
568
593
  custWabaId?: string;
569
594
  isvCode?: string;
570
595
  language?: string;
@@ -573,6 +598,7 @@ export class ListChatappTemplateRequest extends $tea.Model {
573
598
  static names(): { [key: string]: string } {
574
599
  return {
575
600
  auditStatus: 'AuditStatus',
601
+ custSpaceId: 'CustSpaceId',
576
602
  custWabaId: 'CustWabaId',
577
603
  isvCode: 'IsvCode',
578
604
  language: 'Language',
@@ -584,6 +610,7 @@ export class ListChatappTemplateRequest extends $tea.Model {
584
610
  static types(): { [key: string]: any } {
585
611
  return {
586
612
  auditStatus: 'string',
613
+ custSpaceId: 'string',
587
614
  custWabaId: 'string',
588
615
  isvCode: 'string',
589
616
  language: 'string',
@@ -599,6 +626,7 @@ export class ListChatappTemplateRequest extends $tea.Model {
599
626
 
600
627
  export class ListChatappTemplateShrinkRequest extends $tea.Model {
601
628
  auditStatus?: string;
629
+ custSpaceId?: string;
602
630
  custWabaId?: string;
603
631
  isvCode?: string;
604
632
  language?: string;
@@ -607,6 +635,7 @@ export class ListChatappTemplateShrinkRequest extends $tea.Model {
607
635
  static names(): { [key: string]: string } {
608
636
  return {
609
637
  auditStatus: 'AuditStatus',
638
+ custSpaceId: 'CustSpaceId',
610
639
  custWabaId: 'CustWabaId',
611
640
  isvCode: 'IsvCode',
612
641
  language: 'Language',
@@ -618,6 +647,7 @@ export class ListChatappTemplateShrinkRequest extends $tea.Model {
618
647
  static types(): { [key: string]: any } {
619
648
  return {
620
649
  auditStatus: 'string',
650
+ custSpaceId: 'string',
621
651
  custWabaId: 'string',
622
652
  isvCode: 'string',
623
653
  language: 'string',
@@ -686,6 +716,7 @@ export class ListChatappTemplateResponse extends $tea.Model {
686
716
 
687
717
  export class ModifyChatappTemplateRequest extends $tea.Model {
688
718
  components?: ModifyChatappTemplateRequestComponents[];
719
+ custSpaceId?: string;
689
720
  custWabaId?: string;
690
721
  example?: { [key: string]: string };
691
722
  isvCode?: string;
@@ -694,6 +725,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
694
725
  static names(): { [key: string]: string } {
695
726
  return {
696
727
  components: 'Components',
728
+ custSpaceId: 'CustSpaceId',
697
729
  custWabaId: 'CustWabaId',
698
730
  example: 'Example',
699
731
  isvCode: 'IsvCode',
@@ -705,6 +737,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
705
737
  static types(): { [key: string]: any } {
706
738
  return {
707
739
  components: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponents },
740
+ custSpaceId: 'string',
708
741
  custWabaId: 'string',
709
742
  example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
710
743
  isvCode: 'string',
@@ -720,6 +753,7 @@ export class ModifyChatappTemplateRequest extends $tea.Model {
720
753
 
721
754
  export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
722
755
  componentsShrink?: string;
756
+ custSpaceId?: string;
723
757
  custWabaId?: string;
724
758
  exampleShrink?: string;
725
759
  isvCode?: string;
@@ -728,6 +762,7 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
728
762
  static names(): { [key: string]: string } {
729
763
  return {
730
764
  componentsShrink: 'Components',
765
+ custSpaceId: 'CustSpaceId',
731
766
  custWabaId: 'CustWabaId',
732
767
  exampleShrink: 'Example',
733
768
  isvCode: 'IsvCode',
@@ -739,6 +774,7 @@ export class ModifyChatappTemplateShrinkRequest extends $tea.Model {
739
774
  static types(): { [key: string]: any } {
740
775
  return {
741
776
  componentsShrink: 'string',
777
+ custSpaceId: 'string',
742
778
  custWabaId: 'string',
743
779
  exampleShrink: 'string',
744
780
  isvCode: 'string',
@@ -805,8 +841,159 @@ export class ModifyChatappTemplateResponse extends $tea.Model {
805
841
  }
806
842
  }
807
843
 
844
+ export class QueryChatappBindWabaRequest extends $tea.Model {
845
+ custSpaceId?: string;
846
+ isvCode?: string;
847
+ static names(): { [key: string]: string } {
848
+ return {
849
+ custSpaceId: 'CustSpaceId',
850
+ isvCode: 'IsvCode',
851
+ };
852
+ }
853
+
854
+ static types(): { [key: string]: any } {
855
+ return {
856
+ custSpaceId: 'string',
857
+ isvCode: 'string',
858
+ };
859
+ }
860
+
861
+ constructor(map?: { [key: string]: any }) {
862
+ super(map);
863
+ }
864
+ }
865
+
866
+ export class QueryChatappBindWabaResponseBody extends $tea.Model {
867
+ code?: string;
868
+ data?: QueryChatappBindWabaResponseBodyData;
869
+ message?: string;
870
+ requestId?: string;
871
+ static names(): { [key: string]: string } {
872
+ return {
873
+ code: 'Code',
874
+ data: 'Data',
875
+ message: 'Message',
876
+ requestId: 'RequestId',
877
+ };
878
+ }
879
+
880
+ static types(): { [key: string]: any } {
881
+ return {
882
+ code: 'string',
883
+ data: QueryChatappBindWabaResponseBodyData,
884
+ message: 'string',
885
+ requestId: 'string',
886
+ };
887
+ }
888
+
889
+ constructor(map?: { [key: string]: any }) {
890
+ super(map);
891
+ }
892
+ }
893
+
894
+ export class QueryChatappBindWabaResponse extends $tea.Model {
895
+ headers: { [key: string]: string };
896
+ statusCode: number;
897
+ body: QueryChatappBindWabaResponseBody;
898
+ static names(): { [key: string]: string } {
899
+ return {
900
+ headers: 'headers',
901
+ statusCode: 'statusCode',
902
+ body: 'body',
903
+ };
904
+ }
905
+
906
+ static types(): { [key: string]: any } {
907
+ return {
908
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
909
+ statusCode: 'number',
910
+ body: QueryChatappBindWabaResponseBody,
911
+ };
912
+ }
913
+
914
+ constructor(map?: { [key: string]: any }) {
915
+ super(map);
916
+ }
917
+ }
918
+
919
+ export class QueryChatappPhoneNumbersRequest extends $tea.Model {
920
+ custSpaceId?: string;
921
+ isvCode?: string;
922
+ static names(): { [key: string]: string } {
923
+ return {
924
+ custSpaceId: 'CustSpaceId',
925
+ isvCode: 'IsvCode',
926
+ };
927
+ }
928
+
929
+ static types(): { [key: string]: any } {
930
+ return {
931
+ custSpaceId: 'string',
932
+ isvCode: 'string',
933
+ };
934
+ }
935
+
936
+ constructor(map?: { [key: string]: any }) {
937
+ super(map);
938
+ }
939
+ }
940
+
941
+ export class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
942
+ code?: string;
943
+ message?: string;
944
+ phoneNumbers?: QueryChatappPhoneNumbersResponseBodyPhoneNumbers[];
945
+ requestId?: string;
946
+ static names(): { [key: string]: string } {
947
+ return {
948
+ code: 'Code',
949
+ message: 'Message',
950
+ phoneNumbers: 'PhoneNumbers',
951
+ requestId: 'RequestId',
952
+ };
953
+ }
954
+
955
+ static types(): { [key: string]: any } {
956
+ return {
957
+ code: 'string',
958
+ message: 'string',
959
+ phoneNumbers: { 'type': 'array', 'itemType': QueryChatappPhoneNumbersResponseBodyPhoneNumbers },
960
+ requestId: 'string',
961
+ };
962
+ }
963
+
964
+ constructor(map?: { [key: string]: any }) {
965
+ super(map);
966
+ }
967
+ }
968
+
969
+ export class QueryChatappPhoneNumbersResponse extends $tea.Model {
970
+ headers: { [key: string]: string };
971
+ statusCode: number;
972
+ body: QueryChatappPhoneNumbersResponseBody;
973
+ static names(): { [key: string]: string } {
974
+ return {
975
+ headers: 'headers',
976
+ statusCode: 'statusCode',
977
+ body: 'body',
978
+ };
979
+ }
980
+
981
+ static types(): { [key: string]: any } {
982
+ return {
983
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
984
+ statusCode: 'number',
985
+ body: QueryChatappPhoneNumbersResponseBody,
986
+ };
987
+ }
988
+
989
+ constructor(map?: { [key: string]: any }) {
990
+ super(map);
991
+ }
992
+ }
993
+
808
994
  export class SendChatappMassMessageRequest extends $tea.Model {
809
995
  channelType?: string;
996
+ custSpaceId?: string;
810
997
  custWabaId?: string;
811
998
  fallBackContent?: string;
812
999
  fallBackId?: string;
@@ -819,6 +1006,7 @@ export class SendChatappMassMessageRequest extends $tea.Model {
819
1006
  static names(): { [key: string]: string } {
820
1007
  return {
821
1008
  channelType: 'ChannelType',
1009
+ custSpaceId: 'CustSpaceId',
822
1010
  custWabaId: 'CustWabaId',
823
1011
  fallBackContent: 'FallBackContent',
824
1012
  fallBackId: 'FallBackId',
@@ -834,6 +1022,7 @@ export class SendChatappMassMessageRequest extends $tea.Model {
834
1022
  static types(): { [key: string]: any } {
835
1023
  return {
836
1024
  channelType: 'string',
1025
+ custSpaceId: 'string',
837
1026
  custWabaId: 'string',
838
1027
  fallBackContent: 'string',
839
1028
  fallBackId: 'string',
@@ -853,6 +1042,7 @@ export class SendChatappMassMessageRequest extends $tea.Model {
853
1042
 
854
1043
  export class SendChatappMassMessageShrinkRequest extends $tea.Model {
855
1044
  channelType?: string;
1045
+ custSpaceId?: string;
856
1046
  custWabaId?: string;
857
1047
  fallBackContent?: string;
858
1048
  fallBackId?: string;
@@ -865,6 +1055,7 @@ export class SendChatappMassMessageShrinkRequest extends $tea.Model {
865
1055
  static names(): { [key: string]: string } {
866
1056
  return {
867
1057
  channelType: 'ChannelType',
1058
+ custSpaceId: 'CustSpaceId',
868
1059
  custWabaId: 'CustWabaId',
869
1060
  fallBackContent: 'FallBackContent',
870
1061
  fallBackId: 'FallBackId',
@@ -880,6 +1071,7 @@ export class SendChatappMassMessageShrinkRequest extends $tea.Model {
880
1071
  static types(): { [key: string]: any } {
881
1072
  return {
882
1073
  channelType: 'string',
1074
+ custSpaceId: 'string',
883
1075
  custWabaId: 'string',
884
1076
  fallBackContent: 'string',
885
1077
  fallBackId: 'string',
@@ -953,33 +1145,45 @@ export class SendChatappMassMessageResponse extends $tea.Model {
953
1145
  export class SendChatappMessageRequest extends $tea.Model {
954
1146
  channelType?: string;
955
1147
  content?: string;
1148
+ contextMessageId?: string;
1149
+ custSpaceId?: string;
956
1150
  custWabaId?: string;
957
1151
  fallBackContent?: string;
958
1152
  fallBackId?: string;
959
1153
  from?: string;
960
1154
  isvCode?: string;
1155
+ label?: string;
961
1156
  language?: string;
962
1157
  messageType?: string;
963
1158
  payload?: string[];
1159
+ tag?: string;
964
1160
  templateCode?: string;
965
1161
  templateParams?: { [key: string]: string };
966
1162
  to?: string;
1163
+ trackingData?: string;
1164
+ ttl?: number;
967
1165
  type?: string;
968
1166
  static names(): { [key: string]: string } {
969
1167
  return {
970
1168
  channelType: 'ChannelType',
971
1169
  content: 'Content',
1170
+ contextMessageId: 'ContextMessageId',
1171
+ custSpaceId: 'CustSpaceId',
972
1172
  custWabaId: 'CustWabaId',
973
1173
  fallBackContent: 'FallBackContent',
974
1174
  fallBackId: 'FallBackId',
975
1175
  from: 'From',
976
1176
  isvCode: 'IsvCode',
1177
+ label: 'Label',
977
1178
  language: 'Language',
978
1179
  messageType: 'MessageType',
979
1180
  payload: 'Payload',
1181
+ tag: 'Tag',
980
1182
  templateCode: 'TemplateCode',
981
1183
  templateParams: 'TemplateParams',
982
1184
  to: 'To',
1185
+ trackingData: 'TrackingData',
1186
+ ttl: 'Ttl',
983
1187
  type: 'Type',
984
1188
  };
985
1189
  }
@@ -988,17 +1192,23 @@ export class SendChatappMessageRequest extends $tea.Model {
988
1192
  return {
989
1193
  channelType: 'string',
990
1194
  content: 'string',
1195
+ contextMessageId: 'string',
1196
+ custSpaceId: 'string',
991
1197
  custWabaId: 'string',
992
1198
  fallBackContent: 'string',
993
1199
  fallBackId: 'string',
994
1200
  from: 'string',
995
1201
  isvCode: 'string',
1202
+ label: 'string',
996
1203
  language: 'string',
997
1204
  messageType: 'string',
998
1205
  payload: { 'type': 'array', 'itemType': 'string' },
1206
+ tag: 'string',
999
1207
  templateCode: 'string',
1000
1208
  templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1001
1209
  to: 'string',
1210
+ trackingData: 'string',
1211
+ ttl: 'number',
1002
1212
  type: 'string',
1003
1213
  };
1004
1214
  }
@@ -1011,33 +1221,45 @@ export class SendChatappMessageRequest extends $tea.Model {
1011
1221
  export class SendChatappMessageShrinkRequest extends $tea.Model {
1012
1222
  channelType?: string;
1013
1223
  content?: string;
1224
+ contextMessageId?: string;
1225
+ custSpaceId?: string;
1014
1226
  custWabaId?: string;
1015
1227
  fallBackContent?: string;
1016
1228
  fallBackId?: string;
1017
1229
  from?: string;
1018
1230
  isvCode?: string;
1231
+ label?: string;
1019
1232
  language?: string;
1020
1233
  messageType?: string;
1021
1234
  payloadShrink?: string;
1235
+ tag?: string;
1022
1236
  templateCode?: string;
1023
1237
  templateParamsShrink?: string;
1024
1238
  to?: string;
1239
+ trackingData?: string;
1240
+ ttl?: number;
1025
1241
  type?: string;
1026
1242
  static names(): { [key: string]: string } {
1027
1243
  return {
1028
1244
  channelType: 'ChannelType',
1029
1245
  content: 'Content',
1246
+ contextMessageId: 'ContextMessageId',
1247
+ custSpaceId: 'CustSpaceId',
1030
1248
  custWabaId: 'CustWabaId',
1031
1249
  fallBackContent: 'FallBackContent',
1032
1250
  fallBackId: 'FallBackId',
1033
1251
  from: 'From',
1034
1252
  isvCode: 'IsvCode',
1253
+ label: 'Label',
1035
1254
  language: 'Language',
1036
1255
  messageType: 'MessageType',
1037
1256
  payloadShrink: 'Payload',
1257
+ tag: 'Tag',
1038
1258
  templateCode: 'TemplateCode',
1039
1259
  templateParamsShrink: 'TemplateParams',
1040
1260
  to: 'To',
1261
+ trackingData: 'TrackingData',
1262
+ ttl: 'Ttl',
1041
1263
  type: 'Type',
1042
1264
  };
1043
1265
  }
@@ -1046,17 +1268,23 @@ export class SendChatappMessageShrinkRequest extends $tea.Model {
1046
1268
  return {
1047
1269
  channelType: 'string',
1048
1270
  content: 'string',
1271
+ contextMessageId: 'string',
1272
+ custSpaceId: 'string',
1049
1273
  custWabaId: 'string',
1050
1274
  fallBackContent: 'string',
1051
1275
  fallBackId: 'string',
1052
1276
  from: 'string',
1053
1277
  isvCode: 'string',
1278
+ label: 'string',
1054
1279
  language: 'string',
1055
1280
  messageType: 'string',
1056
1281
  payloadShrink: 'string',
1282
+ tag: 'string',
1057
1283
  templateCode: 'string',
1058
1284
  templateParamsShrink: 'string',
1059
1285
  to: 'string',
1286
+ trackingData: 'string',
1287
+ ttl: 'number',
1060
1288
  type: 'string',
1061
1289
  };
1062
1290
  }
@@ -1733,6 +1961,89 @@ export class ModifyChatappTemplateResponseBodyData extends $tea.Model {
1733
1961
  }
1734
1962
  }
1735
1963
 
1964
+ export class QueryChatappBindWabaResponseBodyData extends $tea.Model {
1965
+ accountReviewStatus?: string;
1966
+ currency?: string;
1967
+ id?: string;
1968
+ messageTemplateNamespace?: string;
1969
+ name?: string;
1970
+ static names(): { [key: string]: string } {
1971
+ return {
1972
+ accountReviewStatus: 'AccountReviewStatus',
1973
+ currency: 'Currency',
1974
+ id: 'Id',
1975
+ messageTemplateNamespace: 'MessageTemplateNamespace',
1976
+ name: 'Name',
1977
+ };
1978
+ }
1979
+
1980
+ static types(): { [key: string]: any } {
1981
+ return {
1982
+ accountReviewStatus: 'string',
1983
+ currency: 'string',
1984
+ id: 'string',
1985
+ messageTemplateNamespace: 'string',
1986
+ name: 'string',
1987
+ };
1988
+ }
1989
+
1990
+ constructor(map?: { [key: string]: any }) {
1991
+ super(map);
1992
+ }
1993
+ }
1994
+
1995
+ export class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
1996
+ codeVerificationStatus?: string;
1997
+ messagingLimitTier?: string;
1998
+ nameStatus?: string;
1999
+ newNameStatus?: string;
2000
+ phoneNumber?: string;
2001
+ qualityRating?: string;
2002
+ status?: string;
2003
+ statusCallbackUrl?: string;
2004
+ statusQueue?: string;
2005
+ upCallbackUrl?: string;
2006
+ upQueue?: string;
2007
+ verifiedName?: string;
2008
+ static names(): { [key: string]: string } {
2009
+ return {
2010
+ codeVerificationStatus: 'CodeVerificationStatus',
2011
+ messagingLimitTier: 'MessagingLimitTier',
2012
+ nameStatus: 'NameStatus',
2013
+ newNameStatus: 'NewNameStatus',
2014
+ phoneNumber: 'PhoneNumber',
2015
+ qualityRating: 'QualityRating',
2016
+ status: 'Status',
2017
+ statusCallbackUrl: 'StatusCallbackUrl',
2018
+ statusQueue: 'StatusQueue',
2019
+ upCallbackUrl: 'UpCallbackUrl',
2020
+ upQueue: 'UpQueue',
2021
+ verifiedName: 'VerifiedName',
2022
+ };
2023
+ }
2024
+
2025
+ static types(): { [key: string]: any } {
2026
+ return {
2027
+ codeVerificationStatus: 'string',
2028
+ messagingLimitTier: 'string',
2029
+ nameStatus: 'string',
2030
+ newNameStatus: 'string',
2031
+ phoneNumber: 'string',
2032
+ qualityRating: 'string',
2033
+ status: 'string',
2034
+ statusCallbackUrl: 'string',
2035
+ statusQueue: 'string',
2036
+ upCallbackUrl: 'string',
2037
+ upQueue: 'string',
2038
+ verifiedName: 'string',
2039
+ };
2040
+ }
2041
+
2042
+ constructor(map?: { [key: string]: any }) {
2043
+ super(map);
2044
+ }
2045
+ }
2046
+
1736
2047
  export class SendChatappMassMessageRequestSenderList extends $tea.Model {
1737
2048
  payload?: string[];
1738
2049
  templateParams?: { [key: string]: string };
@@ -1781,6 +2092,13 @@ export default class Client extends OpenApi {
1781
2092
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
1782
2093
  }
1783
2094
 
2095
+ /**
2096
+ * You can call this operation up to 100 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.
2097
+ *
2098
+ * @param tmpReq BeeBotAssociateRequest
2099
+ * @param runtime runtime options for this request RuntimeOptions
2100
+ * @return BeeBotAssociateResponse
2101
+ */
1784
2102
  async beeBotAssociateWithOptions(tmpReq: BeeBotAssociateRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotAssociateResponse> {
1785
2103
  Util.validateModel(tmpReq);
1786
2104
  let request = new BeeBotAssociateShrinkRequest({ });
@@ -1794,6 +2112,10 @@ export default class Client extends OpenApi {
1794
2112
  body["ChatBotInstanceId"] = request.chatBotInstanceId;
1795
2113
  }
1796
2114
 
2115
+ if (!Util.isUnset(request.custSpaceId)) {
2116
+ body["CustSpaceId"] = request.custSpaceId;
2117
+ }
2118
+
1797
2119
  if (!Util.isUnset(request.isvCode)) {
1798
2120
  body["IsvCode"] = request.isvCode;
1799
2121
  }
@@ -1831,11 +2153,24 @@ export default class Client extends OpenApi {
1831
2153
  return $tea.cast<BeeBotAssociateResponse>(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
1832
2154
  }
1833
2155
 
2156
+ /**
2157
+ * You can call this operation up to 100 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.
2158
+ *
2159
+ * @param request BeeBotAssociateRequest
2160
+ * @return BeeBotAssociateResponse
2161
+ */
1834
2162
  async beeBotAssociate(request: BeeBotAssociateRequest): Promise<BeeBotAssociateResponse> {
1835
2163
  let runtime = new $Util.RuntimeOptions({ });
1836
2164
  return await this.beeBotAssociateWithOptions(request, runtime);
1837
2165
  }
1838
2166
 
2167
+ /**
2168
+ * You can call this operation up to 100 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.
2169
+ *
2170
+ * @param tmpReq BeeBotChatRequest
2171
+ * @param runtime runtime options for this request RuntimeOptions
2172
+ * @return BeeBotChatResponse
2173
+ */
1839
2174
  async beeBotChatWithOptions(tmpReq: BeeBotChatRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotChatResponse> {
1840
2175
  Util.validateModel(tmpReq);
1841
2176
  let request = new BeeBotChatShrinkRequest({ });
@@ -1853,6 +2188,10 @@ export default class Client extends OpenApi {
1853
2188
  body["ChatBotInstanceId"] = request.chatBotInstanceId;
1854
2189
  }
1855
2190
 
2191
+ if (!Util.isUnset(request.custSpaceId)) {
2192
+ body["CustSpaceId"] = request.custSpaceId;
2193
+ }
2194
+
1856
2195
  if (!Util.isUnset(request.intentName)) {
1857
2196
  body["IntentName"] = request.intentName;
1858
2197
  }
@@ -1906,11 +2245,25 @@ export default class Client extends OpenApi {
1906
2245
  return $tea.cast<BeeBotChatResponse>(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
1907
2246
  }
1908
2247
 
2248
+ /**
2249
+ * You can call this operation up to 100 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.
2250
+ *
2251
+ * @param request BeeBotChatRequest
2252
+ * @return BeeBotChatResponse
2253
+ */
1909
2254
  async beeBotChat(request: BeeBotChatRequest): Promise<BeeBotChatResponse> {
1910
2255
  let runtime = new $Util.RuntimeOptions({ });
1911
2256
  return await this.beeBotChatWithOptions(request, runtime);
1912
2257
  }
1913
2258
 
2259
+ /**
2260
+ * ### QPS limit
2261
+ * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2262
+ *
2263
+ * @param tmpReq CreateChatappTemplateRequest
2264
+ * @param runtime runtime options for this request RuntimeOptions
2265
+ * @return CreateChatappTemplateResponse
2266
+ */
1914
2267
  async createChatappTemplateWithOptions(tmpReq: CreateChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappTemplateResponse> {
1915
2268
  Util.validateModel(tmpReq);
1916
2269
  let request = new CreateChatappTemplateShrinkRequest({ });
@@ -1923,6 +2276,11 @@ export default class Client extends OpenApi {
1923
2276
  request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
1924
2277
  }
1925
2278
 
2279
+ let query = { };
2280
+ if (!Util.isUnset(request.custSpaceId)) {
2281
+ query["CustSpaceId"] = request.custSpaceId;
2282
+ }
2283
+
1926
2284
  let body : {[key: string ]: any} = { };
1927
2285
  if (!Util.isUnset(request.category)) {
1928
2286
  body["Category"] = request.category;
@@ -1957,6 +2315,7 @@ export default class Client extends OpenApi {
1957
2315
  }
1958
2316
 
1959
2317
  let req = new $OpenApi.OpenApiRequest({
2318
+ query: OpenApiUtil.query(query),
1960
2319
  body: OpenApiUtil.parseToMap(body),
1961
2320
  });
1962
2321
  let params = new $OpenApi.Params({
@@ -1973,14 +2332,33 @@ export default class Client extends OpenApi {
1973
2332
  return $tea.cast<CreateChatappTemplateResponse>(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
1974
2333
  }
1975
2334
 
2335
+ /**
2336
+ * ### QPS limit
2337
+ * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2338
+ *
2339
+ * @param request CreateChatappTemplateRequest
2340
+ * @return CreateChatappTemplateResponse
2341
+ */
1976
2342
  async createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse> {
1977
2343
  let runtime = new $Util.RuntimeOptions({ });
1978
2344
  return await this.createChatappTemplateWithOptions(request, runtime);
1979
2345
  }
1980
2346
 
2347
+ /**
2348
+ * ### QPS limit
2349
+ * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2350
+ *
2351
+ * @param request DeleteChatappTemplateRequest
2352
+ * @param runtime runtime options for this request RuntimeOptions
2353
+ * @return DeleteChatappTemplateResponse
2354
+ */
1981
2355
  async deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse> {
1982
2356
  Util.validateModel(request);
1983
2357
  let query = { };
2358
+ if (!Util.isUnset(request.custSpaceId)) {
2359
+ query["CustSpaceId"] = request.custSpaceId;
2360
+ }
2361
+
1984
2362
  if (!Util.isUnset(request.custWabaId)) {
1985
2363
  query["CustWabaId"] = request.custWabaId;
1986
2364
  }
@@ -2010,14 +2388,33 @@ export default class Client extends OpenApi {
2010
2388
  return $tea.cast<DeleteChatappTemplateResponse>(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
2011
2389
  }
2012
2390
 
2391
+ /**
2392
+ * ### QPS limit
2393
+ * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2394
+ *
2395
+ * @param request DeleteChatappTemplateRequest
2396
+ * @return DeleteChatappTemplateResponse
2397
+ */
2013
2398
  async deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse> {
2014
2399
  let runtime = new $Util.RuntimeOptions({ });
2015
2400
  return await this.deleteChatappTemplateWithOptions(request, runtime);
2016
2401
  }
2017
2402
 
2403
+ /**
2404
+ * ### QPS limit
2405
+ * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2406
+ *
2407
+ * @param request GetChatappTemplateDetailRequest
2408
+ * @param runtime runtime options for this request RuntimeOptions
2409
+ * @return GetChatappTemplateDetailResponse
2410
+ */
2018
2411
  async getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse> {
2019
2412
  Util.validateModel(request);
2020
2413
  let query = { };
2414
+ if (!Util.isUnset(request.custSpaceId)) {
2415
+ query["CustSpaceId"] = request.custSpaceId;
2416
+ }
2417
+
2021
2418
  if (!Util.isUnset(request.custWabaId)) {
2022
2419
  query["CustWabaId"] = request.custWabaId;
2023
2420
  }
@@ -2051,17 +2448,32 @@ export default class Client extends OpenApi {
2051
2448
  return $tea.cast<GetChatappTemplateDetailResponse>(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
2052
2449
  }
2053
2450
 
2451
+ /**
2452
+ * ### QPS limit
2453
+ * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2454
+ *
2455
+ * @param request GetChatappTemplateDetailRequest
2456
+ * @return GetChatappTemplateDetailResponse
2457
+ */
2054
2458
  async getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse> {
2055
2459
  let runtime = new $Util.RuntimeOptions({ });
2056
2460
  return await this.getChatappTemplateDetailWithOptions(request, runtime);
2057
2461
  }
2058
2462
 
2463
+ /**
2464
+ * ### QPS limit
2465
+ * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2466
+ *
2467
+ * @param tmpReq ListChatappTemplateRequest
2468
+ * @param runtime runtime options for this request RuntimeOptions
2469
+ * @return ListChatappTemplateResponse
2470
+ */
2059
2471
  async listChatappTemplateWithOptions(tmpReq: ListChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ListChatappTemplateResponse> {
2060
2472
  Util.validateModel(tmpReq);
2061
2473
  let request = new ListChatappTemplateShrinkRequest({ });
2062
2474
  OpenApiUtil.convert(tmpReq, request);
2063
- if (!Util.isUnset($tea.toMap(tmpReq.page))) {
2064
- request.pageShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.page), "Page", "json");
2475
+ if (!Util.isUnset(tmpReq.page)) {
2476
+ request.pageShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
2065
2477
  }
2066
2478
 
2067
2479
  let query = { };
@@ -2069,6 +2481,10 @@ export default class Client extends OpenApi {
2069
2481
  query["AuditStatus"] = request.auditStatus;
2070
2482
  }
2071
2483
 
2484
+ if (!Util.isUnset(request.custSpaceId)) {
2485
+ query["CustSpaceId"] = request.custSpaceId;
2486
+ }
2487
+
2072
2488
  if (!Util.isUnset(request.custWabaId)) {
2073
2489
  query["CustWabaId"] = request.custWabaId;
2074
2490
  }
@@ -2106,6 +2522,13 @@ export default class Client extends OpenApi {
2106
2522
  return $tea.cast<ListChatappTemplateResponse>(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
2107
2523
  }
2108
2524
 
2525
+ /**
2526
+ * ### QPS limit
2527
+ * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2528
+ *
2529
+ * @param request ListChatappTemplateRequest
2530
+ * @return ListChatappTemplateResponse
2531
+ */
2109
2532
  async listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse> {
2110
2533
  let runtime = new $Util.RuntimeOptions({ });
2111
2534
  return await this.listChatappTemplateWithOptions(request, runtime);
@@ -2128,6 +2551,10 @@ export default class Client extends OpenApi {
2128
2551
  body["Components"] = request.componentsShrink;
2129
2552
  }
2130
2553
 
2554
+ if (!Util.isUnset(request.custSpaceId)) {
2555
+ body["CustSpaceId"] = request.custSpaceId;
2556
+ }
2557
+
2131
2558
  if (!Util.isUnset(request.custWabaId)) {
2132
2559
  body["CustWabaId"] = request.custWabaId;
2133
2560
  }
@@ -2170,6 +2597,106 @@ export default class Client extends OpenApi {
2170
2597
  return await this.modifyChatappTemplateWithOptions(request, runtime);
2171
2598
  }
2172
2599
 
2600
+ /**
2601
+ * You can call this operation up to 10 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.
2602
+ *
2603
+ * @param request QueryChatappBindWabaRequest
2604
+ * @param runtime runtime options for this request RuntimeOptions
2605
+ * @return QueryChatappBindWabaResponse
2606
+ */
2607
+ async queryChatappBindWabaWithOptions(request: QueryChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappBindWabaResponse> {
2608
+ Util.validateModel(request);
2609
+ let query = { };
2610
+ if (!Util.isUnset(request.custSpaceId)) {
2611
+ query["CustSpaceId"] = request.custSpaceId;
2612
+ }
2613
+
2614
+ if (!Util.isUnset(request.isvCode)) {
2615
+ query["IsvCode"] = request.isvCode;
2616
+ }
2617
+
2618
+ let req = new $OpenApi.OpenApiRequest({
2619
+ query: OpenApiUtil.query(query),
2620
+ });
2621
+ let params = new $OpenApi.Params({
2622
+ action: "QueryChatappBindWaba",
2623
+ version: "2020-06-06",
2624
+ protocol: "HTTPS",
2625
+ pathname: "/",
2626
+ method: "POST",
2627
+ authType: "AK",
2628
+ style: "RPC",
2629
+ reqBodyType: "formData",
2630
+ bodyType: "json",
2631
+ });
2632
+ return $tea.cast<QueryChatappBindWabaResponse>(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
2633
+ }
2634
+
2635
+ /**
2636
+ * You can call this operation up to 10 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.
2637
+ *
2638
+ * @param request QueryChatappBindWabaRequest
2639
+ * @return QueryChatappBindWabaResponse
2640
+ */
2641
+ async queryChatappBindWaba(request: QueryChatappBindWabaRequest): Promise<QueryChatappBindWabaResponse> {
2642
+ let runtime = new $Util.RuntimeOptions({ });
2643
+ return await this.queryChatappBindWabaWithOptions(request, runtime);
2644
+ }
2645
+
2646
+ /**
2647
+ * You can call this operation up to 10 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.
2648
+ *
2649
+ * @param request QueryChatappPhoneNumbersRequest
2650
+ * @param runtime runtime options for this request RuntimeOptions
2651
+ * @return QueryChatappPhoneNumbersResponse
2652
+ */
2653
+ async queryChatappPhoneNumbersWithOptions(request: QueryChatappPhoneNumbersRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappPhoneNumbersResponse> {
2654
+ Util.validateModel(request);
2655
+ let query = { };
2656
+ if (!Util.isUnset(request.custSpaceId)) {
2657
+ query["CustSpaceId"] = request.custSpaceId;
2658
+ }
2659
+
2660
+ if (!Util.isUnset(request.isvCode)) {
2661
+ query["IsvCode"] = request.isvCode;
2662
+ }
2663
+
2664
+ let req = new $OpenApi.OpenApiRequest({
2665
+ query: OpenApiUtil.query(query),
2666
+ });
2667
+ let params = new $OpenApi.Params({
2668
+ action: "QueryChatappPhoneNumbers",
2669
+ version: "2020-06-06",
2670
+ protocol: "HTTPS",
2671
+ pathname: "/",
2672
+ method: "POST",
2673
+ authType: "AK",
2674
+ style: "RPC",
2675
+ reqBodyType: "formData",
2676
+ bodyType: "json",
2677
+ });
2678
+ return $tea.cast<QueryChatappPhoneNumbersResponse>(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
2679
+ }
2680
+
2681
+ /**
2682
+ * You can call this operation up to 10 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.
2683
+ *
2684
+ * @param request QueryChatappPhoneNumbersRequest
2685
+ * @return QueryChatappPhoneNumbersResponse
2686
+ */
2687
+ async queryChatappPhoneNumbers(request: QueryChatappPhoneNumbersRequest): Promise<QueryChatappPhoneNumbersResponse> {
2688
+ let runtime = new $Util.RuntimeOptions({ });
2689
+ return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
2690
+ }
2691
+
2692
+ /**
2693
+ * You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2694
+ * Can support up to 1,000 numbers per request.
2695
+ *
2696
+ * @param tmpReq SendChatappMassMessageRequest
2697
+ * @param runtime runtime options for this request RuntimeOptions
2698
+ * @return SendChatappMassMessageResponse
2699
+ */
2173
2700
  async sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse> {
2174
2701
  Util.validateModel(tmpReq);
2175
2702
  let request = new SendChatappMassMessageShrinkRequest({ });
@@ -2183,6 +2710,10 @@ export default class Client extends OpenApi {
2183
2710
  body["ChannelType"] = request.channelType;
2184
2711
  }
2185
2712
 
2713
+ if (!Util.isUnset(request.custSpaceId)) {
2714
+ body["CustSpaceId"] = request.custSpaceId;
2715
+ }
2716
+
2186
2717
  if (!Util.isUnset(request.custWabaId)) {
2187
2718
  body["CustWabaId"] = request.custWabaId;
2188
2719
  }
@@ -2236,11 +2767,25 @@ export default class Client extends OpenApi {
2236
2767
  return $tea.cast<SendChatappMassMessageResponse>(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
2237
2768
  }
2238
2769
 
2770
+ /**
2771
+ * You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2772
+ * Can support up to 1,000 numbers per request.
2773
+ *
2774
+ * @param request SendChatappMassMessageRequest
2775
+ * @return SendChatappMassMessageResponse
2776
+ */
2239
2777
  async sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse> {
2240
2778
  let runtime = new $Util.RuntimeOptions({ });
2241
2779
  return await this.sendChatappMassMessageWithOptions(request, runtime);
2242
2780
  }
2243
2781
 
2782
+ /**
2783
+ * You can call this operation up to 200 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2784
+ *
2785
+ * @param tmpReq SendChatappMessageRequest
2786
+ * @param runtime runtime options for this request RuntimeOptions
2787
+ * @return SendChatappMessageResponse
2788
+ */
2244
2789
  async sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse> {
2245
2790
  Util.validateModel(tmpReq);
2246
2791
  let request = new SendChatappMessageShrinkRequest({ });
@@ -2267,6 +2812,14 @@ export default class Client extends OpenApi {
2267
2812
  body["ChannelType"] = request.channelType;
2268
2813
  }
2269
2814
 
2815
+ if (!Util.isUnset(request.contextMessageId)) {
2816
+ body["ContextMessageId"] = request.contextMessageId;
2817
+ }
2818
+
2819
+ if (!Util.isUnset(request.custSpaceId)) {
2820
+ body["CustSpaceId"] = request.custSpaceId;
2821
+ }
2822
+
2270
2823
  if (!Util.isUnset(request.custWabaId)) {
2271
2824
  body["CustWabaId"] = request.custWabaId;
2272
2825
  }
@@ -2287,6 +2840,10 @@ export default class Client extends OpenApi {
2287
2840
  body["IsvCode"] = request.isvCode;
2288
2841
  }
2289
2842
 
2843
+ if (!Util.isUnset(request.label)) {
2844
+ body["Label"] = request.label;
2845
+ }
2846
+
2290
2847
  if (!Util.isUnset(request.language)) {
2291
2848
  body["Language"] = request.language;
2292
2849
  }
@@ -2295,6 +2852,10 @@ export default class Client extends OpenApi {
2295
2852
  body["MessageType"] = request.messageType;
2296
2853
  }
2297
2854
 
2855
+ if (!Util.isUnset(request.tag)) {
2856
+ body["Tag"] = request.tag;
2857
+ }
2858
+
2298
2859
  if (!Util.isUnset(request.templateCode)) {
2299
2860
  body["TemplateCode"] = request.templateCode;
2300
2861
  }
@@ -2307,6 +2868,14 @@ export default class Client extends OpenApi {
2307
2868
  body["To"] = request.to;
2308
2869
  }
2309
2870
 
2871
+ if (!Util.isUnset(request.trackingData)) {
2872
+ body["TrackingData"] = request.trackingData;
2873
+ }
2874
+
2875
+ if (!Util.isUnset(request.ttl)) {
2876
+ body["Ttl"] = request.ttl;
2877
+ }
2878
+
2310
2879
  if (!Util.isUnset(request.type)) {
2311
2880
  body["Type"] = request.type;
2312
2881
  }
@@ -2329,6 +2898,12 @@ export default class Client extends OpenApi {
2329
2898
  return $tea.cast<SendChatappMessageResponse>(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
2330
2899
  }
2331
2900
 
2901
+ /**
2902
+ * You can call this operation up to 200 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
2903
+ *
2904
+ * @param request SendChatappMessageRequest
2905
+ * @return SendChatappMessageResponse
2906
+ */
2332
2907
  async sendChatappMessage(request: SendChatappMessageRequest): Promise<SendChatappMessageResponse> {
2333
2908
  let runtime = new $Util.RuntimeOptions({ });
2334
2909
  return await this.sendChatappMessageWithOptions(request, runtime);