@kl1/contracts 1.1.37 → 1.1.38

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 (56) hide show
  1. package/dist/api-contracts/src/chat/index.d.ts +7707 -133
  2. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/chat/schema.d.ts +59 -45
  4. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/validation.d.ts +93 -51
  6. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +380 -218
  8. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  9. package/dist/api-contracts/src/facebook-feed/index.d.ts +70 -43
  10. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  11. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  12. package/dist/api-contracts/src/instagram/index.d.ts +60 -33
  13. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/line/index.d.ts +65 -38
  15. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/line/validation.d.ts +5 -5
  17. package/dist/api-contracts/src/messenger/index.d.ts +60 -33
  18. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/sms/index.d.ts +20 -5
  20. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +28 -28
  22. package/dist/api-contracts/src/viber/index.d.ts +60 -33
  23. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/webchat/index.d.ts +60 -33
  25. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  26. package/dist/entities/src/enums/chat.d.ts +1 -0
  27. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  28. package/dist/index.js +25 -8
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.mjs +25 -8
  31. package/dist/index.mjs.map +1 -1
  32. package/package.json +1 -1
  33. package/dist/api-contracts/src/automation-queue/index.d.ts +0 -4212
  34. package/dist/api-contracts/src/automation-queue/index.d.ts.map +0 -1
  35. package/dist/api-contracts/src/automation-queue/schema.d.ts +0 -614
  36. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +0 -1
  37. package/dist/api-contracts/src/automation-queue/validation.d.ts +0 -47
  38. package/dist/api-contracts/src/automation-queue/validation.d.ts.map +0 -1
  39. package/dist/api-contracts/src/hold-label/index.d.ts +0 -315
  40. package/dist/api-contracts/src/hold-label/index.d.ts.map +0 -1
  41. package/dist/api-contracts/src/hold-label/schema.d.ts +0 -24
  42. package/dist/api-contracts/src/hold-label/schema.d.ts.map +0 -1
  43. package/dist/api-contracts/src/hold-label/validation.d.ts +0 -24
  44. package/dist/api-contracts/src/hold-label/validation.d.ts.map +0 -1
  45. package/dist/api-contracts/src/presence-status/index.d.ts +0 -556
  46. package/dist/api-contracts/src/presence-status/index.d.ts.map +0 -1
  47. package/dist/api-contracts/src/presence-status/schema.d.ts +0 -31
  48. package/dist/api-contracts/src/presence-status/schema.d.ts.map +0 -1
  49. package/dist/api-contracts/src/presence-status/validation.d.ts +0 -28
  50. package/dist/api-contracts/src/presence-status/validation.d.ts.map +0 -1
  51. package/dist/api-contracts/src/subscription/index.d.ts +0 -1900
  52. package/dist/api-contracts/src/subscription/index.d.ts.map +0 -1
  53. package/dist/api-contracts/src/subscription/schema.d.ts +0 -2059
  54. package/dist/api-contracts/src/subscription/schema.d.ts.map +0 -1
  55. package/dist/api-contracts/src/subscription/validation.d.ts +0 -37
  56. package/dist/api-contracts/src/subscription/validation.d.ts.map +0 -1
@@ -1,4212 +0,0 @@
1
- import { z } from 'zod';
2
- import { CreateAutomationQueueSchema, QueueDistributionStrategySchema, UpdateAutomationQueueSchema } from './validation';
3
- import { AutomationQueueSchema } from './schema';
4
- export type AutomationQueue = z.infer<typeof AutomationQueueSchema>;
5
- export type QueueDistributionStrategy = z.infer<typeof QueueDistributionStrategySchema>;
6
- export type CreateAutomationQueueRequest = z.infer<typeof CreateAutomationQueueSchema>;
7
- export type UpdateAutomationQueueRequest = z.infer<typeof UpdateAutomationQueueSchema>;
8
- export declare const automationQueueContract: {
9
- createAutomationQueue: {
10
- body: z.ZodObject<{
11
- name: z.ZodString;
12
- description: z.ZodNullable<z.ZodString>;
13
- managerIds: z.ZodArray<z.ZodString, "many">;
14
- agentIds: z.ZodArray<z.ZodString, "many">;
15
- distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
16
- maximumAssignPerAgent: z.ZodNumber;
17
- }, "strip", z.ZodTypeAny, {
18
- name: string;
19
- description: string | null;
20
- agentIds: string[];
21
- managerIds: string[];
22
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
23
- maximumAssignPerAgent: number;
24
- }, {
25
- name: string;
26
- description: string | null;
27
- agentIds: string[];
28
- managerIds: string[];
29
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
30
- maximumAssignPerAgent: number;
31
- }>;
32
- method: "POST";
33
- responses: {
34
- 201: z.ZodObject<{
35
- requestId: z.ZodString;
36
- data: z.ZodOptional<z.ZodObject<{
37
- id: z.ZodString;
38
- createdAt: z.ZodDate;
39
- updatedAt: z.ZodDate;
40
- deletedAt: z.ZodNullable<z.ZodDate>;
41
- name: z.ZodString;
42
- description: z.ZodNullable<z.ZodString>;
43
- distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
44
- maximumAssignPerAgent: z.ZodNumber;
45
- managers: z.ZodArray<z.ZodObject<{
46
- id: z.ZodString;
47
- createdAt: z.ZodDate;
48
- updatedAt: z.ZodDate;
49
- deletedAt: z.ZodNullable<z.ZodDate>;
50
- name: z.ZodString;
51
- email: z.ZodString;
52
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
53
- password: z.ZodString;
54
- address: z.ZodNullable<z.ZodString>;
55
- phone: z.ZodNullable<z.ZodString>;
56
- notificationCount: z.ZodNullable<z.ZodNumber>;
57
- roles: z.ZodArray<z.ZodObject<{
58
- id: z.ZodString;
59
- createdAt: z.ZodDate;
60
- updatedAt: z.ZodDate;
61
- deletedAt: z.ZodNullable<z.ZodDate>;
62
- systemName: z.ZodString;
63
- displayName: z.ZodString;
64
- description: z.ZodNullable<z.ZodString>;
65
- permissions: z.ZodArray<z.ZodObject<{
66
- id: z.ZodString;
67
- createdAt: z.ZodDate;
68
- updatedAt: z.ZodDate;
69
- deletedAt: z.ZodNullable<z.ZodDate>;
70
- systemName: z.ZodString;
71
- displayName: z.ZodString;
72
- description: z.ZodNullable<z.ZodString>;
73
- }, "strip", z.ZodTypeAny, {
74
- id: string;
75
- description: string | null;
76
- createdAt: Date;
77
- updatedAt: Date;
78
- deletedAt: Date | null;
79
- systemName: string;
80
- displayName: string;
81
- }, {
82
- id: string;
83
- description: string | null;
84
- createdAt: Date;
85
- updatedAt: Date;
86
- deletedAt: Date | null;
87
- systemName: string;
88
- displayName: string;
89
- }>, "many">;
90
- }, "strip", z.ZodTypeAny, {
91
- id: string;
92
- description: string | null;
93
- createdAt: Date;
94
- updatedAt: Date;
95
- deletedAt: Date | null;
96
- systemName: string;
97
- displayName: string;
98
- permissions: {
99
- id: string;
100
- description: string | null;
101
- createdAt: Date;
102
- updatedAt: Date;
103
- deletedAt: Date | null;
104
- systemName: string;
105
- displayName: string;
106
- }[];
107
- }, {
108
- id: string;
109
- description: string | null;
110
- createdAt: Date;
111
- updatedAt: Date;
112
- deletedAt: Date | null;
113
- systemName: string;
114
- displayName: string;
115
- permissions: {
116
- id: string;
117
- description: string | null;
118
- createdAt: Date;
119
- updatedAt: Date;
120
- deletedAt: Date | null;
121
- systemName: string;
122
- displayName: string;
123
- }[];
124
- }>, "many">;
125
- extension: z.ZodObject<{
126
- id: z.ZodString;
127
- createdAt: z.ZodDate;
128
- updatedAt: z.ZodDate;
129
- deletedAt: z.ZodNullable<z.ZodDate>;
130
- userId: z.ZodNullable<z.ZodString>;
131
- sipServerUrl: z.ZodString;
132
- sipUserName: z.ZodString;
133
- webphoneLoginUser: z.ZodString;
134
- extensionId: z.ZodNullable<z.ZodString>;
135
- extensionName: z.ZodString;
136
- telephonySignature: z.ZodNullable<z.ZodString>;
137
- }, "strip", z.ZodTypeAny, {
138
- id: string;
139
- createdAt: Date;
140
- updatedAt: Date;
141
- deletedAt: Date | null;
142
- userId: string | null;
143
- sipServerUrl: string;
144
- sipUserName: string;
145
- webphoneLoginUser: string;
146
- extensionId: string | null;
147
- extensionName: string;
148
- telephonySignature: string | null;
149
- }, {
150
- id: string;
151
- createdAt: Date;
152
- updatedAt: Date;
153
- deletedAt: Date | null;
154
- userId: string | null;
155
- sipServerUrl: string;
156
- sipUserName: string;
157
- webphoneLoginUser: string;
158
- extensionId: string | null;
159
- extensionName: string;
160
- telephonySignature: string | null;
161
- }>;
162
- }, "strip", z.ZodTypeAny, {
163
- id: string;
164
- address: string | null;
165
- name: string;
166
- email: string;
167
- createdAt: Date;
168
- updatedAt: Date;
169
- deletedAt: Date | null;
170
- emailVerifiedAt: Date | null;
171
- password: string;
172
- phone: string | null;
173
- notificationCount: number | null;
174
- roles: {
175
- id: string;
176
- description: string | null;
177
- createdAt: Date;
178
- updatedAt: Date;
179
- deletedAt: Date | null;
180
- systemName: string;
181
- displayName: string;
182
- permissions: {
183
- id: string;
184
- description: string | null;
185
- createdAt: Date;
186
- updatedAt: Date;
187
- deletedAt: Date | null;
188
- systemName: string;
189
- displayName: string;
190
- }[];
191
- }[];
192
- extension: {
193
- id: string;
194
- createdAt: Date;
195
- updatedAt: Date;
196
- deletedAt: Date | null;
197
- userId: string | null;
198
- sipServerUrl: string;
199
- sipUserName: string;
200
- webphoneLoginUser: string;
201
- extensionId: string | null;
202
- extensionName: string;
203
- telephonySignature: string | null;
204
- };
205
- }, {
206
- id: string;
207
- address: string | null;
208
- name: string;
209
- email: string;
210
- createdAt: Date;
211
- updatedAt: Date;
212
- deletedAt: Date | null;
213
- emailVerifiedAt: Date | null;
214
- password: string;
215
- phone: string | null;
216
- notificationCount: number | null;
217
- roles: {
218
- id: string;
219
- description: string | null;
220
- createdAt: Date;
221
- updatedAt: Date;
222
- deletedAt: Date | null;
223
- systemName: string;
224
- displayName: string;
225
- permissions: {
226
- id: string;
227
- description: string | null;
228
- createdAt: Date;
229
- updatedAt: Date;
230
- deletedAt: Date | null;
231
- systemName: string;
232
- displayName: string;
233
- }[];
234
- }[];
235
- extension: {
236
- id: string;
237
- createdAt: Date;
238
- updatedAt: Date;
239
- deletedAt: Date | null;
240
- userId: string | null;
241
- sipServerUrl: string;
242
- sipUserName: string;
243
- webphoneLoginUser: string;
244
- extensionId: string | null;
245
- extensionName: string;
246
- telephonySignature: string | null;
247
- };
248
- }>, "many">;
249
- agents: z.ZodArray<z.ZodObject<{
250
- id: z.ZodString;
251
- createdAt: z.ZodDate;
252
- updatedAt: z.ZodDate;
253
- deletedAt: z.ZodNullable<z.ZodDate>;
254
- name: z.ZodString;
255
- email: z.ZodString;
256
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
257
- password: z.ZodString;
258
- address: z.ZodNullable<z.ZodString>;
259
- phone: z.ZodNullable<z.ZodString>;
260
- notificationCount: z.ZodNullable<z.ZodNumber>;
261
- roles: z.ZodArray<z.ZodObject<{
262
- id: z.ZodString;
263
- createdAt: z.ZodDate;
264
- updatedAt: z.ZodDate;
265
- deletedAt: z.ZodNullable<z.ZodDate>;
266
- systemName: z.ZodString;
267
- displayName: z.ZodString;
268
- description: z.ZodNullable<z.ZodString>;
269
- permissions: z.ZodArray<z.ZodObject<{
270
- id: z.ZodString;
271
- createdAt: z.ZodDate;
272
- updatedAt: z.ZodDate;
273
- deletedAt: z.ZodNullable<z.ZodDate>;
274
- systemName: z.ZodString;
275
- displayName: z.ZodString;
276
- description: z.ZodNullable<z.ZodString>;
277
- }, "strip", z.ZodTypeAny, {
278
- id: string;
279
- description: string | null;
280
- createdAt: Date;
281
- updatedAt: Date;
282
- deletedAt: Date | null;
283
- systemName: string;
284
- displayName: string;
285
- }, {
286
- id: string;
287
- description: string | null;
288
- createdAt: Date;
289
- updatedAt: Date;
290
- deletedAt: Date | null;
291
- systemName: string;
292
- displayName: string;
293
- }>, "many">;
294
- }, "strip", z.ZodTypeAny, {
295
- id: string;
296
- description: string | null;
297
- createdAt: Date;
298
- updatedAt: Date;
299
- deletedAt: Date | null;
300
- systemName: string;
301
- displayName: string;
302
- permissions: {
303
- id: string;
304
- description: string | null;
305
- createdAt: Date;
306
- updatedAt: Date;
307
- deletedAt: Date | null;
308
- systemName: string;
309
- displayName: string;
310
- }[];
311
- }, {
312
- id: string;
313
- description: string | null;
314
- createdAt: Date;
315
- updatedAt: Date;
316
- deletedAt: Date | null;
317
- systemName: string;
318
- displayName: string;
319
- permissions: {
320
- id: string;
321
- description: string | null;
322
- createdAt: Date;
323
- updatedAt: Date;
324
- deletedAt: Date | null;
325
- systemName: string;
326
- displayName: string;
327
- }[];
328
- }>, "many">;
329
- extension: z.ZodObject<{
330
- id: z.ZodString;
331
- createdAt: z.ZodDate;
332
- updatedAt: z.ZodDate;
333
- deletedAt: z.ZodNullable<z.ZodDate>;
334
- userId: z.ZodNullable<z.ZodString>;
335
- sipServerUrl: z.ZodString;
336
- sipUserName: z.ZodString;
337
- webphoneLoginUser: z.ZodString;
338
- extensionId: z.ZodNullable<z.ZodString>;
339
- extensionName: z.ZodString;
340
- telephonySignature: z.ZodNullable<z.ZodString>;
341
- }, "strip", z.ZodTypeAny, {
342
- id: string;
343
- createdAt: Date;
344
- updatedAt: Date;
345
- deletedAt: Date | null;
346
- userId: string | null;
347
- sipServerUrl: string;
348
- sipUserName: string;
349
- webphoneLoginUser: string;
350
- extensionId: string | null;
351
- extensionName: string;
352
- telephonySignature: string | null;
353
- }, {
354
- id: string;
355
- createdAt: Date;
356
- updatedAt: Date;
357
- deletedAt: Date | null;
358
- userId: string | null;
359
- sipServerUrl: string;
360
- sipUserName: string;
361
- webphoneLoginUser: string;
362
- extensionId: string | null;
363
- extensionName: string;
364
- telephonySignature: string | null;
365
- }>;
366
- }, "strip", z.ZodTypeAny, {
367
- id: string;
368
- address: string | null;
369
- name: string;
370
- email: string;
371
- createdAt: Date;
372
- updatedAt: Date;
373
- deletedAt: Date | null;
374
- emailVerifiedAt: Date | null;
375
- password: string;
376
- phone: string | null;
377
- notificationCount: number | null;
378
- roles: {
379
- id: string;
380
- description: string | null;
381
- createdAt: Date;
382
- updatedAt: Date;
383
- deletedAt: Date | null;
384
- systemName: string;
385
- displayName: string;
386
- permissions: {
387
- id: string;
388
- description: string | null;
389
- createdAt: Date;
390
- updatedAt: Date;
391
- deletedAt: Date | null;
392
- systemName: string;
393
- displayName: string;
394
- }[];
395
- }[];
396
- extension: {
397
- id: string;
398
- createdAt: Date;
399
- updatedAt: Date;
400
- deletedAt: Date | null;
401
- userId: string | null;
402
- sipServerUrl: string;
403
- sipUserName: string;
404
- webphoneLoginUser: string;
405
- extensionId: string | null;
406
- extensionName: string;
407
- telephonySignature: string | null;
408
- };
409
- }, {
410
- id: string;
411
- address: string | null;
412
- name: string;
413
- email: string;
414
- createdAt: Date;
415
- updatedAt: Date;
416
- deletedAt: Date | null;
417
- emailVerifiedAt: Date | null;
418
- password: string;
419
- phone: string | null;
420
- notificationCount: number | null;
421
- roles: {
422
- id: string;
423
- description: string | null;
424
- createdAt: Date;
425
- updatedAt: Date;
426
- deletedAt: Date | null;
427
- systemName: string;
428
- displayName: string;
429
- permissions: {
430
- id: string;
431
- description: string | null;
432
- createdAt: Date;
433
- updatedAt: Date;
434
- deletedAt: Date | null;
435
- systemName: string;
436
- displayName: string;
437
- }[];
438
- }[];
439
- extension: {
440
- id: string;
441
- createdAt: Date;
442
- updatedAt: Date;
443
- deletedAt: Date | null;
444
- userId: string | null;
445
- sipServerUrl: string;
446
- sipUserName: string;
447
- webphoneLoginUser: string;
448
- extensionId: string | null;
449
- extensionName: string;
450
- telephonySignature: string | null;
451
- };
452
- }>, "many">;
453
- }, "strip", z.ZodTypeAny, {
454
- id: string;
455
- name: string;
456
- description: string | null;
457
- createdAt: Date;
458
- updatedAt: Date;
459
- deletedAt: Date | null;
460
- agents: {
461
- id: string;
462
- address: string | null;
463
- name: string;
464
- email: string;
465
- createdAt: Date;
466
- updatedAt: Date;
467
- deletedAt: Date | null;
468
- emailVerifiedAt: Date | null;
469
- password: string;
470
- phone: string | null;
471
- notificationCount: number | null;
472
- roles: {
473
- id: string;
474
- description: string | null;
475
- createdAt: Date;
476
- updatedAt: Date;
477
- deletedAt: Date | null;
478
- systemName: string;
479
- displayName: string;
480
- permissions: {
481
- id: string;
482
- description: string | null;
483
- createdAt: Date;
484
- updatedAt: Date;
485
- deletedAt: Date | null;
486
- systemName: string;
487
- displayName: string;
488
- }[];
489
- }[];
490
- extension: {
491
- id: string;
492
- createdAt: Date;
493
- updatedAt: Date;
494
- deletedAt: Date | null;
495
- userId: string | null;
496
- sipServerUrl: string;
497
- sipUserName: string;
498
- webphoneLoginUser: string;
499
- extensionId: string | null;
500
- extensionName: string;
501
- telephonySignature: string | null;
502
- };
503
- }[];
504
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
505
- maximumAssignPerAgent: number;
506
- managers: {
507
- id: string;
508
- address: string | null;
509
- name: string;
510
- email: string;
511
- createdAt: Date;
512
- updatedAt: Date;
513
- deletedAt: Date | null;
514
- emailVerifiedAt: Date | null;
515
- password: string;
516
- phone: string | null;
517
- notificationCount: number | null;
518
- roles: {
519
- id: string;
520
- description: string | null;
521
- createdAt: Date;
522
- updatedAt: Date;
523
- deletedAt: Date | null;
524
- systemName: string;
525
- displayName: string;
526
- permissions: {
527
- id: string;
528
- description: string | null;
529
- createdAt: Date;
530
- updatedAt: Date;
531
- deletedAt: Date | null;
532
- systemName: string;
533
- displayName: string;
534
- }[];
535
- }[];
536
- extension: {
537
- id: string;
538
- createdAt: Date;
539
- updatedAt: Date;
540
- deletedAt: Date | null;
541
- userId: string | null;
542
- sipServerUrl: string;
543
- sipUserName: string;
544
- webphoneLoginUser: string;
545
- extensionId: string | null;
546
- extensionName: string;
547
- telephonySignature: string | null;
548
- };
549
- }[];
550
- }, {
551
- id: string;
552
- name: string;
553
- description: string | null;
554
- createdAt: Date;
555
- updatedAt: Date;
556
- deletedAt: Date | null;
557
- agents: {
558
- id: string;
559
- address: string | null;
560
- name: string;
561
- email: string;
562
- createdAt: Date;
563
- updatedAt: Date;
564
- deletedAt: Date | null;
565
- emailVerifiedAt: Date | null;
566
- password: string;
567
- phone: string | null;
568
- notificationCount: number | null;
569
- roles: {
570
- id: string;
571
- description: string | null;
572
- createdAt: Date;
573
- updatedAt: Date;
574
- deletedAt: Date | null;
575
- systemName: string;
576
- displayName: string;
577
- permissions: {
578
- id: string;
579
- description: string | null;
580
- createdAt: Date;
581
- updatedAt: Date;
582
- deletedAt: Date | null;
583
- systemName: string;
584
- displayName: string;
585
- }[];
586
- }[];
587
- extension: {
588
- id: string;
589
- createdAt: Date;
590
- updatedAt: Date;
591
- deletedAt: Date | null;
592
- userId: string | null;
593
- sipServerUrl: string;
594
- sipUserName: string;
595
- webphoneLoginUser: string;
596
- extensionId: string | null;
597
- extensionName: string;
598
- telephonySignature: string | null;
599
- };
600
- }[];
601
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
602
- maximumAssignPerAgent: number;
603
- managers: {
604
- id: string;
605
- address: string | null;
606
- name: string;
607
- email: string;
608
- createdAt: Date;
609
- updatedAt: Date;
610
- deletedAt: Date | null;
611
- emailVerifiedAt: Date | null;
612
- password: string;
613
- phone: string | null;
614
- notificationCount: number | null;
615
- roles: {
616
- id: string;
617
- description: string | null;
618
- createdAt: Date;
619
- updatedAt: Date;
620
- deletedAt: Date | null;
621
- systemName: string;
622
- displayName: string;
623
- permissions: {
624
- id: string;
625
- description: string | null;
626
- createdAt: Date;
627
- updatedAt: Date;
628
- deletedAt: Date | null;
629
- systemName: string;
630
- displayName: string;
631
- }[];
632
- }[];
633
- extension: {
634
- id: string;
635
- createdAt: Date;
636
- updatedAt: Date;
637
- deletedAt: Date | null;
638
- userId: string | null;
639
- sipServerUrl: string;
640
- sipUserName: string;
641
- webphoneLoginUser: string;
642
- extensionId: string | null;
643
- extensionName: string;
644
- telephonySignature: string | null;
645
- };
646
- }[];
647
- }>>;
648
- }, "strip", z.ZodTypeAny, {
649
- requestId: string;
650
- data?: {
651
- id: string;
652
- name: string;
653
- description: string | null;
654
- createdAt: Date;
655
- updatedAt: Date;
656
- deletedAt: Date | null;
657
- agents: {
658
- id: string;
659
- address: string | null;
660
- name: string;
661
- email: string;
662
- createdAt: Date;
663
- updatedAt: Date;
664
- deletedAt: Date | null;
665
- emailVerifiedAt: Date | null;
666
- password: string;
667
- phone: string | null;
668
- notificationCount: number | null;
669
- roles: {
670
- id: string;
671
- description: string | null;
672
- createdAt: Date;
673
- updatedAt: Date;
674
- deletedAt: Date | null;
675
- systemName: string;
676
- displayName: string;
677
- permissions: {
678
- id: string;
679
- description: string | null;
680
- createdAt: Date;
681
- updatedAt: Date;
682
- deletedAt: Date | null;
683
- systemName: string;
684
- displayName: string;
685
- }[];
686
- }[];
687
- extension: {
688
- id: string;
689
- createdAt: Date;
690
- updatedAt: Date;
691
- deletedAt: Date | null;
692
- userId: string | null;
693
- sipServerUrl: string;
694
- sipUserName: string;
695
- webphoneLoginUser: string;
696
- extensionId: string | null;
697
- extensionName: string;
698
- telephonySignature: string | null;
699
- };
700
- }[];
701
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
702
- maximumAssignPerAgent: number;
703
- managers: {
704
- id: string;
705
- address: string | null;
706
- name: string;
707
- email: string;
708
- createdAt: Date;
709
- updatedAt: Date;
710
- deletedAt: Date | null;
711
- emailVerifiedAt: Date | null;
712
- password: string;
713
- phone: string | null;
714
- notificationCount: number | null;
715
- roles: {
716
- id: string;
717
- description: string | null;
718
- createdAt: Date;
719
- updatedAt: Date;
720
- deletedAt: Date | null;
721
- systemName: string;
722
- displayName: string;
723
- permissions: {
724
- id: string;
725
- description: string | null;
726
- createdAt: Date;
727
- updatedAt: Date;
728
- deletedAt: Date | null;
729
- systemName: string;
730
- displayName: string;
731
- }[];
732
- }[];
733
- extension: {
734
- id: string;
735
- createdAt: Date;
736
- updatedAt: Date;
737
- deletedAt: Date | null;
738
- userId: string | null;
739
- sipServerUrl: string;
740
- sipUserName: string;
741
- webphoneLoginUser: string;
742
- extensionId: string | null;
743
- extensionName: string;
744
- telephonySignature: string | null;
745
- };
746
- }[];
747
- } | undefined;
748
- }, {
749
- requestId: string;
750
- data?: {
751
- id: string;
752
- name: string;
753
- description: string | null;
754
- createdAt: Date;
755
- updatedAt: Date;
756
- deletedAt: Date | null;
757
- agents: {
758
- id: string;
759
- address: string | null;
760
- name: string;
761
- email: string;
762
- createdAt: Date;
763
- updatedAt: Date;
764
- deletedAt: Date | null;
765
- emailVerifiedAt: Date | null;
766
- password: string;
767
- phone: string | null;
768
- notificationCount: number | null;
769
- roles: {
770
- id: string;
771
- description: string | null;
772
- createdAt: Date;
773
- updatedAt: Date;
774
- deletedAt: Date | null;
775
- systemName: string;
776
- displayName: string;
777
- permissions: {
778
- id: string;
779
- description: string | null;
780
- createdAt: Date;
781
- updatedAt: Date;
782
- deletedAt: Date | null;
783
- systemName: string;
784
- displayName: string;
785
- }[];
786
- }[];
787
- extension: {
788
- id: string;
789
- createdAt: Date;
790
- updatedAt: Date;
791
- deletedAt: Date | null;
792
- userId: string | null;
793
- sipServerUrl: string;
794
- sipUserName: string;
795
- webphoneLoginUser: string;
796
- extensionId: string | null;
797
- extensionName: string;
798
- telephonySignature: string | null;
799
- };
800
- }[];
801
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
802
- maximumAssignPerAgent: number;
803
- managers: {
804
- id: string;
805
- address: string | null;
806
- name: string;
807
- email: string;
808
- createdAt: Date;
809
- updatedAt: Date;
810
- deletedAt: Date | null;
811
- emailVerifiedAt: Date | null;
812
- password: string;
813
- phone: string | null;
814
- notificationCount: number | null;
815
- roles: {
816
- id: string;
817
- description: string | null;
818
- createdAt: Date;
819
- updatedAt: Date;
820
- deletedAt: Date | null;
821
- systemName: string;
822
- displayName: string;
823
- permissions: {
824
- id: string;
825
- description: string | null;
826
- createdAt: Date;
827
- updatedAt: Date;
828
- deletedAt: Date | null;
829
- systemName: string;
830
- displayName: string;
831
- }[];
832
- }[];
833
- extension: {
834
- id: string;
835
- createdAt: Date;
836
- updatedAt: Date;
837
- deletedAt: Date | null;
838
- userId: string | null;
839
- sipServerUrl: string;
840
- sipUserName: string;
841
- webphoneLoginUser: string;
842
- extensionId: string | null;
843
- extensionName: string;
844
- telephonySignature: string | null;
845
- };
846
- }[];
847
- } | undefined;
848
- }>;
849
- };
850
- path: "/automation-queue";
851
- };
852
- duplicateAutomationQueue: {
853
- body: null;
854
- method: "POST";
855
- pathParams: z.ZodObject<{
856
- id: z.ZodString;
857
- }, "strip", z.ZodTypeAny, {
858
- id: string;
859
- }, {
860
- id: string;
861
- }>;
862
- responses: {
863
- 201: z.ZodObject<{
864
- requestId: z.ZodString;
865
- data: z.ZodOptional<z.ZodObject<{
866
- id: z.ZodString;
867
- createdAt: z.ZodDate;
868
- updatedAt: z.ZodDate;
869
- deletedAt: z.ZodNullable<z.ZodDate>;
870
- name: z.ZodString;
871
- description: z.ZodNullable<z.ZodString>;
872
- distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
873
- maximumAssignPerAgent: z.ZodNumber;
874
- managers: z.ZodArray<z.ZodObject<{
875
- id: z.ZodString;
876
- createdAt: z.ZodDate;
877
- updatedAt: z.ZodDate;
878
- deletedAt: z.ZodNullable<z.ZodDate>;
879
- name: z.ZodString;
880
- email: z.ZodString;
881
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
882
- password: z.ZodString;
883
- address: z.ZodNullable<z.ZodString>;
884
- phone: z.ZodNullable<z.ZodString>;
885
- notificationCount: z.ZodNullable<z.ZodNumber>;
886
- roles: z.ZodArray<z.ZodObject<{
887
- id: z.ZodString;
888
- createdAt: z.ZodDate;
889
- updatedAt: z.ZodDate;
890
- deletedAt: z.ZodNullable<z.ZodDate>;
891
- systemName: z.ZodString;
892
- displayName: z.ZodString;
893
- description: z.ZodNullable<z.ZodString>;
894
- permissions: z.ZodArray<z.ZodObject<{
895
- id: z.ZodString;
896
- createdAt: z.ZodDate;
897
- updatedAt: z.ZodDate;
898
- deletedAt: z.ZodNullable<z.ZodDate>;
899
- systemName: z.ZodString;
900
- displayName: z.ZodString;
901
- description: z.ZodNullable<z.ZodString>;
902
- }, "strip", z.ZodTypeAny, {
903
- id: string;
904
- description: string | null;
905
- createdAt: Date;
906
- updatedAt: Date;
907
- deletedAt: Date | null;
908
- systemName: string;
909
- displayName: string;
910
- }, {
911
- id: string;
912
- description: string | null;
913
- createdAt: Date;
914
- updatedAt: Date;
915
- deletedAt: Date | null;
916
- systemName: string;
917
- displayName: string;
918
- }>, "many">;
919
- }, "strip", z.ZodTypeAny, {
920
- id: string;
921
- description: string | null;
922
- createdAt: Date;
923
- updatedAt: Date;
924
- deletedAt: Date | null;
925
- systemName: string;
926
- displayName: string;
927
- permissions: {
928
- id: string;
929
- description: string | null;
930
- createdAt: Date;
931
- updatedAt: Date;
932
- deletedAt: Date | null;
933
- systemName: string;
934
- displayName: string;
935
- }[];
936
- }, {
937
- id: string;
938
- description: string | null;
939
- createdAt: Date;
940
- updatedAt: Date;
941
- deletedAt: Date | null;
942
- systemName: string;
943
- displayName: string;
944
- permissions: {
945
- id: string;
946
- description: string | null;
947
- createdAt: Date;
948
- updatedAt: Date;
949
- deletedAt: Date | null;
950
- systemName: string;
951
- displayName: string;
952
- }[];
953
- }>, "many">;
954
- extension: z.ZodObject<{
955
- id: z.ZodString;
956
- createdAt: z.ZodDate;
957
- updatedAt: z.ZodDate;
958
- deletedAt: z.ZodNullable<z.ZodDate>;
959
- userId: z.ZodNullable<z.ZodString>;
960
- sipServerUrl: z.ZodString;
961
- sipUserName: z.ZodString;
962
- webphoneLoginUser: z.ZodString;
963
- extensionId: z.ZodNullable<z.ZodString>;
964
- extensionName: z.ZodString;
965
- telephonySignature: z.ZodNullable<z.ZodString>;
966
- }, "strip", z.ZodTypeAny, {
967
- id: string;
968
- createdAt: Date;
969
- updatedAt: Date;
970
- deletedAt: Date | null;
971
- userId: string | null;
972
- sipServerUrl: string;
973
- sipUserName: string;
974
- webphoneLoginUser: string;
975
- extensionId: string | null;
976
- extensionName: string;
977
- telephonySignature: string | null;
978
- }, {
979
- id: string;
980
- createdAt: Date;
981
- updatedAt: Date;
982
- deletedAt: Date | null;
983
- userId: string | null;
984
- sipServerUrl: string;
985
- sipUserName: string;
986
- webphoneLoginUser: string;
987
- extensionId: string | null;
988
- extensionName: string;
989
- telephonySignature: string | null;
990
- }>;
991
- }, "strip", z.ZodTypeAny, {
992
- id: string;
993
- address: string | null;
994
- name: string;
995
- email: string;
996
- createdAt: Date;
997
- updatedAt: Date;
998
- deletedAt: Date | null;
999
- emailVerifiedAt: Date | null;
1000
- password: string;
1001
- phone: string | null;
1002
- notificationCount: number | null;
1003
- roles: {
1004
- id: string;
1005
- description: string | null;
1006
- createdAt: Date;
1007
- updatedAt: Date;
1008
- deletedAt: Date | null;
1009
- systemName: string;
1010
- displayName: string;
1011
- permissions: {
1012
- id: string;
1013
- description: string | null;
1014
- createdAt: Date;
1015
- updatedAt: Date;
1016
- deletedAt: Date | null;
1017
- systemName: string;
1018
- displayName: string;
1019
- }[];
1020
- }[];
1021
- extension: {
1022
- id: string;
1023
- createdAt: Date;
1024
- updatedAt: Date;
1025
- deletedAt: Date | null;
1026
- userId: string | null;
1027
- sipServerUrl: string;
1028
- sipUserName: string;
1029
- webphoneLoginUser: string;
1030
- extensionId: string | null;
1031
- extensionName: string;
1032
- telephonySignature: string | null;
1033
- };
1034
- }, {
1035
- id: string;
1036
- address: string | null;
1037
- name: string;
1038
- email: string;
1039
- createdAt: Date;
1040
- updatedAt: Date;
1041
- deletedAt: Date | null;
1042
- emailVerifiedAt: Date | null;
1043
- password: string;
1044
- phone: string | null;
1045
- notificationCount: number | null;
1046
- roles: {
1047
- id: string;
1048
- description: string | null;
1049
- createdAt: Date;
1050
- updatedAt: Date;
1051
- deletedAt: Date | null;
1052
- systemName: string;
1053
- displayName: string;
1054
- permissions: {
1055
- id: string;
1056
- description: string | null;
1057
- createdAt: Date;
1058
- updatedAt: Date;
1059
- deletedAt: Date | null;
1060
- systemName: string;
1061
- displayName: string;
1062
- }[];
1063
- }[];
1064
- extension: {
1065
- id: string;
1066
- createdAt: Date;
1067
- updatedAt: Date;
1068
- deletedAt: Date | null;
1069
- userId: string | null;
1070
- sipServerUrl: string;
1071
- sipUserName: string;
1072
- webphoneLoginUser: string;
1073
- extensionId: string | null;
1074
- extensionName: string;
1075
- telephonySignature: string | null;
1076
- };
1077
- }>, "many">;
1078
- agents: z.ZodArray<z.ZodObject<{
1079
- id: z.ZodString;
1080
- createdAt: z.ZodDate;
1081
- updatedAt: z.ZodDate;
1082
- deletedAt: z.ZodNullable<z.ZodDate>;
1083
- name: z.ZodString;
1084
- email: z.ZodString;
1085
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1086
- password: z.ZodString;
1087
- address: z.ZodNullable<z.ZodString>;
1088
- phone: z.ZodNullable<z.ZodString>;
1089
- notificationCount: z.ZodNullable<z.ZodNumber>;
1090
- roles: z.ZodArray<z.ZodObject<{
1091
- id: z.ZodString;
1092
- createdAt: z.ZodDate;
1093
- updatedAt: z.ZodDate;
1094
- deletedAt: z.ZodNullable<z.ZodDate>;
1095
- systemName: z.ZodString;
1096
- displayName: z.ZodString;
1097
- description: z.ZodNullable<z.ZodString>;
1098
- permissions: z.ZodArray<z.ZodObject<{
1099
- id: z.ZodString;
1100
- createdAt: z.ZodDate;
1101
- updatedAt: z.ZodDate;
1102
- deletedAt: z.ZodNullable<z.ZodDate>;
1103
- systemName: z.ZodString;
1104
- displayName: z.ZodString;
1105
- description: z.ZodNullable<z.ZodString>;
1106
- }, "strip", z.ZodTypeAny, {
1107
- id: string;
1108
- description: string | null;
1109
- createdAt: Date;
1110
- updatedAt: Date;
1111
- deletedAt: Date | null;
1112
- systemName: string;
1113
- displayName: string;
1114
- }, {
1115
- id: string;
1116
- description: string | null;
1117
- createdAt: Date;
1118
- updatedAt: Date;
1119
- deletedAt: Date | null;
1120
- systemName: string;
1121
- displayName: string;
1122
- }>, "many">;
1123
- }, "strip", z.ZodTypeAny, {
1124
- id: string;
1125
- description: string | null;
1126
- createdAt: Date;
1127
- updatedAt: Date;
1128
- deletedAt: Date | null;
1129
- systemName: string;
1130
- displayName: string;
1131
- permissions: {
1132
- id: string;
1133
- description: string | null;
1134
- createdAt: Date;
1135
- updatedAt: Date;
1136
- deletedAt: Date | null;
1137
- systemName: string;
1138
- displayName: string;
1139
- }[];
1140
- }, {
1141
- id: string;
1142
- description: string | null;
1143
- createdAt: Date;
1144
- updatedAt: Date;
1145
- deletedAt: Date | null;
1146
- systemName: string;
1147
- displayName: string;
1148
- permissions: {
1149
- id: string;
1150
- description: string | null;
1151
- createdAt: Date;
1152
- updatedAt: Date;
1153
- deletedAt: Date | null;
1154
- systemName: string;
1155
- displayName: string;
1156
- }[];
1157
- }>, "many">;
1158
- extension: z.ZodObject<{
1159
- id: z.ZodString;
1160
- createdAt: z.ZodDate;
1161
- updatedAt: z.ZodDate;
1162
- deletedAt: z.ZodNullable<z.ZodDate>;
1163
- userId: z.ZodNullable<z.ZodString>;
1164
- sipServerUrl: z.ZodString;
1165
- sipUserName: z.ZodString;
1166
- webphoneLoginUser: z.ZodString;
1167
- extensionId: z.ZodNullable<z.ZodString>;
1168
- extensionName: z.ZodString;
1169
- telephonySignature: z.ZodNullable<z.ZodString>;
1170
- }, "strip", z.ZodTypeAny, {
1171
- id: string;
1172
- createdAt: Date;
1173
- updatedAt: Date;
1174
- deletedAt: Date | null;
1175
- userId: string | null;
1176
- sipServerUrl: string;
1177
- sipUserName: string;
1178
- webphoneLoginUser: string;
1179
- extensionId: string | null;
1180
- extensionName: string;
1181
- telephonySignature: string | null;
1182
- }, {
1183
- id: string;
1184
- createdAt: Date;
1185
- updatedAt: Date;
1186
- deletedAt: Date | null;
1187
- userId: string | null;
1188
- sipServerUrl: string;
1189
- sipUserName: string;
1190
- webphoneLoginUser: string;
1191
- extensionId: string | null;
1192
- extensionName: string;
1193
- telephonySignature: string | null;
1194
- }>;
1195
- }, "strip", z.ZodTypeAny, {
1196
- id: string;
1197
- address: string | null;
1198
- name: string;
1199
- email: string;
1200
- createdAt: Date;
1201
- updatedAt: Date;
1202
- deletedAt: Date | null;
1203
- emailVerifiedAt: Date | null;
1204
- password: string;
1205
- phone: string | null;
1206
- notificationCount: number | null;
1207
- roles: {
1208
- id: string;
1209
- description: string | null;
1210
- createdAt: Date;
1211
- updatedAt: Date;
1212
- deletedAt: Date | null;
1213
- systemName: string;
1214
- displayName: string;
1215
- permissions: {
1216
- id: string;
1217
- description: string | null;
1218
- createdAt: Date;
1219
- updatedAt: Date;
1220
- deletedAt: Date | null;
1221
- systemName: string;
1222
- displayName: string;
1223
- }[];
1224
- }[];
1225
- extension: {
1226
- id: string;
1227
- createdAt: Date;
1228
- updatedAt: Date;
1229
- deletedAt: Date | null;
1230
- userId: string | null;
1231
- sipServerUrl: string;
1232
- sipUserName: string;
1233
- webphoneLoginUser: string;
1234
- extensionId: string | null;
1235
- extensionName: string;
1236
- telephonySignature: string | null;
1237
- };
1238
- }, {
1239
- id: string;
1240
- address: string | null;
1241
- name: string;
1242
- email: string;
1243
- createdAt: Date;
1244
- updatedAt: Date;
1245
- deletedAt: Date | null;
1246
- emailVerifiedAt: Date | null;
1247
- password: string;
1248
- phone: string | null;
1249
- notificationCount: number | null;
1250
- roles: {
1251
- id: string;
1252
- description: string | null;
1253
- createdAt: Date;
1254
- updatedAt: Date;
1255
- deletedAt: Date | null;
1256
- systemName: string;
1257
- displayName: string;
1258
- permissions: {
1259
- id: string;
1260
- description: string | null;
1261
- createdAt: Date;
1262
- updatedAt: Date;
1263
- deletedAt: Date | null;
1264
- systemName: string;
1265
- displayName: string;
1266
- }[];
1267
- }[];
1268
- extension: {
1269
- id: string;
1270
- createdAt: Date;
1271
- updatedAt: Date;
1272
- deletedAt: Date | null;
1273
- userId: string | null;
1274
- sipServerUrl: string;
1275
- sipUserName: string;
1276
- webphoneLoginUser: string;
1277
- extensionId: string | null;
1278
- extensionName: string;
1279
- telephonySignature: string | null;
1280
- };
1281
- }>, "many">;
1282
- }, "strip", z.ZodTypeAny, {
1283
- id: string;
1284
- name: string;
1285
- description: string | null;
1286
- createdAt: Date;
1287
- updatedAt: Date;
1288
- deletedAt: Date | null;
1289
- agents: {
1290
- id: string;
1291
- address: string | null;
1292
- name: string;
1293
- email: string;
1294
- createdAt: Date;
1295
- updatedAt: Date;
1296
- deletedAt: Date | null;
1297
- emailVerifiedAt: Date | null;
1298
- password: string;
1299
- phone: string | null;
1300
- notificationCount: number | null;
1301
- roles: {
1302
- id: string;
1303
- description: string | null;
1304
- createdAt: Date;
1305
- updatedAt: Date;
1306
- deletedAt: Date | null;
1307
- systemName: string;
1308
- displayName: string;
1309
- permissions: {
1310
- id: string;
1311
- description: string | null;
1312
- createdAt: Date;
1313
- updatedAt: Date;
1314
- deletedAt: Date | null;
1315
- systemName: string;
1316
- displayName: string;
1317
- }[];
1318
- }[];
1319
- extension: {
1320
- id: string;
1321
- createdAt: Date;
1322
- updatedAt: Date;
1323
- deletedAt: Date | null;
1324
- userId: string | null;
1325
- sipServerUrl: string;
1326
- sipUserName: string;
1327
- webphoneLoginUser: string;
1328
- extensionId: string | null;
1329
- extensionName: string;
1330
- telephonySignature: string | null;
1331
- };
1332
- }[];
1333
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
1334
- maximumAssignPerAgent: number;
1335
- managers: {
1336
- id: string;
1337
- address: string | null;
1338
- name: string;
1339
- email: string;
1340
- createdAt: Date;
1341
- updatedAt: Date;
1342
- deletedAt: Date | null;
1343
- emailVerifiedAt: Date | null;
1344
- password: string;
1345
- phone: string | null;
1346
- notificationCount: number | null;
1347
- roles: {
1348
- id: string;
1349
- description: string | null;
1350
- createdAt: Date;
1351
- updatedAt: Date;
1352
- deletedAt: Date | null;
1353
- systemName: string;
1354
- displayName: string;
1355
- permissions: {
1356
- id: string;
1357
- description: string | null;
1358
- createdAt: Date;
1359
- updatedAt: Date;
1360
- deletedAt: Date | null;
1361
- systemName: string;
1362
- displayName: string;
1363
- }[];
1364
- }[];
1365
- extension: {
1366
- id: string;
1367
- createdAt: Date;
1368
- updatedAt: Date;
1369
- deletedAt: Date | null;
1370
- userId: string | null;
1371
- sipServerUrl: string;
1372
- sipUserName: string;
1373
- webphoneLoginUser: string;
1374
- extensionId: string | null;
1375
- extensionName: string;
1376
- telephonySignature: string | null;
1377
- };
1378
- }[];
1379
- }, {
1380
- id: string;
1381
- name: string;
1382
- description: string | null;
1383
- createdAt: Date;
1384
- updatedAt: Date;
1385
- deletedAt: Date | null;
1386
- agents: {
1387
- id: string;
1388
- address: string | null;
1389
- name: string;
1390
- email: string;
1391
- createdAt: Date;
1392
- updatedAt: Date;
1393
- deletedAt: Date | null;
1394
- emailVerifiedAt: Date | null;
1395
- password: string;
1396
- phone: string | null;
1397
- notificationCount: number | null;
1398
- roles: {
1399
- id: string;
1400
- description: string | null;
1401
- createdAt: Date;
1402
- updatedAt: Date;
1403
- deletedAt: Date | null;
1404
- systemName: string;
1405
- displayName: string;
1406
- permissions: {
1407
- id: string;
1408
- description: string | null;
1409
- createdAt: Date;
1410
- updatedAt: Date;
1411
- deletedAt: Date | null;
1412
- systemName: string;
1413
- displayName: string;
1414
- }[];
1415
- }[];
1416
- extension: {
1417
- id: string;
1418
- createdAt: Date;
1419
- updatedAt: Date;
1420
- deletedAt: Date | null;
1421
- userId: string | null;
1422
- sipServerUrl: string;
1423
- sipUserName: string;
1424
- webphoneLoginUser: string;
1425
- extensionId: string | null;
1426
- extensionName: string;
1427
- telephonySignature: string | null;
1428
- };
1429
- }[];
1430
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
1431
- maximumAssignPerAgent: number;
1432
- managers: {
1433
- id: string;
1434
- address: string | null;
1435
- name: string;
1436
- email: string;
1437
- createdAt: Date;
1438
- updatedAt: Date;
1439
- deletedAt: Date | null;
1440
- emailVerifiedAt: Date | null;
1441
- password: string;
1442
- phone: string | null;
1443
- notificationCount: number | null;
1444
- roles: {
1445
- id: string;
1446
- description: string | null;
1447
- createdAt: Date;
1448
- updatedAt: Date;
1449
- deletedAt: Date | null;
1450
- systemName: string;
1451
- displayName: string;
1452
- permissions: {
1453
- id: string;
1454
- description: string | null;
1455
- createdAt: Date;
1456
- updatedAt: Date;
1457
- deletedAt: Date | null;
1458
- systemName: string;
1459
- displayName: string;
1460
- }[];
1461
- }[];
1462
- extension: {
1463
- id: string;
1464
- createdAt: Date;
1465
- updatedAt: Date;
1466
- deletedAt: Date | null;
1467
- userId: string | null;
1468
- sipServerUrl: string;
1469
- sipUserName: string;
1470
- webphoneLoginUser: string;
1471
- extensionId: string | null;
1472
- extensionName: string;
1473
- telephonySignature: string | null;
1474
- };
1475
- }[];
1476
- }>>;
1477
- }, "strip", z.ZodTypeAny, {
1478
- requestId: string;
1479
- data?: {
1480
- id: string;
1481
- name: string;
1482
- description: string | null;
1483
- createdAt: Date;
1484
- updatedAt: Date;
1485
- deletedAt: Date | null;
1486
- agents: {
1487
- id: string;
1488
- address: string | null;
1489
- name: string;
1490
- email: string;
1491
- createdAt: Date;
1492
- updatedAt: Date;
1493
- deletedAt: Date | null;
1494
- emailVerifiedAt: Date | null;
1495
- password: string;
1496
- phone: string | null;
1497
- notificationCount: number | null;
1498
- roles: {
1499
- id: string;
1500
- description: string | null;
1501
- createdAt: Date;
1502
- updatedAt: Date;
1503
- deletedAt: Date | null;
1504
- systemName: string;
1505
- displayName: string;
1506
- permissions: {
1507
- id: string;
1508
- description: string | null;
1509
- createdAt: Date;
1510
- updatedAt: Date;
1511
- deletedAt: Date | null;
1512
- systemName: string;
1513
- displayName: string;
1514
- }[];
1515
- }[];
1516
- extension: {
1517
- id: string;
1518
- createdAt: Date;
1519
- updatedAt: Date;
1520
- deletedAt: Date | null;
1521
- userId: string | null;
1522
- sipServerUrl: string;
1523
- sipUserName: string;
1524
- webphoneLoginUser: string;
1525
- extensionId: string | null;
1526
- extensionName: string;
1527
- telephonySignature: string | null;
1528
- };
1529
- }[];
1530
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
1531
- maximumAssignPerAgent: number;
1532
- managers: {
1533
- id: string;
1534
- address: string | null;
1535
- name: string;
1536
- email: string;
1537
- createdAt: Date;
1538
- updatedAt: Date;
1539
- deletedAt: Date | null;
1540
- emailVerifiedAt: Date | null;
1541
- password: string;
1542
- phone: string | null;
1543
- notificationCount: number | null;
1544
- roles: {
1545
- id: string;
1546
- description: string | null;
1547
- createdAt: Date;
1548
- updatedAt: Date;
1549
- deletedAt: Date | null;
1550
- systemName: string;
1551
- displayName: string;
1552
- permissions: {
1553
- id: string;
1554
- description: string | null;
1555
- createdAt: Date;
1556
- updatedAt: Date;
1557
- deletedAt: Date | null;
1558
- systemName: string;
1559
- displayName: string;
1560
- }[];
1561
- }[];
1562
- extension: {
1563
- id: string;
1564
- createdAt: Date;
1565
- updatedAt: Date;
1566
- deletedAt: Date | null;
1567
- userId: string | null;
1568
- sipServerUrl: string;
1569
- sipUserName: string;
1570
- webphoneLoginUser: string;
1571
- extensionId: string | null;
1572
- extensionName: string;
1573
- telephonySignature: string | null;
1574
- };
1575
- }[];
1576
- } | undefined;
1577
- }, {
1578
- requestId: string;
1579
- data?: {
1580
- id: string;
1581
- name: string;
1582
- description: string | null;
1583
- createdAt: Date;
1584
- updatedAt: Date;
1585
- deletedAt: Date | null;
1586
- agents: {
1587
- id: string;
1588
- address: string | null;
1589
- name: string;
1590
- email: string;
1591
- createdAt: Date;
1592
- updatedAt: Date;
1593
- deletedAt: Date | null;
1594
- emailVerifiedAt: Date | null;
1595
- password: string;
1596
- phone: string | null;
1597
- notificationCount: number | null;
1598
- roles: {
1599
- id: string;
1600
- description: string | null;
1601
- createdAt: Date;
1602
- updatedAt: Date;
1603
- deletedAt: Date | null;
1604
- systemName: string;
1605
- displayName: string;
1606
- permissions: {
1607
- id: string;
1608
- description: string | null;
1609
- createdAt: Date;
1610
- updatedAt: Date;
1611
- deletedAt: Date | null;
1612
- systemName: string;
1613
- displayName: string;
1614
- }[];
1615
- }[];
1616
- extension: {
1617
- id: string;
1618
- createdAt: Date;
1619
- updatedAt: Date;
1620
- deletedAt: Date | null;
1621
- userId: string | null;
1622
- sipServerUrl: string;
1623
- sipUserName: string;
1624
- webphoneLoginUser: string;
1625
- extensionId: string | null;
1626
- extensionName: string;
1627
- telephonySignature: string | null;
1628
- };
1629
- }[];
1630
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
1631
- maximumAssignPerAgent: number;
1632
- managers: {
1633
- id: string;
1634
- address: string | null;
1635
- name: string;
1636
- email: string;
1637
- createdAt: Date;
1638
- updatedAt: Date;
1639
- deletedAt: Date | null;
1640
- emailVerifiedAt: Date | null;
1641
- password: string;
1642
- phone: string | null;
1643
- notificationCount: number | null;
1644
- roles: {
1645
- id: string;
1646
- description: string | null;
1647
- createdAt: Date;
1648
- updatedAt: Date;
1649
- deletedAt: Date | null;
1650
- systemName: string;
1651
- displayName: string;
1652
- permissions: {
1653
- id: string;
1654
- description: string | null;
1655
- createdAt: Date;
1656
- updatedAt: Date;
1657
- deletedAt: Date | null;
1658
- systemName: string;
1659
- displayName: string;
1660
- }[];
1661
- }[];
1662
- extension: {
1663
- id: string;
1664
- createdAt: Date;
1665
- updatedAt: Date;
1666
- deletedAt: Date | null;
1667
- userId: string | null;
1668
- sipServerUrl: string;
1669
- sipUserName: string;
1670
- webphoneLoginUser: string;
1671
- extensionId: string | null;
1672
- extensionName: string;
1673
- telephonySignature: string | null;
1674
- };
1675
- }[];
1676
- } | undefined;
1677
- }>;
1678
- };
1679
- path: "/automation-queue/:id/duplicate";
1680
- };
1681
- getAutomationQueues: {
1682
- method: "GET";
1683
- pathParams: z.ZodOptional<z.ZodObject<{
1684
- userId: z.ZodOptional<z.ZodString>;
1685
- }, "strip", z.ZodTypeAny, {
1686
- userId?: string | undefined;
1687
- }, {
1688
- userId?: string | undefined;
1689
- }>>;
1690
- responses: {
1691
- 200: z.ZodObject<{
1692
- requestId: z.ZodString;
1693
- data: z.ZodArray<z.ZodObject<{
1694
- id: z.ZodString;
1695
- createdAt: z.ZodDate;
1696
- updatedAt: z.ZodDate;
1697
- deletedAt: z.ZodNullable<z.ZodDate>;
1698
- name: z.ZodString;
1699
- description: z.ZodNullable<z.ZodString>;
1700
- distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
1701
- maximumAssignPerAgent: z.ZodNumber;
1702
- managers: z.ZodArray<z.ZodObject<{
1703
- id: z.ZodString;
1704
- createdAt: z.ZodDate;
1705
- updatedAt: z.ZodDate;
1706
- deletedAt: z.ZodNullable<z.ZodDate>;
1707
- name: z.ZodString;
1708
- email: z.ZodString;
1709
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1710
- password: z.ZodString;
1711
- address: z.ZodNullable<z.ZodString>;
1712
- phone: z.ZodNullable<z.ZodString>;
1713
- notificationCount: z.ZodNullable<z.ZodNumber>;
1714
- roles: z.ZodArray<z.ZodObject<{
1715
- id: z.ZodString;
1716
- createdAt: z.ZodDate;
1717
- updatedAt: z.ZodDate;
1718
- deletedAt: z.ZodNullable<z.ZodDate>;
1719
- systemName: z.ZodString;
1720
- displayName: z.ZodString;
1721
- description: z.ZodNullable<z.ZodString>;
1722
- permissions: z.ZodArray<z.ZodObject<{
1723
- id: z.ZodString;
1724
- createdAt: z.ZodDate;
1725
- updatedAt: z.ZodDate;
1726
- deletedAt: z.ZodNullable<z.ZodDate>;
1727
- systemName: z.ZodString;
1728
- displayName: z.ZodString;
1729
- description: z.ZodNullable<z.ZodString>;
1730
- }, "strip", z.ZodTypeAny, {
1731
- id: string;
1732
- description: string | null;
1733
- createdAt: Date;
1734
- updatedAt: Date;
1735
- deletedAt: Date | null;
1736
- systemName: string;
1737
- displayName: string;
1738
- }, {
1739
- id: string;
1740
- description: string | null;
1741
- createdAt: Date;
1742
- updatedAt: Date;
1743
- deletedAt: Date | null;
1744
- systemName: string;
1745
- displayName: string;
1746
- }>, "many">;
1747
- }, "strip", z.ZodTypeAny, {
1748
- id: string;
1749
- description: string | null;
1750
- createdAt: Date;
1751
- updatedAt: Date;
1752
- deletedAt: Date | null;
1753
- systemName: string;
1754
- displayName: string;
1755
- permissions: {
1756
- id: string;
1757
- description: string | null;
1758
- createdAt: Date;
1759
- updatedAt: Date;
1760
- deletedAt: Date | null;
1761
- systemName: string;
1762
- displayName: string;
1763
- }[];
1764
- }, {
1765
- id: string;
1766
- description: string | null;
1767
- createdAt: Date;
1768
- updatedAt: Date;
1769
- deletedAt: Date | null;
1770
- systemName: string;
1771
- displayName: string;
1772
- permissions: {
1773
- id: string;
1774
- description: string | null;
1775
- createdAt: Date;
1776
- updatedAt: Date;
1777
- deletedAt: Date | null;
1778
- systemName: string;
1779
- displayName: string;
1780
- }[];
1781
- }>, "many">;
1782
- extension: z.ZodObject<{
1783
- id: z.ZodString;
1784
- createdAt: z.ZodDate;
1785
- updatedAt: z.ZodDate;
1786
- deletedAt: z.ZodNullable<z.ZodDate>;
1787
- userId: z.ZodNullable<z.ZodString>;
1788
- sipServerUrl: z.ZodString;
1789
- sipUserName: z.ZodString;
1790
- webphoneLoginUser: z.ZodString;
1791
- extensionId: z.ZodNullable<z.ZodString>;
1792
- extensionName: z.ZodString;
1793
- telephonySignature: z.ZodNullable<z.ZodString>;
1794
- }, "strip", z.ZodTypeAny, {
1795
- id: string;
1796
- createdAt: Date;
1797
- updatedAt: Date;
1798
- deletedAt: Date | null;
1799
- userId: string | null;
1800
- sipServerUrl: string;
1801
- sipUserName: string;
1802
- webphoneLoginUser: string;
1803
- extensionId: string | null;
1804
- extensionName: string;
1805
- telephonySignature: string | null;
1806
- }, {
1807
- id: string;
1808
- createdAt: Date;
1809
- updatedAt: Date;
1810
- deletedAt: Date | null;
1811
- userId: string | null;
1812
- sipServerUrl: string;
1813
- sipUserName: string;
1814
- webphoneLoginUser: string;
1815
- extensionId: string | null;
1816
- extensionName: string;
1817
- telephonySignature: string | null;
1818
- }>;
1819
- }, "strip", z.ZodTypeAny, {
1820
- id: string;
1821
- address: string | null;
1822
- name: string;
1823
- email: string;
1824
- createdAt: Date;
1825
- updatedAt: Date;
1826
- deletedAt: Date | null;
1827
- emailVerifiedAt: Date | null;
1828
- password: string;
1829
- phone: string | null;
1830
- notificationCount: number | null;
1831
- roles: {
1832
- id: string;
1833
- description: string | null;
1834
- createdAt: Date;
1835
- updatedAt: Date;
1836
- deletedAt: Date | null;
1837
- systemName: string;
1838
- displayName: string;
1839
- permissions: {
1840
- id: string;
1841
- description: string | null;
1842
- createdAt: Date;
1843
- updatedAt: Date;
1844
- deletedAt: Date | null;
1845
- systemName: string;
1846
- displayName: string;
1847
- }[];
1848
- }[];
1849
- extension: {
1850
- id: string;
1851
- createdAt: Date;
1852
- updatedAt: Date;
1853
- deletedAt: Date | null;
1854
- userId: string | null;
1855
- sipServerUrl: string;
1856
- sipUserName: string;
1857
- webphoneLoginUser: string;
1858
- extensionId: string | null;
1859
- extensionName: string;
1860
- telephonySignature: string | null;
1861
- };
1862
- }, {
1863
- id: string;
1864
- address: string | null;
1865
- name: string;
1866
- email: string;
1867
- createdAt: Date;
1868
- updatedAt: Date;
1869
- deletedAt: Date | null;
1870
- emailVerifiedAt: Date | null;
1871
- password: string;
1872
- phone: string | null;
1873
- notificationCount: number | null;
1874
- roles: {
1875
- id: string;
1876
- description: string | null;
1877
- createdAt: Date;
1878
- updatedAt: Date;
1879
- deletedAt: Date | null;
1880
- systemName: string;
1881
- displayName: string;
1882
- permissions: {
1883
- id: string;
1884
- description: string | null;
1885
- createdAt: Date;
1886
- updatedAt: Date;
1887
- deletedAt: Date | null;
1888
- systemName: string;
1889
- displayName: string;
1890
- }[];
1891
- }[];
1892
- extension: {
1893
- id: string;
1894
- createdAt: Date;
1895
- updatedAt: Date;
1896
- deletedAt: Date | null;
1897
- userId: string | null;
1898
- sipServerUrl: string;
1899
- sipUserName: string;
1900
- webphoneLoginUser: string;
1901
- extensionId: string | null;
1902
- extensionName: string;
1903
- telephonySignature: string | null;
1904
- };
1905
- }>, "many">;
1906
- agents: z.ZodArray<z.ZodObject<{
1907
- id: z.ZodString;
1908
- createdAt: z.ZodDate;
1909
- updatedAt: z.ZodDate;
1910
- deletedAt: z.ZodNullable<z.ZodDate>;
1911
- name: z.ZodString;
1912
- email: z.ZodString;
1913
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1914
- password: z.ZodString;
1915
- address: z.ZodNullable<z.ZodString>;
1916
- phone: z.ZodNullable<z.ZodString>;
1917
- notificationCount: z.ZodNullable<z.ZodNumber>;
1918
- roles: z.ZodArray<z.ZodObject<{
1919
- id: z.ZodString;
1920
- createdAt: z.ZodDate;
1921
- updatedAt: z.ZodDate;
1922
- deletedAt: z.ZodNullable<z.ZodDate>;
1923
- systemName: z.ZodString;
1924
- displayName: z.ZodString;
1925
- description: z.ZodNullable<z.ZodString>;
1926
- permissions: z.ZodArray<z.ZodObject<{
1927
- id: z.ZodString;
1928
- createdAt: z.ZodDate;
1929
- updatedAt: z.ZodDate;
1930
- deletedAt: z.ZodNullable<z.ZodDate>;
1931
- systemName: z.ZodString;
1932
- displayName: z.ZodString;
1933
- description: z.ZodNullable<z.ZodString>;
1934
- }, "strip", z.ZodTypeAny, {
1935
- id: string;
1936
- description: string | null;
1937
- createdAt: Date;
1938
- updatedAt: Date;
1939
- deletedAt: Date | null;
1940
- systemName: string;
1941
- displayName: string;
1942
- }, {
1943
- id: string;
1944
- description: string | null;
1945
- createdAt: Date;
1946
- updatedAt: Date;
1947
- deletedAt: Date | null;
1948
- systemName: string;
1949
- displayName: string;
1950
- }>, "many">;
1951
- }, "strip", z.ZodTypeAny, {
1952
- id: string;
1953
- description: string | null;
1954
- createdAt: Date;
1955
- updatedAt: Date;
1956
- deletedAt: Date | null;
1957
- systemName: string;
1958
- displayName: string;
1959
- permissions: {
1960
- id: string;
1961
- description: string | null;
1962
- createdAt: Date;
1963
- updatedAt: Date;
1964
- deletedAt: Date | null;
1965
- systemName: string;
1966
- displayName: string;
1967
- }[];
1968
- }, {
1969
- id: string;
1970
- description: string | null;
1971
- createdAt: Date;
1972
- updatedAt: Date;
1973
- deletedAt: Date | null;
1974
- systemName: string;
1975
- displayName: string;
1976
- permissions: {
1977
- id: string;
1978
- description: string | null;
1979
- createdAt: Date;
1980
- updatedAt: Date;
1981
- deletedAt: Date | null;
1982
- systemName: string;
1983
- displayName: string;
1984
- }[];
1985
- }>, "many">;
1986
- extension: z.ZodObject<{
1987
- id: z.ZodString;
1988
- createdAt: z.ZodDate;
1989
- updatedAt: z.ZodDate;
1990
- deletedAt: z.ZodNullable<z.ZodDate>;
1991
- userId: z.ZodNullable<z.ZodString>;
1992
- sipServerUrl: z.ZodString;
1993
- sipUserName: z.ZodString;
1994
- webphoneLoginUser: z.ZodString;
1995
- extensionId: z.ZodNullable<z.ZodString>;
1996
- extensionName: z.ZodString;
1997
- telephonySignature: z.ZodNullable<z.ZodString>;
1998
- }, "strip", z.ZodTypeAny, {
1999
- id: string;
2000
- createdAt: Date;
2001
- updatedAt: Date;
2002
- deletedAt: Date | null;
2003
- userId: string | null;
2004
- sipServerUrl: string;
2005
- sipUserName: string;
2006
- webphoneLoginUser: string;
2007
- extensionId: string | null;
2008
- extensionName: string;
2009
- telephonySignature: string | null;
2010
- }, {
2011
- id: string;
2012
- createdAt: Date;
2013
- updatedAt: Date;
2014
- deletedAt: Date | null;
2015
- userId: string | null;
2016
- sipServerUrl: string;
2017
- sipUserName: string;
2018
- webphoneLoginUser: string;
2019
- extensionId: string | null;
2020
- extensionName: string;
2021
- telephonySignature: string | null;
2022
- }>;
2023
- }, "strip", z.ZodTypeAny, {
2024
- id: string;
2025
- address: string | null;
2026
- name: string;
2027
- email: string;
2028
- createdAt: Date;
2029
- updatedAt: Date;
2030
- deletedAt: Date | null;
2031
- emailVerifiedAt: Date | null;
2032
- password: string;
2033
- phone: string | null;
2034
- notificationCount: number | null;
2035
- roles: {
2036
- id: string;
2037
- description: string | null;
2038
- createdAt: Date;
2039
- updatedAt: Date;
2040
- deletedAt: Date | null;
2041
- systemName: string;
2042
- displayName: string;
2043
- permissions: {
2044
- id: string;
2045
- description: string | null;
2046
- createdAt: Date;
2047
- updatedAt: Date;
2048
- deletedAt: Date | null;
2049
- systemName: string;
2050
- displayName: string;
2051
- }[];
2052
- }[];
2053
- extension: {
2054
- id: string;
2055
- createdAt: Date;
2056
- updatedAt: Date;
2057
- deletedAt: Date | null;
2058
- userId: string | null;
2059
- sipServerUrl: string;
2060
- sipUserName: string;
2061
- webphoneLoginUser: string;
2062
- extensionId: string | null;
2063
- extensionName: string;
2064
- telephonySignature: string | null;
2065
- };
2066
- }, {
2067
- id: string;
2068
- address: string | null;
2069
- name: string;
2070
- email: string;
2071
- createdAt: Date;
2072
- updatedAt: Date;
2073
- deletedAt: Date | null;
2074
- emailVerifiedAt: Date | null;
2075
- password: string;
2076
- phone: string | null;
2077
- notificationCount: number | null;
2078
- roles: {
2079
- id: string;
2080
- description: string | null;
2081
- createdAt: Date;
2082
- updatedAt: Date;
2083
- deletedAt: Date | null;
2084
- systemName: string;
2085
- displayName: string;
2086
- permissions: {
2087
- id: string;
2088
- description: string | null;
2089
- createdAt: Date;
2090
- updatedAt: Date;
2091
- deletedAt: Date | null;
2092
- systemName: string;
2093
- displayName: string;
2094
- }[];
2095
- }[];
2096
- extension: {
2097
- id: string;
2098
- createdAt: Date;
2099
- updatedAt: Date;
2100
- deletedAt: Date | null;
2101
- userId: string | null;
2102
- sipServerUrl: string;
2103
- sipUserName: string;
2104
- webphoneLoginUser: string;
2105
- extensionId: string | null;
2106
- extensionName: string;
2107
- telephonySignature: string | null;
2108
- };
2109
- }>, "many">;
2110
- }, "strip", z.ZodTypeAny, {
2111
- id: string;
2112
- name: string;
2113
- description: string | null;
2114
- createdAt: Date;
2115
- updatedAt: Date;
2116
- deletedAt: Date | null;
2117
- agents: {
2118
- id: string;
2119
- address: string | null;
2120
- name: string;
2121
- email: string;
2122
- createdAt: Date;
2123
- updatedAt: Date;
2124
- deletedAt: Date | null;
2125
- emailVerifiedAt: Date | null;
2126
- password: string;
2127
- phone: string | null;
2128
- notificationCount: number | null;
2129
- roles: {
2130
- id: string;
2131
- description: string | null;
2132
- createdAt: Date;
2133
- updatedAt: Date;
2134
- deletedAt: Date | null;
2135
- systemName: string;
2136
- displayName: string;
2137
- permissions: {
2138
- id: string;
2139
- description: string | null;
2140
- createdAt: Date;
2141
- updatedAt: Date;
2142
- deletedAt: Date | null;
2143
- systemName: string;
2144
- displayName: string;
2145
- }[];
2146
- }[];
2147
- extension: {
2148
- id: string;
2149
- createdAt: Date;
2150
- updatedAt: Date;
2151
- deletedAt: Date | null;
2152
- userId: string | null;
2153
- sipServerUrl: string;
2154
- sipUserName: string;
2155
- webphoneLoginUser: string;
2156
- extensionId: string | null;
2157
- extensionName: string;
2158
- telephonySignature: string | null;
2159
- };
2160
- }[];
2161
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
2162
- maximumAssignPerAgent: number;
2163
- managers: {
2164
- id: string;
2165
- address: string | null;
2166
- name: string;
2167
- email: string;
2168
- createdAt: Date;
2169
- updatedAt: Date;
2170
- deletedAt: Date | null;
2171
- emailVerifiedAt: Date | null;
2172
- password: string;
2173
- phone: string | null;
2174
- notificationCount: number | null;
2175
- roles: {
2176
- id: string;
2177
- description: string | null;
2178
- createdAt: Date;
2179
- updatedAt: Date;
2180
- deletedAt: Date | null;
2181
- systemName: string;
2182
- displayName: string;
2183
- permissions: {
2184
- id: string;
2185
- description: string | null;
2186
- createdAt: Date;
2187
- updatedAt: Date;
2188
- deletedAt: Date | null;
2189
- systemName: string;
2190
- displayName: string;
2191
- }[];
2192
- }[];
2193
- extension: {
2194
- id: string;
2195
- createdAt: Date;
2196
- updatedAt: Date;
2197
- deletedAt: Date | null;
2198
- userId: string | null;
2199
- sipServerUrl: string;
2200
- sipUserName: string;
2201
- webphoneLoginUser: string;
2202
- extensionId: string | null;
2203
- extensionName: string;
2204
- telephonySignature: string | null;
2205
- };
2206
- }[];
2207
- }, {
2208
- id: string;
2209
- name: string;
2210
- description: string | null;
2211
- createdAt: Date;
2212
- updatedAt: Date;
2213
- deletedAt: Date | null;
2214
- agents: {
2215
- id: string;
2216
- address: string | null;
2217
- name: string;
2218
- email: string;
2219
- createdAt: Date;
2220
- updatedAt: Date;
2221
- deletedAt: Date | null;
2222
- emailVerifiedAt: Date | null;
2223
- password: string;
2224
- phone: string | null;
2225
- notificationCount: number | null;
2226
- roles: {
2227
- id: string;
2228
- description: string | null;
2229
- createdAt: Date;
2230
- updatedAt: Date;
2231
- deletedAt: Date | null;
2232
- systemName: string;
2233
- displayName: string;
2234
- permissions: {
2235
- id: string;
2236
- description: string | null;
2237
- createdAt: Date;
2238
- updatedAt: Date;
2239
- deletedAt: Date | null;
2240
- systemName: string;
2241
- displayName: string;
2242
- }[];
2243
- }[];
2244
- extension: {
2245
- id: string;
2246
- createdAt: Date;
2247
- updatedAt: Date;
2248
- deletedAt: Date | null;
2249
- userId: string | null;
2250
- sipServerUrl: string;
2251
- sipUserName: string;
2252
- webphoneLoginUser: string;
2253
- extensionId: string | null;
2254
- extensionName: string;
2255
- telephonySignature: string | null;
2256
- };
2257
- }[];
2258
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
2259
- maximumAssignPerAgent: number;
2260
- managers: {
2261
- id: string;
2262
- address: string | null;
2263
- name: string;
2264
- email: string;
2265
- createdAt: Date;
2266
- updatedAt: Date;
2267
- deletedAt: Date | null;
2268
- emailVerifiedAt: Date | null;
2269
- password: string;
2270
- phone: string | null;
2271
- notificationCount: number | null;
2272
- roles: {
2273
- id: string;
2274
- description: string | null;
2275
- createdAt: Date;
2276
- updatedAt: Date;
2277
- deletedAt: Date | null;
2278
- systemName: string;
2279
- displayName: string;
2280
- permissions: {
2281
- id: string;
2282
- description: string | null;
2283
- createdAt: Date;
2284
- updatedAt: Date;
2285
- deletedAt: Date | null;
2286
- systemName: string;
2287
- displayName: string;
2288
- }[];
2289
- }[];
2290
- extension: {
2291
- id: string;
2292
- createdAt: Date;
2293
- updatedAt: Date;
2294
- deletedAt: Date | null;
2295
- userId: string | null;
2296
- sipServerUrl: string;
2297
- sipUserName: string;
2298
- webphoneLoginUser: string;
2299
- extensionId: string | null;
2300
- extensionName: string;
2301
- telephonySignature: string | null;
2302
- };
2303
- }[];
2304
- }>, "many">;
2305
- }, "strip", z.ZodTypeAny, {
2306
- data: {
2307
- id: string;
2308
- name: string;
2309
- description: string | null;
2310
- createdAt: Date;
2311
- updatedAt: Date;
2312
- deletedAt: Date | null;
2313
- agents: {
2314
- id: string;
2315
- address: string | null;
2316
- name: string;
2317
- email: string;
2318
- createdAt: Date;
2319
- updatedAt: Date;
2320
- deletedAt: Date | null;
2321
- emailVerifiedAt: Date | null;
2322
- password: string;
2323
- phone: string | null;
2324
- notificationCount: number | null;
2325
- roles: {
2326
- id: string;
2327
- description: string | null;
2328
- createdAt: Date;
2329
- updatedAt: Date;
2330
- deletedAt: Date | null;
2331
- systemName: string;
2332
- displayName: string;
2333
- permissions: {
2334
- id: string;
2335
- description: string | null;
2336
- createdAt: Date;
2337
- updatedAt: Date;
2338
- deletedAt: Date | null;
2339
- systemName: string;
2340
- displayName: string;
2341
- }[];
2342
- }[];
2343
- extension: {
2344
- id: string;
2345
- createdAt: Date;
2346
- updatedAt: Date;
2347
- deletedAt: Date | null;
2348
- userId: string | null;
2349
- sipServerUrl: string;
2350
- sipUserName: string;
2351
- webphoneLoginUser: string;
2352
- extensionId: string | null;
2353
- extensionName: string;
2354
- telephonySignature: string | null;
2355
- };
2356
- }[];
2357
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
2358
- maximumAssignPerAgent: number;
2359
- managers: {
2360
- id: string;
2361
- address: string | null;
2362
- name: string;
2363
- email: string;
2364
- createdAt: Date;
2365
- updatedAt: Date;
2366
- deletedAt: Date | null;
2367
- emailVerifiedAt: Date | null;
2368
- password: string;
2369
- phone: string | null;
2370
- notificationCount: number | null;
2371
- roles: {
2372
- id: string;
2373
- description: string | null;
2374
- createdAt: Date;
2375
- updatedAt: Date;
2376
- deletedAt: Date | null;
2377
- systemName: string;
2378
- displayName: string;
2379
- permissions: {
2380
- id: string;
2381
- description: string | null;
2382
- createdAt: Date;
2383
- updatedAt: Date;
2384
- deletedAt: Date | null;
2385
- systemName: string;
2386
- displayName: string;
2387
- }[];
2388
- }[];
2389
- extension: {
2390
- id: string;
2391
- createdAt: Date;
2392
- updatedAt: Date;
2393
- deletedAt: Date | null;
2394
- userId: string | null;
2395
- sipServerUrl: string;
2396
- sipUserName: string;
2397
- webphoneLoginUser: string;
2398
- extensionId: string | null;
2399
- extensionName: string;
2400
- telephonySignature: string | null;
2401
- };
2402
- }[];
2403
- }[];
2404
- requestId: string;
2405
- }, {
2406
- data: {
2407
- id: string;
2408
- name: string;
2409
- description: string | null;
2410
- createdAt: Date;
2411
- updatedAt: Date;
2412
- deletedAt: Date | null;
2413
- agents: {
2414
- id: string;
2415
- address: string | null;
2416
- name: string;
2417
- email: string;
2418
- createdAt: Date;
2419
- updatedAt: Date;
2420
- deletedAt: Date | null;
2421
- emailVerifiedAt: Date | null;
2422
- password: string;
2423
- phone: string | null;
2424
- notificationCount: number | null;
2425
- roles: {
2426
- id: string;
2427
- description: string | null;
2428
- createdAt: Date;
2429
- updatedAt: Date;
2430
- deletedAt: Date | null;
2431
- systemName: string;
2432
- displayName: string;
2433
- permissions: {
2434
- id: string;
2435
- description: string | null;
2436
- createdAt: Date;
2437
- updatedAt: Date;
2438
- deletedAt: Date | null;
2439
- systemName: string;
2440
- displayName: string;
2441
- }[];
2442
- }[];
2443
- extension: {
2444
- id: string;
2445
- createdAt: Date;
2446
- updatedAt: Date;
2447
- deletedAt: Date | null;
2448
- userId: string | null;
2449
- sipServerUrl: string;
2450
- sipUserName: string;
2451
- webphoneLoginUser: string;
2452
- extensionId: string | null;
2453
- extensionName: string;
2454
- telephonySignature: string | null;
2455
- };
2456
- }[];
2457
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
2458
- maximumAssignPerAgent: number;
2459
- managers: {
2460
- id: string;
2461
- address: string | null;
2462
- name: string;
2463
- email: string;
2464
- createdAt: Date;
2465
- updatedAt: Date;
2466
- deletedAt: Date | null;
2467
- emailVerifiedAt: Date | null;
2468
- password: string;
2469
- phone: string | null;
2470
- notificationCount: number | null;
2471
- roles: {
2472
- id: string;
2473
- description: string | null;
2474
- createdAt: Date;
2475
- updatedAt: Date;
2476
- deletedAt: Date | null;
2477
- systemName: string;
2478
- displayName: string;
2479
- permissions: {
2480
- id: string;
2481
- description: string | null;
2482
- createdAt: Date;
2483
- updatedAt: Date;
2484
- deletedAt: Date | null;
2485
- systemName: string;
2486
- displayName: string;
2487
- }[];
2488
- }[];
2489
- extension: {
2490
- id: string;
2491
- createdAt: Date;
2492
- updatedAt: Date;
2493
- deletedAt: Date | null;
2494
- userId: string | null;
2495
- sipServerUrl: string;
2496
- sipUserName: string;
2497
- webphoneLoginUser: string;
2498
- extensionId: string | null;
2499
- extensionName: string;
2500
- telephonySignature: string | null;
2501
- };
2502
- }[];
2503
- }[];
2504
- requestId: string;
2505
- }>;
2506
- };
2507
- path: "/automation-queue";
2508
- };
2509
- getAutomationQueueById: {
2510
- method: "GET";
2511
- pathParams: z.ZodObject<{
2512
- id: z.ZodString;
2513
- }, "strip", z.ZodTypeAny, {
2514
- id: string;
2515
- }, {
2516
- id: string;
2517
- }>;
2518
- responses: {
2519
- 200: z.ZodObject<{
2520
- requestId: z.ZodString;
2521
- data: z.ZodObject<{
2522
- id: z.ZodString;
2523
- createdAt: z.ZodDate;
2524
- updatedAt: z.ZodDate;
2525
- deletedAt: z.ZodNullable<z.ZodDate>;
2526
- name: z.ZodString;
2527
- description: z.ZodNullable<z.ZodString>;
2528
- distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
2529
- maximumAssignPerAgent: z.ZodNumber;
2530
- managers: z.ZodArray<z.ZodObject<{
2531
- id: z.ZodString;
2532
- createdAt: z.ZodDate;
2533
- updatedAt: z.ZodDate;
2534
- deletedAt: z.ZodNullable<z.ZodDate>;
2535
- name: z.ZodString;
2536
- email: z.ZodString;
2537
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2538
- password: z.ZodString;
2539
- address: z.ZodNullable<z.ZodString>;
2540
- phone: z.ZodNullable<z.ZodString>;
2541
- notificationCount: z.ZodNullable<z.ZodNumber>;
2542
- roles: z.ZodArray<z.ZodObject<{
2543
- id: z.ZodString;
2544
- createdAt: z.ZodDate;
2545
- updatedAt: z.ZodDate;
2546
- deletedAt: z.ZodNullable<z.ZodDate>;
2547
- systemName: z.ZodString;
2548
- displayName: z.ZodString;
2549
- description: z.ZodNullable<z.ZodString>;
2550
- permissions: z.ZodArray<z.ZodObject<{
2551
- id: z.ZodString;
2552
- createdAt: z.ZodDate;
2553
- updatedAt: z.ZodDate;
2554
- deletedAt: z.ZodNullable<z.ZodDate>;
2555
- systemName: z.ZodString;
2556
- displayName: z.ZodString;
2557
- description: z.ZodNullable<z.ZodString>;
2558
- }, "strip", z.ZodTypeAny, {
2559
- id: string;
2560
- description: string | null;
2561
- createdAt: Date;
2562
- updatedAt: Date;
2563
- deletedAt: Date | null;
2564
- systemName: string;
2565
- displayName: string;
2566
- }, {
2567
- id: string;
2568
- description: string | null;
2569
- createdAt: Date;
2570
- updatedAt: Date;
2571
- deletedAt: Date | null;
2572
- systemName: string;
2573
- displayName: string;
2574
- }>, "many">;
2575
- }, "strip", z.ZodTypeAny, {
2576
- id: string;
2577
- description: string | null;
2578
- createdAt: Date;
2579
- updatedAt: Date;
2580
- deletedAt: Date | null;
2581
- systemName: string;
2582
- displayName: string;
2583
- permissions: {
2584
- id: string;
2585
- description: string | null;
2586
- createdAt: Date;
2587
- updatedAt: Date;
2588
- deletedAt: Date | null;
2589
- systemName: string;
2590
- displayName: string;
2591
- }[];
2592
- }, {
2593
- id: string;
2594
- description: string | null;
2595
- createdAt: Date;
2596
- updatedAt: Date;
2597
- deletedAt: Date | null;
2598
- systemName: string;
2599
- displayName: string;
2600
- permissions: {
2601
- id: string;
2602
- description: string | null;
2603
- createdAt: Date;
2604
- updatedAt: Date;
2605
- deletedAt: Date | null;
2606
- systemName: string;
2607
- displayName: string;
2608
- }[];
2609
- }>, "many">;
2610
- extension: z.ZodObject<{
2611
- id: z.ZodString;
2612
- createdAt: z.ZodDate;
2613
- updatedAt: z.ZodDate;
2614
- deletedAt: z.ZodNullable<z.ZodDate>;
2615
- userId: z.ZodNullable<z.ZodString>;
2616
- sipServerUrl: z.ZodString;
2617
- sipUserName: z.ZodString;
2618
- webphoneLoginUser: z.ZodString;
2619
- extensionId: z.ZodNullable<z.ZodString>;
2620
- extensionName: z.ZodString;
2621
- telephonySignature: z.ZodNullable<z.ZodString>;
2622
- }, "strip", z.ZodTypeAny, {
2623
- id: string;
2624
- createdAt: Date;
2625
- updatedAt: Date;
2626
- deletedAt: Date | null;
2627
- userId: string | null;
2628
- sipServerUrl: string;
2629
- sipUserName: string;
2630
- webphoneLoginUser: string;
2631
- extensionId: string | null;
2632
- extensionName: string;
2633
- telephonySignature: string | null;
2634
- }, {
2635
- id: string;
2636
- createdAt: Date;
2637
- updatedAt: Date;
2638
- deletedAt: Date | null;
2639
- userId: string | null;
2640
- sipServerUrl: string;
2641
- sipUserName: string;
2642
- webphoneLoginUser: string;
2643
- extensionId: string | null;
2644
- extensionName: string;
2645
- telephonySignature: string | null;
2646
- }>;
2647
- }, "strip", z.ZodTypeAny, {
2648
- id: string;
2649
- address: string | null;
2650
- name: string;
2651
- email: string;
2652
- createdAt: Date;
2653
- updatedAt: Date;
2654
- deletedAt: Date | null;
2655
- emailVerifiedAt: Date | null;
2656
- password: string;
2657
- phone: string | null;
2658
- notificationCount: number | null;
2659
- roles: {
2660
- id: string;
2661
- description: string | null;
2662
- createdAt: Date;
2663
- updatedAt: Date;
2664
- deletedAt: Date | null;
2665
- systemName: string;
2666
- displayName: string;
2667
- permissions: {
2668
- id: string;
2669
- description: string | null;
2670
- createdAt: Date;
2671
- updatedAt: Date;
2672
- deletedAt: Date | null;
2673
- systemName: string;
2674
- displayName: string;
2675
- }[];
2676
- }[];
2677
- extension: {
2678
- id: string;
2679
- createdAt: Date;
2680
- updatedAt: Date;
2681
- deletedAt: Date | null;
2682
- userId: string | null;
2683
- sipServerUrl: string;
2684
- sipUserName: string;
2685
- webphoneLoginUser: string;
2686
- extensionId: string | null;
2687
- extensionName: string;
2688
- telephonySignature: string | null;
2689
- };
2690
- }, {
2691
- id: string;
2692
- address: string | null;
2693
- name: string;
2694
- email: string;
2695
- createdAt: Date;
2696
- updatedAt: Date;
2697
- deletedAt: Date | null;
2698
- emailVerifiedAt: Date | null;
2699
- password: string;
2700
- phone: string | null;
2701
- notificationCount: number | null;
2702
- roles: {
2703
- id: string;
2704
- description: string | null;
2705
- createdAt: Date;
2706
- updatedAt: Date;
2707
- deletedAt: Date | null;
2708
- systemName: string;
2709
- displayName: string;
2710
- permissions: {
2711
- id: string;
2712
- description: string | null;
2713
- createdAt: Date;
2714
- updatedAt: Date;
2715
- deletedAt: Date | null;
2716
- systemName: string;
2717
- displayName: string;
2718
- }[];
2719
- }[];
2720
- extension: {
2721
- id: string;
2722
- createdAt: Date;
2723
- updatedAt: Date;
2724
- deletedAt: Date | null;
2725
- userId: string | null;
2726
- sipServerUrl: string;
2727
- sipUserName: string;
2728
- webphoneLoginUser: string;
2729
- extensionId: string | null;
2730
- extensionName: string;
2731
- telephonySignature: string | null;
2732
- };
2733
- }>, "many">;
2734
- agents: z.ZodArray<z.ZodObject<{
2735
- id: z.ZodString;
2736
- createdAt: z.ZodDate;
2737
- updatedAt: z.ZodDate;
2738
- deletedAt: z.ZodNullable<z.ZodDate>;
2739
- name: z.ZodString;
2740
- email: z.ZodString;
2741
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2742
- password: z.ZodString;
2743
- address: z.ZodNullable<z.ZodString>;
2744
- phone: z.ZodNullable<z.ZodString>;
2745
- notificationCount: z.ZodNullable<z.ZodNumber>;
2746
- roles: z.ZodArray<z.ZodObject<{
2747
- id: z.ZodString;
2748
- createdAt: z.ZodDate;
2749
- updatedAt: z.ZodDate;
2750
- deletedAt: z.ZodNullable<z.ZodDate>;
2751
- systemName: z.ZodString;
2752
- displayName: z.ZodString;
2753
- description: z.ZodNullable<z.ZodString>;
2754
- permissions: z.ZodArray<z.ZodObject<{
2755
- id: z.ZodString;
2756
- createdAt: z.ZodDate;
2757
- updatedAt: z.ZodDate;
2758
- deletedAt: z.ZodNullable<z.ZodDate>;
2759
- systemName: z.ZodString;
2760
- displayName: z.ZodString;
2761
- description: z.ZodNullable<z.ZodString>;
2762
- }, "strip", z.ZodTypeAny, {
2763
- id: string;
2764
- description: string | null;
2765
- createdAt: Date;
2766
- updatedAt: Date;
2767
- deletedAt: Date | null;
2768
- systemName: string;
2769
- displayName: string;
2770
- }, {
2771
- id: string;
2772
- description: string | null;
2773
- createdAt: Date;
2774
- updatedAt: Date;
2775
- deletedAt: Date | null;
2776
- systemName: string;
2777
- displayName: string;
2778
- }>, "many">;
2779
- }, "strip", z.ZodTypeAny, {
2780
- id: string;
2781
- description: string | null;
2782
- createdAt: Date;
2783
- updatedAt: Date;
2784
- deletedAt: Date | null;
2785
- systemName: string;
2786
- displayName: string;
2787
- permissions: {
2788
- id: string;
2789
- description: string | null;
2790
- createdAt: Date;
2791
- updatedAt: Date;
2792
- deletedAt: Date | null;
2793
- systemName: string;
2794
- displayName: string;
2795
- }[];
2796
- }, {
2797
- id: string;
2798
- description: string | null;
2799
- createdAt: Date;
2800
- updatedAt: Date;
2801
- deletedAt: Date | null;
2802
- systemName: string;
2803
- displayName: string;
2804
- permissions: {
2805
- id: string;
2806
- description: string | null;
2807
- createdAt: Date;
2808
- updatedAt: Date;
2809
- deletedAt: Date | null;
2810
- systemName: string;
2811
- displayName: string;
2812
- }[];
2813
- }>, "many">;
2814
- extension: z.ZodObject<{
2815
- id: z.ZodString;
2816
- createdAt: z.ZodDate;
2817
- updatedAt: z.ZodDate;
2818
- deletedAt: z.ZodNullable<z.ZodDate>;
2819
- userId: z.ZodNullable<z.ZodString>;
2820
- sipServerUrl: z.ZodString;
2821
- sipUserName: z.ZodString;
2822
- webphoneLoginUser: z.ZodString;
2823
- extensionId: z.ZodNullable<z.ZodString>;
2824
- extensionName: z.ZodString;
2825
- telephonySignature: z.ZodNullable<z.ZodString>;
2826
- }, "strip", z.ZodTypeAny, {
2827
- id: string;
2828
- createdAt: Date;
2829
- updatedAt: Date;
2830
- deletedAt: Date | null;
2831
- userId: string | null;
2832
- sipServerUrl: string;
2833
- sipUserName: string;
2834
- webphoneLoginUser: string;
2835
- extensionId: string | null;
2836
- extensionName: string;
2837
- telephonySignature: string | null;
2838
- }, {
2839
- id: string;
2840
- createdAt: Date;
2841
- updatedAt: Date;
2842
- deletedAt: Date | null;
2843
- userId: string | null;
2844
- sipServerUrl: string;
2845
- sipUserName: string;
2846
- webphoneLoginUser: string;
2847
- extensionId: string | null;
2848
- extensionName: string;
2849
- telephonySignature: string | null;
2850
- }>;
2851
- }, "strip", z.ZodTypeAny, {
2852
- id: string;
2853
- address: string | null;
2854
- name: string;
2855
- email: string;
2856
- createdAt: Date;
2857
- updatedAt: Date;
2858
- deletedAt: Date | null;
2859
- emailVerifiedAt: Date | null;
2860
- password: string;
2861
- phone: string | null;
2862
- notificationCount: number | null;
2863
- roles: {
2864
- id: string;
2865
- description: string | null;
2866
- createdAt: Date;
2867
- updatedAt: Date;
2868
- deletedAt: Date | null;
2869
- systemName: string;
2870
- displayName: string;
2871
- permissions: {
2872
- id: string;
2873
- description: string | null;
2874
- createdAt: Date;
2875
- updatedAt: Date;
2876
- deletedAt: Date | null;
2877
- systemName: string;
2878
- displayName: string;
2879
- }[];
2880
- }[];
2881
- extension: {
2882
- id: string;
2883
- createdAt: Date;
2884
- updatedAt: Date;
2885
- deletedAt: Date | null;
2886
- userId: string | null;
2887
- sipServerUrl: string;
2888
- sipUserName: string;
2889
- webphoneLoginUser: string;
2890
- extensionId: string | null;
2891
- extensionName: string;
2892
- telephonySignature: string | null;
2893
- };
2894
- }, {
2895
- id: string;
2896
- address: string | null;
2897
- name: string;
2898
- email: string;
2899
- createdAt: Date;
2900
- updatedAt: Date;
2901
- deletedAt: Date | null;
2902
- emailVerifiedAt: Date | null;
2903
- password: string;
2904
- phone: string | null;
2905
- notificationCount: number | null;
2906
- roles: {
2907
- id: string;
2908
- description: string | null;
2909
- createdAt: Date;
2910
- updatedAt: Date;
2911
- deletedAt: Date | null;
2912
- systemName: string;
2913
- displayName: string;
2914
- permissions: {
2915
- id: string;
2916
- description: string | null;
2917
- createdAt: Date;
2918
- updatedAt: Date;
2919
- deletedAt: Date | null;
2920
- systemName: string;
2921
- displayName: string;
2922
- }[];
2923
- }[];
2924
- extension: {
2925
- id: string;
2926
- createdAt: Date;
2927
- updatedAt: Date;
2928
- deletedAt: Date | null;
2929
- userId: string | null;
2930
- sipServerUrl: string;
2931
- sipUserName: string;
2932
- webphoneLoginUser: string;
2933
- extensionId: string | null;
2934
- extensionName: string;
2935
- telephonySignature: string | null;
2936
- };
2937
- }>, "many">;
2938
- }, "strip", z.ZodTypeAny, {
2939
- id: string;
2940
- name: string;
2941
- description: string | null;
2942
- createdAt: Date;
2943
- updatedAt: Date;
2944
- deletedAt: Date | null;
2945
- agents: {
2946
- id: string;
2947
- address: string | null;
2948
- name: string;
2949
- email: string;
2950
- createdAt: Date;
2951
- updatedAt: Date;
2952
- deletedAt: Date | null;
2953
- emailVerifiedAt: Date | null;
2954
- password: string;
2955
- phone: string | null;
2956
- notificationCount: number | null;
2957
- roles: {
2958
- id: string;
2959
- description: string | null;
2960
- createdAt: Date;
2961
- updatedAt: Date;
2962
- deletedAt: Date | null;
2963
- systemName: string;
2964
- displayName: string;
2965
- permissions: {
2966
- id: string;
2967
- description: string | null;
2968
- createdAt: Date;
2969
- updatedAt: Date;
2970
- deletedAt: Date | null;
2971
- systemName: string;
2972
- displayName: string;
2973
- }[];
2974
- }[];
2975
- extension: {
2976
- id: string;
2977
- createdAt: Date;
2978
- updatedAt: Date;
2979
- deletedAt: Date | null;
2980
- userId: string | null;
2981
- sipServerUrl: string;
2982
- sipUserName: string;
2983
- webphoneLoginUser: string;
2984
- extensionId: string | null;
2985
- extensionName: string;
2986
- telephonySignature: string | null;
2987
- };
2988
- }[];
2989
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
2990
- maximumAssignPerAgent: number;
2991
- managers: {
2992
- id: string;
2993
- address: string | null;
2994
- name: string;
2995
- email: string;
2996
- createdAt: Date;
2997
- updatedAt: Date;
2998
- deletedAt: Date | null;
2999
- emailVerifiedAt: Date | null;
3000
- password: string;
3001
- phone: string | null;
3002
- notificationCount: number | null;
3003
- roles: {
3004
- id: string;
3005
- description: string | null;
3006
- createdAt: Date;
3007
- updatedAt: Date;
3008
- deletedAt: Date | null;
3009
- systemName: string;
3010
- displayName: string;
3011
- permissions: {
3012
- id: string;
3013
- description: string | null;
3014
- createdAt: Date;
3015
- updatedAt: Date;
3016
- deletedAt: Date | null;
3017
- systemName: string;
3018
- displayName: string;
3019
- }[];
3020
- }[];
3021
- extension: {
3022
- id: string;
3023
- createdAt: Date;
3024
- updatedAt: Date;
3025
- deletedAt: Date | null;
3026
- userId: string | null;
3027
- sipServerUrl: string;
3028
- sipUserName: string;
3029
- webphoneLoginUser: string;
3030
- extensionId: string | null;
3031
- extensionName: string;
3032
- telephonySignature: string | null;
3033
- };
3034
- }[];
3035
- }, {
3036
- id: string;
3037
- name: string;
3038
- description: string | null;
3039
- createdAt: Date;
3040
- updatedAt: Date;
3041
- deletedAt: Date | null;
3042
- agents: {
3043
- id: string;
3044
- address: string | null;
3045
- name: string;
3046
- email: string;
3047
- createdAt: Date;
3048
- updatedAt: Date;
3049
- deletedAt: Date | null;
3050
- emailVerifiedAt: Date | null;
3051
- password: string;
3052
- phone: string | null;
3053
- notificationCount: number | null;
3054
- roles: {
3055
- id: string;
3056
- description: string | null;
3057
- createdAt: Date;
3058
- updatedAt: Date;
3059
- deletedAt: Date | null;
3060
- systemName: string;
3061
- displayName: string;
3062
- permissions: {
3063
- id: string;
3064
- description: string | null;
3065
- createdAt: Date;
3066
- updatedAt: Date;
3067
- deletedAt: Date | null;
3068
- systemName: string;
3069
- displayName: string;
3070
- }[];
3071
- }[];
3072
- extension: {
3073
- id: string;
3074
- createdAt: Date;
3075
- updatedAt: Date;
3076
- deletedAt: Date | null;
3077
- userId: string | null;
3078
- sipServerUrl: string;
3079
- sipUserName: string;
3080
- webphoneLoginUser: string;
3081
- extensionId: string | null;
3082
- extensionName: string;
3083
- telephonySignature: string | null;
3084
- };
3085
- }[];
3086
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
3087
- maximumAssignPerAgent: number;
3088
- managers: {
3089
- id: string;
3090
- address: string | null;
3091
- name: string;
3092
- email: string;
3093
- createdAt: Date;
3094
- updatedAt: Date;
3095
- deletedAt: Date | null;
3096
- emailVerifiedAt: Date | null;
3097
- password: string;
3098
- phone: string | null;
3099
- notificationCount: number | null;
3100
- roles: {
3101
- id: string;
3102
- description: string | null;
3103
- createdAt: Date;
3104
- updatedAt: Date;
3105
- deletedAt: Date | null;
3106
- systemName: string;
3107
- displayName: string;
3108
- permissions: {
3109
- id: string;
3110
- description: string | null;
3111
- createdAt: Date;
3112
- updatedAt: Date;
3113
- deletedAt: Date | null;
3114
- systemName: string;
3115
- displayName: string;
3116
- }[];
3117
- }[];
3118
- extension: {
3119
- id: string;
3120
- createdAt: Date;
3121
- updatedAt: Date;
3122
- deletedAt: Date | null;
3123
- userId: string | null;
3124
- sipServerUrl: string;
3125
- sipUserName: string;
3126
- webphoneLoginUser: string;
3127
- extensionId: string | null;
3128
- extensionName: string;
3129
- telephonySignature: string | null;
3130
- };
3131
- }[];
3132
- }>;
3133
- }, "strip", z.ZodTypeAny, {
3134
- data: {
3135
- id: string;
3136
- name: string;
3137
- description: string | null;
3138
- createdAt: Date;
3139
- updatedAt: Date;
3140
- deletedAt: Date | null;
3141
- agents: {
3142
- id: string;
3143
- address: string | null;
3144
- name: string;
3145
- email: string;
3146
- createdAt: Date;
3147
- updatedAt: Date;
3148
- deletedAt: Date | null;
3149
- emailVerifiedAt: Date | null;
3150
- password: string;
3151
- phone: string | null;
3152
- notificationCount: number | null;
3153
- roles: {
3154
- id: string;
3155
- description: string | null;
3156
- createdAt: Date;
3157
- updatedAt: Date;
3158
- deletedAt: Date | null;
3159
- systemName: string;
3160
- displayName: string;
3161
- permissions: {
3162
- id: string;
3163
- description: string | null;
3164
- createdAt: Date;
3165
- updatedAt: Date;
3166
- deletedAt: Date | null;
3167
- systemName: string;
3168
- displayName: string;
3169
- }[];
3170
- }[];
3171
- extension: {
3172
- id: string;
3173
- createdAt: Date;
3174
- updatedAt: Date;
3175
- deletedAt: Date | null;
3176
- userId: string | null;
3177
- sipServerUrl: string;
3178
- sipUserName: string;
3179
- webphoneLoginUser: string;
3180
- extensionId: string | null;
3181
- extensionName: string;
3182
- telephonySignature: string | null;
3183
- };
3184
- }[];
3185
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
3186
- maximumAssignPerAgent: number;
3187
- managers: {
3188
- id: string;
3189
- address: string | null;
3190
- name: string;
3191
- email: string;
3192
- createdAt: Date;
3193
- updatedAt: Date;
3194
- deletedAt: Date | null;
3195
- emailVerifiedAt: Date | null;
3196
- password: string;
3197
- phone: string | null;
3198
- notificationCount: number | null;
3199
- roles: {
3200
- id: string;
3201
- description: string | null;
3202
- createdAt: Date;
3203
- updatedAt: Date;
3204
- deletedAt: Date | null;
3205
- systemName: string;
3206
- displayName: string;
3207
- permissions: {
3208
- id: string;
3209
- description: string | null;
3210
- createdAt: Date;
3211
- updatedAt: Date;
3212
- deletedAt: Date | null;
3213
- systemName: string;
3214
- displayName: string;
3215
- }[];
3216
- }[];
3217
- extension: {
3218
- id: string;
3219
- createdAt: Date;
3220
- updatedAt: Date;
3221
- deletedAt: Date | null;
3222
- userId: string | null;
3223
- sipServerUrl: string;
3224
- sipUserName: string;
3225
- webphoneLoginUser: string;
3226
- extensionId: string | null;
3227
- extensionName: string;
3228
- telephonySignature: string | null;
3229
- };
3230
- }[];
3231
- };
3232
- requestId: string;
3233
- }, {
3234
- data: {
3235
- id: string;
3236
- name: string;
3237
- description: string | null;
3238
- createdAt: Date;
3239
- updatedAt: Date;
3240
- deletedAt: Date | null;
3241
- agents: {
3242
- id: string;
3243
- address: string | null;
3244
- name: string;
3245
- email: string;
3246
- createdAt: Date;
3247
- updatedAt: Date;
3248
- deletedAt: Date | null;
3249
- emailVerifiedAt: Date | null;
3250
- password: string;
3251
- phone: string | null;
3252
- notificationCount: number | null;
3253
- roles: {
3254
- id: string;
3255
- description: string | null;
3256
- createdAt: Date;
3257
- updatedAt: Date;
3258
- deletedAt: Date | null;
3259
- systemName: string;
3260
- displayName: string;
3261
- permissions: {
3262
- id: string;
3263
- description: string | null;
3264
- createdAt: Date;
3265
- updatedAt: Date;
3266
- deletedAt: Date | null;
3267
- systemName: string;
3268
- displayName: string;
3269
- }[];
3270
- }[];
3271
- extension: {
3272
- id: string;
3273
- createdAt: Date;
3274
- updatedAt: Date;
3275
- deletedAt: Date | null;
3276
- userId: string | null;
3277
- sipServerUrl: string;
3278
- sipUserName: string;
3279
- webphoneLoginUser: string;
3280
- extensionId: string | null;
3281
- extensionName: string;
3282
- telephonySignature: string | null;
3283
- };
3284
- }[];
3285
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
3286
- maximumAssignPerAgent: number;
3287
- managers: {
3288
- id: string;
3289
- address: string | null;
3290
- name: string;
3291
- email: string;
3292
- createdAt: Date;
3293
- updatedAt: Date;
3294
- deletedAt: Date | null;
3295
- emailVerifiedAt: Date | null;
3296
- password: string;
3297
- phone: string | null;
3298
- notificationCount: number | null;
3299
- roles: {
3300
- id: string;
3301
- description: string | null;
3302
- createdAt: Date;
3303
- updatedAt: Date;
3304
- deletedAt: Date | null;
3305
- systemName: string;
3306
- displayName: string;
3307
- permissions: {
3308
- id: string;
3309
- description: string | null;
3310
- createdAt: Date;
3311
- updatedAt: Date;
3312
- deletedAt: Date | null;
3313
- systemName: string;
3314
- displayName: string;
3315
- }[];
3316
- }[];
3317
- extension: {
3318
- id: string;
3319
- createdAt: Date;
3320
- updatedAt: Date;
3321
- deletedAt: Date | null;
3322
- userId: string | null;
3323
- sipServerUrl: string;
3324
- sipUserName: string;
3325
- webphoneLoginUser: string;
3326
- extensionId: string | null;
3327
- extensionName: string;
3328
- telephonySignature: string | null;
3329
- };
3330
- }[];
3331
- };
3332
- requestId: string;
3333
- }>;
3334
- };
3335
- path: "/automation-queue/:id";
3336
- };
3337
- updateAutomationQueue: {
3338
- body: z.ZodObject<{
3339
- name: z.ZodString;
3340
- description: z.ZodNullable<z.ZodString>;
3341
- managerIds: z.ZodArray<z.ZodString, "many">;
3342
- agentIds: z.ZodArray<z.ZodString, "many">;
3343
- distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
3344
- maximumAssignPerAgent: z.ZodNumber;
3345
- }, "strip", z.ZodTypeAny, {
3346
- name: string;
3347
- description: string | null;
3348
- agentIds: string[];
3349
- managerIds: string[];
3350
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
3351
- maximumAssignPerAgent: number;
3352
- }, {
3353
- name: string;
3354
- description: string | null;
3355
- agentIds: string[];
3356
- managerIds: string[];
3357
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
3358
- maximumAssignPerAgent: number;
3359
- }>;
3360
- method: "PATCH";
3361
- pathParams: z.ZodObject<{
3362
- id: z.ZodString;
3363
- }, "strip", z.ZodTypeAny, {
3364
- id: string;
3365
- }, {
3366
- id: string;
3367
- }>;
3368
- responses: {
3369
- 200: z.ZodObject<{
3370
- requestId: z.ZodString;
3371
- data: z.ZodObject<{
3372
- id: z.ZodString;
3373
- createdAt: z.ZodDate;
3374
- updatedAt: z.ZodDate;
3375
- deletedAt: z.ZodNullable<z.ZodDate>;
3376
- name: z.ZodString;
3377
- description: z.ZodNullable<z.ZodString>;
3378
- distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
3379
- maximumAssignPerAgent: z.ZodNumber;
3380
- managers: z.ZodArray<z.ZodObject<{
3381
- id: z.ZodString;
3382
- createdAt: z.ZodDate;
3383
- updatedAt: z.ZodDate;
3384
- deletedAt: z.ZodNullable<z.ZodDate>;
3385
- name: z.ZodString;
3386
- email: z.ZodString;
3387
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3388
- password: z.ZodString;
3389
- address: z.ZodNullable<z.ZodString>;
3390
- phone: z.ZodNullable<z.ZodString>;
3391
- notificationCount: z.ZodNullable<z.ZodNumber>;
3392
- roles: z.ZodArray<z.ZodObject<{
3393
- id: z.ZodString;
3394
- createdAt: z.ZodDate;
3395
- updatedAt: z.ZodDate;
3396
- deletedAt: z.ZodNullable<z.ZodDate>;
3397
- systemName: z.ZodString;
3398
- displayName: z.ZodString;
3399
- description: z.ZodNullable<z.ZodString>;
3400
- permissions: z.ZodArray<z.ZodObject<{
3401
- id: z.ZodString;
3402
- createdAt: z.ZodDate;
3403
- updatedAt: z.ZodDate;
3404
- deletedAt: z.ZodNullable<z.ZodDate>;
3405
- systemName: z.ZodString;
3406
- displayName: z.ZodString;
3407
- description: z.ZodNullable<z.ZodString>;
3408
- }, "strip", z.ZodTypeAny, {
3409
- id: string;
3410
- description: string | null;
3411
- createdAt: Date;
3412
- updatedAt: Date;
3413
- deletedAt: Date | null;
3414
- systemName: string;
3415
- displayName: string;
3416
- }, {
3417
- id: string;
3418
- description: string | null;
3419
- createdAt: Date;
3420
- updatedAt: Date;
3421
- deletedAt: Date | null;
3422
- systemName: string;
3423
- displayName: string;
3424
- }>, "many">;
3425
- }, "strip", z.ZodTypeAny, {
3426
- id: string;
3427
- description: string | null;
3428
- createdAt: Date;
3429
- updatedAt: Date;
3430
- deletedAt: Date | null;
3431
- systemName: string;
3432
- displayName: string;
3433
- permissions: {
3434
- id: string;
3435
- description: string | null;
3436
- createdAt: Date;
3437
- updatedAt: Date;
3438
- deletedAt: Date | null;
3439
- systemName: string;
3440
- displayName: string;
3441
- }[];
3442
- }, {
3443
- id: string;
3444
- description: string | null;
3445
- createdAt: Date;
3446
- updatedAt: Date;
3447
- deletedAt: Date | null;
3448
- systemName: string;
3449
- displayName: string;
3450
- permissions: {
3451
- id: string;
3452
- description: string | null;
3453
- createdAt: Date;
3454
- updatedAt: Date;
3455
- deletedAt: Date | null;
3456
- systemName: string;
3457
- displayName: string;
3458
- }[];
3459
- }>, "many">;
3460
- extension: z.ZodObject<{
3461
- id: z.ZodString;
3462
- createdAt: z.ZodDate;
3463
- updatedAt: z.ZodDate;
3464
- deletedAt: z.ZodNullable<z.ZodDate>;
3465
- userId: z.ZodNullable<z.ZodString>;
3466
- sipServerUrl: z.ZodString;
3467
- sipUserName: z.ZodString;
3468
- webphoneLoginUser: z.ZodString;
3469
- extensionId: z.ZodNullable<z.ZodString>;
3470
- extensionName: z.ZodString;
3471
- telephonySignature: z.ZodNullable<z.ZodString>;
3472
- }, "strip", z.ZodTypeAny, {
3473
- id: string;
3474
- createdAt: Date;
3475
- updatedAt: Date;
3476
- deletedAt: Date | null;
3477
- userId: string | null;
3478
- sipServerUrl: string;
3479
- sipUserName: string;
3480
- webphoneLoginUser: string;
3481
- extensionId: string | null;
3482
- extensionName: string;
3483
- telephonySignature: string | null;
3484
- }, {
3485
- id: string;
3486
- createdAt: Date;
3487
- updatedAt: Date;
3488
- deletedAt: Date | null;
3489
- userId: string | null;
3490
- sipServerUrl: string;
3491
- sipUserName: string;
3492
- webphoneLoginUser: string;
3493
- extensionId: string | null;
3494
- extensionName: string;
3495
- telephonySignature: string | null;
3496
- }>;
3497
- }, "strip", z.ZodTypeAny, {
3498
- id: string;
3499
- address: string | null;
3500
- name: string;
3501
- email: string;
3502
- createdAt: Date;
3503
- updatedAt: Date;
3504
- deletedAt: Date | null;
3505
- emailVerifiedAt: Date | null;
3506
- password: string;
3507
- phone: string | null;
3508
- notificationCount: number | null;
3509
- roles: {
3510
- id: string;
3511
- description: string | null;
3512
- createdAt: Date;
3513
- updatedAt: Date;
3514
- deletedAt: Date | null;
3515
- systemName: string;
3516
- displayName: string;
3517
- permissions: {
3518
- id: string;
3519
- description: string | null;
3520
- createdAt: Date;
3521
- updatedAt: Date;
3522
- deletedAt: Date | null;
3523
- systemName: string;
3524
- displayName: string;
3525
- }[];
3526
- }[];
3527
- extension: {
3528
- id: string;
3529
- createdAt: Date;
3530
- updatedAt: Date;
3531
- deletedAt: Date | null;
3532
- userId: string | null;
3533
- sipServerUrl: string;
3534
- sipUserName: string;
3535
- webphoneLoginUser: string;
3536
- extensionId: string | null;
3537
- extensionName: string;
3538
- telephonySignature: string | null;
3539
- };
3540
- }, {
3541
- id: string;
3542
- address: string | null;
3543
- name: string;
3544
- email: string;
3545
- createdAt: Date;
3546
- updatedAt: Date;
3547
- deletedAt: Date | null;
3548
- emailVerifiedAt: Date | null;
3549
- password: string;
3550
- phone: string | null;
3551
- notificationCount: number | null;
3552
- roles: {
3553
- id: string;
3554
- description: string | null;
3555
- createdAt: Date;
3556
- updatedAt: Date;
3557
- deletedAt: Date | null;
3558
- systemName: string;
3559
- displayName: string;
3560
- permissions: {
3561
- id: string;
3562
- description: string | null;
3563
- createdAt: Date;
3564
- updatedAt: Date;
3565
- deletedAt: Date | null;
3566
- systemName: string;
3567
- displayName: string;
3568
- }[];
3569
- }[];
3570
- extension: {
3571
- id: string;
3572
- createdAt: Date;
3573
- updatedAt: Date;
3574
- deletedAt: Date | null;
3575
- userId: string | null;
3576
- sipServerUrl: string;
3577
- sipUserName: string;
3578
- webphoneLoginUser: string;
3579
- extensionId: string | null;
3580
- extensionName: string;
3581
- telephonySignature: string | null;
3582
- };
3583
- }>, "many">;
3584
- agents: z.ZodArray<z.ZodObject<{
3585
- id: z.ZodString;
3586
- createdAt: z.ZodDate;
3587
- updatedAt: z.ZodDate;
3588
- deletedAt: z.ZodNullable<z.ZodDate>;
3589
- name: z.ZodString;
3590
- email: z.ZodString;
3591
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3592
- password: z.ZodString;
3593
- address: z.ZodNullable<z.ZodString>;
3594
- phone: z.ZodNullable<z.ZodString>;
3595
- notificationCount: z.ZodNullable<z.ZodNumber>;
3596
- roles: z.ZodArray<z.ZodObject<{
3597
- id: z.ZodString;
3598
- createdAt: z.ZodDate;
3599
- updatedAt: z.ZodDate;
3600
- deletedAt: z.ZodNullable<z.ZodDate>;
3601
- systemName: z.ZodString;
3602
- displayName: z.ZodString;
3603
- description: z.ZodNullable<z.ZodString>;
3604
- permissions: z.ZodArray<z.ZodObject<{
3605
- id: z.ZodString;
3606
- createdAt: z.ZodDate;
3607
- updatedAt: z.ZodDate;
3608
- deletedAt: z.ZodNullable<z.ZodDate>;
3609
- systemName: z.ZodString;
3610
- displayName: z.ZodString;
3611
- description: z.ZodNullable<z.ZodString>;
3612
- }, "strip", z.ZodTypeAny, {
3613
- id: string;
3614
- description: string | null;
3615
- createdAt: Date;
3616
- updatedAt: Date;
3617
- deletedAt: Date | null;
3618
- systemName: string;
3619
- displayName: string;
3620
- }, {
3621
- id: string;
3622
- description: string | null;
3623
- createdAt: Date;
3624
- updatedAt: Date;
3625
- deletedAt: Date | null;
3626
- systemName: string;
3627
- displayName: string;
3628
- }>, "many">;
3629
- }, "strip", z.ZodTypeAny, {
3630
- id: string;
3631
- description: string | null;
3632
- createdAt: Date;
3633
- updatedAt: Date;
3634
- deletedAt: Date | null;
3635
- systemName: string;
3636
- displayName: string;
3637
- permissions: {
3638
- id: string;
3639
- description: string | null;
3640
- createdAt: Date;
3641
- updatedAt: Date;
3642
- deletedAt: Date | null;
3643
- systemName: string;
3644
- displayName: string;
3645
- }[];
3646
- }, {
3647
- id: string;
3648
- description: string | null;
3649
- createdAt: Date;
3650
- updatedAt: Date;
3651
- deletedAt: Date | null;
3652
- systemName: string;
3653
- displayName: string;
3654
- permissions: {
3655
- id: string;
3656
- description: string | null;
3657
- createdAt: Date;
3658
- updatedAt: Date;
3659
- deletedAt: Date | null;
3660
- systemName: string;
3661
- displayName: string;
3662
- }[];
3663
- }>, "many">;
3664
- extension: z.ZodObject<{
3665
- id: z.ZodString;
3666
- createdAt: z.ZodDate;
3667
- updatedAt: z.ZodDate;
3668
- deletedAt: z.ZodNullable<z.ZodDate>;
3669
- userId: z.ZodNullable<z.ZodString>;
3670
- sipServerUrl: z.ZodString;
3671
- sipUserName: z.ZodString;
3672
- webphoneLoginUser: z.ZodString;
3673
- extensionId: z.ZodNullable<z.ZodString>;
3674
- extensionName: z.ZodString;
3675
- telephonySignature: z.ZodNullable<z.ZodString>;
3676
- }, "strip", z.ZodTypeAny, {
3677
- id: string;
3678
- createdAt: Date;
3679
- updatedAt: Date;
3680
- deletedAt: Date | null;
3681
- userId: string | null;
3682
- sipServerUrl: string;
3683
- sipUserName: string;
3684
- webphoneLoginUser: string;
3685
- extensionId: string | null;
3686
- extensionName: string;
3687
- telephonySignature: string | null;
3688
- }, {
3689
- id: string;
3690
- createdAt: Date;
3691
- updatedAt: Date;
3692
- deletedAt: Date | null;
3693
- userId: string | null;
3694
- sipServerUrl: string;
3695
- sipUserName: string;
3696
- webphoneLoginUser: string;
3697
- extensionId: string | null;
3698
- extensionName: string;
3699
- telephonySignature: string | null;
3700
- }>;
3701
- }, "strip", z.ZodTypeAny, {
3702
- id: string;
3703
- address: string | null;
3704
- name: string;
3705
- email: string;
3706
- createdAt: Date;
3707
- updatedAt: Date;
3708
- deletedAt: Date | null;
3709
- emailVerifiedAt: Date | null;
3710
- password: string;
3711
- phone: string | null;
3712
- notificationCount: number | null;
3713
- roles: {
3714
- id: string;
3715
- description: string | null;
3716
- createdAt: Date;
3717
- updatedAt: Date;
3718
- deletedAt: Date | null;
3719
- systemName: string;
3720
- displayName: string;
3721
- permissions: {
3722
- id: string;
3723
- description: string | null;
3724
- createdAt: Date;
3725
- updatedAt: Date;
3726
- deletedAt: Date | null;
3727
- systemName: string;
3728
- displayName: string;
3729
- }[];
3730
- }[];
3731
- extension: {
3732
- id: string;
3733
- createdAt: Date;
3734
- updatedAt: Date;
3735
- deletedAt: Date | null;
3736
- userId: string | null;
3737
- sipServerUrl: string;
3738
- sipUserName: string;
3739
- webphoneLoginUser: string;
3740
- extensionId: string | null;
3741
- extensionName: string;
3742
- telephonySignature: string | null;
3743
- };
3744
- }, {
3745
- id: string;
3746
- address: string | null;
3747
- name: string;
3748
- email: string;
3749
- createdAt: Date;
3750
- updatedAt: Date;
3751
- deletedAt: Date | null;
3752
- emailVerifiedAt: Date | null;
3753
- password: string;
3754
- phone: string | null;
3755
- notificationCount: number | null;
3756
- roles: {
3757
- id: string;
3758
- description: string | null;
3759
- createdAt: Date;
3760
- updatedAt: Date;
3761
- deletedAt: Date | null;
3762
- systemName: string;
3763
- displayName: string;
3764
- permissions: {
3765
- id: string;
3766
- description: string | null;
3767
- createdAt: Date;
3768
- updatedAt: Date;
3769
- deletedAt: Date | null;
3770
- systemName: string;
3771
- displayName: string;
3772
- }[];
3773
- }[];
3774
- extension: {
3775
- id: string;
3776
- createdAt: Date;
3777
- updatedAt: Date;
3778
- deletedAt: Date | null;
3779
- userId: string | null;
3780
- sipServerUrl: string;
3781
- sipUserName: string;
3782
- webphoneLoginUser: string;
3783
- extensionId: string | null;
3784
- extensionName: string;
3785
- telephonySignature: string | null;
3786
- };
3787
- }>, "many">;
3788
- }, "strip", z.ZodTypeAny, {
3789
- id: string;
3790
- name: string;
3791
- description: string | null;
3792
- createdAt: Date;
3793
- updatedAt: Date;
3794
- deletedAt: Date | null;
3795
- agents: {
3796
- id: string;
3797
- address: string | null;
3798
- name: string;
3799
- email: string;
3800
- createdAt: Date;
3801
- updatedAt: Date;
3802
- deletedAt: Date | null;
3803
- emailVerifiedAt: Date | null;
3804
- password: string;
3805
- phone: string | null;
3806
- notificationCount: number | null;
3807
- roles: {
3808
- id: string;
3809
- description: string | null;
3810
- createdAt: Date;
3811
- updatedAt: Date;
3812
- deletedAt: Date | null;
3813
- systemName: string;
3814
- displayName: string;
3815
- permissions: {
3816
- id: string;
3817
- description: string | null;
3818
- createdAt: Date;
3819
- updatedAt: Date;
3820
- deletedAt: Date | null;
3821
- systemName: string;
3822
- displayName: string;
3823
- }[];
3824
- }[];
3825
- extension: {
3826
- id: string;
3827
- createdAt: Date;
3828
- updatedAt: Date;
3829
- deletedAt: Date | null;
3830
- userId: string | null;
3831
- sipServerUrl: string;
3832
- sipUserName: string;
3833
- webphoneLoginUser: string;
3834
- extensionId: string | null;
3835
- extensionName: string;
3836
- telephonySignature: string | null;
3837
- };
3838
- }[];
3839
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
3840
- maximumAssignPerAgent: number;
3841
- managers: {
3842
- id: string;
3843
- address: string | null;
3844
- name: string;
3845
- email: string;
3846
- createdAt: Date;
3847
- updatedAt: Date;
3848
- deletedAt: Date | null;
3849
- emailVerifiedAt: Date | null;
3850
- password: string;
3851
- phone: string | null;
3852
- notificationCount: number | null;
3853
- roles: {
3854
- id: string;
3855
- description: string | null;
3856
- createdAt: Date;
3857
- updatedAt: Date;
3858
- deletedAt: Date | null;
3859
- systemName: string;
3860
- displayName: string;
3861
- permissions: {
3862
- id: string;
3863
- description: string | null;
3864
- createdAt: Date;
3865
- updatedAt: Date;
3866
- deletedAt: Date | null;
3867
- systemName: string;
3868
- displayName: string;
3869
- }[];
3870
- }[];
3871
- extension: {
3872
- id: string;
3873
- createdAt: Date;
3874
- updatedAt: Date;
3875
- deletedAt: Date | null;
3876
- userId: string | null;
3877
- sipServerUrl: string;
3878
- sipUserName: string;
3879
- webphoneLoginUser: string;
3880
- extensionId: string | null;
3881
- extensionName: string;
3882
- telephonySignature: string | null;
3883
- };
3884
- }[];
3885
- }, {
3886
- id: string;
3887
- name: string;
3888
- description: string | null;
3889
- createdAt: Date;
3890
- updatedAt: Date;
3891
- deletedAt: Date | null;
3892
- agents: {
3893
- id: string;
3894
- address: string | null;
3895
- name: string;
3896
- email: string;
3897
- createdAt: Date;
3898
- updatedAt: Date;
3899
- deletedAt: Date | null;
3900
- emailVerifiedAt: Date | null;
3901
- password: string;
3902
- phone: string | null;
3903
- notificationCount: number | null;
3904
- roles: {
3905
- id: string;
3906
- description: string | null;
3907
- createdAt: Date;
3908
- updatedAt: Date;
3909
- deletedAt: Date | null;
3910
- systemName: string;
3911
- displayName: string;
3912
- permissions: {
3913
- id: string;
3914
- description: string | null;
3915
- createdAt: Date;
3916
- updatedAt: Date;
3917
- deletedAt: Date | null;
3918
- systemName: string;
3919
- displayName: string;
3920
- }[];
3921
- }[];
3922
- extension: {
3923
- id: string;
3924
- createdAt: Date;
3925
- updatedAt: Date;
3926
- deletedAt: Date | null;
3927
- userId: string | null;
3928
- sipServerUrl: string;
3929
- sipUserName: string;
3930
- webphoneLoginUser: string;
3931
- extensionId: string | null;
3932
- extensionName: string;
3933
- telephonySignature: string | null;
3934
- };
3935
- }[];
3936
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
3937
- maximumAssignPerAgent: number;
3938
- managers: {
3939
- id: string;
3940
- address: string | null;
3941
- name: string;
3942
- email: string;
3943
- createdAt: Date;
3944
- updatedAt: Date;
3945
- deletedAt: Date | null;
3946
- emailVerifiedAt: Date | null;
3947
- password: string;
3948
- phone: string | null;
3949
- notificationCount: number | null;
3950
- roles: {
3951
- id: string;
3952
- description: string | null;
3953
- createdAt: Date;
3954
- updatedAt: Date;
3955
- deletedAt: Date | null;
3956
- systemName: string;
3957
- displayName: string;
3958
- permissions: {
3959
- id: string;
3960
- description: string | null;
3961
- createdAt: Date;
3962
- updatedAt: Date;
3963
- deletedAt: Date | null;
3964
- systemName: string;
3965
- displayName: string;
3966
- }[];
3967
- }[];
3968
- extension: {
3969
- id: string;
3970
- createdAt: Date;
3971
- updatedAt: Date;
3972
- deletedAt: Date | null;
3973
- userId: string | null;
3974
- sipServerUrl: string;
3975
- sipUserName: string;
3976
- webphoneLoginUser: string;
3977
- extensionId: string | null;
3978
- extensionName: string;
3979
- telephonySignature: string | null;
3980
- };
3981
- }[];
3982
- }>;
3983
- }, "strip", z.ZodTypeAny, {
3984
- data: {
3985
- id: string;
3986
- name: string;
3987
- description: string | null;
3988
- createdAt: Date;
3989
- updatedAt: Date;
3990
- deletedAt: Date | null;
3991
- agents: {
3992
- id: string;
3993
- address: string | null;
3994
- name: string;
3995
- email: string;
3996
- createdAt: Date;
3997
- updatedAt: Date;
3998
- deletedAt: Date | null;
3999
- emailVerifiedAt: Date | null;
4000
- password: string;
4001
- phone: string | null;
4002
- notificationCount: number | null;
4003
- roles: {
4004
- id: string;
4005
- description: string | null;
4006
- createdAt: Date;
4007
- updatedAt: Date;
4008
- deletedAt: Date | null;
4009
- systemName: string;
4010
- displayName: string;
4011
- permissions: {
4012
- id: string;
4013
- description: string | null;
4014
- createdAt: Date;
4015
- updatedAt: Date;
4016
- deletedAt: Date | null;
4017
- systemName: string;
4018
- displayName: string;
4019
- }[];
4020
- }[];
4021
- extension: {
4022
- id: string;
4023
- createdAt: Date;
4024
- updatedAt: Date;
4025
- deletedAt: Date | null;
4026
- userId: string | null;
4027
- sipServerUrl: string;
4028
- sipUserName: string;
4029
- webphoneLoginUser: string;
4030
- extensionId: string | null;
4031
- extensionName: string;
4032
- telephonySignature: string | null;
4033
- };
4034
- }[];
4035
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
4036
- maximumAssignPerAgent: number;
4037
- managers: {
4038
- id: string;
4039
- address: string | null;
4040
- name: string;
4041
- email: string;
4042
- createdAt: Date;
4043
- updatedAt: Date;
4044
- deletedAt: Date | null;
4045
- emailVerifiedAt: Date | null;
4046
- password: string;
4047
- phone: string | null;
4048
- notificationCount: number | null;
4049
- roles: {
4050
- id: string;
4051
- description: string | null;
4052
- createdAt: Date;
4053
- updatedAt: Date;
4054
- deletedAt: Date | null;
4055
- systemName: string;
4056
- displayName: string;
4057
- permissions: {
4058
- id: string;
4059
- description: string | null;
4060
- createdAt: Date;
4061
- updatedAt: Date;
4062
- deletedAt: Date | null;
4063
- systemName: string;
4064
- displayName: string;
4065
- }[];
4066
- }[];
4067
- extension: {
4068
- id: string;
4069
- createdAt: Date;
4070
- updatedAt: Date;
4071
- deletedAt: Date | null;
4072
- userId: string | null;
4073
- sipServerUrl: string;
4074
- sipUserName: string;
4075
- webphoneLoginUser: string;
4076
- extensionId: string | null;
4077
- extensionName: string;
4078
- telephonySignature: string | null;
4079
- };
4080
- }[];
4081
- };
4082
- requestId: string;
4083
- }, {
4084
- data: {
4085
- id: string;
4086
- name: string;
4087
- description: string | null;
4088
- createdAt: Date;
4089
- updatedAt: Date;
4090
- deletedAt: Date | null;
4091
- agents: {
4092
- id: string;
4093
- address: string | null;
4094
- name: string;
4095
- email: string;
4096
- createdAt: Date;
4097
- updatedAt: Date;
4098
- deletedAt: Date | null;
4099
- emailVerifiedAt: Date | null;
4100
- password: string;
4101
- phone: string | null;
4102
- notificationCount: number | null;
4103
- roles: {
4104
- id: string;
4105
- description: string | null;
4106
- createdAt: Date;
4107
- updatedAt: Date;
4108
- deletedAt: Date | null;
4109
- systemName: string;
4110
- displayName: string;
4111
- permissions: {
4112
- id: string;
4113
- description: string | null;
4114
- createdAt: Date;
4115
- updatedAt: Date;
4116
- deletedAt: Date | null;
4117
- systemName: string;
4118
- displayName: string;
4119
- }[];
4120
- }[];
4121
- extension: {
4122
- id: string;
4123
- createdAt: Date;
4124
- updatedAt: Date;
4125
- deletedAt: Date | null;
4126
- userId: string | null;
4127
- sipServerUrl: string;
4128
- sipUserName: string;
4129
- webphoneLoginUser: string;
4130
- extensionId: string | null;
4131
- extensionName: string;
4132
- telephonySignature: string | null;
4133
- };
4134
- }[];
4135
- distributionStrategy: "round-robin" | "fewest-assignments" | "random" | "notify-all";
4136
- maximumAssignPerAgent: number;
4137
- managers: {
4138
- id: string;
4139
- address: string | null;
4140
- name: string;
4141
- email: string;
4142
- createdAt: Date;
4143
- updatedAt: Date;
4144
- deletedAt: Date | null;
4145
- emailVerifiedAt: Date | null;
4146
- password: string;
4147
- phone: string | null;
4148
- notificationCount: number | null;
4149
- roles: {
4150
- id: string;
4151
- description: string | null;
4152
- createdAt: Date;
4153
- updatedAt: Date;
4154
- deletedAt: Date | null;
4155
- systemName: string;
4156
- displayName: string;
4157
- permissions: {
4158
- id: string;
4159
- description: string | null;
4160
- createdAt: Date;
4161
- updatedAt: Date;
4162
- deletedAt: Date | null;
4163
- systemName: string;
4164
- displayName: string;
4165
- }[];
4166
- }[];
4167
- extension: {
4168
- id: string;
4169
- createdAt: Date;
4170
- updatedAt: Date;
4171
- deletedAt: Date | null;
4172
- userId: string | null;
4173
- sipServerUrl: string;
4174
- sipUserName: string;
4175
- webphoneLoginUser: string;
4176
- extensionId: string | null;
4177
- extensionName: string;
4178
- telephonySignature: string | null;
4179
- };
4180
- }[];
4181
- };
4182
- requestId: string;
4183
- }>;
4184
- };
4185
- path: "/automation-queue/:id";
4186
- };
4187
- deleteAutomationQueue: {
4188
- body: null;
4189
- method: "DELETE";
4190
- pathParams: z.ZodObject<{
4191
- id: z.ZodString;
4192
- }, "strip", z.ZodTypeAny, {
4193
- id: string;
4194
- }, {
4195
- id: string;
4196
- }>;
4197
- responses: {
4198
- 200: z.ZodObject<{
4199
- requestId: z.ZodString;
4200
- message: z.ZodString;
4201
- }, "strip", z.ZodTypeAny, {
4202
- message: string;
4203
- requestId: string;
4204
- }, {
4205
- message: string;
4206
- requestId: string;
4207
- }>;
4208
- };
4209
- path: "/automation-queue/:id";
4210
- };
4211
- };
4212
- //# sourceMappingURL=index.d.ts.map