@alicloud/cams20200606 1.0.13 → 1.0.14
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 +143 -0
- package/dist/client.js +293 -0
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +373 -0
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,6 +615,7 @@ 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
|
+
custSpaceId?: string;
|
|
516
619
|
custWabaId?: string;
|
|
517
620
|
fallBackContent?: string;
|
|
518
621
|
fallBackId?: string;
|
|
@@ -540,6 +643,7 @@ export declare class SendChatappMessageRequest extends $tea.Model {
|
|
|
540
643
|
export declare class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
541
644
|
channelType?: string;
|
|
542
645
|
content?: string;
|
|
646
|
+
custSpaceId?: string;
|
|
543
647
|
custWabaId?: string;
|
|
544
648
|
fallBackContent?: string;
|
|
545
649
|
fallBackId?: string;
|
|
@@ -917,6 +1021,41 @@ export declare class ModifyChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
917
1021
|
[key: string]: any;
|
|
918
1022
|
});
|
|
919
1023
|
}
|
|
1024
|
+
export declare class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
1025
|
+
accountReviewStatus?: string;
|
|
1026
|
+
currency?: string;
|
|
1027
|
+
id?: string;
|
|
1028
|
+
messageTemplateNamespace?: string;
|
|
1029
|
+
name?: string;
|
|
1030
|
+
static names(): {
|
|
1031
|
+
[key: string]: string;
|
|
1032
|
+
};
|
|
1033
|
+
static types(): {
|
|
1034
|
+
[key: string]: any;
|
|
1035
|
+
};
|
|
1036
|
+
constructor(map?: {
|
|
1037
|
+
[key: string]: any;
|
|
1038
|
+
});
|
|
1039
|
+
}
|
|
1040
|
+
export declare class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
|
|
1041
|
+
phoneNumber?: string;
|
|
1042
|
+
qualityRating?: string;
|
|
1043
|
+
status?: string;
|
|
1044
|
+
statusCallbackUrl?: string;
|
|
1045
|
+
statusQueue?: string;
|
|
1046
|
+
upCallbackUrl?: string;
|
|
1047
|
+
upQueue?: string;
|
|
1048
|
+
verifiedName?: string;
|
|
1049
|
+
static names(): {
|
|
1050
|
+
[key: string]: string;
|
|
1051
|
+
};
|
|
1052
|
+
static types(): {
|
|
1053
|
+
[key: string]: any;
|
|
1054
|
+
};
|
|
1055
|
+
constructor(map?: {
|
|
1056
|
+
[key: string]: any;
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
920
1059
|
export declare class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
921
1060
|
payload?: string[];
|
|
922
1061
|
templateParams?: {
|
|
@@ -952,6 +1091,10 @@ export default class Client extends OpenApi {
|
|
|
952
1091
|
listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse>;
|
|
953
1092
|
modifyChatappTemplateWithOptions(tmpReq: ModifyChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyChatappTemplateResponse>;
|
|
954
1093
|
modifyChatappTemplate(request: ModifyChatappTemplateRequest): Promise<ModifyChatappTemplateResponse>;
|
|
1094
|
+
queryChatappBindWabaWithOptions(request: QueryChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappBindWabaResponse>;
|
|
1095
|
+
queryChatappBindWaba(request: QueryChatappBindWabaRequest): Promise<QueryChatappBindWabaResponse>;
|
|
1096
|
+
queryChatappPhoneNumbersWithOptions(request: QueryChatappPhoneNumbersRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappPhoneNumbersResponse>;
|
|
1097
|
+
queryChatappPhoneNumbers(request: QueryChatappPhoneNumbersRequest): Promise<QueryChatappPhoneNumbersResponse>;
|
|
955
1098
|
sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse>;
|
|
956
1099
|
sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse>;
|
|
957
1100
|
sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse>;
|