@alicloud/dyvmsapi20170525 4.2.0 → 4.3.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.
Files changed (105) hide show
  1. package/dist/client.d.ts +120 -0
  2. package/dist/client.js +645 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CloudGetObCdrRequest.d.ts +33 -0
  5. package/dist/models/CloudGetObCdrRequest.js +60 -0
  6. package/dist/models/CloudGetObCdrRequest.js.map +1 -0
  7. package/dist/models/CloudGetObCdrResponse.d.ts +19 -0
  8. package/dist/models/CloudGetObCdrResponse.js +69 -0
  9. package/dist/models/CloudGetObCdrResponse.js.map +1 -0
  10. package/dist/models/CloudGetObCdrResponseBody.d.ts +293 -0
  11. package/dist/models/CloudGetObCdrResponseBody.js +175 -0
  12. package/dist/models/CloudGetObCdrResponseBody.js.map +1 -0
  13. package/dist/models/CloudGetRecordUrlRequest.d.ts +73 -0
  14. package/dist/models/CloudGetRecordUrlRequest.js +70 -0
  15. package/dist/models/CloudGetRecordUrlRequest.js.map +1 -0
  16. package/dist/models/CloudGetRecordUrlResponse.d.ts +19 -0
  17. package/dist/models/CloudGetRecordUrlResponse.js +69 -0
  18. package/dist/models/CloudGetRecordUrlResponse.js.map +1 -0
  19. package/dist/models/CloudGetRecordUrlResponseBody.d.ts +50 -0
  20. package/dist/models/CloudGetRecordUrlResponseBody.js +88 -0
  21. package/dist/models/CloudGetRecordUrlResponseBody.js.map +1 -0
  22. package/dist/models/CloudOutboundObClidReportRequest.d.ts +103 -0
  23. package/dist/models/CloudOutboundObClidReportRequest.js +76 -0
  24. package/dist/models/CloudOutboundObClidReportRequest.js.map +1 -0
  25. package/dist/models/CloudOutboundObClidReportResponse.d.ts +19 -0
  26. package/dist/models/CloudOutboundObClidReportResponse.js +69 -0
  27. package/dist/models/CloudOutboundObClidReportResponse.js.map +1 -0
  28. package/dist/models/CloudOutboundObClidReportResponseBody.d.ts +256 -0
  29. package/dist/models/CloudOutboundObClidReportResponseBody.js +158 -0
  30. package/dist/models/CloudOutboundObClidReportResponseBody.js.map +1 -0
  31. package/dist/models/CloudOutboundPreviewObReportRequest.d.ts +105 -0
  32. package/dist/models/CloudOutboundPreviewObReportRequest.js +76 -0
  33. package/dist/models/CloudOutboundPreviewObReportRequest.js.map +1 -0
  34. package/dist/models/CloudOutboundPreviewObReportResponse.d.ts +19 -0
  35. package/dist/models/CloudOutboundPreviewObReportResponse.js +69 -0
  36. package/dist/models/CloudOutboundPreviewObReportResponse.js.map +1 -0
  37. package/dist/models/CloudOutboundPreviewObReportResponseBody.d.ts +318 -0
  38. package/dist/models/CloudOutboundPreviewObReportResponseBody.js +176 -0
  39. package/dist/models/CloudOutboundPreviewObReportResponseBody.js.map +1 -0
  40. package/dist/models/CloudQueryIbCdrRequest.d.ts +167 -0
  41. package/dist/models/CloudQueryIbCdrRequest.js +94 -0
  42. package/dist/models/CloudQueryIbCdrRequest.js.map +1 -0
  43. package/dist/models/CloudQueryIbCdrResponse.d.ts +19 -0
  44. package/dist/models/CloudQueryIbCdrResponse.js +69 -0
  45. package/dist/models/CloudQueryIbCdrResponse.js.map +1 -0
  46. package/dist/models/CloudQueryIbCdrResponseBody.d.ts +302 -0
  47. package/dist/models/CloudQueryIbCdrResponseBody.js +189 -0
  48. package/dist/models/CloudQueryIbCdrResponseBody.js.map +1 -0
  49. package/dist/models/CloudQueryObCdrRequest.d.ts +215 -0
  50. package/dist/models/CloudQueryObCdrRequest.js +106 -0
  51. package/dist/models/CloudQueryObCdrRequest.js.map +1 -0
  52. package/dist/models/CloudQueryObCdrResponse.d.ts +19 -0
  53. package/dist/models/CloudQueryObCdrResponse.js +69 -0
  54. package/dist/models/CloudQueryObCdrResponse.js.map +1 -0
  55. package/dist/models/CloudQueryObCdrResponseBody.d.ts +453 -0
  56. package/dist/models/CloudQueryObCdrResponseBody.js +229 -0
  57. package/dist/models/CloudQueryObCdrResponseBody.js.map +1 -0
  58. package/dist/models/CloudQueryPredictiveCallCdrRequest.d.ts +199 -0
  59. package/dist/models/CloudQueryPredictiveCallCdrRequest.js +102 -0
  60. package/dist/models/CloudQueryPredictiveCallCdrRequest.js.map +1 -0
  61. package/dist/models/CloudQueryPredictiveCallCdrResponse.d.ts +19 -0
  62. package/dist/models/CloudQueryPredictiveCallCdrResponse.js +69 -0
  63. package/dist/models/CloudQueryPredictiveCallCdrResponse.js.map +1 -0
  64. package/dist/models/CloudQueryPredictiveCallCdrResponseBody.d.ts +462 -0
  65. package/dist/models/CloudQueryPredictiveCallCdrResponseBody.js +229 -0
  66. package/dist/models/CloudQueryPredictiveCallCdrResponseBody.js.map +1 -0
  67. package/dist/models/CloudQueryWebcallCdrRequest.d.ts +199 -0
  68. package/dist/models/CloudQueryWebcallCdrRequest.js +102 -0
  69. package/dist/models/CloudQueryWebcallCdrRequest.js.map +1 -0
  70. package/dist/models/CloudQueryWebcallCdrResponse.d.ts +19 -0
  71. package/dist/models/CloudQueryWebcallCdrResponse.js +69 -0
  72. package/dist/models/CloudQueryWebcallCdrResponse.js.map +1 -0
  73. package/dist/models/CloudQueryWebcallCdrResponseBody.d.ts +405 -0
  74. package/dist/models/CloudQueryWebcallCdrResponseBody.js +216 -0
  75. package/dist/models/CloudQueryWebcallCdrResponseBody.js.map +1 -0
  76. package/dist/models/model.d.ts +43 -0
  77. package/dist/models/model.js +94 -7
  78. package/dist/models/model.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/client.ts +780 -0
  81. package/src/models/CloudGetObCdrRequest.ts +48 -0
  82. package/src/models/CloudGetObCdrResponse.ts +40 -0
  83. package/src/models/CloudGetObCdrResponseBody.ts +405 -0
  84. package/src/models/CloudGetRecordUrlRequest.ts +98 -0
  85. package/src/models/CloudGetRecordUrlResponse.ts +40 -0
  86. package/src/models/CloudGetRecordUrlResponseBody.ts +84 -0
  87. package/src/models/CloudOutboundObClidReportRequest.ts +134 -0
  88. package/src/models/CloudOutboundObClidReportResponse.ts +40 -0
  89. package/src/models/CloudOutboundObClidReportResponseBody.ts +351 -0
  90. package/src/models/CloudOutboundPreviewObReportRequest.ts +136 -0
  91. package/src/models/CloudOutboundPreviewObReportResponse.ts +40 -0
  92. package/src/models/CloudOutboundPreviewObReportResponseBody.ts +431 -0
  93. package/src/models/CloudQueryIbCdrRequest.ts +216 -0
  94. package/src/models/CloudQueryIbCdrResponse.ts +40 -0
  95. package/src/models/CloudQueryIbCdrResponseBody.ts +417 -0
  96. package/src/models/CloudQueryObCdrRequest.ts +276 -0
  97. package/src/models/CloudQueryObCdrResponse.ts +40 -0
  98. package/src/models/CloudQueryObCdrResponseBody.ts +608 -0
  99. package/src/models/CloudQueryPredictiveCallCdrRequest.ts +256 -0
  100. package/src/models/CloudQueryPredictiveCallCdrResponse.ts +40 -0
  101. package/src/models/CloudQueryPredictiveCallCdrResponseBody.ts +617 -0
  102. package/src/models/CloudQueryWebcallCdrRequest.ts +256 -0
  103. package/src/models/CloudQueryWebcallCdrResponse.ts +40 -0
  104. package/src/models/CloudQueryWebcallCdrResponseBody.ts +549 -0
  105. package/src/models/model.ts +43 -0
@@ -0,0 +1,431 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CloudOutboundPreviewObReportResponseBodyDataList extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 座席接听数
9
+ *
10
+ * @example
11
+ * 3
12
+ */
13
+ agentAnsweredCount?: string;
14
+ /**
15
+ * @remarks
16
+ * 座席姓名
17
+ *
18
+ * @example
19
+ * name3
20
+ */
21
+ agentName?: string;
22
+ /**
23
+ * @remarks
24
+ * 座席接听率
25
+ *
26
+ * @example
27
+ * 100%
28
+ */
29
+ agentRate?: string;
30
+ /**
31
+ * @remarks
32
+ * 平均通话时长
33
+ *
34
+ * @example
35
+ * 00:00:12
36
+ */
37
+ avgBridgeTime?: string;
38
+ /**
39
+ * @remarks
40
+ * AXB双方接听数
41
+ *
42
+ * @example
43
+ * 0
44
+ */
45
+ axbBothAnsweredCount?: string;
46
+ /**
47
+ * @remarks
48
+ * AXB双方接听率 = AXB双方接听数 / AXB外呼总数
49
+ *
50
+ * @example
51
+ * 0%
52
+ */
53
+ axbBothAnsweredRate?: string;
54
+ /**
55
+ * @remarks
56
+ * AXB外呼双方接听分钟数
57
+ *
58
+ * @example
59
+ * 0
60
+ */
61
+ axbBothAnsweredTime?: string;
62
+ /**
63
+ * @remarks
64
+ * AXB外呼总数
65
+ *
66
+ * @example
67
+ * 0
68
+ */
69
+ axbObTotalCount?: string;
70
+ /**
71
+ * @remarks
72
+ * 双方接听数
73
+ *
74
+ * @example
75
+ * 3
76
+ */
77
+ bothAnsweredCount?: string;
78
+ /**
79
+ * @remarks
80
+ * 双方接听时长
81
+ *
82
+ * @example
83
+ * 2
84
+ */
85
+ bothAnsweredTime?: string;
86
+ /**
87
+ * @remarks
88
+ * 呼叫接通率
89
+ *
90
+ * @example
91
+ * 100%
92
+ */
93
+ callBridgedRate?: string;
94
+ /**
95
+ * @remarks
96
+ * 发起呼叫次数
97
+ *
98
+ * @example
99
+ * 3
100
+ */
101
+ callTotalCount?: string;
102
+ /**
103
+ * @remarks
104
+ * 座席工号
105
+ *
106
+ * @example
107
+ * 3008
108
+ */
109
+ cno?: string;
110
+ /**
111
+ * @remarks
112
+ * 客户接听数
113
+ *
114
+ * @example
115
+ * 3
116
+ */
117
+ customerAnsweredCount?: string;
118
+ /**
119
+ * @remarks
120
+ * 客户接听率
121
+ *
122
+ * @example
123
+ * 100%
124
+ */
125
+ customerRate?: string;
126
+ /**
127
+ * @remarks
128
+ * 统计周期
129
+ *
130
+ * @example
131
+ * 示例值
132
+ */
133
+ dateTimeRange?: string;
134
+ /**
135
+ * @remarks
136
+ * 企业Id
137
+ *
138
+ * @example
139
+ * 6000001
140
+ */
141
+ enterpriseId?: string;
142
+ /**
143
+ * @remarks
144
+ * 拦截次数
145
+ *
146
+ * @example
147
+ * 0
148
+ */
149
+ interceptionCount?: string;
150
+ /**
151
+ * @remarks
152
+ * 拦截率
153
+ *
154
+ * @example
155
+ * 0%
156
+ */
157
+ interceptionRate?: string;
158
+ /**
159
+ * @remarks
160
+ * 固话双方接听数
161
+ *
162
+ * @example
163
+ * 3
164
+ */
165
+ landlineBothAnsweredCount?: string;
166
+ /**
167
+ * @remarks
168
+ * 固话双方接听率 = 固话双方接听数 / 固话外呼总数
169
+ *
170
+ * @example
171
+ * 100%
172
+ */
173
+ landlineBothAnsweredRate?: string;
174
+ /**
175
+ * @remarks
176
+ * 固话双方接听分钟数
177
+ *
178
+ * @example
179
+ * 0
180
+ */
181
+ landlineBothAnsweredTime?: string;
182
+ /**
183
+ * @remarks
184
+ * 固话外呼总数
185
+ *
186
+ * @example
187
+ * 0
188
+ */
189
+ landlineObTotalCount?: string;
190
+ /**
191
+ * @remarks
192
+ * 最长通话时长
193
+ *
194
+ * @example
195
+ * 00:00:14
196
+ */
197
+ maxBridgeTime?: string;
198
+ /**
199
+ * @remarks
200
+ * 最短通话时长
201
+ *
202
+ * @example
203
+ * 00:00:11
204
+ */
205
+ minBridgeTime?: string;
206
+ /**
207
+ * @remarks
208
+ * 总通话时长
209
+ *
210
+ * @example
211
+ * 00:00:38
212
+ */
213
+ totalBridgeTime?: string;
214
+ /**
215
+ * @remarks
216
+ * 外呼总数
217
+ *
218
+ * @example
219
+ * 3
220
+ */
221
+ totalCount?: string;
222
+ /**
223
+ * @remarks
224
+ * 通话占比
225
+ *
226
+ * @example
227
+ * 0%
228
+ */
229
+ vadRate?: string;
230
+ /**
231
+ * @remarks
232
+ * 有效通话平均通话时长
233
+ *
234
+ * @example
235
+ * 00:00:12
236
+ */
237
+ validAvgBridgeTime?: string;
238
+ /**
239
+ * @remarks
240
+ * 有效通话次数
241
+ *
242
+ * @example
243
+ * 3
244
+ */
245
+ validCalls?: string;
246
+ /**
247
+ * @remarks
248
+ * 有效通话总通话时长
249
+ *
250
+ * @example
251
+ * 00:00:38
252
+ */
253
+ validTotalBridgeTime?: string;
254
+ static names(): { [key: string]: string } {
255
+ return {
256
+ agentAnsweredCount: 'AgentAnsweredCount',
257
+ agentName: 'AgentName',
258
+ agentRate: 'AgentRate',
259
+ avgBridgeTime: 'AvgBridgeTime',
260
+ axbBothAnsweredCount: 'AxbBothAnsweredCount',
261
+ axbBothAnsweredRate: 'AxbBothAnsweredRate',
262
+ axbBothAnsweredTime: 'AxbBothAnsweredTime',
263
+ axbObTotalCount: 'AxbObTotalCount',
264
+ bothAnsweredCount: 'BothAnsweredCount',
265
+ bothAnsweredTime: 'BothAnsweredTime',
266
+ callBridgedRate: 'CallBridgedRate',
267
+ callTotalCount: 'CallTotalCount',
268
+ cno: 'Cno',
269
+ customerAnsweredCount: 'CustomerAnsweredCount',
270
+ customerRate: 'CustomerRate',
271
+ dateTimeRange: 'DateTimeRange',
272
+ enterpriseId: 'EnterpriseId',
273
+ interceptionCount: 'InterceptionCount',
274
+ interceptionRate: 'InterceptionRate',
275
+ landlineBothAnsweredCount: 'LandlineBothAnsweredCount',
276
+ landlineBothAnsweredRate: 'LandlineBothAnsweredRate',
277
+ landlineBothAnsweredTime: 'LandlineBothAnsweredTime',
278
+ landlineObTotalCount: 'LandlineObTotalCount',
279
+ maxBridgeTime: 'MaxBridgeTime',
280
+ minBridgeTime: 'MinBridgeTime',
281
+ totalBridgeTime: 'TotalBridgeTime',
282
+ totalCount: 'TotalCount',
283
+ vadRate: 'VadRate',
284
+ validAvgBridgeTime: 'ValidAvgBridgeTime',
285
+ validCalls: 'ValidCalls',
286
+ validTotalBridgeTime: 'ValidTotalBridgeTime',
287
+ };
288
+ }
289
+
290
+ static types(): { [key: string]: any } {
291
+ return {
292
+ agentAnsweredCount: 'string',
293
+ agentName: 'string',
294
+ agentRate: 'string',
295
+ avgBridgeTime: 'string',
296
+ axbBothAnsweredCount: 'string',
297
+ axbBothAnsweredRate: 'string',
298
+ axbBothAnsweredTime: 'string',
299
+ axbObTotalCount: 'string',
300
+ bothAnsweredCount: 'string',
301
+ bothAnsweredTime: 'string',
302
+ callBridgedRate: 'string',
303
+ callTotalCount: 'string',
304
+ cno: 'string',
305
+ customerAnsweredCount: 'string',
306
+ customerRate: 'string',
307
+ dateTimeRange: 'string',
308
+ enterpriseId: 'string',
309
+ interceptionCount: 'string',
310
+ interceptionRate: 'string',
311
+ landlineBothAnsweredCount: 'string',
312
+ landlineBothAnsweredRate: 'string',
313
+ landlineBothAnsweredTime: 'string',
314
+ landlineObTotalCount: 'string',
315
+ maxBridgeTime: 'string',
316
+ minBridgeTime: 'string',
317
+ totalBridgeTime: 'string',
318
+ totalCount: 'string',
319
+ vadRate: 'string',
320
+ validAvgBridgeTime: 'string',
321
+ validCalls: 'string',
322
+ validTotalBridgeTime: 'string',
323
+ };
324
+ }
325
+
326
+ validate() {
327
+ super.validate();
328
+ }
329
+
330
+ constructor(map?: { [key: string]: any }) {
331
+ super(map);
332
+ }
333
+ }
334
+
335
+ export class CloudOutboundPreviewObReportResponseBodyData extends $dara.Model {
336
+ list?: CloudOutboundPreviewObReportResponseBodyDataList[];
337
+ /**
338
+ * @example
339
+ * 10
340
+ */
341
+ pageSize?: string;
342
+ /**
343
+ * @example
344
+ * 1
345
+ */
346
+ totalCount?: string;
347
+ /**
348
+ * @example
349
+ * 1
350
+ */
351
+ totalPageCount?: string;
352
+ static names(): { [key: string]: string } {
353
+ return {
354
+ list: 'List',
355
+ pageSize: 'PageSize',
356
+ totalCount: 'TotalCount',
357
+ totalPageCount: 'TotalPageCount',
358
+ };
359
+ }
360
+
361
+ static types(): { [key: string]: any } {
362
+ return {
363
+ list: { 'type': 'array', 'itemType': CloudOutboundPreviewObReportResponseBodyDataList },
364
+ pageSize: 'string',
365
+ totalCount: 'string',
366
+ totalPageCount: 'string',
367
+ };
368
+ }
369
+
370
+ validate() {
371
+ if(Array.isArray(this.list)) {
372
+ $dara.Model.validateArray(this.list);
373
+ }
374
+ super.validate();
375
+ }
376
+
377
+ constructor(map?: { [key: string]: any }) {
378
+ super(map);
379
+ }
380
+ }
381
+
382
+ export class CloudOutboundPreviewObReportResponseBody extends $dara.Model {
383
+ accessDeniedDetail?: string;
384
+ /**
385
+ * @example
386
+ * OK
387
+ */
388
+ code?: string;
389
+ data?: CloudOutboundPreviewObReportResponseBodyData;
390
+ /**
391
+ * @example
392
+ * OK
393
+ */
394
+ message?: string;
395
+ /**
396
+ * @example
397
+ * D9CB3933-9FE3-4870-BA8E-2BEE91B69D23
398
+ */
399
+ requestId?: string;
400
+ static names(): { [key: string]: string } {
401
+ return {
402
+ accessDeniedDetail: 'AccessDeniedDetail',
403
+ code: 'Code',
404
+ data: 'Data',
405
+ message: 'Message',
406
+ requestId: 'RequestId',
407
+ };
408
+ }
409
+
410
+ static types(): { [key: string]: any } {
411
+ return {
412
+ accessDeniedDetail: 'string',
413
+ code: 'string',
414
+ data: CloudOutboundPreviewObReportResponseBodyData,
415
+ message: 'string',
416
+ requestId: 'string',
417
+ };
418
+ }
419
+
420
+ validate() {
421
+ if(this.data && typeof (this.data as any).validate === 'function') {
422
+ (this.data as any).validate();
423
+ }
424
+ super.validate();
425
+ }
426
+
427
+ constructor(map?: { [key: string]: any }) {
428
+ super(map);
429
+ }
430
+ }
431
+
@@ -0,0 +1,216 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CloudQueryIbCdrRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 座席号码
9
+ *
10
+ * @example
11
+ * 41008502
12
+ */
13
+ calleeNumber?: string;
14
+ /**
15
+ * @remarks
16
+ * 客户电话归属城市;为空表示全部,如"成都",此参数需要URLEncode
17
+ *
18
+ * @example
19
+ * 示例值
20
+ */
21
+ city?: string;
22
+ /**
23
+ * @remarks
24
+ * 座席工号,此字段支持传入多个座席工号,使用英文半角逗号隔开
25
+ *
26
+ * @example
27
+ * 1111
28
+ */
29
+ cno?: string;
30
+ /**
31
+ * @remarks
32
+ * 客户号码
33
+ *
34
+ * @example
35
+ * 17750247753
36
+ */
37
+ customerNumber?: string;
38
+ /**
39
+ * @remarks
40
+ * 查询结束时间;时间戳格式,精确到s。startTime与endTime不允许跨月,默认值取当前月份最后一天
41
+ *
42
+ * @example
43
+ * 1775030413
44
+ */
45
+ endTime?: number;
46
+ /**
47
+ * @remarks
48
+ * 呼叫中心 id
49
+ *
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * 7000002
54
+ */
55
+ enterpriseId?: number;
56
+ /**
57
+ * @remarks
58
+ * 热线号码
59
+ *
60
+ * @example
61
+ * 10003221
62
+ */
63
+ hotline?: string;
64
+ /**
65
+ * @remarks
66
+ * 未进入队列原因 参数说明: 4: 无座席未进入队列 , 3: 队列满未进入队列
67
+ *
68
+ * @example
69
+ * 3
70
+ */
71
+ joinQueueCode?: number;
72
+ /**
73
+ * @remarks
74
+ * 离开队列原因 参数说明: 2: 队列中放弃 , 3: 队列中超时溢出 , 4: 队列中无座席溢出
75
+ *
76
+ * @example
77
+ * 2
78
+ */
79
+ leaveQueueCode?: number;
80
+ /**
81
+ * @remarks
82
+ * 需要取出的数据条数;大于0,最大不能超过1000,默认10
83
+ *
84
+ * @example
85
+ * 10
86
+ */
87
+ limit?: number;
88
+ /**
89
+ * @remarks
90
+ * 客户电话归属省份;为空表示全部,如"四川",此参数需要URLEncode
91
+ *
92
+ * @example
93
+ * 示例值
94
+ */
95
+ province?: string;
96
+ /**
97
+ * @remarks
98
+ * 队列号 参数说明:-1: 未进入队列
99
+ *
100
+ * @example
101
+ * 566
102
+ */
103
+ qno?: string;
104
+ /**
105
+ * @remarks
106
+ * 从第几条开始取;大于等于0,默认0
107
+ *
108
+ * @example
109
+ * 0
110
+ */
111
+ start?: number;
112
+ /**
113
+ * @remarks
114
+ * 查询开始时间;时间戳格式,精确到s。startTime与endTime不允许跨月,默认值取当前月份第一天
115
+ *
116
+ * @example
117
+ * 1775024775
118
+ */
119
+ startTime?: number;
120
+ /**
121
+ * @remarks
122
+ * 呼叫结果;参数说明: 1:座席接听 2:已呼叫座席,座席未接听 3:系统接听 4:系统未接听-IVR配置错误 5:系统未接听-停机 6:系统未接听-欠费 7:系统未接听-黑名单 8:系统未接听-未注册 9:系统未接听-彩铃 11:系统未接听-呼叫超出营帐中设置的最大限制 12:系统未接听-客户呼入系统后在系统未应答前挂机 13:其他错误 14:未进入队列 15:队列中放弃 16:队列中超时溢出 17:队列中无座席溢出 18:无座席未进入队列 19:队列满未进入队列
123
+ *
124
+ * @example
125
+ * 1
126
+ */
127
+ status?: number;
128
+ /**
129
+ * @remarks
130
+ * 查询时间开始结束范围生效类型;通话记录startTime和endTime时间范围生效类型,当startTime和endTime不为空时生效;取值:1.呼叫开始时间 2.呼叫结束时间; 默认为1
131
+ *
132
+ * @example
133
+ * 1
134
+ */
135
+ timeRangeType?: string;
136
+ /**
137
+ * @remarks
138
+ * 如果uniqueId值不为空,则以下其它参数无效,即仅查询电话唯一标识为uniqueId的记录信息
139
+ *
140
+ * @example
141
+ * uniq_1-162046xxxx.12
142
+ */
143
+ uniqueId?: string;
144
+ /**
145
+ * @remarks
146
+ * 用户自定义参数指定查询value;传递该参数时必须传递userFieldKey,仅查询一个字段,不支持模糊匹配, 构造的自定义字段查询条件为:{"userFieldkey":"userFieldvalue"},此参数需要URLEncode
147
+ *
148
+ * @example
149
+ * userFieldvalue
150
+ */
151
+ userFieldValue?: string;
152
+ /**
153
+ * @remarks
154
+ * 用户自定义参数指定查询key;传递该参数时必须传递userFieldValue,仅查询一个字段,不支持模糊匹配, 构造的自定义字段查询条件为:{"userFieldkey":"userFieldvalue"},此参数需要URLEncode
155
+ *
156
+ * @example
157
+ * userFieldkey
158
+ */
159
+ userFieldkey?: string;
160
+ static names(): { [key: string]: string } {
161
+ return {
162
+ calleeNumber: 'CalleeNumber',
163
+ city: 'City',
164
+ cno: 'Cno',
165
+ customerNumber: 'CustomerNumber',
166
+ endTime: 'EndTime',
167
+ enterpriseId: 'EnterpriseId',
168
+ hotline: 'Hotline',
169
+ joinQueueCode: 'JoinQueueCode',
170
+ leaveQueueCode: 'LeaveQueueCode',
171
+ limit: 'Limit',
172
+ province: 'Province',
173
+ qno: 'Qno',
174
+ start: 'Start',
175
+ startTime: 'StartTime',
176
+ status: 'Status',
177
+ timeRangeType: 'TimeRangeType',
178
+ uniqueId: 'UniqueId',
179
+ userFieldValue: 'UserFieldValue',
180
+ userFieldkey: 'UserFieldkey',
181
+ };
182
+ }
183
+
184
+ static types(): { [key: string]: any } {
185
+ return {
186
+ calleeNumber: 'string',
187
+ city: 'string',
188
+ cno: 'string',
189
+ customerNumber: 'string',
190
+ endTime: 'number',
191
+ enterpriseId: 'number',
192
+ hotline: 'string',
193
+ joinQueueCode: 'number',
194
+ leaveQueueCode: 'number',
195
+ limit: 'number',
196
+ province: 'string',
197
+ qno: 'string',
198
+ start: 'number',
199
+ startTime: 'number',
200
+ status: 'number',
201
+ timeRangeType: 'string',
202
+ uniqueId: 'string',
203
+ userFieldValue: 'string',
204
+ userFieldkey: 'string',
205
+ };
206
+ }
207
+
208
+ validate() {
209
+ super.validate();
210
+ }
211
+
212
+ constructor(map?: { [key: string]: any }) {
213
+ super(map);
214
+ }
215
+ }
216
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CloudQueryIbCdrResponseBody } from "./CloudQueryIbCdrResponseBody";
4
+
5
+
6
+ export class CloudQueryIbCdrResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CloudQueryIbCdrResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CloudQueryIbCdrResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+