@dakkitor/api-contracts 1.1.11 → 1.1.12

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 (38) hide show
  1. package/dist/actives/actives.contract.d.ts +75 -76
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +13 -13
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +320 -316
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  6. package/dist/agent-client-links/agent-client-links.contract.js +6 -6
  7. package/dist/auth/auth.contract.d.ts +2 -2
  8. package/dist/bookings/bookings.contract.d.ts +328 -328
  9. package/dist/call-history/call-history.contract.d.ts +205 -205
  10. package/dist/client-contacts/client-contacts.contract.d.ts +334 -332
  11. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  12. package/dist/client-contacts/client-contacts.contract.js +3 -3
  13. package/dist/clients/clients.contract.d.ts +196 -196
  14. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +404 -404
  15. package/dist/collaborations/collaborations.contract.d.ts +379 -379
  16. package/dist/common/error-schemas.d.ts +7 -7
  17. package/dist/common/error-schemas.d.ts.map +1 -1
  18. package/dist/companies/companies.contract.d.ts +214 -214
  19. package/dist/cron-executions/cron-executions.contract.d.ts +206 -206
  20. package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
  21. package/dist/dashboards/agent-daily-metrics.contract.d.ts +124 -124
  22. package/dist/files/files.contract.d.ts +216 -216
  23. package/dist/health/health.contract.d.ts +22 -22
  24. package/dist/index.d.ts +971 -971
  25. package/dist/jobs/jobs.contract.d.ts +210 -210
  26. package/dist/lead-assignments/lead-assignments.contract.d.ts +248 -248
  27. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +40 -40
  28. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +153 -153
  29. package/dist/leads/leads.contract.d.ts +246 -246
  30. package/dist/locations/locations.contract.d.ts +143 -143
  31. package/dist/postcodes/postcodes.contract.d.ts +56 -56
  32. package/dist/qualifications/qualifications.contract.d.ts +248 -248
  33. package/dist/trades/trades.contract.d.ts +156 -156
  34. package/dist/users/users.contract.d.ts +68 -64
  35. package/dist/users/users.contract.d.ts.map +1 -1
  36. package/dist/users/users.contract.js +8 -8
  37. package/dist/workers/workers.contract.d.ts +226 -226
  38. package/package.json +1 -1
@@ -32,10 +32,10 @@ export declare const LeadSchema: z.ZodObject<{
32
32
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
35
- createdAt: string;
36
- updatedAt: string;
37
35
  id: string;
38
36
  name: string;
37
+ createdAt: string;
38
+ updatedAt: string;
39
39
  source: string;
40
40
  phoneNumber: string;
41
41
  blacklistReason?: string | null | undefined;
@@ -45,10 +45,10 @@ export declare const LeadSchema: z.ZodObject<{
45
45
  conversionRate?: number | null | undefined;
46
46
  }, {
47
47
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
48
- createdAt: string | Date;
49
- updatedAt: string | Date;
50
48
  id: string;
51
49
  name: string;
50
+ createdAt: string | Date;
51
+ updatedAt: string | Date;
52
52
  source: string;
53
53
  phoneNumber: string;
54
54
  blacklistReason?: string | null | undefined;
@@ -126,9 +126,9 @@ export declare const FilterLeadSchema: z.ZodObject<{
126
126
  limit: number;
127
127
  page: number;
128
128
  status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | null | undefined;
129
- sortBy?: "status" | "createdAt" | "updatedAt" | "name" | "totalCalls" | "source" | "phoneNumber" | "qualityScore" | "conversionRate" | null | undefined;
130
- sortOrder?: "ASC" | "DESC" | null | undefined;
131
129
  name?: string | null | undefined;
130
+ sortBy?: "status" | "name" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "phoneNumber" | "qualityScore" | "conversionRate" | null | undefined;
131
+ sortOrder?: "ASC" | "DESC" | null | undefined;
132
132
  source?: string | null | undefined;
133
133
  phoneNumber?: string | null | undefined;
134
134
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
@@ -138,11 +138,11 @@ export declare const FilterLeadSchema: z.ZodObject<{
138
138
  minTotalCalls?: number | null | undefined;
139
139
  }, {
140
140
  status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | null | undefined;
141
+ name?: string | null | undefined;
141
142
  limit?: number | undefined;
142
143
  page?: number | undefined;
143
- sortBy?: "status" | "createdAt" | "updatedAt" | "name" | "totalCalls" | "source" | "phoneNumber" | "qualityScore" | "conversionRate" | null | undefined;
144
+ sortBy?: "status" | "name" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "phoneNumber" | "qualityScore" | "conversionRate" | null | undefined;
144
145
  sortOrder?: "ASC" | "DESC" | null | undefined;
145
- name?: string | null | undefined;
146
146
  source?: string | null | undefined;
147
147
  phoneNumber?: string | null | undefined;
148
148
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
@@ -167,9 +167,9 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
167
167
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
168
168
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
169
169
  }, "strip", z.ZodTypeAny, {
170
+ id: string;
170
171
  createdAt: string;
171
172
  updatedAt: string;
172
- id: string;
173
173
  agentId: string;
174
174
  assignmentId: string;
175
175
  rating: import("../call-history/call-history.contract").CallRating;
@@ -179,9 +179,9 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
179
179
  ratingWeight: number;
180
180
  notes?: string | null | undefined;
181
181
  }, {
182
+ id: string;
182
183
  createdAt: string | Date;
183
184
  updatedAt: string | Date;
184
- id: string;
185
185
  agentId: string;
186
186
  assignmentId: string;
187
187
  rating: import("../call-history/call-history.contract").CallRating;
@@ -270,10 +270,10 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
270
270
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
271
271
  }, "strip", z.ZodTypeAny, {
272
272
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
273
- createdAt: string;
274
- updatedAt: string;
275
273
  id: string;
276
274
  name: string;
275
+ createdAt: string;
276
+ updatedAt: string;
277
277
  source: string;
278
278
  phoneNumber: string;
279
279
  blacklistReason?: string | null | undefined;
@@ -283,10 +283,10 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
283
283
  conversionRate?: number | null | undefined;
284
284
  }, {
285
285
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
286
- createdAt: string | Date;
287
- updatedAt: string | Date;
288
286
  id: string;
289
287
  name: string;
288
+ createdAt: string | Date;
289
+ updatedAt: string | Date;
290
290
  source: string;
291
291
  phoneNumber: string;
292
292
  blacklistReason?: string | null | undefined;
@@ -301,13 +301,12 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
301
301
  currentPage: z.ZodNumber;
302
302
  totalPages: z.ZodNumber;
303
303
  }, "strip", z.ZodTypeAny, {
304
- limit: number;
305
304
  items: {
306
305
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
307
- createdAt: string;
308
- updatedAt: string;
309
306
  id: string;
310
307
  name: string;
308
+ createdAt: string;
309
+ updatedAt: string;
311
310
  source: string;
312
311
  phoneNumber: string;
313
312
  blacklistReason?: string | null | undefined;
@@ -317,17 +316,17 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
317
316
  conversionRate?: number | null | undefined;
318
317
  }[];
319
318
  totalCount: number;
319
+ limit: number;
320
320
  skip: number;
321
321
  currentPage: number;
322
322
  totalPages: number;
323
323
  }, {
324
- limit: number;
325
324
  items: {
326
325
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
327
- createdAt: string | Date;
328
- updatedAt: string | Date;
329
326
  id: string;
330
327
  name: string;
328
+ createdAt: string | Date;
329
+ updatedAt: string | Date;
331
330
  source: string;
332
331
  phoneNumber: string;
333
332
  blacklistReason?: string | null | undefined;
@@ -337,6 +336,7 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
337
336
  conversionRate?: number | null | undefined;
338
337
  }[];
339
338
  totalCount: number;
339
+ limit: number;
340
340
  skip: number;
341
341
  currentPage: number;
342
342
  totalPages: number;
@@ -392,19 +392,19 @@ export declare const leadsContractRouter: {
392
392
  path: z.ZodString;
393
393
  correlationId: z.ZodOptional<z.ZodString>;
394
394
  }, "strip", z.ZodTypeAny, {
395
- code: string;
396
- path: string;
397
- message: string;
398
395
  statusCode: number;
396
+ message: string;
397
+ code: string;
399
398
  timestamp: string;
399
+ path: string;
400
400
  details?: unknown;
401
401
  correlationId?: string | undefined;
402
402
  }, {
403
- code: string;
404
- path: string;
405
- message: string;
406
403
  statusCode: number;
404
+ message: string;
405
+ code: string;
407
406
  timestamp: string;
407
+ path: string;
408
408
  details?: unknown;
409
409
  correlationId?: string | undefined;
410
410
  }>;
@@ -417,19 +417,19 @@ export declare const leadsContractRouter: {
417
417
  path: z.ZodString;
418
418
  correlationId: z.ZodOptional<z.ZodString>;
419
419
  }, "strip", z.ZodTypeAny, {
420
- code: string;
421
- path: string;
422
- message: string;
423
420
  statusCode: number;
421
+ message: string;
422
+ code: string;
424
423
  timestamp: string;
424
+ path: string;
425
425
  details?: unknown;
426
426
  correlationId?: string | undefined;
427
427
  }, {
428
- code: string;
429
- path: string;
430
- message: string;
431
428
  statusCode: number;
429
+ message: string;
430
+ code: string;
432
431
  timestamp: string;
432
+ path: string;
433
433
  details?: unknown;
434
434
  correlationId?: string | undefined;
435
435
  }>;
@@ -442,19 +442,19 @@ export declare const leadsContractRouter: {
442
442
  path: z.ZodString;
443
443
  correlationId: z.ZodOptional<z.ZodString>;
444
444
  }, "strip", z.ZodTypeAny, {
445
- code: string;
446
- path: string;
447
- message: string;
448
445
  statusCode: number;
446
+ message: string;
447
+ code: string;
449
448
  timestamp: string;
449
+ path: string;
450
450
  details?: unknown;
451
451
  correlationId?: string | undefined;
452
452
  }, {
453
- code: string;
454
- path: string;
455
- message: string;
456
453
  statusCode: number;
454
+ message: string;
455
+ code: string;
457
456
  timestamp: string;
457
+ path: string;
458
458
  details?: unknown;
459
459
  correlationId?: string | undefined;
460
460
  }>;
@@ -467,19 +467,19 @@ export declare const leadsContractRouter: {
467
467
  path: z.ZodString;
468
468
  correlationId: z.ZodOptional<z.ZodString>;
469
469
  }, "strip", z.ZodTypeAny, {
470
- code: string;
471
- path: string;
472
- message: string;
473
470
  statusCode: number;
471
+ message: string;
472
+ code: string;
474
473
  timestamp: string;
474
+ path: string;
475
475
  details?: unknown;
476
476
  correlationId?: string | undefined;
477
477
  }, {
478
- code: string;
479
- path: string;
480
- message: string;
481
478
  statusCode: number;
479
+ message: string;
480
+ code: string;
482
481
  timestamp: string;
482
+ path: string;
483
483
  details?: unknown;
484
484
  correlationId?: string | undefined;
485
485
  }>;
@@ -498,10 +498,10 @@ export declare const leadsContractRouter: {
498
498
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
499
499
  }, "strip", z.ZodTypeAny, {
500
500
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
501
- createdAt: string;
502
- updatedAt: string;
503
501
  id: string;
504
502
  name: string;
503
+ createdAt: string;
504
+ updatedAt: string;
505
505
  source: string;
506
506
  phoneNumber: string;
507
507
  blacklistReason?: string | null | undefined;
@@ -511,10 +511,10 @@ export declare const leadsContractRouter: {
511
511
  conversionRate?: number | null | undefined;
512
512
  }, {
513
513
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
514
- createdAt: string | Date;
515
- updatedAt: string | Date;
516
514
  id: string;
517
515
  name: string;
516
+ createdAt: string | Date;
517
+ updatedAt: string | Date;
518
518
  source: string;
519
519
  phoneNumber: string;
520
520
  blacklistReason?: string | null | undefined;
@@ -532,19 +532,19 @@ export declare const leadsContractRouter: {
532
532
  path: z.ZodString;
533
533
  correlationId: z.ZodOptional<z.ZodString>;
534
534
  }, "strip", z.ZodTypeAny, {
535
- code: string;
536
- path: string;
537
- message: string;
538
535
  statusCode: number;
536
+ message: string;
537
+ code: string;
539
538
  timestamp: string;
539
+ path: string;
540
540
  details?: unknown;
541
541
  correlationId?: string | undefined;
542
542
  }, {
543
- code: string;
544
- path: string;
545
- message: string;
546
543
  statusCode: number;
544
+ message: string;
545
+ code: string;
547
546
  timestamp: string;
547
+ path: string;
548
548
  details?: unknown;
549
549
  correlationId?: string | undefined;
550
550
  }>;
@@ -576,9 +576,9 @@ export declare const leadsContractRouter: {
576
576
  limit: number;
577
577
  page: number;
578
578
  status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | null | undefined;
579
- sortBy?: "status" | "createdAt" | "updatedAt" | "name" | "totalCalls" | "source" | "phoneNumber" | "qualityScore" | "conversionRate" | null | undefined;
580
- sortOrder?: "ASC" | "DESC" | null | undefined;
581
579
  name?: string | null | undefined;
580
+ sortBy?: "status" | "name" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "phoneNumber" | "qualityScore" | "conversionRate" | null | undefined;
581
+ sortOrder?: "ASC" | "DESC" | null | undefined;
582
582
  source?: string | null | undefined;
583
583
  phoneNumber?: string | null | undefined;
584
584
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
@@ -588,11 +588,11 @@ export declare const leadsContractRouter: {
588
588
  minTotalCalls?: number | null | undefined;
589
589
  }, {
590
590
  status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | null | undefined;
591
+ name?: string | null | undefined;
591
592
  limit?: number | undefined;
592
593
  page?: number | undefined;
593
- sortBy?: "status" | "createdAt" | "updatedAt" | "name" | "totalCalls" | "source" | "phoneNumber" | "qualityScore" | "conversionRate" | null | undefined;
594
+ sortBy?: "status" | "name" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "phoneNumber" | "qualityScore" | "conversionRate" | null | undefined;
594
595
  sortOrder?: "ASC" | "DESC" | null | undefined;
595
- name?: string | null | undefined;
596
596
  source?: string | null | undefined;
597
597
  phoneNumber?: string | null | undefined;
598
598
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
@@ -614,19 +614,19 @@ export declare const leadsContractRouter: {
614
614
  path: z.ZodString;
615
615
  correlationId: z.ZodOptional<z.ZodString>;
616
616
  }, "strip", z.ZodTypeAny, {
617
- code: string;
618
- path: string;
619
- message: string;
620
617
  statusCode: number;
618
+ message: string;
619
+ code: string;
621
620
  timestamp: string;
621
+ path: string;
622
622
  details?: unknown;
623
623
  correlationId?: string | undefined;
624
624
  }, {
625
- code: string;
626
- path: string;
627
- message: string;
628
625
  statusCode: number;
626
+ message: string;
627
+ code: string;
629
628
  timestamp: string;
629
+ path: string;
630
630
  details?: unknown;
631
631
  correlationId?: string | undefined;
632
632
  }>;
@@ -639,19 +639,19 @@ export declare const leadsContractRouter: {
639
639
  path: z.ZodString;
640
640
  correlationId: z.ZodOptional<z.ZodString>;
641
641
  }, "strip", z.ZodTypeAny, {
642
- code: string;
643
- path: string;
644
- message: string;
645
642
  statusCode: number;
643
+ message: string;
644
+ code: string;
646
645
  timestamp: string;
646
+ path: string;
647
647
  details?: unknown;
648
648
  correlationId?: string | undefined;
649
649
  }, {
650
- code: string;
651
- path: string;
652
- message: string;
653
650
  statusCode: number;
651
+ message: string;
652
+ code: string;
654
653
  timestamp: string;
654
+ path: string;
655
655
  details?: unknown;
656
656
  correlationId?: string | undefined;
657
657
  }>;
@@ -664,19 +664,19 @@ export declare const leadsContractRouter: {
664
664
  path: z.ZodString;
665
665
  correlationId: z.ZodOptional<z.ZodString>;
666
666
  }, "strip", z.ZodTypeAny, {
667
- code: string;
668
- path: string;
669
- message: string;
670
667
  statusCode: number;
668
+ message: string;
669
+ code: string;
671
670
  timestamp: string;
671
+ path: string;
672
672
  details?: unknown;
673
673
  correlationId?: string | undefined;
674
674
  }, {
675
- code: string;
676
- path: string;
677
- message: string;
678
675
  statusCode: number;
676
+ message: string;
677
+ code: string;
679
678
  timestamp: string;
679
+ path: string;
680
680
  details?: unknown;
681
681
  correlationId?: string | undefined;
682
682
  }>;
@@ -689,19 +689,19 @@ export declare const leadsContractRouter: {
689
689
  path: z.ZodString;
690
690
  correlationId: z.ZodOptional<z.ZodString>;
691
691
  }, "strip", z.ZodTypeAny, {
692
- code: string;
693
- path: string;
694
- message: string;
695
692
  statusCode: number;
693
+ message: string;
694
+ code: string;
696
695
  timestamp: string;
696
+ path: string;
697
697
  details?: unknown;
698
698
  correlationId?: string | undefined;
699
699
  }, {
700
- code: string;
701
- path: string;
702
- message: string;
703
700
  statusCode: number;
701
+ message: string;
702
+ code: string;
704
703
  timestamp: string;
704
+ path: string;
705
705
  details?: unknown;
706
706
  correlationId?: string | undefined;
707
707
  }>;
@@ -721,10 +721,10 @@ export declare const leadsContractRouter: {
721
721
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
722
722
  }, "strip", z.ZodTypeAny, {
723
723
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
724
- createdAt: string;
725
- updatedAt: string;
726
724
  id: string;
727
725
  name: string;
726
+ createdAt: string;
727
+ updatedAt: string;
728
728
  source: string;
729
729
  phoneNumber: string;
730
730
  blacklistReason?: string | null | undefined;
@@ -734,10 +734,10 @@ export declare const leadsContractRouter: {
734
734
  conversionRate?: number | null | undefined;
735
735
  }, {
736
736
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
737
- createdAt: string | Date;
738
- updatedAt: string | Date;
739
737
  id: string;
740
738
  name: string;
739
+ createdAt: string | Date;
740
+ updatedAt: string | Date;
741
741
  source: string;
742
742
  phoneNumber: string;
743
743
  blacklistReason?: string | null | undefined;
@@ -752,13 +752,12 @@ export declare const leadsContractRouter: {
752
752
  currentPage: z.ZodNumber;
753
753
  totalPages: z.ZodNumber;
754
754
  }, "strip", z.ZodTypeAny, {
755
- limit: number;
756
755
  items: {
757
756
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
758
- createdAt: string;
759
- updatedAt: string;
760
757
  id: string;
761
758
  name: string;
759
+ createdAt: string;
760
+ updatedAt: string;
762
761
  source: string;
763
762
  phoneNumber: string;
764
763
  blacklistReason?: string | null | undefined;
@@ -768,17 +767,17 @@ export declare const leadsContractRouter: {
768
767
  conversionRate?: number | null | undefined;
769
768
  }[];
770
769
  totalCount: number;
770
+ limit: number;
771
771
  skip: number;
772
772
  currentPage: number;
773
773
  totalPages: number;
774
774
  }, {
775
- limit: number;
776
775
  items: {
777
776
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
778
- createdAt: string | Date;
779
- updatedAt: string | Date;
780
777
  id: string;
781
778
  name: string;
779
+ createdAt: string | Date;
780
+ updatedAt: string | Date;
782
781
  source: string;
783
782
  phoneNumber: string;
784
783
  blacklistReason?: string | null | undefined;
@@ -788,6 +787,7 @@ export declare const leadsContractRouter: {
788
787
  conversionRate?: number | null | undefined;
789
788
  }[];
790
789
  totalCount: number;
790
+ limit: number;
791
791
  skip: number;
792
792
  currentPage: number;
793
793
  totalPages: number;
@@ -821,19 +821,19 @@ export declare const leadsContractRouter: {
821
821
  path: z.ZodString;
822
822
  correlationId: z.ZodOptional<z.ZodString>;
823
823
  }, "strip", z.ZodTypeAny, {
824
- code: string;
825
- path: string;
826
- message: string;
827
824
  statusCode: number;
825
+ message: string;
826
+ code: string;
828
827
  timestamp: string;
828
+ path: string;
829
829
  details?: unknown;
830
830
  correlationId?: string | undefined;
831
831
  }, {
832
- code: string;
833
- path: string;
834
- message: string;
835
832
  statusCode: number;
833
+ message: string;
834
+ code: string;
836
835
  timestamp: string;
836
+ path: string;
837
837
  details?: unknown;
838
838
  correlationId?: string | undefined;
839
839
  }>;
@@ -846,19 +846,19 @@ export declare const leadsContractRouter: {
846
846
  path: z.ZodString;
847
847
  correlationId: z.ZodOptional<z.ZodString>;
848
848
  }, "strip", z.ZodTypeAny, {
849
- code: string;
850
- path: string;
851
- message: string;
852
849
  statusCode: number;
850
+ message: string;
851
+ code: string;
853
852
  timestamp: string;
853
+ path: string;
854
854
  details?: unknown;
855
855
  correlationId?: string | undefined;
856
856
  }, {
857
- code: string;
858
- path: string;
859
- message: string;
860
857
  statusCode: number;
858
+ message: string;
859
+ code: string;
861
860
  timestamp: string;
861
+ path: string;
862
862
  details?: unknown;
863
863
  correlationId?: string | undefined;
864
864
  }>;
@@ -871,19 +871,19 @@ export declare const leadsContractRouter: {
871
871
  path: z.ZodString;
872
872
  correlationId: z.ZodOptional<z.ZodString>;
873
873
  }, "strip", z.ZodTypeAny, {
874
- code: string;
875
- path: string;
876
- message: string;
877
874
  statusCode: number;
875
+ message: string;
876
+ code: string;
878
877
  timestamp: string;
878
+ path: string;
879
879
  details?: unknown;
880
880
  correlationId?: string | undefined;
881
881
  }, {
882
- code: string;
883
- path: string;
884
- message: string;
885
882
  statusCode: number;
883
+ message: string;
884
+ code: string;
886
885
  timestamp: string;
886
+ path: string;
887
887
  details?: unknown;
888
888
  correlationId?: string | undefined;
889
889
  }>;
@@ -896,19 +896,19 @@ export declare const leadsContractRouter: {
896
896
  path: z.ZodString;
897
897
  correlationId: z.ZodOptional<z.ZodString>;
898
898
  }, "strip", z.ZodTypeAny, {
899
- code: string;
900
- path: string;
901
- message: string;
902
899
  statusCode: number;
900
+ message: string;
901
+ code: string;
903
902
  timestamp: string;
903
+ path: string;
904
904
  details?: unknown;
905
905
  correlationId?: string | undefined;
906
906
  }, {
907
- code: string;
908
- path: string;
909
- message: string;
910
907
  statusCode: number;
908
+ message: string;
909
+ code: string;
911
910
  timestamp: string;
911
+ path: string;
912
912
  details?: unknown;
913
913
  correlationId?: string | undefined;
914
914
  }>;
@@ -927,10 +927,10 @@ export declare const leadsContractRouter: {
927
927
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
928
928
  }, "strip", z.ZodTypeAny, {
929
929
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
930
- createdAt: string;
931
- updatedAt: string;
932
930
  id: string;
933
931
  name: string;
932
+ createdAt: string;
933
+ updatedAt: string;
934
934
  source: string;
935
935
  phoneNumber: string;
936
936
  blacklistReason?: string | null | undefined;
@@ -940,10 +940,10 @@ export declare const leadsContractRouter: {
940
940
  conversionRate?: number | null | undefined;
941
941
  }, {
942
942
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
943
- createdAt: string | Date;
944
- updatedAt: string | Date;
945
943
  id: string;
946
944
  name: string;
945
+ createdAt: string | Date;
946
+ updatedAt: string | Date;
947
947
  source: string;
948
948
  phoneNumber: string;
949
949
  blacklistReason?: string | null | undefined;
@@ -961,19 +961,19 @@ export declare const leadsContractRouter: {
961
961
  path: z.ZodString;
962
962
  correlationId: z.ZodOptional<z.ZodString>;
963
963
  }, "strip", z.ZodTypeAny, {
964
- code: string;
965
- path: string;
966
- message: string;
967
964
  statusCode: number;
965
+ message: string;
966
+ code: string;
968
967
  timestamp: string;
968
+ path: string;
969
969
  details?: unknown;
970
970
  correlationId?: string | undefined;
971
971
  }, {
972
- code: string;
973
- path: string;
974
- message: string;
975
972
  statusCode: number;
973
+ message: string;
974
+ code: string;
976
975
  timestamp: string;
976
+ path: string;
977
977
  details?: unknown;
978
978
  correlationId?: string | undefined;
979
979
  }>;
@@ -1025,19 +1025,19 @@ export declare const leadsContractRouter: {
1025
1025
  path: z.ZodString;
1026
1026
  correlationId: z.ZodOptional<z.ZodString>;
1027
1027
  }, "strip", z.ZodTypeAny, {
1028
- code: string;
1029
- path: string;
1030
- message: string;
1031
1028
  statusCode: number;
1029
+ message: string;
1030
+ code: string;
1032
1031
  timestamp: string;
1032
+ path: string;
1033
1033
  details?: unknown;
1034
1034
  correlationId?: string | undefined;
1035
1035
  }, {
1036
- code: string;
1037
- path: string;
1038
- message: string;
1039
1036
  statusCode: number;
1037
+ message: string;
1038
+ code: string;
1040
1039
  timestamp: string;
1040
+ path: string;
1041
1041
  details?: unknown;
1042
1042
  correlationId?: string | undefined;
1043
1043
  }>;
@@ -1050,19 +1050,19 @@ export declare const leadsContractRouter: {
1050
1050
  path: z.ZodString;
1051
1051
  correlationId: z.ZodOptional<z.ZodString>;
1052
1052
  }, "strip", z.ZodTypeAny, {
1053
- code: string;
1054
- path: string;
1055
- message: string;
1056
1053
  statusCode: number;
1054
+ message: string;
1055
+ code: string;
1057
1056
  timestamp: string;
1057
+ path: string;
1058
1058
  details?: unknown;
1059
1059
  correlationId?: string | undefined;
1060
1060
  }, {
1061
- code: string;
1062
- path: string;
1063
- message: string;
1064
1061
  statusCode: number;
1062
+ message: string;
1063
+ code: string;
1065
1064
  timestamp: string;
1065
+ path: string;
1066
1066
  details?: unknown;
1067
1067
  correlationId?: string | undefined;
1068
1068
  }>;
@@ -1075,19 +1075,19 @@ export declare const leadsContractRouter: {
1075
1075
  path: z.ZodString;
1076
1076
  correlationId: z.ZodOptional<z.ZodString>;
1077
1077
  }, "strip", z.ZodTypeAny, {
1078
- code: string;
1079
- path: string;
1080
- message: string;
1081
1078
  statusCode: number;
1079
+ message: string;
1080
+ code: string;
1082
1081
  timestamp: string;
1082
+ path: string;
1083
1083
  details?: unknown;
1084
1084
  correlationId?: string | undefined;
1085
1085
  }, {
1086
- code: string;
1087
- path: string;
1088
- message: string;
1089
1086
  statusCode: number;
1087
+ message: string;
1088
+ code: string;
1090
1089
  timestamp: string;
1090
+ path: string;
1091
1091
  details?: unknown;
1092
1092
  correlationId?: string | undefined;
1093
1093
  }>;
@@ -1100,19 +1100,19 @@ export declare const leadsContractRouter: {
1100
1100
  path: z.ZodString;
1101
1101
  correlationId: z.ZodOptional<z.ZodString>;
1102
1102
  }, "strip", z.ZodTypeAny, {
1103
- code: string;
1104
- path: string;
1105
- message: string;
1106
1103
  statusCode: number;
1104
+ message: string;
1105
+ code: string;
1107
1106
  timestamp: string;
1107
+ path: string;
1108
1108
  details?: unknown;
1109
1109
  correlationId?: string | undefined;
1110
1110
  }, {
1111
- code: string;
1112
- path: string;
1113
- message: string;
1114
1111
  statusCode: number;
1112
+ message: string;
1113
+ code: string;
1115
1114
  timestamp: string;
1115
+ path: string;
1116
1116
  details?: unknown;
1117
1117
  correlationId?: string | undefined;
1118
1118
  }>;
@@ -1131,10 +1131,10 @@ export declare const leadsContractRouter: {
1131
1131
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1132
1132
  }, "strip", z.ZodTypeAny, {
1133
1133
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
1134
- createdAt: string;
1135
- updatedAt: string;
1136
1134
  id: string;
1137
1135
  name: string;
1136
+ createdAt: string;
1137
+ updatedAt: string;
1138
1138
  source: string;
1139
1139
  phoneNumber: string;
1140
1140
  blacklistReason?: string | null | undefined;
@@ -1144,10 +1144,10 @@ export declare const leadsContractRouter: {
1144
1144
  conversionRate?: number | null | undefined;
1145
1145
  }, {
1146
1146
  status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED";
1147
- createdAt: string | Date;
1148
- updatedAt: string | Date;
1149
1147
  id: string;
1150
1148
  name: string;
1149
+ createdAt: string | Date;
1150
+ updatedAt: string | Date;
1151
1151
  source: string;
1152
1152
  phoneNumber: string;
1153
1153
  blacklistReason?: string | null | undefined;
@@ -1165,19 +1165,19 @@ export declare const leadsContractRouter: {
1165
1165
  path: z.ZodString;
1166
1166
  correlationId: z.ZodOptional<z.ZodString>;
1167
1167
  }, "strip", z.ZodTypeAny, {
1168
- code: string;
1169
- path: string;
1170
- message: string;
1171
1168
  statusCode: number;
1169
+ message: string;
1170
+ code: string;
1172
1171
  timestamp: string;
1172
+ path: string;
1173
1173
  details?: unknown;
1174
1174
  correlationId?: string | undefined;
1175
1175
  }, {
1176
- code: string;
1177
- path: string;
1178
- message: string;
1179
1176
  statusCode: number;
1177
+ message: string;
1178
+ code: string;
1180
1179
  timestamp: string;
1180
+ path: string;
1181
1181
  details?: unknown;
1182
1182
  correlationId?: string | undefined;
1183
1183
  }>;
@@ -1190,19 +1190,19 @@ export declare const leadsContractRouter: {
1190
1190
  path: z.ZodString;
1191
1191
  correlationId: z.ZodOptional<z.ZodString>;
1192
1192
  }, "strip", z.ZodTypeAny, {
1193
- code: string;
1194
- path: string;
1195
- message: string;
1196
1193
  statusCode: number;
1194
+ message: string;
1195
+ code: string;
1197
1196
  timestamp: string;
1197
+ path: string;
1198
1198
  details?: unknown;
1199
1199
  correlationId?: string | undefined;
1200
1200
  }, {
1201
- code: string;
1202
- path: string;
1203
- message: string;
1204
1201
  statusCode: number;
1202
+ message: string;
1203
+ code: string;
1205
1204
  timestamp: string;
1205
+ path: string;
1206
1206
  details?: unknown;
1207
1207
  correlationId?: string | undefined;
1208
1208
  }>;
@@ -1236,19 +1236,19 @@ export declare const leadsContractRouter: {
1236
1236
  path: z.ZodString;
1237
1237
  correlationId: z.ZodOptional<z.ZodString>;
1238
1238
  }, "strip", z.ZodTypeAny, {
1239
- code: string;
1240
- path: string;
1241
- message: string;
1242
1239
  statusCode: number;
1240
+ message: string;
1241
+ code: string;
1243
1242
  timestamp: string;
1243
+ path: string;
1244
1244
  details?: unknown;
1245
1245
  correlationId?: string | undefined;
1246
1246
  }, {
1247
- code: string;
1248
- path: string;
1249
- message: string;
1250
1247
  statusCode: number;
1248
+ message: string;
1249
+ code: string;
1251
1250
  timestamp: string;
1251
+ path: string;
1252
1252
  details?: unknown;
1253
1253
  correlationId?: string | undefined;
1254
1254
  }>;
@@ -1261,19 +1261,19 @@ export declare const leadsContractRouter: {
1261
1261
  path: z.ZodString;
1262
1262
  correlationId: z.ZodOptional<z.ZodString>;
1263
1263
  }, "strip", z.ZodTypeAny, {
1264
- code: string;
1265
- path: string;
1266
- message: string;
1267
1264
  statusCode: number;
1265
+ message: string;
1266
+ code: string;
1268
1267
  timestamp: string;
1268
+ path: string;
1269
1269
  details?: unknown;
1270
1270
  correlationId?: string | undefined;
1271
1271
  }, {
1272
- code: string;
1273
- path: string;
1274
- message: string;
1275
1272
  statusCode: number;
1273
+ message: string;
1274
+ code: string;
1276
1275
  timestamp: string;
1276
+ path: string;
1277
1277
  details?: unknown;
1278
1278
  correlationId?: string | undefined;
1279
1279
  }>;
@@ -1286,19 +1286,19 @@ export declare const leadsContractRouter: {
1286
1286
  path: z.ZodString;
1287
1287
  correlationId: z.ZodOptional<z.ZodString>;
1288
1288
  }, "strip", z.ZodTypeAny, {
1289
- code: string;
1290
- path: string;
1291
- message: string;
1292
1289
  statusCode: number;
1290
+ message: string;
1291
+ code: string;
1293
1292
  timestamp: string;
1293
+ path: string;
1294
1294
  details?: unknown;
1295
1295
  correlationId?: string | undefined;
1296
1296
  }, {
1297
- code: string;
1298
- path: string;
1299
- message: string;
1300
1297
  statusCode: number;
1298
+ message: string;
1299
+ code: string;
1301
1300
  timestamp: string;
1301
+ path: string;
1302
1302
  details?: unknown;
1303
1303
  correlationId?: string | undefined;
1304
1304
  }>;
@@ -1311,19 +1311,19 @@ export declare const leadsContractRouter: {
1311
1311
  path: z.ZodString;
1312
1312
  correlationId: z.ZodOptional<z.ZodString>;
1313
1313
  }, "strip", z.ZodTypeAny, {
1314
- code: string;
1315
- path: string;
1316
- message: string;
1317
1314
  statusCode: number;
1315
+ message: string;
1316
+ code: string;
1318
1317
  timestamp: string;
1318
+ path: string;
1319
1319
  details?: unknown;
1320
1320
  correlationId?: string | undefined;
1321
1321
  }, {
1322
- code: string;
1323
- path: string;
1324
- message: string;
1325
1322
  statusCode: number;
1323
+ message: string;
1324
+ code: string;
1326
1325
  timestamp: string;
1326
+ path: string;
1327
1327
  details?: unknown;
1328
1328
  correlationId?: string | undefined;
1329
1329
  }>;
@@ -1337,19 +1337,19 @@ export declare const leadsContractRouter: {
1337
1337
  path: z.ZodString;
1338
1338
  correlationId: z.ZodOptional<z.ZodString>;
1339
1339
  }, "strip", z.ZodTypeAny, {
1340
- code: string;
1341
- path: string;
1342
- message: string;
1343
1340
  statusCode: number;
1341
+ message: string;
1342
+ code: string;
1344
1343
  timestamp: string;
1344
+ path: string;
1345
1345
  details?: unknown;
1346
1346
  correlationId?: string | undefined;
1347
1347
  }, {
1348
- code: string;
1349
- path: string;
1350
- message: string;
1351
1348
  statusCode: number;
1349
+ message: string;
1350
+ code: string;
1352
1351
  timestamp: string;
1352
+ path: string;
1353
1353
  details?: unknown;
1354
1354
  correlationId?: string | undefined;
1355
1355
  }>;
@@ -1398,19 +1398,19 @@ export declare const leadsContractRouter: {
1398
1398
  path: z.ZodString;
1399
1399
  correlationId: z.ZodOptional<z.ZodString>;
1400
1400
  }, "strip", z.ZodTypeAny, {
1401
- code: string;
1402
- path: string;
1403
- message: string;
1404
1401
  statusCode: number;
1402
+ message: string;
1403
+ code: string;
1405
1404
  timestamp: string;
1405
+ path: string;
1406
1406
  details?: unknown;
1407
1407
  correlationId?: string | undefined;
1408
1408
  }, {
1409
- code: string;
1410
- path: string;
1411
- message: string;
1412
1409
  statusCode: number;
1410
+ message: string;
1411
+ code: string;
1413
1412
  timestamp: string;
1413
+ path: string;
1414
1414
  details?: unknown;
1415
1415
  correlationId?: string | undefined;
1416
1416
  }>;
@@ -1423,19 +1423,19 @@ export declare const leadsContractRouter: {
1423
1423
  path: z.ZodString;
1424
1424
  correlationId: z.ZodOptional<z.ZodString>;
1425
1425
  }, "strip", z.ZodTypeAny, {
1426
- code: string;
1427
- path: string;
1428
- message: string;
1429
1426
  statusCode: number;
1427
+ message: string;
1428
+ code: string;
1430
1429
  timestamp: string;
1430
+ path: string;
1431
1431
  details?: unknown;
1432
1432
  correlationId?: string | undefined;
1433
1433
  }, {
1434
- code: string;
1435
- path: string;
1436
- message: string;
1437
1434
  statusCode: number;
1435
+ message: string;
1436
+ code: string;
1438
1437
  timestamp: string;
1438
+ path: string;
1439
1439
  details?: unknown;
1440
1440
  correlationId?: string | undefined;
1441
1441
  }>;
@@ -1448,19 +1448,19 @@ export declare const leadsContractRouter: {
1448
1448
  path: z.ZodString;
1449
1449
  correlationId: z.ZodOptional<z.ZodString>;
1450
1450
  }, "strip", z.ZodTypeAny, {
1451
- code: string;
1452
- path: string;
1453
- message: string;
1454
1451
  statusCode: number;
1452
+ message: string;
1453
+ code: string;
1455
1454
  timestamp: string;
1455
+ path: string;
1456
1456
  details?: unknown;
1457
1457
  correlationId?: string | undefined;
1458
1458
  }, {
1459
- code: string;
1460
- path: string;
1461
- message: string;
1462
1459
  statusCode: number;
1460
+ message: string;
1461
+ code: string;
1463
1462
  timestamp: string;
1463
+ path: string;
1464
1464
  details?: unknown;
1465
1465
  correlationId?: string | undefined;
1466
1466
  }>;
@@ -1473,19 +1473,19 @@ export declare const leadsContractRouter: {
1473
1473
  path: z.ZodString;
1474
1474
  correlationId: z.ZodOptional<z.ZodString>;
1475
1475
  }, "strip", z.ZodTypeAny, {
1476
- code: string;
1477
- path: string;
1478
- message: string;
1479
1476
  statusCode: number;
1477
+ message: string;
1478
+ code: string;
1480
1479
  timestamp: string;
1480
+ path: string;
1481
1481
  details?: unknown;
1482
1482
  correlationId?: string | undefined;
1483
1483
  }, {
1484
- code: string;
1485
- path: string;
1486
- message: string;
1487
1484
  statusCode: number;
1485
+ message: string;
1486
+ code: string;
1488
1487
  timestamp: string;
1488
+ path: string;
1489
1489
  details?: unknown;
1490
1490
  correlationId?: string | undefined;
1491
1491
  }>;
@@ -1502,9 +1502,9 @@ export declare const leadsContractRouter: {
1502
1502
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1503
1503
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1504
1504
  }, "strip", z.ZodTypeAny, {
1505
+ id: string;
1505
1506
  createdAt: string;
1506
1507
  updatedAt: string;
1507
- id: string;
1508
1508
  agentId: string;
1509
1509
  assignmentId: string;
1510
1510
  rating: import("../call-history/call-history.contract").CallRating;
@@ -1514,9 +1514,9 @@ export declare const leadsContractRouter: {
1514
1514
  ratingWeight: number;
1515
1515
  notes?: string | null | undefined;
1516
1516
  }, {
1517
+ id: string;
1517
1518
  createdAt: string | Date;
1518
1519
  updatedAt: string | Date;
1519
- id: string;
1520
1520
  agentId: string;
1521
1521
  assignmentId: string;
1522
1522
  rating: import("../call-history/call-history.contract").CallRating;
@@ -1549,19 +1549,19 @@ export declare const leadsContractRouter: {
1549
1549
  path: z.ZodString;
1550
1550
  correlationId: z.ZodOptional<z.ZodString>;
1551
1551
  }, "strip", z.ZodTypeAny, {
1552
- code: string;
1553
- path: string;
1554
- message: string;
1555
1552
  statusCode: number;
1553
+ message: string;
1554
+ code: string;
1556
1555
  timestamp: string;
1556
+ path: string;
1557
1557
  details?: unknown;
1558
1558
  correlationId?: string | undefined;
1559
1559
  }, {
1560
- code: string;
1561
- path: string;
1562
- message: string;
1563
1560
  statusCode: number;
1561
+ message: string;
1562
+ code: string;
1564
1563
  timestamp: string;
1564
+ path: string;
1565
1565
  details?: unknown;
1566
1566
  correlationId?: string | undefined;
1567
1567
  }>;
@@ -1574,19 +1574,19 @@ export declare const leadsContractRouter: {
1574
1574
  path: z.ZodString;
1575
1575
  correlationId: z.ZodOptional<z.ZodString>;
1576
1576
  }, "strip", z.ZodTypeAny, {
1577
- code: string;
1578
- path: string;
1579
- message: string;
1580
1577
  statusCode: number;
1578
+ message: string;
1579
+ code: string;
1581
1580
  timestamp: string;
1581
+ path: string;
1582
1582
  details?: unknown;
1583
1583
  correlationId?: string | undefined;
1584
1584
  }, {
1585
- code: string;
1586
- path: string;
1587
- message: string;
1588
1585
  statusCode: number;
1586
+ message: string;
1587
+ code: string;
1589
1588
  timestamp: string;
1589
+ path: string;
1590
1590
  details?: unknown;
1591
1591
  correlationId?: string | undefined;
1592
1592
  }>;
@@ -1599,19 +1599,19 @@ export declare const leadsContractRouter: {
1599
1599
  path: z.ZodString;
1600
1600
  correlationId: z.ZodOptional<z.ZodString>;
1601
1601
  }, "strip", z.ZodTypeAny, {
1602
- code: string;
1603
- path: string;
1604
- message: string;
1605
1602
  statusCode: number;
1603
+ message: string;
1604
+ code: string;
1606
1605
  timestamp: string;
1606
+ path: string;
1607
1607
  details?: unknown;
1608
1608
  correlationId?: string | undefined;
1609
1609
  }, {
1610
- code: string;
1611
- path: string;
1612
- message: string;
1613
1610
  statusCode: number;
1611
+ message: string;
1612
+ code: string;
1614
1613
  timestamp: string;
1614
+ path: string;
1615
1615
  details?: unknown;
1616
1616
  correlationId?: string | undefined;
1617
1617
  }>;
@@ -1624,19 +1624,19 @@ export declare const leadsContractRouter: {
1624
1624
  path: z.ZodString;
1625
1625
  correlationId: z.ZodOptional<z.ZodString>;
1626
1626
  }, "strip", z.ZodTypeAny, {
1627
- code: string;
1628
- path: string;
1629
- message: string;
1630
1627
  statusCode: number;
1628
+ message: string;
1629
+ code: string;
1631
1630
  timestamp: string;
1631
+ path: string;
1632
1632
  details?: unknown;
1633
1633
  correlationId?: string | undefined;
1634
1634
  }, {
1635
- code: string;
1636
- path: string;
1637
- message: string;
1638
1635
  statusCode: number;
1636
+ message: string;
1637
+ code: string;
1639
1638
  timestamp: string;
1639
+ path: string;
1640
1640
  details?: unknown;
1641
1641
  correlationId?: string | undefined;
1642
1642
  }>;