@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 +371 -0
- package/dist/client.js +472 -18
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +654 -0
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
|
|
@@ -13778,6 +13872,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13778
13872
|
* agent@ccc-test
|
|
13779
13873
|
*/
|
|
13780
13874
|
agentId?: string;
|
|
13875
|
+
analyticsReportReady?: boolean;
|
|
13781
13876
|
/**
|
|
13782
13877
|
* @example
|
|
13783
13878
|
* 021****4972
|
|
@@ -13898,6 +13993,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13898
13993
|
return {
|
|
13899
13994
|
accessChannelTypeList: 'AccessChannelTypeList',
|
|
13900
13995
|
agentId: 'AgentId',
|
|
13996
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
13901
13997
|
broker: 'Broker',
|
|
13902
13998
|
calledNumber: 'CalledNumber',
|
|
13903
13999
|
callingNumber: 'CallingNumber',
|
|
@@ -13929,6 +14025,7 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13929
14025
|
return {
|
|
13930
14026
|
accessChannelTypeList: 'string',
|
|
13931
14027
|
agentId: 'string',
|
|
14028
|
+
analyticsReportReady: 'boolean',
|
|
13932
14029
|
broker: 'string',
|
|
13933
14030
|
calledNumber: 'string',
|
|
13934
14031
|
callingNumber: 'string',
|
|
@@ -28392,6 +28489,127 @@ export class UpdateCampaignResponse extends $tea.Model {
|
|
|
28392
28489
|
}
|
|
28393
28490
|
}
|
|
28394
28491
|
|
|
28492
|
+
export class UpdateChatRoutingProfileRequest extends $tea.Model {
|
|
28493
|
+
/**
|
|
28494
|
+
* @remarks
|
|
28495
|
+
* This parameter is required.
|
|
28496
|
+
*
|
|
28497
|
+
* @example
|
|
28498
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
28499
|
+
*/
|
|
28500
|
+
instanceId?: string;
|
|
28501
|
+
/**
|
|
28502
|
+
* @remarks
|
|
28503
|
+
* This parameter is required.
|
|
28504
|
+
*
|
|
28505
|
+
* @example
|
|
28506
|
+
* {
|
|
28507
|
+
* "RoutingType": "Automatic",
|
|
28508
|
+
* "AgentConcurrencySettings": {
|
|
28509
|
+
* "AllowExceedingLimitWhenTransferring": false,
|
|
28510
|
+
* "ConcurrencyLimit": 4,
|
|
28511
|
+
* "AllowExceedingLimitWhenClaiming": true,
|
|
28512
|
+
* "Enabled": true
|
|
28513
|
+
* },
|
|
28514
|
+
* "ChatSettings": {
|
|
28515
|
+
* "IdleChatTimeoutSeconds": 300
|
|
28516
|
+
* },
|
|
28517
|
+
* "DistributionSettings": {
|
|
28518
|
+
* "Enabled": true,
|
|
28519
|
+
* "AgentRingTimeoutSeconds": 119,
|
|
28520
|
+
* "MaxNumberOfConversationsAgentCanMiss": 5,
|
|
28521
|
+
* "PostAgentMissingConversionsAction": "Nothing"
|
|
28522
|
+
* }
|
|
28523
|
+
* }
|
|
28524
|
+
*/
|
|
28525
|
+
routingProfiles?: string;
|
|
28526
|
+
static names(): { [key: string]: string } {
|
|
28527
|
+
return {
|
|
28528
|
+
instanceId: 'InstanceId',
|
|
28529
|
+
routingProfiles: 'RoutingProfiles',
|
|
28530
|
+
};
|
|
28531
|
+
}
|
|
28532
|
+
|
|
28533
|
+
static types(): { [key: string]: any } {
|
|
28534
|
+
return {
|
|
28535
|
+
instanceId: 'string',
|
|
28536
|
+
routingProfiles: 'string',
|
|
28537
|
+
};
|
|
28538
|
+
}
|
|
28539
|
+
|
|
28540
|
+
constructor(map?: { [key: string]: any }) {
|
|
28541
|
+
super(map);
|
|
28542
|
+
}
|
|
28543
|
+
}
|
|
28544
|
+
|
|
28545
|
+
export class UpdateChatRoutingProfileResponseBody extends $tea.Model {
|
|
28546
|
+
/**
|
|
28547
|
+
* @example
|
|
28548
|
+
* OK
|
|
28549
|
+
*/
|
|
28550
|
+
code?: string;
|
|
28551
|
+
/**
|
|
28552
|
+
* @example
|
|
28553
|
+
* 200
|
|
28554
|
+
*/
|
|
28555
|
+
httpStatusCode?: number;
|
|
28556
|
+
message?: string;
|
|
28557
|
+
params?: string[];
|
|
28558
|
+
/**
|
|
28559
|
+
* @example
|
|
28560
|
+
* BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E
|
|
28561
|
+
*/
|
|
28562
|
+
requestId?: string;
|
|
28563
|
+
static names(): { [key: string]: string } {
|
|
28564
|
+
return {
|
|
28565
|
+
code: 'Code',
|
|
28566
|
+
httpStatusCode: 'HttpStatusCode',
|
|
28567
|
+
message: 'Message',
|
|
28568
|
+
params: 'Params',
|
|
28569
|
+
requestId: 'RequestId',
|
|
28570
|
+
};
|
|
28571
|
+
}
|
|
28572
|
+
|
|
28573
|
+
static types(): { [key: string]: any } {
|
|
28574
|
+
return {
|
|
28575
|
+
code: 'string',
|
|
28576
|
+
httpStatusCode: 'number',
|
|
28577
|
+
message: 'string',
|
|
28578
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
28579
|
+
requestId: 'string',
|
|
28580
|
+
};
|
|
28581
|
+
}
|
|
28582
|
+
|
|
28583
|
+
constructor(map?: { [key: string]: any }) {
|
|
28584
|
+
super(map);
|
|
28585
|
+
}
|
|
28586
|
+
}
|
|
28587
|
+
|
|
28588
|
+
export class UpdateChatRoutingProfileResponse extends $tea.Model {
|
|
28589
|
+
headers?: { [key: string]: string };
|
|
28590
|
+
statusCode?: number;
|
|
28591
|
+
body?: UpdateChatRoutingProfileResponseBody;
|
|
28592
|
+
static names(): { [key: string]: string } {
|
|
28593
|
+
return {
|
|
28594
|
+
headers: 'headers',
|
|
28595
|
+
statusCode: 'statusCode',
|
|
28596
|
+
body: 'body',
|
|
28597
|
+
};
|
|
28598
|
+
}
|
|
28599
|
+
|
|
28600
|
+
static types(): { [key: string]: any } {
|
|
28601
|
+
return {
|
|
28602
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28603
|
+
statusCode: 'number',
|
|
28604
|
+
body: UpdateChatRoutingProfileResponseBody,
|
|
28605
|
+
};
|
|
28606
|
+
}
|
|
28607
|
+
|
|
28608
|
+
constructor(map?: { [key: string]: any }) {
|
|
28609
|
+
super(map);
|
|
28610
|
+
}
|
|
28611
|
+
}
|
|
28612
|
+
|
|
28395
28613
|
export class UpdateConfigItemsRequest extends $tea.Model {
|
|
28396
28614
|
/**
|
|
28397
28615
|
* @remarks
|
|
@@ -31963,6 +32181,149 @@ export class GetCallDetailRecordResponseBodyDataAgentEvents extends $tea.Model {
|
|
|
31963
32181
|
}
|
|
31964
32182
|
}
|
|
31965
32183
|
|
|
32184
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion extends $tea.Model {
|
|
32185
|
+
confidence?: number;
|
|
32186
|
+
remark?: string;
|
|
32187
|
+
success?: boolean;
|
|
32188
|
+
taskId?: string;
|
|
32189
|
+
type?: string;
|
|
32190
|
+
static names(): { [key: string]: string } {
|
|
32191
|
+
return {
|
|
32192
|
+
confidence: 'Confidence',
|
|
32193
|
+
remark: 'Remark',
|
|
32194
|
+
success: 'Success',
|
|
32195
|
+
taskId: 'TaskId',
|
|
32196
|
+
type: 'Type',
|
|
32197
|
+
};
|
|
32198
|
+
}
|
|
32199
|
+
|
|
32200
|
+
static types(): { [key: string]: any } {
|
|
32201
|
+
return {
|
|
32202
|
+
confidence: 'number',
|
|
32203
|
+
remark: 'string',
|
|
32204
|
+
success: 'boolean',
|
|
32205
|
+
taskId: 'string',
|
|
32206
|
+
type: 'string',
|
|
32207
|
+
};
|
|
32208
|
+
}
|
|
32209
|
+
|
|
32210
|
+
constructor(map?: { [key: string]: any }) {
|
|
32211
|
+
super(map);
|
|
32212
|
+
}
|
|
32213
|
+
}
|
|
32214
|
+
|
|
32215
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving extends $tea.Model {
|
|
32216
|
+
problem?: string;
|
|
32217
|
+
solution?: string;
|
|
32218
|
+
solved?: boolean;
|
|
32219
|
+
success?: boolean;
|
|
32220
|
+
taskId?: string;
|
|
32221
|
+
static names(): { [key: string]: string } {
|
|
32222
|
+
return {
|
|
32223
|
+
problem: 'Problem',
|
|
32224
|
+
solution: 'Solution',
|
|
32225
|
+
solved: 'Solved',
|
|
32226
|
+
success: 'Success',
|
|
32227
|
+
taskId: 'TaskId',
|
|
32228
|
+
};
|
|
32229
|
+
}
|
|
32230
|
+
|
|
32231
|
+
static types(): { [key: string]: any } {
|
|
32232
|
+
return {
|
|
32233
|
+
problem: 'string',
|
|
32234
|
+
solution: 'string',
|
|
32235
|
+
solved: 'boolean',
|
|
32236
|
+
success: 'boolean',
|
|
32237
|
+
taskId: 'string',
|
|
32238
|
+
};
|
|
32239
|
+
}
|
|
32240
|
+
|
|
32241
|
+
constructor(map?: { [key: string]: any }) {
|
|
32242
|
+
super(map);
|
|
32243
|
+
}
|
|
32244
|
+
}
|
|
32245
|
+
|
|
32246
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction extends $tea.Model {
|
|
32247
|
+
remark?: string;
|
|
32248
|
+
satisfactionDescription?: string;
|
|
32249
|
+
success?: boolean;
|
|
32250
|
+
taskId?: string;
|
|
32251
|
+
static names(): { [key: string]: string } {
|
|
32252
|
+
return {
|
|
32253
|
+
remark: 'Remark',
|
|
32254
|
+
satisfactionDescription: 'SatisfactionDescription',
|
|
32255
|
+
success: 'Success',
|
|
32256
|
+
taskId: 'TaskId',
|
|
32257
|
+
};
|
|
32258
|
+
}
|
|
32259
|
+
|
|
32260
|
+
static types(): { [key: string]: any } {
|
|
32261
|
+
return {
|
|
32262
|
+
remark: 'string',
|
|
32263
|
+
satisfactionDescription: 'string',
|
|
32264
|
+
success: 'boolean',
|
|
32265
|
+
taskId: 'string',
|
|
32266
|
+
};
|
|
32267
|
+
}
|
|
32268
|
+
|
|
32269
|
+
constructor(map?: { [key: string]: any }) {
|
|
32270
|
+
super(map);
|
|
32271
|
+
}
|
|
32272
|
+
}
|
|
32273
|
+
|
|
32274
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList extends $tea.Model {
|
|
32275
|
+
success?: boolean;
|
|
32276
|
+
taskId?: string;
|
|
32277
|
+
tasks?: string[];
|
|
32278
|
+
static names(): { [key: string]: string } {
|
|
32279
|
+
return {
|
|
32280
|
+
success: 'Success',
|
|
32281
|
+
taskId: 'TaskId',
|
|
32282
|
+
tasks: 'Tasks',
|
|
32283
|
+
};
|
|
32284
|
+
}
|
|
32285
|
+
|
|
32286
|
+
static types(): { [key: string]: any } {
|
|
32287
|
+
return {
|
|
32288
|
+
success: 'boolean',
|
|
32289
|
+
taskId: 'string',
|
|
32290
|
+
tasks: { 'type': 'array', 'itemType': 'string' },
|
|
32291
|
+
};
|
|
32292
|
+
}
|
|
32293
|
+
|
|
32294
|
+
constructor(map?: { [key: string]: any }) {
|
|
32295
|
+
super(map);
|
|
32296
|
+
}
|
|
32297
|
+
}
|
|
32298
|
+
|
|
32299
|
+
export class GetCallDetailRecordResponseBodyDataAnalyticsReport extends $tea.Model {
|
|
32300
|
+
emotion?: GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion;
|
|
32301
|
+
problemSolving?: GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving;
|
|
32302
|
+
satisfaction?: GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction;
|
|
32303
|
+
todoList?: GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList;
|
|
32304
|
+
static names(): { [key: string]: string } {
|
|
32305
|
+
return {
|
|
32306
|
+
emotion: 'Emotion',
|
|
32307
|
+
problemSolving: 'ProblemSolving',
|
|
32308
|
+
satisfaction: 'Satisfaction',
|
|
32309
|
+
todoList: 'TodoList',
|
|
32310
|
+
};
|
|
32311
|
+
}
|
|
32312
|
+
|
|
32313
|
+
static types(): { [key: string]: any } {
|
|
32314
|
+
return {
|
|
32315
|
+
emotion: GetCallDetailRecordResponseBodyDataAnalyticsReportEmotion,
|
|
32316
|
+
problemSolving: GetCallDetailRecordResponseBodyDataAnalyticsReportProblemSolving,
|
|
32317
|
+
satisfaction: GetCallDetailRecordResponseBodyDataAnalyticsReportSatisfaction,
|
|
32318
|
+
todoList: GetCallDetailRecordResponseBodyDataAnalyticsReportTodoList,
|
|
32319
|
+
};
|
|
32320
|
+
}
|
|
32321
|
+
|
|
32322
|
+
constructor(map?: { [key: string]: any }) {
|
|
32323
|
+
super(map);
|
|
32324
|
+
}
|
|
32325
|
+
}
|
|
32326
|
+
|
|
31966
32327
|
export class GetCallDetailRecordResponseBodyDataCustomerEventsEventSequence extends $tea.Model {
|
|
31967
32328
|
/**
|
|
31968
32329
|
* @example
|
|
@@ -32167,6 +32528,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32167
32528
|
* agent1,agent2
|
|
32168
32529
|
*/
|
|
32169
32530
|
agentNames?: string;
|
|
32531
|
+
analyticsReport?: GetCallDetailRecordResponseBodyDataAnalyticsReport;
|
|
32532
|
+
analyticsReportReady?: boolean;
|
|
32170
32533
|
/**
|
|
32171
32534
|
* @example
|
|
32172
32535
|
* 50
|
|
@@ -32264,6 +32627,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32264
32627
|
agentEvents: 'AgentEvents',
|
|
32265
32628
|
agentIds: 'AgentIds',
|
|
32266
32629
|
agentNames: 'AgentNames',
|
|
32630
|
+
analyticsReport: 'AnalyticsReport',
|
|
32631
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
32267
32632
|
callDuration: 'CallDuration',
|
|
32268
32633
|
calledNumber: 'CalledNumber',
|
|
32269
32634
|
calleeLocation: 'CalleeLocation',
|
|
@@ -32296,6 +32661,8 @@ export class GetCallDetailRecordResponseBodyData extends $tea.Model {
|
|
|
32296
32661
|
agentEvents: { 'type': 'array', 'itemType': GetCallDetailRecordResponseBodyDataAgentEvents },
|
|
32297
32662
|
agentIds: 'string',
|
|
32298
32663
|
agentNames: 'string',
|
|
32664
|
+
analyticsReport: GetCallDetailRecordResponseBodyDataAnalyticsReport,
|
|
32665
|
+
analyticsReportReady: 'boolean',
|
|
32299
32666
|
callDuration: 'number',
|
|
32300
32667
|
calledNumber: 'string',
|
|
32301
32668
|
calleeLocation: 'string',
|
|
@@ -32515,6 +32882,60 @@ export class GetCaseFileUploadUrlResponseBodyData extends $tea.Model {
|
|
|
32515
32882
|
}
|
|
32516
32883
|
}
|
|
32517
32884
|
|
|
32885
|
+
export class GetChatRoutingProfileResponseBodyData extends $tea.Model {
|
|
32886
|
+
/**
|
|
32887
|
+
* @example
|
|
32888
|
+
* {
|
|
32889
|
+
* "AllowExceedingLimitWhenTransferring": false,
|
|
32890
|
+
* "ConcurrencyLimit": 4,
|
|
32891
|
+
* "AllowExceedingLimitWhenClaiming": true,
|
|
32892
|
+
* "Enabled": true
|
|
32893
|
+
* }
|
|
32894
|
+
*/
|
|
32895
|
+
agentConcurrencySettings?: string;
|
|
32896
|
+
/**
|
|
32897
|
+
* @example
|
|
32898
|
+
* {"IdleChatTimeoutSeconds":300}
|
|
32899
|
+
*/
|
|
32900
|
+
chatSettings?: string;
|
|
32901
|
+
/**
|
|
32902
|
+
* @example
|
|
32903
|
+
* {
|
|
32904
|
+
* "AgentRingTimeoutSeconds": 30,
|
|
32905
|
+
* "Enabled": true,
|
|
32906
|
+
* "MaxNumberOfConversationsAgentCanMiss": 5,
|
|
32907
|
+
* "PostAgentMissingConversionsAction": "Nothing"
|
|
32908
|
+
* }
|
|
32909
|
+
*/
|
|
32910
|
+
distributionSettings?: string;
|
|
32911
|
+
/**
|
|
32912
|
+
* @example
|
|
32913
|
+
* Automatic
|
|
32914
|
+
*/
|
|
32915
|
+
routingType?: string;
|
|
32916
|
+
static names(): { [key: string]: string } {
|
|
32917
|
+
return {
|
|
32918
|
+
agentConcurrencySettings: 'AgentConcurrencySettings',
|
|
32919
|
+
chatSettings: 'ChatSettings',
|
|
32920
|
+
distributionSettings: 'DistributionSettings',
|
|
32921
|
+
routingType: 'RoutingType',
|
|
32922
|
+
};
|
|
32923
|
+
}
|
|
32924
|
+
|
|
32925
|
+
static types(): { [key: string]: any } {
|
|
32926
|
+
return {
|
|
32927
|
+
agentConcurrencySettings: 'string',
|
|
32928
|
+
chatSettings: 'string',
|
|
32929
|
+
distributionSettings: 'string',
|
|
32930
|
+
routingType: 'string',
|
|
32931
|
+
};
|
|
32932
|
+
}
|
|
32933
|
+
|
|
32934
|
+
constructor(map?: { [key: string]: any }) {
|
|
32935
|
+
super(map);
|
|
32936
|
+
}
|
|
32937
|
+
}
|
|
32938
|
+
|
|
32518
32939
|
export class GetContactFlowResponseBodyData extends $tea.Model {
|
|
32519
32940
|
/**
|
|
32520
32941
|
* @example
|
|
@@ -38222,6 +38643,149 @@ export class ListCallDetailRecordsResponseBodyData extends $tea.Model {
|
|
|
38222
38643
|
}
|
|
38223
38644
|
}
|
|
38224
38645
|
|
|
38646
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion extends $tea.Model {
|
|
38647
|
+
confidence?: number;
|
|
38648
|
+
remark?: string;
|
|
38649
|
+
success?: boolean;
|
|
38650
|
+
taskId?: string;
|
|
38651
|
+
type?: string;
|
|
38652
|
+
static names(): { [key: string]: string } {
|
|
38653
|
+
return {
|
|
38654
|
+
confidence: 'Confidence',
|
|
38655
|
+
remark: 'Remark',
|
|
38656
|
+
success: 'Success',
|
|
38657
|
+
taskId: 'TaskId',
|
|
38658
|
+
type: 'Type',
|
|
38659
|
+
};
|
|
38660
|
+
}
|
|
38661
|
+
|
|
38662
|
+
static types(): { [key: string]: any } {
|
|
38663
|
+
return {
|
|
38664
|
+
confidence: 'number',
|
|
38665
|
+
remark: 'string',
|
|
38666
|
+
success: 'boolean',
|
|
38667
|
+
taskId: 'string',
|
|
38668
|
+
type: 'string',
|
|
38669
|
+
};
|
|
38670
|
+
}
|
|
38671
|
+
|
|
38672
|
+
constructor(map?: { [key: string]: any }) {
|
|
38673
|
+
super(map);
|
|
38674
|
+
}
|
|
38675
|
+
}
|
|
38676
|
+
|
|
38677
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving extends $tea.Model {
|
|
38678
|
+
problem?: string;
|
|
38679
|
+
solution?: string;
|
|
38680
|
+
solved?: boolean;
|
|
38681
|
+
success?: boolean;
|
|
38682
|
+
taskId?: string;
|
|
38683
|
+
static names(): { [key: string]: string } {
|
|
38684
|
+
return {
|
|
38685
|
+
problem: 'Problem',
|
|
38686
|
+
solution: 'Solution',
|
|
38687
|
+
solved: 'Solved',
|
|
38688
|
+
success: 'Success',
|
|
38689
|
+
taskId: 'TaskId',
|
|
38690
|
+
};
|
|
38691
|
+
}
|
|
38692
|
+
|
|
38693
|
+
static types(): { [key: string]: any } {
|
|
38694
|
+
return {
|
|
38695
|
+
problem: 'string',
|
|
38696
|
+
solution: 'string',
|
|
38697
|
+
solved: 'boolean',
|
|
38698
|
+
success: 'boolean',
|
|
38699
|
+
taskId: 'string',
|
|
38700
|
+
};
|
|
38701
|
+
}
|
|
38702
|
+
|
|
38703
|
+
constructor(map?: { [key: string]: any }) {
|
|
38704
|
+
super(map);
|
|
38705
|
+
}
|
|
38706
|
+
}
|
|
38707
|
+
|
|
38708
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction extends $tea.Model {
|
|
38709
|
+
remark?: string;
|
|
38710
|
+
satisfactionDescription?: string;
|
|
38711
|
+
success?: boolean;
|
|
38712
|
+
taskId?: string;
|
|
38713
|
+
static names(): { [key: string]: string } {
|
|
38714
|
+
return {
|
|
38715
|
+
remark: 'Remark',
|
|
38716
|
+
satisfactionDescription: 'SatisfactionDescription',
|
|
38717
|
+
success: 'Success',
|
|
38718
|
+
taskId: 'TaskId',
|
|
38719
|
+
};
|
|
38720
|
+
}
|
|
38721
|
+
|
|
38722
|
+
static types(): { [key: string]: any } {
|
|
38723
|
+
return {
|
|
38724
|
+
remark: 'string',
|
|
38725
|
+
satisfactionDescription: 'string',
|
|
38726
|
+
success: 'boolean',
|
|
38727
|
+
taskId: 'string',
|
|
38728
|
+
};
|
|
38729
|
+
}
|
|
38730
|
+
|
|
38731
|
+
constructor(map?: { [key: string]: any }) {
|
|
38732
|
+
super(map);
|
|
38733
|
+
}
|
|
38734
|
+
}
|
|
38735
|
+
|
|
38736
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList extends $tea.Model {
|
|
38737
|
+
success?: boolean;
|
|
38738
|
+
taskId?: string;
|
|
38739
|
+
tasks?: string[];
|
|
38740
|
+
static names(): { [key: string]: string } {
|
|
38741
|
+
return {
|
|
38742
|
+
success: 'Success',
|
|
38743
|
+
taskId: 'TaskId',
|
|
38744
|
+
tasks: 'Tasks',
|
|
38745
|
+
};
|
|
38746
|
+
}
|
|
38747
|
+
|
|
38748
|
+
static types(): { [key: string]: any } {
|
|
38749
|
+
return {
|
|
38750
|
+
success: 'boolean',
|
|
38751
|
+
taskId: 'string',
|
|
38752
|
+
tasks: { 'type': 'array', 'itemType': 'string' },
|
|
38753
|
+
};
|
|
38754
|
+
}
|
|
38755
|
+
|
|
38756
|
+
constructor(map?: { [key: string]: any }) {
|
|
38757
|
+
super(map);
|
|
38758
|
+
}
|
|
38759
|
+
}
|
|
38760
|
+
|
|
38761
|
+
export class ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport extends $tea.Model {
|
|
38762
|
+
emotion?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion;
|
|
38763
|
+
problemSolving?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving;
|
|
38764
|
+
satisfaction?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction;
|
|
38765
|
+
todoList?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList;
|
|
38766
|
+
static names(): { [key: string]: string } {
|
|
38767
|
+
return {
|
|
38768
|
+
emotion: 'Emotion',
|
|
38769
|
+
problemSolving: 'ProblemSolving',
|
|
38770
|
+
satisfaction: 'Satisfaction',
|
|
38771
|
+
todoList: 'TodoList',
|
|
38772
|
+
};
|
|
38773
|
+
}
|
|
38774
|
+
|
|
38775
|
+
static types(): { [key: string]: any } {
|
|
38776
|
+
return {
|
|
38777
|
+
emotion: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportEmotion,
|
|
38778
|
+
problemSolving: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportProblemSolving,
|
|
38779
|
+
satisfaction: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportSatisfaction,
|
|
38780
|
+
todoList: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReportTodoList,
|
|
38781
|
+
};
|
|
38782
|
+
}
|
|
38783
|
+
|
|
38784
|
+
constructor(map?: { [key: string]: any }) {
|
|
38785
|
+
super(map);
|
|
38786
|
+
}
|
|
38787
|
+
}
|
|
38788
|
+
|
|
38225
38789
|
export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
38226
38790
|
accessChannelName?: string;
|
|
38227
38791
|
/**
|
|
@@ -38246,6 +38810,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38246
38810
|
*/
|
|
38247
38811
|
agentIds?: string;
|
|
38248
38812
|
agentNames?: string;
|
|
38813
|
+
analyticsReport?: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport;
|
|
38814
|
+
analyticsReportReady?: boolean;
|
|
38249
38815
|
/**
|
|
38250
38816
|
* @example
|
|
38251
38817
|
* 053xxxx3127
|
|
@@ -38457,6 +39023,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38457
39023
|
additionalBroker: 'AdditionalBroker',
|
|
38458
39024
|
agentIds: 'AgentIds',
|
|
38459
39025
|
agentNames: 'AgentNames',
|
|
39026
|
+
analyticsReport: 'AnalyticsReport',
|
|
39027
|
+
analyticsReportReady: 'AnalyticsReportReady',
|
|
38460
39028
|
broker: 'Broker',
|
|
38461
39029
|
callDuration: 'CallDuration',
|
|
38462
39030
|
callIds: 'CallIds',
|
|
@@ -38515,6 +39083,8 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
38515
39083
|
additionalBroker: 'string',
|
|
38516
39084
|
agentIds: 'string',
|
|
38517
39085
|
agentNames: 'string',
|
|
39086
|
+
analyticsReport: ListCallDetailRecordsV2ResponseBodyDataListAnalyticsReport,
|
|
39087
|
+
analyticsReportReady: 'boolean',
|
|
38518
39088
|
broker: 'string',
|
|
38519
39089
|
callDuration: 'string',
|
|
38520
39090
|
callIds: 'string',
|
|
@@ -58616,6 +59186,44 @@ export default class Client extends OpenApi {
|
|
|
58616
59186
|
return await this.getChatMediaUrlWithOptions(request, runtime);
|
|
58617
59187
|
}
|
|
58618
59188
|
|
|
59189
|
+
/**
|
|
59190
|
+
* @param request - GetChatRoutingProfileRequest
|
|
59191
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
59192
|
+
* @returns GetChatRoutingProfileResponse
|
|
59193
|
+
*/
|
|
59194
|
+
async getChatRoutingProfileWithOptions(request: GetChatRoutingProfileRequest, runtime: $Util.RuntimeOptions): Promise<GetChatRoutingProfileResponse> {
|
|
59195
|
+
Util.validateModel(request);
|
|
59196
|
+
let query = { };
|
|
59197
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
59198
|
+
query["InstanceId"] = request.instanceId;
|
|
59199
|
+
}
|
|
59200
|
+
|
|
59201
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
59202
|
+
query: OpenApiUtil.query(query),
|
|
59203
|
+
});
|
|
59204
|
+
let params = new $OpenApi.Params({
|
|
59205
|
+
action: "GetChatRoutingProfile",
|
|
59206
|
+
version: "2020-07-01",
|
|
59207
|
+
protocol: "HTTPS",
|
|
59208
|
+
pathname: "/",
|
|
59209
|
+
method: "POST",
|
|
59210
|
+
authType: "AK",
|
|
59211
|
+
style: "RPC",
|
|
59212
|
+
reqBodyType: "formData",
|
|
59213
|
+
bodyType: "json",
|
|
59214
|
+
});
|
|
59215
|
+
return $tea.cast<GetChatRoutingProfileResponse>(await this.callApi(params, req, runtime), new GetChatRoutingProfileResponse({}));
|
|
59216
|
+
}
|
|
59217
|
+
|
|
59218
|
+
/**
|
|
59219
|
+
* @param request - GetChatRoutingProfileRequest
|
|
59220
|
+
* @returns GetChatRoutingProfileResponse
|
|
59221
|
+
*/
|
|
59222
|
+
async getChatRoutingProfile(request: GetChatRoutingProfileRequest): Promise<GetChatRoutingProfileResponse> {
|
|
59223
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
59224
|
+
return await this.getChatRoutingProfileWithOptions(request, runtime);
|
|
59225
|
+
}
|
|
59226
|
+
|
|
58619
59227
|
/**
|
|
58620
59228
|
* @param request - GetContactFlowRequest
|
|
58621
59229
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -61016,6 +61624,10 @@ export default class Client extends OpenApi {
|
|
|
61016
61624
|
query["AgentId"] = request.agentId;
|
|
61017
61625
|
}
|
|
61018
61626
|
|
|
61627
|
+
if (!Util.isUnset(request.analyticsReportReady)) {
|
|
61628
|
+
query["AnalyticsReportReady"] = request.analyticsReportReady;
|
|
61629
|
+
}
|
|
61630
|
+
|
|
61019
61631
|
if (!Util.isUnset(request.broker)) {
|
|
61020
61632
|
query["Broker"] = request.broker;
|
|
61021
61633
|
}
|
|
@@ -67268,6 +67880,48 @@ export default class Client extends OpenApi {
|
|
|
67268
67880
|
return await this.updateCampaignWithOptions(request, runtime);
|
|
67269
67881
|
}
|
|
67270
67882
|
|
|
67883
|
+
/**
|
|
67884
|
+
* @param request - UpdateChatRoutingProfileRequest
|
|
67885
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
67886
|
+
* @returns UpdateChatRoutingProfileResponse
|
|
67887
|
+
*/
|
|
67888
|
+
async updateChatRoutingProfileWithOptions(request: UpdateChatRoutingProfileRequest, runtime: $Util.RuntimeOptions): Promise<UpdateChatRoutingProfileResponse> {
|
|
67889
|
+
Util.validateModel(request);
|
|
67890
|
+
let query = { };
|
|
67891
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
67892
|
+
query["InstanceId"] = request.instanceId;
|
|
67893
|
+
}
|
|
67894
|
+
|
|
67895
|
+
if (!Util.isUnset(request.routingProfiles)) {
|
|
67896
|
+
query["RoutingProfiles"] = request.routingProfiles;
|
|
67897
|
+
}
|
|
67898
|
+
|
|
67899
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
67900
|
+
query: OpenApiUtil.query(query),
|
|
67901
|
+
});
|
|
67902
|
+
let params = new $OpenApi.Params({
|
|
67903
|
+
action: "UpdateChatRoutingProfile",
|
|
67904
|
+
version: "2020-07-01",
|
|
67905
|
+
protocol: "HTTPS",
|
|
67906
|
+
pathname: "/",
|
|
67907
|
+
method: "POST",
|
|
67908
|
+
authType: "AK",
|
|
67909
|
+
style: "RPC",
|
|
67910
|
+
reqBodyType: "formData",
|
|
67911
|
+
bodyType: "json",
|
|
67912
|
+
});
|
|
67913
|
+
return $tea.cast<UpdateChatRoutingProfileResponse>(await this.callApi(params, req, runtime), new UpdateChatRoutingProfileResponse({}));
|
|
67914
|
+
}
|
|
67915
|
+
|
|
67916
|
+
/**
|
|
67917
|
+
* @param request - UpdateChatRoutingProfileRequest
|
|
67918
|
+
* @returns UpdateChatRoutingProfileResponse
|
|
67919
|
+
*/
|
|
67920
|
+
async updateChatRoutingProfile(request: UpdateChatRoutingProfileRequest): Promise<UpdateChatRoutingProfileResponse> {
|
|
67921
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
67922
|
+
return await this.updateChatRoutingProfileWithOptions(request, runtime);
|
|
67923
|
+
}
|
|
67924
|
+
|
|
67271
67925
|
/**
|
|
67272
67926
|
* @param request - UpdateConfigItemsRequest
|
|
67273
67927
|
* @param runtime - runtime options for this request RuntimeOptions
|