@dakkitor/api-contracts 1.8.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/abilities/abilities.contract.d.ts +1 -1
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +1 -0
  4. package/dist/abilities/abilities.contract.spec.js +11 -0
  5. package/dist/abilities/second-agent.abilities.json +16 -0
  6. package/dist/actives/actives.contract.d.ts +6327 -6196
  7. package/dist/actives/actives.contract.d.ts.map +1 -1
  8. package/dist/agent-client-links/agent-client-links.contract.d.ts +1148 -1046
  9. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  10. package/dist/auth/auth.contract.d.ts +23 -23
  11. package/dist/bookings/bookings.contract.d.ts +9238 -9006
  12. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  13. package/dist/call-history/call-history.contract.d.ts +768 -731
  14. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  15. package/dist/calls-feed/calls-feed.contract.d.ts +99 -92
  16. package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
  17. package/dist/candidate-calling/candidate-calling.contract.d.ts +13397 -0
  18. package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
  19. package/dist/candidate-calling/candidate-calling.contract.js +206 -0
  20. package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
  21. package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
  22. package/dist/candidate-calling/candidate-calling.contract.spec.js +193 -0
  23. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2738 -2634
  24. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
  25. package/dist/collaborations/collaborations.contract.d.ts +2281 -2184
  26. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  27. package/dist/cron-executions/cron-executions.contract.d.ts +7 -7
  28. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
  29. package/dist/cron-executions/cron-executions.contract.js +1 -0
  30. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2663 -2045
  31. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
  32. package/dist/curated-worker-leads/candidate-coordination.contract.js +37 -4
  33. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +228 -228
  34. package/dist/curated-worker-leads/contact-history.spec.js +55 -0
  35. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +1928 -1928
  36. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  37. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +36 -36
  38. package/dist/curated-workers/curated-workers.contract.d.ts +1195 -1195
  39. package/dist/dashboards/dashboard-widgets.contract.d.ts +396 -396
  40. package/dist/dashboards/dashboard.contract.d.ts +16 -16
  41. package/dist/export-jobs/export-jobs.contract.d.ts +675 -675
  42. package/dist/exports-events/exports-events.schemas.d.ts +4 -4
  43. package/dist/index.d.ts +4 -0
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js +4 -0
  46. package/dist/jobs/jobs.contract.d.ts +7903 -7645
  47. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  48. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +72 -72
  49. package/dist/lead-assignments/lead-assignments.contract.d.ts +999 -928
  50. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
  51. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +244 -220
  52. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
  53. package/dist/leads/leads.contract.d.ts +259 -259
  54. package/dist/notifications/notifications.contract.d.ts +67 -67
  55. package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
  56. package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
  57. package/dist/outreach/outreach.contract.d.ts +583 -162
  58. package/dist/outreach/outreach.contract.d.ts.map +1 -1
  59. package/dist/outreach/outreach.contract.js +50 -1
  60. package/dist/outreach/relay-hub-outreach.contract.d.ts +299 -121
  61. package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -1
  62. package/dist/outreach/relay-hub-outreach.contract.js +10 -0
  63. package/dist/outreach/relay-hub-outreach.contract.spec.js +26 -0
  64. package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
  65. package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
  66. package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
  67. package/dist/own-research/check-phone-response.spec.d.ts +2 -0
  68. package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
  69. package/dist/own-research/check-phone-response.spec.js +54 -0
  70. package/dist/own-research/own-research.contract.d.ts +801 -716
  71. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  72. package/dist/own-research/own-research.contract.js +6 -1
  73. package/dist/user-access-grants/user-access-grants.contract.d.ts +179 -179
  74. package/dist/users/users.contract.d.ts +227 -198
  75. package/dist/users/users.contract.d.ts.map +1 -1
  76. package/dist/users/users.contract.js +9 -1
  77. package/dist/users/users.contract.spec.js +39 -0
  78. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +124 -124
  79. package/dist/workers/workers.contract.d.ts +2761 -2717
  80. package/dist/workers/workers.contract.d.ts.map +1 -1
  81. package/dist/workers/workers.contract.js +12 -0
  82. package/package.json +1 -1
@@ -16,6 +16,7 @@ export declare const UserRoleSchema: z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_
16
16
  */
17
17
  export declare const AssignableRolesSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">, ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[], ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[]>, ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[], ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[]>, ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[], ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[]>;
18
18
  export declare const UserStatusSchema: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
19
+ export declare const DialpadUserIdSchema: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>;
19
20
  export declare const UserSortableFieldsSchema: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
20
21
  /** Maps sort field values to ability field paths on SortUserSchema. */
21
22
  export declare const UserSortFieldMapping: Record<string, string>;
@@ -150,16 +151,16 @@ export declare const UserSchema: z.ZodObject<{
150
151
  firstName: string;
151
152
  }>, "many">>;
152
153
  }, "strip", z.ZodTypeAny, {
153
- id: string;
154
154
  name: string;
155
+ id: string;
155
156
  managers?: {
156
157
  id: string;
157
158
  lastName: string;
158
159
  firstName: string;
159
160
  }[] | undefined;
160
161
  }, {
161
- id: string;
162
162
  name: string;
163
+ id: string;
163
164
  managers?: {
164
165
  id: string;
165
166
  lastName: string;
@@ -180,15 +181,16 @@ export declare const UserSchema: z.ZodObject<{
180
181
  firstName: string;
181
182
  }>, "many">>;
182
183
  status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
184
+ dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
183
185
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
184
186
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
185
187
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
186
188
  }, "strip", z.ZodTypeAny, {
187
- status: "ACTIVE" | "INACTIVE";
188
- id: string;
189
- updatedAt: string;
190
- createdAt: string;
191
189
  email: string;
190
+ createdAt: string;
191
+ updatedAt: string;
192
+ id: string;
193
+ status: "ACTIVE" | "INACTIVE";
192
194
  lastName: string;
193
195
  firstName: string;
194
196
  phoneNumbers: {
@@ -200,8 +202,8 @@ export declare const UserSchema: z.ZodObject<{
200
202
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
201
203
  officeId?: string | null | undefined;
202
204
  office?: {
203
- id: string;
204
205
  name: string;
206
+ id: string;
205
207
  managers?: {
206
208
  id: string;
207
209
  lastName: string;
@@ -213,20 +215,21 @@ export declare const UserSchema: z.ZodObject<{
213
215
  lastName: string;
214
216
  firstName: string;
215
217
  }[] | undefined;
218
+ dialpadUserId?: string | null | undefined;
216
219
  deletedAt?: string | null | undefined;
217
220
  }, {
218
- status: "ACTIVE" | "INACTIVE";
219
- id: string;
220
- updatedAt: string | Date;
221
- createdAt: string | Date;
222
221
  email: string;
222
+ createdAt: string | Date;
223
+ updatedAt: string | Date;
224
+ id: string;
225
+ status: "ACTIVE" | "INACTIVE";
223
226
  lastName: string;
224
227
  firstName: string;
225
228
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
226
229
  officeId?: string | null | undefined;
227
230
  office?: {
228
- id: string;
229
231
  name: string;
232
+ id: string;
230
233
  managers?: {
231
234
  id: string;
232
235
  lastName: string;
@@ -244,6 +247,7 @@ export declare const UserSchema: z.ZodObject<{
244
247
  lastName: string;
245
248
  firstName: string;
246
249
  }[] | undefined;
250
+ dialpadUserId?: string | null | undefined;
247
251
  deletedAt?: string | Date | null | undefined;
248
252
  }>;
249
253
  export declare const CreateUserSchema: z.ZodObject<{
@@ -276,9 +280,9 @@ export declare const CreateUserSchema: z.ZodObject<{
276
280
  officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
281
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>>;
278
282
  }, "strip", z.ZodTypeAny, {
279
- status: "ACTIVE" | "INACTIVE";
280
283
  password: string;
281
284
  email: string;
285
+ status: "ACTIVE" | "INACTIVE";
282
286
  lastName: string;
283
287
  firstName: string;
284
288
  phoneNumbers: {
@@ -347,10 +351,11 @@ export declare const UpdateUserSchema: z.ZodObject<{
347
351
  officeId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
348
352
  canImpersonateUserIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
349
353
  status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>;
354
+ dialpadUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>>;
350
355
  }, "strip", z.ZodTypeAny, {
351
- status?: "ACTIVE" | "INACTIVE" | undefined;
352
356
  password?: string | undefined;
353
357
  email?: string | undefined;
358
+ status?: "ACTIVE" | "INACTIVE" | undefined;
354
359
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
355
360
  officeId?: string | null | undefined;
356
361
  lastName?: string | undefined;
@@ -361,11 +366,12 @@ export declare const UpdateUserSchema: z.ZodObject<{
361
366
  phoneNumber?: string | undefined;
362
367
  isPrimary?: boolean | undefined;
363
368
  }[] | undefined;
369
+ dialpadUserId?: string | null | undefined;
364
370
  canImpersonateUserIds?: string[] | undefined;
365
371
  }, {
366
- status?: "ACTIVE" | "INACTIVE" | undefined;
367
372
  password?: string | undefined;
368
373
  email?: string | undefined;
374
+ status?: "ACTIVE" | "INACTIVE" | undefined;
369
375
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
370
376
  officeId?: string | null | undefined;
371
377
  lastName?: string | undefined;
@@ -376,6 +382,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
376
382
  phoneNumber?: string | undefined;
377
383
  isPrimary?: boolean | undefined;
378
384
  }[] | undefined;
385
+ dialpadUserId?: string | null | undefined;
379
386
  canImpersonateUserIds?: string[] | undefined;
380
387
  }>;
381
388
  export declare const BulkUpdateUserDataSchema: z.ZodObject<{
@@ -471,55 +478,55 @@ export declare const FilterUserSchema: z.ZodObject<{
471
478
  field: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
472
479
  order: z.ZodEnum<["ASC", "DESC"]>;
473
480
  }, "strip", z.ZodTypeAny, {
474
- field: "createdAt" | "email" | "lastName" | "firstName" | "office";
481
+ field: "email" | "createdAt" | "lastName" | "firstName" | "office";
475
482
  order: "ASC" | "DESC";
476
483
  }, {
477
- field: "createdAt" | "email" | "lastName" | "firstName" | "office";
484
+ field: "email" | "createdAt" | "lastName" | "firstName" | "office";
478
485
  order: "ASC" | "DESC";
479
486
  }>, "many">>>;
480
487
  }, "strip", z.ZodTypeAny, {
481
488
  page: number;
482
489
  limit: number;
483
- status?: "ACTIVE" | "INACTIVE" | undefined;
490
+ name?: string | undefined;
491
+ email?: string | undefined;
492
+ phone?: string | undefined;
484
493
  sort?: {
485
- field: "createdAt" | "email" | "lastName" | "firstName" | "office";
494
+ field: "email" | "createdAt" | "lastName" | "firstName" | "office";
486
495
  order: "ASC" | "DESC";
487
496
  }[] | null | undefined;
488
- name?: string | undefined;
489
- updatedAt?: {
497
+ createdAt?: {
490
498
  from?: string | null | undefined;
491
499
  to?: string | null | undefined;
492
500
  } | null | undefined;
493
- createdAt?: {
501
+ updatedAt?: {
494
502
  from?: string | null | undefined;
495
503
  to?: string | null | undefined;
496
504
  } | null | undefined;
497
- phone?: string | undefined;
498
- email?: string | undefined;
505
+ status?: "ACTIVE" | "INACTIVE" | undefined;
499
506
  roles?: {
500
507
  values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
501
508
  requireAll?: boolean | undefined;
502
509
  } | undefined;
503
510
  officeId?: string | undefined;
504
511
  }, {
505
- status?: "ACTIVE" | "INACTIVE" | undefined;
512
+ name?: string | undefined;
513
+ email?: string | undefined;
514
+ phone?: string | undefined;
506
515
  sort?: {
507
- field: "createdAt" | "email" | "lastName" | "firstName" | "office";
516
+ field: "email" | "createdAt" | "lastName" | "firstName" | "office";
508
517
  order: "ASC" | "DESC";
509
518
  }[] | null | undefined;
510
- page?: number | undefined;
511
- limit?: number | undefined;
512
- name?: string | undefined;
513
- updatedAt?: {
519
+ createdAt?: {
514
520
  from?: string | null | undefined;
515
521
  to?: string | null | undefined;
516
522
  } | null | undefined;
517
- createdAt?: {
523
+ updatedAt?: {
518
524
  from?: string | null | undefined;
519
525
  to?: string | null | undefined;
520
526
  } | null | undefined;
521
- phone?: string | undefined;
522
- email?: string | undefined;
527
+ page?: number | undefined;
528
+ limit?: number | undefined;
529
+ status?: "ACTIVE" | "INACTIVE" | undefined;
523
530
  roles?: {
524
531
  values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
525
532
  requireAll?: unknown;
@@ -556,8 +563,8 @@ export declare const ProfileSchema: z.ZodObject<{
556
563
  telegramUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
557
564
  telegramLinkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
558
565
  }, "strip", z.ZodTypeAny, {
559
- id: string;
560
566
  email: string;
567
+ id: string;
561
568
  phoneNumbers: {
562
569
  id: string;
563
570
  phoneNumber: string;
@@ -575,8 +582,8 @@ export declare const ProfileSchema: z.ZodObject<{
575
582
  telegramUsername?: string | null | undefined;
576
583
  telegramLinkedAt?: string | null | undefined;
577
584
  }, {
578
- id: string;
579
585
  email: string;
586
+ id: string;
580
587
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
581
588
  lastName?: string | undefined;
582
589
  firstName?: string | undefined;
@@ -659,16 +666,16 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
659
666
  firstName: string;
660
667
  }>, "many">>;
661
668
  }, "strip", z.ZodTypeAny, {
662
- id: string;
663
669
  name: string;
670
+ id: string;
664
671
  managers?: {
665
672
  id: string;
666
673
  lastName: string;
667
674
  firstName: string;
668
675
  }[] | undefined;
669
676
  }, {
670
- id: string;
671
677
  name: string;
678
+ id: string;
672
679
  managers?: {
673
680
  id: string;
674
681
  lastName: string;
@@ -689,15 +696,16 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
689
696
  firstName: string;
690
697
  }>, "many">>;
691
698
  status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
699
+ dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
692
700
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
693
701
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
694
702
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
695
703
  }, "strip", z.ZodTypeAny, {
696
- status: "ACTIVE" | "INACTIVE";
697
- id: string;
698
- updatedAt: string;
699
- createdAt: string;
700
704
  email: string;
705
+ createdAt: string;
706
+ updatedAt: string;
707
+ id: string;
708
+ status: "ACTIVE" | "INACTIVE";
701
709
  lastName: string;
702
710
  firstName: string;
703
711
  phoneNumbers: {
@@ -709,8 +717,8 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
709
717
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
710
718
  officeId?: string | null | undefined;
711
719
  office?: {
712
- id: string;
713
720
  name: string;
721
+ id: string;
714
722
  managers?: {
715
723
  id: string;
716
724
  lastName: string;
@@ -722,20 +730,21 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
722
730
  lastName: string;
723
731
  firstName: string;
724
732
  }[] | undefined;
733
+ dialpadUserId?: string | null | undefined;
725
734
  deletedAt?: string | null | undefined;
726
735
  }, {
727
- status: "ACTIVE" | "INACTIVE";
728
- id: string;
729
- updatedAt: string | Date;
730
- createdAt: string | Date;
731
736
  email: string;
737
+ createdAt: string | Date;
738
+ updatedAt: string | Date;
739
+ id: string;
740
+ status: "ACTIVE" | "INACTIVE";
732
741
  lastName: string;
733
742
  firstName: string;
734
743
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
735
744
  officeId?: string | null | undefined;
736
745
  office?: {
737
- id: string;
738
746
  name: string;
747
+ id: string;
739
748
  managers?: {
740
749
  id: string;
741
750
  lastName: string;
@@ -753,6 +762,7 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
753
762
  lastName: string;
754
763
  firstName: string;
755
764
  }[] | undefined;
765
+ dialpadUserId?: string | null | undefined;
756
766
  deletedAt?: string | Date | null | undefined;
757
767
  }>, "many">;
758
768
  totalCount: z.ZodNumber;
@@ -763,11 +773,11 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
763
773
  }, "strip", z.ZodTypeAny, {
764
774
  limit: number;
765
775
  items: {
766
- status: "ACTIVE" | "INACTIVE";
767
- id: string;
768
- updatedAt: string;
769
- createdAt: string;
770
776
  email: string;
777
+ createdAt: string;
778
+ updatedAt: string;
779
+ id: string;
780
+ status: "ACTIVE" | "INACTIVE";
771
781
  lastName: string;
772
782
  firstName: string;
773
783
  phoneNumbers: {
@@ -779,8 +789,8 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
779
789
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
780
790
  officeId?: string | null | undefined;
781
791
  office?: {
782
- id: string;
783
792
  name: string;
793
+ id: string;
784
794
  managers?: {
785
795
  id: string;
786
796
  lastName: string;
@@ -792,6 +802,7 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
792
802
  lastName: string;
793
803
  firstName: string;
794
804
  }[] | undefined;
805
+ dialpadUserId?: string | null | undefined;
795
806
  deletedAt?: string | null | undefined;
796
807
  }[];
797
808
  totalCount: number;
@@ -801,18 +812,18 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
801
812
  }, {
802
813
  limit: number;
803
814
  items: {
804
- status: "ACTIVE" | "INACTIVE";
805
- id: string;
806
- updatedAt: string | Date;
807
- createdAt: string | Date;
808
815
  email: string;
816
+ createdAt: string | Date;
817
+ updatedAt: string | Date;
818
+ id: string;
819
+ status: "ACTIVE" | "INACTIVE";
809
820
  lastName: string;
810
821
  firstName: string;
811
822
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
812
823
  officeId?: string | null | undefined;
813
824
  office?: {
814
- id: string;
815
825
  name: string;
826
+ id: string;
816
827
  managers?: {
817
828
  id: string;
818
829
  lastName: string;
@@ -830,6 +841,7 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
830
841
  lastName: string;
831
842
  firstName: string;
832
843
  }[] | undefined;
844
+ dialpadUserId?: string | null | undefined;
833
845
  deletedAt?: string | Date | null | undefined;
834
846
  }[];
835
847
  totalCount: number;
@@ -1024,9 +1036,9 @@ export declare const usersContract: {
1024
1036
  officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1025
1037
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>>;
1026
1038
  }, "strip", z.ZodTypeAny, {
1027
- status: "ACTIVE" | "INACTIVE";
1028
1039
  password: string;
1029
1040
  email: string;
1041
+ status: "ACTIVE" | "INACTIVE";
1030
1042
  lastName: string;
1031
1043
  firstName: string;
1032
1044
  phoneNumbers: {
@@ -1077,7 +1089,7 @@ export declare const usersContract: {
1077
1089
  details?: unknown;
1078
1090
  correlationId?: string | undefined;
1079
1091
  }>;
1080
- 401: z.ZodObject<{
1092
+ 403: z.ZodObject<{
1081
1093
  statusCode: z.ZodNumber;
1082
1094
  message: z.ZodString;
1083
1095
  code: z.ZodString;
@@ -1102,7 +1114,7 @@ export declare const usersContract: {
1102
1114
  details?: unknown;
1103
1115
  correlationId?: string | undefined;
1104
1116
  }>;
1105
- 403: z.ZodObject<{
1117
+ 401: z.ZodObject<{
1106
1118
  statusCode: z.ZodNumber;
1107
1119
  message: z.ZodString;
1108
1120
  code: z.ZodString;
@@ -1192,16 +1204,16 @@ export declare const usersContract: {
1192
1204
  firstName: string;
1193
1205
  }>, "many">>;
1194
1206
  }, "strip", z.ZodTypeAny, {
1195
- id: string;
1196
1207
  name: string;
1208
+ id: string;
1197
1209
  managers?: {
1198
1210
  id: string;
1199
1211
  lastName: string;
1200
1212
  firstName: string;
1201
1213
  }[] | undefined;
1202
1214
  }, {
1203
- id: string;
1204
1215
  name: string;
1216
+ id: string;
1205
1217
  managers?: {
1206
1218
  id: string;
1207
1219
  lastName: string;
@@ -1222,15 +1234,16 @@ export declare const usersContract: {
1222
1234
  firstName: string;
1223
1235
  }>, "many">>;
1224
1236
  status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
1237
+ dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
1225
1238
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1226
1239
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1227
1240
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
1228
1241
  }, "strip", z.ZodTypeAny, {
1229
- status: "ACTIVE" | "INACTIVE";
1230
- id: string;
1231
- updatedAt: string;
1232
- createdAt: string;
1233
1242
  email: string;
1243
+ createdAt: string;
1244
+ updatedAt: string;
1245
+ id: string;
1246
+ status: "ACTIVE" | "INACTIVE";
1234
1247
  lastName: string;
1235
1248
  firstName: string;
1236
1249
  phoneNumbers: {
@@ -1242,8 +1255,8 @@ export declare const usersContract: {
1242
1255
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
1243
1256
  officeId?: string | null | undefined;
1244
1257
  office?: {
1245
- id: string;
1246
1258
  name: string;
1259
+ id: string;
1247
1260
  managers?: {
1248
1261
  id: string;
1249
1262
  lastName: string;
@@ -1255,20 +1268,21 @@ export declare const usersContract: {
1255
1268
  lastName: string;
1256
1269
  firstName: string;
1257
1270
  }[] | undefined;
1271
+ dialpadUserId?: string | null | undefined;
1258
1272
  deletedAt?: string | null | undefined;
1259
1273
  }, {
1260
- status: "ACTIVE" | "INACTIVE";
1261
- id: string;
1262
- updatedAt: string | Date;
1263
- createdAt: string | Date;
1264
1274
  email: string;
1275
+ createdAt: string | Date;
1276
+ updatedAt: string | Date;
1277
+ id: string;
1278
+ status: "ACTIVE" | "INACTIVE";
1265
1279
  lastName: string;
1266
1280
  firstName: string;
1267
1281
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
1268
1282
  officeId?: string | null | undefined;
1269
1283
  office?: {
1270
- id: string;
1271
1284
  name: string;
1285
+ id: string;
1272
1286
  managers?: {
1273
1287
  id: string;
1274
1288
  lastName: string;
@@ -1286,6 +1300,7 @@ export declare const usersContract: {
1286
1300
  lastName: string;
1287
1301
  firstName: string;
1288
1302
  }[] | undefined;
1303
+ dialpadUserId?: string | null | undefined;
1289
1304
  deletedAt?: string | Date | null | undefined;
1290
1305
  }>;
1291
1306
  409: z.ZodObject<{
@@ -1316,6 +1331,9 @@ export declare const usersContract: {
1316
1331
  };
1317
1332
  };
1318
1333
  findAll: {
1334
+ metadata: {
1335
+ tags: string[];
1336
+ };
1319
1337
  query: z.ZodObject<{
1320
1338
  limit: z.ZodDefault<z.ZodNumber>;
1321
1339
  page: z.ZodDefault<z.ZodNumber>;
@@ -1359,64 +1377,61 @@ export declare const usersContract: {
1359
1377
  field: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
1360
1378
  order: z.ZodEnum<["ASC", "DESC"]>;
1361
1379
  }, "strip", z.ZodTypeAny, {
1362
- field: "createdAt" | "email" | "lastName" | "firstName" | "office";
1380
+ field: "email" | "createdAt" | "lastName" | "firstName" | "office";
1363
1381
  order: "ASC" | "DESC";
1364
1382
  }, {
1365
- field: "createdAt" | "email" | "lastName" | "firstName" | "office";
1383
+ field: "email" | "createdAt" | "lastName" | "firstName" | "office";
1366
1384
  order: "ASC" | "DESC";
1367
1385
  }>, "many">>>;
1368
1386
  }, "strip", z.ZodTypeAny, {
1369
1387
  page: number;
1370
1388
  limit: number;
1371
- status?: "ACTIVE" | "INACTIVE" | undefined;
1389
+ name?: string | undefined;
1390
+ email?: string | undefined;
1391
+ phone?: string | undefined;
1372
1392
  sort?: {
1373
- field: "createdAt" | "email" | "lastName" | "firstName" | "office";
1393
+ field: "email" | "createdAt" | "lastName" | "firstName" | "office";
1374
1394
  order: "ASC" | "DESC";
1375
1395
  }[] | null | undefined;
1376
- name?: string | undefined;
1377
- updatedAt?: {
1396
+ createdAt?: {
1378
1397
  from?: string | null | undefined;
1379
1398
  to?: string | null | undefined;
1380
1399
  } | null | undefined;
1381
- createdAt?: {
1400
+ updatedAt?: {
1382
1401
  from?: string | null | undefined;
1383
1402
  to?: string | null | undefined;
1384
1403
  } | null | undefined;
1385
- phone?: string | undefined;
1386
- email?: string | undefined;
1404
+ status?: "ACTIVE" | "INACTIVE" | undefined;
1387
1405
  roles?: {
1388
1406
  values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
1389
1407
  requireAll?: boolean | undefined;
1390
1408
  } | undefined;
1391
1409
  officeId?: string | undefined;
1392
1410
  }, {
1393
- status?: "ACTIVE" | "INACTIVE" | undefined;
1411
+ name?: string | undefined;
1412
+ email?: string | undefined;
1413
+ phone?: string | undefined;
1394
1414
  sort?: {
1395
- field: "createdAt" | "email" | "lastName" | "firstName" | "office";
1415
+ field: "email" | "createdAt" | "lastName" | "firstName" | "office";
1396
1416
  order: "ASC" | "DESC";
1397
1417
  }[] | null | undefined;
1398
- page?: number | undefined;
1399
- limit?: number | undefined;
1400
- name?: string | undefined;
1401
- updatedAt?: {
1418
+ createdAt?: {
1402
1419
  from?: string | null | undefined;
1403
1420
  to?: string | null | undefined;
1404
1421
  } | null | undefined;
1405
- createdAt?: {
1422
+ updatedAt?: {
1406
1423
  from?: string | null | undefined;
1407
1424
  to?: string | null | undefined;
1408
1425
  } | null | undefined;
1409
- phone?: string | undefined;
1410
- email?: string | undefined;
1426
+ page?: number | undefined;
1427
+ limit?: number | undefined;
1428
+ status?: "ACTIVE" | "INACTIVE" | undefined;
1411
1429
  roles?: {
1412
1430
  values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
1413
1431
  requireAll?: unknown;
1414
1432
  } | undefined;
1415
1433
  officeId?: string | undefined;
1416
1434
  }>;
1417
- metadata: {
1418
- tags: string[];
1419
- };
1420
1435
  summary: "Get all users";
1421
1436
  method: "GET";
1422
1437
  path: "/v2/users";
@@ -1446,7 +1461,7 @@ export declare const usersContract: {
1446
1461
  details?: unknown;
1447
1462
  correlationId?: string | undefined;
1448
1463
  }>;
1449
- 401: z.ZodObject<{
1464
+ 403: z.ZodObject<{
1450
1465
  statusCode: z.ZodNumber;
1451
1466
  message: z.ZodString;
1452
1467
  code: z.ZodString;
@@ -1471,7 +1486,7 @@ export declare const usersContract: {
1471
1486
  details?: unknown;
1472
1487
  correlationId?: string | undefined;
1473
1488
  }>;
1474
- 403: z.ZodObject<{
1489
+ 401: z.ZodObject<{
1475
1490
  statusCode: z.ZodNumber;
1476
1491
  message: z.ZodString;
1477
1492
  code: z.ZodString;
@@ -1562,16 +1577,16 @@ export declare const usersContract: {
1562
1577
  firstName: string;
1563
1578
  }>, "many">>;
1564
1579
  }, "strip", z.ZodTypeAny, {
1565
- id: string;
1566
1580
  name: string;
1581
+ id: string;
1567
1582
  managers?: {
1568
1583
  id: string;
1569
1584
  lastName: string;
1570
1585
  firstName: string;
1571
1586
  }[] | undefined;
1572
1587
  }, {
1573
- id: string;
1574
1588
  name: string;
1589
+ id: string;
1575
1590
  managers?: {
1576
1591
  id: string;
1577
1592
  lastName: string;
@@ -1592,15 +1607,16 @@ export declare const usersContract: {
1592
1607
  firstName: string;
1593
1608
  }>, "many">>;
1594
1609
  status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
1610
+ dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
1595
1611
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1596
1612
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1597
1613
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
1598
1614
  }, "strip", z.ZodTypeAny, {
1599
- status: "ACTIVE" | "INACTIVE";
1600
- id: string;
1601
- updatedAt: string;
1602
- createdAt: string;
1603
1615
  email: string;
1616
+ createdAt: string;
1617
+ updatedAt: string;
1618
+ id: string;
1619
+ status: "ACTIVE" | "INACTIVE";
1604
1620
  lastName: string;
1605
1621
  firstName: string;
1606
1622
  phoneNumbers: {
@@ -1612,8 +1628,8 @@ export declare const usersContract: {
1612
1628
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
1613
1629
  officeId?: string | null | undefined;
1614
1630
  office?: {
1615
- id: string;
1616
1631
  name: string;
1632
+ id: string;
1617
1633
  managers?: {
1618
1634
  id: string;
1619
1635
  lastName: string;
@@ -1625,20 +1641,21 @@ export declare const usersContract: {
1625
1641
  lastName: string;
1626
1642
  firstName: string;
1627
1643
  }[] | undefined;
1644
+ dialpadUserId?: string | null | undefined;
1628
1645
  deletedAt?: string | null | undefined;
1629
1646
  }, {
1630
- status: "ACTIVE" | "INACTIVE";
1631
- id: string;
1632
- updatedAt: string | Date;
1633
- createdAt: string | Date;
1634
1647
  email: string;
1648
+ createdAt: string | Date;
1649
+ updatedAt: string | Date;
1650
+ id: string;
1651
+ status: "ACTIVE" | "INACTIVE";
1635
1652
  lastName: string;
1636
1653
  firstName: string;
1637
1654
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
1638
1655
  officeId?: string | null | undefined;
1639
1656
  office?: {
1640
- id: string;
1641
1657
  name: string;
1658
+ id: string;
1642
1659
  managers?: {
1643
1660
  id: string;
1644
1661
  lastName: string;
@@ -1656,6 +1673,7 @@ export declare const usersContract: {
1656
1673
  lastName: string;
1657
1674
  firstName: string;
1658
1675
  }[] | undefined;
1676
+ dialpadUserId?: string | null | undefined;
1659
1677
  deletedAt?: string | Date | null | undefined;
1660
1678
  }>, "many">;
1661
1679
  totalCount: z.ZodNumber;
@@ -1666,11 +1684,11 @@ export declare const usersContract: {
1666
1684
  }, "strip", z.ZodTypeAny, {
1667
1685
  limit: number;
1668
1686
  items: {
1669
- status: "ACTIVE" | "INACTIVE";
1670
- id: string;
1671
- updatedAt: string;
1672
- createdAt: string;
1673
1687
  email: string;
1688
+ createdAt: string;
1689
+ updatedAt: string;
1690
+ id: string;
1691
+ status: "ACTIVE" | "INACTIVE";
1674
1692
  lastName: string;
1675
1693
  firstName: string;
1676
1694
  phoneNumbers: {
@@ -1682,8 +1700,8 @@ export declare const usersContract: {
1682
1700
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
1683
1701
  officeId?: string | null | undefined;
1684
1702
  office?: {
1685
- id: string;
1686
1703
  name: string;
1704
+ id: string;
1687
1705
  managers?: {
1688
1706
  id: string;
1689
1707
  lastName: string;
@@ -1695,6 +1713,7 @@ export declare const usersContract: {
1695
1713
  lastName: string;
1696
1714
  firstName: string;
1697
1715
  }[] | undefined;
1716
+ dialpadUserId?: string | null | undefined;
1698
1717
  deletedAt?: string | null | undefined;
1699
1718
  }[];
1700
1719
  totalCount: number;
@@ -1704,18 +1723,18 @@ export declare const usersContract: {
1704
1723
  }, {
1705
1724
  limit: number;
1706
1725
  items: {
1707
- status: "ACTIVE" | "INACTIVE";
1708
- id: string;
1709
- updatedAt: string | Date;
1710
- createdAt: string | Date;
1711
1726
  email: string;
1727
+ createdAt: string | Date;
1728
+ updatedAt: string | Date;
1729
+ id: string;
1730
+ status: "ACTIVE" | "INACTIVE";
1712
1731
  lastName: string;
1713
1732
  firstName: string;
1714
1733
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
1715
1734
  officeId?: string | null | undefined;
1716
1735
  office?: {
1717
- id: string;
1718
1736
  name: string;
1737
+ id: string;
1719
1738
  managers?: {
1720
1739
  id: string;
1721
1740
  lastName: string;
@@ -1733,6 +1752,7 @@ export declare const usersContract: {
1733
1752
  lastName: string;
1734
1753
  firstName: string;
1735
1754
  }[] | undefined;
1755
+ dialpadUserId?: string | null | undefined;
1736
1756
  deletedAt?: string | Date | null | undefined;
1737
1757
  }[];
1738
1758
  totalCount: number;
@@ -1943,6 +1963,9 @@ export declare const usersContract: {
1943
1963
  };
1944
1964
  };
1945
1965
  autocomplete: {
1966
+ metadata: {
1967
+ tags: string[];
1968
+ };
1946
1969
  query: z.ZodObject<{
1947
1970
  query: z.ZodOptional<z.ZodString>;
1948
1971
  id: z.ZodOptional<z.ZodString>;
@@ -1953,9 +1976,6 @@ export declare const usersContract: {
1953
1976
  id?: string | undefined;
1954
1977
  query?: string | undefined;
1955
1978
  }>;
1956
- metadata: {
1957
- tags: string[];
1958
- };
1959
1979
  summary: "Get users for autocomplete";
1960
1980
  method: "GET";
1961
1981
  path: "/v2/users/autocomplete";
@@ -1985,7 +2005,7 @@ export declare const usersContract: {
1985
2005
  details?: unknown;
1986
2006
  correlationId?: string | undefined;
1987
2007
  }>;
1988
- 401: z.ZodObject<{
2008
+ 403: z.ZodObject<{
1989
2009
  statusCode: z.ZodNumber;
1990
2010
  message: z.ZodString;
1991
2011
  code: z.ZodString;
@@ -2010,7 +2030,7 @@ export declare const usersContract: {
2010
2030
  details?: unknown;
2011
2031
  correlationId?: string | undefined;
2012
2032
  }>;
2013
- 403: z.ZodObject<{
2033
+ 401: z.ZodObject<{
2014
2034
  statusCode: z.ZodNumber;
2015
2035
  message: z.ZodString;
2016
2036
  code: z.ZodString;
@@ -2076,6 +2096,9 @@ export declare const usersContract: {
2076
2096
  };
2077
2097
  };
2078
2098
  autocompleteFirstAgent: {
2099
+ metadata: {
2100
+ tags: string[];
2101
+ };
2079
2102
  query: z.ZodObject<{
2080
2103
  query: z.ZodOptional<z.ZodString>;
2081
2104
  id: z.ZodOptional<z.ZodString>;
@@ -2086,9 +2109,6 @@ export declare const usersContract: {
2086
2109
  id?: string | undefined;
2087
2110
  query?: string | undefined;
2088
2111
  }>;
2089
- metadata: {
2090
- tags: string[];
2091
- };
2092
2112
  summary: "Get users with FIRST_AGENT role for autocomplete";
2093
2113
  method: "GET";
2094
2114
  path: "/v2/users/autocomplete/first-agent";
@@ -2118,7 +2138,7 @@ export declare const usersContract: {
2118
2138
  details?: unknown;
2119
2139
  correlationId?: string | undefined;
2120
2140
  }>;
2121
- 401: z.ZodObject<{
2141
+ 403: z.ZodObject<{
2122
2142
  statusCode: z.ZodNumber;
2123
2143
  message: z.ZodString;
2124
2144
  code: z.ZodString;
@@ -2143,7 +2163,7 @@ export declare const usersContract: {
2143
2163
  details?: unknown;
2144
2164
  correlationId?: string | undefined;
2145
2165
  }>;
2146
- 403: z.ZodObject<{
2166
+ 401: z.ZodObject<{
2147
2167
  statusCode: z.ZodNumber;
2148
2168
  message: z.ZodString;
2149
2169
  code: z.ZodString;
@@ -2209,6 +2229,9 @@ export declare const usersContract: {
2209
2229
  };
2210
2230
  };
2211
2231
  autocompleteSecondAgent: {
2232
+ metadata: {
2233
+ tags: string[];
2234
+ };
2212
2235
  query: z.ZodObject<{
2213
2236
  query: z.ZodOptional<z.ZodString>;
2214
2237
  id: z.ZodOptional<z.ZodString>;
@@ -2219,9 +2242,6 @@ export declare const usersContract: {
2219
2242
  id?: string | undefined;
2220
2243
  query?: string | undefined;
2221
2244
  }>;
2222
- metadata: {
2223
- tags: string[];
2224
- };
2225
2245
  summary: "Get users with SECOND_AGENT role for autocomplete";
2226
2246
  method: "GET";
2227
2247
  path: "/v2/users/autocomplete/second-agent";
@@ -2251,7 +2271,7 @@ export declare const usersContract: {
2251
2271
  details?: unknown;
2252
2272
  correlationId?: string | undefined;
2253
2273
  }>;
2254
- 401: z.ZodObject<{
2274
+ 403: z.ZodObject<{
2255
2275
  statusCode: z.ZodNumber;
2256
2276
  message: z.ZodString;
2257
2277
  code: z.ZodString;
@@ -2276,7 +2296,7 @@ export declare const usersContract: {
2276
2296
  details?: unknown;
2277
2297
  correlationId?: string | undefined;
2278
2298
  }>;
2279
- 403: z.ZodObject<{
2299
+ 401: z.ZodObject<{
2280
2300
  statusCode: z.ZodNumber;
2281
2301
  message: z.ZodString;
2282
2302
  code: z.ZodString;
@@ -2342,6 +2362,9 @@ export declare const usersContract: {
2342
2362
  };
2343
2363
  };
2344
2364
  autocompleteAgents: {
2365
+ metadata: {
2366
+ tags: string[];
2367
+ };
2345
2368
  query: z.ZodObject<{
2346
2369
  query: z.ZodOptional<z.ZodString>;
2347
2370
  id: z.ZodOptional<z.ZodString>;
@@ -2352,9 +2375,6 @@ export declare const usersContract: {
2352
2375
  id?: string | undefined;
2353
2376
  query?: string | undefined;
2354
2377
  }>;
2355
- metadata: {
2356
- tags: string[];
2357
- };
2358
2378
  summary: "Autocomplete users whose roles include FIRST_AGENT OR SECOND_AGENT";
2359
2379
  method: "GET";
2360
2380
  path: "/v2/users/autocomplete/agents";
@@ -2384,7 +2404,7 @@ export declare const usersContract: {
2384
2404
  details?: unknown;
2385
2405
  correlationId?: string | undefined;
2386
2406
  }>;
2387
- 401: z.ZodObject<{
2407
+ 403: z.ZodObject<{
2388
2408
  statusCode: z.ZodNumber;
2389
2409
  message: z.ZodString;
2390
2410
  code: z.ZodString;
@@ -2409,7 +2429,7 @@ export declare const usersContract: {
2409
2429
  details?: unknown;
2410
2430
  correlationId?: string | undefined;
2411
2431
  }>;
2412
- 403: z.ZodObject<{
2432
+ 401: z.ZodObject<{
2413
2433
  statusCode: z.ZodNumber;
2414
2434
  message: z.ZodString;
2415
2435
  code: z.ZodString;
@@ -2475,6 +2495,9 @@ export declare const usersContract: {
2475
2495
  };
2476
2496
  };
2477
2497
  autocompleteOfficeManager: {
2498
+ metadata: {
2499
+ tags: string[];
2500
+ };
2478
2501
  query: z.ZodObject<{
2479
2502
  query: z.ZodOptional<z.ZodString>;
2480
2503
  id: z.ZodOptional<z.ZodString>;
@@ -2485,9 +2508,6 @@ export declare const usersContract: {
2485
2508
  id?: string | undefined;
2486
2509
  query?: string | undefined;
2487
2510
  }>;
2488
- metadata: {
2489
- tags: string[];
2490
- };
2491
2511
  summary: "Get users with OFFICE_MANAGER role for autocomplete";
2492
2512
  method: "GET";
2493
2513
  path: "/v2/users/autocomplete/office-manager";
@@ -2517,7 +2537,7 @@ export declare const usersContract: {
2517
2537
  details?: unknown;
2518
2538
  correlationId?: string | undefined;
2519
2539
  }>;
2520
- 401: z.ZodObject<{
2540
+ 403: z.ZodObject<{
2521
2541
  statusCode: z.ZodNumber;
2522
2542
  message: z.ZodString;
2523
2543
  code: z.ZodString;
@@ -2542,7 +2562,7 @@ export declare const usersContract: {
2542
2562
  details?: unknown;
2543
2563
  correlationId?: string | undefined;
2544
2564
  }>;
2545
- 403: z.ZodObject<{
2565
+ 401: z.ZodObject<{
2546
2566
  statusCode: z.ZodNumber;
2547
2567
  message: z.ZodString;
2548
2568
  code: z.ZodString;
@@ -2609,6 +2629,9 @@ export declare const usersContract: {
2609
2629
  };
2610
2630
  autocompleteImpersonable: {
2611
2631
  description: "Returns the first N users matching the caller CASL impersonate ability, optionally narrowed by the query string. Admins see all active users; KPI users see only their canImpersonateUsers list.";
2632
+ metadata: {
2633
+ tags: string[];
2634
+ };
2612
2635
  query: z.ZodObject<{
2613
2636
  query: z.ZodOptional<z.ZodString>;
2614
2637
  id: z.ZodOptional<z.ZodString>;
@@ -2619,9 +2642,6 @@ export declare const usersContract: {
2619
2642
  id?: string | undefined;
2620
2643
  query?: string | undefined;
2621
2644
  }>;
2622
- metadata: {
2623
- tags: string[];
2624
- };
2625
2645
  summary: "Autocomplete users the caller is allowed to impersonate";
2626
2646
  method: "GET";
2627
2647
  path: "/v2/users/autocomplete/impersonable";
@@ -2651,7 +2671,7 @@ export declare const usersContract: {
2651
2671
  details?: unknown;
2652
2672
  correlationId?: string | undefined;
2653
2673
  }>;
2654
- 401: z.ZodObject<{
2674
+ 403: z.ZodObject<{
2655
2675
  statusCode: z.ZodNumber;
2656
2676
  message: z.ZodString;
2657
2677
  code: z.ZodString;
@@ -2676,7 +2696,7 @@ export declare const usersContract: {
2676
2696
  details?: unknown;
2677
2697
  correlationId?: string | undefined;
2678
2698
  }>;
2679
- 403: z.ZodObject<{
2699
+ 401: z.ZodObject<{
2680
2700
  statusCode: z.ZodNumber;
2681
2701
  message: z.ZodString;
2682
2702
  code: z.ZodString;
@@ -2742,6 +2762,9 @@ export declare const usersContract: {
2742
2762
  };
2743
2763
  };
2744
2764
  checkAvailability: {
2765
+ metadata: {
2766
+ tags: string[];
2767
+ };
2745
2768
  query: z.ZodObject<{
2746
2769
  email: z.ZodOptional<z.ZodString>;
2747
2770
  phoneNumber: z.ZodOptional<z.ZodString>;
@@ -2755,9 +2778,6 @@ export declare const usersContract: {
2755
2778
  phoneNumber?: string | undefined;
2756
2779
  excludeUserId?: string | undefined;
2757
2780
  }>;
2758
- metadata: {
2759
- tags: string[];
2760
- };
2761
2781
  summary: "Look up the active users currently using a given email or phone number";
2762
2782
  method: "GET";
2763
2783
  path: "/v2/users/availability";
@@ -2787,7 +2807,7 @@ export declare const usersContract: {
2787
2807
  details?: unknown;
2788
2808
  correlationId?: string | undefined;
2789
2809
  }>;
2790
- 401: z.ZodObject<{
2810
+ 403: z.ZodObject<{
2791
2811
  statusCode: z.ZodNumber;
2792
2812
  message: z.ZodString;
2793
2813
  code: z.ZodString;
@@ -2812,7 +2832,7 @@ export declare const usersContract: {
2812
2832
  details?: unknown;
2813
2833
  correlationId?: string | undefined;
2814
2834
  }>;
2815
- 403: z.ZodObject<{
2835
+ 401: z.ZodObject<{
2816
2836
  statusCode: z.ZodNumber;
2817
2837
  message: z.ZodString;
2818
2838
  code: z.ZodString;
@@ -2957,7 +2977,7 @@ export declare const usersContract: {
2957
2977
  details?: unknown;
2958
2978
  correlationId?: string | undefined;
2959
2979
  }>;
2960
- 401: z.ZodObject<{
2980
+ 403: z.ZodObject<{
2961
2981
  statusCode: z.ZodNumber;
2962
2982
  message: z.ZodString;
2963
2983
  code: z.ZodString;
@@ -2982,7 +3002,7 @@ export declare const usersContract: {
2982
3002
  details?: unknown;
2983
3003
  correlationId?: string | undefined;
2984
3004
  }>;
2985
- 403: z.ZodObject<{
3005
+ 401: z.ZodObject<{
2986
3006
  statusCode: z.ZodNumber;
2987
3007
  message: z.ZodString;
2988
3008
  code: z.ZodString;
@@ -3062,8 +3082,8 @@ export declare const usersContract: {
3062
3082
  telegramUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3063
3083
  telegramLinkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3064
3084
  }, "strip", z.ZodTypeAny, {
3065
- id: string;
3066
3085
  email: string;
3086
+ id: string;
3067
3087
  phoneNumbers: {
3068
3088
  id: string;
3069
3089
  phoneNumber: string;
@@ -3081,8 +3101,8 @@ export declare const usersContract: {
3081
3101
  telegramUsername?: string | null | undefined;
3082
3102
  telegramLinkedAt?: string | null | undefined;
3083
3103
  }, {
3084
- id: string;
3085
3104
  email: string;
3105
+ id: string;
3086
3106
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
3087
3107
  lastName?: string | undefined;
3088
3108
  firstName?: string | undefined;
@@ -3120,7 +3140,7 @@ export declare const usersContract: {
3120
3140
  }>;
3121
3141
  path: "/v2/users/me/change-password";
3122
3142
  responses: {
3123
- 401: z.ZodObject<{
3143
+ 403: z.ZodObject<{
3124
3144
  statusCode: z.ZodNumber;
3125
3145
  message: z.ZodString;
3126
3146
  code: z.ZodString;
@@ -3145,7 +3165,7 @@ export declare const usersContract: {
3145
3165
  details?: unknown;
3146
3166
  correlationId?: string | undefined;
3147
3167
  }>;
3148
- 403: z.ZodObject<{
3168
+ 401: z.ZodObject<{
3149
3169
  statusCode: z.ZodNumber;
3150
3170
  message: z.ZodString;
3151
3171
  code: z.ZodString;
@@ -3269,7 +3289,7 @@ export declare const usersContract: {
3269
3289
  details?: unknown;
3270
3290
  correlationId?: string | undefined;
3271
3291
  }>;
3272
- 401: z.ZodObject<{
3292
+ 403: z.ZodObject<{
3273
3293
  statusCode: z.ZodNumber;
3274
3294
  message: z.ZodString;
3275
3295
  code: z.ZodString;
@@ -3294,7 +3314,7 @@ export declare const usersContract: {
3294
3314
  details?: unknown;
3295
3315
  correlationId?: string | undefined;
3296
3316
  }>;
3297
- 403: z.ZodObject<{
3317
+ 401: z.ZodObject<{
3298
3318
  statusCode: z.ZodNumber;
3299
3319
  message: z.ZodString;
3300
3320
  code: z.ZodString;
@@ -3374,8 +3394,8 @@ export declare const usersContract: {
3374
3394
  telegramUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3375
3395
  telegramLinkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3376
3396
  }, "strip", z.ZodTypeAny, {
3377
- id: string;
3378
3397
  email: string;
3398
+ id: string;
3379
3399
  phoneNumbers: {
3380
3400
  id: string;
3381
3401
  phoneNumber: string;
@@ -3393,8 +3413,8 @@ export declare const usersContract: {
3393
3413
  telegramUsername?: string | null | undefined;
3394
3414
  telegramLinkedAt?: string | null | undefined;
3395
3415
  }, {
3396
- id: string;
3397
3416
  email: string;
3417
+ id: string;
3398
3418
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
3399
3419
  lastName?: string | undefined;
3400
3420
  firstName?: string | undefined;
@@ -3454,7 +3474,7 @@ export declare const usersContract: {
3454
3474
  }>;
3455
3475
  path: "/v2/users/me/preferences";
3456
3476
  responses: {
3457
- 401: z.ZodObject<{
3477
+ 403: z.ZodObject<{
3458
3478
  statusCode: z.ZodNumber;
3459
3479
  message: z.ZodString;
3460
3480
  code: z.ZodString;
@@ -3479,7 +3499,7 @@ export declare const usersContract: {
3479
3499
  details?: unknown;
3480
3500
  correlationId?: string | undefined;
3481
3501
  }>;
3482
- 403: z.ZodObject<{
3502
+ 401: z.ZodObject<{
3483
3503
  statusCode: z.ZodNumber;
3484
3504
  message: z.ZodString;
3485
3505
  code: z.ZodString;
@@ -3559,8 +3579,8 @@ export declare const usersContract: {
3559
3579
  telegramUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3560
3580
  telegramLinkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3561
3581
  }, "strip", z.ZodTypeAny, {
3562
- id: string;
3563
3582
  email: string;
3583
+ id: string;
3564
3584
  phoneNumbers: {
3565
3585
  id: string;
3566
3586
  phoneNumber: string;
@@ -3578,8 +3598,8 @@ export declare const usersContract: {
3578
3598
  telegramUsername?: string | null | undefined;
3579
3599
  telegramLinkedAt?: string | null | undefined;
3580
3600
  }, {
3581
- id: string;
3582
3601
  email: string;
3602
+ id: string;
3583
3603
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
3584
3604
  lastName?: string | undefined;
3585
3605
  firstName?: string | undefined;
@@ -3664,7 +3684,7 @@ export declare const usersContract: {
3664
3684
  details?: unknown;
3665
3685
  correlationId?: string | undefined;
3666
3686
  }>;
3667
- 401: z.ZodObject<{
3687
+ 403: z.ZodObject<{
3668
3688
  statusCode: z.ZodNumber;
3669
3689
  message: z.ZodString;
3670
3690
  code: z.ZodString;
@@ -3689,7 +3709,7 @@ export declare const usersContract: {
3689
3709
  details?: unknown;
3690
3710
  correlationId?: string | undefined;
3691
3711
  }>;
3692
- 403: z.ZodObject<{
3712
+ 401: z.ZodObject<{
3693
3713
  statusCode: z.ZodNumber;
3694
3714
  message: z.ZodString;
3695
3715
  code: z.ZodString;
@@ -3779,16 +3799,16 @@ export declare const usersContract: {
3779
3799
  firstName: string;
3780
3800
  }>, "many">>;
3781
3801
  }, "strip", z.ZodTypeAny, {
3782
- id: string;
3783
3802
  name: string;
3803
+ id: string;
3784
3804
  managers?: {
3785
3805
  id: string;
3786
3806
  lastName: string;
3787
3807
  firstName: string;
3788
3808
  }[] | undefined;
3789
3809
  }, {
3790
- id: string;
3791
3810
  name: string;
3811
+ id: string;
3792
3812
  managers?: {
3793
3813
  id: string;
3794
3814
  lastName: string;
@@ -3809,15 +3829,16 @@ export declare const usersContract: {
3809
3829
  firstName: string;
3810
3830
  }>, "many">>;
3811
3831
  status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
3832
+ dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
3812
3833
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3813
3834
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3814
3835
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
3815
3836
  }, "strip", z.ZodTypeAny, {
3816
- status: "ACTIVE" | "INACTIVE";
3817
- id: string;
3818
- updatedAt: string;
3819
- createdAt: string;
3820
3837
  email: string;
3838
+ createdAt: string;
3839
+ updatedAt: string;
3840
+ id: string;
3841
+ status: "ACTIVE" | "INACTIVE";
3821
3842
  lastName: string;
3822
3843
  firstName: string;
3823
3844
  phoneNumbers: {
@@ -3829,8 +3850,8 @@ export declare const usersContract: {
3829
3850
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
3830
3851
  officeId?: string | null | undefined;
3831
3852
  office?: {
3832
- id: string;
3833
3853
  name: string;
3854
+ id: string;
3834
3855
  managers?: {
3835
3856
  id: string;
3836
3857
  lastName: string;
@@ -3842,20 +3863,21 @@ export declare const usersContract: {
3842
3863
  lastName: string;
3843
3864
  firstName: string;
3844
3865
  }[] | undefined;
3866
+ dialpadUserId?: string | null | undefined;
3845
3867
  deletedAt?: string | null | undefined;
3846
3868
  }, {
3847
- status: "ACTIVE" | "INACTIVE";
3848
- id: string;
3849
- updatedAt: string | Date;
3850
- createdAt: string | Date;
3851
3869
  email: string;
3870
+ createdAt: string | Date;
3871
+ updatedAt: string | Date;
3872
+ id: string;
3873
+ status: "ACTIVE" | "INACTIVE";
3852
3874
  lastName: string;
3853
3875
  firstName: string;
3854
3876
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
3855
3877
  officeId?: string | null | undefined;
3856
3878
  office?: {
3857
- id: string;
3858
3879
  name: string;
3880
+ id: string;
3859
3881
  managers?: {
3860
3882
  id: string;
3861
3883
  lastName: string;
@@ -3873,6 +3895,7 @@ export declare const usersContract: {
3873
3895
  lastName: string;
3874
3896
  firstName: string;
3875
3897
  }[] | undefined;
3898
+ dialpadUserId?: string | null | undefined;
3876
3899
  deletedAt?: string | Date | null | undefined;
3877
3900
  }>;
3878
3901
  404: z.ZodObject<{
@@ -3960,10 +3983,11 @@ export declare const usersContract: {
3960
3983
  officeId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3961
3984
  canImpersonateUserIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3962
3985
  status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>;
3986
+ dialpadUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>>;
3963
3987
  }, "strip", z.ZodTypeAny, {
3964
- status?: "ACTIVE" | "INACTIVE" | undefined;
3965
3988
  password?: string | undefined;
3966
3989
  email?: string | undefined;
3990
+ status?: "ACTIVE" | "INACTIVE" | undefined;
3967
3991
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
3968
3992
  officeId?: string | null | undefined;
3969
3993
  lastName?: string | undefined;
@@ -3974,11 +3998,12 @@ export declare const usersContract: {
3974
3998
  phoneNumber?: string | undefined;
3975
3999
  isPrimary?: boolean | undefined;
3976
4000
  }[] | undefined;
4001
+ dialpadUserId?: string | null | undefined;
3977
4002
  canImpersonateUserIds?: string[] | undefined;
3978
4003
  }, {
3979
- status?: "ACTIVE" | "INACTIVE" | undefined;
3980
4004
  password?: string | undefined;
3981
4005
  email?: string | undefined;
4006
+ status?: "ACTIVE" | "INACTIVE" | undefined;
3982
4007
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
3983
4008
  officeId?: string | null | undefined;
3984
4009
  lastName?: string | undefined;
@@ -3989,6 +4014,7 @@ export declare const usersContract: {
3989
4014
  phoneNumber?: string | undefined;
3990
4015
  isPrimary?: boolean | undefined;
3991
4016
  }[] | undefined;
4017
+ dialpadUserId?: string | null | undefined;
3992
4018
  canImpersonateUserIds?: string[] | undefined;
3993
4019
  }>;
3994
4020
  path: "/v2/users/:id";
@@ -4018,7 +4044,7 @@ export declare const usersContract: {
4018
4044
  details?: unknown;
4019
4045
  correlationId?: string | undefined;
4020
4046
  }>;
4021
- 401: z.ZodObject<{
4047
+ 403: z.ZodObject<{
4022
4048
  statusCode: z.ZodNumber;
4023
4049
  message: z.ZodString;
4024
4050
  code: z.ZodString;
@@ -4043,7 +4069,7 @@ export declare const usersContract: {
4043
4069
  details?: unknown;
4044
4070
  correlationId?: string | undefined;
4045
4071
  }>;
4046
- 403: z.ZodObject<{
4072
+ 401: z.ZodObject<{
4047
4073
  statusCode: z.ZodNumber;
4048
4074
  message: z.ZodString;
4049
4075
  code: z.ZodString;
@@ -4133,16 +4159,16 @@ export declare const usersContract: {
4133
4159
  firstName: string;
4134
4160
  }>, "many">>;
4135
4161
  }, "strip", z.ZodTypeAny, {
4136
- id: string;
4137
4162
  name: string;
4163
+ id: string;
4138
4164
  managers?: {
4139
4165
  id: string;
4140
4166
  lastName: string;
4141
4167
  firstName: string;
4142
4168
  }[] | undefined;
4143
4169
  }, {
4144
- id: string;
4145
4170
  name: string;
4171
+ id: string;
4146
4172
  managers?: {
4147
4173
  id: string;
4148
4174
  lastName: string;
@@ -4163,15 +4189,16 @@ export declare const usersContract: {
4163
4189
  firstName: string;
4164
4190
  }>, "many">>;
4165
4191
  status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
4192
+ dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
4166
4193
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4167
4194
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4168
4195
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
4169
4196
  }, "strip", z.ZodTypeAny, {
4170
- status: "ACTIVE" | "INACTIVE";
4171
- id: string;
4172
- updatedAt: string;
4173
- createdAt: string;
4174
4197
  email: string;
4198
+ createdAt: string;
4199
+ updatedAt: string;
4200
+ id: string;
4201
+ status: "ACTIVE" | "INACTIVE";
4175
4202
  lastName: string;
4176
4203
  firstName: string;
4177
4204
  phoneNumbers: {
@@ -4183,8 +4210,8 @@ export declare const usersContract: {
4183
4210
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
4184
4211
  officeId?: string | null | undefined;
4185
4212
  office?: {
4186
- id: string;
4187
4213
  name: string;
4214
+ id: string;
4188
4215
  managers?: {
4189
4216
  id: string;
4190
4217
  lastName: string;
@@ -4196,20 +4223,21 @@ export declare const usersContract: {
4196
4223
  lastName: string;
4197
4224
  firstName: string;
4198
4225
  }[] | undefined;
4226
+ dialpadUserId?: string | null | undefined;
4199
4227
  deletedAt?: string | null | undefined;
4200
4228
  }, {
4201
- status: "ACTIVE" | "INACTIVE";
4202
- id: string;
4203
- updatedAt: string | Date;
4204
- createdAt: string | Date;
4205
4229
  email: string;
4230
+ createdAt: string | Date;
4231
+ updatedAt: string | Date;
4232
+ id: string;
4233
+ status: "ACTIVE" | "INACTIVE";
4206
4234
  lastName: string;
4207
4235
  firstName: string;
4208
4236
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
4209
4237
  officeId?: string | null | undefined;
4210
4238
  office?: {
4211
- id: string;
4212
4239
  name: string;
4240
+ id: string;
4213
4241
  managers?: {
4214
4242
  id: string;
4215
4243
  lastName: string;
@@ -4227,6 +4255,7 @@ export declare const usersContract: {
4227
4255
  lastName: string;
4228
4256
  firstName: string;
4229
4257
  }[] | undefined;
4258
+ dialpadUserId?: string | null | undefined;
4230
4259
  deletedAt?: string | Date | null | undefined;
4231
4260
  }>;
4232
4261
  404: z.ZodObject<{
@@ -4322,7 +4351,7 @@ export declare const usersContract: {
4322
4351
  details?: unknown;
4323
4352
  correlationId?: string | undefined;
4324
4353
  }>;
4325
- 401: z.ZodObject<{
4354
+ 403: z.ZodObject<{
4326
4355
  statusCode: z.ZodNumber;
4327
4356
  message: z.ZodString;
4328
4357
  code: z.ZodString;
@@ -4347,7 +4376,7 @@ export declare const usersContract: {
4347
4376
  details?: unknown;
4348
4377
  correlationId?: string | undefined;
4349
4378
  }>;
4350
- 403: z.ZodObject<{
4379
+ 401: z.ZodObject<{
4351
4380
  statusCode: z.ZodNumber;
4352
4381
  message: z.ZodString;
4353
4382
  code: z.ZodString;