@alicloud/ccc20200701 2.26.1 → 2.27.1

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
@@ -5623,6 +5623,69 @@ export declare class GetChatMediaUrlResponse extends $tea.Model {
5623
5623
  [key: string]: any;
5624
5624
  });
5625
5625
  }
5626
+ export declare class GetChatRoutingProfileRequest extends $tea.Model {
5627
+ /**
5628
+ * @remarks
5629
+ * This parameter is required.
5630
+ *
5631
+ * @example
5632
+ * ccc-test
5633
+ */
5634
+ instanceId?: string;
5635
+ static names(): {
5636
+ [key: string]: string;
5637
+ };
5638
+ static types(): {
5639
+ [key: string]: any;
5640
+ };
5641
+ constructor(map?: {
5642
+ [key: string]: any;
5643
+ });
5644
+ }
5645
+ export declare class GetChatRoutingProfileResponseBody extends $tea.Model {
5646
+ /**
5647
+ * @example
5648
+ * OK
5649
+ */
5650
+ code?: string;
5651
+ data?: GetChatRoutingProfileResponseBodyData;
5652
+ /**
5653
+ * @example
5654
+ * 200
5655
+ */
5656
+ httpStatusCode?: number;
5657
+ message?: string;
5658
+ /**
5659
+ * @example
5660
+ * 30C7D235-DDCF-4C7F-A462-5E2598252C2B
5661
+ */
5662
+ requestId?: string;
5663
+ static names(): {
5664
+ [key: string]: string;
5665
+ };
5666
+ static types(): {
5667
+ [key: string]: any;
5668
+ };
5669
+ constructor(map?: {
5670
+ [key: string]: any;
5671
+ });
5672
+ }
5673
+ export declare class GetChatRoutingProfileResponse extends $tea.Model {
5674
+ headers?: {
5675
+ [key: string]: string;
5676
+ };
5677
+ statusCode?: number;
5678
+ body?: GetChatRoutingProfileResponseBody;
5679
+ static names(): {
5680
+ [key: string]: string;
5681
+ };
5682
+ static types(): {
5683
+ [key: string]: any;
5684
+ };
5685
+ constructor(map?: {
5686
+ [key: string]: any;
5687
+ });
5688
+ }
5626
5689
  export declare class GetContactFlowRequest extends $tea.Model {
5627
5690
  /**
5628
5691
  * @remarks
@@ -9397,6 +9460,7 @@ export declare class ListCallDetailRecordsV2Request extends $tea.Model {
9397
9460
  * agent@ccc-test
9398
9461
  */
9399
9462
  agentId?: string;
9463
+ analyticsReportReady?: boolean;
9400
9464
  /**
9401
9465
  * @example
9402
9466
  * 021****4972
@@ -19420,6 +19484,94 @@ export declare class UpdateCampaignResponse extends $tea.Model {
19420
19484
  [key: string]: any;
19421
19485
  });
19422
19486
  }
19487
+ export declare class UpdateChatRoutingProfileRequest extends $tea.Model {
19488
+ /**
19489
+ * @remarks
19490
+ * This parameter is required.
19491
+ *
19492
+ * @example
19493
+ * 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
19494
+ */
19495
+ instanceId?: string;
19496
+ /**
19497
+ * @remarks
19498
+ * This parameter is required.
19499
+ *
19500
+ * @example
19501
+ * {
19502
+ * "RoutingType": "Automatic",
19503
+ * "AgentConcurrencySettings": {
19504
+ * "AllowExceedingLimitWhenTransferring": false,
19505
+ * "ConcurrencyLimit": 4,
19506
+ * "AllowExceedingLimitWhenClaiming": true,
19507
+ * "Enabled": true
19508
+ * },
19509
+ * "ChatSettings": {
19510
+ * "IdleChatTimeoutSeconds": 300
19511
+ * },
19512
+ * "DistributionSettings": {
19513
+ * "Enabled": true,
19514
+ * "AgentRingTimeoutSeconds": 119,
19515
+ * "MaxNumberOfConversationsAgentCanMiss": 5,
19516
+ * "PostAgentMissingConversionsAction": "Nothing"
19517
+ * }
19518
+ * }
19519
+ */
19520
+ routingProfiles?: string;
19521
+ static names(): {
19522
+ [key: string]: string;
19523
+ };
19524
+ static types(): {
19525
+ [key: string]: any;
19526
+ };
19527
+ constructor(map?: {
19528
+ [key: string]: any;
19529
+ });
19530
+ }
19531
+ export declare class UpdateChatRoutingProfileResponseBody extends $tea.Model {
19532
+ /**
19533
+ * @example
19534
+ * OK
19535
+ */
19536
+ code?: string;
19537
+ /**
19538
+ * @example
19539
+ * 200
19540
+ */
19541
+ httpStatusCode?: number;
19542
+ message?: string;
19543
+ params?: string[];
19544
+ /**
19545
+ * @example
19546
+ * BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E
19547
+ */
19548
+ requestId?: string;
19549
+ static names(): {
19550
+ [key: string]: string;
19551
+ };
19552
+ static types(): {
19553
+ [key: string]: any;
19554
+ };
19555
+ constructor(map?: {
19556
+ [key: string]: any;
19557
+ });
19558
+ }
19559
+ export declare class UpdateChatRoutingProfileResponse extends $tea.Model {
19560
+ headers?: {
19561
+ [key: string]: string;
19562
+ };
19563
+ statusCode?: number;
19564
+ body?: UpdateChatRoutingProfileResponseBody;
19565
+ static names(): {
19566
+ [key: string]: string;
19567
+ };
19568
+ static types(): {
19569
+ [key: string]: any;
19570
+ };
19571
+ constructor(map?: {
19572
+ [key: string]: any;
19573
+ });
19574
+ }
19423
19575
  export declare class UpdateConfigItemsRequest extends $tea.Model {
19424
19576
  /**
19425
19577
  * @remarks
@@ -21860,6 +22012,82 @@ export declare class GetCallDetailRecordResponseBodyDataAgentEvents extends $tea
21860
22012
  [key: string]: any;
21861
22013
  });
21862
22014
  }
22015
+ export declare class GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion extends $tea.Model {
22016
+ confidence?: number;
22017
+ remark?: string;
22018
+ success?: boolean;
22019
+ taskId?: string;
22020
+ type?: string;
22021
+ static names(): {
22022
+ [key: string]: string;
22023
+ };
22024
+ static types(): {
22025
+ [key: string]: any;
22026
+ };
22027
+ constructor(map?: {
22028
+ [key: string]: any;
22029
+ });
22030
+ }
22031
+ export declare class GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving extends $tea.Model {
22032
+ problem?: string;
22033
+ solution?: string;
22034
+ solved?: boolean;
22035
+ success?: boolean;
22036
+ taskId?: string;
22037
+ static names(): {
22038
+ [key: string]: string;
22039
+ };
22040
+ static types(): {
22041
+ [key: string]: any;
22042
+ };
22043
+ constructor(map?: {
22044
+ [key: string]: any;
22045
+ });
22046
+ }
22047
+ export declare class GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction extends $tea.Model {
22048
+ remark?: string;
22049
+ satisfactionDescription?: string;
22050
+ success?: boolean;
22051
+ taskId?: string;
22052
+ static names(): {
22053
+ [key: string]: string;
22054
+ };
22055
+ static types(): {
22056
+ [key: string]: any;
22057
+ };
22058
+ constructor(map?: {
22059
+ [key: string]: any;
22060
+ });
22061
+ }
22062
+ export declare class GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList extends $tea.Model {
22063
+ success?: boolean;
22064
+ taskId?: string;
22065
+ tasks?: string[];
22066
+ static names(): {
22067
+ [key: string]: string;
22068
+ };
22069
+ static types(): {
22070
+ [key: string]: any;
22071
+ };
22072
+ constructor(map?: {
22073
+ [key: string]: any;
22074
+ });
22075
+ }
22076
+ export declare class GetCallDetailRecordResponseBodyDataAnalyticsReport extends $tea.Model {
22077
+ emotion?: GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion;
22078
+ problemSolving?: GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving;
22079
+ satisfaction?: GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction;
22080
+ todoList?: GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList;
22081
+ static names(): {
22082
+ [key: string]: string;
22083
+ };
22084
+ static types(): {
22085
+ [key: string]: any;
22086
+ };
22087
+ constructor(map?: {
22088
+ [key: string]: any;
22089
+ });
22090
+ }
21863
22091
  export declare class GetCallDetailRecordResponseBodyDataCustomerEventsEventSequence extends $tea.Model {
21864
22092
  /**
21865
22093
  * @example
@@ -22002,6 +22230,8 @@ export declare class GetCallDetailRecordResponseBodyData extends $tea.Model {
22002
22230
  * agent1,agent2
22003
22231
  */
22004
22232
  agentNames?: string;
22233
+ analyticsReport?: GetCallDetailRecordResponseBodyDataAnalyticsReport;
22234
+ analyticsReportReady?: boolean;
22005
22235
  /**
22006
22236
  * @example
22007
22237
  * 50
@@ -22231,6 +22461,47 @@ export declare class GetCaseFileUploadUrlResponseBodyData extends $tea.Model {
22231
22461
  [key: string]: any;
22232
22462
  });
22233
22463
  }
22464
+ export declare class GetChatRoutingProfileResponseBodyData extends $tea.Model {
22465
+ /**
22466
+ * @example
22467
+ * {
22468
+ * "AllowExceedingLimitWhenTransferring": false,
22469
+ * "ConcurrencyLimit": 4,
22470
+ * "AllowExceedingLimitWhenClaiming": true,
22471
+ * "Enabled": true
22472
+ * }
22473
+ */
22474
+ agentConcurrencySettings?: string;
22475
+ /**
22476
+ * @example
22477
+ * {"IdleChatTimeoutSeconds":300}
22478
+ */
22479
+ chatSettings?: string;
22480
+ /**
22481
+ * @example
22482
+ * {
22483
+ * "AgentRingTimeoutSeconds": 30,
22484
+ * "Enabled": true,
22485
+ * "MaxNumberOfConversationsAgentCanMiss": 5,
22486
+ * "PostAgentMissingConversionsAction": "Nothing"
22487
+ * }
22488
+ */
22489
+ distributionSettings?: string;
22490
+ /**
22491
+ * @example
22492
+ * Automatic
22493
+ */
22494
+ routingType?: string;
22495
+ static names(): {
22496
+ [key: string]: string;
22497
+ };
22498
+ static types(): {
22499
+ [key: string]: any;
22500
+ };
22501
+ constructor(map?: {
22502
+ [key: string]: any;
22503
+ });
22504
+ }
22234
22505
  export declare class GetContactFlowResponseBodyData extends $tea.Model {
22235
22506
  /**
22236
22507
  * @example
@@ -26110,6 +26381,82 @@ export declare class ListCallDetailRecordsResponseBodyData extends $tea.Model {
26110
26381
  [key: string]: any;
26111
26382
  });
26112
26383
  }
26384
+ export declare class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion extends $tea.Model {
26385
+ confidence?: number;
26386
+ remark?: string;
26387
+ success?: boolean;
26388
+ taskId?: string;
26389
+ type?: string;
26390
+ static names(): {
26391
+ [key: string]: string;
26392
+ };
26393
+ static types(): {
26394
+ [key: string]: any;
26395
+ };
26396
+ constructor(map?: {
26397
+ [key: string]: any;
26398
+ });
26399
+ }
26400
+ export declare class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving extends $tea.Model {
26401
+ problem?: string;
26402
+ solution?: string;
26403
+ solved?: boolean;
26404
+ success?: boolean;
26405
+ taskId?: string;
26406
+ static names(): {
26407
+ [key: string]: string;
26408
+ };
26409
+ static types(): {
26410
+ [key: string]: any;
26411
+ };
26412
+ constructor(map?: {
26413
+ [key: string]: any;
26414
+ });
26415
+ }
26416
+ export declare class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction extends $tea.Model {
26417
+ remark?: string;
26418
+ satisfactionDescription?: string;
26419
+ success?: boolean;
26420
+ taskId?: string;
26421
+ static names(): {
26422
+ [key: string]: string;
26423
+ };
26424
+ static types(): {
26425
+ [key: string]: any;
26426
+ };
26427
+ constructor(map?: {
26428
+ [key: string]: any;
26429
+ });
26430
+ }
26431
+ export declare class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList extends $tea.Model {
26432
+ success?: boolean;
26433
+ taskId?: string;
26434
+ tasks?: string[];
26435
+ static names(): {
26436
+ [key: string]: string;
26437
+ };
26438
+ static types(): {
26439
+ [key: string]: any;
26440
+ };
26441
+ constructor(map?: {
26442
+ [key: string]: any;
26443
+ });
26444
+ }
26445
+ export declare class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport extends $tea.Model {
26446
+ emotion?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion;
26447
+ problemSolving?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving;
26448
+ satisfaction?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction;
26449
+ todoList?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList;
26450
+ static names(): {
26451
+ [key: string]: string;
26452
+ };
26453
+ static types(): {
26454
+ [key: string]: any;
26455
+ };
26456
+ constructor(map?: {
26457
+ [key: string]: any;
26458
+ });
26459
+ }
26113
26460
  export declare class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
26114
26461
  accessChannelName?: string;
26115
26462
  /**
@@ -26134,6 +26481,8 @@ export declare class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Mo
26134
26481
  */
26135
26482
  agentIds?: string;
26136
26483
  agentNames?: string;
26484
+ analyticsReport?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport;
26485
+ analyticsReportReady?: boolean;
26137
26486
  /**
26138
26487
  * @example
26139
26488
  * 053xxxx3127
@@ -38384,6 +38733,17 @@ export default class Client extends OpenApi {
38384
38733
  * @returns GetChatMediaUrlResponse
38385
38734
  */
38386
38735
  getChatMediaUrl(request: GetChatMediaUrlRequest): Promise<GetChatMediaUrlResponse>;
38736
+ /**
38737
+ * @param request - GetChatRoutingProfileRequest
38738
+ * @param runtime - runtime options for this request RuntimeOptions
38739
+ * @returns GetChatRoutingProfileResponse
38740
+ */
38741
+ getChatRoutingProfileWithOptions(request: GetChatRoutingProfileRequest, runtime: $Util.RuntimeOptions): Promise<GetChatRoutingProfileResponse>;
38742
+ /**
38743
+ * @param request - GetChatRoutingProfileRequest
38744
+ * @returns GetChatRoutingProfileResponse
38745
+ */
38746
+ getChatRoutingProfile(request: GetChatRoutingProfileRequest): Promise<GetChatRoutingProfileResponse>;
38387
38747
  /**
38388
38748
  * @param request - GetContactFlowRequest
38389
38749
  * @param runtime - runtime options for this request RuntimeOptions
@@ -40381,6 +40741,17 @@ export default class Client extends OpenApi {
40381
40741
  * @returns UpdateCampaignResponse
40382
40742
  */
40383
40743
  updateCampaign(request: UpdateCampaignRequest): Promise<UpdateCampaignResponse>;
40744
+ /**
40745
+ * @param request - UpdateChatRoutingProfileRequest
40746
+ * @param runtime - runtime options for this request RuntimeOptions
40747
+ * @returns UpdateChatRoutingProfileResponse
40748
+ */
40749
+ updateChatRoutingProfileWithOptions(request: UpdateChatRoutingProfileRequest, runtime: $Util.RuntimeOptions): Promise<UpdateChatRoutingProfileResponse>;
40750
+ /**
40751
+ * @param request - UpdateChatRoutingProfileRequest
40752
+ * @returns UpdateChatRoutingProfileResponse
40753
+ */
40754
+ updateChatRoutingProfile(request: UpdateChatRoutingProfileRequest): Promise<UpdateChatRoutingProfileResponse>;
40384
40755
  /**
40385
40756
  * @param request - UpdateConfigItemsRequest
40386
40757
  * @param runtime - runtime options for this request RuntimeOptions