@kl1/contracts 1.1.78-uat → 1.1.80-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/automation-queue/index.d.ts +3410 -0
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -0
- package/dist/api-contracts/src/automation-queue/schema.d.ts +618 -0
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -0
- package/dist/api-contracts/src/automation-queue/validation.d.ts +52 -0
- package/dist/api-contracts/src/automation-queue/validation.d.ts.map +1 -0
- package/dist/api-contracts/src/chat/index.d.ts +145 -145
- package/dist/api-contracts/src/chat/schema.d.ts +64 -76
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +51 -51
- package/dist/api-contracts/src/comment/index.d.ts +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/contract.d.ts +219 -219
- package/dist/api-contracts/src/facebook-feed/index.d.ts +43 -43
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
- package/dist/api-contracts/src/hold-label/index.d.ts +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +33 -33
- package/dist/api-contracts/src/line/index.d.ts +38 -38
- package/dist/api-contracts/src/line/validation.d.ts +5 -5
- package/dist/api-contracts/src/messenger/index.d.ts +33 -33
- package/dist/api-contracts/src/sms/index.d.ts +5 -5
- package/dist/api-contracts/src/viber/index.d.ts +33 -33
- package/dist/api-contracts/src/webchat/index.d.ts +33 -33
- package/dist/entities/src/enums/chat.d.ts +2 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +491 -388
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +490 -388
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/automation-queue/index.ts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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DnC,CAAC"}
|
@@ -0,0 +1,618 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const AutomationQueueSchema: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
+
id: z.ZodString;
|
4
|
+
createdAt: z.ZodDate;
|
5
|
+
updatedAt: z.ZodDate;
|
6
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
|
+
}, {
|
8
|
+
name: z.ZodString;
|
9
|
+
description: z.ZodNullable<z.ZodString>;
|
10
|
+
distributionStrategy: z.ZodString;
|
11
|
+
maximumAssignPerAgent: z.ZodNumber;
|
12
|
+
isDeniable: z.ZodBoolean;
|
13
|
+
manager: z.ZodObject<{
|
14
|
+
id: z.ZodString;
|
15
|
+
createdAt: z.ZodDate;
|
16
|
+
updatedAt: z.ZodDate;
|
17
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
18
|
+
name: z.ZodString;
|
19
|
+
email: z.ZodString;
|
20
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
21
|
+
password: z.ZodString;
|
22
|
+
address: z.ZodNullable<z.ZodString>;
|
23
|
+
phone: z.ZodNullable<z.ZodString>;
|
24
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
25
|
+
roles: z.ZodArray<z.ZodObject<{
|
26
|
+
id: z.ZodString;
|
27
|
+
createdAt: z.ZodDate;
|
28
|
+
updatedAt: z.ZodDate;
|
29
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
30
|
+
systemName: z.ZodString;
|
31
|
+
displayName: z.ZodString;
|
32
|
+
description: z.ZodNullable<z.ZodString>;
|
33
|
+
permissions: z.ZodArray<z.ZodObject<{
|
34
|
+
id: z.ZodString;
|
35
|
+
createdAt: z.ZodDate;
|
36
|
+
updatedAt: z.ZodDate;
|
37
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
38
|
+
systemName: z.ZodString;
|
39
|
+
displayName: z.ZodString;
|
40
|
+
description: z.ZodNullable<z.ZodString>;
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
42
|
+
id: string;
|
43
|
+
description: string | null;
|
44
|
+
createdAt: Date;
|
45
|
+
updatedAt: Date;
|
46
|
+
deletedAt: Date | null;
|
47
|
+
systemName: string;
|
48
|
+
displayName: string;
|
49
|
+
}, {
|
50
|
+
id: string;
|
51
|
+
description: string | null;
|
52
|
+
createdAt: Date;
|
53
|
+
updatedAt: Date;
|
54
|
+
deletedAt: Date | null;
|
55
|
+
systemName: string;
|
56
|
+
displayName: string;
|
57
|
+
}>, "many">;
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
59
|
+
id: string;
|
60
|
+
description: string | null;
|
61
|
+
createdAt: Date;
|
62
|
+
updatedAt: Date;
|
63
|
+
deletedAt: Date | null;
|
64
|
+
systemName: string;
|
65
|
+
displayName: string;
|
66
|
+
permissions: {
|
67
|
+
id: string;
|
68
|
+
description: string | null;
|
69
|
+
createdAt: Date;
|
70
|
+
updatedAt: Date;
|
71
|
+
deletedAt: Date | null;
|
72
|
+
systemName: string;
|
73
|
+
displayName: string;
|
74
|
+
}[];
|
75
|
+
}, {
|
76
|
+
id: string;
|
77
|
+
description: string | null;
|
78
|
+
createdAt: Date;
|
79
|
+
updatedAt: Date;
|
80
|
+
deletedAt: Date | null;
|
81
|
+
systemName: string;
|
82
|
+
displayName: string;
|
83
|
+
permissions: {
|
84
|
+
id: string;
|
85
|
+
description: string | null;
|
86
|
+
createdAt: Date;
|
87
|
+
updatedAt: Date;
|
88
|
+
deletedAt: Date | null;
|
89
|
+
systemName: string;
|
90
|
+
displayName: string;
|
91
|
+
}[];
|
92
|
+
}>, "many">;
|
93
|
+
extension: z.ZodObject<{
|
94
|
+
id: z.ZodString;
|
95
|
+
createdAt: z.ZodDate;
|
96
|
+
updatedAt: z.ZodDate;
|
97
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
98
|
+
userId: z.ZodNullable<z.ZodString>;
|
99
|
+
sipServerUrl: z.ZodString;
|
100
|
+
sipUserName: z.ZodString;
|
101
|
+
webphoneLoginUser: z.ZodString;
|
102
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
103
|
+
extensionName: z.ZodString;
|
104
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
106
|
+
id: string;
|
107
|
+
createdAt: Date;
|
108
|
+
updatedAt: Date;
|
109
|
+
deletedAt: Date | null;
|
110
|
+
userId: string | null;
|
111
|
+
sipServerUrl: string;
|
112
|
+
sipUserName: string;
|
113
|
+
webphoneLoginUser: string;
|
114
|
+
extensionId: string | null;
|
115
|
+
extensionName: string;
|
116
|
+
telephonySignature: string | null;
|
117
|
+
}, {
|
118
|
+
id: string;
|
119
|
+
createdAt: Date;
|
120
|
+
updatedAt: Date;
|
121
|
+
deletedAt: Date | null;
|
122
|
+
userId: string | null;
|
123
|
+
sipServerUrl: string;
|
124
|
+
sipUserName: string;
|
125
|
+
webphoneLoginUser: string;
|
126
|
+
extensionId: string | null;
|
127
|
+
extensionName: string;
|
128
|
+
telephonySignature: string | null;
|
129
|
+
}>;
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
131
|
+
id: string;
|
132
|
+
address: string | null;
|
133
|
+
name: string;
|
134
|
+
email: string;
|
135
|
+
createdAt: Date;
|
136
|
+
updatedAt: Date;
|
137
|
+
deletedAt: Date | null;
|
138
|
+
emailVerifiedAt: Date | null;
|
139
|
+
password: string;
|
140
|
+
phone: string | null;
|
141
|
+
notificationCount: number | null;
|
142
|
+
roles: {
|
143
|
+
id: string;
|
144
|
+
description: string | null;
|
145
|
+
createdAt: Date;
|
146
|
+
updatedAt: Date;
|
147
|
+
deletedAt: Date | null;
|
148
|
+
systemName: string;
|
149
|
+
displayName: string;
|
150
|
+
permissions: {
|
151
|
+
id: string;
|
152
|
+
description: string | null;
|
153
|
+
createdAt: Date;
|
154
|
+
updatedAt: Date;
|
155
|
+
deletedAt: Date | null;
|
156
|
+
systemName: string;
|
157
|
+
displayName: string;
|
158
|
+
}[];
|
159
|
+
}[];
|
160
|
+
extension: {
|
161
|
+
id: string;
|
162
|
+
createdAt: Date;
|
163
|
+
updatedAt: Date;
|
164
|
+
deletedAt: Date | null;
|
165
|
+
userId: string | null;
|
166
|
+
sipServerUrl: string;
|
167
|
+
sipUserName: string;
|
168
|
+
webphoneLoginUser: string;
|
169
|
+
extensionId: string | null;
|
170
|
+
extensionName: string;
|
171
|
+
telephonySignature: string | null;
|
172
|
+
};
|
173
|
+
}, {
|
174
|
+
id: string;
|
175
|
+
address: string | null;
|
176
|
+
name: string;
|
177
|
+
email: string;
|
178
|
+
createdAt: Date;
|
179
|
+
updatedAt: Date;
|
180
|
+
deletedAt: Date | null;
|
181
|
+
emailVerifiedAt: Date | null;
|
182
|
+
password: string;
|
183
|
+
phone: string | null;
|
184
|
+
notificationCount: number | null;
|
185
|
+
roles: {
|
186
|
+
id: string;
|
187
|
+
description: string | null;
|
188
|
+
createdAt: Date;
|
189
|
+
updatedAt: Date;
|
190
|
+
deletedAt: Date | null;
|
191
|
+
systemName: string;
|
192
|
+
displayName: string;
|
193
|
+
permissions: {
|
194
|
+
id: string;
|
195
|
+
description: string | null;
|
196
|
+
createdAt: Date;
|
197
|
+
updatedAt: Date;
|
198
|
+
deletedAt: Date | null;
|
199
|
+
systemName: string;
|
200
|
+
displayName: string;
|
201
|
+
}[];
|
202
|
+
}[];
|
203
|
+
extension: {
|
204
|
+
id: string;
|
205
|
+
createdAt: Date;
|
206
|
+
updatedAt: Date;
|
207
|
+
deletedAt: Date | null;
|
208
|
+
userId: string | null;
|
209
|
+
sipServerUrl: string;
|
210
|
+
sipUserName: string;
|
211
|
+
webphoneLoginUser: string;
|
212
|
+
extensionId: string | null;
|
213
|
+
extensionName: string;
|
214
|
+
telephonySignature: string | null;
|
215
|
+
};
|
216
|
+
}>;
|
217
|
+
agents: z.ZodArray<z.ZodObject<{
|
218
|
+
id: z.ZodString;
|
219
|
+
createdAt: z.ZodDate;
|
220
|
+
updatedAt: z.ZodDate;
|
221
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
222
|
+
name: z.ZodString;
|
223
|
+
email: z.ZodString;
|
224
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
225
|
+
password: z.ZodString;
|
226
|
+
address: z.ZodNullable<z.ZodString>;
|
227
|
+
phone: z.ZodNullable<z.ZodString>;
|
228
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
229
|
+
roles: z.ZodArray<z.ZodObject<{
|
230
|
+
id: z.ZodString;
|
231
|
+
createdAt: z.ZodDate;
|
232
|
+
updatedAt: z.ZodDate;
|
233
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
234
|
+
systemName: z.ZodString;
|
235
|
+
displayName: z.ZodString;
|
236
|
+
description: z.ZodNullable<z.ZodString>;
|
237
|
+
permissions: z.ZodArray<z.ZodObject<{
|
238
|
+
id: z.ZodString;
|
239
|
+
createdAt: z.ZodDate;
|
240
|
+
updatedAt: z.ZodDate;
|
241
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
242
|
+
systemName: z.ZodString;
|
243
|
+
displayName: z.ZodString;
|
244
|
+
description: z.ZodNullable<z.ZodString>;
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
246
|
+
id: string;
|
247
|
+
description: string | null;
|
248
|
+
createdAt: Date;
|
249
|
+
updatedAt: Date;
|
250
|
+
deletedAt: Date | null;
|
251
|
+
systemName: string;
|
252
|
+
displayName: string;
|
253
|
+
}, {
|
254
|
+
id: string;
|
255
|
+
description: string | null;
|
256
|
+
createdAt: Date;
|
257
|
+
updatedAt: Date;
|
258
|
+
deletedAt: Date | null;
|
259
|
+
systemName: string;
|
260
|
+
displayName: string;
|
261
|
+
}>, "many">;
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
263
|
+
id: string;
|
264
|
+
description: string | null;
|
265
|
+
createdAt: Date;
|
266
|
+
updatedAt: Date;
|
267
|
+
deletedAt: Date | null;
|
268
|
+
systemName: string;
|
269
|
+
displayName: string;
|
270
|
+
permissions: {
|
271
|
+
id: string;
|
272
|
+
description: string | null;
|
273
|
+
createdAt: Date;
|
274
|
+
updatedAt: Date;
|
275
|
+
deletedAt: Date | null;
|
276
|
+
systemName: string;
|
277
|
+
displayName: string;
|
278
|
+
}[];
|
279
|
+
}, {
|
280
|
+
id: string;
|
281
|
+
description: string | null;
|
282
|
+
createdAt: Date;
|
283
|
+
updatedAt: Date;
|
284
|
+
deletedAt: Date | null;
|
285
|
+
systemName: string;
|
286
|
+
displayName: string;
|
287
|
+
permissions: {
|
288
|
+
id: string;
|
289
|
+
description: string | null;
|
290
|
+
createdAt: Date;
|
291
|
+
updatedAt: Date;
|
292
|
+
deletedAt: Date | null;
|
293
|
+
systemName: string;
|
294
|
+
displayName: string;
|
295
|
+
}[];
|
296
|
+
}>, "many">;
|
297
|
+
extension: z.ZodObject<{
|
298
|
+
id: z.ZodString;
|
299
|
+
createdAt: z.ZodDate;
|
300
|
+
updatedAt: z.ZodDate;
|
301
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
302
|
+
userId: z.ZodNullable<z.ZodString>;
|
303
|
+
sipServerUrl: z.ZodString;
|
304
|
+
sipUserName: z.ZodString;
|
305
|
+
webphoneLoginUser: z.ZodString;
|
306
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
307
|
+
extensionName: z.ZodString;
|
308
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
310
|
+
id: string;
|
311
|
+
createdAt: Date;
|
312
|
+
updatedAt: Date;
|
313
|
+
deletedAt: Date | null;
|
314
|
+
userId: string | null;
|
315
|
+
sipServerUrl: string;
|
316
|
+
sipUserName: string;
|
317
|
+
webphoneLoginUser: string;
|
318
|
+
extensionId: string | null;
|
319
|
+
extensionName: string;
|
320
|
+
telephonySignature: string | null;
|
321
|
+
}, {
|
322
|
+
id: string;
|
323
|
+
createdAt: Date;
|
324
|
+
updatedAt: Date;
|
325
|
+
deletedAt: Date | null;
|
326
|
+
userId: string | null;
|
327
|
+
sipServerUrl: string;
|
328
|
+
sipUserName: string;
|
329
|
+
webphoneLoginUser: string;
|
330
|
+
extensionId: string | null;
|
331
|
+
extensionName: string;
|
332
|
+
telephonySignature: string | null;
|
333
|
+
}>;
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
335
|
+
id: string;
|
336
|
+
address: string | null;
|
337
|
+
name: string;
|
338
|
+
email: string;
|
339
|
+
createdAt: Date;
|
340
|
+
updatedAt: Date;
|
341
|
+
deletedAt: Date | null;
|
342
|
+
emailVerifiedAt: Date | null;
|
343
|
+
password: string;
|
344
|
+
phone: string | null;
|
345
|
+
notificationCount: number | null;
|
346
|
+
roles: {
|
347
|
+
id: string;
|
348
|
+
description: string | null;
|
349
|
+
createdAt: Date;
|
350
|
+
updatedAt: Date;
|
351
|
+
deletedAt: Date | null;
|
352
|
+
systemName: string;
|
353
|
+
displayName: string;
|
354
|
+
permissions: {
|
355
|
+
id: string;
|
356
|
+
description: string | null;
|
357
|
+
createdAt: Date;
|
358
|
+
updatedAt: Date;
|
359
|
+
deletedAt: Date | null;
|
360
|
+
systemName: string;
|
361
|
+
displayName: string;
|
362
|
+
}[];
|
363
|
+
}[];
|
364
|
+
extension: {
|
365
|
+
id: string;
|
366
|
+
createdAt: Date;
|
367
|
+
updatedAt: Date;
|
368
|
+
deletedAt: Date | null;
|
369
|
+
userId: string | null;
|
370
|
+
sipServerUrl: string;
|
371
|
+
sipUserName: string;
|
372
|
+
webphoneLoginUser: string;
|
373
|
+
extensionId: string | null;
|
374
|
+
extensionName: string;
|
375
|
+
telephonySignature: string | null;
|
376
|
+
};
|
377
|
+
}, {
|
378
|
+
id: string;
|
379
|
+
address: string | null;
|
380
|
+
name: string;
|
381
|
+
email: string;
|
382
|
+
createdAt: Date;
|
383
|
+
updatedAt: Date;
|
384
|
+
deletedAt: Date | null;
|
385
|
+
emailVerifiedAt: Date | null;
|
386
|
+
password: string;
|
387
|
+
phone: string | null;
|
388
|
+
notificationCount: number | null;
|
389
|
+
roles: {
|
390
|
+
id: string;
|
391
|
+
description: string | null;
|
392
|
+
createdAt: Date;
|
393
|
+
updatedAt: Date;
|
394
|
+
deletedAt: Date | null;
|
395
|
+
systemName: string;
|
396
|
+
displayName: string;
|
397
|
+
permissions: {
|
398
|
+
id: string;
|
399
|
+
description: string | null;
|
400
|
+
createdAt: Date;
|
401
|
+
updatedAt: Date;
|
402
|
+
deletedAt: Date | null;
|
403
|
+
systemName: string;
|
404
|
+
displayName: string;
|
405
|
+
}[];
|
406
|
+
}[];
|
407
|
+
extension: {
|
408
|
+
id: string;
|
409
|
+
createdAt: Date;
|
410
|
+
updatedAt: Date;
|
411
|
+
deletedAt: Date | null;
|
412
|
+
userId: string | null;
|
413
|
+
sipServerUrl: string;
|
414
|
+
sipUserName: string;
|
415
|
+
webphoneLoginUser: string;
|
416
|
+
extensionId: string | null;
|
417
|
+
extensionName: string;
|
418
|
+
telephonySignature: string | null;
|
419
|
+
};
|
420
|
+
}>, "many">;
|
421
|
+
}>, "strip", z.ZodTypeAny, {
|
422
|
+
id: string;
|
423
|
+
name: string;
|
424
|
+
description: string | null;
|
425
|
+
createdAt: Date;
|
426
|
+
updatedAt: Date;
|
427
|
+
deletedAt: Date | null;
|
428
|
+
agents: {
|
429
|
+
id: string;
|
430
|
+
address: string | null;
|
431
|
+
name: string;
|
432
|
+
email: string;
|
433
|
+
createdAt: Date;
|
434
|
+
updatedAt: Date;
|
435
|
+
deletedAt: Date | null;
|
436
|
+
emailVerifiedAt: Date | null;
|
437
|
+
password: string;
|
438
|
+
phone: string | null;
|
439
|
+
notificationCount: number | null;
|
440
|
+
roles: {
|
441
|
+
id: string;
|
442
|
+
description: string | null;
|
443
|
+
createdAt: Date;
|
444
|
+
updatedAt: Date;
|
445
|
+
deletedAt: Date | null;
|
446
|
+
systemName: string;
|
447
|
+
displayName: string;
|
448
|
+
permissions: {
|
449
|
+
id: string;
|
450
|
+
description: string | null;
|
451
|
+
createdAt: Date;
|
452
|
+
updatedAt: Date;
|
453
|
+
deletedAt: Date | null;
|
454
|
+
systemName: string;
|
455
|
+
displayName: string;
|
456
|
+
}[];
|
457
|
+
}[];
|
458
|
+
extension: {
|
459
|
+
id: string;
|
460
|
+
createdAt: Date;
|
461
|
+
updatedAt: Date;
|
462
|
+
deletedAt: Date | null;
|
463
|
+
userId: string | null;
|
464
|
+
sipServerUrl: string;
|
465
|
+
sipUserName: string;
|
466
|
+
webphoneLoginUser: string;
|
467
|
+
extensionId: string | null;
|
468
|
+
extensionName: string;
|
469
|
+
telephonySignature: string | null;
|
470
|
+
};
|
471
|
+
}[];
|
472
|
+
distributionStrategy: string;
|
473
|
+
maximumAssignPerAgent: number;
|
474
|
+
isDeniable: boolean;
|
475
|
+
manager: {
|
476
|
+
id: string;
|
477
|
+
address: string | null;
|
478
|
+
name: string;
|
479
|
+
email: string;
|
480
|
+
createdAt: Date;
|
481
|
+
updatedAt: Date;
|
482
|
+
deletedAt: Date | null;
|
483
|
+
emailVerifiedAt: Date | null;
|
484
|
+
password: string;
|
485
|
+
phone: string | null;
|
486
|
+
notificationCount: number | null;
|
487
|
+
roles: {
|
488
|
+
id: string;
|
489
|
+
description: string | null;
|
490
|
+
createdAt: Date;
|
491
|
+
updatedAt: Date;
|
492
|
+
deletedAt: Date | null;
|
493
|
+
systemName: string;
|
494
|
+
displayName: string;
|
495
|
+
permissions: {
|
496
|
+
id: string;
|
497
|
+
description: string | null;
|
498
|
+
createdAt: Date;
|
499
|
+
updatedAt: Date;
|
500
|
+
deletedAt: Date | null;
|
501
|
+
systemName: string;
|
502
|
+
displayName: string;
|
503
|
+
}[];
|
504
|
+
}[];
|
505
|
+
extension: {
|
506
|
+
id: string;
|
507
|
+
createdAt: Date;
|
508
|
+
updatedAt: Date;
|
509
|
+
deletedAt: Date | null;
|
510
|
+
userId: string | null;
|
511
|
+
sipServerUrl: string;
|
512
|
+
sipUserName: string;
|
513
|
+
webphoneLoginUser: string;
|
514
|
+
extensionId: string | null;
|
515
|
+
extensionName: string;
|
516
|
+
telephonySignature: string | null;
|
517
|
+
};
|
518
|
+
};
|
519
|
+
}, {
|
520
|
+
id: string;
|
521
|
+
name: string;
|
522
|
+
description: string | null;
|
523
|
+
createdAt: Date;
|
524
|
+
updatedAt: Date;
|
525
|
+
deletedAt: Date | null;
|
526
|
+
agents: {
|
527
|
+
id: string;
|
528
|
+
address: string | null;
|
529
|
+
name: string;
|
530
|
+
email: string;
|
531
|
+
createdAt: Date;
|
532
|
+
updatedAt: Date;
|
533
|
+
deletedAt: Date | null;
|
534
|
+
emailVerifiedAt: Date | null;
|
535
|
+
password: string;
|
536
|
+
phone: string | null;
|
537
|
+
notificationCount: number | null;
|
538
|
+
roles: {
|
539
|
+
id: string;
|
540
|
+
description: string | null;
|
541
|
+
createdAt: Date;
|
542
|
+
updatedAt: Date;
|
543
|
+
deletedAt: Date | null;
|
544
|
+
systemName: string;
|
545
|
+
displayName: string;
|
546
|
+
permissions: {
|
547
|
+
id: string;
|
548
|
+
description: string | null;
|
549
|
+
createdAt: Date;
|
550
|
+
updatedAt: Date;
|
551
|
+
deletedAt: Date | null;
|
552
|
+
systemName: string;
|
553
|
+
displayName: string;
|
554
|
+
}[];
|
555
|
+
}[];
|
556
|
+
extension: {
|
557
|
+
id: string;
|
558
|
+
createdAt: Date;
|
559
|
+
updatedAt: Date;
|
560
|
+
deletedAt: Date | null;
|
561
|
+
userId: string | null;
|
562
|
+
sipServerUrl: string;
|
563
|
+
sipUserName: string;
|
564
|
+
webphoneLoginUser: string;
|
565
|
+
extensionId: string | null;
|
566
|
+
extensionName: string;
|
567
|
+
telephonySignature: string | null;
|
568
|
+
};
|
569
|
+
}[];
|
570
|
+
distributionStrategy: string;
|
571
|
+
maximumAssignPerAgent: number;
|
572
|
+
isDeniable: boolean;
|
573
|
+
manager: {
|
574
|
+
id: string;
|
575
|
+
address: string | null;
|
576
|
+
name: string;
|
577
|
+
email: string;
|
578
|
+
createdAt: Date;
|
579
|
+
updatedAt: Date;
|
580
|
+
deletedAt: Date | null;
|
581
|
+
emailVerifiedAt: Date | null;
|
582
|
+
password: string;
|
583
|
+
phone: string | null;
|
584
|
+
notificationCount: number | null;
|
585
|
+
roles: {
|
586
|
+
id: string;
|
587
|
+
description: string | null;
|
588
|
+
createdAt: Date;
|
589
|
+
updatedAt: Date;
|
590
|
+
deletedAt: Date | null;
|
591
|
+
systemName: string;
|
592
|
+
displayName: string;
|
593
|
+
permissions: {
|
594
|
+
id: string;
|
595
|
+
description: string | null;
|
596
|
+
createdAt: Date;
|
597
|
+
updatedAt: Date;
|
598
|
+
deletedAt: Date | null;
|
599
|
+
systemName: string;
|
600
|
+
displayName: string;
|
601
|
+
}[];
|
602
|
+
}[];
|
603
|
+
extension: {
|
604
|
+
id: string;
|
605
|
+
createdAt: Date;
|
606
|
+
updatedAt: Date;
|
607
|
+
deletedAt: Date | null;
|
608
|
+
userId: string | null;
|
609
|
+
sipServerUrl: string;
|
610
|
+
sipUserName: string;
|
611
|
+
webphoneLoginUser: string;
|
612
|
+
extensionId: string | null;
|
613
|
+
extensionName: string;
|
614
|
+
telephonySignature: string | null;
|
615
|
+
};
|
616
|
+
};
|
617
|
+
}>;
|
618
|
+
//# sourceMappingURL=schema.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/automation-queue/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhC,CAAC"}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const CreateAutomationQueueSchema: z.ZodObject<{
|
3
|
+
name: z.ZodString;
|
4
|
+
description: z.ZodNullable<z.ZodString>;
|
5
|
+
managerId: z.ZodString;
|
6
|
+
agentIds: z.ZodArray<z.ZodString, "many">;
|
7
|
+
distributionStrategy: z.ZodString;
|
8
|
+
maximumAssignPerAgent: z.ZodNumber;
|
9
|
+
isDeniable: z.ZodBoolean;
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
11
|
+
name: string;
|
12
|
+
description: string | null;
|
13
|
+
agentIds: string[];
|
14
|
+
managerId: string;
|
15
|
+
distributionStrategy: string;
|
16
|
+
maximumAssignPerAgent: number;
|
17
|
+
isDeniable: boolean;
|
18
|
+
}, {
|
19
|
+
name: string;
|
20
|
+
description: string | null;
|
21
|
+
agentIds: string[];
|
22
|
+
managerId: string;
|
23
|
+
distributionStrategy: string;
|
24
|
+
maximumAssignPerAgent: number;
|
25
|
+
isDeniable: boolean;
|
26
|
+
}>;
|
27
|
+
export declare const UpdateAutomationQueueSchema: z.ZodObject<{
|
28
|
+
name: z.ZodString;
|
29
|
+
description: z.ZodNullable<z.ZodString>;
|
30
|
+
managerId: z.ZodString;
|
31
|
+
agentIds: z.ZodArray<z.ZodString, "many">;
|
32
|
+
distributionStrategy: z.ZodString;
|
33
|
+
maximumAssignPerAgent: z.ZodNumber;
|
34
|
+
isDeniable: z.ZodBoolean;
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
36
|
+
name: string;
|
37
|
+
description: string | null;
|
38
|
+
agentIds: string[];
|
39
|
+
managerId: string;
|
40
|
+
distributionStrategy: string;
|
41
|
+
maximumAssignPerAgent: number;
|
42
|
+
isDeniable: boolean;
|
43
|
+
}, {
|
44
|
+
name: string;
|
45
|
+
description: string | null;
|
46
|
+
agentIds: string[];
|
47
|
+
managerId: string;
|
48
|
+
distributionStrategy: string;
|
49
|
+
maximumAssignPerAgent: number;
|
50
|
+
isDeniable: boolean;
|
51
|
+
}>;
|
52
|
+
//# sourceMappingURL=validation.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/automation-queue/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAWtC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAC"}
|