@alicloud/dyvmsapi20170525 4.0.0 → 4.1.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.
@@ -0,0 +1,261 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CloudCreateAgentRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 是否激活;取值0或1,取值说明 0:不激活,1激活,默认激活
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ active?: number;
14
+ /**
15
+ * @remarks
16
+ * 座席所属区号;区号格式
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * 010
22
+ */
23
+ areaCode?: string;
24
+ /**
25
+ * @remarks
26
+ * 呼叫权限;取值说明 0:无限制,1:国内长途,2:国内本市,3:内部呼叫,默认无限制
27
+ *
28
+ * @example
29
+ * 0
30
+ */
31
+ callPower?: number;
32
+ /**
33
+ * @remarks
34
+ * 座席工号;正整数,取值3-10位数字
35
+ *
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * 1111
40
+ */
41
+ cno?: string;
42
+ /**
43
+ * @remarks
44
+ * 备注
45
+ *
46
+ * @example
47
+ * 示例值示例值
48
+ */
49
+ comment?: string;
50
+ /**
51
+ * @remarks
52
+ * 呼叫中心 id
53
+ *
54
+ * This parameter is required.
55
+ *
56
+ * @example
57
+ * 7000002
58
+ */
59
+ enterpriseId?: number;
60
+ /**
61
+ * @remarks
62
+ * 呼入是否录音;取值说明 0:不录用,1:录音,默认录音
63
+ *
64
+ * @example
65
+ * 1
66
+ */
67
+ ibRecord?: number;
68
+ /**
69
+ * @remarks
70
+ * 是否开启ASR转写;取值说明:0:不开启,1:开启,默认不开启
71
+ *
72
+ * @example
73
+ * 0
74
+ */
75
+ isAsr?: number;
76
+ /**
77
+ * @remarks
78
+ * 是否允许外呼;取值说明 0:不允许,1:可以,默认允许
79
+ *
80
+ * @example
81
+ * 1
82
+ */
83
+ isOb?: number;
84
+ /**
85
+ * @remarks
86
+ * 外呼主叫记忆开关;取值说明:0:关闭 1:开启;默认开启
87
+ *
88
+ * @example
89
+ * 1
90
+ */
91
+ isObRemember?: string;
92
+ /**
93
+ * @remarks
94
+ * 是否开启座席质检;取值说明:0:不开启,1:开启,默认开启
95
+ *
96
+ * @example
97
+ * 1
98
+ */
99
+ isQualityCheck?: number;
100
+ /**
101
+ * @remarks
102
+ * 座席姓名;需进行UTF-8格式的URLEncode编码
103
+ *
104
+ * This parameter is required.
105
+ *
106
+ * @example
107
+ * 示例值示例值示例值
108
+ */
109
+ name?: string;
110
+ /**
111
+ * @remarks
112
+ * 透传号码;可传入企业中继号码或设置好的客户侧外显号码,当obClidType值为2或3时必选
113
+ *
114
+ * @example
115
+ * 22223333
116
+ */
117
+ obClid?: string;
118
+ /**
119
+ * @remarks
120
+ * 外显属性;取值:{"isMatchCapital":0,"areaCodeRule":1,"isRandom":1};obClidType=4时,isMatchCapital表示是否匹配省会号码,1是 0否,areaCodeRule表示区号匹配规则,1座席区号 2客户号码区号 ;isRandom 随机外显
121
+ *
122
+ * @example
123
+ * {"isMatchCapital":0,"areaCodeRule":1,"isRandom":1}
124
+ */
125
+ obClidProperty?: string;
126
+ /**
127
+ * @remarks
128
+ * 外显规则;取值:1:默认 2:随机 3:按区号 4 动态外显 ,默认值为1
129
+ *
130
+ * @example
131
+ * 1
132
+ */
133
+ obClidType?: number;
134
+ /**
135
+ * @remarks
136
+ * 外呼是否录音;取值说明 0:不录音,1:录音,默认录音
137
+ *
138
+ * @example
139
+ * 1
140
+ */
141
+ obRecord?: number;
142
+ ownerId?: number;
143
+ /**
144
+ * @remarks
145
+ * 可外呼时间段;格式:08:00,20:00
146
+ *
147
+ * @example
148
+ * 08:00,20:00
149
+ */
150
+ permitObPreviewTime?: string;
151
+ /**
152
+ * @remarks
153
+ * 座席权限;取值1或0,取值说明 1:班长席,0:普通座席,默认为0 普通座席
154
+ *
155
+ * @example
156
+ * 0
157
+ */
158
+ power?: number;
159
+ resourceOwnerAccount?: string;
160
+ resourceOwnerId?: number;
161
+ /**
162
+ * @remarks
163
+ * 所选的技能id;可选择多个,多个之间使用英文标点逗号间隔.例如:"1,2,3";传入skillIds时,需要同时传入skillLevels
164
+ *
165
+ * @example
166
+ * 1,2,3
167
+ */
168
+ skillIds?: string;
169
+ /**
170
+ * @remarks
171
+ * 所选的技能的等级;值越小技能越高,多个间用英文标点逗号间隔。(与技能id相对应) 例如:"5,1,1"表示技能id为1的等级是5; 技能id为2的等级是1; 技能id为3的等级是1.
172
+ *
173
+ * @example
174
+ * 5,1,1
175
+ */
176
+ skillLevels?: string;
177
+ /**
178
+ * @remarks
179
+ * webrtc软电话返回地址;取值说明:0:企业默认 1:公网域名 2:专线域名 3:公网IP 4:专线IP
180
+ *
181
+ * @example
182
+ * 0
183
+ */
184
+ webrtcUrlType?: number;
185
+ /**
186
+ * @remarks
187
+ * 整理时间;单位秒数,默认10秒
188
+ *
189
+ * @example
190
+ * 20
191
+ */
192
+ wrapup?: number;
193
+ static names(): { [key: string]: string } {
194
+ return {
195
+ active: 'Active',
196
+ areaCode: 'AreaCode',
197
+ callPower: 'CallPower',
198
+ cno: 'Cno',
199
+ comment: 'Comment',
200
+ enterpriseId: 'EnterpriseId',
201
+ ibRecord: 'IbRecord',
202
+ isAsr: 'IsAsr',
203
+ isOb: 'IsOb',
204
+ isObRemember: 'IsObRemember',
205
+ isQualityCheck: 'IsQualityCheck',
206
+ name: 'Name',
207
+ obClid: 'ObClid',
208
+ obClidProperty: 'ObClidProperty',
209
+ obClidType: 'ObClidType',
210
+ obRecord: 'ObRecord',
211
+ ownerId: 'OwnerId',
212
+ permitObPreviewTime: 'PermitObPreviewTime',
213
+ power: 'Power',
214
+ resourceOwnerAccount: 'ResourceOwnerAccount',
215
+ resourceOwnerId: 'ResourceOwnerId',
216
+ skillIds: 'SkillIds',
217
+ skillLevels: 'SkillLevels',
218
+ webrtcUrlType: 'WebrtcUrlType',
219
+ wrapup: 'Wrapup',
220
+ };
221
+ }
222
+
223
+ static types(): { [key: string]: any } {
224
+ return {
225
+ active: 'number',
226
+ areaCode: 'string',
227
+ callPower: 'number',
228
+ cno: 'string',
229
+ comment: 'string',
230
+ enterpriseId: 'number',
231
+ ibRecord: 'number',
232
+ isAsr: 'number',
233
+ isOb: 'number',
234
+ isObRemember: 'string',
235
+ isQualityCheck: 'number',
236
+ name: 'string',
237
+ obClid: 'string',
238
+ obClidProperty: 'string',
239
+ obClidType: 'number',
240
+ obRecord: 'number',
241
+ ownerId: 'number',
242
+ permitObPreviewTime: 'string',
243
+ power: 'number',
244
+ resourceOwnerAccount: 'string',
245
+ resourceOwnerId: 'number',
246
+ skillIds: 'string',
247
+ skillLevels: 'string',
248
+ webrtcUrlType: 'number',
249
+ wrapup: 'number',
250
+ };
251
+ }
252
+
253
+ validate() {
254
+ super.validate();
255
+ }
256
+
257
+ constructor(map?: { [key: string]: any }) {
258
+ super(map);
259
+ }
260
+ }
261
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CloudCreateAgentResponseBody } from "./CloudCreateAgentResponseBody";
4
+
5
+
6
+ export class CloudCreateAgentResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CloudCreateAgentResponseBody;
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: CloudCreateAgentResponseBody,
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,420 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ /**
6
+ */
7
+ export class CloudCreateAgentResponseBodyDataAgent extends $dara.Model {
8
+ /**
9
+ * @remarks
10
+ * 是否启用,0:停用,1:启用,默认启用
11
+ *
12
+ * @example
13
+ * 1
14
+ */
15
+ active?: string;
16
+ /**
17
+ * @remarks
18
+ * 区号格式
19
+ *
20
+ * @example
21
+ * 010
22
+ */
23
+ areaCode?: string;
24
+ /**
25
+ * @remarks
26
+ * 座席绑定电话
27
+ *
28
+ * @example
29
+ * 2222333
30
+ */
31
+ bindTel?: string;
32
+ /**
33
+ * @remarks
34
+ * 电话类型,1:固话 2:手机 3:分机 4:软电话
35
+ *
36
+ * @example
37
+ * 1
38
+ */
39
+ bindTelType?: string;
40
+ /**
41
+ * @remarks
42
+ * 呼叫权限,0:无限制,1:国内长途,2:国内本市,3:内部呼叫,默认无限制
43
+ *
44
+ * @example
45
+ * 0
46
+ */
47
+ callPower?: string;
48
+ /**
49
+ * @remarks
50
+ * 座席工号
51
+ *
52
+ * @example
53
+ * 1111
54
+ */
55
+ cno?: string;
56
+ /**
57
+ * @remarks
58
+ * 创建时间,格式: yyyy-MM-dd HH:mm:ss
59
+ *
60
+ * @example
61
+ * 2026-01-30 08:00:00
62
+ */
63
+ createTime?: string;
64
+ /**
65
+ * @remarks
66
+ * 企业编号
67
+ *
68
+ * @example
69
+ * 7000002
70
+ */
71
+ enterpriseId?: string;
72
+ /**
73
+ * @remarks
74
+ * 呼入是否录音,0:不录用,1:录音,默认录音
75
+ *
76
+ * @example
77
+ * 1
78
+ */
79
+ ibRecord?: string;
80
+ /**
81
+ * @remarks
82
+ * 座席id
83
+ *
84
+ * @example
85
+ * 355
86
+ */
87
+ id?: string;
88
+ /**
89
+ * @remarks
90
+ * 是否开启ASR转写:0:不开启,1:开启,默认不开启
91
+ *
92
+ * @example
93
+ * 0
94
+ */
95
+ isAsr?: string;
96
+ /**
97
+ * @remarks
98
+ * 是否允许外呼,0:不允许,1:可以,默认允许
99
+ *
100
+ * @example
101
+ * 1
102
+ */
103
+ isOb?: string;
104
+ /**
105
+ * @example
106
+ * 1
107
+ */
108
+ isQualityCheck?: string;
109
+ /**
110
+ * @remarks
111
+ * 座席姓名
112
+ *
113
+ * @example
114
+ * 示例值
115
+ */
116
+ name?: string;
117
+ /**
118
+ * @remarks
119
+ * 外显号码
120
+ *
121
+ * @example
122
+ * xxxxxxxx
123
+ */
124
+ obClid?: string;
125
+ /**
126
+ * @remarks
127
+ * 外显规则属性,JSON格式
128
+ *
129
+ * @example
130
+ * {"isMatchCapital":0,"areaCodeRule":1,"isRandom":1}
131
+ */
132
+ obClidProperty?: string;
133
+ /**
134
+ * @remarks
135
+ * 外显规则 1:企业默认 2:随机 3:按区号 4:动态外显
136
+ *
137
+ * @example
138
+ * 1
139
+ */
140
+ obClidType?: string;
141
+ /**
142
+ * @remarks
143
+ * 外呼是否录音,0:不录音,1:录音,默认录音
144
+ *
145
+ * @example
146
+ * 1
147
+ */
148
+ obRecord?: string;
149
+ /**
150
+ * @remarks
151
+ * 1:班长席,0:普通座席,默认普通座席
152
+ *
153
+ * @example
154
+ * 0
155
+ */
156
+ power?: string;
157
+ /**
158
+ * @remarks
159
+ * 座席状态,0:离线,1:在线
160
+ *
161
+ * @example
162
+ * 0
163
+ */
164
+ status?: string;
165
+ /**
166
+ * @remarks
167
+ * webrtc软电话返回地址,0:企业默认 1:公网域名 2:专线域名 3:公网IP 4:专线IP
168
+ *
169
+ * @example
170
+ * 0
171
+ */
172
+ webrtcUrlType?: string;
173
+ /**
174
+ * @remarks
175
+ * 整理时间,秒数,默认10秒
176
+ *
177
+ * @example
178
+ * 10
179
+ */
180
+ wrapup?: string;
181
+ static names(): { [key: string]: string } {
182
+ return {
183
+ active: 'Active',
184
+ areaCode: 'AreaCode',
185
+ bindTel: 'BindTel',
186
+ bindTelType: 'BindTelType',
187
+ callPower: 'CallPower',
188
+ cno: 'Cno',
189
+ createTime: 'CreateTime',
190
+ enterpriseId: 'EnterpriseId',
191
+ ibRecord: 'IbRecord',
192
+ id: 'Id',
193
+ isAsr: 'IsAsr',
194
+ isOb: 'IsOb',
195
+ isQualityCheck: 'IsQualityCheck',
196
+ name: 'Name',
197
+ obClid: 'ObClid',
198
+ obClidProperty: 'ObClidProperty',
199
+ obClidType: 'ObClidType',
200
+ obRecord: 'ObRecord',
201
+ power: 'Power',
202
+ status: 'Status',
203
+ webrtcUrlType: 'WebrtcUrlType',
204
+ wrapup: 'Wrapup',
205
+ };
206
+ }
207
+
208
+ static types(): { [key: string]: any } {
209
+ return {
210
+ active: 'string',
211
+ areaCode: 'string',
212
+ bindTel: 'string',
213
+ bindTelType: 'string',
214
+ callPower: 'string',
215
+ cno: 'string',
216
+ createTime: 'string',
217
+ enterpriseId: 'string',
218
+ ibRecord: 'string',
219
+ id: 'string',
220
+ isAsr: 'string',
221
+ isOb: 'string',
222
+ isQualityCheck: 'string',
223
+ name: 'string',
224
+ obClid: 'string',
225
+ obClidProperty: 'string',
226
+ obClidType: 'string',
227
+ obRecord: 'string',
228
+ power: 'string',
229
+ status: 'string',
230
+ webrtcUrlType: 'string',
231
+ wrapup: 'string',
232
+ };
233
+ }
234
+
235
+ validate() {
236
+ super.validate();
237
+ }
238
+
239
+ constructor(map?: { [key: string]: any }) {
240
+ super(map);
241
+ }
242
+ }
243
+
244
+ export class CloudCreateAgentResponseBodyDataAgentSkills extends $dara.Model {
245
+ /**
246
+ * @remarks
247
+ * 座席id
248
+ *
249
+ * @example
250
+ * 2333
251
+ */
252
+ agentId?: string;
253
+ /**
254
+ * @example
255
+ * 1111
256
+ */
257
+ cno?: string;
258
+ /**
259
+ * @remarks
260
+ * 创建时间,格式: yyyy-MM-dd HH:mm:ss
261
+ *
262
+ * @example
263
+ * 2026-01-30 08:00:00
264
+ */
265
+ createTime?: string;
266
+ /**
267
+ * @remarks
268
+ * 企业编号
269
+ *
270
+ * @example
271
+ * 7000002
272
+ */
273
+ enterpriseId?: string;
274
+ /**
275
+ * @remarks
276
+ * queueSkill关系表中id
277
+ *
278
+ * @example
279
+ * 355
280
+ */
281
+ id?: string;
282
+ /**
283
+ * @remarks
284
+ * skill的id
285
+ *
286
+ * @example
287
+ * 233
288
+ */
289
+ skillId?: string;
290
+ /**
291
+ * @remarks
292
+ * 技能值
293
+ *
294
+ * @example
295
+ * 2
296
+ */
297
+ skillLevel?: string;
298
+ static names(): { [key: string]: string } {
299
+ return {
300
+ agentId: 'AgentId',
301
+ cno: 'Cno',
302
+ createTime: 'CreateTime',
303
+ enterpriseId: 'EnterpriseId',
304
+ id: 'Id',
305
+ skillId: 'SkillId',
306
+ skillLevel: 'SkillLevel',
307
+ };
308
+ }
309
+
310
+ static types(): { [key: string]: any } {
311
+ return {
312
+ agentId: 'string',
313
+ cno: 'string',
314
+ createTime: 'string',
315
+ enterpriseId: 'string',
316
+ id: 'string',
317
+ skillId: 'string',
318
+ skillLevel: 'string',
319
+ };
320
+ }
321
+
322
+ validate() {
323
+ super.validate();
324
+ }
325
+
326
+ constructor(map?: { [key: string]: any }) {
327
+ super(map);
328
+ }
329
+ }
330
+
331
+ export class CloudCreateAgentResponseBodyData extends $dara.Model {
332
+ /**
333
+ * @remarks
334
+ * 座席配置信息
335
+ */
336
+ agent?: CloudCreateAgentResponseBodyDataAgent;
337
+ /**
338
+ * @remarks
339
+ * 座席所需技能数组
340
+ */
341
+ agentSkills?: CloudCreateAgentResponseBodyDataAgentSkills[];
342
+ static names(): { [key: string]: string } {
343
+ return {
344
+ agent: 'Agent',
345
+ agentSkills: 'AgentSkills',
346
+ };
347
+ }
348
+
349
+ static types(): { [key: string]: any } {
350
+ return {
351
+ agent: CloudCreateAgentResponseBodyDataAgent,
352
+ agentSkills: { 'type': 'array', 'itemType': CloudCreateAgentResponseBodyDataAgentSkills },
353
+ };
354
+ }
355
+
356
+ validate() {
357
+ if(this.agent && typeof (this.agent as any).validate === 'function') {
358
+ (this.agent as any).validate();
359
+ }
360
+ if(Array.isArray(this.agentSkills)) {
361
+ $dara.Model.validateArray(this.agentSkills);
362
+ }
363
+ super.validate();
364
+ }
365
+
366
+ constructor(map?: { [key: string]: any }) {
367
+ super(map);
368
+ }
369
+ }
370
+
371
+ export class CloudCreateAgentResponseBody extends $dara.Model {
372
+ accessDeniedDetail?: string;
373
+ /**
374
+ * @example
375
+ * OK
376
+ */
377
+ code?: string;
378
+ data?: CloudCreateAgentResponseBodyData;
379
+ /**
380
+ * @example
381
+ * OK
382
+ */
383
+ message?: string;
384
+ /**
385
+ * @example
386
+ * D9CB3933-9FE3-4870-BA8E-2BEE91B69D23
387
+ */
388
+ requestId?: string;
389
+ static names(): { [key: string]: string } {
390
+ return {
391
+ accessDeniedDetail: 'AccessDeniedDetail',
392
+ code: 'Code',
393
+ data: 'Data',
394
+ message: 'Message',
395
+ requestId: 'RequestId',
396
+ };
397
+ }
398
+
399
+ static types(): { [key: string]: any } {
400
+ return {
401
+ accessDeniedDetail: 'string',
402
+ code: 'string',
403
+ data: CloudCreateAgentResponseBodyData,
404
+ message: 'string',
405
+ requestId: 'string',
406
+ };
407
+ }
408
+
409
+ validate() {
410
+ if(this.data && typeof (this.data as any).validate === 'function') {
411
+ (this.data as any).validate();
412
+ }
413
+ super.validate();
414
+ }
415
+
416
+ constructor(map?: { [key: string]: any }) {
417
+ super(map);
418
+ }
419
+ }
420
+
@@ -2,8 +2,6 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- /**
6
- */
7
5
  export class CloudCreateTaskResponseBodyData extends $dara.Model {
8
6
  /**
9
7
  * @example