@alicloud/ccc20200701 2.18.2 → 2.19.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 +352 -0
- package/dist/client.js +651 -19
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +788 -1
package/dist/client.d.ts
CHANGED
|
@@ -112,6 +112,50 @@ export declare class AbortCampaignResponse extends $tea.Model {
|
|
|
112
112
|
[key: string]: any;
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
+
export declare class AcceptChatRequest extends $tea.Model {
|
|
116
|
+
instanceId?: string;
|
|
117
|
+
jobId?: string;
|
|
118
|
+
static names(): {
|
|
119
|
+
[key: string]: string;
|
|
120
|
+
};
|
|
121
|
+
static types(): {
|
|
122
|
+
[key: string]: any;
|
|
123
|
+
};
|
|
124
|
+
constructor(map?: {
|
|
125
|
+
[key: string]: any;
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
export declare class AcceptChatResponseBody extends $tea.Model {
|
|
129
|
+
code?: string;
|
|
130
|
+
httpStatusCode?: number;
|
|
131
|
+
message?: string;
|
|
132
|
+
requestId?: string;
|
|
133
|
+
static names(): {
|
|
134
|
+
[key: string]: string;
|
|
135
|
+
};
|
|
136
|
+
static types(): {
|
|
137
|
+
[key: string]: any;
|
|
138
|
+
};
|
|
139
|
+
constructor(map?: {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
export declare class AcceptChatResponse extends $tea.Model {
|
|
144
|
+
headers?: {
|
|
145
|
+
[key: string]: string;
|
|
146
|
+
};
|
|
147
|
+
statusCode?: number;
|
|
148
|
+
body?: AcceptChatResponseBody;
|
|
149
|
+
static names(): {
|
|
150
|
+
[key: string]: string;
|
|
151
|
+
};
|
|
152
|
+
static types(): {
|
|
153
|
+
[key: string]: any;
|
|
154
|
+
};
|
|
155
|
+
constructor(map?: {
|
|
156
|
+
[key: string]: any;
|
|
157
|
+
});
|
|
158
|
+
}
|
|
115
159
|
export declare class AddBlacklistCallTaggingRequest extends $tea.Model {
|
|
116
160
|
instanceId?: string;
|
|
117
161
|
jobId?: string;
|
|
@@ -1064,6 +1108,53 @@ export declare class ChangeWorkModeResponse extends $tea.Model {
|
|
|
1064
1108
|
[key: string]: any;
|
|
1065
1109
|
});
|
|
1066
1110
|
}
|
|
1111
|
+
export declare class ClaimChatRequest extends $tea.Model {
|
|
1112
|
+
instanceId?: string;
|
|
1113
|
+
jobId?: string;
|
|
1114
|
+
skillGroupId?: string;
|
|
1115
|
+
static names(): {
|
|
1116
|
+
[key: string]: string;
|
|
1117
|
+
};
|
|
1118
|
+
static types(): {
|
|
1119
|
+
[key: string]: any;
|
|
1120
|
+
};
|
|
1121
|
+
constructor(map?: {
|
|
1122
|
+
[key: string]: any;
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1125
|
+
export declare class ClaimChatResponseBody extends $tea.Model {
|
|
1126
|
+
code?: string;
|
|
1127
|
+
data?: ClaimChatResponseBodyData;
|
|
1128
|
+
httpStatusCode?: number;
|
|
1129
|
+
message?: string;
|
|
1130
|
+
params?: string[];
|
|
1131
|
+
requestId?: string;
|
|
1132
|
+
static names(): {
|
|
1133
|
+
[key: string]: string;
|
|
1134
|
+
};
|
|
1135
|
+
static types(): {
|
|
1136
|
+
[key: string]: any;
|
|
1137
|
+
};
|
|
1138
|
+
constructor(map?: {
|
|
1139
|
+
[key: string]: any;
|
|
1140
|
+
});
|
|
1141
|
+
}
|
|
1142
|
+
export declare class ClaimChatResponse extends $tea.Model {
|
|
1143
|
+
headers?: {
|
|
1144
|
+
[key: string]: string;
|
|
1145
|
+
};
|
|
1146
|
+
statusCode?: number;
|
|
1147
|
+
body?: ClaimChatResponseBody;
|
|
1148
|
+
static names(): {
|
|
1149
|
+
[key: string]: string;
|
|
1150
|
+
};
|
|
1151
|
+
static types(): {
|
|
1152
|
+
[key: string]: any;
|
|
1153
|
+
};
|
|
1154
|
+
constructor(map?: {
|
|
1155
|
+
[key: string]: any;
|
|
1156
|
+
});
|
|
1157
|
+
}
|
|
1067
1158
|
export declare class CoachCallRequest extends $tea.Model {
|
|
1068
1159
|
coachedUserId?: string;
|
|
1069
1160
|
deviceId?: string;
|
|
@@ -3810,6 +3901,54 @@ export declare class GetVideoResponse extends $tea.Model {
|
|
|
3810
3901
|
[key: string]: any;
|
|
3811
3902
|
});
|
|
3812
3903
|
}
|
|
3904
|
+
export declare class GetVisitorLoginDetailsRequest extends $tea.Model {
|
|
3905
|
+
chatDeviceId?: string;
|
|
3906
|
+
instanceId?: string;
|
|
3907
|
+
token?: string;
|
|
3908
|
+
visitorId?: string;
|
|
3909
|
+
static names(): {
|
|
3910
|
+
[key: string]: string;
|
|
3911
|
+
};
|
|
3912
|
+
static types(): {
|
|
3913
|
+
[key: string]: any;
|
|
3914
|
+
};
|
|
3915
|
+
constructor(map?: {
|
|
3916
|
+
[key: string]: any;
|
|
3917
|
+
});
|
|
3918
|
+
}
|
|
3919
|
+
export declare class GetVisitorLoginDetailsResponseBody extends $tea.Model {
|
|
3920
|
+
code?: string;
|
|
3921
|
+
data?: GetVisitorLoginDetailsResponseBodyData;
|
|
3922
|
+
httpStatusCode?: number;
|
|
3923
|
+
message?: string;
|
|
3924
|
+
params?: string[];
|
|
3925
|
+
requestId?: string;
|
|
3926
|
+
static names(): {
|
|
3927
|
+
[key: string]: string;
|
|
3928
|
+
};
|
|
3929
|
+
static types(): {
|
|
3930
|
+
[key: string]: any;
|
|
3931
|
+
};
|
|
3932
|
+
constructor(map?: {
|
|
3933
|
+
[key: string]: any;
|
|
3934
|
+
});
|
|
3935
|
+
}
|
|
3936
|
+
export declare class GetVisitorLoginDetailsResponse extends $tea.Model {
|
|
3937
|
+
headers?: {
|
|
3938
|
+
[key: string]: string;
|
|
3939
|
+
};
|
|
3940
|
+
statusCode?: number;
|
|
3941
|
+
body?: GetVisitorLoginDetailsResponseBody;
|
|
3942
|
+
static names(): {
|
|
3943
|
+
[key: string]: string;
|
|
3944
|
+
};
|
|
3945
|
+
static types(): {
|
|
3946
|
+
[key: string]: any;
|
|
3947
|
+
};
|
|
3948
|
+
constructor(map?: {
|
|
3949
|
+
[key: string]: any;
|
|
3950
|
+
});
|
|
3951
|
+
}
|
|
3813
3952
|
export declare class GetVoicemailRecordingRequest extends $tea.Model {
|
|
3814
3953
|
contactId?: string;
|
|
3815
3954
|
instanceId?: string;
|
|
@@ -4304,6 +4443,8 @@ export declare class LaunchSurveyRequest extends $tea.Model {
|
|
|
4304
4443
|
jobId?: string;
|
|
4305
4444
|
smsMetadataId?: string;
|
|
4306
4445
|
surveyChannel?: string;
|
|
4446
|
+
surveyTemplateId?: string;
|
|
4447
|
+
surveyTemplateVariables?: string;
|
|
4307
4448
|
userId?: string;
|
|
4308
4449
|
static names(): {
|
|
4309
4450
|
[key: string]: string;
|
|
@@ -6326,6 +6467,7 @@ export declare class ListRealtimeAgentStatesRequest extends $tea.Model {
|
|
|
6326
6467
|
agentName?: string;
|
|
6327
6468
|
callTypeList?: string;
|
|
6328
6469
|
instanceId?: string;
|
|
6470
|
+
mediaType?: string;
|
|
6329
6471
|
outboundScenario?: boolean;
|
|
6330
6472
|
pageNumber?: number;
|
|
6331
6473
|
pageSize?: number;
|
|
@@ -6377,6 +6519,7 @@ export declare class ListRealtimeAgentStatesResponse extends $tea.Model {
|
|
|
6377
6519
|
}
|
|
6378
6520
|
export declare class ListRealtimeSkillGroupStatesRequest extends $tea.Model {
|
|
6379
6521
|
instanceId?: string;
|
|
6522
|
+
mediaType?: string;
|
|
6380
6523
|
pageNumber?: number;
|
|
6381
6524
|
pageSize?: number;
|
|
6382
6525
|
skillGroupIdList?: string;
|
|
@@ -8997,6 +9140,68 @@ export declare class StartBack2BackCallResponse extends $tea.Model {
|
|
|
8997
9140
|
[key: string]: any;
|
|
8998
9141
|
});
|
|
8999
9142
|
}
|
|
9143
|
+
export declare class StartChatRequest extends $tea.Model {
|
|
9144
|
+
accessChannelId?: string;
|
|
9145
|
+
instanceId?: string;
|
|
9146
|
+
token?: string;
|
|
9147
|
+
userList?: StartChatRequestUserList[];
|
|
9148
|
+
static names(): {
|
|
9149
|
+
[key: string]: string;
|
|
9150
|
+
};
|
|
9151
|
+
static types(): {
|
|
9152
|
+
[key: string]: any;
|
|
9153
|
+
};
|
|
9154
|
+
constructor(map?: {
|
|
9155
|
+
[key: string]: any;
|
|
9156
|
+
});
|
|
9157
|
+
}
|
|
9158
|
+
export declare class StartChatShrinkRequest extends $tea.Model {
|
|
9159
|
+
accessChannelId?: string;
|
|
9160
|
+
instanceId?: string;
|
|
9161
|
+
token?: string;
|
|
9162
|
+
userListShrink?: string;
|
|
9163
|
+
static names(): {
|
|
9164
|
+
[key: string]: string;
|
|
9165
|
+
};
|
|
9166
|
+
static types(): {
|
|
9167
|
+
[key: string]: any;
|
|
9168
|
+
};
|
|
9169
|
+
constructor(map?: {
|
|
9170
|
+
[key: string]: any;
|
|
9171
|
+
});
|
|
9172
|
+
}
|
|
9173
|
+
export declare class StartChatResponseBody extends $tea.Model {
|
|
9174
|
+
code?: string;
|
|
9175
|
+
data?: StartChatResponseBodyData;
|
|
9176
|
+
httpStatusCode?: number;
|
|
9177
|
+
message?: string;
|
|
9178
|
+
requestId?: string;
|
|
9179
|
+
static names(): {
|
|
9180
|
+
[key: string]: string;
|
|
9181
|
+
};
|
|
9182
|
+
static types(): {
|
|
9183
|
+
[key: string]: any;
|
|
9184
|
+
};
|
|
9185
|
+
constructor(map?: {
|
|
9186
|
+
[key: string]: any;
|
|
9187
|
+
});
|
|
9188
|
+
}
|
|
9189
|
+
export declare class StartChatResponse extends $tea.Model {
|
|
9190
|
+
headers?: {
|
|
9191
|
+
[key: string]: string;
|
|
9192
|
+
};
|
|
9193
|
+
statusCode?: number;
|
|
9194
|
+
body?: StartChatResponseBody;
|
|
9195
|
+
static names(): {
|
|
9196
|
+
[key: string]: string;
|
|
9197
|
+
};
|
|
9198
|
+
static types(): {
|
|
9199
|
+
[key: string]: any;
|
|
9200
|
+
};
|
|
9201
|
+
constructor(map?: {
|
|
9202
|
+
[key: string]: any;
|
|
9203
|
+
});
|
|
9204
|
+
}
|
|
9000
9205
|
export declare class StartConferenceRequest extends $tea.Model {
|
|
9001
9206
|
instanceId?: string;
|
|
9002
9207
|
participantListJson?: string;
|
|
@@ -10009,6 +10214,64 @@ export declare class ChangeWorkModeResponseBodyData extends $tea.Model {
|
|
|
10009
10214
|
[key: string]: any;
|
|
10010
10215
|
});
|
|
10011
10216
|
}
|
|
10217
|
+
export declare class ClaimChatResponseBodyDataChatContexts extends $tea.Model {
|
|
10218
|
+
accessChannelId?: string;
|
|
10219
|
+
accessChannelName?: string;
|
|
10220
|
+
accessChannelType?: string;
|
|
10221
|
+
beingAssigned?: boolean;
|
|
10222
|
+
callVariables?: string;
|
|
10223
|
+
chatType?: string;
|
|
10224
|
+
instanceId?: string;
|
|
10225
|
+
jobId?: string;
|
|
10226
|
+
static names(): {
|
|
10227
|
+
[key: string]: string;
|
|
10228
|
+
};
|
|
10229
|
+
static types(): {
|
|
10230
|
+
[key: string]: any;
|
|
10231
|
+
};
|
|
10232
|
+
constructor(map?: {
|
|
10233
|
+
[key: string]: any;
|
|
10234
|
+
});
|
|
10235
|
+
}
|
|
10236
|
+
export declare class ClaimChatResponseBodyDataUserContext extends $tea.Model {
|
|
10237
|
+
breakCode?: string;
|
|
10238
|
+
deviceId?: string;
|
|
10239
|
+
deviceState?: string;
|
|
10240
|
+
extension?: string;
|
|
10241
|
+
heartbeat?: number;
|
|
10242
|
+
instanceId?: string;
|
|
10243
|
+
jobId?: string;
|
|
10244
|
+
mobile?: string;
|
|
10245
|
+
outboundScenario?: boolean;
|
|
10246
|
+
reserved?: number;
|
|
10247
|
+
signedSkillGroupIdList?: string[];
|
|
10248
|
+
userId?: string;
|
|
10249
|
+
userState?: string;
|
|
10250
|
+
workMode?: string;
|
|
10251
|
+
static names(): {
|
|
10252
|
+
[key: string]: string;
|
|
10253
|
+
};
|
|
10254
|
+
static types(): {
|
|
10255
|
+
[key: string]: any;
|
|
10256
|
+
};
|
|
10257
|
+
constructor(map?: {
|
|
10258
|
+
[key: string]: any;
|
|
10259
|
+
});
|
|
10260
|
+
}
|
|
10261
|
+
export declare class ClaimChatResponseBodyData extends $tea.Model {
|
|
10262
|
+
chatContexts?: ClaimChatResponseBodyDataChatContexts[];
|
|
10263
|
+
contextId?: number;
|
|
10264
|
+
userContext?: ClaimChatResponseBodyDataUserContext;
|
|
10265
|
+
static names(): {
|
|
10266
|
+
[key: string]: string;
|
|
10267
|
+
};
|
|
10268
|
+
static types(): {
|
|
10269
|
+
[key: string]: any;
|
|
10270
|
+
};
|
|
10271
|
+
constructor(map?: {
|
|
10272
|
+
[key: string]: any;
|
|
10273
|
+
});
|
|
10274
|
+
}
|
|
10012
10275
|
export declare class CoachCallResponseBodyDataCallContextChannelContexts extends $tea.Model {
|
|
10013
10276
|
callType?: string;
|
|
10014
10277
|
channelFlags?: string;
|
|
@@ -11274,6 +11537,23 @@ export declare class GetVideoResponseBodyData extends $tea.Model {
|
|
|
11274
11537
|
[key: string]: any;
|
|
11275
11538
|
});
|
|
11276
11539
|
}
|
|
11540
|
+
export declare class GetVisitorLoginDetailsResponseBodyData extends $tea.Model {
|
|
11541
|
+
chatAppId?: string;
|
|
11542
|
+
chatAppKey?: string;
|
|
11543
|
+
chatDeviceId?: string;
|
|
11544
|
+
chatLoginToken?: string;
|
|
11545
|
+
chatServerUrl?: string;
|
|
11546
|
+
chatUserId?: string;
|
|
11547
|
+
static names(): {
|
|
11548
|
+
[key: string]: string;
|
|
11549
|
+
};
|
|
11550
|
+
static types(): {
|
|
11551
|
+
[key: string]: any;
|
|
11552
|
+
};
|
|
11553
|
+
constructor(map?: {
|
|
11554
|
+
[key: string]: any;
|
|
11555
|
+
});
|
|
11556
|
+
}
|
|
11277
11557
|
export declare class GetVoicemailRecordingResponseBodyData extends $tea.Model {
|
|
11278
11558
|
fileName?: string;
|
|
11279
11559
|
fileUrl?: string;
|
|
@@ -15933,6 +16213,34 @@ export declare class StartBack2BackCallResponseBodyData extends $tea.Model {
|
|
|
15933
16213
|
[key: string]: any;
|
|
15934
16214
|
});
|
|
15935
16215
|
}
|
|
16216
|
+
export declare class StartChatRequestUserList extends $tea.Model {
|
|
16217
|
+
avatarUrl?: string;
|
|
16218
|
+
nickname?: string;
|
|
16219
|
+
userId?: string;
|
|
16220
|
+
userType?: string;
|
|
16221
|
+
static names(): {
|
|
16222
|
+
[key: string]: string;
|
|
16223
|
+
};
|
|
16224
|
+
static types(): {
|
|
16225
|
+
[key: string]: any;
|
|
16226
|
+
};
|
|
16227
|
+
constructor(map?: {
|
|
16228
|
+
[key: string]: any;
|
|
16229
|
+
});
|
|
16230
|
+
}
|
|
16231
|
+
export declare class StartChatResponseBodyData extends $tea.Model {
|
|
16232
|
+
chatConversationId?: string;
|
|
16233
|
+
jobId?: string;
|
|
16234
|
+
static names(): {
|
|
16235
|
+
[key: string]: string;
|
|
16236
|
+
};
|
|
16237
|
+
static types(): {
|
|
16238
|
+
[key: string]: any;
|
|
16239
|
+
};
|
|
16240
|
+
constructor(map?: {
|
|
16241
|
+
[key: string]: any;
|
|
16242
|
+
});
|
|
16243
|
+
}
|
|
15936
16244
|
export declare class StartConferenceResponseBodyDataCallContextChannelContexts extends $tea.Model {
|
|
15937
16245
|
callType?: string;
|
|
15938
16246
|
channelFlags?: string;
|
|
@@ -16310,6 +16618,17 @@ export default class Client extends OpenApi {
|
|
|
16310
16618
|
* @return AbortCampaignResponse
|
|
16311
16619
|
*/
|
|
16312
16620
|
abortCampaign(request: AbortCampaignRequest): Promise<AbortCampaignResponse>;
|
|
16621
|
+
/**
|
|
16622
|
+
* @param request AcceptChatRequest
|
|
16623
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16624
|
+
* @return AcceptChatResponse
|
|
16625
|
+
*/
|
|
16626
|
+
acceptChatWithOptions(request: AcceptChatRequest, runtime: $Util.RuntimeOptions): Promise<AcceptChatResponse>;
|
|
16627
|
+
/**
|
|
16628
|
+
* @param request AcceptChatRequest
|
|
16629
|
+
* @return AcceptChatResponse
|
|
16630
|
+
*/
|
|
16631
|
+
acceptChat(request: AcceptChatRequest): Promise<AcceptChatResponse>;
|
|
16313
16632
|
/**
|
|
16314
16633
|
* @summary 编辑呼入控制号码
|
|
16315
16634
|
*
|
|
@@ -16535,6 +16854,17 @@ export default class Client extends OpenApi {
|
|
|
16535
16854
|
* @return ChangeWorkModeResponse
|
|
16536
16855
|
*/
|
|
16537
16856
|
changeWorkMode(request: ChangeWorkModeRequest): Promise<ChangeWorkModeResponse>;
|
|
16857
|
+
/**
|
|
16858
|
+
* @param request ClaimChatRequest
|
|
16859
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16860
|
+
* @return ClaimChatResponse
|
|
16861
|
+
*/
|
|
16862
|
+
claimChatWithOptions(request: ClaimChatRequest, runtime: $Util.RuntimeOptions): Promise<ClaimChatResponse>;
|
|
16863
|
+
/**
|
|
16864
|
+
* @param request ClaimChatRequest
|
|
16865
|
+
* @return ClaimChatResponse
|
|
16866
|
+
*/
|
|
16867
|
+
claimChat(request: ClaimChatRequest): Promise<ClaimChatResponse>;
|
|
16538
16868
|
/**
|
|
16539
16869
|
* @param request CoachCallRequest
|
|
16540
16870
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17253,6 +17583,17 @@ export default class Client extends OpenApi {
|
|
|
17253
17583
|
* @return GetVideoResponse
|
|
17254
17584
|
*/
|
|
17255
17585
|
getVideo(request: GetVideoRequest): Promise<GetVideoResponse>;
|
|
17586
|
+
/**
|
|
17587
|
+
* @param request GetVisitorLoginDetailsRequest
|
|
17588
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17589
|
+
* @return GetVisitorLoginDetailsResponse
|
|
17590
|
+
*/
|
|
17591
|
+
getVisitorLoginDetailsWithOptions(request: GetVisitorLoginDetailsRequest, runtime: $Util.RuntimeOptions): Promise<GetVisitorLoginDetailsResponse>;
|
|
17592
|
+
/**
|
|
17593
|
+
* @param request GetVisitorLoginDetailsRequest
|
|
17594
|
+
* @return GetVisitorLoginDetailsResponse
|
|
17595
|
+
*/
|
|
17596
|
+
getVisitorLoginDetails(request: GetVisitorLoginDetailsRequest): Promise<GetVisitorLoginDetailsResponse>;
|
|
17256
17597
|
/**
|
|
17257
17598
|
* @param request GetVoicemailRecordingRequest
|
|
17258
17599
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18582,6 +18923,17 @@ export default class Client extends OpenApi {
|
|
|
18582
18923
|
* @return StartBack2BackCallResponse
|
|
18583
18924
|
*/
|
|
18584
18925
|
startBack2BackCall(request: StartBack2BackCallRequest): Promise<StartBack2BackCallResponse>;
|
|
18926
|
+
/**
|
|
18927
|
+
* @param tmpReq StartChatRequest
|
|
18928
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18929
|
+
* @return StartChatResponse
|
|
18930
|
+
*/
|
|
18931
|
+
startChatWithOptions(tmpReq: StartChatRequest, runtime: $Util.RuntimeOptions): Promise<StartChatResponse>;
|
|
18932
|
+
/**
|
|
18933
|
+
* @param request StartChatRequest
|
|
18934
|
+
* @return StartChatResponse
|
|
18935
|
+
*/
|
|
18936
|
+
startChat(request: StartChatRequest): Promise<StartChatResponse>;
|
|
18585
18937
|
/**
|
|
18586
18938
|
* @param request StartConferenceRequest
|
|
18587
18939
|
* @param runtime runtime options for this request RuntimeOptions
|