@alicloud/ccc20200701 2.32.0 → 2.33.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 +180 -0
- package/dist/client.js +239 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +350 -0
package/dist/client.d.ts
CHANGED
|
@@ -13743,6 +13743,7 @@ export declare class ListRealtimeAgentStatesResponseBodyDataList extends $dara.M
|
|
|
13743
13743
|
*/
|
|
13744
13744
|
agentId?: string;
|
|
13745
13745
|
agentName?: string;
|
|
13746
|
+
breakCode?: string;
|
|
13746
13747
|
/**
|
|
13747
13748
|
* @example
|
|
13748
13749
|
* Outbound
|
|
@@ -15492,6 +15493,63 @@ export declare class ListUsersResponseBodyData extends $dara.Model {
|
|
|
15492
15493
|
[key: string]: any;
|
|
15493
15494
|
});
|
|
15494
15495
|
}
|
|
15496
|
+
export declare class ListVisitorChatMessagesResponseBodyDataMessages extends $dara.Model {
|
|
15497
|
+
content?: string;
|
|
15498
|
+
/**
|
|
15499
|
+
* @example
|
|
15500
|
+
* chat-65382141036853491
|
|
15501
|
+
*/
|
|
15502
|
+
jobId?: string;
|
|
15503
|
+
/**
|
|
15504
|
+
* @example
|
|
15505
|
+
* http://xxxxx.com/avatar.png
|
|
15506
|
+
*/
|
|
15507
|
+
senderAvatarUrl?: string;
|
|
15508
|
+
/**
|
|
15509
|
+
* @example
|
|
15510
|
+
* fcd020fe-****-1a272a174a7d
|
|
15511
|
+
*/
|
|
15512
|
+
senderId?: string;
|
|
15513
|
+
senderName?: string;
|
|
15514
|
+
/**
|
|
15515
|
+
* @example
|
|
15516
|
+
* CUSTOMER
|
|
15517
|
+
*/
|
|
15518
|
+
senderType?: string;
|
|
15519
|
+
/**
|
|
15520
|
+
* @example
|
|
15521
|
+
* 1696126980371
|
|
15522
|
+
*/
|
|
15523
|
+
timestamp?: number;
|
|
15524
|
+
static names(): {
|
|
15525
|
+
[key: string]: string;
|
|
15526
|
+
};
|
|
15527
|
+
static types(): {
|
|
15528
|
+
[key: string]: any;
|
|
15529
|
+
};
|
|
15530
|
+
validate(): void;
|
|
15531
|
+
constructor(map?: {
|
|
15532
|
+
[key: string]: any;
|
|
15533
|
+
});
|
|
15534
|
+
}
|
|
15535
|
+
export declare class ListVisitorChatMessagesResponseBodyData extends $dara.Model {
|
|
15536
|
+
messages?: ListVisitorChatMessagesResponseBodyDataMessages[];
|
|
15537
|
+
/**
|
|
15538
|
+
* @example
|
|
15539
|
+
* 1737193352340::7463707254.EAUNIT
|
|
15540
|
+
*/
|
|
15541
|
+
nextPageToken?: string;
|
|
15542
|
+
static names(): {
|
|
15543
|
+
[key: string]: string;
|
|
15544
|
+
};
|
|
15545
|
+
static types(): {
|
|
15546
|
+
[key: string]: any;
|
|
15547
|
+
};
|
|
15548
|
+
validate(): void;
|
|
15549
|
+
constructor(map?: {
|
|
15550
|
+
[key: string]: any;
|
|
15551
|
+
});
|
|
15552
|
+
}
|
|
15495
15553
|
export declare class ListVoicemailsResponseBodyDataList extends $dara.Model {
|
|
15496
15554
|
/**
|
|
15497
15555
|
* @example
|
|
@@ -15728,6 +15786,7 @@ export declare class MakeCallResponseBodyDataCallContext extends $dara.Model {
|
|
|
15728
15786
|
* OUTBOUND
|
|
15729
15787
|
*/
|
|
15730
15788
|
callType?: string;
|
|
15789
|
+
callVariables?: string;
|
|
15731
15790
|
channelContexts?: MakeCallResponseBodyDataCallContextChannelContexts[];
|
|
15732
15791
|
/**
|
|
15733
15792
|
* @example
|
|
@@ -34140,6 +34199,112 @@ export declare class ListUsersResponse extends $dara.Model {
|
|
|
34140
34199
|
[key: string]: any;
|
|
34141
34200
|
});
|
|
34142
34201
|
}
|
|
34202
|
+
export declare class ListVisitorChatMessagesRequest extends $dara.Model {
|
|
34203
|
+
/**
|
|
34204
|
+
* @example
|
|
34205
|
+
* cf584733-***-***-9699-cb77aa3b7aa6
|
|
34206
|
+
*/
|
|
34207
|
+
accessChannelId?: string;
|
|
34208
|
+
/**
|
|
34209
|
+
* @example
|
|
34210
|
+
* 9XYGTGWtq2wXzVikKuip_zeVGl6O4VJ-l-*-*-JPofhap4P7fAevuE=
|
|
34211
|
+
*/
|
|
34212
|
+
accessToken?: string;
|
|
34213
|
+
/**
|
|
34214
|
+
* @example
|
|
34215
|
+
* 1650316799000
|
|
34216
|
+
*/
|
|
34217
|
+
endTime?: string;
|
|
34218
|
+
/**
|
|
34219
|
+
* @example
|
|
34220
|
+
* ccc-test
|
|
34221
|
+
*/
|
|
34222
|
+
instanceId?: string;
|
|
34223
|
+
/**
|
|
34224
|
+
* @example
|
|
34225
|
+
* 1737193352340::7463707254.EAUNIT
|
|
34226
|
+
*/
|
|
34227
|
+
nextPageToken?: string;
|
|
34228
|
+
/**
|
|
34229
|
+
* @example
|
|
34230
|
+
* 100
|
|
34231
|
+
*/
|
|
34232
|
+
pageSize?: number;
|
|
34233
|
+
/**
|
|
34234
|
+
* @example
|
|
34235
|
+
* DESC
|
|
34236
|
+
*/
|
|
34237
|
+
sortOrder?: string;
|
|
34238
|
+
/**
|
|
34239
|
+
* @example
|
|
34240
|
+
* 1647325450000
|
|
34241
|
+
*/
|
|
34242
|
+
startTime?: number;
|
|
34243
|
+
/**
|
|
34244
|
+
* @example
|
|
34245
|
+
* fcd020fe-****-1a272a174a7d
|
|
34246
|
+
*/
|
|
34247
|
+
visitorId?: string;
|
|
34248
|
+
static names(): {
|
|
34249
|
+
[key: string]: string;
|
|
34250
|
+
};
|
|
34251
|
+
static types(): {
|
|
34252
|
+
[key: string]: any;
|
|
34253
|
+
};
|
|
34254
|
+
validate(): void;
|
|
34255
|
+
constructor(map?: {
|
|
34256
|
+
[key: string]: any;
|
|
34257
|
+
});
|
|
34258
|
+
}
|
|
34259
|
+
export declare class ListVisitorChatMessagesResponseBody extends $dara.Model {
|
|
34260
|
+
/**
|
|
34261
|
+
* @example
|
|
34262
|
+
* OK
|
|
34263
|
+
*/
|
|
34264
|
+
code?: string;
|
|
34265
|
+
data?: ListVisitorChatMessagesResponseBodyData;
|
|
34266
|
+
/**
|
|
34267
|
+
* @example
|
|
34268
|
+
* 200
|
|
34269
|
+
*/
|
|
34270
|
+
httpStatusCode?: number;
|
|
34271
|
+
message?: string;
|
|
34272
|
+
/**
|
|
34273
|
+
* @remarks
|
|
34274
|
+
* Id of the request
|
|
34275
|
+
*
|
|
34276
|
+
* @example
|
|
34277
|
+
* 8707EB29-BAED-4302-B999-40BA61877437
|
|
34278
|
+
*/
|
|
34279
|
+
requestId?: string;
|
|
34280
|
+
static names(): {
|
|
34281
|
+
[key: string]: string;
|
|
34282
|
+
};
|
|
34283
|
+
static types(): {
|
|
34284
|
+
[key: string]: any;
|
|
34285
|
+
};
|
|
34286
|
+
validate(): void;
|
|
34287
|
+
constructor(map?: {
|
|
34288
|
+
[key: string]: any;
|
|
34289
|
+
});
|
|
34290
|
+
}
|
|
34291
|
+
export declare class ListVisitorChatMessagesResponse extends $dara.Model {
|
|
34292
|
+
headers?: {
|
|
34293
|
+
[key: string]: string;
|
|
34294
|
+
};
|
|
34295
|
+
statusCode?: number;
|
|
34296
|
+
body?: ListVisitorChatMessagesResponseBody;
|
|
34297
|
+
static names(): {
|
|
34298
|
+
[key: string]: string;
|
|
34299
|
+
};
|
|
34300
|
+
static types(): {
|
|
34301
|
+
[key: string]: any;
|
|
34302
|
+
};
|
|
34303
|
+
validate(): void;
|
|
34304
|
+
constructor(map?: {
|
|
34305
|
+
[key: string]: any;
|
|
34306
|
+
});
|
|
34307
|
+
}
|
|
34143
34308
|
export declare class ListVoicemailsRequest extends $dara.Model {
|
|
34144
34309
|
/**
|
|
34145
34310
|
* @example
|
|
@@ -42395,6 +42560,21 @@ export default class Client extends OpenApi {
|
|
|
42395
42560
|
* @returns ListUsersResponse
|
|
42396
42561
|
*/
|
|
42397
42562
|
listUsers(request: ListUsersRequest): Promise<ListUsersResponse>;
|
|
42563
|
+
/**
|
|
42564
|
+
* ListVisitorChatMessages
|
|
42565
|
+
*
|
|
42566
|
+
* @param request - ListVisitorChatMessagesRequest
|
|
42567
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
42568
|
+
* @returns ListVisitorChatMessagesResponse
|
|
42569
|
+
*/
|
|
42570
|
+
listVisitorChatMessagesWithOptions(request: ListVisitorChatMessagesRequest, runtime: $dara.RuntimeOptions): Promise<ListVisitorChatMessagesResponse>;
|
|
42571
|
+
/**
|
|
42572
|
+
* ListVisitorChatMessages
|
|
42573
|
+
*
|
|
42574
|
+
* @param request - ListVisitorChatMessagesRequest
|
|
42575
|
+
* @returns ListVisitorChatMessagesResponse
|
|
42576
|
+
*/
|
|
42577
|
+
listVisitorChatMessages(request: ListVisitorChatMessagesRequest): Promise<ListVisitorChatMessagesResponse>;
|
|
42398
42578
|
/**
|
|
42399
42579
|
* @param request - ListVoicemailsRequest
|
|
42400
42580
|
* @param runtime - runtime options for this request RuntimeOptions
|