@alicloud/ccc20200701 2.31.0 → 2.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -1654,6 +1654,28 @@ export declare class CreateCampaignRequestCaseList extends $dara.Model {
1654
1654
  [key: string]: any;
1655
1655
  });
1656
1656
  }
1657
+ export declare class CreateChatMediaUrlResponseBodyData extends $dara.Model {
1658
+ /**
1659
+ * @example
1660
+ * $iAHNCNQCo21wMwMGBAAFAAbaACOEAaQhIH6TAqogDGyb-qD2Hbj0A88AAAGRLKYVnwTOACwwYwcACM8AAAGRLRPynQ
1661
+ */
1662
+ mediaId?: string;
1663
+ /**
1664
+ * @example
1665
+ * https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****
1666
+ */
1667
+ url?: string;
1668
+ static names(): {
1669
+ [key: string]: string;
1670
+ };
1671
+ static types(): {
1672
+ [key: string]: any;
1673
+ };
1674
+ validate(): void;
1675
+ constructor(map?: {
1676
+ [key: string]: any;
1677
+ });
1678
+ }
1657
1679
  export declare class CreateCustomCallTaggingResponseBodyData extends $dara.Model {
1658
1680
  /**
1659
1681
  * @example
@@ -13721,6 +13743,7 @@ export declare class ListRealtimeAgentStatesResponseBodyDataList extends $dara.M
13721
13743
  */
13722
13744
  agentId?: string;
13723
13745
  agentName?: string;
13746
+ breakCode?: string;
13724
13747
  /**
13725
13748
  * @example
13726
13749
  * Outbound
@@ -15470,6 +15493,63 @@ export declare class ListUsersResponseBodyData extends $dara.Model {
15470
15493
  [key: string]: any;
15471
15494
  });
15472
15495
  }
15496
+ export declare class ListVisitorChatMessagesResponseBodyDataMessages extends $dara.Model {
15497
+ content?: string;
15498
+ /**
15499
+ * @example
15500
+ * chat-65382141036853491
15501
+ */
15502
+ jobId?: string;
15503
+ /**
15504
+ * @example
15505
+ * http://xxxxx.com/avatar.png
15506
+ */
15507
+ senderAvatarUrl?: string;
15508
+ /**
15509
+ * @example
15510
+ * fcd020fe-****-1a272a174a7d
15511
+ */
15512
+ senderId?: string;
15513
+ senderName?: string;
15514
+ /**
15515
+ * @example
15516
+ * CUSTOMER
15517
+ */
15518
+ senderType?: string;
15519
+ /**
15520
+ * @example
15521
+ * 1696126980371
15522
+ */
15523
+ timestamp?: number;
15524
+ static names(): {
15525
+ [key: string]: string;
15526
+ };
15527
+ static types(): {
15528
+ [key: string]: any;
15529
+ };
15530
+ validate(): void;
15531
+ constructor(map?: {
15532
+ [key: string]: any;
15533
+ });
15534
+ }
15535
+ export declare class ListVisitorChatMessagesResponseBodyData extends $dara.Model {
15536
+ messages?: ListVisitorChatMessagesResponseBodyDataMessages[];
15537
+ /**
15538
+ * @example
15539
+ * 1737193352340::7463707254.EAUNIT
15540
+ */
15541
+ nextPageToken?: string;
15542
+ static names(): {
15543
+ [key: string]: string;
15544
+ };
15545
+ static types(): {
15546
+ [key: string]: any;
15547
+ };
15548
+ validate(): void;
15549
+ constructor(map?: {
15550
+ [key: string]: any;
15551
+ });
15552
+ }
15473
15553
  export declare class ListVoicemailsResponseBodyDataList extends $dara.Model {
15474
15554
  /**
15475
15555
  * @example
@@ -15706,6 +15786,7 @@ export declare class MakeCallResponseBodyDataCallContext extends $dara.Model {
15706
15786
  * OUTBOUND
15707
15787
  */
15708
15788
  callType?: string;
15789
+ callVariables?: string;
15709
15790
  channelContexts?: MakeCallResponseBodyDataCallContextChannelContexts[];
15710
15791
  /**
15711
15792
  * @example
@@ -21779,6 +21860,88 @@ export declare class CreateCampaignResponse extends $dara.Model {
21779
21860
  [key: string]: any;
21780
21861
  });
21781
21862
  }
21863
+ export declare class CreateChatMediaUrlRequest extends $dara.Model {
21864
+ /**
21865
+ * @remarks
21866
+ * This parameter is required.
21867
+ *
21868
+ * @example
21869
+ * 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
21870
+ */
21871
+ instanceId?: string;
21872
+ /**
21873
+ * @remarks
21874
+ * media id
21875
+ *
21876
+ * This parameter is required.
21877
+ *
21878
+ * @example
21879
+ * jpg
21880
+ */
21881
+ mimeType?: string;
21882
+ /**
21883
+ * @example
21884
+ * 9F766284-F103-4298-8EC5-19F9F9BE5522
21885
+ */
21886
+ requestId?: string;
21887
+ static names(): {
21888
+ [key: string]: string;
21889
+ };
21890
+ static types(): {
21891
+ [key: string]: any;
21892
+ };
21893
+ validate(): void;
21894
+ constructor(map?: {
21895
+ [key: string]: any;
21896
+ });
21897
+ }
21898
+ export declare class CreateChatMediaUrlResponseBody extends $dara.Model {
21899
+ /**
21900
+ * @example
21901
+ * OK
21902
+ */
21903
+ code?: string;
21904
+ data?: CreateChatMediaUrlResponseBodyData;
21905
+ /**
21906
+ * @example
21907
+ * 200
21908
+ */
21909
+ httpStatusCode?: number;
21910
+ message?: string;
21911
+ params?: string[];
21912
+ /**
21913
+ * @example
21914
+ * 03C67DAD-EB26-41D8-949D-9B0C470FB716
21915
+ */
21916
+ requestId?: string;
21917
+ static names(): {
21918
+ [key: string]: string;
21919
+ };
21920
+ static types(): {
21921
+ [key: string]: any;
21922
+ };
21923
+ validate(): void;
21924
+ constructor(map?: {
21925
+ [key: string]: any;
21926
+ });
21927
+ }
21928
+ export declare class CreateChatMediaUrlResponse extends $dara.Model {
21929
+ headers?: {
21930
+ [key: string]: string;
21931
+ };
21932
+ statusCode?: number;
21933
+ body?: CreateChatMediaUrlResponseBody;
21934
+ static names(): {
21935
+ [key: string]: string;
21936
+ };
21937
+ static types(): {
21938
+ [key: string]: any;
21939
+ };
21940
+ validate(): void;
21941
+ constructor(map?: {
21942
+ [key: string]: any;
21943
+ });
21944
+ }
21782
21945
  export declare class CreateContactFlowRequest extends $dara.Model {
21783
21946
  /**
21784
21947
  * @remarks
@@ -34036,6 +34199,112 @@ export declare class ListUsersResponse extends $dara.Model {
34036
34199
  [key: string]: any;
34037
34200
  });
34038
34201
  }
34202
+ export declare class ListVisitorChatMessagesRequest extends $dara.Model {
34203
+ /**
34204
+ * @example
34205
+ * cf584733-***-***-9699-cb77aa3b7aa6
34206
+ */
34207
+ accessChannelId?: string;
34208
+ /**
34209
+ * @example
34210
+ * 9XYGTGWtq2wXzVikKuip_zeVGl6O4VJ-l-*-*-JPofhap4P7fAevuE=
34211
+ */
34212
+ accessToken?: string;
34213
+ /**
34214
+ * @example
34215
+ * 1650316799000
34216
+ */
34217
+ endTime?: string;
34218
+ /**
34219
+ * @example
34220
+ * ccc-test
34221
+ */
34222
+ instanceId?: string;
34223
+ /**
34224
+ * @example
34225
+ * 1737193352340::7463707254.EAUNIT
34226
+ */
34227
+ nextPageToken?: string;
34228
+ /**
34229
+ * @example
34230
+ * 100
34231
+ */
34232
+ pageSize?: number;
34233
+ /**
34234
+ * @example
34235
+ * DESC
34236
+ */
34237
+ sortOrder?: string;
34238
+ /**
34239
+ * @example
34240
+ * 1647325450000
34241
+ */
34242
+ startTime?: number;
34243
+ /**
34244
+ * @example
34245
+ * fcd020fe-****-1a272a174a7d
34246
+ */
34247
+ visitorId?: string;
34248
+ static names(): {
34249
+ [key: string]: string;
34250
+ };
34251
+ static types(): {
34252
+ [key: string]: any;
34253
+ };
34254
+ validate(): void;
34255
+ constructor(map?: {
34256
+ [key: string]: any;
34257
+ });
34258
+ }
34259
+ export declare class ListVisitorChatMessagesResponseBody extends $dara.Model {
34260
+ /**
34261
+ * @example
34262
+ * OK
34263
+ */
34264
+ code?: string;
34265
+ data?: ListVisitorChatMessagesResponseBodyData;
34266
+ /**
34267
+ * @example
34268
+ * 200
34269
+ */
34270
+ httpStatusCode?: number;
34271
+ message?: string;
34272
+ /**
34273
+ * @remarks
34274
+ * Id of the request
34275
+ *
34276
+ * @example
34277
+ * 8707EB29-BAED-4302-B999-40BA61877437
34278
+ */
34279
+ requestId?: string;
34280
+ static names(): {
34281
+ [key: string]: string;
34282
+ };
34283
+ static types(): {
34284
+ [key: string]: any;
34285
+ };
34286
+ validate(): void;
34287
+ constructor(map?: {
34288
+ [key: string]: any;
34289
+ });
34290
+ }
34291
+ export declare class ListVisitorChatMessagesResponse extends $dara.Model {
34292
+ headers?: {
34293
+ [key: string]: string;
34294
+ };
34295
+ statusCode?: number;
34296
+ body?: ListVisitorChatMessagesResponseBody;
34297
+ static names(): {
34298
+ [key: string]: string;
34299
+ };
34300
+ static types(): {
34301
+ [key: string]: any;
34302
+ };
34303
+ validate(): void;
34304
+ constructor(map?: {
34305
+ [key: string]: any;
34306
+ });
34307
+ }
34039
34308
  export declare class ListVoicemailsRequest extends $dara.Model {
34040
34309
  /**
34041
34310
  * @example
@@ -35457,6 +35726,122 @@ export declare class ProcessAliMeCallbackOfStagingResponse extends $dara.Model {
35457
35726
  [key: string]: any;
35458
35727
  });
35459
35728
  }
35729
+ export declare class ProcessCustomIMCallbackRequest extends $dara.Model {
35730
+ /**
35731
+ * @remarks
35732
+ * This parameter is required.
35733
+ *
35734
+ * @example
35735
+ * cf584733-***-***-9699-cb77aa3b7aa6
35736
+ */
35737
+ accessChannelId?: string;
35738
+ /**
35739
+ * @remarks
35740
+ * This parameter is required.
35741
+ *
35742
+ * @example
35743
+ * d165de4f-9851-445e-9535-66ebfa72fa51
35744
+ */
35745
+ conversationId?: string;
35746
+ /**
35747
+ * @remarks
35748
+ * This parameter is required.
35749
+ *
35750
+ * @example
35751
+ * 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
35752
+ */
35753
+ instanceId?: string;
35754
+ /**
35755
+ * @remarks
35756
+ * This parameter is required.
35757
+ */
35758
+ messageContent?: string;
35759
+ /**
35760
+ * @example
35761
+ * 03C67DAD-EB26-41D8-949D-9B0C470FB716
35762
+ */
35763
+ requestId?: string;
35764
+ /**
35765
+ * @example
35766
+ * xxxx
35767
+ */
35768
+ senderAvatarMediaId?: string;
35769
+ /**
35770
+ * @remarks
35771
+ * This parameter is required.
35772
+ *
35773
+ * @example
35774
+ * 63061274befd6b545aab4c83
35775
+ */
35776
+ senderId?: string;
35777
+ /**
35778
+ * @example
35779
+ * tom
35780
+ */
35781
+ senderName?: string;
35782
+ static names(): {
35783
+ [key: string]: string;
35784
+ };
35785
+ static types(): {
35786
+ [key: string]: any;
35787
+ };
35788
+ validate(): void;
35789
+ constructor(map?: {
35790
+ [key: string]: any;
35791
+ });
35792
+ }
35793
+ export declare class ProcessCustomIMCallbackResponseBody extends $dara.Model {
35794
+ /**
35795
+ * @example
35796
+ * OK
35797
+ */
35798
+ code?: string;
35799
+ data?: string;
35800
+ /**
35801
+ * @example
35802
+ * 200
35803
+ */
35804
+ httpStatusCode?: number;
35805
+ /**
35806
+ * @example
35807
+ * chat-65382141036853491
35808
+ */
35809
+ jobId?: string;
35810
+ message?: string;
35811
+ params?: string[];
35812
+ /**
35813
+ * @example
35814
+ * 2778FA12-EDD6-42AA-9B15-AF855072E5E5
35815
+ */
35816
+ requestId?: string;
35817
+ static names(): {
35818
+ [key: string]: string;
35819
+ };
35820
+ static types(): {
35821
+ [key: string]: any;
35822
+ };
35823
+ validate(): void;
35824
+ constructor(map?: {
35825
+ [key: string]: any;
35826
+ });
35827
+ }
35828
+ export declare class ProcessCustomIMCallbackResponse extends $dara.Model {
35829
+ headers?: {
35830
+ [key: string]: string;
35831
+ };
35832
+ statusCode?: number;
35833
+ body?: ProcessCustomIMCallbackResponseBody;
35834
+ static names(): {
35835
+ [key: string]: string;
35836
+ };
35837
+ static types(): {
35838
+ [key: string]: any;
35839
+ };
35840
+ validate(): void;
35841
+ constructor(map?: {
35842
+ [key: string]: any;
35843
+ });
35844
+ }
35460
35845
  export declare class PublishContactFlowRequest extends $dara.Model {
35461
35846
  /**
35462
35847
  * @remarks
@@ -40402,6 +40787,17 @@ export default class Client extends OpenApi {
40402
40787
  * @returns CreateCampaignResponse
40403
40788
  */
40404
40789
  createCampaign(request: CreateCampaignRequest): Promise<CreateCampaignResponse>;
40790
+ /**
40791
+ * @param request - CreateChatMediaUrlRequest
40792
+ * @param runtime - runtime options for this request RuntimeOptions
40793
+ * @returns CreateChatMediaUrlResponse
40794
+ */
40795
+ createChatMediaUrlWithOptions(request: CreateChatMediaUrlRequest, runtime: $dara.RuntimeOptions): Promise<CreateChatMediaUrlResponse>;
40796
+ /**
40797
+ * @param request - CreateChatMediaUrlRequest
40798
+ * @returns CreateChatMediaUrlResponse
40799
+ */
40800
+ createChatMediaUrl(request: CreateChatMediaUrlRequest): Promise<CreateChatMediaUrlResponse>;
40405
40801
  /**
40406
40802
  * @param request - CreateContactFlowRequest
40407
40803
  * @param runtime - runtime options for this request RuntimeOptions
@@ -42164,6 +42560,21 @@ export default class Client extends OpenApi {
42164
42560
  * @returns ListUsersResponse
42165
42561
  */
42166
42562
  listUsers(request: ListUsersRequest): Promise<ListUsersResponse>;
42563
+ /**
42564
+ * ListVisitorChatMessages
42565
+ *
42566
+ * @param request - ListVisitorChatMessagesRequest
42567
+ * @param runtime - runtime options for this request RuntimeOptions
42568
+ * @returns ListVisitorChatMessagesResponse
42569
+ */
42570
+ listVisitorChatMessagesWithOptions(request: ListVisitorChatMessagesRequest, runtime: $dara.RuntimeOptions): Promise<ListVisitorChatMessagesResponse>;
42571
+ /**
42572
+ * ListVisitorChatMessages
42573
+ *
42574
+ * @param request - ListVisitorChatMessagesRequest
42575
+ * @returns ListVisitorChatMessagesResponse
42576
+ */
42577
+ listVisitorChatMessages(request: ListVisitorChatMessagesRequest): Promise<ListVisitorChatMessagesResponse>;
42167
42578
  /**
42168
42579
  * @param request - ListVoicemailsRequest
42169
42580
  * @param runtime - runtime options for this request RuntimeOptions
@@ -42363,6 +42774,17 @@ export default class Client extends OpenApi {
42363
42774
  * @returns ProcessAliMeCallbackOfStagingResponse
42364
42775
  */
42365
42776
  processAliMeCallbackOfStaging(request: ProcessAliMeCallbackOfStagingRequest): Promise<ProcessAliMeCallbackOfStagingResponse>;
42777
+ /**
42778
+ * @param request - ProcessCustomIMCallbackRequest
42779
+ * @param runtime - runtime options for this request RuntimeOptions
42780
+ * @returns ProcessCustomIMCallbackResponse
42781
+ */
42782
+ processCustomIMCallbackWithOptions(request: ProcessCustomIMCallbackRequest, runtime: $dara.RuntimeOptions): Promise<ProcessCustomIMCallbackResponse>;
42783
+ /**
42784
+ * @param request - ProcessCustomIMCallbackRequest
42785
+ * @returns ProcessCustomIMCallbackResponse
42786
+ */
42787
+ processCustomIMCallback(request: ProcessCustomIMCallbackRequest): Promise<ProcessCustomIMCallbackResponse>;
42366
42788
  /**
42367
42789
  * @param request - PublishContactFlowRequest
42368
42790
  * @param runtime - runtime options for this request RuntimeOptions