@alicloud/ccc20200701 2.26.0 → 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 +218 -0
- package/dist/client.js +252 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +373 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -8199,6 +8199,100 @@ export class GetChatMediaUrlResponse extends $tea.Model {
|
|
|
8199
8199
|
}
|
|
8200
8200
|
}
|
|
8201
8201
|
|
|
8202
|
+
export class GetChatRoutingProfileRequest extends $tea.Model {
|
|
8203
|
+
/**
|
|
8204
|
+
* @remarks
|
|
8205
|
+
* This parameter is required.
|
|
8206
|
+
*
|
|
8207
|
+
* @example
|
|
8208
|
+
* ccc-test
|
|
8209
|
+
*/
|
|
8210
|
+
instanceId?: string;
|
|
8211
|
+
static names(): { [key: string]: string } {
|
|
8212
|
+
return {
|
|
8213
|
+
instanceId: 'InstanceId',
|
|
8214
|
+
};
|
|
8215
|
+
}
|
|
8216
|
+
|
|
8217
|
+
static types(): { [key: string]: any } {
|
|
8218
|
+
return {
|
|
8219
|
+
instanceId: 'string',
|
|
8220
|
+
};
|
|
8221
|
+
}
|
|
8222
|
+
|
|
8223
|
+
constructor(map?: { [key: string]: any }) {
|
|
8224
|
+
super(map);
|
|
8225
|
+
}
|
|
8226
|
+
}
|
|
8227
|
+
|
|
8228
|
+
export class GetChatRoutingProfileResponseBody extends $tea.Model {
|
|
8229
|
+
/**
|
|
8230
|
+
* @example
|
|
8231
|
+
* OK
|
|
8232
|
+
*/
|
|
8233
|
+
code?: string;
|
|
8234
|
+
data?: GetChatRoutingProfileResponseBodyData;
|
|
8235
|
+
/**
|
|
8236
|
+
* @example
|
|
8237
|
+
* 200
|
|
8238
|
+
*/
|
|
8239
|
+
httpStatusCode?: number;
|
|
8240
|
+
message?: string;
|
|
8241
|
+
/**
|
|
8242
|
+
* @example
|
|
8243
|
+
* 30C7D235-DDCF-4C7F-A462-5E2598252C2B
|
|
8244
|
+
*/
|
|
8245
|
+
requestId?: string;
|
|
8246
|
+
static names(): { [key: string]: string } {
|
|
8247
|
+
return {
|
|
8248
|
+
code: 'Code',
|
|
8249
|
+
data: 'Data',
|
|
8250
|
+
httpStatusCode: 'HttpStatusCode',
|
|
8251
|
+
message: 'Message',
|
|
8252
|
+
requestId: 'RequestId',
|
|
8253
|
+
};
|
|
8254
|
+
}
|
|
8255
|
+
|
|
8256
|
+
static types(): { [key: string]: any } {
|
|
8257
|
+
return {
|
|
8258
|
+
code: 'string',
|
|
8259
|
+
data: GetChatRoutingProfileResponseBodyData,
|
|
8260
|
+
httpStatusCode: 'number',
|
|
8261
|
+
message: 'string',
|
|
8262
|
+
requestId: 'string',
|
|
8263
|
+
};
|
|
8264
|
+
}
|
|
8265
|
+
|
|
8266
|
+
constructor(map?: { [key: string]: any }) {
|
|
8267
|
+
super(map);
|
|
8268
|
+
}
|
|
8269
|
+
}
|
|
8270
|
+
|
|
8271
|
+
export class GetChatRoutingProfileResponse extends $tea.Model {
|
|
8272
|
+
headers?: { [key: string]: string };
|
|
8273
|
+
statusCode?: number;
|
|
8274
|
+
body?: GetChatRoutingProfileResponseBody;
|
|
8275
|
+
static names(): { [key: string]: string } {
|
|
8276
|
+
return {
|
|
8277
|
+
headers: 'headers',
|
|
8278
|
+
statusCode: 'statusCode',
|
|
8279
|
+
body: 'body',
|
|
8280
|
+
};
|
|
8281
|
+
}
|
|
8282
|
+
|
|
8283
|
+
static types(): { [key: string]: any } {
|
|
8284
|
+
return {
|
|
8285
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8286
|
+
statusCode: 'number',
|
|
8287
|
+
body: GetChatRoutingProfileResponseBody,
|
|
8288
|
+
};
|
|
8289
|
+
}
|
|
8290
|
+
|
|
8291
|
+
constructor(map?: { [key: string]: any }) {
|
|
8292
|
+
super(map);
|
|
8293
|
+
}
|
|
8294
|
+
}
|
|
8295
|
+
|
|
8202
8296
|
export class GetContactFlowRequest extends $tea.Model {
|
|
8203
8297
|
/**
|
|
8204
8298
|
* @remarks
|
|
@@ -13862,6 +13956,8 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13862
13956
|
* 100
|
|
13863
13957
|
*/
|
|
13864
13958
|
pageSize?: number;
|
|
13959
|
+
releaseInitiatorList?: string;
|
|
13960
|
+
releaseReasonList?: string;
|
|
13865
13961
|
satisfactionDescriptionList?: string;
|
|
13866
13962
|
/**
|
|
13867
13963
|
* @example
|
|
@@ -13911,6 +14007,8 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13911
14007
|
orderByField: 'OrderByField',
|
|
13912
14008
|
pageNumber: 'PageNumber',
|
|
13913
14009
|
pageSize: 'PageSize',
|
|
14010
|
+
releaseInitiatorList: 'ReleaseInitiatorList',
|
|
14011
|
+
releaseReasonList: 'ReleaseReasonList',
|
|
13914
14012
|
satisfactionDescriptionList: 'SatisfactionDescriptionList',
|
|
13915
14013
|
satisfactionRateList: 'SatisfactionRateList',
|
|
13916
14014
|
satisfactionSurveyChannel: 'SatisfactionSurveyChannel',
|
|
@@ -13940,6 +14038,8 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13940
14038
|
orderByField: 'string',
|
|
13941
14039
|
pageNumber: 'number',
|
|
13942
14040
|
pageSize: 'number',
|
|
14041
|
+
releaseInitiatorList: 'string',
|
|
14042
|
+
releaseReasonList: 'string',
|
|
13943
14043
|
satisfactionDescriptionList: 'string',
|
|
13944
14044
|
satisfactionRateList: 'string',
|
|
13945
14045
|
satisfactionSurveyChannel: 'string',
|
|
@@ -20976,6 +21076,7 @@ export class MakeCallRequest extends $tea.Model {
|
|
|
20976
21076
|
* device
|
|
20977
21077
|
*/
|
|
20978
21078
|
deviceId?: string;
|
|
21079
|
+
flashSmsVariables?: string;
|
|
20979
21080
|
/**
|
|
20980
21081
|
* @remarks
|
|
20981
21082
|
* This parameter is required.
|
|
@@ -21010,6 +21111,7 @@ export class MakeCallRequest extends $tea.Model {
|
|
|
21010
21111
|
callee: 'Callee',
|
|
21011
21112
|
caller: 'Caller',
|
|
21012
21113
|
deviceId: 'DeviceId',
|
|
21114
|
+
flashSmsVariables: 'FlashSmsVariables',
|
|
21013
21115
|
instanceId: 'InstanceId',
|
|
21014
21116
|
maskedCallee: 'MaskedCallee',
|
|
21015
21117
|
mediaType: 'MediaType',
|
|
@@ -21024,6 +21126,7 @@ export class MakeCallRequest extends $tea.Model {
|
|
|
21024
21126
|
callee: 'string',
|
|
21025
21127
|
caller: 'string',
|
|
21026
21128
|
deviceId: 'string',
|
|
21129
|
+
flashSmsVariables: 'string',
|
|
21027
21130
|
instanceId: 'string',
|
|
21028
21131
|
maskedCallee: 'string',
|
|
21029
21132
|
mediaType: 'string',
|
|
@@ -28383,6 +28486,127 @@ export class UpdateCampaignResponse extends $tea.Model {
|
|
|
28383
28486
|
}
|
|
28384
28487
|
}
|
|
28385
28488
|
|
|
28489
|
+
export class UpdateChatRoutingProfileRequest extends $tea.Model {
|
|
28490
|
+
/**
|
|
28491
|
+
* @remarks
|
|
28492
|
+
* This parameter is required.
|
|
28493
|
+
*
|
|
28494
|
+
* @example
|
|
28495
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
28496
|
+
*/
|
|
28497
|
+
instanceId?: string;
|
|
28498
|
+
/**
|
|
28499
|
+
* @remarks
|
|
28500
|
+
* This parameter is required.
|
|
28501
|
+
*
|
|
28502
|
+
* @example
|
|
28503
|
+
* {
|
|
28504
|
+
* "RoutingType": "Automatic",
|
|
28505
|
+
* "AgentConcurrencySettings": {
|
|
28506
|
+
* "AllowExceedingLimitWhenTransferring": false,
|
|
28507
|
+
* "ConcurrencyLimit": 4,
|
|
28508
|
+
* "AllowExceedingLimitWhenClaiming": true,
|
|
28509
|
+
* "Enabled": true
|
|
28510
|
+
* },
|
|
28511
|
+
* "ChatSettings": {
|
|
28512
|
+
* "IdleChatTimeoutSeconds": 300
|
|
28513
|
+
* },
|
|
28514
|
+
* "DistributionSettings": {
|
|
28515
|
+
* "Enabled": true,
|
|
28516
|
+
* "AgentRingTimeoutSeconds": 119,
|
|
28517
|
+
* "MaxNumberOfConversationsAgentCanMiss": 5,
|
|
28518
|
+
* "PostAgentMissingConversionsAction": "Nothing"
|
|
28519
|
+
* }
|
|
28520
|
+
* }
|
|
28521
|
+
*/
|
|
28522
|
+
routingProfiles?: string;
|
|
28523
|
+
static names(): { [key: string]: string } {
|
|
28524
|
+
return {
|
|
28525
|
+
instanceId: 'InstanceId',
|
|
28526
|
+
routingProfiles: 'RoutingProfiles',
|
|
28527
|
+
};
|
|
28528
|
+
}
|
|
28529
|
+
|
|
28530
|
+
static types(): { [key: string]: any } {
|
|
28531
|
+
return {
|
|
28532
|
+
instanceId: 'string',
|
|
28533
|
+
routingProfiles: 'string',
|
|
28534
|
+
};
|
|
28535
|
+
}
|
|
28536
|
+
|
|
28537
|
+
constructor(map?: { [key: string]: any }) {
|
|
28538
|
+
super(map);
|
|
28539
|
+
}
|
|
28540
|
+
}
|
|
28541
|
+
|
|
28542
|
+
export class UpdateChatRoutingProfileResponseBody extends $tea.Model {
|
|
28543
|
+
/**
|
|
28544
|
+
* @example
|
|
28545
|
+
* OK
|
|
28546
|
+
*/
|
|
28547
|
+
code?: string;
|
|
28548
|
+
/**
|
|
28549
|
+
* @example
|
|
28550
|
+
* 200
|
|
28551
|
+
*/
|
|
28552
|
+
httpStatusCode?: number;
|
|
28553
|
+
message?: string;
|
|
28554
|
+
params?: string[];
|
|
28555
|
+
/**
|
|
28556
|
+
* @example
|
|
28557
|
+
* BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E
|
|
28558
|
+
*/
|
|
28559
|
+
requestId?: string;
|
|
28560
|
+
static names(): { [key: string]: string } {
|
|
28561
|
+
return {
|
|
28562
|
+
code: 'Code',
|
|
28563
|
+
httpStatusCode: 'HttpStatusCode',
|
|
28564
|
+
message: 'Message',
|
|
28565
|
+
params: 'Params',
|
|
28566
|
+
requestId: 'RequestId',
|
|
28567
|
+
};
|
|
28568
|
+
}
|
|
28569
|
+
|
|
28570
|
+
static types(): { [key: string]: any } {
|
|
28571
|
+
return {
|
|
28572
|
+
code: 'string',
|
|
28573
|
+
httpStatusCode: 'number',
|
|
28574
|
+
message: 'string',
|
|
28575
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
28576
|
+
requestId: 'string',
|
|
28577
|
+
};
|
|
28578
|
+
}
|
|
28579
|
+
|
|
28580
|
+
constructor(map?: { [key: string]: any }) {
|
|
28581
|
+
super(map);
|
|
28582
|
+
}
|
|
28583
|
+
}
|
|
28584
|
+
|
|
28585
|
+
export class UpdateChatRoutingProfileResponse extends $tea.Model {
|
|
28586
|
+
headers?: { [key: string]: string };
|
|
28587
|
+
statusCode?: number;
|
|
28588
|
+
body?: UpdateChatRoutingProfileResponseBody;
|
|
28589
|
+
static names(): { [key: string]: string } {
|
|
28590
|
+
return {
|
|
28591
|
+
headers: 'headers',
|
|
28592
|
+
statusCode: 'statusCode',
|
|
28593
|
+
body: 'body',
|
|
28594
|
+
};
|
|
28595
|
+
}
|
|
28596
|
+
|
|
28597
|
+
static types(): { [key: string]: any } {
|
|
28598
|
+
return {
|
|
28599
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28600
|
+
statusCode: 'number',
|
|
28601
|
+
body: UpdateChatRoutingProfileResponseBody,
|
|
28602
|
+
};
|
|
28603
|
+
}
|
|
28604
|
+
|
|
28605
|
+
constructor(map?: { [key: string]: any }) {
|
|
28606
|
+
super(map);
|
|
28607
|
+
}
|
|
28608
|
+
}
|
|
28609
|
+
|
|
28386
28610
|
export class UpdateConfigItemsRequest extends $tea.Model {
|
|
28387
28611
|
/**
|
|
28388
28612
|
* @remarks
|
|
@@ -32506,6 +32730,60 @@ export class GetCaseFileUploadUrlResponseBodyData extends $tea.Model {
|
|
|
32506
32730
|
}
|
|
32507
32731
|
}
|
|
32508
32732
|
|
|
32733
|
+
export class GetChatRoutingProfileResponseBodyData extends $tea.Model {
|
|
32734
|
+
/**
|
|
32735
|
+
* @example
|
|
32736
|
+
* {
|
|
32737
|
+
* "AllowExceedingLimitWhenTransferring": false,
|
|
32738
|
+
* "ConcurrencyLimit": 4,
|
|
32739
|
+
* "AllowExceedingLimitWhenClaiming": true,
|
|
32740
|
+
* "Enabled": true
|
|
32741
|
+
* }
|
|
32742
|
+
*/
|
|
32743
|
+
agentConcurrencySettings?: string;
|
|
32744
|
+
/**
|
|
32745
|
+
* @example
|
|
32746
|
+
* {"IdleChatTimeoutSeconds":300}
|
|
32747
|
+
*/
|
|
32748
|
+
chatSettings?: string;
|
|
32749
|
+
/**
|
|
32750
|
+
* @example
|
|
32751
|
+
* {
|
|
32752
|
+
* "AgentRingTimeoutSeconds": 30,
|
|
32753
|
+
* "Enabled": true,
|
|
32754
|
+
* "MaxNumberOfConversationsAgentCanMiss": 5,
|
|
32755
|
+
* "PostAgentMissingConversionsAction": "Nothing"
|
|
32756
|
+
* }
|
|
32757
|
+
*/
|
|
32758
|
+
distributionSettings?: string;
|
|
32759
|
+
/**
|
|
32760
|
+
* @example
|
|
32761
|
+
* Automatic
|
|
32762
|
+
*/
|
|
32763
|
+
routingType?: string;
|
|
32764
|
+
static names(): { [key: string]: string } {
|
|
32765
|
+
return {
|
|
32766
|
+
agentConcurrencySettings: 'AgentConcurrencySettings',
|
|
32767
|
+
chatSettings: 'ChatSettings',
|
|
32768
|
+
distributionSettings: 'DistributionSettings',
|
|
32769
|
+
routingType: 'RoutingType',
|
|
32770
|
+
};
|
|
32771
|
+
}
|
|
32772
|
+
|
|
32773
|
+
static types(): { [key: string]: any } {
|
|
32774
|
+
return {
|
|
32775
|
+
agentConcurrencySettings: 'string',
|
|
32776
|
+
chatSettings: 'string',
|
|
32777
|
+
distributionSettings: 'string',
|
|
32778
|
+
routingType: 'string',
|
|
32779
|
+
};
|
|
32780
|
+
}
|
|
32781
|
+
|
|
32782
|
+
constructor(map?: { [key: string]: any }) {
|
|
32783
|
+
super(map);
|
|
32784
|
+
}
|
|
32785
|
+
}
|
|
32786
|
+
|
|
32509
32787
|
export class GetContactFlowResponseBodyData extends $tea.Model {
|
|
32510
32788
|
/**
|
|
32511
32789
|
* @example
|
|
@@ -38247,6 +38525,7 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38247
38525
|
* 16
|
|
38248
38526
|
*/
|
|
38249
38527
|
callDuration?: string;
|
|
38528
|
+
callIds?: string;
|
|
38250
38529
|
/**
|
|
38251
38530
|
* @example
|
|
38252
38531
|
* 1332315****
|
|
@@ -38449,6 +38728,7 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38449
38728
|
agentNames: 'AgentNames',
|
|
38450
38729
|
broker: 'Broker',
|
|
38451
38730
|
callDuration: 'CallDuration',
|
|
38731
|
+
callIds: 'CallIds',
|
|
38452
38732
|
calledNumber: 'CalledNumber',
|
|
38453
38733
|
calleeLocation: 'CalleeLocation',
|
|
38454
38734
|
callerLocation: 'CallerLocation',
|
|
@@ -38506,6 +38786,7 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38506
38786
|
agentNames: 'string',
|
|
38507
38787
|
broker: 'string',
|
|
38508
38788
|
callDuration: 'string',
|
|
38789
|
+
callIds: 'string',
|
|
38509
38790
|
calledNumber: 'string',
|
|
38510
38791
|
calleeLocation: 'string',
|
|
38511
38792
|
callerLocation: 'string',
|
|
@@ -58604,6 +58885,44 @@ export default class Client extends OpenApi {
|
|
|
58604
58885
|
return await this.getChatMediaUrlWithOptions(request, runtime);
|
|
58605
58886
|
}
|
|
58606
58887
|
|
|
58888
|
+
/**
|
|
58889
|
+
* @param request - GetChatRoutingProfileRequest
|
|
58890
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
58891
|
+
* @returns GetChatRoutingProfileResponse
|
|
58892
|
+
*/
|
|
58893
|
+
async getChatRoutingProfileWithOptions(request: GetChatRoutingProfileRequest, runtime: $Util.RuntimeOptions): Promise<GetChatRoutingProfileResponse> {
|
|
58894
|
+
Util.validateModel(request);
|
|
58895
|
+
let query = { };
|
|
58896
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
58897
|
+
query["InstanceId"] = request.instanceId;
|
|
58898
|
+
}
|
|
58899
|
+
|
|
58900
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
58901
|
+
query: OpenApiUtil.query(query),
|
|
58902
|
+
});
|
|
58903
|
+
let params = new $OpenApi.Params({
|
|
58904
|
+
action: "GetChatRoutingProfile",
|
|
58905
|
+
version: "2020-07-01",
|
|
58906
|
+
protocol: "HTTPS",
|
|
58907
|
+
pathname: "/",
|
|
58908
|
+
method: "POST",
|
|
58909
|
+
authType: "AK",
|
|
58910
|
+
style: "RPC",
|
|
58911
|
+
reqBodyType: "formData",
|
|
58912
|
+
bodyType: "json",
|
|
58913
|
+
});
|
|
58914
|
+
return $tea.cast<GetChatRoutingProfileResponse>(await this.callApi(params, req, runtime), new GetChatRoutingProfileResponse({}));
|
|
58915
|
+
}
|
|
58916
|
+
|
|
58917
|
+
/**
|
|
58918
|
+
* @param request - GetChatRoutingProfileRequest
|
|
58919
|
+
* @returns GetChatRoutingProfileResponse
|
|
58920
|
+
*/
|
|
58921
|
+
async getChatRoutingProfile(request: GetChatRoutingProfileRequest): Promise<GetChatRoutingProfileResponse> {
|
|
58922
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
58923
|
+
return await this.getChatRoutingProfileWithOptions(request, runtime);
|
|
58924
|
+
}
|
|
58925
|
+
|
|
58607
58926
|
/**
|
|
58608
58927
|
* @param request - GetContactFlowRequest
|
|
58609
58928
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -61064,6 +61383,14 @@ export default class Client extends OpenApi {
|
|
|
61064
61383
|
query["PageSize"] = request.pageSize;
|
|
61065
61384
|
}
|
|
61066
61385
|
|
|
61386
|
+
if (!Util.isUnset(request.releaseInitiatorList)) {
|
|
61387
|
+
query["ReleaseInitiatorList"] = request.releaseInitiatorList;
|
|
61388
|
+
}
|
|
61389
|
+
|
|
61390
|
+
if (!Util.isUnset(request.releaseReasonList)) {
|
|
61391
|
+
query["ReleaseReasonList"] = request.releaseReasonList;
|
|
61392
|
+
}
|
|
61393
|
+
|
|
61067
61394
|
if (!Util.isUnset(request.satisfactionDescriptionList)) {
|
|
61068
61395
|
query["SatisfactionDescriptionList"] = request.satisfactionDescriptionList;
|
|
61069
61396
|
}
|
|
@@ -64100,6 +64427,10 @@ export default class Client extends OpenApi {
|
|
|
64100
64427
|
query["DeviceId"] = request.deviceId;
|
|
64101
64428
|
}
|
|
64102
64429
|
|
|
64430
|
+
if (!Util.isUnset(request.flashSmsVariables)) {
|
|
64431
|
+
query["FlashSmsVariables"] = request.flashSmsVariables;
|
|
64432
|
+
}
|
|
64433
|
+
|
|
64103
64434
|
if (!Util.isUnset(request.instanceId)) {
|
|
64104
64435
|
query["InstanceId"] = request.instanceId;
|
|
64105
64436
|
}
|
|
@@ -67244,6 +67575,48 @@ export default class Client extends OpenApi {
|
|
|
67244
67575
|
return await this.updateCampaignWithOptions(request, runtime);
|
|
67245
67576
|
}
|
|
67246
67577
|
|
|
67578
|
+
/**
|
|
67579
|
+
* @param request - UpdateChatRoutingProfileRequest
|
|
67580
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
67581
|
+
* @returns UpdateChatRoutingProfileResponse
|
|
67582
|
+
*/
|
|
67583
|
+
async updateChatRoutingProfileWithOptions(request: UpdateChatRoutingProfileRequest, runtime: $Util.RuntimeOptions): Promise<UpdateChatRoutingProfileResponse> {
|
|
67584
|
+
Util.validateModel(request);
|
|
67585
|
+
let query = { };
|
|
67586
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
67587
|
+
query["InstanceId"] = request.instanceId;
|
|
67588
|
+
}
|
|
67589
|
+
|
|
67590
|
+
if (!Util.isUnset(request.routingProfiles)) {
|
|
67591
|
+
query["RoutingProfiles"] = request.routingProfiles;
|
|
67592
|
+
}
|
|
67593
|
+
|
|
67594
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
67595
|
+
query: OpenApiUtil.query(query),
|
|
67596
|
+
});
|
|
67597
|
+
let params = new $OpenApi.Params({
|
|
67598
|
+
action: "UpdateChatRoutingProfile",
|
|
67599
|
+
version: "2020-07-01",
|
|
67600
|
+
protocol: "HTTPS",
|
|
67601
|
+
pathname: "/",
|
|
67602
|
+
method: "POST",
|
|
67603
|
+
authType: "AK",
|
|
67604
|
+
style: "RPC",
|
|
67605
|
+
reqBodyType: "formData",
|
|
67606
|
+
bodyType: "json",
|
|
67607
|
+
});
|
|
67608
|
+
return $tea.cast<UpdateChatRoutingProfileResponse>(await this.callApi(params, req, runtime), new UpdateChatRoutingProfileResponse({}));
|
|
67609
|
+
}
|
|
67610
|
+
|
|
67611
|
+
/**
|
|
67612
|
+
* @param request - UpdateChatRoutingProfileRequest
|
|
67613
|
+
* @returns UpdateChatRoutingProfileResponse
|
|
67614
|
+
*/
|
|
67615
|
+
async updateChatRoutingProfile(request: UpdateChatRoutingProfileRequest): Promise<UpdateChatRoutingProfileResponse> {
|
|
67616
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
67617
|
+
return await this.updateChatRoutingProfileWithOptions(request, runtime);
|
|
67618
|
+
}
|
|
67619
|
+
|
|
67247
67620
|
/**
|
|
67248
67621
|
* @param request - UpdateConfigItemsRequest
|
|
67249
67622
|
* @param runtime - runtime options for this request RuntimeOptions
|