@alicloud/cams20200606 1.0.10 → 1.0.12

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
@@ -4,11 +4,13 @@
4
4
  import * as $Util from '@alicloud/tea-util';
5
5
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
6
  import * as $tea from '@alicloud/tea-typescript';
7
- export declare class CheckChatappContactsRequest extends $tea.Model {
8
- channelType?: string;
9
- contacts?: string[];
10
- custWabaId?: string;
11
- from?: string;
7
+ export declare class BeeBotAssociateRequest extends $tea.Model {
8
+ chatBotInstnaceId?: string;
9
+ isvCode?: string;
10
+ perspective?: string[];
11
+ recommendNum?: number;
12
+ sessionId?: string;
13
+ utterance?: string;
12
14
  static names(): {
13
15
  [key: string]: string;
14
16
  };
@@ -19,11 +21,67 @@ export declare class CheckChatappContactsRequest extends $tea.Model {
19
21
  [key: string]: any;
20
22
  });
21
23
  }
22
- export declare class CheckChatappContactsShrinkRequest extends $tea.Model {
23
- channelType?: string;
24
- contactsShrink?: string;
25
- custWabaId?: string;
26
- from?: string;
24
+ export declare class BeeBotAssociateShrinkRequest extends $tea.Model {
25
+ chatBotInstnaceId?: string;
26
+ isvCode?: string;
27
+ perspectiveShrink?: string;
28
+ recommendNum?: number;
29
+ sessionId?: string;
30
+ utterance?: string;
31
+ static names(): {
32
+ [key: string]: string;
33
+ };
34
+ static types(): {
35
+ [key: string]: any;
36
+ };
37
+ constructor(map?: {
38
+ [key: string]: any;
39
+ });
40
+ }
41
+ export declare class BeeBotAssociateResponseBody extends $tea.Model {
42
+ code?: string;
43
+ data?: BeeBotAssociateResponseBodyData;
44
+ message?: string;
45
+ requestId?: string;
46
+ static names(): {
47
+ [key: string]: string;
48
+ };
49
+ static types(): {
50
+ [key: string]: any;
51
+ };
52
+ constructor(map?: {
53
+ [key: string]: any;
54
+ });
55
+ }
56
+ export declare class BeeBotAssociateResponse extends $tea.Model {
57
+ headers: {
58
+ [key: string]: string;
59
+ };
60
+ statusCode: number;
61
+ body: BeeBotAssociateResponseBody;
62
+ static names(): {
63
+ [key: string]: string;
64
+ };
65
+ static types(): {
66
+ [key: string]: any;
67
+ };
68
+ constructor(map?: {
69
+ [key: string]: any;
70
+ });
71
+ }
72
+ export declare class BeeBotChatRequest extends $tea.Model {
73
+ chatBotInstnaceId?: string;
74
+ intentName?: string;
75
+ isvCode?: string;
76
+ knowledgeId?: string;
77
+ perspective?: string[];
78
+ senderId?: string;
79
+ senderNick?: string;
80
+ sessionId?: string;
81
+ utterance?: string;
82
+ vendorParam?: {
83
+ [key: string]: any;
84
+ };
27
85
  static names(): {
28
86
  [key: string]: string;
29
87
  };
@@ -34,9 +92,30 @@ export declare class CheckChatappContactsShrinkRequest extends $tea.Model {
34
92
  [key: string]: any;
35
93
  });
36
94
  }
37
- export declare class CheckChatappContactsResponseBody extends $tea.Model {
95
+ export declare class BeeBotChatShrinkRequest extends $tea.Model {
96
+ chatBotInstnaceId?: string;
97
+ intentName?: string;
98
+ isvCode?: string;
99
+ knowledgeId?: string;
100
+ perspectiveShrink?: string;
101
+ senderId?: string;
102
+ senderNick?: string;
103
+ sessionId?: string;
104
+ utterance?: string;
105
+ vendorParamShrink?: string;
106
+ static names(): {
107
+ [key: string]: string;
108
+ };
109
+ static types(): {
110
+ [key: string]: any;
111
+ };
112
+ constructor(map?: {
113
+ [key: string]: any;
114
+ });
115
+ }
116
+ export declare class BeeBotChatResponseBody extends $tea.Model {
38
117
  code?: string;
39
- data?: CheckChatappContactsResponseBodyData[];
118
+ data?: BeeBotChatResponseBodyData;
40
119
  message?: string;
41
120
  requestId?: string;
42
121
  static names(): {
@@ -49,12 +128,12 @@ export declare class CheckChatappContactsResponseBody extends $tea.Model {
49
128
  [key: string]: any;
50
129
  });
51
130
  }
52
- export declare class CheckChatappContactsResponse extends $tea.Model {
131
+ export declare class BeeBotChatResponse extends $tea.Model {
53
132
  headers: {
54
133
  [key: string]: string;
55
134
  };
56
135
  statusCode: number;
57
- body: CheckChatappContactsResponseBody;
136
+ body: BeeBotChatResponseBody;
58
137
  static names(): {
59
138
  [key: string]: string;
60
139
  };
@@ -72,6 +151,7 @@ export declare class CreateChatappTemplateRequest extends $tea.Model {
72
151
  example?: {
73
152
  [key: string]: string;
74
153
  };
154
+ isvCode?: string;
75
155
  language?: string;
76
156
  name?: string;
77
157
  templateType?: string;
@@ -90,6 +170,7 @@ export declare class CreateChatappTemplateShrinkRequest extends $tea.Model {
90
170
  componentsShrink?: string;
91
171
  custWabaId?: string;
92
172
  exampleShrink?: string;
173
+ isvCode?: string;
93
174
  language?: string;
94
175
  name?: string;
95
176
  templateType?: string;
@@ -136,6 +217,7 @@ export declare class CreateChatappTemplateResponse extends $tea.Model {
136
217
  }
137
218
  export declare class DeleteChatappTemplateRequest extends $tea.Model {
138
219
  custWabaId?: string;
220
+ isvCode?: string;
139
221
  templateCode?: string;
140
222
  static names(): {
141
223
  [key: string]: string;
@@ -179,6 +261,7 @@ export declare class DeleteChatappTemplateResponse extends $tea.Model {
179
261
  }
180
262
  export declare class GetChatappTemplateDetailRequest extends $tea.Model {
181
263
  custWabaId?: string;
264
+ isvCode?: string;
182
265
  language?: string;
183
266
  templateCode?: string;
184
267
  static names(): {
@@ -225,6 +308,7 @@ export declare class GetChatappTemplateDetailResponse extends $tea.Model {
225
308
  export declare class ListChatappTemplateRequest extends $tea.Model {
226
309
  auditStatus?: string;
227
310
  custWabaId?: string;
311
+ isvCode?: string;
228
312
  language?: string;
229
313
  name?: string;
230
314
  page?: ListChatappTemplateRequestPage;
@@ -241,6 +325,7 @@ export declare class ListChatappTemplateRequest extends $tea.Model {
241
325
  export declare class ListChatappTemplateShrinkRequest extends $tea.Model {
242
326
  auditStatus?: string;
243
327
  custWabaId?: string;
328
+ isvCode?: string;
244
329
  language?: string;
245
330
  name?: string;
246
331
  pageShrink?: string;
@@ -285,12 +370,80 @@ export declare class ListChatappTemplateResponse extends $tea.Model {
285
370
  [key: string]: any;
286
371
  });
287
372
  }
373
+ export declare class ModifyChatappTemplateRequest extends $tea.Model {
374
+ components?: ModifyChatappTemplateRequestComponents[];
375
+ custWabaId?: string;
376
+ example?: {
377
+ [key: string]: string;
378
+ };
379
+ isvCode?: string;
380
+ language?: string;
381
+ templateCode?: string;
382
+ static names(): {
383
+ [key: string]: string;
384
+ };
385
+ static types(): {
386
+ [key: string]: any;
387
+ };
388
+ constructor(map?: {
389
+ [key: string]: any;
390
+ });
391
+ }
392
+ export declare class ModifyChatappTemplateShrinkRequest extends $tea.Model {
393
+ componentsShrink?: string;
394
+ custWabaId?: string;
395
+ exampleShrink?: string;
396
+ isvCode?: string;
397
+ language?: string;
398
+ templateCode?: string;
399
+ static names(): {
400
+ [key: string]: string;
401
+ };
402
+ static types(): {
403
+ [key: string]: any;
404
+ };
405
+ constructor(map?: {
406
+ [key: string]: any;
407
+ });
408
+ }
409
+ export declare class ModifyChatappTemplateResponseBody extends $tea.Model {
410
+ code?: string;
411
+ data?: ModifyChatappTemplateResponseBodyData;
412
+ message?: string;
413
+ requestId?: string;
414
+ static names(): {
415
+ [key: string]: string;
416
+ };
417
+ static types(): {
418
+ [key: string]: any;
419
+ };
420
+ constructor(map?: {
421
+ [key: string]: any;
422
+ });
423
+ }
424
+ export declare class ModifyChatappTemplateResponse extends $tea.Model {
425
+ headers: {
426
+ [key: string]: string;
427
+ };
428
+ statusCode: number;
429
+ body: ModifyChatappTemplateResponseBody;
430
+ static names(): {
431
+ [key: string]: string;
432
+ };
433
+ static types(): {
434
+ [key: string]: any;
435
+ };
436
+ constructor(map?: {
437
+ [key: string]: any;
438
+ });
439
+ }
288
440
  export declare class SendChatappMassMessageRequest extends $tea.Model {
289
441
  channelType?: string;
290
442
  custWabaId?: string;
291
443
  fallBackContent?: string;
292
444
  fallBackId?: string;
293
445
  from?: string;
446
+ isvCode?: string;
294
447
  language?: string;
295
448
  senderList?: SendChatappMassMessageRequestSenderList[];
296
449
  taskId?: string;
@@ -311,6 +464,7 @@ export declare class SendChatappMassMessageShrinkRequest extends $tea.Model {
311
464
  fallBackContent?: string;
312
465
  fallBackId?: string;
313
466
  from?: string;
467
+ isvCode?: string;
314
468
  language?: string;
315
469
  senderListShrink?: string;
316
470
  taskId?: string;
@@ -363,6 +517,7 @@ export declare class SendChatappMessageRequest extends $tea.Model {
363
517
  fallBackContent?: string;
364
518
  fallBackId?: string;
365
519
  from?: string;
520
+ isvCode?: string;
366
521
  language?: string;
367
522
  messageType?: string;
368
523
  payload?: string[];
@@ -389,6 +544,7 @@ export declare class SendChatappMessageShrinkRequest extends $tea.Model {
389
544
  fallBackContent?: string;
390
545
  fallBackId?: string;
391
546
  from?: string;
547
+ isvCode?: string;
392
548
  language?: string;
393
549
  messageType?: string;
394
550
  payloadShrink?: string;
@@ -437,9 +593,143 @@ export declare class SendChatappMessageResponse extends $tea.Model {
437
593
  [key: string]: any;
438
594
  });
439
595
  }
440
- export declare class CheckChatappContactsResponseBodyData extends $tea.Model {
441
- phoneNumber?: string;
442
- status?: string;
596
+ export declare class BeeBotAssociateResponseBodyDataAssociate extends $tea.Model {
597
+ meta?: string;
598
+ title?: string;
599
+ static names(): {
600
+ [key: string]: string;
601
+ };
602
+ static types(): {
603
+ [key: string]: any;
604
+ };
605
+ constructor(map?: {
606
+ [key: string]: any;
607
+ });
608
+ }
609
+ export declare class BeeBotAssociateResponseBodyData extends $tea.Model {
610
+ associate?: BeeBotAssociateResponseBodyDataAssociate[];
611
+ messageId?: string;
612
+ sessionId?: string;
613
+ static names(): {
614
+ [key: string]: string;
615
+ };
616
+ static types(): {
617
+ [key: string]: any;
618
+ };
619
+ constructor(map?: {
620
+ [key: string]: any;
621
+ });
622
+ }
623
+ export declare class BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges extends $tea.Model {
624
+ knowledgeId?: string;
625
+ title?: string;
626
+ static names(): {
627
+ [key: string]: string;
628
+ };
629
+ static types(): {
630
+ [key: string]: any;
631
+ };
632
+ constructor(map?: {
633
+ [key: string]: any;
634
+ });
635
+ }
636
+ export declare class BeeBotChatResponseBodyDataMessagesKnowledge extends $tea.Model {
637
+ answerSource?: string;
638
+ category?: string;
639
+ content?: string;
640
+ contentType?: string;
641
+ hitStatement?: string;
642
+ id?: string;
643
+ relatedKnowledges?: BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges[];
644
+ summary?: string;
645
+ title?: string;
646
+ static names(): {
647
+ [key: string]: string;
648
+ };
649
+ static types(): {
650
+ [key: string]: any;
651
+ };
652
+ constructor(map?: {
653
+ [key: string]: any;
654
+ });
655
+ }
656
+ export declare class BeeBotChatResponseBodyDataMessagesRecommends extends $tea.Model {
657
+ answerSource?: string;
658
+ knowledgeId?: string;
659
+ title?: string;
660
+ static names(): {
661
+ [key: string]: string;
662
+ };
663
+ static types(): {
664
+ [key: string]: any;
665
+ };
666
+ constructor(map?: {
667
+ [key: string]: any;
668
+ });
669
+ }
670
+ export declare class BeeBotChatResponseBodyDataMessagesTextSlots extends $tea.Model {
671
+ hit?: boolean;
672
+ name?: string;
673
+ origin?: string;
674
+ value?: string;
675
+ static names(): {
676
+ [key: string]: string;
677
+ };
678
+ static types(): {
679
+ [key: string]: any;
680
+ };
681
+ constructor(map?: {
682
+ [key: string]: any;
683
+ });
684
+ }
685
+ export declare class BeeBotChatResponseBodyDataMessagesText extends $tea.Model {
686
+ answerSource?: string;
687
+ content?: string;
688
+ contentType?: string;
689
+ dialogName?: string;
690
+ ext?: {
691
+ [key: string]: any;
692
+ };
693
+ externalFlags?: {
694
+ [key: string]: any;
695
+ };
696
+ hitStatement?: string;
697
+ intentName?: string;
698
+ metaData?: string;
699
+ nodeId?: string;
700
+ nodeName?: string;
701
+ slots?: BeeBotChatResponseBodyDataMessagesTextSlots[];
702
+ userDefinedChatTitle?: string;
703
+ static names(): {
704
+ [key: string]: string;
705
+ };
706
+ static types(): {
707
+ [key: string]: any;
708
+ };
709
+ constructor(map?: {
710
+ [key: string]: any;
711
+ });
712
+ }
713
+ export declare class BeeBotChatResponseBodyDataMessages extends $tea.Model {
714
+ answerSource?: string;
715
+ answerType?: string;
716
+ knowledge?: BeeBotChatResponseBodyDataMessagesKnowledge;
717
+ recommends?: BeeBotChatResponseBodyDataMessagesRecommends[];
718
+ text?: BeeBotChatResponseBodyDataMessagesText;
719
+ static names(): {
720
+ [key: string]: string;
721
+ };
722
+ static types(): {
723
+ [key: string]: any;
724
+ };
725
+ constructor(map?: {
726
+ [key: string]: any;
727
+ });
728
+ }
729
+ export declare class BeeBotChatResponseBodyData extends $tea.Model {
730
+ messageId?: string;
731
+ messages?: BeeBotChatResponseBodyDataMessages[];
732
+ sessionId?: string;
443
733
  static names(): {
444
734
  [key: string]: string;
445
735
  };
@@ -580,6 +870,53 @@ export declare class ListChatappTemplateResponseBodyListTemplate extends $tea.Mo
580
870
  [key: string]: any;
581
871
  });
582
872
  }
873
+ export declare class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
874
+ phoneNumber?: string;
875
+ text?: string;
876
+ type?: string;
877
+ url?: string;
878
+ urlType?: string;
879
+ static names(): {
880
+ [key: string]: string;
881
+ };
882
+ static types(): {
883
+ [key: string]: any;
884
+ };
885
+ constructor(map?: {
886
+ [key: string]: any;
887
+ });
888
+ }
889
+ export declare class ModifyChatappTemplateRequestComponents extends $tea.Model {
890
+ buttons?: ModifyChatappTemplateRequestComponentsButtons[];
891
+ caption?: string;
892
+ fileName?: string;
893
+ format?: string;
894
+ text?: string;
895
+ type?: string;
896
+ url?: string;
897
+ static names(): {
898
+ [key: string]: string;
899
+ };
900
+ static types(): {
901
+ [key: string]: any;
902
+ };
903
+ constructor(map?: {
904
+ [key: string]: any;
905
+ });
906
+ }
907
+ export declare class ModifyChatappTemplateResponseBodyData extends $tea.Model {
908
+ templateCode?: string;
909
+ templateName?: string;
910
+ static names(): {
911
+ [key: string]: string;
912
+ };
913
+ static types(): {
914
+ [key: string]: any;
915
+ };
916
+ constructor(map?: {
917
+ [key: string]: any;
918
+ });
919
+ }
583
920
  export declare class SendChatappMassMessageRequestSenderList extends $tea.Model {
584
921
  payload?: string[];
585
922
  templateParams?: {
@@ -601,8 +938,10 @@ export default class Client extends OpenApi {
601
938
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
602
939
  [key: string]: string;
603
940
  }, endpoint: string): string;
604
- checkChatappContactsWithOptions(tmpReq: CheckChatappContactsRequest, runtime: $Util.RuntimeOptions): Promise<CheckChatappContactsResponse>;
605
- checkChatappContacts(request: CheckChatappContactsRequest): Promise<CheckChatappContactsResponse>;
941
+ beeBotAssociateWithOptions(tmpReq: BeeBotAssociateRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotAssociateResponse>;
942
+ beeBotAssociate(request: BeeBotAssociateRequest): Promise<BeeBotAssociateResponse>;
943
+ beeBotChatWithOptions(tmpReq: BeeBotChatRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotChatResponse>;
944
+ beeBotChat(request: BeeBotChatRequest): Promise<BeeBotChatResponse>;
606
945
  createChatappTemplateWithOptions(tmpReq: CreateChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappTemplateResponse>;
607
946
  createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse>;
608
947
  deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse>;
@@ -611,6 +950,8 @@ export default class Client extends OpenApi {
611
950
  getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse>;
612
951
  listChatappTemplateWithOptions(tmpReq: ListChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ListChatappTemplateResponse>;
613
952
  listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse>;
953
+ modifyChatappTemplateWithOptions(tmpReq: ModifyChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyChatappTemplateResponse>;
954
+ modifyChatappTemplate(request: ModifyChatappTemplateRequest): Promise<ModifyChatappTemplateResponse>;
614
955
  sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse>;
615
956
  sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse>;
616
957
  sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse>;