@alicloud/thirdswaicall20251127 1.0.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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +26 -0
- package/dist/client.js +137 -0
- package/dist/client.js.map +1 -0
- package/dist/models/ReadOutboundTaskCallListRequest.d.ts +61 -0
- package/dist/models/ReadOutboundTaskCallListRequest.js +80 -0
- package/dist/models/ReadOutboundTaskCallListRequest.js.map +1 -0
- package/dist/models/ReadOutboundTaskCallListResponse.d.ts +19 -0
- package/dist/models/ReadOutboundTaskCallListResponse.js +69 -0
- package/dist/models/ReadOutboundTaskCallListResponse.js.map +1 -0
- package/dist/models/ReadOutboundTaskCallListResponseBody.d.ts +240 -0
- package/dist/models/ReadOutboundTaskCallListResponseBody.js +183 -0
- package/dist/models/ReadOutboundTaskCallListResponseBody.js.map +1 -0
- package/dist/models/ReadOutboundTaskCallListShrinkRequest.d.ts +61 -0
- package/dist/models/ReadOutboundTaskCallListShrinkRequest.js +74 -0
- package/dist/models/ReadOutboundTaskCallListShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +16 -0
- package/dist/models/model.js.map +1 -0
- package/package.json +29 -0
- package/src/client.ts +116 -0
- package/src/models/ReadOutboundTaskCallListRequest.ts +96 -0
- package/src/models/ReadOutboundTaskCallListResponse.ts +40 -0
- package/src/models/ReadOutboundTaskCallListResponseBody.ts +358 -0
- package/src/models/ReadOutboundTaskCallListShrinkRequest.ts +90 -0
- package/src/models/model.ts +6 -0
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
*/
|
|
7
|
+
export class ReadOutboundTaskCallListResponseBodyRecordsDialogueList extends $dara.Model {
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 1000
|
|
11
|
+
*/
|
|
12
|
+
beginTime?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 5000
|
|
16
|
+
*/
|
|
17
|
+
endTime?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* agent
|
|
21
|
+
*/
|
|
22
|
+
role?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 您好,请问有什么可以帮助您?
|
|
26
|
+
*/
|
|
27
|
+
text?: string;
|
|
28
|
+
static names(): { [key: string]: string } {
|
|
29
|
+
return {
|
|
30
|
+
beginTime: 'BeginTime',
|
|
31
|
+
endTime: 'EndTime',
|
|
32
|
+
role: 'Role',
|
|
33
|
+
text: 'Text',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
beginTime: 'number',
|
|
40
|
+
endTime: 'number',
|
|
41
|
+
role: 'string',
|
|
42
|
+
text: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class ReadOutboundTaskCallListResponseBodyRecords extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* 2025-09-23 19:38:44
|
|
59
|
+
*/
|
|
60
|
+
callEndTime?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* call_123456
|
|
64
|
+
*/
|
|
65
|
+
callId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* 2025-09-23 19:34:12
|
|
69
|
+
*/
|
|
70
|
+
callStartTime?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* 客户对双十一活动很感兴趣
|
|
74
|
+
*/
|
|
75
|
+
callSummary?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* normal
|
|
79
|
+
*/
|
|
80
|
+
channel?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* 张先生
|
|
84
|
+
*/
|
|
85
|
+
customerName?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* 131****9908
|
|
89
|
+
*/
|
|
90
|
+
customerPhone?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* []
|
|
94
|
+
*/
|
|
95
|
+
dialogueList?: ReadOutboundTaskCallListResponseBodyRecordsDialogueList[];
|
|
96
|
+
/**
|
|
97
|
+
* @example
|
|
98
|
+
* 已接通
|
|
99
|
+
*/
|
|
100
|
+
displayStatus?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* 272
|
|
104
|
+
*/
|
|
105
|
+
duration?: number;
|
|
106
|
+
/**
|
|
107
|
+
* @example
|
|
108
|
+
* 4m32s
|
|
109
|
+
*/
|
|
110
|
+
durationText?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @example
|
|
113
|
+
* {"123":"122"}
|
|
114
|
+
*/
|
|
115
|
+
extInfo?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @example
|
|
118
|
+
* 2025-09-23 19:34:12
|
|
119
|
+
*/
|
|
120
|
+
gmtCreate?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @example
|
|
123
|
+
* 2025-09-23 19:34:12
|
|
124
|
+
*/
|
|
125
|
+
gmtModified?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @example
|
|
128
|
+
* 1
|
|
129
|
+
*/
|
|
130
|
+
id?: number;
|
|
131
|
+
/**
|
|
132
|
+
* @example
|
|
133
|
+
* instance_001
|
|
134
|
+
*/
|
|
135
|
+
instanceId?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @example
|
|
138
|
+
* ["有意向", "高净值"]
|
|
139
|
+
*/
|
|
140
|
+
labelTags?: string[];
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* true
|
|
144
|
+
*/
|
|
145
|
+
recordDetailReady?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* @example
|
|
148
|
+
* https://xxx.com/record.mp3
|
|
149
|
+
*/
|
|
150
|
+
recordUrl?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @example
|
|
153
|
+
* 0
|
|
154
|
+
*/
|
|
155
|
+
retryCount?: number;
|
|
156
|
+
/**
|
|
157
|
+
* @example
|
|
158
|
+
* 1
|
|
159
|
+
*/
|
|
160
|
+
sceneId?: string;
|
|
161
|
+
/**
|
|
162
|
+
* @example
|
|
163
|
+
* 3
|
|
164
|
+
*/
|
|
165
|
+
status?: string;
|
|
166
|
+
/**
|
|
167
|
+
* @example
|
|
168
|
+
* 123
|
|
169
|
+
*/
|
|
170
|
+
taskId?: string;
|
|
171
|
+
/**
|
|
172
|
+
* @example
|
|
173
|
+
* tenant_001
|
|
174
|
+
*/
|
|
175
|
+
tenantId?: string;
|
|
176
|
+
/**
|
|
177
|
+
* @example
|
|
178
|
+
* xiaomei
|
|
179
|
+
*/
|
|
180
|
+
ttsVoiceCode?: string;
|
|
181
|
+
/**
|
|
182
|
+
* @example
|
|
183
|
+
* 小美(声音甜美)
|
|
184
|
+
*/
|
|
185
|
+
ttsVoiceDesc?: string;
|
|
186
|
+
/**
|
|
187
|
+
* @example
|
|
188
|
+
* 123456789
|
|
189
|
+
*/
|
|
190
|
+
userId?: string;
|
|
191
|
+
static names(): { [key: string]: string } {
|
|
192
|
+
return {
|
|
193
|
+
callEndTime: 'CallEndTime',
|
|
194
|
+
callId: 'CallId',
|
|
195
|
+
callStartTime: 'CallStartTime',
|
|
196
|
+
callSummary: 'CallSummary',
|
|
197
|
+
channel: 'Channel',
|
|
198
|
+
customerName: 'CustomerName',
|
|
199
|
+
customerPhone: 'CustomerPhone',
|
|
200
|
+
dialogueList: 'DialogueList',
|
|
201
|
+
displayStatus: 'DisplayStatus',
|
|
202
|
+
duration: 'Duration',
|
|
203
|
+
durationText: 'DurationText',
|
|
204
|
+
extInfo: 'ExtInfo',
|
|
205
|
+
gmtCreate: 'GmtCreate',
|
|
206
|
+
gmtModified: 'GmtModified',
|
|
207
|
+
id: 'Id',
|
|
208
|
+
instanceId: 'InstanceId',
|
|
209
|
+
labelTags: 'LabelTags',
|
|
210
|
+
recordDetailReady: 'RecordDetailReady',
|
|
211
|
+
recordUrl: 'RecordUrl',
|
|
212
|
+
retryCount: 'RetryCount',
|
|
213
|
+
sceneId: 'SceneId',
|
|
214
|
+
status: 'Status',
|
|
215
|
+
taskId: 'TaskId',
|
|
216
|
+
tenantId: 'TenantId',
|
|
217
|
+
ttsVoiceCode: 'TtsVoiceCode',
|
|
218
|
+
ttsVoiceDesc: 'TtsVoiceDesc',
|
|
219
|
+
userId: 'UserId',
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
static types(): { [key: string]: any } {
|
|
224
|
+
return {
|
|
225
|
+
callEndTime: 'string',
|
|
226
|
+
callId: 'string',
|
|
227
|
+
callStartTime: 'string',
|
|
228
|
+
callSummary: 'string',
|
|
229
|
+
channel: 'string',
|
|
230
|
+
customerName: 'string',
|
|
231
|
+
customerPhone: 'string',
|
|
232
|
+
dialogueList: { 'type': 'array', 'itemType': ReadOutboundTaskCallListResponseBodyRecordsDialogueList },
|
|
233
|
+
displayStatus: 'string',
|
|
234
|
+
duration: 'number',
|
|
235
|
+
durationText: 'string',
|
|
236
|
+
extInfo: 'string',
|
|
237
|
+
gmtCreate: 'string',
|
|
238
|
+
gmtModified: 'string',
|
|
239
|
+
id: 'number',
|
|
240
|
+
instanceId: 'string',
|
|
241
|
+
labelTags: { 'type': 'array', 'itemType': 'string' },
|
|
242
|
+
recordDetailReady: 'boolean',
|
|
243
|
+
recordUrl: 'string',
|
|
244
|
+
retryCount: 'number',
|
|
245
|
+
sceneId: 'string',
|
|
246
|
+
status: 'string',
|
|
247
|
+
taskId: 'string',
|
|
248
|
+
tenantId: 'string',
|
|
249
|
+
ttsVoiceCode: 'string',
|
|
250
|
+
ttsVoiceDesc: 'string',
|
|
251
|
+
userId: 'string',
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
validate() {
|
|
256
|
+
if(Array.isArray(this.dialogueList)) {
|
|
257
|
+
$dara.Model.validateArray(this.dialogueList);
|
|
258
|
+
}
|
|
259
|
+
if(Array.isArray(this.labelTags)) {
|
|
260
|
+
$dara.Model.validateArray(this.labelTags);
|
|
261
|
+
}
|
|
262
|
+
super.validate();
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
constructor(map?: { [key: string]: any }) {
|
|
266
|
+
super(map);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export class ReadOutboundTaskCallListResponseBody extends $dara.Model {
|
|
271
|
+
/**
|
|
272
|
+
* @example
|
|
273
|
+
* 200
|
|
274
|
+
*/
|
|
275
|
+
code?: string;
|
|
276
|
+
/**
|
|
277
|
+
* @example
|
|
278
|
+
* 1
|
|
279
|
+
*/
|
|
280
|
+
current?: number;
|
|
281
|
+
/**
|
|
282
|
+
* @example
|
|
283
|
+
* successful
|
|
284
|
+
*/
|
|
285
|
+
message?: string;
|
|
286
|
+
records?: ReadOutboundTaskCallListResponseBodyRecords[];
|
|
287
|
+
/**
|
|
288
|
+
* @example
|
|
289
|
+
* 202BFA44-28D8-571E-B992-BA70F2E92FB0
|
|
290
|
+
*/
|
|
291
|
+
requestId?: string;
|
|
292
|
+
/**
|
|
293
|
+
* @example
|
|
294
|
+
* 10
|
|
295
|
+
*/
|
|
296
|
+
size?: number;
|
|
297
|
+
/**
|
|
298
|
+
* @example
|
|
299
|
+
* True
|
|
300
|
+
*/
|
|
301
|
+
success?: boolean;
|
|
302
|
+
/**
|
|
303
|
+
* @example
|
|
304
|
+
* 1743387963
|
|
305
|
+
*/
|
|
306
|
+
timestamp?: string;
|
|
307
|
+
/**
|
|
308
|
+
* @example
|
|
309
|
+
* 3
|
|
310
|
+
*/
|
|
311
|
+
total?: number;
|
|
312
|
+
/**
|
|
313
|
+
* @example
|
|
314
|
+
* F47D4976-FC5A-5687-A890-B7923D3B429B
|
|
315
|
+
*/
|
|
316
|
+
traceId?: string;
|
|
317
|
+
static names(): { [key: string]: string } {
|
|
318
|
+
return {
|
|
319
|
+
code: 'Code',
|
|
320
|
+
current: 'Current',
|
|
321
|
+
message: 'Message',
|
|
322
|
+
records: 'Records',
|
|
323
|
+
requestId: 'RequestId',
|
|
324
|
+
size: 'Size',
|
|
325
|
+
success: 'Success',
|
|
326
|
+
timestamp: 'Timestamp',
|
|
327
|
+
total: 'Total',
|
|
328
|
+
traceId: 'TraceId',
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
static types(): { [key: string]: any } {
|
|
333
|
+
return {
|
|
334
|
+
code: 'string',
|
|
335
|
+
current: 'number',
|
|
336
|
+
message: 'string',
|
|
337
|
+
records: { 'type': 'array', 'itemType': ReadOutboundTaskCallListResponseBodyRecords },
|
|
338
|
+
requestId: 'string',
|
|
339
|
+
size: 'number',
|
|
340
|
+
success: 'boolean',
|
|
341
|
+
timestamp: 'string',
|
|
342
|
+
total: 'number',
|
|
343
|
+
traceId: 'string',
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
validate() {
|
|
348
|
+
if(Array.isArray(this.records)) {
|
|
349
|
+
$dara.Model.validateArray(this.records);
|
|
350
|
+
}
|
|
351
|
+
super.validate();
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
constructor(map?: { [key: string]: any }) {
|
|
355
|
+
super(map);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ReadOutboundTaskCallListShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
current?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 张先生
|
|
14
|
+
*/
|
|
15
|
+
customerNameOrPhone?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* ["1", "2"]
|
|
19
|
+
*/
|
|
20
|
+
displayStatusListShrink?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* ["有意向", "高净值"]
|
|
24
|
+
*/
|
|
25
|
+
labelTagsShrink?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 10
|
|
29
|
+
*/
|
|
30
|
+
maxResults?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* nextToken
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 51CC272E-D879-1B23-B98E-FCFB072D362B
|
|
37
|
+
*/
|
|
38
|
+
nextToken?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* 10
|
|
42
|
+
*/
|
|
43
|
+
size?: number;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* 1
|
|
47
|
+
*/
|
|
48
|
+
taskId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* 123456789
|
|
52
|
+
*/
|
|
53
|
+
userId?: string;
|
|
54
|
+
static names(): { [key: string]: string } {
|
|
55
|
+
return {
|
|
56
|
+
current: 'Current',
|
|
57
|
+
customerNameOrPhone: 'CustomerNameOrPhone',
|
|
58
|
+
displayStatusListShrink: 'DisplayStatusList',
|
|
59
|
+
labelTagsShrink: 'LabelTags',
|
|
60
|
+
maxResults: 'MaxResults',
|
|
61
|
+
nextToken: 'NextToken',
|
|
62
|
+
size: 'Size',
|
|
63
|
+
taskId: 'TaskId',
|
|
64
|
+
userId: 'UserId',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static types(): { [key: string]: any } {
|
|
69
|
+
return {
|
|
70
|
+
current: 'number',
|
|
71
|
+
customerNameOrPhone: 'string',
|
|
72
|
+
displayStatusListShrink: 'string',
|
|
73
|
+
labelTagsShrink: 'string',
|
|
74
|
+
maxResults: 'number',
|
|
75
|
+
nextToken: 'string',
|
|
76
|
+
size: 'number',
|
|
77
|
+
taskId: 'string',
|
|
78
|
+
userId: 'string',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
validate() {
|
|
83
|
+
super.validate();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
constructor(map?: { [key: string]: any }) {
|
|
87
|
+
super(map);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ReadOutboundTaskCallListResponseBodyRecordsDialogueList } from './ReadOutboundTaskCallListResponseBody';
|
|
2
|
+
export { ReadOutboundTaskCallListResponseBodyRecords } from './ReadOutboundTaskCallListResponseBody';
|
|
3
|
+
export { ReadOutboundTaskCallListRequest } from './ReadOutboundTaskCallListRequest';
|
|
4
|
+
export { ReadOutboundTaskCallListShrinkRequest } from './ReadOutboundTaskCallListShrinkRequest';
|
|
5
|
+
export { ReadOutboundTaskCallListResponseBody } from './ReadOutboundTaskCallListResponseBody';
|
|
6
|
+
export { ReadOutboundTaskCallListResponse } from './ReadOutboundTaskCallListResponse';
|