@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,134 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CloudOutboundObClidReportRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 说明:根据区号查询指定区域的预览外呼被叫号码统计支持按照多个区号进行查询,多个区号之间使用英文逗号","分隔,默认查询账户下所有地区的预览外呼被叫号码统计
9
+ *
10
+ * @example
11
+ * 010
12
+ */
13
+ areaCodes?: string;
14
+ /**
15
+ * @remarks
16
+ * 统计时段结束时间;取值:0~23,默认值为24时
17
+ *
18
+ * @example
19
+ * 23
20
+ */
21
+ endHour?: number;
22
+ /**
23
+ * @remarks
24
+ * 说明:统计日期的结束时间,格式:yyyy-MM-dd
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * 2017-06-13
30
+ */
31
+ endTime?: string;
32
+ /**
33
+ * @remarks
34
+ * 呼叫中心 id
35
+ *
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * 7000002
40
+ */
41
+ enterpriseId?: number;
42
+ /**
43
+ * @remarks
44
+ * 查询条数;取值:最大不能超过1000,默认10
45
+ *
46
+ * @example
47
+ * 10
48
+ */
49
+ limit?: number;
50
+ /**
51
+ * @remarks
52
+ * 查询起始位置;取值:大于等于0,默认0
53
+ *
54
+ * @example
55
+ * 0
56
+ */
57
+ start?: number;
58
+ /**
59
+ * @remarks
60
+ * 统计时段开始时间;取值:0~23,默认值为0时
61
+ *
62
+ * @example
63
+ * 0
64
+ */
65
+ startHour?: number;
66
+ /**
67
+ * @remarks
68
+ * 说明:统计日期的开始时间,格式:yyyy-MM-dd
69
+ *
70
+ * This parameter is required.
71
+ *
72
+ * @example
73
+ * 2017-06-13
74
+ */
75
+ startTime?: string;
76
+ /**
77
+ * @remarks
78
+ * 统计方法;说明:0:分时1:分日2:汇总11:中继群组汇总
79
+ *
80
+ * This parameter is required.
81
+ *
82
+ * @example
83
+ * 2
84
+ */
85
+ statisticMethod?: number;
86
+ /**
87
+ * @remarks
88
+ * 统计类型;说明:统计报表时间类型,1:日报表2:周报表3:月报表4:自定义时间
89
+ *
90
+ * This parameter is required.
91
+ *
92
+ * @example
93
+ * 1
94
+ */
95
+ timeRangeType?: number;
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ areaCodes: 'AreaCodes',
99
+ endHour: 'EndHour',
100
+ endTime: 'EndTime',
101
+ enterpriseId: 'EnterpriseId',
102
+ limit: 'Limit',
103
+ start: 'Start',
104
+ startHour: 'StartHour',
105
+ startTime: 'StartTime',
106
+ statisticMethod: 'StatisticMethod',
107
+ timeRangeType: 'TimeRangeType',
108
+ };
109
+ }
110
+
111
+ static types(): { [key: string]: any } {
112
+ return {
113
+ areaCodes: 'string',
114
+ endHour: 'number',
115
+ endTime: 'string',
116
+ enterpriseId: 'number',
117
+ limit: 'number',
118
+ start: 'number',
119
+ startHour: 'number',
120
+ startTime: 'string',
121
+ statisticMethod: 'number',
122
+ timeRangeType: 'number',
123
+ };
124
+ }
125
+
126
+ validate() {
127
+ super.validate();
128
+ }
129
+
130
+ constructor(map?: { [key: string]: any }) {
131
+ super(map);
132
+ }
133
+ }
134
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CloudOutboundObClidReportResponseBody } from "./CloudOutboundObClidReportResponseBody";
4
+
5
+
6
+ export class CloudOutboundObClidReportResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CloudOutboundObClidReportResponseBody;
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: CloudOutboundObClidReportResponseBody,
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
+
@@ -0,0 +1,351 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CloudOutboundObClidReportResponseBodyDataList extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 客户接听数
9
+ *
10
+ * @example
11
+ * 4
12
+ */
13
+ answeredCount?: string;
14
+ /**
15
+ * @remarks
16
+ * 平均通话时长
17
+ *
18
+ * @example
19
+ * 00:02:12
20
+ */
21
+ avgBridgeTime?: string;
22
+ /**
23
+ * @remarks
24
+ * 平均等待时长
25
+ *
26
+ * @example
27
+ * 5
28
+ */
29
+ avgPreviewObWaitTime?: number;
30
+ /**
31
+ * @example
32
+ * 示例值示例值
33
+ */
34
+ callType?: string;
35
+ /**
36
+ * @remarks
37
+ * 城市
38
+ *
39
+ * @example
40
+ * 示例值示例值
41
+ */
42
+ city?: string;
43
+ /**
44
+ * @remarks
45
+ * 外显号码
46
+ *
47
+ * @example
48
+ * 01089192349
49
+ */
50
+ clid?: string;
51
+ /**
52
+ * @remarks
53
+ * 号码接听率
54
+ *
55
+ * @example
56
+ * 20%
57
+ */
58
+ clidRate?: string;
59
+ /**
60
+ * @remarks
61
+ * 创建日期
62
+ *
63
+ * @example
64
+ * 2026-04-20 10:00:00
65
+ */
66
+ createTime?: string;
67
+ /**
68
+ * @remarks
69
+ * 客户侧计费分钟数
70
+ *
71
+ * @example
72
+ * 45
73
+ */
74
+ customerBillMinute?: number;
75
+ /**
76
+ * @remarks
77
+ * 时间范围
78
+ *
79
+ * @example
80
+ * 示例值示例值示例值
81
+ */
82
+ dateTimeRange?: string;
83
+ /**
84
+ * @remarks
85
+ * 报表日期
86
+ *
87
+ * @example
88
+ * 2026-04-20
89
+ */
90
+ day?: string;
91
+ /**
92
+ * @remarks
93
+ * 企业Id
94
+ *
95
+ * @example
96
+ * 7000002
97
+ */
98
+ enterpriseId?: number;
99
+ /**
100
+ * @remarks
101
+ * 小时
102
+ *
103
+ * @example
104
+ * 0
105
+ */
106
+ hour?: string;
107
+ /**
108
+ * @remarks
109
+ * 最长通话时长
110
+ *
111
+ * @example
112
+ * 00:00:45
113
+ */
114
+ maxBridgeTime?: string;
115
+ /**
116
+ * @remarks
117
+ * 最短通话时长
118
+ *
119
+ * @example
120
+ * 00:00:03
121
+ */
122
+ minBridgeTime?: string;
123
+ /**
124
+ * @remarks
125
+ * 响铃数
126
+ *
127
+ * @example
128
+ * 19
129
+ */
130
+ previewObCustomerRingingCount?: number;
131
+ /**
132
+ * @remarks
133
+ * 响铃率
134
+ *
135
+ * @example
136
+ * 95%
137
+ */
138
+ previewObCustomerRingingRate?: string;
139
+ /**
140
+ * @remarks
141
+ * 省份
142
+ *
143
+ * @example
144
+ * 示例值示例值
145
+ */
146
+ province?: string;
147
+ /**
148
+ * @remarks
149
+ * 格式化日期
150
+ *
151
+ * @example
152
+ * 示例值
153
+ */
154
+ rowName?: string;
155
+ /**
156
+ * @remarks
157
+ * 总通话时长
158
+ *
159
+ * @example
160
+ * 00:08:48
161
+ */
162
+ totalBridgeTime?: string;
163
+ /**
164
+ * @remarks
165
+ * 外呼总数
166
+ *
167
+ * @example
168
+ * 20
169
+ */
170
+ totalCount?: string;
171
+ /**
172
+ * @remarks
173
+ * 中继群组代号
174
+ *
175
+ * @example
176
+ * 10000
177
+ */
178
+ trunkGroupKey?: string;
179
+ /**
180
+ * @remarks
181
+ * 有效通话平均时长
182
+ *
183
+ * @example
184
+ * 00:00:21
185
+ */
186
+ validAvgBridgeTime?: string;
187
+ /**
188
+ * @remarks
189
+ * 有效通话次数
190
+ *
191
+ * @example
192
+ * 2
193
+ */
194
+ validCalls?: string;
195
+ /**
196
+ * @remarks
197
+ * 有效通话总时长
198
+ *
199
+ * @example
200
+ * 00:00:42
201
+ */
202
+ validTotalBridgeTime?: string;
203
+ static names(): { [key: string]: string } {
204
+ return {
205
+ answeredCount: 'AnsweredCount',
206
+ avgBridgeTime: 'AvgBridgeTime',
207
+ avgPreviewObWaitTime: 'AvgPreviewObWaitTime',
208
+ callType: 'CallType',
209
+ city: 'City',
210
+ clid: 'Clid',
211
+ clidRate: 'ClidRate',
212
+ createTime: 'CreateTime',
213
+ customerBillMinute: 'CustomerBillMinute',
214
+ dateTimeRange: 'DateTimeRange',
215
+ day: 'Day',
216
+ enterpriseId: 'EnterpriseId',
217
+ hour: 'Hour',
218
+ maxBridgeTime: 'MaxBridgeTime',
219
+ minBridgeTime: 'MinBridgeTime',
220
+ previewObCustomerRingingCount: 'PreviewObCustomerRingingCount',
221
+ previewObCustomerRingingRate: 'PreviewObCustomerRingingRate',
222
+ province: 'Province',
223
+ rowName: 'RowName',
224
+ totalBridgeTime: 'TotalBridgeTime',
225
+ totalCount: 'TotalCount',
226
+ trunkGroupKey: 'TrunkGroupKey',
227
+ validAvgBridgeTime: 'ValidAvgBridgeTime',
228
+ validCalls: 'ValidCalls',
229
+ validTotalBridgeTime: 'ValidTotalBridgeTime',
230
+ };
231
+ }
232
+
233
+ static types(): { [key: string]: any } {
234
+ return {
235
+ answeredCount: 'string',
236
+ avgBridgeTime: 'string',
237
+ avgPreviewObWaitTime: 'number',
238
+ callType: 'string',
239
+ city: 'string',
240
+ clid: 'string',
241
+ clidRate: 'string',
242
+ createTime: 'string',
243
+ customerBillMinute: 'number',
244
+ dateTimeRange: 'string',
245
+ day: 'string',
246
+ enterpriseId: 'number',
247
+ hour: 'string',
248
+ maxBridgeTime: 'string',
249
+ minBridgeTime: 'string',
250
+ previewObCustomerRingingCount: 'number',
251
+ previewObCustomerRingingRate: 'string',
252
+ province: 'string',
253
+ rowName: 'string',
254
+ totalBridgeTime: 'string',
255
+ totalCount: 'string',
256
+ trunkGroupKey: 'string',
257
+ validAvgBridgeTime: 'string',
258
+ validCalls: 'string',
259
+ validTotalBridgeTime: 'string',
260
+ };
261
+ }
262
+
263
+ validate() {
264
+ super.validate();
265
+ }
266
+
267
+ constructor(map?: { [key: string]: any }) {
268
+ super(map);
269
+ }
270
+ }
271
+
272
+ export class CloudOutboundObClidReportResponseBodyData extends $dara.Model {
273
+ /**
274
+ * @remarks
275
+ * 返回数据
276
+ */
277
+ list?: CloudOutboundObClidReportResponseBodyDataList[];
278
+ static names(): { [key: string]: string } {
279
+ return {
280
+ list: 'List',
281
+ };
282
+ }
283
+
284
+ static types(): { [key: string]: any } {
285
+ return {
286
+ list: { 'type': 'array', 'itemType': CloudOutboundObClidReportResponseBodyDataList },
287
+ };
288
+ }
289
+
290
+ validate() {
291
+ if(Array.isArray(this.list)) {
292
+ $dara.Model.validateArray(this.list);
293
+ }
294
+ super.validate();
295
+ }
296
+
297
+ constructor(map?: { [key: string]: any }) {
298
+ super(map);
299
+ }
300
+ }
301
+
302
+ export class CloudOutboundObClidReportResponseBody extends $dara.Model {
303
+ accessDeniedDetail?: string;
304
+ /**
305
+ * @example
306
+ * OK
307
+ */
308
+ code?: string;
309
+ data?: CloudOutboundObClidReportResponseBodyData;
310
+ /**
311
+ * @example
312
+ * OK
313
+ */
314
+ message?: string;
315
+ /**
316
+ * @example
317
+ * 9FF70B74-1B3C-44C1-ACDF-8DF962988F0E
318
+ */
319
+ requestId?: string;
320
+ static names(): { [key: string]: string } {
321
+ return {
322
+ accessDeniedDetail: 'AccessDeniedDetail',
323
+ code: 'Code',
324
+ data: 'Data',
325
+ message: 'Message',
326
+ requestId: 'RequestId',
327
+ };
328
+ }
329
+
330
+ static types(): { [key: string]: any } {
331
+ return {
332
+ accessDeniedDetail: 'string',
333
+ code: 'string',
334
+ data: CloudOutboundObClidReportResponseBodyData,
335
+ message: 'string',
336
+ requestId: 'string',
337
+ };
338
+ }
339
+
340
+ validate() {
341
+ if(this.data && typeof (this.data as any).validate === 'function') {
342
+ (this.data as any).validate();
343
+ }
344
+ super.validate();
345
+ }
346
+
347
+ constructor(map?: { [key: string]: any }) {
348
+ super(map);
349
+ }
350
+ }
351
+
@@ -0,0 +1,136 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CloudOutboundPreviewObReportRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 座席号;说明:根据座席工号查询指定座席的预览外呼统计支持按照多个座席工号进行查询,多个座席工号之间使用英文逗号","分隔,默认查询账户下所有座席的预览外呼统计
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * 3008
14
+ */
15
+ cnos?: string;
16
+ /**
17
+ * @remarks
18
+ * 统计时段结束时间;取值:0~23,默认值为24时
19
+ *
20
+ * @example
21
+ * 23
22
+ */
23
+ endHour?: number;
24
+ /**
25
+ * @remarks
26
+ * 说明:统计日期的结束时间,格式:yyyy-MM-dd
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * 2017-06-13
32
+ */
33
+ endTime?: string;
34
+ /**
35
+ * @remarks
36
+ * 呼叫中心 id
37
+ *
38
+ * This parameter is required.
39
+ *
40
+ * @example
41
+ * 6000001
42
+ */
43
+ enterpriseId?: number;
44
+ /**
45
+ * @remarks
46
+ * 查询条数;取值:最大不能超过1000,默认10
47
+ *
48
+ * @example
49
+ * 10
50
+ */
51
+ limit?: number;
52
+ /**
53
+ * @remarks
54
+ * 查询起始位置;取值:大于等于0,默认0
55
+ *
56
+ * @example
57
+ * 0
58
+ */
59
+ start?: number;
60
+ /**
61
+ * @remarks
62
+ * 统计时段开始时间;取值:0~23,默认值为0时
63
+ *
64
+ * @example
65
+ * 0
66
+ */
67
+ startHour?: number;
68
+ /**
69
+ * @remarks
70
+ * 说明:统计日期的开始时间,格式:yyyy-MM-dd
71
+ *
72
+ * This parameter is required.
73
+ *
74
+ * @example
75
+ * 2017-06-13
76
+ */
77
+ startTime?: string;
78
+ /**
79
+ * @remarks
80
+ * 统计方法;说明:0:分时1:分日2:汇总
81
+ *
82
+ * This parameter is required.
83
+ *
84
+ * @example
85
+ * 2
86
+ */
87
+ statisticMethod?: number;
88
+ /**
89
+ * @remarks
90
+ * 统计类型;说明:统计报表时间类型,1:日报表2:周报表3:月报表4:自定义时间
91
+ *
92
+ * This parameter is required.
93
+ *
94
+ * @example
95
+ * 1
96
+ */
97
+ timeRangeType?: number;
98
+ static names(): { [key: string]: string } {
99
+ return {
100
+ cnos: 'Cnos',
101
+ endHour: 'EndHour',
102
+ endTime: 'EndTime',
103
+ enterpriseId: 'EnterpriseId',
104
+ limit: 'Limit',
105
+ start: 'Start',
106
+ startHour: 'StartHour',
107
+ startTime: 'StartTime',
108
+ statisticMethod: 'StatisticMethod',
109
+ timeRangeType: 'TimeRangeType',
110
+ };
111
+ }
112
+
113
+ static types(): { [key: string]: any } {
114
+ return {
115
+ cnos: 'string',
116
+ endHour: 'number',
117
+ endTime: 'string',
118
+ enterpriseId: 'number',
119
+ limit: 'number',
120
+ start: 'number',
121
+ startHour: 'number',
122
+ startTime: 'string',
123
+ statisticMethod: 'number',
124
+ timeRangeType: 'number',
125
+ };
126
+ }
127
+
128
+ validate() {
129
+ super.validate();
130
+ }
131
+
132
+ constructor(map?: { [key: string]: any }) {
133
+ super(map);
134
+ }
135
+ }
136
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CloudOutboundPreviewObReportResponseBody } from "./CloudOutboundPreviewObReportResponseBody";
4
+
5
+
6
+ export class CloudOutboundPreviewObReportResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CloudOutboundPreviewObReportResponseBody;
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: CloudOutboundPreviewObReportResponseBody,
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
+