@kl1/contracts 1.1.79-uat → 1.1.80-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/api-contracts/src/automation-queue/index.d.ts +3410 -0
  2. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -0
  3. package/dist/api-contracts/src/automation-queue/schema.d.ts +618 -0
  4. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -0
  5. package/dist/api-contracts/src/automation-queue/validation.d.ts +52 -0
  6. package/dist/api-contracts/src/automation-queue/validation.d.ts.map +1 -0
  7. package/dist/api-contracts/src/chat/index.d.ts +145 -145
  8. package/dist/api-contracts/src/chat/schema.d.ts +64 -76
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +51 -51
  11. package/dist/api-contracts/src/comment/index.d.ts +1 -1
  12. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +219 -219
  14. package/dist/api-contracts/src/facebook-feed/index.d.ts +43 -43
  15. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  16. package/dist/api-contracts/src/index.d.ts +1 -0
  17. package/dist/api-contracts/src/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/instagram/index.d.ts +33 -33
  19. package/dist/api-contracts/src/line/index.d.ts +38 -38
  20. package/dist/api-contracts/src/line/validation.d.ts +5 -5
  21. package/dist/api-contracts/src/messenger/index.d.ts +33 -33
  22. package/dist/api-contracts/src/sms/index.d.ts +5 -5
  23. package/dist/api-contracts/src/viber/index.d.ts +33 -33
  24. package/dist/api-contracts/src/webchat/index.d.ts +33 -33
  25. package/dist/entities/src/enums/chat.d.ts +2 -0
  26. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  27. package/dist/index.js +490 -387
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +489 -387
  30. package/dist/index.mjs.map +1 -1
  31. package/package.json +1 -1
@@ -0,0 +1,3410 @@
1
+ import { z } from 'zod';
2
+ import { CreateAutomationQueueSchema, UpdateAutomationQueueSchema } from './validation';
3
+ import { AutomationQueueSchema } from './schema';
4
+ export type AutomationQueue = z.infer<typeof AutomationQueueSchema>;
5
+ export type CreateAutomationQueueRequest = z.infer<typeof CreateAutomationQueueSchema>;
6
+ export type UpdateAutomationQueueRequest = z.infer<typeof UpdateAutomationQueueSchema>;
7
+ export declare const automationQueueContract: {
8
+ createAutomationQueue: {
9
+ body: z.ZodObject<{
10
+ name: z.ZodString;
11
+ description: z.ZodNullable<z.ZodString>;
12
+ managerId: z.ZodString;
13
+ agentIds: z.ZodArray<z.ZodString, "many">;
14
+ distributionStrategy: z.ZodString;
15
+ maximumAssignPerAgent: z.ZodNumber;
16
+ isDeniable: z.ZodBoolean;
17
+ }, "strip", z.ZodTypeAny, {
18
+ name: string;
19
+ description: string | null;
20
+ agentIds: string[];
21
+ managerId: string;
22
+ distributionStrategy: string;
23
+ maximumAssignPerAgent: number;
24
+ isDeniable: boolean;
25
+ }, {
26
+ name: string;
27
+ description: string | null;
28
+ agentIds: string[];
29
+ managerId: string;
30
+ distributionStrategy: string;
31
+ maximumAssignPerAgent: number;
32
+ isDeniable: boolean;
33
+ }>;
34
+ method: "POST";
35
+ path: "/automation-queue";
36
+ responses: {
37
+ 201: z.ZodObject<z.objectUtil.extendShape<{
38
+ requestId: z.ZodString;
39
+ }, {
40
+ data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
41
+ id: z.ZodString;
42
+ createdAt: z.ZodDate;
43
+ updatedAt: z.ZodDate;
44
+ deletedAt: z.ZodNullable<z.ZodDate>;
45
+ }, {
46
+ name: z.ZodString;
47
+ description: z.ZodNullable<z.ZodString>;
48
+ distributionStrategy: z.ZodString;
49
+ maximumAssignPerAgent: z.ZodNumber;
50
+ isDeniable: z.ZodBoolean;
51
+ manager: z.ZodObject<{
52
+ id: z.ZodString;
53
+ createdAt: z.ZodDate;
54
+ updatedAt: z.ZodDate;
55
+ deletedAt: z.ZodNullable<z.ZodDate>;
56
+ name: z.ZodString;
57
+ email: z.ZodString;
58
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
59
+ password: z.ZodString;
60
+ address: z.ZodNullable<z.ZodString>;
61
+ phone: z.ZodNullable<z.ZodString>;
62
+ notificationCount: z.ZodNullable<z.ZodNumber>;
63
+ roles: z.ZodArray<z.ZodObject<{
64
+ id: z.ZodString;
65
+ createdAt: z.ZodDate;
66
+ updatedAt: z.ZodDate;
67
+ deletedAt: z.ZodNullable<z.ZodDate>;
68
+ systemName: z.ZodString;
69
+ displayName: z.ZodString;
70
+ description: z.ZodNullable<z.ZodString>;
71
+ permissions: z.ZodArray<z.ZodObject<{
72
+ id: z.ZodString;
73
+ createdAt: z.ZodDate;
74
+ updatedAt: z.ZodDate;
75
+ deletedAt: z.ZodNullable<z.ZodDate>;
76
+ systemName: z.ZodString;
77
+ displayName: z.ZodString;
78
+ description: z.ZodNullable<z.ZodString>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ id: string;
81
+ description: string | null;
82
+ createdAt: Date;
83
+ updatedAt: Date;
84
+ deletedAt: Date | null;
85
+ systemName: string;
86
+ displayName: string;
87
+ }, {
88
+ id: string;
89
+ description: string | null;
90
+ createdAt: Date;
91
+ updatedAt: Date;
92
+ deletedAt: Date | null;
93
+ systemName: string;
94
+ displayName: string;
95
+ }>, "many">;
96
+ }, "strip", z.ZodTypeAny, {
97
+ id: string;
98
+ description: string | null;
99
+ createdAt: Date;
100
+ updatedAt: Date;
101
+ deletedAt: Date | null;
102
+ systemName: string;
103
+ displayName: string;
104
+ permissions: {
105
+ id: string;
106
+ description: string | null;
107
+ createdAt: Date;
108
+ updatedAt: Date;
109
+ deletedAt: Date | null;
110
+ systemName: string;
111
+ displayName: string;
112
+ }[];
113
+ }, {
114
+ id: string;
115
+ description: string | null;
116
+ createdAt: Date;
117
+ updatedAt: Date;
118
+ deletedAt: Date | null;
119
+ systemName: string;
120
+ displayName: string;
121
+ permissions: {
122
+ id: string;
123
+ description: string | null;
124
+ createdAt: Date;
125
+ updatedAt: Date;
126
+ deletedAt: Date | null;
127
+ systemName: string;
128
+ displayName: string;
129
+ }[];
130
+ }>, "many">;
131
+ extension: z.ZodObject<{
132
+ id: z.ZodString;
133
+ createdAt: z.ZodDate;
134
+ updatedAt: z.ZodDate;
135
+ deletedAt: z.ZodNullable<z.ZodDate>;
136
+ userId: z.ZodNullable<z.ZodString>;
137
+ sipServerUrl: z.ZodString;
138
+ sipUserName: z.ZodString;
139
+ webphoneLoginUser: z.ZodString;
140
+ extensionId: z.ZodNullable<z.ZodString>;
141
+ extensionName: z.ZodString;
142
+ telephonySignature: z.ZodNullable<z.ZodString>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ id: string;
145
+ createdAt: Date;
146
+ updatedAt: Date;
147
+ deletedAt: Date | null;
148
+ userId: string | null;
149
+ sipServerUrl: string;
150
+ sipUserName: string;
151
+ webphoneLoginUser: string;
152
+ extensionId: string | null;
153
+ extensionName: string;
154
+ telephonySignature: string | null;
155
+ }, {
156
+ id: string;
157
+ createdAt: Date;
158
+ updatedAt: Date;
159
+ deletedAt: Date | null;
160
+ userId: string | null;
161
+ sipServerUrl: string;
162
+ sipUserName: string;
163
+ webphoneLoginUser: string;
164
+ extensionId: string | null;
165
+ extensionName: string;
166
+ telephonySignature: string | null;
167
+ }>;
168
+ }, "strip", z.ZodTypeAny, {
169
+ id: string;
170
+ address: string | null;
171
+ name: string;
172
+ email: string;
173
+ createdAt: Date;
174
+ updatedAt: Date;
175
+ deletedAt: Date | null;
176
+ emailVerifiedAt: Date | null;
177
+ password: string;
178
+ phone: string | null;
179
+ notificationCount: number | null;
180
+ roles: {
181
+ id: string;
182
+ description: string | null;
183
+ createdAt: Date;
184
+ updatedAt: Date;
185
+ deletedAt: Date | null;
186
+ systemName: string;
187
+ displayName: string;
188
+ permissions: {
189
+ id: string;
190
+ description: string | null;
191
+ createdAt: Date;
192
+ updatedAt: Date;
193
+ deletedAt: Date | null;
194
+ systemName: string;
195
+ displayName: string;
196
+ }[];
197
+ }[];
198
+ extension: {
199
+ id: string;
200
+ createdAt: Date;
201
+ updatedAt: Date;
202
+ deletedAt: Date | null;
203
+ userId: string | null;
204
+ sipServerUrl: string;
205
+ sipUserName: string;
206
+ webphoneLoginUser: string;
207
+ extensionId: string | null;
208
+ extensionName: string;
209
+ telephonySignature: string | null;
210
+ };
211
+ }, {
212
+ id: string;
213
+ address: string | null;
214
+ name: string;
215
+ email: string;
216
+ createdAt: Date;
217
+ updatedAt: Date;
218
+ deletedAt: Date | null;
219
+ emailVerifiedAt: Date | null;
220
+ password: string;
221
+ phone: string | null;
222
+ notificationCount: number | null;
223
+ roles: {
224
+ id: string;
225
+ description: string | null;
226
+ createdAt: Date;
227
+ updatedAt: Date;
228
+ deletedAt: Date | null;
229
+ systemName: string;
230
+ displayName: string;
231
+ permissions: {
232
+ id: string;
233
+ description: string | null;
234
+ createdAt: Date;
235
+ updatedAt: Date;
236
+ deletedAt: Date | null;
237
+ systemName: string;
238
+ displayName: string;
239
+ }[];
240
+ }[];
241
+ extension: {
242
+ id: string;
243
+ createdAt: Date;
244
+ updatedAt: Date;
245
+ deletedAt: Date | null;
246
+ userId: string | null;
247
+ sipServerUrl: string;
248
+ sipUserName: string;
249
+ webphoneLoginUser: string;
250
+ extensionId: string | null;
251
+ extensionName: string;
252
+ telephonySignature: string | null;
253
+ };
254
+ }>;
255
+ agents: z.ZodArray<z.ZodObject<{
256
+ id: z.ZodString;
257
+ createdAt: z.ZodDate;
258
+ updatedAt: z.ZodDate;
259
+ deletedAt: z.ZodNullable<z.ZodDate>;
260
+ name: z.ZodString;
261
+ email: z.ZodString;
262
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
263
+ password: z.ZodString;
264
+ address: z.ZodNullable<z.ZodString>;
265
+ phone: z.ZodNullable<z.ZodString>;
266
+ notificationCount: z.ZodNullable<z.ZodNumber>;
267
+ roles: z.ZodArray<z.ZodObject<{
268
+ id: z.ZodString;
269
+ createdAt: z.ZodDate;
270
+ updatedAt: z.ZodDate;
271
+ deletedAt: z.ZodNullable<z.ZodDate>;
272
+ systemName: z.ZodString;
273
+ displayName: z.ZodString;
274
+ description: z.ZodNullable<z.ZodString>;
275
+ permissions: z.ZodArray<z.ZodObject<{
276
+ id: z.ZodString;
277
+ createdAt: z.ZodDate;
278
+ updatedAt: z.ZodDate;
279
+ deletedAt: z.ZodNullable<z.ZodDate>;
280
+ systemName: z.ZodString;
281
+ displayName: z.ZodString;
282
+ description: z.ZodNullable<z.ZodString>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ id: string;
285
+ description: string | null;
286
+ createdAt: Date;
287
+ updatedAt: Date;
288
+ deletedAt: Date | null;
289
+ systemName: string;
290
+ displayName: string;
291
+ }, {
292
+ id: string;
293
+ description: string | null;
294
+ createdAt: Date;
295
+ updatedAt: Date;
296
+ deletedAt: Date | null;
297
+ systemName: string;
298
+ displayName: string;
299
+ }>, "many">;
300
+ }, "strip", z.ZodTypeAny, {
301
+ id: string;
302
+ description: string | null;
303
+ createdAt: Date;
304
+ updatedAt: Date;
305
+ deletedAt: Date | null;
306
+ systemName: string;
307
+ displayName: string;
308
+ permissions: {
309
+ id: string;
310
+ description: string | null;
311
+ createdAt: Date;
312
+ updatedAt: Date;
313
+ deletedAt: Date | null;
314
+ systemName: string;
315
+ displayName: string;
316
+ }[];
317
+ }, {
318
+ id: string;
319
+ description: string | null;
320
+ createdAt: Date;
321
+ updatedAt: Date;
322
+ deletedAt: Date | null;
323
+ systemName: string;
324
+ displayName: string;
325
+ permissions: {
326
+ id: string;
327
+ description: string | null;
328
+ createdAt: Date;
329
+ updatedAt: Date;
330
+ deletedAt: Date | null;
331
+ systemName: string;
332
+ displayName: string;
333
+ }[];
334
+ }>, "many">;
335
+ extension: z.ZodObject<{
336
+ id: z.ZodString;
337
+ createdAt: z.ZodDate;
338
+ updatedAt: z.ZodDate;
339
+ deletedAt: z.ZodNullable<z.ZodDate>;
340
+ userId: z.ZodNullable<z.ZodString>;
341
+ sipServerUrl: z.ZodString;
342
+ sipUserName: z.ZodString;
343
+ webphoneLoginUser: z.ZodString;
344
+ extensionId: z.ZodNullable<z.ZodString>;
345
+ extensionName: z.ZodString;
346
+ telephonySignature: z.ZodNullable<z.ZodString>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ id: string;
349
+ createdAt: Date;
350
+ updatedAt: Date;
351
+ deletedAt: Date | null;
352
+ userId: string | null;
353
+ sipServerUrl: string;
354
+ sipUserName: string;
355
+ webphoneLoginUser: string;
356
+ extensionId: string | null;
357
+ extensionName: string;
358
+ telephonySignature: string | null;
359
+ }, {
360
+ id: string;
361
+ createdAt: Date;
362
+ updatedAt: Date;
363
+ deletedAt: Date | null;
364
+ userId: string | null;
365
+ sipServerUrl: string;
366
+ sipUserName: string;
367
+ webphoneLoginUser: string;
368
+ extensionId: string | null;
369
+ extensionName: string;
370
+ telephonySignature: string | null;
371
+ }>;
372
+ }, "strip", z.ZodTypeAny, {
373
+ id: string;
374
+ address: string | null;
375
+ name: string;
376
+ email: string;
377
+ createdAt: Date;
378
+ updatedAt: Date;
379
+ deletedAt: Date | null;
380
+ emailVerifiedAt: Date | null;
381
+ password: string;
382
+ phone: string | null;
383
+ notificationCount: number | null;
384
+ roles: {
385
+ id: string;
386
+ description: string | null;
387
+ createdAt: Date;
388
+ updatedAt: Date;
389
+ deletedAt: Date | null;
390
+ systemName: string;
391
+ displayName: string;
392
+ permissions: {
393
+ id: string;
394
+ description: string | null;
395
+ createdAt: Date;
396
+ updatedAt: Date;
397
+ deletedAt: Date | null;
398
+ systemName: string;
399
+ displayName: string;
400
+ }[];
401
+ }[];
402
+ extension: {
403
+ id: string;
404
+ createdAt: Date;
405
+ updatedAt: Date;
406
+ deletedAt: Date | null;
407
+ userId: string | null;
408
+ sipServerUrl: string;
409
+ sipUserName: string;
410
+ webphoneLoginUser: string;
411
+ extensionId: string | null;
412
+ extensionName: string;
413
+ telephonySignature: string | null;
414
+ };
415
+ }, {
416
+ id: string;
417
+ address: string | null;
418
+ name: string;
419
+ email: string;
420
+ createdAt: Date;
421
+ updatedAt: Date;
422
+ deletedAt: Date | null;
423
+ emailVerifiedAt: Date | null;
424
+ password: string;
425
+ phone: string | null;
426
+ notificationCount: number | null;
427
+ roles: {
428
+ id: string;
429
+ description: string | null;
430
+ createdAt: Date;
431
+ updatedAt: Date;
432
+ deletedAt: Date | null;
433
+ systemName: string;
434
+ displayName: string;
435
+ permissions: {
436
+ id: string;
437
+ description: string | null;
438
+ createdAt: Date;
439
+ updatedAt: Date;
440
+ deletedAt: Date | null;
441
+ systemName: string;
442
+ displayName: string;
443
+ }[];
444
+ }[];
445
+ extension: {
446
+ id: string;
447
+ createdAt: Date;
448
+ updatedAt: Date;
449
+ deletedAt: Date | null;
450
+ userId: string | null;
451
+ sipServerUrl: string;
452
+ sipUserName: string;
453
+ webphoneLoginUser: string;
454
+ extensionId: string | null;
455
+ extensionName: string;
456
+ telephonySignature: string | null;
457
+ };
458
+ }>, "many">;
459
+ }>, "strip", z.ZodTypeAny, {
460
+ id: string;
461
+ name: string;
462
+ description: string | null;
463
+ createdAt: Date;
464
+ updatedAt: Date;
465
+ deletedAt: Date | null;
466
+ agents: {
467
+ id: string;
468
+ address: string | null;
469
+ name: string;
470
+ email: string;
471
+ createdAt: Date;
472
+ updatedAt: Date;
473
+ deletedAt: Date | null;
474
+ emailVerifiedAt: Date | null;
475
+ password: string;
476
+ phone: string | null;
477
+ notificationCount: number | null;
478
+ roles: {
479
+ id: string;
480
+ description: string | null;
481
+ createdAt: Date;
482
+ updatedAt: Date;
483
+ deletedAt: Date | null;
484
+ systemName: string;
485
+ displayName: string;
486
+ permissions: {
487
+ id: string;
488
+ description: string | null;
489
+ createdAt: Date;
490
+ updatedAt: Date;
491
+ deletedAt: Date | null;
492
+ systemName: string;
493
+ displayName: string;
494
+ }[];
495
+ }[];
496
+ extension: {
497
+ id: string;
498
+ createdAt: Date;
499
+ updatedAt: Date;
500
+ deletedAt: Date | null;
501
+ userId: string | null;
502
+ sipServerUrl: string;
503
+ sipUserName: string;
504
+ webphoneLoginUser: string;
505
+ extensionId: string | null;
506
+ extensionName: string;
507
+ telephonySignature: string | null;
508
+ };
509
+ }[];
510
+ distributionStrategy: string;
511
+ maximumAssignPerAgent: number;
512
+ isDeniable: boolean;
513
+ manager: {
514
+ id: string;
515
+ address: string | null;
516
+ name: string;
517
+ email: string;
518
+ createdAt: Date;
519
+ updatedAt: Date;
520
+ deletedAt: Date | null;
521
+ emailVerifiedAt: Date | null;
522
+ password: string;
523
+ phone: string | null;
524
+ notificationCount: number | null;
525
+ roles: {
526
+ id: string;
527
+ description: string | null;
528
+ createdAt: Date;
529
+ updatedAt: Date;
530
+ deletedAt: Date | null;
531
+ systemName: string;
532
+ displayName: string;
533
+ permissions: {
534
+ id: string;
535
+ description: string | null;
536
+ createdAt: Date;
537
+ updatedAt: Date;
538
+ deletedAt: Date | null;
539
+ systemName: string;
540
+ displayName: string;
541
+ }[];
542
+ }[];
543
+ extension: {
544
+ id: string;
545
+ createdAt: Date;
546
+ updatedAt: Date;
547
+ deletedAt: Date | null;
548
+ userId: string | null;
549
+ sipServerUrl: string;
550
+ sipUserName: string;
551
+ webphoneLoginUser: string;
552
+ extensionId: string | null;
553
+ extensionName: string;
554
+ telephonySignature: string | null;
555
+ };
556
+ };
557
+ }, {
558
+ id: string;
559
+ name: string;
560
+ description: string | null;
561
+ createdAt: Date;
562
+ updatedAt: Date;
563
+ deletedAt: Date | null;
564
+ agents: {
565
+ id: string;
566
+ address: string | null;
567
+ name: string;
568
+ email: string;
569
+ createdAt: Date;
570
+ updatedAt: Date;
571
+ deletedAt: Date | null;
572
+ emailVerifiedAt: Date | null;
573
+ password: string;
574
+ phone: string | null;
575
+ notificationCount: number | null;
576
+ roles: {
577
+ id: string;
578
+ description: string | null;
579
+ createdAt: Date;
580
+ updatedAt: Date;
581
+ deletedAt: Date | null;
582
+ systemName: string;
583
+ displayName: string;
584
+ permissions: {
585
+ id: string;
586
+ description: string | null;
587
+ createdAt: Date;
588
+ updatedAt: Date;
589
+ deletedAt: Date | null;
590
+ systemName: string;
591
+ displayName: string;
592
+ }[];
593
+ }[];
594
+ extension: {
595
+ id: string;
596
+ createdAt: Date;
597
+ updatedAt: Date;
598
+ deletedAt: Date | null;
599
+ userId: string | null;
600
+ sipServerUrl: string;
601
+ sipUserName: string;
602
+ webphoneLoginUser: string;
603
+ extensionId: string | null;
604
+ extensionName: string;
605
+ telephonySignature: string | null;
606
+ };
607
+ }[];
608
+ distributionStrategy: string;
609
+ maximumAssignPerAgent: number;
610
+ isDeniable: boolean;
611
+ manager: {
612
+ id: string;
613
+ address: string | null;
614
+ name: string;
615
+ email: string;
616
+ createdAt: Date;
617
+ updatedAt: Date;
618
+ deletedAt: Date | null;
619
+ emailVerifiedAt: Date | null;
620
+ password: string;
621
+ phone: string | null;
622
+ notificationCount: number | null;
623
+ roles: {
624
+ id: string;
625
+ description: string | null;
626
+ createdAt: Date;
627
+ updatedAt: Date;
628
+ deletedAt: Date | null;
629
+ systemName: string;
630
+ displayName: string;
631
+ permissions: {
632
+ id: string;
633
+ description: string | null;
634
+ createdAt: Date;
635
+ updatedAt: Date;
636
+ deletedAt: Date | null;
637
+ systemName: string;
638
+ displayName: string;
639
+ }[];
640
+ }[];
641
+ extension: {
642
+ id: string;
643
+ createdAt: Date;
644
+ updatedAt: Date;
645
+ deletedAt: Date | null;
646
+ userId: string | null;
647
+ sipServerUrl: string;
648
+ sipUserName: string;
649
+ webphoneLoginUser: string;
650
+ extensionId: string | null;
651
+ extensionName: string;
652
+ telephonySignature: string | null;
653
+ };
654
+ };
655
+ }>>;
656
+ }>, "strip", z.ZodTypeAny, {
657
+ requestId: string;
658
+ data?: {
659
+ id: string;
660
+ name: string;
661
+ description: string | null;
662
+ createdAt: Date;
663
+ updatedAt: Date;
664
+ deletedAt: Date | null;
665
+ agents: {
666
+ id: string;
667
+ address: string | null;
668
+ name: string;
669
+ email: string;
670
+ createdAt: Date;
671
+ updatedAt: Date;
672
+ deletedAt: Date | null;
673
+ emailVerifiedAt: Date | null;
674
+ password: string;
675
+ phone: string | null;
676
+ notificationCount: number | null;
677
+ roles: {
678
+ id: string;
679
+ description: string | null;
680
+ createdAt: Date;
681
+ updatedAt: Date;
682
+ deletedAt: Date | null;
683
+ systemName: string;
684
+ displayName: string;
685
+ permissions: {
686
+ id: string;
687
+ description: string | null;
688
+ createdAt: Date;
689
+ updatedAt: Date;
690
+ deletedAt: Date | null;
691
+ systemName: string;
692
+ displayName: string;
693
+ }[];
694
+ }[];
695
+ extension: {
696
+ id: string;
697
+ createdAt: Date;
698
+ updatedAt: Date;
699
+ deletedAt: Date | null;
700
+ userId: string | null;
701
+ sipServerUrl: string;
702
+ sipUserName: string;
703
+ webphoneLoginUser: string;
704
+ extensionId: string | null;
705
+ extensionName: string;
706
+ telephonySignature: string | null;
707
+ };
708
+ }[];
709
+ distributionStrategy: string;
710
+ maximumAssignPerAgent: number;
711
+ isDeniable: boolean;
712
+ manager: {
713
+ id: string;
714
+ address: string | null;
715
+ name: string;
716
+ email: string;
717
+ createdAt: Date;
718
+ updatedAt: Date;
719
+ deletedAt: Date | null;
720
+ emailVerifiedAt: Date | null;
721
+ password: string;
722
+ phone: string | null;
723
+ notificationCount: number | null;
724
+ roles: {
725
+ id: string;
726
+ description: string | null;
727
+ createdAt: Date;
728
+ updatedAt: Date;
729
+ deletedAt: Date | null;
730
+ systemName: string;
731
+ displayName: string;
732
+ permissions: {
733
+ id: string;
734
+ description: string | null;
735
+ createdAt: Date;
736
+ updatedAt: Date;
737
+ deletedAt: Date | null;
738
+ systemName: string;
739
+ displayName: string;
740
+ }[];
741
+ }[];
742
+ extension: {
743
+ id: string;
744
+ createdAt: Date;
745
+ updatedAt: Date;
746
+ deletedAt: Date | null;
747
+ userId: string | null;
748
+ sipServerUrl: string;
749
+ sipUserName: string;
750
+ webphoneLoginUser: string;
751
+ extensionId: string | null;
752
+ extensionName: string;
753
+ telephonySignature: string | null;
754
+ };
755
+ };
756
+ } | undefined;
757
+ }, {
758
+ requestId: string;
759
+ data?: {
760
+ id: string;
761
+ name: string;
762
+ description: string | null;
763
+ createdAt: Date;
764
+ updatedAt: Date;
765
+ deletedAt: Date | null;
766
+ agents: {
767
+ id: string;
768
+ address: string | null;
769
+ name: string;
770
+ email: string;
771
+ createdAt: Date;
772
+ updatedAt: Date;
773
+ deletedAt: Date | null;
774
+ emailVerifiedAt: Date | null;
775
+ password: string;
776
+ phone: string | null;
777
+ notificationCount: number | null;
778
+ roles: {
779
+ id: string;
780
+ description: string | null;
781
+ createdAt: Date;
782
+ updatedAt: Date;
783
+ deletedAt: Date | null;
784
+ systemName: string;
785
+ displayName: string;
786
+ permissions: {
787
+ id: string;
788
+ description: string | null;
789
+ createdAt: Date;
790
+ updatedAt: Date;
791
+ deletedAt: Date | null;
792
+ systemName: string;
793
+ displayName: string;
794
+ }[];
795
+ }[];
796
+ extension: {
797
+ id: string;
798
+ createdAt: Date;
799
+ updatedAt: Date;
800
+ deletedAt: Date | null;
801
+ userId: string | null;
802
+ sipServerUrl: string;
803
+ sipUserName: string;
804
+ webphoneLoginUser: string;
805
+ extensionId: string | null;
806
+ extensionName: string;
807
+ telephonySignature: string | null;
808
+ };
809
+ }[];
810
+ distributionStrategy: string;
811
+ maximumAssignPerAgent: number;
812
+ isDeniable: boolean;
813
+ manager: {
814
+ id: string;
815
+ address: string | null;
816
+ name: string;
817
+ email: string;
818
+ createdAt: Date;
819
+ updatedAt: Date;
820
+ deletedAt: Date | null;
821
+ emailVerifiedAt: Date | null;
822
+ password: string;
823
+ phone: string | null;
824
+ notificationCount: number | null;
825
+ roles: {
826
+ id: string;
827
+ description: string | null;
828
+ createdAt: Date;
829
+ updatedAt: Date;
830
+ deletedAt: Date | null;
831
+ systemName: string;
832
+ displayName: string;
833
+ permissions: {
834
+ id: string;
835
+ description: string | null;
836
+ createdAt: Date;
837
+ updatedAt: Date;
838
+ deletedAt: Date | null;
839
+ systemName: string;
840
+ displayName: string;
841
+ }[];
842
+ }[];
843
+ extension: {
844
+ id: string;
845
+ createdAt: Date;
846
+ updatedAt: Date;
847
+ deletedAt: Date | null;
848
+ userId: string | null;
849
+ sipServerUrl: string;
850
+ sipUserName: string;
851
+ webphoneLoginUser: string;
852
+ extensionId: string | null;
853
+ extensionName: string;
854
+ telephonySignature: string | null;
855
+ };
856
+ };
857
+ } | undefined;
858
+ }>;
859
+ };
860
+ };
861
+ getAllAutomationQueues: {
862
+ method: "GET";
863
+ path: "/automation-queue";
864
+ responses: {
865
+ 200: z.ZodObject<z.objectUtil.extendShape<{
866
+ requestId: z.ZodString;
867
+ }, {
868
+ data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
869
+ id: z.ZodString;
870
+ createdAt: z.ZodDate;
871
+ updatedAt: z.ZodDate;
872
+ deletedAt: z.ZodNullable<z.ZodDate>;
873
+ }, {
874
+ name: z.ZodString;
875
+ description: z.ZodNullable<z.ZodString>;
876
+ distributionStrategy: z.ZodString;
877
+ maximumAssignPerAgent: z.ZodNumber;
878
+ isDeniable: z.ZodBoolean;
879
+ manager: z.ZodObject<{
880
+ id: z.ZodString;
881
+ createdAt: z.ZodDate;
882
+ updatedAt: z.ZodDate;
883
+ deletedAt: z.ZodNullable<z.ZodDate>;
884
+ name: z.ZodString;
885
+ email: z.ZodString;
886
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
887
+ password: z.ZodString;
888
+ address: z.ZodNullable<z.ZodString>;
889
+ phone: z.ZodNullable<z.ZodString>;
890
+ notificationCount: z.ZodNullable<z.ZodNumber>;
891
+ roles: z.ZodArray<z.ZodObject<{
892
+ id: z.ZodString;
893
+ createdAt: z.ZodDate;
894
+ updatedAt: z.ZodDate;
895
+ deletedAt: z.ZodNullable<z.ZodDate>;
896
+ systemName: z.ZodString;
897
+ displayName: z.ZodString;
898
+ description: z.ZodNullable<z.ZodString>;
899
+ permissions: z.ZodArray<z.ZodObject<{
900
+ id: z.ZodString;
901
+ createdAt: z.ZodDate;
902
+ updatedAt: z.ZodDate;
903
+ deletedAt: z.ZodNullable<z.ZodDate>;
904
+ systemName: z.ZodString;
905
+ displayName: z.ZodString;
906
+ description: z.ZodNullable<z.ZodString>;
907
+ }, "strip", z.ZodTypeAny, {
908
+ id: string;
909
+ description: string | null;
910
+ createdAt: Date;
911
+ updatedAt: Date;
912
+ deletedAt: Date | null;
913
+ systemName: string;
914
+ displayName: string;
915
+ }, {
916
+ id: string;
917
+ description: string | null;
918
+ createdAt: Date;
919
+ updatedAt: Date;
920
+ deletedAt: Date | null;
921
+ systemName: string;
922
+ displayName: string;
923
+ }>, "many">;
924
+ }, "strip", z.ZodTypeAny, {
925
+ id: string;
926
+ description: string | null;
927
+ createdAt: Date;
928
+ updatedAt: Date;
929
+ deletedAt: Date | null;
930
+ systemName: string;
931
+ displayName: string;
932
+ permissions: {
933
+ id: string;
934
+ description: string | null;
935
+ createdAt: Date;
936
+ updatedAt: Date;
937
+ deletedAt: Date | null;
938
+ systemName: string;
939
+ displayName: string;
940
+ }[];
941
+ }, {
942
+ id: string;
943
+ description: string | null;
944
+ createdAt: Date;
945
+ updatedAt: Date;
946
+ deletedAt: Date | null;
947
+ systemName: string;
948
+ displayName: string;
949
+ permissions: {
950
+ id: string;
951
+ description: string | null;
952
+ createdAt: Date;
953
+ updatedAt: Date;
954
+ deletedAt: Date | null;
955
+ systemName: string;
956
+ displayName: string;
957
+ }[];
958
+ }>, "many">;
959
+ extension: z.ZodObject<{
960
+ id: z.ZodString;
961
+ createdAt: z.ZodDate;
962
+ updatedAt: z.ZodDate;
963
+ deletedAt: z.ZodNullable<z.ZodDate>;
964
+ userId: z.ZodNullable<z.ZodString>;
965
+ sipServerUrl: z.ZodString;
966
+ sipUserName: z.ZodString;
967
+ webphoneLoginUser: z.ZodString;
968
+ extensionId: z.ZodNullable<z.ZodString>;
969
+ extensionName: z.ZodString;
970
+ telephonySignature: z.ZodNullable<z.ZodString>;
971
+ }, "strip", z.ZodTypeAny, {
972
+ id: string;
973
+ createdAt: Date;
974
+ updatedAt: Date;
975
+ deletedAt: Date | null;
976
+ userId: string | null;
977
+ sipServerUrl: string;
978
+ sipUserName: string;
979
+ webphoneLoginUser: string;
980
+ extensionId: string | null;
981
+ extensionName: string;
982
+ telephonySignature: string | null;
983
+ }, {
984
+ id: string;
985
+ createdAt: Date;
986
+ updatedAt: Date;
987
+ deletedAt: Date | null;
988
+ userId: string | null;
989
+ sipServerUrl: string;
990
+ sipUserName: string;
991
+ webphoneLoginUser: string;
992
+ extensionId: string | null;
993
+ extensionName: string;
994
+ telephonySignature: string | null;
995
+ }>;
996
+ }, "strip", z.ZodTypeAny, {
997
+ id: string;
998
+ address: string | null;
999
+ name: string;
1000
+ email: string;
1001
+ createdAt: Date;
1002
+ updatedAt: Date;
1003
+ deletedAt: Date | null;
1004
+ emailVerifiedAt: Date | null;
1005
+ password: string;
1006
+ phone: string | null;
1007
+ notificationCount: number | null;
1008
+ roles: {
1009
+ id: string;
1010
+ description: string | null;
1011
+ createdAt: Date;
1012
+ updatedAt: Date;
1013
+ deletedAt: Date | null;
1014
+ systemName: string;
1015
+ displayName: string;
1016
+ permissions: {
1017
+ id: string;
1018
+ description: string | null;
1019
+ createdAt: Date;
1020
+ updatedAt: Date;
1021
+ deletedAt: Date | null;
1022
+ systemName: string;
1023
+ displayName: string;
1024
+ }[];
1025
+ }[];
1026
+ extension: {
1027
+ id: string;
1028
+ createdAt: Date;
1029
+ updatedAt: Date;
1030
+ deletedAt: Date | null;
1031
+ userId: string | null;
1032
+ sipServerUrl: string;
1033
+ sipUserName: string;
1034
+ webphoneLoginUser: string;
1035
+ extensionId: string | null;
1036
+ extensionName: string;
1037
+ telephonySignature: string | null;
1038
+ };
1039
+ }, {
1040
+ id: string;
1041
+ address: string | null;
1042
+ name: string;
1043
+ email: string;
1044
+ createdAt: Date;
1045
+ updatedAt: Date;
1046
+ deletedAt: Date | null;
1047
+ emailVerifiedAt: Date | null;
1048
+ password: string;
1049
+ phone: string | null;
1050
+ notificationCount: number | null;
1051
+ roles: {
1052
+ id: string;
1053
+ description: string | null;
1054
+ createdAt: Date;
1055
+ updatedAt: Date;
1056
+ deletedAt: Date | null;
1057
+ systemName: string;
1058
+ displayName: string;
1059
+ permissions: {
1060
+ id: string;
1061
+ description: string | null;
1062
+ createdAt: Date;
1063
+ updatedAt: Date;
1064
+ deletedAt: Date | null;
1065
+ systemName: string;
1066
+ displayName: string;
1067
+ }[];
1068
+ }[];
1069
+ extension: {
1070
+ id: string;
1071
+ createdAt: Date;
1072
+ updatedAt: Date;
1073
+ deletedAt: Date | null;
1074
+ userId: string | null;
1075
+ sipServerUrl: string;
1076
+ sipUserName: string;
1077
+ webphoneLoginUser: string;
1078
+ extensionId: string | null;
1079
+ extensionName: string;
1080
+ telephonySignature: string | null;
1081
+ };
1082
+ }>;
1083
+ agents: z.ZodArray<z.ZodObject<{
1084
+ id: z.ZodString;
1085
+ createdAt: z.ZodDate;
1086
+ updatedAt: z.ZodDate;
1087
+ deletedAt: z.ZodNullable<z.ZodDate>;
1088
+ name: z.ZodString;
1089
+ email: z.ZodString;
1090
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1091
+ password: z.ZodString;
1092
+ address: z.ZodNullable<z.ZodString>;
1093
+ phone: z.ZodNullable<z.ZodString>;
1094
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1095
+ roles: z.ZodArray<z.ZodObject<{
1096
+ id: z.ZodString;
1097
+ createdAt: z.ZodDate;
1098
+ updatedAt: z.ZodDate;
1099
+ deletedAt: z.ZodNullable<z.ZodDate>;
1100
+ systemName: z.ZodString;
1101
+ displayName: z.ZodString;
1102
+ description: z.ZodNullable<z.ZodString>;
1103
+ permissions: z.ZodArray<z.ZodObject<{
1104
+ id: z.ZodString;
1105
+ createdAt: z.ZodDate;
1106
+ updatedAt: z.ZodDate;
1107
+ deletedAt: z.ZodNullable<z.ZodDate>;
1108
+ systemName: z.ZodString;
1109
+ displayName: z.ZodString;
1110
+ description: z.ZodNullable<z.ZodString>;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ id: string;
1113
+ description: string | null;
1114
+ createdAt: Date;
1115
+ updatedAt: Date;
1116
+ deletedAt: Date | null;
1117
+ systemName: string;
1118
+ displayName: string;
1119
+ }, {
1120
+ id: string;
1121
+ description: string | null;
1122
+ createdAt: Date;
1123
+ updatedAt: Date;
1124
+ deletedAt: Date | null;
1125
+ systemName: string;
1126
+ displayName: string;
1127
+ }>, "many">;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ id: string;
1130
+ description: string | null;
1131
+ createdAt: Date;
1132
+ updatedAt: Date;
1133
+ deletedAt: Date | null;
1134
+ systemName: string;
1135
+ displayName: string;
1136
+ permissions: {
1137
+ id: string;
1138
+ description: string | null;
1139
+ createdAt: Date;
1140
+ updatedAt: Date;
1141
+ deletedAt: Date | null;
1142
+ systemName: string;
1143
+ displayName: string;
1144
+ }[];
1145
+ }, {
1146
+ id: string;
1147
+ description: string | null;
1148
+ createdAt: Date;
1149
+ updatedAt: Date;
1150
+ deletedAt: Date | null;
1151
+ systemName: string;
1152
+ displayName: string;
1153
+ permissions: {
1154
+ id: string;
1155
+ description: string | null;
1156
+ createdAt: Date;
1157
+ updatedAt: Date;
1158
+ deletedAt: Date | null;
1159
+ systemName: string;
1160
+ displayName: string;
1161
+ }[];
1162
+ }>, "many">;
1163
+ extension: z.ZodObject<{
1164
+ id: z.ZodString;
1165
+ createdAt: z.ZodDate;
1166
+ updatedAt: z.ZodDate;
1167
+ deletedAt: z.ZodNullable<z.ZodDate>;
1168
+ userId: z.ZodNullable<z.ZodString>;
1169
+ sipServerUrl: z.ZodString;
1170
+ sipUserName: z.ZodString;
1171
+ webphoneLoginUser: z.ZodString;
1172
+ extensionId: z.ZodNullable<z.ZodString>;
1173
+ extensionName: z.ZodString;
1174
+ telephonySignature: z.ZodNullable<z.ZodString>;
1175
+ }, "strip", z.ZodTypeAny, {
1176
+ id: string;
1177
+ createdAt: Date;
1178
+ updatedAt: Date;
1179
+ deletedAt: Date | null;
1180
+ userId: string | null;
1181
+ sipServerUrl: string;
1182
+ sipUserName: string;
1183
+ webphoneLoginUser: string;
1184
+ extensionId: string | null;
1185
+ extensionName: string;
1186
+ telephonySignature: string | null;
1187
+ }, {
1188
+ id: string;
1189
+ createdAt: Date;
1190
+ updatedAt: Date;
1191
+ deletedAt: Date | null;
1192
+ userId: string | null;
1193
+ sipServerUrl: string;
1194
+ sipUserName: string;
1195
+ webphoneLoginUser: string;
1196
+ extensionId: string | null;
1197
+ extensionName: string;
1198
+ telephonySignature: string | null;
1199
+ }>;
1200
+ }, "strip", z.ZodTypeAny, {
1201
+ id: string;
1202
+ address: string | null;
1203
+ name: string;
1204
+ email: string;
1205
+ createdAt: Date;
1206
+ updatedAt: Date;
1207
+ deletedAt: Date | null;
1208
+ emailVerifiedAt: Date | null;
1209
+ password: string;
1210
+ phone: string | null;
1211
+ notificationCount: number | null;
1212
+ roles: {
1213
+ id: string;
1214
+ description: string | null;
1215
+ createdAt: Date;
1216
+ updatedAt: Date;
1217
+ deletedAt: Date | null;
1218
+ systemName: string;
1219
+ displayName: string;
1220
+ permissions: {
1221
+ id: string;
1222
+ description: string | null;
1223
+ createdAt: Date;
1224
+ updatedAt: Date;
1225
+ deletedAt: Date | null;
1226
+ systemName: string;
1227
+ displayName: string;
1228
+ }[];
1229
+ }[];
1230
+ extension: {
1231
+ id: string;
1232
+ createdAt: Date;
1233
+ updatedAt: Date;
1234
+ deletedAt: Date | null;
1235
+ userId: string | null;
1236
+ sipServerUrl: string;
1237
+ sipUserName: string;
1238
+ webphoneLoginUser: string;
1239
+ extensionId: string | null;
1240
+ extensionName: string;
1241
+ telephonySignature: string | null;
1242
+ };
1243
+ }, {
1244
+ id: string;
1245
+ address: string | null;
1246
+ name: string;
1247
+ email: string;
1248
+ createdAt: Date;
1249
+ updatedAt: Date;
1250
+ deletedAt: Date | null;
1251
+ emailVerifiedAt: Date | null;
1252
+ password: string;
1253
+ phone: string | null;
1254
+ notificationCount: number | null;
1255
+ roles: {
1256
+ id: string;
1257
+ description: string | null;
1258
+ createdAt: Date;
1259
+ updatedAt: Date;
1260
+ deletedAt: Date | null;
1261
+ systemName: string;
1262
+ displayName: string;
1263
+ permissions: {
1264
+ id: string;
1265
+ description: string | null;
1266
+ createdAt: Date;
1267
+ updatedAt: Date;
1268
+ deletedAt: Date | null;
1269
+ systemName: string;
1270
+ displayName: string;
1271
+ }[];
1272
+ }[];
1273
+ extension: {
1274
+ id: string;
1275
+ createdAt: Date;
1276
+ updatedAt: Date;
1277
+ deletedAt: Date | null;
1278
+ userId: string | null;
1279
+ sipServerUrl: string;
1280
+ sipUserName: string;
1281
+ webphoneLoginUser: string;
1282
+ extensionId: string | null;
1283
+ extensionName: string;
1284
+ telephonySignature: string | null;
1285
+ };
1286
+ }>, "many">;
1287
+ }>, "strip", z.ZodTypeAny, {
1288
+ id: string;
1289
+ name: string;
1290
+ description: string | null;
1291
+ createdAt: Date;
1292
+ updatedAt: Date;
1293
+ deletedAt: Date | null;
1294
+ agents: {
1295
+ id: string;
1296
+ address: string | null;
1297
+ name: string;
1298
+ email: string;
1299
+ createdAt: Date;
1300
+ updatedAt: Date;
1301
+ deletedAt: Date | null;
1302
+ emailVerifiedAt: Date | null;
1303
+ password: string;
1304
+ phone: string | null;
1305
+ notificationCount: number | null;
1306
+ roles: {
1307
+ id: string;
1308
+ description: string | null;
1309
+ createdAt: Date;
1310
+ updatedAt: Date;
1311
+ deletedAt: Date | null;
1312
+ systemName: string;
1313
+ displayName: string;
1314
+ permissions: {
1315
+ id: string;
1316
+ description: string | null;
1317
+ createdAt: Date;
1318
+ updatedAt: Date;
1319
+ deletedAt: Date | null;
1320
+ systemName: string;
1321
+ displayName: string;
1322
+ }[];
1323
+ }[];
1324
+ extension: {
1325
+ id: string;
1326
+ createdAt: Date;
1327
+ updatedAt: Date;
1328
+ deletedAt: Date | null;
1329
+ userId: string | null;
1330
+ sipServerUrl: string;
1331
+ sipUserName: string;
1332
+ webphoneLoginUser: string;
1333
+ extensionId: string | null;
1334
+ extensionName: string;
1335
+ telephonySignature: string | null;
1336
+ };
1337
+ }[];
1338
+ distributionStrategy: string;
1339
+ maximumAssignPerAgent: number;
1340
+ isDeniable: boolean;
1341
+ manager: {
1342
+ id: string;
1343
+ address: string | null;
1344
+ name: string;
1345
+ email: string;
1346
+ createdAt: Date;
1347
+ updatedAt: Date;
1348
+ deletedAt: Date | null;
1349
+ emailVerifiedAt: Date | null;
1350
+ password: string;
1351
+ phone: string | null;
1352
+ notificationCount: number | null;
1353
+ roles: {
1354
+ id: string;
1355
+ description: string | null;
1356
+ createdAt: Date;
1357
+ updatedAt: Date;
1358
+ deletedAt: Date | null;
1359
+ systemName: string;
1360
+ displayName: string;
1361
+ permissions: {
1362
+ id: string;
1363
+ description: string | null;
1364
+ createdAt: Date;
1365
+ updatedAt: Date;
1366
+ deletedAt: Date | null;
1367
+ systemName: string;
1368
+ displayName: string;
1369
+ }[];
1370
+ }[];
1371
+ extension: {
1372
+ id: string;
1373
+ createdAt: Date;
1374
+ updatedAt: Date;
1375
+ deletedAt: Date | null;
1376
+ userId: string | null;
1377
+ sipServerUrl: string;
1378
+ sipUserName: string;
1379
+ webphoneLoginUser: string;
1380
+ extensionId: string | null;
1381
+ extensionName: string;
1382
+ telephonySignature: string | null;
1383
+ };
1384
+ };
1385
+ }, {
1386
+ id: string;
1387
+ name: string;
1388
+ description: string | null;
1389
+ createdAt: Date;
1390
+ updatedAt: Date;
1391
+ deletedAt: Date | null;
1392
+ agents: {
1393
+ id: string;
1394
+ address: string | null;
1395
+ name: string;
1396
+ email: string;
1397
+ createdAt: Date;
1398
+ updatedAt: Date;
1399
+ deletedAt: Date | null;
1400
+ emailVerifiedAt: Date | null;
1401
+ password: string;
1402
+ phone: string | null;
1403
+ notificationCount: number | null;
1404
+ roles: {
1405
+ id: string;
1406
+ description: string | null;
1407
+ createdAt: Date;
1408
+ updatedAt: Date;
1409
+ deletedAt: Date | null;
1410
+ systemName: string;
1411
+ displayName: string;
1412
+ permissions: {
1413
+ id: string;
1414
+ description: string | null;
1415
+ createdAt: Date;
1416
+ updatedAt: Date;
1417
+ deletedAt: Date | null;
1418
+ systemName: string;
1419
+ displayName: string;
1420
+ }[];
1421
+ }[];
1422
+ extension: {
1423
+ id: string;
1424
+ createdAt: Date;
1425
+ updatedAt: Date;
1426
+ deletedAt: Date | null;
1427
+ userId: string | null;
1428
+ sipServerUrl: string;
1429
+ sipUserName: string;
1430
+ webphoneLoginUser: string;
1431
+ extensionId: string | null;
1432
+ extensionName: string;
1433
+ telephonySignature: string | null;
1434
+ };
1435
+ }[];
1436
+ distributionStrategy: string;
1437
+ maximumAssignPerAgent: number;
1438
+ isDeniable: boolean;
1439
+ manager: {
1440
+ id: string;
1441
+ address: string | null;
1442
+ name: string;
1443
+ email: string;
1444
+ createdAt: Date;
1445
+ updatedAt: Date;
1446
+ deletedAt: Date | null;
1447
+ emailVerifiedAt: Date | null;
1448
+ password: string;
1449
+ phone: string | null;
1450
+ notificationCount: number | null;
1451
+ roles: {
1452
+ id: string;
1453
+ description: string | null;
1454
+ createdAt: Date;
1455
+ updatedAt: Date;
1456
+ deletedAt: Date | null;
1457
+ systemName: string;
1458
+ displayName: string;
1459
+ permissions: {
1460
+ id: string;
1461
+ description: string | null;
1462
+ createdAt: Date;
1463
+ updatedAt: Date;
1464
+ deletedAt: Date | null;
1465
+ systemName: string;
1466
+ displayName: string;
1467
+ }[];
1468
+ }[];
1469
+ extension: {
1470
+ id: string;
1471
+ createdAt: Date;
1472
+ updatedAt: Date;
1473
+ deletedAt: Date | null;
1474
+ userId: string | null;
1475
+ sipServerUrl: string;
1476
+ sipUserName: string;
1477
+ webphoneLoginUser: string;
1478
+ extensionId: string | null;
1479
+ extensionName: string;
1480
+ telephonySignature: string | null;
1481
+ };
1482
+ };
1483
+ }>, "many">;
1484
+ }>, "strip", z.ZodTypeAny, {
1485
+ data: {
1486
+ id: string;
1487
+ name: string;
1488
+ description: string | null;
1489
+ createdAt: Date;
1490
+ updatedAt: Date;
1491
+ deletedAt: Date | null;
1492
+ agents: {
1493
+ id: string;
1494
+ address: string | null;
1495
+ name: string;
1496
+ email: string;
1497
+ createdAt: Date;
1498
+ updatedAt: Date;
1499
+ deletedAt: Date | null;
1500
+ emailVerifiedAt: Date | null;
1501
+ password: string;
1502
+ phone: string | null;
1503
+ notificationCount: number | null;
1504
+ roles: {
1505
+ id: string;
1506
+ description: string | null;
1507
+ createdAt: Date;
1508
+ updatedAt: Date;
1509
+ deletedAt: Date | null;
1510
+ systemName: string;
1511
+ displayName: string;
1512
+ permissions: {
1513
+ id: string;
1514
+ description: string | null;
1515
+ createdAt: Date;
1516
+ updatedAt: Date;
1517
+ deletedAt: Date | null;
1518
+ systemName: string;
1519
+ displayName: string;
1520
+ }[];
1521
+ }[];
1522
+ extension: {
1523
+ id: string;
1524
+ createdAt: Date;
1525
+ updatedAt: Date;
1526
+ deletedAt: Date | null;
1527
+ userId: string | null;
1528
+ sipServerUrl: string;
1529
+ sipUserName: string;
1530
+ webphoneLoginUser: string;
1531
+ extensionId: string | null;
1532
+ extensionName: string;
1533
+ telephonySignature: string | null;
1534
+ };
1535
+ }[];
1536
+ distributionStrategy: string;
1537
+ maximumAssignPerAgent: number;
1538
+ isDeniable: boolean;
1539
+ manager: {
1540
+ id: string;
1541
+ address: string | null;
1542
+ name: string;
1543
+ email: string;
1544
+ createdAt: Date;
1545
+ updatedAt: Date;
1546
+ deletedAt: Date | null;
1547
+ emailVerifiedAt: Date | null;
1548
+ password: string;
1549
+ phone: string | null;
1550
+ notificationCount: number | null;
1551
+ roles: {
1552
+ id: string;
1553
+ description: string | null;
1554
+ createdAt: Date;
1555
+ updatedAt: Date;
1556
+ deletedAt: Date | null;
1557
+ systemName: string;
1558
+ displayName: string;
1559
+ permissions: {
1560
+ id: string;
1561
+ description: string | null;
1562
+ createdAt: Date;
1563
+ updatedAt: Date;
1564
+ deletedAt: Date | null;
1565
+ systemName: string;
1566
+ displayName: string;
1567
+ }[];
1568
+ }[];
1569
+ extension: {
1570
+ id: string;
1571
+ createdAt: Date;
1572
+ updatedAt: Date;
1573
+ deletedAt: Date | null;
1574
+ userId: string | null;
1575
+ sipServerUrl: string;
1576
+ sipUserName: string;
1577
+ webphoneLoginUser: string;
1578
+ extensionId: string | null;
1579
+ extensionName: string;
1580
+ telephonySignature: string | null;
1581
+ };
1582
+ };
1583
+ }[];
1584
+ requestId: string;
1585
+ }, {
1586
+ data: {
1587
+ id: string;
1588
+ name: string;
1589
+ description: string | null;
1590
+ createdAt: Date;
1591
+ updatedAt: Date;
1592
+ deletedAt: Date | null;
1593
+ agents: {
1594
+ id: string;
1595
+ address: string | null;
1596
+ name: string;
1597
+ email: string;
1598
+ createdAt: Date;
1599
+ updatedAt: Date;
1600
+ deletedAt: Date | null;
1601
+ emailVerifiedAt: Date | null;
1602
+ password: string;
1603
+ phone: string | null;
1604
+ notificationCount: number | null;
1605
+ roles: {
1606
+ id: string;
1607
+ description: string | null;
1608
+ createdAt: Date;
1609
+ updatedAt: Date;
1610
+ deletedAt: Date | null;
1611
+ systemName: string;
1612
+ displayName: string;
1613
+ permissions: {
1614
+ id: string;
1615
+ description: string | null;
1616
+ createdAt: Date;
1617
+ updatedAt: Date;
1618
+ deletedAt: Date | null;
1619
+ systemName: string;
1620
+ displayName: string;
1621
+ }[];
1622
+ }[];
1623
+ extension: {
1624
+ id: string;
1625
+ createdAt: Date;
1626
+ updatedAt: Date;
1627
+ deletedAt: Date | null;
1628
+ userId: string | null;
1629
+ sipServerUrl: string;
1630
+ sipUserName: string;
1631
+ webphoneLoginUser: string;
1632
+ extensionId: string | null;
1633
+ extensionName: string;
1634
+ telephonySignature: string | null;
1635
+ };
1636
+ }[];
1637
+ distributionStrategy: string;
1638
+ maximumAssignPerAgent: number;
1639
+ isDeniable: boolean;
1640
+ manager: {
1641
+ id: string;
1642
+ address: string | null;
1643
+ name: string;
1644
+ email: string;
1645
+ createdAt: Date;
1646
+ updatedAt: Date;
1647
+ deletedAt: Date | null;
1648
+ emailVerifiedAt: Date | null;
1649
+ password: string;
1650
+ phone: string | null;
1651
+ notificationCount: number | null;
1652
+ roles: {
1653
+ id: string;
1654
+ description: string | null;
1655
+ createdAt: Date;
1656
+ updatedAt: Date;
1657
+ deletedAt: Date | null;
1658
+ systemName: string;
1659
+ displayName: string;
1660
+ permissions: {
1661
+ id: string;
1662
+ description: string | null;
1663
+ createdAt: Date;
1664
+ updatedAt: Date;
1665
+ deletedAt: Date | null;
1666
+ systemName: string;
1667
+ displayName: string;
1668
+ }[];
1669
+ }[];
1670
+ extension: {
1671
+ id: string;
1672
+ createdAt: Date;
1673
+ updatedAt: Date;
1674
+ deletedAt: Date | null;
1675
+ userId: string | null;
1676
+ sipServerUrl: string;
1677
+ sipUserName: string;
1678
+ webphoneLoginUser: string;
1679
+ extensionId: string | null;
1680
+ extensionName: string;
1681
+ telephonySignature: string | null;
1682
+ };
1683
+ };
1684
+ }[];
1685
+ requestId: string;
1686
+ }>;
1687
+ };
1688
+ };
1689
+ getAutomationQueueById: {
1690
+ method: "GET";
1691
+ pathParams: z.ZodObject<{
1692
+ id: z.ZodString;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ id: string;
1695
+ }, {
1696
+ id: string;
1697
+ }>;
1698
+ path: "/automation-queue/:id";
1699
+ responses: {
1700
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1701
+ requestId: z.ZodString;
1702
+ }, {
1703
+ data: z.ZodObject<z.objectUtil.extendShape<{
1704
+ id: z.ZodString;
1705
+ createdAt: z.ZodDate;
1706
+ updatedAt: z.ZodDate;
1707
+ deletedAt: z.ZodNullable<z.ZodDate>;
1708
+ }, {
1709
+ name: z.ZodString;
1710
+ description: z.ZodNullable<z.ZodString>;
1711
+ distributionStrategy: z.ZodString;
1712
+ maximumAssignPerAgent: z.ZodNumber;
1713
+ isDeniable: z.ZodBoolean;
1714
+ manager: z.ZodObject<{
1715
+ id: z.ZodString;
1716
+ createdAt: z.ZodDate;
1717
+ updatedAt: z.ZodDate;
1718
+ deletedAt: z.ZodNullable<z.ZodDate>;
1719
+ name: z.ZodString;
1720
+ email: z.ZodString;
1721
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1722
+ password: z.ZodString;
1723
+ address: z.ZodNullable<z.ZodString>;
1724
+ phone: z.ZodNullable<z.ZodString>;
1725
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1726
+ roles: z.ZodArray<z.ZodObject<{
1727
+ id: z.ZodString;
1728
+ createdAt: z.ZodDate;
1729
+ updatedAt: z.ZodDate;
1730
+ deletedAt: z.ZodNullable<z.ZodDate>;
1731
+ systemName: z.ZodString;
1732
+ displayName: z.ZodString;
1733
+ description: z.ZodNullable<z.ZodString>;
1734
+ permissions: z.ZodArray<z.ZodObject<{
1735
+ id: z.ZodString;
1736
+ createdAt: z.ZodDate;
1737
+ updatedAt: z.ZodDate;
1738
+ deletedAt: z.ZodNullable<z.ZodDate>;
1739
+ systemName: z.ZodString;
1740
+ displayName: z.ZodString;
1741
+ description: z.ZodNullable<z.ZodString>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ id: string;
1744
+ description: string | null;
1745
+ createdAt: Date;
1746
+ updatedAt: Date;
1747
+ deletedAt: Date | null;
1748
+ systemName: string;
1749
+ displayName: string;
1750
+ }, {
1751
+ id: string;
1752
+ description: string | null;
1753
+ createdAt: Date;
1754
+ updatedAt: Date;
1755
+ deletedAt: Date | null;
1756
+ systemName: string;
1757
+ displayName: string;
1758
+ }>, "many">;
1759
+ }, "strip", z.ZodTypeAny, {
1760
+ id: string;
1761
+ description: string | null;
1762
+ createdAt: Date;
1763
+ updatedAt: Date;
1764
+ deletedAt: Date | null;
1765
+ systemName: string;
1766
+ displayName: string;
1767
+ permissions: {
1768
+ id: string;
1769
+ description: string | null;
1770
+ createdAt: Date;
1771
+ updatedAt: Date;
1772
+ deletedAt: Date | null;
1773
+ systemName: string;
1774
+ displayName: string;
1775
+ }[];
1776
+ }, {
1777
+ id: string;
1778
+ description: string | null;
1779
+ createdAt: Date;
1780
+ updatedAt: Date;
1781
+ deletedAt: Date | null;
1782
+ systemName: string;
1783
+ displayName: string;
1784
+ permissions: {
1785
+ id: string;
1786
+ description: string | null;
1787
+ createdAt: Date;
1788
+ updatedAt: Date;
1789
+ deletedAt: Date | null;
1790
+ systemName: string;
1791
+ displayName: string;
1792
+ }[];
1793
+ }>, "many">;
1794
+ extension: z.ZodObject<{
1795
+ id: z.ZodString;
1796
+ createdAt: z.ZodDate;
1797
+ updatedAt: z.ZodDate;
1798
+ deletedAt: z.ZodNullable<z.ZodDate>;
1799
+ userId: z.ZodNullable<z.ZodString>;
1800
+ sipServerUrl: z.ZodString;
1801
+ sipUserName: z.ZodString;
1802
+ webphoneLoginUser: z.ZodString;
1803
+ extensionId: z.ZodNullable<z.ZodString>;
1804
+ extensionName: z.ZodString;
1805
+ telephonySignature: z.ZodNullable<z.ZodString>;
1806
+ }, "strip", z.ZodTypeAny, {
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
+ id: string;
1820
+ createdAt: Date;
1821
+ updatedAt: Date;
1822
+ deletedAt: Date | null;
1823
+ userId: string | null;
1824
+ sipServerUrl: string;
1825
+ sipUserName: string;
1826
+ webphoneLoginUser: string;
1827
+ extensionId: string | null;
1828
+ extensionName: string;
1829
+ telephonySignature: string | null;
1830
+ }>;
1831
+ }, "strip", z.ZodTypeAny, {
1832
+ id: string;
1833
+ address: string | null;
1834
+ name: string;
1835
+ email: string;
1836
+ createdAt: Date;
1837
+ updatedAt: Date;
1838
+ deletedAt: Date | null;
1839
+ emailVerifiedAt: Date | null;
1840
+ password: string;
1841
+ phone: string | null;
1842
+ notificationCount: number | null;
1843
+ roles: {
1844
+ id: string;
1845
+ description: string | null;
1846
+ createdAt: Date;
1847
+ updatedAt: Date;
1848
+ deletedAt: Date | null;
1849
+ systemName: string;
1850
+ displayName: string;
1851
+ permissions: {
1852
+ id: string;
1853
+ description: string | null;
1854
+ createdAt: Date;
1855
+ updatedAt: Date;
1856
+ deletedAt: Date | null;
1857
+ systemName: string;
1858
+ displayName: string;
1859
+ }[];
1860
+ }[];
1861
+ extension: {
1862
+ id: string;
1863
+ createdAt: Date;
1864
+ updatedAt: Date;
1865
+ deletedAt: Date | null;
1866
+ userId: string | null;
1867
+ sipServerUrl: string;
1868
+ sipUserName: string;
1869
+ webphoneLoginUser: string;
1870
+ extensionId: string | null;
1871
+ extensionName: string;
1872
+ telephonySignature: string | null;
1873
+ };
1874
+ }, {
1875
+ id: string;
1876
+ address: string | null;
1877
+ name: string;
1878
+ email: string;
1879
+ createdAt: Date;
1880
+ updatedAt: Date;
1881
+ deletedAt: Date | null;
1882
+ emailVerifiedAt: Date | null;
1883
+ password: string;
1884
+ phone: string | null;
1885
+ notificationCount: number | null;
1886
+ roles: {
1887
+ id: string;
1888
+ description: string | null;
1889
+ createdAt: Date;
1890
+ updatedAt: Date;
1891
+ deletedAt: Date | null;
1892
+ systemName: string;
1893
+ displayName: string;
1894
+ permissions: {
1895
+ id: string;
1896
+ description: string | null;
1897
+ createdAt: Date;
1898
+ updatedAt: Date;
1899
+ deletedAt: Date | null;
1900
+ systemName: string;
1901
+ displayName: string;
1902
+ }[];
1903
+ }[];
1904
+ extension: {
1905
+ id: string;
1906
+ createdAt: Date;
1907
+ updatedAt: Date;
1908
+ deletedAt: Date | null;
1909
+ userId: string | null;
1910
+ sipServerUrl: string;
1911
+ sipUserName: string;
1912
+ webphoneLoginUser: string;
1913
+ extensionId: string | null;
1914
+ extensionName: string;
1915
+ telephonySignature: string | null;
1916
+ };
1917
+ }>;
1918
+ agents: z.ZodArray<z.ZodObject<{
1919
+ id: z.ZodString;
1920
+ createdAt: z.ZodDate;
1921
+ updatedAt: z.ZodDate;
1922
+ deletedAt: z.ZodNullable<z.ZodDate>;
1923
+ name: z.ZodString;
1924
+ email: z.ZodString;
1925
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1926
+ password: z.ZodString;
1927
+ address: z.ZodNullable<z.ZodString>;
1928
+ phone: z.ZodNullable<z.ZodString>;
1929
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1930
+ roles: z.ZodArray<z.ZodObject<{
1931
+ id: z.ZodString;
1932
+ createdAt: z.ZodDate;
1933
+ updatedAt: z.ZodDate;
1934
+ deletedAt: z.ZodNullable<z.ZodDate>;
1935
+ systemName: z.ZodString;
1936
+ displayName: z.ZodString;
1937
+ description: z.ZodNullable<z.ZodString>;
1938
+ permissions: z.ZodArray<z.ZodObject<{
1939
+ id: z.ZodString;
1940
+ createdAt: z.ZodDate;
1941
+ updatedAt: z.ZodDate;
1942
+ deletedAt: z.ZodNullable<z.ZodDate>;
1943
+ systemName: z.ZodString;
1944
+ displayName: z.ZodString;
1945
+ description: z.ZodNullable<z.ZodString>;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ id: string;
1948
+ description: string | null;
1949
+ createdAt: Date;
1950
+ updatedAt: Date;
1951
+ deletedAt: Date | null;
1952
+ systemName: string;
1953
+ displayName: string;
1954
+ }, {
1955
+ id: string;
1956
+ description: string | null;
1957
+ createdAt: Date;
1958
+ updatedAt: Date;
1959
+ deletedAt: Date | null;
1960
+ systemName: string;
1961
+ displayName: string;
1962
+ }>, "many">;
1963
+ }, "strip", z.ZodTypeAny, {
1964
+ id: string;
1965
+ description: string | null;
1966
+ createdAt: Date;
1967
+ updatedAt: Date;
1968
+ deletedAt: Date | null;
1969
+ systemName: string;
1970
+ displayName: string;
1971
+ permissions: {
1972
+ id: string;
1973
+ description: string | null;
1974
+ createdAt: Date;
1975
+ updatedAt: Date;
1976
+ deletedAt: Date | null;
1977
+ systemName: string;
1978
+ displayName: string;
1979
+ }[];
1980
+ }, {
1981
+ id: string;
1982
+ description: string | null;
1983
+ createdAt: Date;
1984
+ updatedAt: Date;
1985
+ deletedAt: Date | null;
1986
+ systemName: string;
1987
+ displayName: string;
1988
+ permissions: {
1989
+ id: string;
1990
+ description: string | null;
1991
+ createdAt: Date;
1992
+ updatedAt: Date;
1993
+ deletedAt: Date | null;
1994
+ systemName: string;
1995
+ displayName: string;
1996
+ }[];
1997
+ }>, "many">;
1998
+ extension: z.ZodObject<{
1999
+ id: z.ZodString;
2000
+ createdAt: z.ZodDate;
2001
+ updatedAt: z.ZodDate;
2002
+ deletedAt: z.ZodNullable<z.ZodDate>;
2003
+ userId: z.ZodNullable<z.ZodString>;
2004
+ sipServerUrl: z.ZodString;
2005
+ sipUserName: z.ZodString;
2006
+ webphoneLoginUser: z.ZodString;
2007
+ extensionId: z.ZodNullable<z.ZodString>;
2008
+ extensionName: z.ZodString;
2009
+ telephonySignature: z.ZodNullable<z.ZodString>;
2010
+ }, "strip", z.ZodTypeAny, {
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
+ id: string;
2024
+ createdAt: Date;
2025
+ updatedAt: Date;
2026
+ deletedAt: Date | null;
2027
+ userId: string | null;
2028
+ sipServerUrl: string;
2029
+ sipUserName: string;
2030
+ webphoneLoginUser: string;
2031
+ extensionId: string | null;
2032
+ extensionName: string;
2033
+ telephonySignature: string | null;
2034
+ }>;
2035
+ }, "strip", z.ZodTypeAny, {
2036
+ id: string;
2037
+ address: string | null;
2038
+ name: string;
2039
+ email: string;
2040
+ createdAt: Date;
2041
+ updatedAt: Date;
2042
+ deletedAt: Date | null;
2043
+ emailVerifiedAt: Date | null;
2044
+ password: string;
2045
+ phone: string | null;
2046
+ notificationCount: number | null;
2047
+ roles: {
2048
+ id: string;
2049
+ description: string | null;
2050
+ createdAt: Date;
2051
+ updatedAt: Date;
2052
+ deletedAt: Date | null;
2053
+ systemName: string;
2054
+ displayName: string;
2055
+ permissions: {
2056
+ id: string;
2057
+ description: string | null;
2058
+ createdAt: Date;
2059
+ updatedAt: Date;
2060
+ deletedAt: Date | null;
2061
+ systemName: string;
2062
+ displayName: string;
2063
+ }[];
2064
+ }[];
2065
+ extension: {
2066
+ id: string;
2067
+ createdAt: Date;
2068
+ updatedAt: Date;
2069
+ deletedAt: Date | null;
2070
+ userId: string | null;
2071
+ sipServerUrl: string;
2072
+ sipUserName: string;
2073
+ webphoneLoginUser: string;
2074
+ extensionId: string | null;
2075
+ extensionName: string;
2076
+ telephonySignature: string | null;
2077
+ };
2078
+ }, {
2079
+ id: string;
2080
+ address: string | null;
2081
+ name: string;
2082
+ email: string;
2083
+ createdAt: Date;
2084
+ updatedAt: Date;
2085
+ deletedAt: Date | null;
2086
+ emailVerifiedAt: Date | null;
2087
+ password: string;
2088
+ phone: string | null;
2089
+ notificationCount: number | null;
2090
+ roles: {
2091
+ id: string;
2092
+ description: string | null;
2093
+ createdAt: Date;
2094
+ updatedAt: Date;
2095
+ deletedAt: Date | null;
2096
+ systemName: string;
2097
+ displayName: string;
2098
+ permissions: {
2099
+ id: string;
2100
+ description: string | null;
2101
+ createdAt: Date;
2102
+ updatedAt: Date;
2103
+ deletedAt: Date | null;
2104
+ systemName: string;
2105
+ displayName: string;
2106
+ }[];
2107
+ }[];
2108
+ extension: {
2109
+ id: string;
2110
+ createdAt: Date;
2111
+ updatedAt: Date;
2112
+ deletedAt: Date | null;
2113
+ userId: string | null;
2114
+ sipServerUrl: string;
2115
+ sipUserName: string;
2116
+ webphoneLoginUser: string;
2117
+ extensionId: string | null;
2118
+ extensionName: string;
2119
+ telephonySignature: string | null;
2120
+ };
2121
+ }>, "many">;
2122
+ }>, "strip", z.ZodTypeAny, {
2123
+ id: string;
2124
+ name: string;
2125
+ description: string | null;
2126
+ createdAt: Date;
2127
+ updatedAt: Date;
2128
+ deletedAt: Date | null;
2129
+ agents: {
2130
+ id: string;
2131
+ address: string | null;
2132
+ name: string;
2133
+ email: string;
2134
+ createdAt: Date;
2135
+ updatedAt: Date;
2136
+ deletedAt: Date | null;
2137
+ emailVerifiedAt: Date | null;
2138
+ password: string;
2139
+ phone: string | null;
2140
+ notificationCount: number | null;
2141
+ roles: {
2142
+ id: string;
2143
+ description: string | null;
2144
+ createdAt: Date;
2145
+ updatedAt: Date;
2146
+ deletedAt: Date | null;
2147
+ systemName: string;
2148
+ displayName: string;
2149
+ permissions: {
2150
+ id: string;
2151
+ description: string | null;
2152
+ createdAt: Date;
2153
+ updatedAt: Date;
2154
+ deletedAt: Date | null;
2155
+ systemName: string;
2156
+ displayName: string;
2157
+ }[];
2158
+ }[];
2159
+ extension: {
2160
+ id: string;
2161
+ createdAt: Date;
2162
+ updatedAt: Date;
2163
+ deletedAt: Date | null;
2164
+ userId: string | null;
2165
+ sipServerUrl: string;
2166
+ sipUserName: string;
2167
+ webphoneLoginUser: string;
2168
+ extensionId: string | null;
2169
+ extensionName: string;
2170
+ telephonySignature: string | null;
2171
+ };
2172
+ }[];
2173
+ distributionStrategy: string;
2174
+ maximumAssignPerAgent: number;
2175
+ isDeniable: boolean;
2176
+ manager: {
2177
+ id: string;
2178
+ address: string | null;
2179
+ name: string;
2180
+ email: string;
2181
+ createdAt: Date;
2182
+ updatedAt: Date;
2183
+ deletedAt: Date | null;
2184
+ emailVerifiedAt: Date | null;
2185
+ password: string;
2186
+ phone: string | null;
2187
+ notificationCount: number | null;
2188
+ roles: {
2189
+ id: string;
2190
+ description: string | null;
2191
+ createdAt: Date;
2192
+ updatedAt: Date;
2193
+ deletedAt: Date | null;
2194
+ systemName: string;
2195
+ displayName: string;
2196
+ permissions: {
2197
+ id: string;
2198
+ description: string | null;
2199
+ createdAt: Date;
2200
+ updatedAt: Date;
2201
+ deletedAt: Date | null;
2202
+ systemName: string;
2203
+ displayName: string;
2204
+ }[];
2205
+ }[];
2206
+ extension: {
2207
+ id: string;
2208
+ createdAt: Date;
2209
+ updatedAt: Date;
2210
+ deletedAt: Date | null;
2211
+ userId: string | null;
2212
+ sipServerUrl: string;
2213
+ sipUserName: string;
2214
+ webphoneLoginUser: string;
2215
+ extensionId: string | null;
2216
+ extensionName: string;
2217
+ telephonySignature: string | null;
2218
+ };
2219
+ };
2220
+ }, {
2221
+ id: string;
2222
+ name: string;
2223
+ description: string | null;
2224
+ createdAt: Date;
2225
+ updatedAt: Date;
2226
+ deletedAt: Date | null;
2227
+ agents: {
2228
+ id: string;
2229
+ address: string | null;
2230
+ name: string;
2231
+ email: string;
2232
+ createdAt: Date;
2233
+ updatedAt: Date;
2234
+ deletedAt: Date | null;
2235
+ emailVerifiedAt: Date | null;
2236
+ password: string;
2237
+ phone: string | null;
2238
+ notificationCount: number | null;
2239
+ roles: {
2240
+ id: string;
2241
+ description: string | null;
2242
+ createdAt: Date;
2243
+ updatedAt: Date;
2244
+ deletedAt: Date | null;
2245
+ systemName: string;
2246
+ displayName: string;
2247
+ permissions: {
2248
+ id: string;
2249
+ description: string | null;
2250
+ createdAt: Date;
2251
+ updatedAt: Date;
2252
+ deletedAt: Date | null;
2253
+ systemName: string;
2254
+ displayName: string;
2255
+ }[];
2256
+ }[];
2257
+ extension: {
2258
+ id: string;
2259
+ createdAt: Date;
2260
+ updatedAt: Date;
2261
+ deletedAt: Date | null;
2262
+ userId: string | null;
2263
+ sipServerUrl: string;
2264
+ sipUserName: string;
2265
+ webphoneLoginUser: string;
2266
+ extensionId: string | null;
2267
+ extensionName: string;
2268
+ telephonySignature: string | null;
2269
+ };
2270
+ }[];
2271
+ distributionStrategy: string;
2272
+ maximumAssignPerAgent: number;
2273
+ isDeniable: boolean;
2274
+ manager: {
2275
+ id: string;
2276
+ address: string | null;
2277
+ name: string;
2278
+ email: string;
2279
+ createdAt: Date;
2280
+ updatedAt: Date;
2281
+ deletedAt: Date | null;
2282
+ emailVerifiedAt: Date | null;
2283
+ password: string;
2284
+ phone: string | null;
2285
+ notificationCount: number | null;
2286
+ roles: {
2287
+ id: string;
2288
+ description: string | null;
2289
+ createdAt: Date;
2290
+ updatedAt: Date;
2291
+ deletedAt: Date | null;
2292
+ systemName: string;
2293
+ displayName: string;
2294
+ permissions: {
2295
+ id: string;
2296
+ description: string | null;
2297
+ createdAt: Date;
2298
+ updatedAt: Date;
2299
+ deletedAt: Date | null;
2300
+ systemName: string;
2301
+ displayName: string;
2302
+ }[];
2303
+ }[];
2304
+ extension: {
2305
+ id: string;
2306
+ createdAt: Date;
2307
+ updatedAt: Date;
2308
+ deletedAt: Date | null;
2309
+ userId: string | null;
2310
+ sipServerUrl: string;
2311
+ sipUserName: string;
2312
+ webphoneLoginUser: string;
2313
+ extensionId: string | null;
2314
+ extensionName: string;
2315
+ telephonySignature: string | null;
2316
+ };
2317
+ };
2318
+ }>;
2319
+ }>, "strip", z.ZodTypeAny, {
2320
+ data: {
2321
+ id: string;
2322
+ name: string;
2323
+ description: string | null;
2324
+ createdAt: Date;
2325
+ updatedAt: Date;
2326
+ deletedAt: Date | null;
2327
+ agents: {
2328
+ id: string;
2329
+ address: string | null;
2330
+ name: string;
2331
+ email: string;
2332
+ createdAt: Date;
2333
+ updatedAt: Date;
2334
+ deletedAt: Date | null;
2335
+ emailVerifiedAt: Date | null;
2336
+ password: string;
2337
+ phone: string | null;
2338
+ notificationCount: number | null;
2339
+ roles: {
2340
+ id: string;
2341
+ description: string | null;
2342
+ createdAt: Date;
2343
+ updatedAt: Date;
2344
+ deletedAt: Date | null;
2345
+ systemName: string;
2346
+ displayName: string;
2347
+ permissions: {
2348
+ id: string;
2349
+ description: string | null;
2350
+ createdAt: Date;
2351
+ updatedAt: Date;
2352
+ deletedAt: Date | null;
2353
+ systemName: string;
2354
+ displayName: string;
2355
+ }[];
2356
+ }[];
2357
+ extension: {
2358
+ id: string;
2359
+ createdAt: Date;
2360
+ updatedAt: Date;
2361
+ deletedAt: Date | null;
2362
+ userId: string | null;
2363
+ sipServerUrl: string;
2364
+ sipUserName: string;
2365
+ webphoneLoginUser: string;
2366
+ extensionId: string | null;
2367
+ extensionName: string;
2368
+ telephonySignature: string | null;
2369
+ };
2370
+ }[];
2371
+ distributionStrategy: string;
2372
+ maximumAssignPerAgent: number;
2373
+ isDeniable: boolean;
2374
+ manager: {
2375
+ id: string;
2376
+ address: string | null;
2377
+ name: string;
2378
+ email: string;
2379
+ createdAt: Date;
2380
+ updatedAt: Date;
2381
+ deletedAt: Date | null;
2382
+ emailVerifiedAt: Date | null;
2383
+ password: string;
2384
+ phone: string | null;
2385
+ notificationCount: number | null;
2386
+ roles: {
2387
+ id: string;
2388
+ description: string | null;
2389
+ createdAt: Date;
2390
+ updatedAt: Date;
2391
+ deletedAt: Date | null;
2392
+ systemName: string;
2393
+ displayName: string;
2394
+ permissions: {
2395
+ id: string;
2396
+ description: string | null;
2397
+ createdAt: Date;
2398
+ updatedAt: Date;
2399
+ deletedAt: Date | null;
2400
+ systemName: string;
2401
+ displayName: string;
2402
+ }[];
2403
+ }[];
2404
+ extension: {
2405
+ id: string;
2406
+ createdAt: Date;
2407
+ updatedAt: Date;
2408
+ deletedAt: Date | null;
2409
+ userId: string | null;
2410
+ sipServerUrl: string;
2411
+ sipUserName: string;
2412
+ webphoneLoginUser: string;
2413
+ extensionId: string | null;
2414
+ extensionName: string;
2415
+ telephonySignature: string | null;
2416
+ };
2417
+ };
2418
+ };
2419
+ requestId: string;
2420
+ }, {
2421
+ data: {
2422
+ id: string;
2423
+ name: string;
2424
+ description: string | null;
2425
+ createdAt: Date;
2426
+ updatedAt: Date;
2427
+ deletedAt: Date | null;
2428
+ agents: {
2429
+ id: string;
2430
+ address: string | null;
2431
+ name: string;
2432
+ email: string;
2433
+ createdAt: Date;
2434
+ updatedAt: Date;
2435
+ deletedAt: Date | null;
2436
+ emailVerifiedAt: Date | null;
2437
+ password: string;
2438
+ phone: string | null;
2439
+ notificationCount: number | null;
2440
+ roles: {
2441
+ id: string;
2442
+ description: string | null;
2443
+ createdAt: Date;
2444
+ updatedAt: Date;
2445
+ deletedAt: Date | null;
2446
+ systemName: string;
2447
+ displayName: string;
2448
+ permissions: {
2449
+ id: string;
2450
+ description: string | null;
2451
+ createdAt: Date;
2452
+ updatedAt: Date;
2453
+ deletedAt: Date | null;
2454
+ systemName: string;
2455
+ displayName: string;
2456
+ }[];
2457
+ }[];
2458
+ extension: {
2459
+ id: string;
2460
+ createdAt: Date;
2461
+ updatedAt: Date;
2462
+ deletedAt: Date | null;
2463
+ userId: string | null;
2464
+ sipServerUrl: string;
2465
+ sipUserName: string;
2466
+ webphoneLoginUser: string;
2467
+ extensionId: string | null;
2468
+ extensionName: string;
2469
+ telephonySignature: string | null;
2470
+ };
2471
+ }[];
2472
+ distributionStrategy: string;
2473
+ maximumAssignPerAgent: number;
2474
+ isDeniable: boolean;
2475
+ manager: {
2476
+ id: string;
2477
+ address: string | null;
2478
+ name: string;
2479
+ email: string;
2480
+ createdAt: Date;
2481
+ updatedAt: Date;
2482
+ deletedAt: Date | null;
2483
+ emailVerifiedAt: Date | null;
2484
+ password: string;
2485
+ phone: string | null;
2486
+ notificationCount: number | null;
2487
+ roles: {
2488
+ id: string;
2489
+ description: string | null;
2490
+ createdAt: Date;
2491
+ updatedAt: Date;
2492
+ deletedAt: Date | null;
2493
+ systemName: string;
2494
+ displayName: string;
2495
+ permissions: {
2496
+ id: string;
2497
+ description: string | null;
2498
+ createdAt: Date;
2499
+ updatedAt: Date;
2500
+ deletedAt: Date | null;
2501
+ systemName: string;
2502
+ displayName: string;
2503
+ }[];
2504
+ }[];
2505
+ extension: {
2506
+ id: string;
2507
+ createdAt: Date;
2508
+ updatedAt: Date;
2509
+ deletedAt: Date | null;
2510
+ userId: string | null;
2511
+ sipServerUrl: string;
2512
+ sipUserName: string;
2513
+ webphoneLoginUser: string;
2514
+ extensionId: string | null;
2515
+ extensionName: string;
2516
+ telephonySignature: string | null;
2517
+ };
2518
+ };
2519
+ };
2520
+ requestId: string;
2521
+ }>;
2522
+ };
2523
+ };
2524
+ updateAutomationQueue: {
2525
+ body: z.ZodObject<{
2526
+ name: z.ZodString;
2527
+ description: z.ZodNullable<z.ZodString>;
2528
+ managerId: z.ZodString;
2529
+ agentIds: z.ZodArray<z.ZodString, "many">;
2530
+ distributionStrategy: z.ZodString;
2531
+ maximumAssignPerAgent: z.ZodNumber;
2532
+ isDeniable: z.ZodBoolean;
2533
+ }, "strip", z.ZodTypeAny, {
2534
+ name: string;
2535
+ description: string | null;
2536
+ agentIds: string[];
2537
+ managerId: string;
2538
+ distributionStrategy: string;
2539
+ maximumAssignPerAgent: number;
2540
+ isDeniable: boolean;
2541
+ }, {
2542
+ name: string;
2543
+ description: string | null;
2544
+ agentIds: string[];
2545
+ managerId: string;
2546
+ distributionStrategy: string;
2547
+ maximumAssignPerAgent: number;
2548
+ isDeniable: boolean;
2549
+ }>;
2550
+ method: "PATCH";
2551
+ pathParams: z.ZodObject<{
2552
+ id: z.ZodString;
2553
+ }, "strip", z.ZodTypeAny, {
2554
+ id: string;
2555
+ }, {
2556
+ id: string;
2557
+ }>;
2558
+ path: "/automation-queue/:id";
2559
+ responses: {
2560
+ 200: z.ZodObject<z.objectUtil.extendShape<{
2561
+ requestId: z.ZodString;
2562
+ }, {
2563
+ data: z.ZodObject<z.objectUtil.extendShape<{
2564
+ id: z.ZodString;
2565
+ createdAt: z.ZodDate;
2566
+ updatedAt: z.ZodDate;
2567
+ deletedAt: z.ZodNullable<z.ZodDate>;
2568
+ }, {
2569
+ name: z.ZodString;
2570
+ description: z.ZodNullable<z.ZodString>;
2571
+ distributionStrategy: z.ZodString;
2572
+ maximumAssignPerAgent: z.ZodNumber;
2573
+ isDeniable: z.ZodBoolean;
2574
+ manager: z.ZodObject<{
2575
+ id: z.ZodString;
2576
+ createdAt: z.ZodDate;
2577
+ updatedAt: z.ZodDate;
2578
+ deletedAt: z.ZodNullable<z.ZodDate>;
2579
+ name: z.ZodString;
2580
+ email: z.ZodString;
2581
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2582
+ password: z.ZodString;
2583
+ address: z.ZodNullable<z.ZodString>;
2584
+ phone: z.ZodNullable<z.ZodString>;
2585
+ notificationCount: z.ZodNullable<z.ZodNumber>;
2586
+ roles: z.ZodArray<z.ZodObject<{
2587
+ id: z.ZodString;
2588
+ createdAt: z.ZodDate;
2589
+ updatedAt: z.ZodDate;
2590
+ deletedAt: z.ZodNullable<z.ZodDate>;
2591
+ systemName: z.ZodString;
2592
+ displayName: z.ZodString;
2593
+ description: z.ZodNullable<z.ZodString>;
2594
+ permissions: z.ZodArray<z.ZodObject<{
2595
+ id: z.ZodString;
2596
+ createdAt: z.ZodDate;
2597
+ updatedAt: z.ZodDate;
2598
+ deletedAt: z.ZodNullable<z.ZodDate>;
2599
+ systemName: z.ZodString;
2600
+ displayName: z.ZodString;
2601
+ description: z.ZodNullable<z.ZodString>;
2602
+ }, "strip", z.ZodTypeAny, {
2603
+ id: string;
2604
+ description: string | null;
2605
+ createdAt: Date;
2606
+ updatedAt: Date;
2607
+ deletedAt: Date | null;
2608
+ systemName: string;
2609
+ displayName: string;
2610
+ }, {
2611
+ id: string;
2612
+ description: string | null;
2613
+ createdAt: Date;
2614
+ updatedAt: Date;
2615
+ deletedAt: Date | null;
2616
+ systemName: string;
2617
+ displayName: string;
2618
+ }>, "many">;
2619
+ }, "strip", z.ZodTypeAny, {
2620
+ id: string;
2621
+ description: string | null;
2622
+ createdAt: Date;
2623
+ updatedAt: Date;
2624
+ deletedAt: Date | null;
2625
+ systemName: string;
2626
+ displayName: string;
2627
+ permissions: {
2628
+ id: string;
2629
+ description: string | null;
2630
+ createdAt: Date;
2631
+ updatedAt: Date;
2632
+ deletedAt: Date | null;
2633
+ systemName: string;
2634
+ displayName: string;
2635
+ }[];
2636
+ }, {
2637
+ id: string;
2638
+ description: string | null;
2639
+ createdAt: Date;
2640
+ updatedAt: Date;
2641
+ deletedAt: Date | null;
2642
+ systemName: string;
2643
+ displayName: string;
2644
+ permissions: {
2645
+ id: string;
2646
+ description: string | null;
2647
+ createdAt: Date;
2648
+ updatedAt: Date;
2649
+ deletedAt: Date | null;
2650
+ systemName: string;
2651
+ displayName: string;
2652
+ }[];
2653
+ }>, "many">;
2654
+ extension: z.ZodObject<{
2655
+ id: z.ZodString;
2656
+ createdAt: z.ZodDate;
2657
+ updatedAt: z.ZodDate;
2658
+ deletedAt: z.ZodNullable<z.ZodDate>;
2659
+ userId: z.ZodNullable<z.ZodString>;
2660
+ sipServerUrl: z.ZodString;
2661
+ sipUserName: z.ZodString;
2662
+ webphoneLoginUser: z.ZodString;
2663
+ extensionId: z.ZodNullable<z.ZodString>;
2664
+ extensionName: z.ZodString;
2665
+ telephonySignature: z.ZodNullable<z.ZodString>;
2666
+ }, "strip", z.ZodTypeAny, {
2667
+ id: string;
2668
+ createdAt: Date;
2669
+ updatedAt: Date;
2670
+ deletedAt: Date | null;
2671
+ userId: string | null;
2672
+ sipServerUrl: string;
2673
+ sipUserName: string;
2674
+ webphoneLoginUser: string;
2675
+ extensionId: string | null;
2676
+ extensionName: string;
2677
+ telephonySignature: string | null;
2678
+ }, {
2679
+ id: string;
2680
+ createdAt: Date;
2681
+ updatedAt: Date;
2682
+ deletedAt: Date | null;
2683
+ userId: string | null;
2684
+ sipServerUrl: string;
2685
+ sipUserName: string;
2686
+ webphoneLoginUser: string;
2687
+ extensionId: string | null;
2688
+ extensionName: string;
2689
+ telephonySignature: string | null;
2690
+ }>;
2691
+ }, "strip", z.ZodTypeAny, {
2692
+ id: string;
2693
+ address: string | null;
2694
+ name: string;
2695
+ email: string;
2696
+ createdAt: Date;
2697
+ updatedAt: Date;
2698
+ deletedAt: Date | null;
2699
+ emailVerifiedAt: Date | null;
2700
+ password: string;
2701
+ phone: string | null;
2702
+ notificationCount: number | null;
2703
+ roles: {
2704
+ id: string;
2705
+ description: string | null;
2706
+ createdAt: Date;
2707
+ updatedAt: Date;
2708
+ deletedAt: Date | null;
2709
+ systemName: string;
2710
+ displayName: string;
2711
+ permissions: {
2712
+ id: string;
2713
+ description: string | null;
2714
+ createdAt: Date;
2715
+ updatedAt: Date;
2716
+ deletedAt: Date | null;
2717
+ systemName: string;
2718
+ displayName: string;
2719
+ }[];
2720
+ }[];
2721
+ extension: {
2722
+ id: string;
2723
+ createdAt: Date;
2724
+ updatedAt: Date;
2725
+ deletedAt: Date | null;
2726
+ userId: string | null;
2727
+ sipServerUrl: string;
2728
+ sipUserName: string;
2729
+ webphoneLoginUser: string;
2730
+ extensionId: string | null;
2731
+ extensionName: string;
2732
+ telephonySignature: string | null;
2733
+ };
2734
+ }, {
2735
+ id: string;
2736
+ address: string | null;
2737
+ name: string;
2738
+ email: string;
2739
+ createdAt: Date;
2740
+ updatedAt: Date;
2741
+ deletedAt: Date | null;
2742
+ emailVerifiedAt: Date | null;
2743
+ password: string;
2744
+ phone: string | null;
2745
+ notificationCount: number | null;
2746
+ roles: {
2747
+ id: string;
2748
+ description: string | null;
2749
+ createdAt: Date;
2750
+ updatedAt: Date;
2751
+ deletedAt: Date | null;
2752
+ systemName: string;
2753
+ displayName: string;
2754
+ permissions: {
2755
+ id: string;
2756
+ description: string | null;
2757
+ createdAt: Date;
2758
+ updatedAt: Date;
2759
+ deletedAt: Date | null;
2760
+ systemName: string;
2761
+ displayName: string;
2762
+ }[];
2763
+ }[];
2764
+ extension: {
2765
+ id: string;
2766
+ createdAt: Date;
2767
+ updatedAt: Date;
2768
+ deletedAt: Date | null;
2769
+ userId: string | null;
2770
+ sipServerUrl: string;
2771
+ sipUserName: string;
2772
+ webphoneLoginUser: string;
2773
+ extensionId: string | null;
2774
+ extensionName: string;
2775
+ telephonySignature: string | null;
2776
+ };
2777
+ }>;
2778
+ agents: z.ZodArray<z.ZodObject<{
2779
+ id: z.ZodString;
2780
+ createdAt: z.ZodDate;
2781
+ updatedAt: z.ZodDate;
2782
+ deletedAt: z.ZodNullable<z.ZodDate>;
2783
+ name: z.ZodString;
2784
+ email: z.ZodString;
2785
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2786
+ password: z.ZodString;
2787
+ address: z.ZodNullable<z.ZodString>;
2788
+ phone: z.ZodNullable<z.ZodString>;
2789
+ notificationCount: z.ZodNullable<z.ZodNumber>;
2790
+ roles: z.ZodArray<z.ZodObject<{
2791
+ id: z.ZodString;
2792
+ createdAt: z.ZodDate;
2793
+ updatedAt: z.ZodDate;
2794
+ deletedAt: z.ZodNullable<z.ZodDate>;
2795
+ systemName: z.ZodString;
2796
+ displayName: z.ZodString;
2797
+ description: z.ZodNullable<z.ZodString>;
2798
+ permissions: z.ZodArray<z.ZodObject<{
2799
+ id: z.ZodString;
2800
+ createdAt: z.ZodDate;
2801
+ updatedAt: z.ZodDate;
2802
+ deletedAt: z.ZodNullable<z.ZodDate>;
2803
+ systemName: z.ZodString;
2804
+ displayName: z.ZodString;
2805
+ description: z.ZodNullable<z.ZodString>;
2806
+ }, "strip", z.ZodTypeAny, {
2807
+ id: string;
2808
+ description: string | null;
2809
+ createdAt: Date;
2810
+ updatedAt: Date;
2811
+ deletedAt: Date | null;
2812
+ systemName: string;
2813
+ displayName: string;
2814
+ }, {
2815
+ id: string;
2816
+ description: string | null;
2817
+ createdAt: Date;
2818
+ updatedAt: Date;
2819
+ deletedAt: Date | null;
2820
+ systemName: string;
2821
+ displayName: string;
2822
+ }>, "many">;
2823
+ }, "strip", z.ZodTypeAny, {
2824
+ id: string;
2825
+ description: string | null;
2826
+ createdAt: Date;
2827
+ updatedAt: Date;
2828
+ deletedAt: Date | null;
2829
+ systemName: string;
2830
+ displayName: string;
2831
+ permissions: {
2832
+ id: string;
2833
+ description: string | null;
2834
+ createdAt: Date;
2835
+ updatedAt: Date;
2836
+ deletedAt: Date | null;
2837
+ systemName: string;
2838
+ displayName: string;
2839
+ }[];
2840
+ }, {
2841
+ id: string;
2842
+ description: string | null;
2843
+ createdAt: Date;
2844
+ updatedAt: Date;
2845
+ deletedAt: Date | null;
2846
+ systemName: string;
2847
+ displayName: string;
2848
+ permissions: {
2849
+ id: string;
2850
+ description: string | null;
2851
+ createdAt: Date;
2852
+ updatedAt: Date;
2853
+ deletedAt: Date | null;
2854
+ systemName: string;
2855
+ displayName: string;
2856
+ }[];
2857
+ }>, "many">;
2858
+ extension: z.ZodObject<{
2859
+ id: z.ZodString;
2860
+ createdAt: z.ZodDate;
2861
+ updatedAt: z.ZodDate;
2862
+ deletedAt: z.ZodNullable<z.ZodDate>;
2863
+ userId: z.ZodNullable<z.ZodString>;
2864
+ sipServerUrl: z.ZodString;
2865
+ sipUserName: z.ZodString;
2866
+ webphoneLoginUser: z.ZodString;
2867
+ extensionId: z.ZodNullable<z.ZodString>;
2868
+ extensionName: z.ZodString;
2869
+ telephonySignature: z.ZodNullable<z.ZodString>;
2870
+ }, "strip", z.ZodTypeAny, {
2871
+ id: string;
2872
+ createdAt: Date;
2873
+ updatedAt: Date;
2874
+ deletedAt: Date | null;
2875
+ userId: string | null;
2876
+ sipServerUrl: string;
2877
+ sipUserName: string;
2878
+ webphoneLoginUser: string;
2879
+ extensionId: string | null;
2880
+ extensionName: string;
2881
+ telephonySignature: string | null;
2882
+ }, {
2883
+ id: string;
2884
+ createdAt: Date;
2885
+ updatedAt: Date;
2886
+ deletedAt: Date | null;
2887
+ userId: string | null;
2888
+ sipServerUrl: string;
2889
+ sipUserName: string;
2890
+ webphoneLoginUser: string;
2891
+ extensionId: string | null;
2892
+ extensionName: string;
2893
+ telephonySignature: string | null;
2894
+ }>;
2895
+ }, "strip", z.ZodTypeAny, {
2896
+ id: string;
2897
+ address: string | null;
2898
+ name: string;
2899
+ email: string;
2900
+ createdAt: Date;
2901
+ updatedAt: Date;
2902
+ deletedAt: Date | null;
2903
+ emailVerifiedAt: Date | null;
2904
+ password: string;
2905
+ phone: string | null;
2906
+ notificationCount: number | null;
2907
+ roles: {
2908
+ id: string;
2909
+ description: string | null;
2910
+ createdAt: Date;
2911
+ updatedAt: Date;
2912
+ deletedAt: Date | null;
2913
+ systemName: string;
2914
+ displayName: string;
2915
+ permissions: {
2916
+ id: string;
2917
+ description: string | null;
2918
+ createdAt: Date;
2919
+ updatedAt: Date;
2920
+ deletedAt: Date | null;
2921
+ systemName: string;
2922
+ displayName: string;
2923
+ }[];
2924
+ }[];
2925
+ extension: {
2926
+ id: string;
2927
+ createdAt: Date;
2928
+ updatedAt: Date;
2929
+ deletedAt: Date | null;
2930
+ userId: string | null;
2931
+ sipServerUrl: string;
2932
+ sipUserName: string;
2933
+ webphoneLoginUser: string;
2934
+ extensionId: string | null;
2935
+ extensionName: string;
2936
+ telephonySignature: string | null;
2937
+ };
2938
+ }, {
2939
+ id: string;
2940
+ address: string | null;
2941
+ name: string;
2942
+ email: string;
2943
+ createdAt: Date;
2944
+ updatedAt: Date;
2945
+ deletedAt: Date | null;
2946
+ emailVerifiedAt: Date | null;
2947
+ password: string;
2948
+ phone: string | null;
2949
+ notificationCount: number | null;
2950
+ roles: {
2951
+ id: string;
2952
+ description: string | null;
2953
+ createdAt: Date;
2954
+ updatedAt: Date;
2955
+ deletedAt: Date | null;
2956
+ systemName: string;
2957
+ displayName: string;
2958
+ permissions: {
2959
+ id: string;
2960
+ description: string | null;
2961
+ createdAt: Date;
2962
+ updatedAt: Date;
2963
+ deletedAt: Date | null;
2964
+ systemName: string;
2965
+ displayName: string;
2966
+ }[];
2967
+ }[];
2968
+ extension: {
2969
+ id: string;
2970
+ createdAt: Date;
2971
+ updatedAt: Date;
2972
+ deletedAt: Date | null;
2973
+ userId: string | null;
2974
+ sipServerUrl: string;
2975
+ sipUserName: string;
2976
+ webphoneLoginUser: string;
2977
+ extensionId: string | null;
2978
+ extensionName: string;
2979
+ telephonySignature: string | null;
2980
+ };
2981
+ }>, "many">;
2982
+ }>, "strip", z.ZodTypeAny, {
2983
+ id: string;
2984
+ name: string;
2985
+ description: string | null;
2986
+ createdAt: Date;
2987
+ updatedAt: Date;
2988
+ deletedAt: Date | null;
2989
+ agents: {
2990
+ id: string;
2991
+ address: string | null;
2992
+ name: string;
2993
+ email: string;
2994
+ createdAt: Date;
2995
+ updatedAt: Date;
2996
+ deletedAt: Date | null;
2997
+ emailVerifiedAt: Date | null;
2998
+ password: string;
2999
+ phone: string | null;
3000
+ notificationCount: number | null;
3001
+ roles: {
3002
+ id: string;
3003
+ description: string | null;
3004
+ createdAt: Date;
3005
+ updatedAt: Date;
3006
+ deletedAt: Date | null;
3007
+ systemName: string;
3008
+ displayName: string;
3009
+ permissions: {
3010
+ id: string;
3011
+ description: string | null;
3012
+ createdAt: Date;
3013
+ updatedAt: Date;
3014
+ deletedAt: Date | null;
3015
+ systemName: string;
3016
+ displayName: string;
3017
+ }[];
3018
+ }[];
3019
+ extension: {
3020
+ id: string;
3021
+ createdAt: Date;
3022
+ updatedAt: Date;
3023
+ deletedAt: Date | null;
3024
+ userId: string | null;
3025
+ sipServerUrl: string;
3026
+ sipUserName: string;
3027
+ webphoneLoginUser: string;
3028
+ extensionId: string | null;
3029
+ extensionName: string;
3030
+ telephonySignature: string | null;
3031
+ };
3032
+ }[];
3033
+ distributionStrategy: string;
3034
+ maximumAssignPerAgent: number;
3035
+ isDeniable: boolean;
3036
+ manager: {
3037
+ id: string;
3038
+ address: string | null;
3039
+ name: string;
3040
+ email: string;
3041
+ createdAt: Date;
3042
+ updatedAt: Date;
3043
+ deletedAt: Date | null;
3044
+ emailVerifiedAt: Date | null;
3045
+ password: string;
3046
+ phone: string | null;
3047
+ notificationCount: number | null;
3048
+ roles: {
3049
+ id: string;
3050
+ description: string | null;
3051
+ createdAt: Date;
3052
+ updatedAt: Date;
3053
+ deletedAt: Date | null;
3054
+ systemName: string;
3055
+ displayName: string;
3056
+ permissions: {
3057
+ id: string;
3058
+ description: string | null;
3059
+ createdAt: Date;
3060
+ updatedAt: Date;
3061
+ deletedAt: Date | null;
3062
+ systemName: string;
3063
+ displayName: string;
3064
+ }[];
3065
+ }[];
3066
+ extension: {
3067
+ id: string;
3068
+ createdAt: Date;
3069
+ updatedAt: Date;
3070
+ deletedAt: Date | null;
3071
+ userId: string | null;
3072
+ sipServerUrl: string;
3073
+ sipUserName: string;
3074
+ webphoneLoginUser: string;
3075
+ extensionId: string | null;
3076
+ extensionName: string;
3077
+ telephonySignature: string | null;
3078
+ };
3079
+ };
3080
+ }, {
3081
+ id: string;
3082
+ name: string;
3083
+ description: string | null;
3084
+ createdAt: Date;
3085
+ updatedAt: Date;
3086
+ deletedAt: Date | null;
3087
+ agents: {
3088
+ id: string;
3089
+ address: string | null;
3090
+ name: string;
3091
+ email: string;
3092
+ createdAt: Date;
3093
+ updatedAt: Date;
3094
+ deletedAt: Date | null;
3095
+ emailVerifiedAt: Date | null;
3096
+ password: string;
3097
+ phone: string | null;
3098
+ notificationCount: number | null;
3099
+ roles: {
3100
+ id: string;
3101
+ description: string | null;
3102
+ createdAt: Date;
3103
+ updatedAt: Date;
3104
+ deletedAt: Date | null;
3105
+ systemName: string;
3106
+ displayName: string;
3107
+ permissions: {
3108
+ id: string;
3109
+ description: string | null;
3110
+ createdAt: Date;
3111
+ updatedAt: Date;
3112
+ deletedAt: Date | null;
3113
+ systemName: string;
3114
+ displayName: string;
3115
+ }[];
3116
+ }[];
3117
+ extension: {
3118
+ id: string;
3119
+ createdAt: Date;
3120
+ updatedAt: Date;
3121
+ deletedAt: Date | null;
3122
+ userId: string | null;
3123
+ sipServerUrl: string;
3124
+ sipUserName: string;
3125
+ webphoneLoginUser: string;
3126
+ extensionId: string | null;
3127
+ extensionName: string;
3128
+ telephonySignature: string | null;
3129
+ };
3130
+ }[];
3131
+ distributionStrategy: string;
3132
+ maximumAssignPerAgent: number;
3133
+ isDeniable: boolean;
3134
+ manager: {
3135
+ id: string;
3136
+ address: string | null;
3137
+ name: string;
3138
+ email: string;
3139
+ createdAt: Date;
3140
+ updatedAt: Date;
3141
+ deletedAt: Date | null;
3142
+ emailVerifiedAt: Date | null;
3143
+ password: string;
3144
+ phone: string | null;
3145
+ notificationCount: number | null;
3146
+ roles: {
3147
+ id: string;
3148
+ description: string | null;
3149
+ createdAt: Date;
3150
+ updatedAt: Date;
3151
+ deletedAt: Date | null;
3152
+ systemName: string;
3153
+ displayName: string;
3154
+ permissions: {
3155
+ id: string;
3156
+ description: string | null;
3157
+ createdAt: Date;
3158
+ updatedAt: Date;
3159
+ deletedAt: Date | null;
3160
+ systemName: string;
3161
+ displayName: string;
3162
+ }[];
3163
+ }[];
3164
+ extension: {
3165
+ id: string;
3166
+ createdAt: Date;
3167
+ updatedAt: Date;
3168
+ deletedAt: Date | null;
3169
+ userId: string | null;
3170
+ sipServerUrl: string;
3171
+ sipUserName: string;
3172
+ webphoneLoginUser: string;
3173
+ extensionId: string | null;
3174
+ extensionName: string;
3175
+ telephonySignature: string | null;
3176
+ };
3177
+ };
3178
+ }>;
3179
+ }>, "strip", z.ZodTypeAny, {
3180
+ data: {
3181
+ id: string;
3182
+ name: string;
3183
+ description: string | null;
3184
+ createdAt: Date;
3185
+ updatedAt: Date;
3186
+ deletedAt: Date | null;
3187
+ agents: {
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
+ distributionStrategy: string;
3232
+ maximumAssignPerAgent: number;
3233
+ isDeniable: boolean;
3234
+ manager: {
3235
+ id: string;
3236
+ address: string | null;
3237
+ name: string;
3238
+ email: string;
3239
+ createdAt: Date;
3240
+ updatedAt: Date;
3241
+ deletedAt: Date | null;
3242
+ emailVerifiedAt: Date | null;
3243
+ password: string;
3244
+ phone: string | null;
3245
+ notificationCount: number | null;
3246
+ roles: {
3247
+ id: string;
3248
+ description: string | null;
3249
+ createdAt: Date;
3250
+ updatedAt: Date;
3251
+ deletedAt: Date | null;
3252
+ systemName: string;
3253
+ displayName: string;
3254
+ permissions: {
3255
+ id: string;
3256
+ description: string | null;
3257
+ createdAt: Date;
3258
+ updatedAt: Date;
3259
+ deletedAt: Date | null;
3260
+ systemName: string;
3261
+ displayName: string;
3262
+ }[];
3263
+ }[];
3264
+ extension: {
3265
+ id: string;
3266
+ createdAt: Date;
3267
+ updatedAt: Date;
3268
+ deletedAt: Date | null;
3269
+ userId: string | null;
3270
+ sipServerUrl: string;
3271
+ sipUserName: string;
3272
+ webphoneLoginUser: string;
3273
+ extensionId: string | null;
3274
+ extensionName: string;
3275
+ telephonySignature: string | null;
3276
+ };
3277
+ };
3278
+ };
3279
+ requestId: string;
3280
+ }, {
3281
+ data: {
3282
+ id: string;
3283
+ name: string;
3284
+ description: string | null;
3285
+ createdAt: Date;
3286
+ updatedAt: Date;
3287
+ deletedAt: Date | null;
3288
+ agents: {
3289
+ id: string;
3290
+ address: string | null;
3291
+ name: string;
3292
+ email: string;
3293
+ createdAt: Date;
3294
+ updatedAt: Date;
3295
+ deletedAt: Date | null;
3296
+ emailVerifiedAt: Date | null;
3297
+ password: string;
3298
+ phone: string | null;
3299
+ notificationCount: number | null;
3300
+ roles: {
3301
+ id: string;
3302
+ description: string | null;
3303
+ createdAt: Date;
3304
+ updatedAt: Date;
3305
+ deletedAt: Date | null;
3306
+ systemName: string;
3307
+ displayName: string;
3308
+ permissions: {
3309
+ id: string;
3310
+ description: string | null;
3311
+ createdAt: Date;
3312
+ updatedAt: Date;
3313
+ deletedAt: Date | null;
3314
+ systemName: string;
3315
+ displayName: string;
3316
+ }[];
3317
+ }[];
3318
+ extension: {
3319
+ id: string;
3320
+ createdAt: Date;
3321
+ updatedAt: Date;
3322
+ deletedAt: Date | null;
3323
+ userId: string | null;
3324
+ sipServerUrl: string;
3325
+ sipUserName: string;
3326
+ webphoneLoginUser: string;
3327
+ extensionId: string | null;
3328
+ extensionName: string;
3329
+ telephonySignature: string | null;
3330
+ };
3331
+ }[];
3332
+ distributionStrategy: string;
3333
+ maximumAssignPerAgent: number;
3334
+ isDeniable: boolean;
3335
+ manager: {
3336
+ id: string;
3337
+ address: string | null;
3338
+ name: string;
3339
+ email: string;
3340
+ createdAt: Date;
3341
+ updatedAt: Date;
3342
+ deletedAt: Date | null;
3343
+ emailVerifiedAt: Date | null;
3344
+ password: string;
3345
+ phone: string | null;
3346
+ notificationCount: number | null;
3347
+ roles: {
3348
+ id: string;
3349
+ description: string | null;
3350
+ createdAt: Date;
3351
+ updatedAt: Date;
3352
+ deletedAt: Date | null;
3353
+ systemName: string;
3354
+ displayName: string;
3355
+ permissions: {
3356
+ id: string;
3357
+ description: string | null;
3358
+ createdAt: Date;
3359
+ updatedAt: Date;
3360
+ deletedAt: Date | null;
3361
+ systemName: string;
3362
+ displayName: string;
3363
+ }[];
3364
+ }[];
3365
+ extension: {
3366
+ id: string;
3367
+ createdAt: Date;
3368
+ updatedAt: Date;
3369
+ deletedAt: Date | null;
3370
+ userId: string | null;
3371
+ sipServerUrl: string;
3372
+ sipUserName: string;
3373
+ webphoneLoginUser: string;
3374
+ extensionId: string | null;
3375
+ extensionName: string;
3376
+ telephonySignature: string | null;
3377
+ };
3378
+ };
3379
+ };
3380
+ requestId: string;
3381
+ }>;
3382
+ };
3383
+ };
3384
+ deleteAutomationQueue: {
3385
+ body: null;
3386
+ method: "DELETE";
3387
+ pathParams: z.ZodObject<{
3388
+ id: z.ZodString;
3389
+ }, "strip", z.ZodTypeAny, {
3390
+ id: string;
3391
+ }, {
3392
+ id: string;
3393
+ }>;
3394
+ path: "/automation-queue/:id";
3395
+ responses: {
3396
+ 200: z.ZodObject<z.objectUtil.extendShape<{
3397
+ requestId: z.ZodString;
3398
+ }, {
3399
+ message: z.ZodString;
3400
+ }>, "strip", z.ZodTypeAny, {
3401
+ message: string;
3402
+ requestId: string;
3403
+ }, {
3404
+ message: string;
3405
+ requestId: string;
3406
+ }>;
3407
+ };
3408
+ };
3409
+ };
3410
+ //# sourceMappingURL=index.d.ts.map