@alicloud/ccc20200701 2.11.1 → 2.11.2
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 +54 -0
- package/dist/client.js +116 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +160 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -187,11 +187,13 @@ export class AddCasesResponse extends $tea.Model {
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
export class AddNumbersToSkillGroupRequest extends $tea.Model {
|
|
190
|
+
instNumberGroupIdList?: string;
|
|
190
191
|
instanceId?: string;
|
|
191
192
|
numberList?: string;
|
|
192
193
|
skillGroupId?: string;
|
|
193
194
|
static names(): { [key: string]: string } {
|
|
194
195
|
return {
|
|
196
|
+
instNumberGroupIdList: 'InstNumberGroupIdList',
|
|
195
197
|
instanceId: 'InstanceId',
|
|
196
198
|
numberList: 'NumberList',
|
|
197
199
|
skillGroupId: 'SkillGroupId',
|
|
@@ -200,6 +202,7 @@ export class AddNumbersToSkillGroupRequest extends $tea.Model {
|
|
|
200
202
|
|
|
201
203
|
static types(): { [key: string]: any } {
|
|
202
204
|
return {
|
|
205
|
+
instNumberGroupIdList: 'string',
|
|
203
206
|
instanceId: 'string',
|
|
204
207
|
numberList: 'string',
|
|
205
208
|
skillGroupId: 'string',
|
|
@@ -1041,6 +1044,7 @@ export class BargeInCallResponse extends $tea.Model {
|
|
|
1041
1044
|
|
|
1042
1045
|
export class BlindTransferRequest extends $tea.Model {
|
|
1043
1046
|
callPriority?: number;
|
|
1047
|
+
contactFlowVariables?: string;
|
|
1044
1048
|
deviceId?: string;
|
|
1045
1049
|
instanceId?: string;
|
|
1046
1050
|
jobId?: string;
|
|
@@ -1048,11 +1052,13 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
1048
1052
|
strategyParams?: string;
|
|
1049
1053
|
timeoutSeconds?: number;
|
|
1050
1054
|
transferee?: string;
|
|
1055
|
+
transfereeType?: string;
|
|
1051
1056
|
transferor?: string;
|
|
1052
1057
|
userId?: string;
|
|
1053
1058
|
static names(): { [key: string]: string } {
|
|
1054
1059
|
return {
|
|
1055
1060
|
callPriority: 'CallPriority',
|
|
1061
|
+
contactFlowVariables: 'ContactFlowVariables',
|
|
1056
1062
|
deviceId: 'DeviceId',
|
|
1057
1063
|
instanceId: 'InstanceId',
|
|
1058
1064
|
jobId: 'JobId',
|
|
@@ -1060,6 +1066,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
1060
1066
|
strategyParams: 'StrategyParams',
|
|
1061
1067
|
timeoutSeconds: 'TimeoutSeconds',
|
|
1062
1068
|
transferee: 'Transferee',
|
|
1069
|
+
transfereeType: 'TransfereeType',
|
|
1063
1070
|
transferor: 'Transferor',
|
|
1064
1071
|
userId: 'UserId',
|
|
1065
1072
|
};
|
|
@@ -1068,6 +1075,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
1068
1075
|
static types(): { [key: string]: any } {
|
|
1069
1076
|
return {
|
|
1070
1077
|
callPriority: 'number',
|
|
1078
|
+
contactFlowVariables: 'string',
|
|
1071
1079
|
deviceId: 'string',
|
|
1072
1080
|
instanceId: 'string',
|
|
1073
1081
|
jobId: 'string',
|
|
@@ -1075,6 +1083,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
1075
1083
|
strategyParams: 'string',
|
|
1076
1084
|
timeoutSeconds: 'number',
|
|
1077
1085
|
transferee: 'string',
|
|
1086
|
+
transfereeType: 'string',
|
|
1078
1087
|
transferor: 'string',
|
|
1079
1088
|
userId: 'string',
|
|
1080
1089
|
};
|
|
@@ -2376,24 +2385,28 @@ export class CreateSkillGroupResponse extends $tea.Model {
|
|
|
2376
2385
|
}
|
|
2377
2386
|
|
|
2378
2387
|
export class CreateUserRequest extends $tea.Model {
|
|
2388
|
+
avatarUrl?: string;
|
|
2379
2389
|
displayId?: string;
|
|
2380
2390
|
displayName?: string;
|
|
2381
2391
|
email?: string;
|
|
2382
2392
|
instanceId?: string;
|
|
2383
2393
|
loginName?: string;
|
|
2384
2394
|
mobile?: string;
|
|
2395
|
+
nickname?: string;
|
|
2385
2396
|
resetPassword?: boolean;
|
|
2386
2397
|
roleId?: string;
|
|
2387
2398
|
skillLevelList?: string;
|
|
2388
2399
|
workMode?: string;
|
|
2389
2400
|
static names(): { [key: string]: string } {
|
|
2390
2401
|
return {
|
|
2402
|
+
avatarUrl: 'AvatarUrl',
|
|
2391
2403
|
displayId: 'DisplayId',
|
|
2392
2404
|
displayName: 'DisplayName',
|
|
2393
2405
|
email: 'Email',
|
|
2394
2406
|
instanceId: 'InstanceId',
|
|
2395
2407
|
loginName: 'LoginName',
|
|
2396
2408
|
mobile: 'Mobile',
|
|
2409
|
+
nickname: 'Nickname',
|
|
2397
2410
|
resetPassword: 'ResetPassword',
|
|
2398
2411
|
roleId: 'RoleId',
|
|
2399
2412
|
skillLevelList: 'SkillLevelList',
|
|
@@ -2403,12 +2416,14 @@ export class CreateUserRequest extends $tea.Model {
|
|
|
2403
2416
|
|
|
2404
2417
|
static types(): { [key: string]: any } {
|
|
2405
2418
|
return {
|
|
2419
|
+
avatarUrl: 'string',
|
|
2406
2420
|
displayId: 'string',
|
|
2407
2421
|
displayName: 'string',
|
|
2408
2422
|
email: 'string',
|
|
2409
2423
|
instanceId: 'string',
|
|
2410
2424
|
loginName: 'string',
|
|
2411
2425
|
mobile: 'string',
|
|
2426
|
+
nickname: 'string',
|
|
2412
2427
|
resetPassword: 'boolean',
|
|
2413
2428
|
roleId: 'string',
|
|
2414
2429
|
skillLevelList: 'string',
|
|
@@ -2426,6 +2441,7 @@ export class CreateUserResponseBody extends $tea.Model {
|
|
|
2426
2441
|
data?: CreateUserResponseBodyData;
|
|
2427
2442
|
httpStatusCode?: number;
|
|
2428
2443
|
message?: string;
|
|
2444
|
+
params?: string[];
|
|
2429
2445
|
requestId?: string;
|
|
2430
2446
|
static names(): { [key: string]: string } {
|
|
2431
2447
|
return {
|
|
@@ -2433,6 +2449,7 @@ export class CreateUserResponseBody extends $tea.Model {
|
|
|
2433
2449
|
data: 'Data',
|
|
2434
2450
|
httpStatusCode: 'HttpStatusCode',
|
|
2435
2451
|
message: 'Message',
|
|
2452
|
+
params: 'Params',
|
|
2436
2453
|
requestId: 'RequestId',
|
|
2437
2454
|
};
|
|
2438
2455
|
}
|
|
@@ -2443,6 +2460,7 @@ export class CreateUserResponseBody extends $tea.Model {
|
|
|
2443
2460
|
data: CreateUserResponseBodyData,
|
|
2444
2461
|
httpStatusCode: 'number',
|
|
2445
2462
|
message: 'string',
|
|
2463
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
2446
2464
|
requestId: 'string',
|
|
2447
2465
|
};
|
|
2448
2466
|
}
|
|
@@ -4439,11 +4457,13 @@ export class GetInstanceResponse extends $tea.Model {
|
|
|
4439
4457
|
export class GetInstanceTrendingReportRequest extends $tea.Model {
|
|
4440
4458
|
endTime?: number;
|
|
4441
4459
|
instanceId?: string;
|
|
4460
|
+
mediaType?: string;
|
|
4442
4461
|
startTime?: number;
|
|
4443
4462
|
static names(): { [key: string]: string } {
|
|
4444
4463
|
return {
|
|
4445
4464
|
endTime: 'EndTime',
|
|
4446
4465
|
instanceId: 'InstanceId',
|
|
4466
|
+
mediaType: 'MediaType',
|
|
4447
4467
|
startTime: 'StartTime',
|
|
4448
4468
|
};
|
|
4449
4469
|
}
|
|
@@ -4452,6 +4472,7 @@ export class GetInstanceTrendingReportRequest extends $tea.Model {
|
|
|
4452
4472
|
return {
|
|
4453
4473
|
endTime: 'number',
|
|
4454
4474
|
instanceId: 'string',
|
|
4475
|
+
mediaType: 'string',
|
|
4455
4476
|
startTime: 'number',
|
|
4456
4477
|
};
|
|
4457
4478
|
}
|
|
@@ -4518,10 +4539,12 @@ export class GetInstanceTrendingReportResponse extends $tea.Model {
|
|
|
4518
4539
|
}
|
|
4519
4540
|
|
|
4520
4541
|
export class GetLoginDetailsRequest extends $tea.Model {
|
|
4542
|
+
chatDeviceId?: string;
|
|
4521
4543
|
instanceId?: string;
|
|
4522
4544
|
userId?: string;
|
|
4523
4545
|
static names(): { [key: string]: string } {
|
|
4524
4546
|
return {
|
|
4547
|
+
chatDeviceId: 'ChatDeviceId',
|
|
4525
4548
|
instanceId: 'InstanceId',
|
|
4526
4549
|
userId: 'UserId',
|
|
4527
4550
|
};
|
|
@@ -4529,6 +4552,7 @@ export class GetLoginDetailsRequest extends $tea.Model {
|
|
|
4529
4552
|
|
|
4530
4553
|
static types(): { [key: string]: any } {
|
|
4531
4554
|
return {
|
|
4555
|
+
chatDeviceId: 'string',
|
|
4532
4556
|
instanceId: 'string',
|
|
4533
4557
|
userId: 'string',
|
|
4534
4558
|
};
|
|
@@ -4915,15 +4939,18 @@ export class GetRealtimeCampaignStatsResponse extends $tea.Model {
|
|
|
4915
4939
|
|
|
4916
4940
|
export class GetRealtimeInstanceStatesRequest extends $tea.Model {
|
|
4917
4941
|
instanceId?: string;
|
|
4942
|
+
mediaType?: string;
|
|
4918
4943
|
static names(): { [key: string]: string } {
|
|
4919
4944
|
return {
|
|
4920
4945
|
instanceId: 'InstanceId',
|
|
4946
|
+
mediaType: 'MediaType',
|
|
4921
4947
|
};
|
|
4922
4948
|
}
|
|
4923
4949
|
|
|
4924
4950
|
static types(): { [key: string]: any } {
|
|
4925
4951
|
return {
|
|
4926
4952
|
instanceId: 'string',
|
|
4953
|
+
mediaType: 'string',
|
|
4927
4954
|
};
|
|
4928
4955
|
}
|
|
4929
4956
|
|
|
@@ -5333,6 +5360,7 @@ export class GetUserResponseBody extends $tea.Model {
|
|
|
5333
5360
|
data?: GetUserResponseBodyData;
|
|
5334
5361
|
httpStatusCode?: number;
|
|
5335
5362
|
message?: string;
|
|
5363
|
+
params?: string[];
|
|
5336
5364
|
requestId?: string;
|
|
5337
5365
|
static names(): { [key: string]: string } {
|
|
5338
5366
|
return {
|
|
@@ -5340,6 +5368,7 @@ export class GetUserResponseBody extends $tea.Model {
|
|
|
5340
5368
|
data: 'Data',
|
|
5341
5369
|
httpStatusCode: 'HttpStatusCode',
|
|
5342
5370
|
message: 'Message',
|
|
5371
|
+
params: 'Params',
|
|
5343
5372
|
requestId: 'RequestId',
|
|
5344
5373
|
};
|
|
5345
5374
|
}
|
|
@@ -5350,6 +5379,7 @@ export class GetUserResponseBody extends $tea.Model {
|
|
|
5350
5379
|
data: GetUserResponseBodyData,
|
|
5351
5380
|
httpStatusCode: 'number',
|
|
5352
5381
|
message: 'string',
|
|
5382
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
5353
5383
|
requestId: 'string',
|
|
5354
5384
|
};
|
|
5355
5385
|
}
|
|
@@ -16439,20 +16469,24 @@ export class CreateSkillGroupResponseBodyData extends $tea.Model {
|
|
|
16439
16469
|
}
|
|
16440
16470
|
|
|
16441
16471
|
export class CreateUserResponseBodyData extends $tea.Model {
|
|
16472
|
+
avatarUrl?: string;
|
|
16442
16473
|
displayName?: string;
|
|
16443
16474
|
email?: string;
|
|
16444
16475
|
extension?: string;
|
|
16445
16476
|
loginName?: string;
|
|
16446
16477
|
mobile?: string;
|
|
16478
|
+
nickname?: string;
|
|
16447
16479
|
userId?: string;
|
|
16448
16480
|
workMode?: string;
|
|
16449
16481
|
static names(): { [key: string]: string } {
|
|
16450
16482
|
return {
|
|
16483
|
+
avatarUrl: 'AvatarUrl',
|
|
16451
16484
|
displayName: 'DisplayName',
|
|
16452
16485
|
email: 'Email',
|
|
16453
16486
|
extension: 'Extension',
|
|
16454
16487
|
loginName: 'LoginName',
|
|
16455
16488
|
mobile: 'Mobile',
|
|
16489
|
+
nickname: 'Nickname',
|
|
16456
16490
|
userId: 'UserId',
|
|
16457
16491
|
workMode: 'WorkMode',
|
|
16458
16492
|
};
|
|
@@ -16460,11 +16494,13 @@ export class CreateUserResponseBodyData extends $tea.Model {
|
|
|
16460
16494
|
|
|
16461
16495
|
static types(): { [key: string]: any } {
|
|
16462
16496
|
return {
|
|
16497
|
+
avatarUrl: 'string',
|
|
16463
16498
|
displayName: 'string',
|
|
16464
16499
|
email: 'string',
|
|
16465
16500
|
extension: 'string',
|
|
16466
16501
|
loginName: 'string',
|
|
16467
16502
|
mobile: 'string',
|
|
16503
|
+
nickname: 'string',
|
|
16468
16504
|
userId: 'string',
|
|
16469
16505
|
workMode: 'string',
|
|
16470
16506
|
};
|
|
@@ -17938,13 +17974,37 @@ export class GetInstanceTrendingReportResponseBodyDataOutbound extends $tea.Mode
|
|
|
17938
17974
|
}
|
|
17939
17975
|
}
|
|
17940
17976
|
|
|
17977
|
+
export class GetInstanceTrendingReportResponseBodyDataOverall extends $tea.Model {
|
|
17978
|
+
maxLoggedInAgents?: number;
|
|
17979
|
+
statsTime?: number;
|
|
17980
|
+
static names(): { [key: string]: string } {
|
|
17981
|
+
return {
|
|
17982
|
+
maxLoggedInAgents: 'MaxLoggedInAgents',
|
|
17983
|
+
statsTime: 'StatsTime',
|
|
17984
|
+
};
|
|
17985
|
+
}
|
|
17986
|
+
|
|
17987
|
+
static types(): { [key: string]: any } {
|
|
17988
|
+
return {
|
|
17989
|
+
maxLoggedInAgents: 'number',
|
|
17990
|
+
statsTime: 'number',
|
|
17991
|
+
};
|
|
17992
|
+
}
|
|
17993
|
+
|
|
17994
|
+
constructor(map?: { [key: string]: any }) {
|
|
17995
|
+
super(map);
|
|
17996
|
+
}
|
|
17997
|
+
}
|
|
17998
|
+
|
|
17941
17999
|
export class GetInstanceTrendingReportResponseBodyData extends $tea.Model {
|
|
17942
18000
|
inbound?: GetInstanceTrendingReportResponseBodyDataInbound[];
|
|
17943
18001
|
outbound?: GetInstanceTrendingReportResponseBodyDataOutbound[];
|
|
18002
|
+
overall?: GetInstanceTrendingReportResponseBodyDataOverall[];
|
|
17944
18003
|
static names(): { [key: string]: string } {
|
|
17945
18004
|
return {
|
|
17946
18005
|
inbound: 'Inbound',
|
|
17947
18006
|
outbound: 'Outbound',
|
|
18007
|
+
overall: 'Overall',
|
|
17948
18008
|
};
|
|
17949
18009
|
}
|
|
17950
18010
|
|
|
@@ -17952,6 +18012,7 @@ export class GetInstanceTrendingReportResponseBodyData extends $tea.Model {
|
|
|
17952
18012
|
return {
|
|
17953
18013
|
inbound: { 'type': 'array', 'itemType': GetInstanceTrendingReportResponseBodyDataInbound },
|
|
17954
18014
|
outbound: { 'type': 'array', 'itemType': GetInstanceTrendingReportResponseBodyDataOutbound },
|
|
18015
|
+
overall: { 'type': 'array', 'itemType': GetInstanceTrendingReportResponseBodyDataOverall },
|
|
17955
18016
|
};
|
|
17956
18017
|
}
|
|
17957
18018
|
|
|
@@ -17962,11 +18023,19 @@ export class GetInstanceTrendingReportResponseBodyData extends $tea.Model {
|
|
|
17962
18023
|
|
|
17963
18024
|
export class GetLoginDetailsResponseBodyData extends $tea.Model {
|
|
17964
18025
|
agentServerUrl?: string;
|
|
18026
|
+
avatarUrl?: string;
|
|
18027
|
+
chatAppId?: string;
|
|
18028
|
+
chatAppKey?: string;
|
|
18029
|
+
chatDeviceId?: string;
|
|
18030
|
+
chatLoginToken?: string;
|
|
18031
|
+
chatServerUrl?: string;
|
|
18032
|
+
chatUserId?: string;
|
|
17965
18033
|
deviceExt?: string;
|
|
17966
18034
|
deviceId?: string;
|
|
17967
18035
|
deviceState?: string;
|
|
17968
18036
|
displayName?: string;
|
|
17969
18037
|
extension?: string;
|
|
18038
|
+
nickname?: string;
|
|
17970
18039
|
signature?: string;
|
|
17971
18040
|
signature2?: string;
|
|
17972
18041
|
sipServerUrl?: string;
|
|
@@ -17977,11 +18046,19 @@ export class GetLoginDetailsResponseBodyData extends $tea.Model {
|
|
|
17977
18046
|
static names(): { [key: string]: string } {
|
|
17978
18047
|
return {
|
|
17979
18048
|
agentServerUrl: 'AgentServerUrl',
|
|
18049
|
+
avatarUrl: 'AvatarUrl',
|
|
18050
|
+
chatAppId: 'ChatAppId',
|
|
18051
|
+
chatAppKey: 'ChatAppKey',
|
|
18052
|
+
chatDeviceId: 'ChatDeviceId',
|
|
18053
|
+
chatLoginToken: 'ChatLoginToken',
|
|
18054
|
+
chatServerUrl: 'ChatServerUrl',
|
|
18055
|
+
chatUserId: 'ChatUserId',
|
|
17980
18056
|
deviceExt: 'DeviceExt',
|
|
17981
18057
|
deviceId: 'DeviceId',
|
|
17982
18058
|
deviceState: 'DeviceState',
|
|
17983
18059
|
displayName: 'DisplayName',
|
|
17984
18060
|
extension: 'Extension',
|
|
18061
|
+
nickname: 'Nickname',
|
|
17985
18062
|
signature: 'Signature',
|
|
17986
18063
|
signature2: 'Signature2',
|
|
17987
18064
|
sipServerUrl: 'SipServerUrl',
|
|
@@ -17995,11 +18072,19 @@ export class GetLoginDetailsResponseBodyData extends $tea.Model {
|
|
|
17995
18072
|
static types(): { [key: string]: any } {
|
|
17996
18073
|
return {
|
|
17997
18074
|
agentServerUrl: 'string',
|
|
18075
|
+
avatarUrl: 'string',
|
|
18076
|
+
chatAppId: 'string',
|
|
18077
|
+
chatAppKey: 'string',
|
|
18078
|
+
chatDeviceId: 'string',
|
|
18079
|
+
chatLoginToken: 'string',
|
|
18080
|
+
chatServerUrl: 'string',
|
|
18081
|
+
chatUserId: 'string',
|
|
17998
18082
|
deviceExt: 'string',
|
|
17999
18083
|
deviceId: 'string',
|
|
18000
18084
|
deviceState: 'string',
|
|
18001
18085
|
displayName: 'string',
|
|
18002
18086
|
extension: 'string',
|
|
18087
|
+
nickname: 'string',
|
|
18003
18088
|
signature: 'string',
|
|
18004
18089
|
signature2: 'string',
|
|
18005
18090
|
sipServerUrl: 'string',
|
|
@@ -18091,6 +18176,10 @@ export class GetRealtimeCampaignStatsResponseBodyData extends $tea.Model {
|
|
|
18091
18176
|
breakingAgents?: number;
|
|
18092
18177
|
caps?: number;
|
|
18093
18178
|
loggedInAgents?: number;
|
|
18179
|
+
outboundScenarioBreakingAgents?: number;
|
|
18180
|
+
outboundScenarioReadyAgents?: number;
|
|
18181
|
+
outboundScenarioTalkingAgents?: number;
|
|
18182
|
+
outboundScenarioWorkingAgents?: number;
|
|
18094
18183
|
readyAgents?: number;
|
|
18095
18184
|
talkingAgents?: number;
|
|
18096
18185
|
totalAgents?: number;
|
|
@@ -18100,6 +18189,10 @@ export class GetRealtimeCampaignStatsResponseBodyData extends $tea.Model {
|
|
|
18100
18189
|
breakingAgents: 'BreakingAgents',
|
|
18101
18190
|
caps: 'Caps',
|
|
18102
18191
|
loggedInAgents: 'LoggedInAgents',
|
|
18192
|
+
outboundScenarioBreakingAgents: 'OutboundScenarioBreakingAgents',
|
|
18193
|
+
outboundScenarioReadyAgents: 'OutboundScenarioReadyAgents',
|
|
18194
|
+
outboundScenarioTalkingAgents: 'OutboundScenarioTalkingAgents',
|
|
18195
|
+
outboundScenarioWorkingAgents: 'OutboundScenarioWorkingAgents',
|
|
18103
18196
|
readyAgents: 'ReadyAgents',
|
|
18104
18197
|
talkingAgents: 'TalkingAgents',
|
|
18105
18198
|
totalAgents: 'TotalAgents',
|
|
@@ -18112,6 +18205,10 @@ export class GetRealtimeCampaignStatsResponseBodyData extends $tea.Model {
|
|
|
18112
18205
|
breakingAgents: 'number',
|
|
18113
18206
|
caps: 'number',
|
|
18114
18207
|
loggedInAgents: 'number',
|
|
18208
|
+
outboundScenarioBreakingAgents: 'number',
|
|
18209
|
+
outboundScenarioReadyAgents: 'number',
|
|
18210
|
+
outboundScenarioTalkingAgents: 'number',
|
|
18211
|
+
outboundScenarioWorkingAgents: 'number',
|
|
18115
18212
|
readyAgents: 'number',
|
|
18116
18213
|
talkingAgents: 'number',
|
|
18117
18214
|
totalAgents: 'number',
|
|
@@ -18124,7 +18221,30 @@ export class GetRealtimeCampaignStatsResponseBodyData extends $tea.Model {
|
|
|
18124
18221
|
}
|
|
18125
18222
|
}
|
|
18126
18223
|
|
|
18224
|
+
export class GetRealtimeInstanceStatesResponseBodyDataBreakCodeDetailList extends $tea.Model {
|
|
18225
|
+
breakCode?: string;
|
|
18226
|
+
count?: number;
|
|
18227
|
+
static names(): { [key: string]: string } {
|
|
18228
|
+
return {
|
|
18229
|
+
breakCode: 'BreakCode',
|
|
18230
|
+
count: 'Count',
|
|
18231
|
+
};
|
|
18232
|
+
}
|
|
18233
|
+
|
|
18234
|
+
static types(): { [key: string]: any } {
|
|
18235
|
+
return {
|
|
18236
|
+
breakCode: 'string',
|
|
18237
|
+
count: 'number',
|
|
18238
|
+
};
|
|
18239
|
+
}
|
|
18240
|
+
|
|
18241
|
+
constructor(map?: { [key: string]: any }) {
|
|
18242
|
+
super(map);
|
|
18243
|
+
}
|
|
18244
|
+
}
|
|
18245
|
+
|
|
18127
18246
|
export class GetRealtimeInstanceStatesResponseBodyData extends $tea.Model {
|
|
18247
|
+
breakCodeDetailList?: GetRealtimeInstanceStatesResponseBodyDataBreakCodeDetailList[];
|
|
18128
18248
|
breakingAgents?: number;
|
|
18129
18249
|
instanceId?: string;
|
|
18130
18250
|
interactiveCalls?: number;
|
|
@@ -18137,6 +18257,7 @@ export class GetRealtimeInstanceStatesResponseBodyData extends $tea.Model {
|
|
|
18137
18257
|
workingAgents?: number;
|
|
18138
18258
|
static names(): { [key: string]: string } {
|
|
18139
18259
|
return {
|
|
18260
|
+
breakCodeDetailList: 'BreakCodeDetailList',
|
|
18140
18261
|
breakingAgents: 'BreakingAgents',
|
|
18141
18262
|
instanceId: 'InstanceId',
|
|
18142
18263
|
interactiveCalls: 'InteractiveCalls',
|
|
@@ -18152,6 +18273,7 @@ export class GetRealtimeInstanceStatesResponseBodyData extends $tea.Model {
|
|
|
18152
18273
|
|
|
18153
18274
|
static types(): { [key: string]: any } {
|
|
18154
18275
|
return {
|
|
18276
|
+
breakCodeDetailList: { 'type': 'array', 'itemType': GetRealtimeInstanceStatesResponseBodyDataBreakCodeDetailList },
|
|
18155
18277
|
breakingAgents: 'number',
|
|
18156
18278
|
instanceId: 'string',
|
|
18157
18279
|
interactiveCalls: 'number',
|
|
@@ -18246,6 +18368,7 @@ export class GetUploadAudioDataParamsResponseBodyData extends $tea.Model {
|
|
|
18246
18368
|
}
|
|
18247
18369
|
|
|
18248
18370
|
export class GetUserResponseBodyData extends $tea.Model {
|
|
18371
|
+
avatarUrl?: string;
|
|
18249
18372
|
deviceExt?: string;
|
|
18250
18373
|
deviceId?: string;
|
|
18251
18374
|
deviceState?: string;
|
|
@@ -18256,12 +18379,14 @@ export class GetUserResponseBodyData extends $tea.Model {
|
|
|
18256
18379
|
instanceId?: string;
|
|
18257
18380
|
loginName?: string;
|
|
18258
18381
|
mobile?: string;
|
|
18382
|
+
nickname?: string;
|
|
18259
18383
|
roleId?: string;
|
|
18260
18384
|
roleName?: string;
|
|
18261
18385
|
userId?: string;
|
|
18262
18386
|
workMode?: string;
|
|
18263
18387
|
static names(): { [key: string]: string } {
|
|
18264
18388
|
return {
|
|
18389
|
+
avatarUrl: 'AvatarUrl',
|
|
18265
18390
|
deviceExt: 'DeviceExt',
|
|
18266
18391
|
deviceId: 'DeviceId',
|
|
18267
18392
|
deviceState: 'DeviceState',
|
|
@@ -18272,6 +18397,7 @@ export class GetUserResponseBodyData extends $tea.Model {
|
|
|
18272
18397
|
instanceId: 'InstanceId',
|
|
18273
18398
|
loginName: 'LoginName',
|
|
18274
18399
|
mobile: 'Mobile',
|
|
18400
|
+
nickname: 'Nickname',
|
|
18275
18401
|
roleId: 'RoleId',
|
|
18276
18402
|
roleName: 'RoleName',
|
|
18277
18403
|
userId: 'UserId',
|
|
@@ -18281,6 +18407,7 @@ export class GetUserResponseBodyData extends $tea.Model {
|
|
|
18281
18407
|
|
|
18282
18408
|
static types(): { [key: string]: any } {
|
|
18283
18409
|
return {
|
|
18410
|
+
avatarUrl: 'string',
|
|
18284
18411
|
deviceExt: 'string',
|
|
18285
18412
|
deviceId: 'string',
|
|
18286
18413
|
deviceState: 'string',
|
|
@@ -18291,6 +18418,7 @@ export class GetUserResponseBodyData extends $tea.Model {
|
|
|
18291
18418
|
instanceId: 'string',
|
|
18292
18419
|
loginName: 'string',
|
|
18293
18420
|
mobile: 'string',
|
|
18421
|
+
nickname: 'string',
|
|
18294
18422
|
roleId: 'string',
|
|
18295
18423
|
roleName: 'string',
|
|
18296
18424
|
userId: 'string',
|
|
@@ -28308,6 +28436,10 @@ export default class Client extends OpenApi {
|
|
|
28308
28436
|
async addNumbersToSkillGroupWithOptions(request: AddNumbersToSkillGroupRequest, runtime: $Util.RuntimeOptions): Promise<AddNumbersToSkillGroupResponse> {
|
|
28309
28437
|
Util.validateModel(request);
|
|
28310
28438
|
let query = { };
|
|
28439
|
+
if (!Util.isUnset(request.instNumberGroupIdList)) {
|
|
28440
|
+
query["InstNumberGroupIdList"] = request.instNumberGroupIdList;
|
|
28441
|
+
}
|
|
28442
|
+
|
|
28311
28443
|
if (!Util.isUnset(request.instanceId)) {
|
|
28312
28444
|
query["InstanceId"] = request.instanceId;
|
|
28313
28445
|
}
|
|
@@ -28722,6 +28854,10 @@ export default class Client extends OpenApi {
|
|
|
28722
28854
|
query["CallPriority"] = request.callPriority;
|
|
28723
28855
|
}
|
|
28724
28856
|
|
|
28857
|
+
if (!Util.isUnset(request.contactFlowVariables)) {
|
|
28858
|
+
query["ContactFlowVariables"] = request.contactFlowVariables;
|
|
28859
|
+
}
|
|
28860
|
+
|
|
28725
28861
|
if (!Util.isUnset(request.deviceId)) {
|
|
28726
28862
|
query["DeviceId"] = request.deviceId;
|
|
28727
28863
|
}
|
|
@@ -28750,6 +28886,10 @@ export default class Client extends OpenApi {
|
|
|
28750
28886
|
query["Transferee"] = request.transferee;
|
|
28751
28887
|
}
|
|
28752
28888
|
|
|
28889
|
+
if (!Util.isUnset(request.transfereeType)) {
|
|
28890
|
+
query["TransfereeType"] = request.transfereeType;
|
|
28891
|
+
}
|
|
28892
|
+
|
|
28753
28893
|
if (!Util.isUnset(request.transferor)) {
|
|
28754
28894
|
query["Transferor"] = request.transferor;
|
|
28755
28895
|
}
|
|
@@ -29406,6 +29546,10 @@ export default class Client extends OpenApi {
|
|
|
29406
29546
|
async createUserWithOptions(request: CreateUserRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserResponse> {
|
|
29407
29547
|
Util.validateModel(request);
|
|
29408
29548
|
let query = { };
|
|
29549
|
+
if (!Util.isUnset(request.avatarUrl)) {
|
|
29550
|
+
query["AvatarUrl"] = request.avatarUrl;
|
|
29551
|
+
}
|
|
29552
|
+
|
|
29409
29553
|
if (!Util.isUnset(request.displayId)) {
|
|
29410
29554
|
query["DisplayId"] = request.displayId;
|
|
29411
29555
|
}
|
|
@@ -29430,6 +29574,10 @@ export default class Client extends OpenApi {
|
|
|
29430
29574
|
query["Mobile"] = request.mobile;
|
|
29431
29575
|
}
|
|
29432
29576
|
|
|
29577
|
+
if (!Util.isUnset(request.nickname)) {
|
|
29578
|
+
query["Nickname"] = request.nickname;
|
|
29579
|
+
}
|
|
29580
|
+
|
|
29433
29581
|
if (!Util.isUnset(request.resetPassword)) {
|
|
29434
29582
|
query["ResetPassword"] = request.resetPassword;
|
|
29435
29583
|
}
|
|
@@ -30312,6 +30460,10 @@ export default class Client extends OpenApi {
|
|
|
30312
30460
|
query["InstanceId"] = request.instanceId;
|
|
30313
30461
|
}
|
|
30314
30462
|
|
|
30463
|
+
if (!Util.isUnset(request.mediaType)) {
|
|
30464
|
+
query["MediaType"] = request.mediaType;
|
|
30465
|
+
}
|
|
30466
|
+
|
|
30315
30467
|
if (!Util.isUnset(request.startTime)) {
|
|
30316
30468
|
query["StartTime"] = request.startTime;
|
|
30317
30469
|
}
|
|
@@ -30341,6 +30493,10 @@ export default class Client extends OpenApi {
|
|
|
30341
30493
|
async getLoginDetailsWithOptions(request: GetLoginDetailsRequest, runtime: $Util.RuntimeOptions): Promise<GetLoginDetailsResponse> {
|
|
30342
30494
|
Util.validateModel(request);
|
|
30343
30495
|
let query = { };
|
|
30496
|
+
if (!Util.isUnset(request.chatDeviceId)) {
|
|
30497
|
+
query["ChatDeviceId"] = request.chatDeviceId;
|
|
30498
|
+
}
|
|
30499
|
+
|
|
30344
30500
|
if (!Util.isUnset(request.instanceId)) {
|
|
30345
30501
|
query["InstanceId"] = request.instanceId;
|
|
30346
30502
|
}
|
|
@@ -30506,6 +30662,10 @@ export default class Client extends OpenApi {
|
|
|
30506
30662
|
query["InstanceId"] = request.instanceId;
|
|
30507
30663
|
}
|
|
30508
30664
|
|
|
30665
|
+
if (!Util.isUnset(request.mediaType)) {
|
|
30666
|
+
query["MediaType"] = request.mediaType;
|
|
30667
|
+
}
|
|
30668
|
+
|
|
30509
30669
|
let req = new $OpenApi.OpenApiRequest({
|
|
30510
30670
|
query: OpenApiUtil.query(query),
|
|
30511
30671
|
});
|