@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/dist/client.d.ts CHANGED
@@ -6,6 +6,7 @@ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
6
  import * as $tea from '@alicloud/tea-typescript';
7
7
  export declare class BeeBotAssociateRequest extends $tea.Model {
8
8
  chatBotInstanceId?: string;
9
+ custSpaceId?: string;
9
10
  isvCode?: string;
10
11
  perspective?: string[];
11
12
  recommendNum?: number;
@@ -23,6 +24,7 @@ export declare class BeeBotAssociateRequest extends $tea.Model {
23
24
  }
24
25
  export declare class BeeBotAssociateShrinkRequest extends $tea.Model {
25
26
  chatBotInstanceId?: string;
27
+ custSpaceId?: string;
26
28
  isvCode?: string;
27
29
  perspectiveShrink?: string;
28
30
  recommendNum?: number;
@@ -71,6 +73,7 @@ export declare class BeeBotAssociateResponse extends $tea.Model {
71
73
  }
72
74
  export declare class BeeBotChatRequest extends $tea.Model {
73
75
  chatBotInstanceId?: string;
76
+ custSpaceId?: string;
74
77
  intentName?: string;
75
78
  isvCode?: string;
76
79
  knowledgeId?: string;
@@ -94,6 +97,7 @@ export declare class BeeBotChatRequest extends $tea.Model {
94
97
  }
95
98
  export declare class BeeBotChatShrinkRequest extends $tea.Model {
96
99
  chatBotInstanceId?: string;
100
+ custSpaceId?: string;
97
101
  intentName?: string;
98
102
  isvCode?: string;
99
103
  knowledgeId?: string;
@@ -147,6 +151,7 @@ export declare class BeeBotChatResponse extends $tea.Model {
147
151
  export declare class CreateChatappTemplateRequest extends $tea.Model {
148
152
  category?: string;
149
153
  components?: CreateChatappTemplateRequestComponents[];
154
+ custSpaceId?: string;
150
155
  custWabaId?: string;
151
156
  example?: {
152
157
  [key: string]: string;
@@ -168,6 +173,7 @@ export declare class CreateChatappTemplateRequest extends $tea.Model {
168
173
  export declare class CreateChatappTemplateShrinkRequest extends $tea.Model {
169
174
  category?: string;
170
175
  componentsShrink?: string;
176
+ custSpaceId?: string;
171
177
  custWabaId?: string;
172
178
  exampleShrink?: string;
173
179
  isvCode?: string;
@@ -216,6 +222,7 @@ export declare class CreateChatappTemplateResponse extends $tea.Model {
216
222
  });
217
223
  }
218
224
  export declare class DeleteChatappTemplateRequest extends $tea.Model {
225
+ custSpaceId?: string;
219
226
  custWabaId?: string;
220
227
  isvCode?: string;
221
228
  templateCode?: string;
@@ -260,6 +267,7 @@ export declare class DeleteChatappTemplateResponse extends $tea.Model {
260
267
  });
261
268
  }
262
269
  export declare class GetChatappTemplateDetailRequest extends $tea.Model {
270
+ custSpaceId?: string;
263
271
  custWabaId?: string;
264
272
  isvCode?: string;
265
273
  language?: string;
@@ -307,6 +315,7 @@ export declare class GetChatappTemplateDetailResponse extends $tea.Model {
307
315
  }
308
316
  export declare class ListChatappTemplateRequest extends $tea.Model {
309
317
  auditStatus?: string;
318
+ custSpaceId?: string;
310
319
  custWabaId?: string;
311
320
  isvCode?: string;
312
321
  language?: string;
@@ -324,6 +333,7 @@ export declare class ListChatappTemplateRequest extends $tea.Model {
324
333
  }
325
334
  export declare class ListChatappTemplateShrinkRequest extends $tea.Model {
326
335
  auditStatus?: string;
336
+ custSpaceId?: string;
327
337
  custWabaId?: string;
328
338
  isvCode?: string;
329
339
  language?: string;
@@ -372,6 +382,7 @@ export declare class ListChatappTemplateResponse extends $tea.Model {
372
382
  }
373
383
  export declare class ModifyChatappTemplateRequest extends $tea.Model {
374
384
  components?: ModifyChatappTemplateRequestComponents[];
385
+ custSpaceId?: string;
375
386
  custWabaId?: string;
376
387
  example?: {
377
388
  [key: string]: string;
@@ -391,6 +402,7 @@ export declare class ModifyChatappTemplateRequest extends $tea.Model {
391
402
  }
392
403
  export declare class ModifyChatappTemplateShrinkRequest extends $tea.Model {
393
404
  componentsShrink?: string;
405
+ custSpaceId?: string;
394
406
  custWabaId?: string;
395
407
  exampleShrink?: string;
396
408
  isvCode?: string;
@@ -437,8 +449,97 @@ export declare class ModifyChatappTemplateResponse extends $tea.Model {
437
449
  [key: string]: any;
438
450
  });
439
451
  }
452
+ export declare class QueryChatappBindWabaRequest extends $tea.Model {
453
+ custSpaceId?: string;
454
+ isvCode?: string;
455
+ static names(): {
456
+ [key: string]: string;
457
+ };
458
+ static types(): {
459
+ [key: string]: any;
460
+ };
461
+ constructor(map?: {
462
+ [key: string]: any;
463
+ });
464
+ }
465
+ export declare class QueryChatappBindWabaResponseBody extends $tea.Model {
466
+ code?: string;
467
+ data?: QueryChatappBindWabaResponseBodyData;
468
+ message?: string;
469
+ requestId?: string;
470
+ static names(): {
471
+ [key: string]: string;
472
+ };
473
+ static types(): {
474
+ [key: string]: any;
475
+ };
476
+ constructor(map?: {
477
+ [key: string]: any;
478
+ });
479
+ }
480
+ export declare class QueryChatappBindWabaResponse extends $tea.Model {
481
+ headers: {
482
+ [key: string]: string;
483
+ };
484
+ statusCode: number;
485
+ body: QueryChatappBindWabaResponseBody;
486
+ static names(): {
487
+ [key: string]: string;
488
+ };
489
+ static types(): {
490
+ [key: string]: any;
491
+ };
492
+ constructor(map?: {
493
+ [key: string]: any;
494
+ });
495
+ }
496
+ export declare class QueryChatappPhoneNumbersRequest extends $tea.Model {
497
+ custSpaceId?: string;
498
+ isvCode?: string;
499
+ static names(): {
500
+ [key: string]: string;
501
+ };
502
+ static types(): {
503
+ [key: string]: any;
504
+ };
505
+ constructor(map?: {
506
+ [key: string]: any;
507
+ });
508
+ }
509
+ export declare class QueryChatappPhoneNumbersResponseBody extends $tea.Model {
510
+ code?: string;
511
+ message?: string;
512
+ phoneNumbers?: QueryChatappPhoneNumbersResponseBodyPhoneNumbers[];
513
+ requestId?: string;
514
+ static names(): {
515
+ [key: string]: string;
516
+ };
517
+ static types(): {
518
+ [key: string]: any;
519
+ };
520
+ constructor(map?: {
521
+ [key: string]: any;
522
+ });
523
+ }
524
+ export declare class QueryChatappPhoneNumbersResponse extends $tea.Model {
525
+ headers: {
526
+ [key: string]: string;
527
+ };
528
+ statusCode: number;
529
+ body: QueryChatappPhoneNumbersResponseBody;
530
+ static names(): {
531
+ [key: string]: string;
532
+ };
533
+ static types(): {
534
+ [key: string]: any;
535
+ };
536
+ constructor(map?: {
537
+ [key: string]: any;
538
+ });
539
+ }
440
540
  export declare class SendChatappMassMessageRequest extends $tea.Model {
441
541
  channelType?: string;
542
+ custSpaceId?: string;
442
543
  custWabaId?: string;
443
544
  fallBackContent?: string;
444
545
  fallBackId?: string;
@@ -460,6 +561,7 @@ export declare class SendChatappMassMessageRequest extends $tea.Model {
460
561
  }
461
562
  export declare class SendChatappMassMessageShrinkRequest extends $tea.Model {
462
563
  channelType?: string;
564
+ custSpaceId?: string;
463
565
  custWabaId?: string;
464
566
  fallBackContent?: string;
465
567
  fallBackId?: string;
@@ -513,19 +615,25 @@ export declare class SendChatappMassMessageResponse extends $tea.Model {
513
615
  export declare class SendChatappMessageRequest extends $tea.Model {
514
616
  channelType?: string;
515
617
  content?: string;
618
+ contextMessageId?: string;
619
+ custSpaceId?: string;
516
620
  custWabaId?: string;
517
621
  fallBackContent?: string;
518
622
  fallBackId?: string;
519
623
  from?: string;
520
624
  isvCode?: string;
625
+ label?: string;
521
626
  language?: string;
522
627
  messageType?: string;
523
628
  payload?: string[];
629
+ tag?: string;
524
630
  templateCode?: string;
525
631
  templateParams?: {
526
632
  [key: string]: string;
527
633
  };
528
634
  to?: string;
635
+ trackingData?: string;
636
+ ttl?: number;
529
637
  type?: string;
530
638
  static names(): {
531
639
  [key: string]: string;
@@ -540,17 +648,23 @@ export declare class SendChatappMessageRequest extends $tea.Model {
540
648
  export declare class SendChatappMessageShrinkRequest extends $tea.Model {
541
649
  channelType?: string;
542
650
  content?: string;
651
+ contextMessageId?: string;
652
+ custSpaceId?: string;
543
653
  custWabaId?: string;
544
654
  fallBackContent?: string;
545
655
  fallBackId?: string;
546
656
  from?: string;
547
657
  isvCode?: string;
658
+ label?: string;
548
659
  language?: string;
549
660
  messageType?: string;
550
661
  payloadShrink?: string;
662
+ tag?: string;
551
663
  templateCode?: string;
552
664
  templateParamsShrink?: string;
553
665
  to?: string;
666
+ trackingData?: string;
667
+ ttl?: number;
554
668
  type?: string;
555
669
  static names(): {
556
670
  [key: string]: string;
@@ -917,6 +1031,45 @@ export declare class ModifyChatappTemplateResponseBodyData extends $tea.Model {
917
1031
  [key: string]: any;
918
1032
  });
919
1033
  }
1034
+ export declare class QueryChatappBindWabaResponseBodyData extends $tea.Model {
1035
+ accountReviewStatus?: string;
1036
+ currency?: string;
1037
+ id?: string;
1038
+ messageTemplateNamespace?: string;
1039
+ name?: string;
1040
+ static names(): {
1041
+ [key: string]: string;
1042
+ };
1043
+ static types(): {
1044
+ [key: string]: any;
1045
+ };
1046
+ constructor(map?: {
1047
+ [key: string]: any;
1048
+ });
1049
+ }
1050
+ export declare class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
1051
+ codeVerificationStatus?: string;
1052
+ messagingLimitTier?: string;
1053
+ nameStatus?: string;
1054
+ newNameStatus?: string;
1055
+ phoneNumber?: string;
1056
+ qualityRating?: string;
1057
+ status?: string;
1058
+ statusCallbackUrl?: string;
1059
+ statusQueue?: string;
1060
+ upCallbackUrl?: string;
1061
+ upQueue?: string;
1062
+ verifiedName?: string;
1063
+ static names(): {
1064
+ [key: string]: string;
1065
+ };
1066
+ static types(): {
1067
+ [key: string]: any;
1068
+ };
1069
+ constructor(map?: {
1070
+ [key: string]: any;
1071
+ });
1072
+ }
920
1073
  export declare class SendChatappMassMessageRequestSenderList extends $tea.Model {
921
1074
  payload?: string[];
922
1075
  templateParams?: {
@@ -938,22 +1091,166 @@ export default class Client extends OpenApi {
938
1091
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
939
1092
  [key: string]: string;
940
1093
  }, endpoint: string): string;
1094
+ /**
1095
+ * 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.
1096
+ *
1097
+ * @param tmpReq BeeBotAssociateRequest
1098
+ * @param runtime runtime options for this request RuntimeOptions
1099
+ * @return BeeBotAssociateResponse
1100
+ */
941
1101
  beeBotAssociateWithOptions(tmpReq: BeeBotAssociateRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotAssociateResponse>;
1102
+ /**
1103
+ * 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.
1104
+ *
1105
+ * @param request BeeBotAssociateRequest
1106
+ * @return BeeBotAssociateResponse
1107
+ */
942
1108
  beeBotAssociate(request: BeeBotAssociateRequest): Promise<BeeBotAssociateResponse>;
1109
+ /**
1110
+ * 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.
1111
+ *
1112
+ * @param tmpReq BeeBotChatRequest
1113
+ * @param runtime runtime options for this request RuntimeOptions
1114
+ * @return BeeBotChatResponse
1115
+ */
943
1116
  beeBotChatWithOptions(tmpReq: BeeBotChatRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotChatResponse>;
1117
+ /**
1118
+ * 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.
1119
+ *
1120
+ * @param request BeeBotChatRequest
1121
+ * @return BeeBotChatResponse
1122
+ */
944
1123
  beeBotChat(request: BeeBotChatRequest): Promise<BeeBotChatResponse>;
1124
+ /**
1125
+ * ### QPS limit
1126
+ * 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.
1127
+ *
1128
+ * @param tmpReq CreateChatappTemplateRequest
1129
+ * @param runtime runtime options for this request RuntimeOptions
1130
+ * @return CreateChatappTemplateResponse
1131
+ */
945
1132
  createChatappTemplateWithOptions(tmpReq: CreateChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappTemplateResponse>;
1133
+ /**
1134
+ * ### QPS limit
1135
+ * 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.
1136
+ *
1137
+ * @param request CreateChatappTemplateRequest
1138
+ * @return CreateChatappTemplateResponse
1139
+ */
946
1140
  createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse>;
1141
+ /**
1142
+ * ### QPS limit
1143
+ * 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.
1144
+ *
1145
+ * @param request DeleteChatappTemplateRequest
1146
+ * @param runtime runtime options for this request RuntimeOptions
1147
+ * @return DeleteChatappTemplateResponse
1148
+ */
947
1149
  deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse>;
1150
+ /**
1151
+ * ### QPS limit
1152
+ * 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.
1153
+ *
1154
+ * @param request DeleteChatappTemplateRequest
1155
+ * @return DeleteChatappTemplateResponse
1156
+ */
948
1157
  deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse>;
1158
+ /**
1159
+ * ### QPS limit
1160
+ * 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.
1161
+ *
1162
+ * @param request GetChatappTemplateDetailRequest
1163
+ * @param runtime runtime options for this request RuntimeOptions
1164
+ * @return GetChatappTemplateDetailResponse
1165
+ */
949
1166
  getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse>;
1167
+ /**
1168
+ * ### QPS limit
1169
+ * 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.
1170
+ *
1171
+ * @param request GetChatappTemplateDetailRequest
1172
+ * @return GetChatappTemplateDetailResponse
1173
+ */
950
1174
  getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse>;
1175
+ /**
1176
+ * ### QPS limit
1177
+ * 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.
1178
+ *
1179
+ * @param tmpReq ListChatappTemplateRequest
1180
+ * @param runtime runtime options for this request RuntimeOptions
1181
+ * @return ListChatappTemplateResponse
1182
+ */
951
1183
  listChatappTemplateWithOptions(tmpReq: ListChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ListChatappTemplateResponse>;
1184
+ /**
1185
+ * ### QPS limit
1186
+ * 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.
1187
+ *
1188
+ * @param request ListChatappTemplateRequest
1189
+ * @return ListChatappTemplateResponse
1190
+ */
952
1191
  listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse>;
953
1192
  modifyChatappTemplateWithOptions(tmpReq: ModifyChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyChatappTemplateResponse>;
954
1193
  modifyChatappTemplate(request: ModifyChatappTemplateRequest): Promise<ModifyChatappTemplateResponse>;
1194
+ /**
1195
+ * 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.
1196
+ *
1197
+ * @param request QueryChatappBindWabaRequest
1198
+ * @param runtime runtime options for this request RuntimeOptions
1199
+ * @return QueryChatappBindWabaResponse
1200
+ */
1201
+ queryChatappBindWabaWithOptions(request: QueryChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappBindWabaResponse>;
1202
+ /**
1203
+ * 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.
1204
+ *
1205
+ * @param request QueryChatappBindWabaRequest
1206
+ * @return QueryChatappBindWabaResponse
1207
+ */
1208
+ queryChatappBindWaba(request: QueryChatappBindWabaRequest): Promise<QueryChatappBindWabaResponse>;
1209
+ /**
1210
+ * 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.
1211
+ *
1212
+ * @param request QueryChatappPhoneNumbersRequest
1213
+ * @param runtime runtime options for this request RuntimeOptions
1214
+ * @return QueryChatappPhoneNumbersResponse
1215
+ */
1216
+ queryChatappPhoneNumbersWithOptions(request: QueryChatappPhoneNumbersRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappPhoneNumbersResponse>;
1217
+ /**
1218
+ * 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.
1219
+ *
1220
+ * @param request QueryChatappPhoneNumbersRequest
1221
+ * @return QueryChatappPhoneNumbersResponse
1222
+ */
1223
+ queryChatappPhoneNumbers(request: QueryChatappPhoneNumbersRequest): Promise<QueryChatappPhoneNumbersResponse>;
1224
+ /**
1225
+ * 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.
1226
+ * Can support up to 1,000 numbers per request.
1227
+ *
1228
+ * @param tmpReq SendChatappMassMessageRequest
1229
+ * @param runtime runtime options for this request RuntimeOptions
1230
+ * @return SendChatappMassMessageResponse
1231
+ */
955
1232
  sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse>;
1233
+ /**
1234
+ * 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.
1235
+ * Can support up to 1,000 numbers per request.
1236
+ *
1237
+ * @param request SendChatappMassMessageRequest
1238
+ * @return SendChatappMassMessageResponse
1239
+ */
956
1240
  sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse>;
1241
+ /**
1242
+ * 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.
1243
+ *
1244
+ * @param tmpReq SendChatappMessageRequest
1245
+ * @param runtime runtime options for this request RuntimeOptions
1246
+ * @return SendChatappMessageResponse
1247
+ */
957
1248
  sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse>;
1249
+ /**
1250
+ * 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.
1251
+ *
1252
+ * @param request SendChatappMessageRequest
1253
+ * @return SendChatappMessageResponse
1254
+ */
958
1255
  sendChatappMessage(request: SendChatappMessageRequest): Promise<SendChatappMessageResponse>;
959
1256
  }