@alicloud/ccc20200701 2.18.2 → 2.19.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 +348 -0
- package/dist/client.js +631 -19
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +760 -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;
|
|
@@ -8997,6 +9136,68 @@ export declare class StartBack2BackCallResponse extends $tea.Model {
|
|
|
8997
9136
|
[key: string]: any;
|
|
8998
9137
|
});
|
|
8999
9138
|
}
|
|
9139
|
+
export declare class StartChatRequest extends $tea.Model {
|
|
9140
|
+
accessChannelId?: string;
|
|
9141
|
+
instanceId?: string;
|
|
9142
|
+
token?: string;
|
|
9143
|
+
userList?: StartChatRequestUserList[];
|
|
9144
|
+
static names(): {
|
|
9145
|
+
[key: string]: string;
|
|
9146
|
+
};
|
|
9147
|
+
static types(): {
|
|
9148
|
+
[key: string]: any;
|
|
9149
|
+
};
|
|
9150
|
+
constructor(map?: {
|
|
9151
|
+
[key: string]: any;
|
|
9152
|
+
});
|
|
9153
|
+
}
|
|
9154
|
+
export declare class StartChatShrinkRequest extends $tea.Model {
|
|
9155
|
+
accessChannelId?: string;
|
|
9156
|
+
instanceId?: string;
|
|
9157
|
+
token?: string;
|
|
9158
|
+
userListShrink?: string;
|
|
9159
|
+
static names(): {
|
|
9160
|
+
[key: string]: string;
|
|
9161
|
+
};
|
|
9162
|
+
static types(): {
|
|
9163
|
+
[key: string]: any;
|
|
9164
|
+
};
|
|
9165
|
+
constructor(map?: {
|
|
9166
|
+
[key: string]: any;
|
|
9167
|
+
});
|
|
9168
|
+
}
|
|
9169
|
+
export declare class StartChatResponseBody extends $tea.Model {
|
|
9170
|
+
code?: string;
|
|
9171
|
+
data?: StartChatResponseBodyData;
|
|
9172
|
+
httpStatusCode?: number;
|
|
9173
|
+
message?: string;
|
|
9174
|
+
requestId?: string;
|
|
9175
|
+
static names(): {
|
|
9176
|
+
[key: string]: string;
|
|
9177
|
+
};
|
|
9178
|
+
static types(): {
|
|
9179
|
+
[key: string]: any;
|
|
9180
|
+
};
|
|
9181
|
+
constructor(map?: {
|
|
9182
|
+
[key: string]: any;
|
|
9183
|
+
});
|
|
9184
|
+
}
|
|
9185
|
+
export declare class StartChatResponse extends $tea.Model {
|
|
9186
|
+
headers?: {
|
|
9187
|
+
[key: string]: string;
|
|
9188
|
+
};
|
|
9189
|
+
statusCode?: number;
|
|
9190
|
+
body?: StartChatResponseBody;
|
|
9191
|
+
static names(): {
|
|
9192
|
+
[key: string]: string;
|
|
9193
|
+
};
|
|
9194
|
+
static types(): {
|
|
9195
|
+
[key: string]: any;
|
|
9196
|
+
};
|
|
9197
|
+
constructor(map?: {
|
|
9198
|
+
[key: string]: any;
|
|
9199
|
+
});
|
|
9200
|
+
}
|
|
9000
9201
|
export declare class StartConferenceRequest extends $tea.Model {
|
|
9001
9202
|
instanceId?: string;
|
|
9002
9203
|
participantListJson?: string;
|
|
@@ -10009,6 +10210,64 @@ export declare class ChangeWorkModeResponseBodyData extends $tea.Model {
|
|
|
10009
10210
|
[key: string]: any;
|
|
10010
10211
|
});
|
|
10011
10212
|
}
|
|
10213
|
+
export declare class ClaimChatResponseBodyDataChatContexts extends $tea.Model {
|
|
10214
|
+
accessChannelId?: string;
|
|
10215
|
+
accessChannelName?: string;
|
|
10216
|
+
accessChannelType?: string;
|
|
10217
|
+
beingAssigned?: boolean;
|
|
10218
|
+
callVariables?: string;
|
|
10219
|
+
chatType?: string;
|
|
10220
|
+
instanceId?: string;
|
|
10221
|
+
jobId?: string;
|
|
10222
|
+
static names(): {
|
|
10223
|
+
[key: string]: string;
|
|
10224
|
+
};
|
|
10225
|
+
static types(): {
|
|
10226
|
+
[key: string]: any;
|
|
10227
|
+
};
|
|
10228
|
+
constructor(map?: {
|
|
10229
|
+
[key: string]: any;
|
|
10230
|
+
});
|
|
10231
|
+
}
|
|
10232
|
+
export declare class ClaimChatResponseBodyDataUserContext extends $tea.Model {
|
|
10233
|
+
breakCode?: string;
|
|
10234
|
+
deviceId?: string;
|
|
10235
|
+
deviceState?: string;
|
|
10236
|
+
extension?: string;
|
|
10237
|
+
heartbeat?: number;
|
|
10238
|
+
instanceId?: string;
|
|
10239
|
+
jobId?: string;
|
|
10240
|
+
mobile?: string;
|
|
10241
|
+
outboundScenario?: boolean;
|
|
10242
|
+
reserved?: number;
|
|
10243
|
+
signedSkillGroupIdList?: string[];
|
|
10244
|
+
userId?: string;
|
|
10245
|
+
userState?: string;
|
|
10246
|
+
workMode?: string;
|
|
10247
|
+
static names(): {
|
|
10248
|
+
[key: string]: string;
|
|
10249
|
+
};
|
|
10250
|
+
static types(): {
|
|
10251
|
+
[key: string]: any;
|
|
10252
|
+
};
|
|
10253
|
+
constructor(map?: {
|
|
10254
|
+
[key: string]: any;
|
|
10255
|
+
});
|
|
10256
|
+
}
|
|
10257
|
+
export declare class ClaimChatResponseBodyData extends $tea.Model {
|
|
10258
|
+
chatContexts?: ClaimChatResponseBodyDataChatContexts[];
|
|
10259
|
+
contextId?: number;
|
|
10260
|
+
userContext?: ClaimChatResponseBodyDataUserContext;
|
|
10261
|
+
static names(): {
|
|
10262
|
+
[key: string]: string;
|
|
10263
|
+
};
|
|
10264
|
+
static types(): {
|
|
10265
|
+
[key: string]: any;
|
|
10266
|
+
};
|
|
10267
|
+
constructor(map?: {
|
|
10268
|
+
[key: string]: any;
|
|
10269
|
+
});
|
|
10270
|
+
}
|
|
10012
10271
|
export declare class CoachCallResponseBodyDataCallContextChannelContexts extends $tea.Model {
|
|
10013
10272
|
callType?: string;
|
|
10014
10273
|
channelFlags?: string;
|
|
@@ -11274,6 +11533,23 @@ export declare class GetVideoResponseBodyData extends $tea.Model {
|
|
|
11274
11533
|
[key: string]: any;
|
|
11275
11534
|
});
|
|
11276
11535
|
}
|
|
11536
|
+
export declare class GetVisitorLoginDetailsResponseBodyData extends $tea.Model {
|
|
11537
|
+
chatAppId?: string;
|
|
11538
|
+
chatAppKey?: string;
|
|
11539
|
+
chatDeviceId?: string;
|
|
11540
|
+
chatLoginToken?: string;
|
|
11541
|
+
chatServerUrl?: string;
|
|
11542
|
+
chatUserId?: string;
|
|
11543
|
+
static names(): {
|
|
11544
|
+
[key: string]: string;
|
|
11545
|
+
};
|
|
11546
|
+
static types(): {
|
|
11547
|
+
[key: string]: any;
|
|
11548
|
+
};
|
|
11549
|
+
constructor(map?: {
|
|
11550
|
+
[key: string]: any;
|
|
11551
|
+
});
|
|
11552
|
+
}
|
|
11277
11553
|
export declare class GetVoicemailRecordingResponseBodyData extends $tea.Model {
|
|
11278
11554
|
fileName?: string;
|
|
11279
11555
|
fileUrl?: string;
|
|
@@ -15933,6 +16209,34 @@ export declare class StartBack2BackCallResponseBodyData extends $tea.Model {
|
|
|
15933
16209
|
[key: string]: any;
|
|
15934
16210
|
});
|
|
15935
16211
|
}
|
|
16212
|
+
export declare class StartChatRequestUserList extends $tea.Model {
|
|
16213
|
+
avatarUrl?: string;
|
|
16214
|
+
nickname?: string;
|
|
16215
|
+
userId?: string;
|
|
16216
|
+
userType?: string;
|
|
16217
|
+
static names(): {
|
|
16218
|
+
[key: string]: string;
|
|
16219
|
+
};
|
|
16220
|
+
static types(): {
|
|
16221
|
+
[key: string]: any;
|
|
16222
|
+
};
|
|
16223
|
+
constructor(map?: {
|
|
16224
|
+
[key: string]: any;
|
|
16225
|
+
});
|
|
16226
|
+
}
|
|
16227
|
+
export declare class StartChatResponseBodyData extends $tea.Model {
|
|
16228
|
+
chatConversationId?: string;
|
|
16229
|
+
jobId?: string;
|
|
16230
|
+
static names(): {
|
|
16231
|
+
[key: string]: string;
|
|
16232
|
+
};
|
|
16233
|
+
static types(): {
|
|
16234
|
+
[key: string]: any;
|
|
16235
|
+
};
|
|
16236
|
+
constructor(map?: {
|
|
16237
|
+
[key: string]: any;
|
|
16238
|
+
});
|
|
16239
|
+
}
|
|
15936
16240
|
export declare class StartConferenceResponseBodyDataCallContextChannelContexts extends $tea.Model {
|
|
15937
16241
|
callType?: string;
|
|
15938
16242
|
channelFlags?: string;
|
|
@@ -16310,6 +16614,17 @@ export default class Client extends OpenApi {
|
|
|
16310
16614
|
* @return AbortCampaignResponse
|
|
16311
16615
|
*/
|
|
16312
16616
|
abortCampaign(request: AbortCampaignRequest): Promise<AbortCampaignResponse>;
|
|
16617
|
+
/**
|
|
16618
|
+
* @param request AcceptChatRequest
|
|
16619
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16620
|
+
* @return AcceptChatResponse
|
|
16621
|
+
*/
|
|
16622
|
+
acceptChatWithOptions(request: AcceptChatRequest, runtime: $Util.RuntimeOptions): Promise<AcceptChatResponse>;
|
|
16623
|
+
/**
|
|
16624
|
+
* @param request AcceptChatRequest
|
|
16625
|
+
* @return AcceptChatResponse
|
|
16626
|
+
*/
|
|
16627
|
+
acceptChat(request: AcceptChatRequest): Promise<AcceptChatResponse>;
|
|
16313
16628
|
/**
|
|
16314
16629
|
* @summary 编辑呼入控制号码
|
|
16315
16630
|
*
|
|
@@ -16535,6 +16850,17 @@ export default class Client extends OpenApi {
|
|
|
16535
16850
|
* @return ChangeWorkModeResponse
|
|
16536
16851
|
*/
|
|
16537
16852
|
changeWorkMode(request: ChangeWorkModeRequest): Promise<ChangeWorkModeResponse>;
|
|
16853
|
+
/**
|
|
16854
|
+
* @param request ClaimChatRequest
|
|
16855
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16856
|
+
* @return ClaimChatResponse
|
|
16857
|
+
*/
|
|
16858
|
+
claimChatWithOptions(request: ClaimChatRequest, runtime: $Util.RuntimeOptions): Promise<ClaimChatResponse>;
|
|
16859
|
+
/**
|
|
16860
|
+
* @param request ClaimChatRequest
|
|
16861
|
+
* @return ClaimChatResponse
|
|
16862
|
+
*/
|
|
16863
|
+
claimChat(request: ClaimChatRequest): Promise<ClaimChatResponse>;
|
|
16538
16864
|
/**
|
|
16539
16865
|
* @param request CoachCallRequest
|
|
16540
16866
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17253,6 +17579,17 @@ export default class Client extends OpenApi {
|
|
|
17253
17579
|
* @return GetVideoResponse
|
|
17254
17580
|
*/
|
|
17255
17581
|
getVideo(request: GetVideoRequest): Promise<GetVideoResponse>;
|
|
17582
|
+
/**
|
|
17583
|
+
* @param request GetVisitorLoginDetailsRequest
|
|
17584
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17585
|
+
* @return GetVisitorLoginDetailsResponse
|
|
17586
|
+
*/
|
|
17587
|
+
getVisitorLoginDetailsWithOptions(request: GetVisitorLoginDetailsRequest, runtime: $Util.RuntimeOptions): Promise<GetVisitorLoginDetailsResponse>;
|
|
17588
|
+
/**
|
|
17589
|
+
* @param request GetVisitorLoginDetailsRequest
|
|
17590
|
+
* @return GetVisitorLoginDetailsResponse
|
|
17591
|
+
*/
|
|
17592
|
+
getVisitorLoginDetails(request: GetVisitorLoginDetailsRequest): Promise<GetVisitorLoginDetailsResponse>;
|
|
17256
17593
|
/**
|
|
17257
17594
|
* @param request GetVoicemailRecordingRequest
|
|
17258
17595
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18582,6 +18919,17 @@ export default class Client extends OpenApi {
|
|
|
18582
18919
|
* @return StartBack2BackCallResponse
|
|
18583
18920
|
*/
|
|
18584
18921
|
startBack2BackCall(request: StartBack2BackCallRequest): Promise<StartBack2BackCallResponse>;
|
|
18922
|
+
/**
|
|
18923
|
+
* @param tmpReq StartChatRequest
|
|
18924
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18925
|
+
* @return StartChatResponse
|
|
18926
|
+
*/
|
|
18927
|
+
startChatWithOptions(tmpReq: StartChatRequest, runtime: $Util.RuntimeOptions): Promise<StartChatResponse>;
|
|
18928
|
+
/**
|
|
18929
|
+
* @param request StartChatRequest
|
|
18930
|
+
* @return StartChatResponse
|
|
18931
|
+
*/
|
|
18932
|
+
startChat(request: StartChatRequest): Promise<StartChatResponse>;
|
|
18585
18933
|
/**
|
|
18586
18934
|
* @param request StartConferenceRequest
|
|
18587
18935
|
* @param runtime runtime options for this request RuntimeOptions
|