@alicloud/ccc20200701 2.18.1 → 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 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;
@@ -10547,6 +10806,7 @@ export declare class GetCampaignResponseBodyData extends $tea.Model {
10547
10806
  casesUncompletedAfterAttempt?: string;
10548
10807
  casesUncompletedAfterAttempted?: number;
10549
10808
  completionRate?: number;
10809
+ contactFlowId?: string;
10550
10810
  maxAttemptCount?: number;
10551
10811
  minAttemptInterval?: number;
10552
10812
  name?: string;
@@ -11273,6 +11533,23 @@ export declare class GetVideoResponseBodyData extends $tea.Model {
11273
11533
  [key: string]: any;
11274
11534
  });
11275
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
+ }
11276
11553
  export declare class GetVoicemailRecordingResponseBodyData extends $tea.Model {
11277
11554
  fileName?: string;
11278
11555
  fileUrl?: string;
@@ -12122,6 +12399,7 @@ export declare class ListCampaignsResponseBodyDataList extends $tea.Model {
12122
12399
  casesConnected?: number;
12123
12400
  casesUncompleted?: number;
12124
12401
  completionRate?: number;
12402
+ contactFlowId?: string;
12125
12403
  maxAttemptCount?: number;
12126
12404
  minAttemptInterval?: number;
12127
12405
  name?: string;
@@ -14669,10 +14947,12 @@ export declare class ListSkillGroupSummaryReportsSinceMidnightResponseBodyPagedS
14669
14947
  averageRingTime?: number;
14670
14948
  averageTalkTime?: number;
14671
14949
  averageWorkTime?: number;
14950
+ callsAbandoned?: number;
14672
14951
  callsAttendedTransferOut?: number;
14673
14952
  callsBlindTransferOut?: number;
14674
14953
  callsHandled?: number;
14675
14954
  callsOffered?: number;
14955
+ callsOverflow?: string;
14676
14956
  callsQueuingCanceled?: string;
14677
14957
  callsQueuingFailure?: string;
14678
14958
  callsQueuingRerouted?: string;
@@ -15929,6 +16209,34 @@ export declare class StartBack2BackCallResponseBodyData extends $tea.Model {
15929
16209
  [key: string]: any;
15930
16210
  });
15931
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
+ }
15932
16240
  export declare class StartConferenceResponseBodyDataCallContextChannelContexts extends $tea.Model {
15933
16241
  callType?: string;
15934
16242
  channelFlags?: string;
@@ -16306,6 +16614,17 @@ export default class Client extends OpenApi {
16306
16614
  * @return AbortCampaignResponse
16307
16615
  */
16308
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>;
16309
16628
  /**
16310
16629
  * @summary 编辑呼入控制号码
16311
16630
  *
@@ -16531,6 +16850,17 @@ export default class Client extends OpenApi {
16531
16850
  * @return ChangeWorkModeResponse
16532
16851
  */
16533
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>;
16534
16864
  /**
16535
16865
  * @param request CoachCallRequest
16536
16866
  * @param runtime runtime options for this request RuntimeOptions
@@ -16617,6 +16947,8 @@ export default class Client extends OpenApi {
16617
16947
  */
16618
16948
  createContactFlow(request: CreateContactFlowRequest): Promise<CreateContactFlowResponse>;
16619
16949
  /**
16950
+ * @deprecated OpenAPI CreateCustomCallTagging is deprecated, please use CCC::2020-07-01::CreateCustomCallTaggings instead.
16951
+ *
16620
16952
  * @summary 创建呼入控制号码
16621
16953
  *
16622
16954
  * @param request CreateCustomCallTaggingRequest
@@ -16625,6 +16957,8 @@ export default class Client extends OpenApi {
16625
16957
  */
16626
16958
  createCustomCallTaggingWithOptions(request: CreateCustomCallTaggingRequest, runtime: $Util.RuntimeOptions): Promise<CreateCustomCallTaggingResponse>;
16627
16959
  /**
16960
+ * @deprecated OpenAPI CreateCustomCallTagging is deprecated, please use CCC::2020-07-01::CreateCustomCallTaggings instead.
16961
+ *
16628
16962
  * @summary 创建呼入控制号码
16629
16963
  *
16630
16964
  * @param request CreateCustomCallTaggingRequest
@@ -17245,6 +17579,17 @@ export default class Client extends OpenApi {
17245
17579
  * @return GetVideoResponse
17246
17580
  */
17247
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>;
17248
17593
  /**
17249
17594
  * @param request GetVoicemailRecordingRequest
17250
17595
  * @param runtime runtime options for this request RuntimeOptions
@@ -17751,6 +18096,8 @@ export default class Client extends OpenApi {
17751
18096
  */
17752
18097
  listIvrTrackingDetails(request: ListIvrTrackingDetailsRequest): Promise<ListIvrTrackingDetailsResponse>;
17753
18098
  /**
18099
+ * @deprecated OpenAPI ListLegacyAgentEventLogs is deprecated, please use CCC::2020-07-01::ListAgentStateLogs instead.
18100
+ *
17754
18101
  * @summary ListLegacyAgentEventLogs
17755
18102
  *
17756
18103
  * @param request ListLegacyAgentEventLogsRequest
@@ -17759,6 +18106,8 @@ export default class Client extends OpenApi {
17759
18106
  */
17760
18107
  listLegacyAgentEventLogsWithOptions(request: ListLegacyAgentEventLogsRequest, runtime: $Util.RuntimeOptions): Promise<ListLegacyAgentEventLogsResponse>;
17761
18108
  /**
18109
+ * @deprecated OpenAPI ListLegacyAgentEventLogs is deprecated, please use CCC::2020-07-01::ListAgentStateLogs instead.
18110
+ *
17762
18111
  * @summary ListLegacyAgentEventLogs
17763
18112
  *
17764
18113
  * @param request ListLegacyAgentEventLogsRequest
@@ -17766,6 +18115,8 @@ export default class Client extends OpenApi {
17766
18115
  */
17767
18116
  listLegacyAgentEventLogs(request: ListLegacyAgentEventLogsRequest): Promise<ListLegacyAgentEventLogsResponse>;
17768
18117
  /**
18118
+ * @deprecated OpenAPI ListLegacyAgentStatusLogs is deprecated, please use CCC::2020-07-01::ListAgentStateLogs instead.
18119
+ *
17769
18120
  * @summary ListLegacyAgentStatusLogs
17770
18121
  *
17771
18122
  * @param request ListLegacyAgentStatusLogsRequest
@@ -17774,6 +18125,8 @@ export default class Client extends OpenApi {
17774
18125
  */
17775
18126
  listLegacyAgentStatusLogsWithOptions(request: ListLegacyAgentStatusLogsRequest, runtime: $Util.RuntimeOptions): Promise<ListLegacyAgentStatusLogsResponse>;
17776
18127
  /**
18128
+ * @deprecated OpenAPI ListLegacyAgentStatusLogs is deprecated, please use CCC::2020-07-01::ListAgentStateLogs instead.
18129
+ *
17777
18130
  * @summary ListLegacyAgentStatusLogs
17778
18131
  *
17779
18132
  * @param request ListLegacyAgentStatusLogsRequest
@@ -18566,6 +18919,17 @@ export default class Client extends OpenApi {
18566
18919
  * @return StartBack2BackCallResponse
18567
18920
  */
18568
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>;
18569
18933
  /**
18570
18934
  * @param request StartConferenceRequest
18571
18935
  * @param runtime runtime options for this request RuntimeOptions