@alicloud/ccc20200701 2.26.1 → 2.27.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 +214 -0
- package/dist/client.js +235 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +349 -0
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
|
|
@@ -19420,6 +19483,94 @@ export declare class UpdateCampaignResponse extends $tea.Model {
|
|
|
19420
19483
|
[key: string]: any;
|
|
19421
19484
|
});
|
|
19422
19485
|
}
|
|
19486
|
+
export declare class UpdateChatRoutingProfileRequest extends $tea.Model {
|
|
19487
|
+
/**
|
|
19488
|
+
* @remarks
|
|
19489
|
+
* This parameter is required.
|
|
19490
|
+
*
|
|
19491
|
+
* @example
|
|
19492
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
19493
|
+
*/
|
|
19494
|
+
instanceId?: string;
|
|
19495
|
+
/**
|
|
19496
|
+
* @remarks
|
|
19497
|
+
* This parameter is required.
|
|
19498
|
+
*
|
|
19499
|
+
* @example
|
|
19500
|
+
* {
|
|
19501
|
+
* "RoutingType": "Automatic",
|
|
19502
|
+
* "AgentConcurrencySettings": {
|
|
19503
|
+
* "AllowExceedingLimitWhenTransferring": false,
|
|
19504
|
+
* "ConcurrencyLimit": 4,
|
|
19505
|
+
* "AllowExceedingLimitWhenClaiming": true,
|
|
19506
|
+
* "Enabled": true
|
|
19507
|
+
* },
|
|
19508
|
+
* "ChatSettings": {
|
|
19509
|
+
* "IdleChatTimeoutSeconds": 300
|
|
19510
|
+
* },
|
|
19511
|
+
* "DistributionSettings": {
|
|
19512
|
+
* "Enabled": true,
|
|
19513
|
+
* "AgentRingTimeoutSeconds": 119,
|
|
19514
|
+
* "MaxNumberOfConversationsAgentCanMiss": 5,
|
|
19515
|
+
* "PostAgentMissingConversionsAction": "Nothing"
|
|
19516
|
+
* }
|
|
19517
|
+
* }
|
|
19518
|
+
*/
|
|
19519
|
+
routingProfiles?: string;
|
|
19520
|
+
static names(): {
|
|
19521
|
+
[key: string]: string;
|
|
19522
|
+
};
|
|
19523
|
+
static types(): {
|
|
19524
|
+
[key: string]: any;
|
|
19525
|
+
};
|
|
19526
|
+
constructor(map?: {
|
|
19527
|
+
[key: string]: any;
|
|
19528
|
+
});
|
|
19529
|
+
}
|
|
19530
|
+
export declare class UpdateChatRoutingProfileResponseBody extends $tea.Model {
|
|
19531
|
+
/**
|
|
19532
|
+
* @example
|
|
19533
|
+
* OK
|
|
19534
|
+
*/
|
|
19535
|
+
code?: string;
|
|
19536
|
+
/**
|
|
19537
|
+
* @example
|
|
19538
|
+
* 200
|
|
19539
|
+
*/
|
|
19540
|
+
httpStatusCode?: number;
|
|
19541
|
+
message?: string;
|
|
19542
|
+
params?: string[];
|
|
19543
|
+
/**
|
|
19544
|
+
* @example
|
|
19545
|
+
* BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E
|
|
19546
|
+
*/
|
|
19547
|
+
requestId?: string;
|
|
19548
|
+
static names(): {
|
|
19549
|
+
[key: string]: string;
|
|
19550
|
+
};
|
|
19551
|
+
static types(): {
|
|
19552
|
+
[key: string]: any;
|
|
19553
|
+
};
|
|
19554
|
+
constructor(map?: {
|
|
19555
|
+
[key: string]: any;
|
|
19556
|
+
});
|
|
19557
|
+
}
|
|
19558
|
+
export declare class UpdateChatRoutingProfileResponse extends $tea.Model {
|
|
19559
|
+
headers?: {
|
|
19560
|
+
[key: string]: string;
|
|
19561
|
+
};
|
|
19562
|
+
statusCode?: number;
|
|
19563
|
+
body?: UpdateChatRoutingProfileResponseBody;
|
|
19564
|
+
static names(): {
|
|
19565
|
+
[key: string]: string;
|
|
19566
|
+
};
|
|
19567
|
+
static types(): {
|
|
19568
|
+
[key: string]: any;
|
|
19569
|
+
};
|
|
19570
|
+
constructor(map?: {
|
|
19571
|
+
[key: string]: any;
|
|
19572
|
+
});
|
|
19573
|
+
}
|
|
19423
19574
|
export declare class UpdateConfigItemsRequest extends $tea.Model {
|
|
19424
19575
|
/**
|
|
19425
19576
|
* @remarks
|
|
@@ -22231,6 +22382,47 @@ export declare class GetCaseFileUploadUrlResponseBodyData extends $tea.Model {
|
|
|
22231
22382
|
[key: string]: any;
|
|
22232
22383
|
});
|
|
22233
22384
|
}
|
|
22385
|
+
export declare class GetChatRoutingProfileResponseBodyData extends $tea.Model {
|
|
22386
|
+
/**
|
|
22387
|
+
* @example
|
|
22388
|
+
* {
|
|
22389
|
+
* "AllowExceedingLimitWhenTransferring": false,
|
|
22390
|
+
* "ConcurrencyLimit": 4,
|
|
22391
|
+
* "AllowExceedingLimitWhenClaiming": true,
|
|
22392
|
+
* "Enabled": true
|
|
22393
|
+
* }
|
|
22394
|
+
*/
|
|
22395
|
+
agentConcurrencySettings?: string;
|
|
22396
|
+
/**
|
|
22397
|
+
* @example
|
|
22398
|
+
* {"IdleChatTimeoutSeconds":300}
|
|
22399
|
+
*/
|
|
22400
|
+
chatSettings?: string;
|
|
22401
|
+
/**
|
|
22402
|
+
* @example
|
|
22403
|
+
* {
|
|
22404
|
+
* "AgentRingTimeoutSeconds": 30,
|
|
22405
|
+
* "Enabled": true,
|
|
22406
|
+
* "MaxNumberOfConversationsAgentCanMiss": 5,
|
|
22407
|
+
* "PostAgentMissingConversionsAction": "Nothing"
|
|
22408
|
+
* }
|
|
22409
|
+
*/
|
|
22410
|
+
distributionSettings?: string;
|
|
22411
|
+
/**
|
|
22412
|
+
* @example
|
|
22413
|
+
* Automatic
|
|
22414
|
+
*/
|
|
22415
|
+
routingType?: string;
|
|
22416
|
+
static names(): {
|
|
22417
|
+
[key: string]: string;
|
|
22418
|
+
};
|
|
22419
|
+
static types(): {
|
|
22420
|
+
[key: string]: any;
|
|
22421
|
+
};
|
|
22422
|
+
constructor(map?: {
|
|
22423
|
+
[key: string]: any;
|
|
22424
|
+
});
|
|
22425
|
+
}
|
|
22234
22426
|
export declare class GetContactFlowResponseBodyData extends $tea.Model {
|
|
22235
22427
|
/**
|
|
22236
22428
|
* @example
|
|
@@ -38384,6 +38576,17 @@ export default class Client extends OpenApi {
|
|
|
38384
38576
|
* @returns GetChatMediaUrlResponse
|
|
38385
38577
|
*/
|
|
38386
38578
|
getChatMediaUrl(request: GetChatMediaUrlRequest): Promise<GetChatMediaUrlResponse>;
|
|
38579
|
+
/**
|
|
38580
|
+
* @param request - GetChatRoutingProfileRequest
|
|
38581
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
38582
|
+
* @returns GetChatRoutingProfileResponse
|
|
38583
|
+
*/
|
|
38584
|
+
getChatRoutingProfileWithOptions(request: GetChatRoutingProfileRequest, runtime: $Util.RuntimeOptions): Promise<GetChatRoutingProfileResponse>;
|
|
38585
|
+
/**
|
|
38586
|
+
* @param request - GetChatRoutingProfileRequest
|
|
38587
|
+
* @returns GetChatRoutingProfileResponse
|
|
38588
|
+
*/
|
|
38589
|
+
getChatRoutingProfile(request: GetChatRoutingProfileRequest): Promise<GetChatRoutingProfileResponse>;
|
|
38387
38590
|
/**
|
|
38388
38591
|
* @param request - GetContactFlowRequest
|
|
38389
38592
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -40381,6 +40584,17 @@ export default class Client extends OpenApi {
|
|
|
40381
40584
|
* @returns UpdateCampaignResponse
|
|
40382
40585
|
*/
|
|
40383
40586
|
updateCampaign(request: UpdateCampaignRequest): Promise<UpdateCampaignResponse>;
|
|
40587
|
+
/**
|
|
40588
|
+
* @param request - UpdateChatRoutingProfileRequest
|
|
40589
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
40590
|
+
* @returns UpdateChatRoutingProfileResponse
|
|
40591
|
+
*/
|
|
40592
|
+
updateChatRoutingProfileWithOptions(request: UpdateChatRoutingProfileRequest, runtime: $Util.RuntimeOptions): Promise<UpdateChatRoutingProfileResponse>;
|
|
40593
|
+
/**
|
|
40594
|
+
* @param request - UpdateChatRoutingProfileRequest
|
|
40595
|
+
* @returns UpdateChatRoutingProfileResponse
|
|
40596
|
+
*/
|
|
40597
|
+
updateChatRoutingProfile(request: UpdateChatRoutingProfileRequest): Promise<UpdateChatRoutingProfileResponse>;
|
|
40384
40598
|
/**
|
|
40385
40599
|
* @param request - UpdateConfigItemsRequest
|
|
40386
40600
|
* @param runtime - runtime options for this request RuntimeOptions
|