@dakkitor/api-contracts 1.1.73 → 1.1.76

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 (30) hide show
  1. package/dist/abilities/first-agent.abilities.json +4 -1
  2. package/dist/abilities/second-agent.abilities.json +1 -0
  3. package/dist/actives/actives.contract.d.ts +2959 -2199
  4. package/dist/actives/actives.contract.d.ts.map +1 -1
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts +416 -416
  6. package/dist/auth/auth.contract.d.ts +4 -4
  7. package/dist/bookings/bookings.contract.d.ts +2634 -1894
  8. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  9. package/dist/bookings/bookings.contract.js +0 -2
  10. package/dist/call-history/call-history.contract.d.ts +409 -409
  11. package/dist/client-contacts/client-contacts.contract.d.ts +231 -231
  12. package/dist/clients/clients.contract.d.ts +98 -98
  13. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1269 -749
  14. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
  15. package/dist/collaborations/collaborations.contract.d.ts +1069 -609
  16. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  17. package/dist/collaborations/collaborations.contract.js +2 -11
  18. package/dist/common/common-schemas.d.ts +0 -17
  19. package/dist/common/common-schemas.d.ts.map +1 -1
  20. package/dist/common/common-schemas.js +1 -9
  21. package/dist/companies/companies.contract.d.ts +36 -36
  22. package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
  23. package/dist/jobs/jobs.contract.d.ts +1053 -533
  24. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  25. package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
  26. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +111 -111
  27. package/dist/leads/leads.contract.d.ts +101 -101
  28. package/dist/users/users.contract.d.ts +132 -132
  29. package/dist/workers/workers.contract.d.ts +200 -200
  30. package/package.json +1 -1
@@ -31,29 +31,29 @@ export declare const LeadSchema: z.ZodObject<{
31
31
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
32
32
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- id: string;
35
- name: string;
36
- phoneNumber: string;
37
34
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
35
+ id: string;
38
36
  createdAt: string;
39
37
  updatedAt: string;
38
+ name: string;
39
+ phoneNumber: string;
40
40
  source: string;
41
- totalCalls?: number | null | undefined;
42
41
  qualityScore?: number | null | undefined;
43
42
  conversionRate?: number | null | undefined;
43
+ totalCalls?: number | null | undefined;
44
44
  blacklistReason?: string | null | undefined;
45
45
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
46
46
  }, {
47
- id: string;
48
- name: string;
49
- phoneNumber: string;
50
47
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
48
+ id: string;
51
49
  createdAt: string | Date;
52
50
  updatedAt: string | Date;
51
+ name: string;
52
+ phoneNumber: string;
53
53
  source: string;
54
- totalCalls?: number | null | undefined;
55
54
  qualityScore?: number | null | undefined;
56
55
  conversionRate?: number | null | undefined;
56
+ totalCalls?: number | null | undefined;
57
57
  blacklistReason?: string | null | undefined;
58
58
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
59
59
  }>;
@@ -92,15 +92,15 @@ export declare const UpdateLeadSchema: z.ZodObject<{
92
92
  blacklistReason: z.ZodOptional<z.ZodString>;
93
93
  source: z.ZodOptional<z.ZodString>;
94
94
  }, "strip", z.ZodTypeAny, {
95
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
95
96
  name?: string | undefined;
96
97
  phoneNumber?: string | undefined;
97
- status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
98
98
  source?: string | undefined;
99
99
  blacklistReason?: string | undefined;
100
100
  }, {
101
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
101
102
  name?: string | undefined;
102
103
  phoneNumber?: string | undefined;
103
- status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
104
104
  source?: string | undefined;
105
105
  blacklistReason?: string | undefined;
106
106
  }>;
@@ -125,31 +125,31 @@ export declare const FilterLeadSchema: z.ZodObject<{
125
125
  }, "strip", z.ZodTypeAny, {
126
126
  limit: number;
127
127
  page: number;
128
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
128
129
  name?: string | null | undefined;
129
130
  phoneNumber?: string | null | undefined;
130
- status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
131
- sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
132
- sortOrder?: "ASC" | "DESC" | null | undefined;
133
131
  source?: string | null | undefined;
134
132
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
135
133
  minQualityScore?: number | null | undefined;
136
134
  maxQualityScore?: number | null | undefined;
137
135
  minConversionRate?: number | null | undefined;
138
136
  minTotalCalls?: number | null | undefined;
137
+ sortBy?: "status" | "createdAt" | "updatedAt" | "name" | "phoneNumber" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
138
+ sortOrder?: "ASC" | "DESC" | null | undefined;
139
139
  }, {
140
- name?: string | null | undefined;
141
- phoneNumber?: string | null | undefined;
142
140
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
143
141
  limit?: number | undefined;
144
142
  page?: number | undefined;
145
- sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
146
- sortOrder?: "ASC" | "DESC" | null | undefined;
143
+ name?: string | null | undefined;
144
+ phoneNumber?: string | null | undefined;
147
145
  source?: string | null | undefined;
148
146
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
149
147
  minQualityScore?: number | null | undefined;
150
148
  maxQualityScore?: number | null | undefined;
151
149
  minConversionRate?: number | null | undefined;
152
150
  minTotalCalls?: number | null | undefined;
151
+ sortBy?: "status" | "createdAt" | "updatedAt" | "name" | "phoneNumber" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
152
+ sortOrder?: "ASC" | "DESC" | null | undefined;
153
153
  }>;
154
154
  /**
155
155
  * Call History Response Schema for leads
@@ -168,11 +168,11 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
168
168
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
169
169
  }, "strip", z.ZodTypeAny, {
170
170
  id: string;
171
+ createdAt: string;
172
+ updatedAt: string;
171
173
  assignmentId: string;
172
174
  leadId: string;
173
175
  agentId: string;
174
- createdAt: string;
175
- updatedAt: string;
176
176
  callDate: string;
177
177
  callType: import("../call-history/call-history.contract").CallType;
178
178
  rating: import("../common/call-rating.schema").CallRating;
@@ -180,11 +180,11 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
180
180
  notes?: string | null | undefined;
181
181
  }, {
182
182
  id: string;
183
+ createdAt: string | Date;
184
+ updatedAt: string | Date;
183
185
  assignmentId: string;
184
186
  leadId: string;
185
187
  agentId: string;
186
- createdAt: string | Date;
187
- updatedAt: string | Date;
188
188
  callDate: string | Date;
189
189
  callType: import("../call-history/call-history.contract").CallType;
190
190
  rating: import("../common/call-rating.schema").CallRating;
@@ -269,29 +269,29 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
269
269
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
270
270
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
271
271
  }, "strip", z.ZodTypeAny, {
272
- id: string;
273
- name: string;
274
- phoneNumber: string;
275
272
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
273
+ id: string;
276
274
  createdAt: string;
277
275
  updatedAt: string;
276
+ name: string;
277
+ phoneNumber: string;
278
278
  source: string;
279
- totalCalls?: number | null | undefined;
280
279
  qualityScore?: number | null | undefined;
281
280
  conversionRate?: number | null | undefined;
281
+ totalCalls?: number | null | undefined;
282
282
  blacklistReason?: string | null | undefined;
283
283
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
284
284
  }, {
285
- id: string;
286
- name: string;
287
- phoneNumber: string;
288
285
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
286
+ id: string;
289
287
  createdAt: string | Date;
290
288
  updatedAt: string | Date;
289
+ name: string;
290
+ phoneNumber: string;
291
291
  source: string;
292
- totalCalls?: number | null | undefined;
293
292
  qualityScore?: number | null | undefined;
294
293
  conversionRate?: number | null | undefined;
294
+ totalCalls?: number | null | undefined;
295
295
  blacklistReason?: string | null | undefined;
296
296
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
297
297
  }>, "many">;
@@ -301,42 +301,42 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
301
301
  currentPage: z.ZodNumber;
302
302
  totalPages: z.ZodNumber;
303
303
  }, "strip", z.ZodTypeAny, {
304
+ limit: number;
304
305
  items: {
305
- id: string;
306
- name: string;
307
- phoneNumber: string;
308
306
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
307
+ id: string;
309
308
  createdAt: string;
310
309
  updatedAt: string;
310
+ name: string;
311
+ phoneNumber: string;
311
312
  source: string;
312
- totalCalls?: number | null | undefined;
313
313
  qualityScore?: number | null | undefined;
314
314
  conversionRate?: number | null | undefined;
315
+ totalCalls?: number | null | undefined;
315
316
  blacklistReason?: string | null | undefined;
316
317
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
317
318
  }[];
318
319
  totalCount: number;
319
- limit: number;
320
320
  skip: number;
321
321
  currentPage: number;
322
322
  totalPages: number;
323
323
  }, {
324
+ limit: number;
324
325
  items: {
325
- id: string;
326
- name: string;
327
- phoneNumber: string;
328
326
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
327
+ id: string;
329
328
  createdAt: string | Date;
330
329
  updatedAt: string | Date;
330
+ name: string;
331
+ phoneNumber: string;
331
332
  source: string;
332
- totalCalls?: number | null | undefined;
333
333
  qualityScore?: number | null | undefined;
334
334
  conversionRate?: number | null | undefined;
335
+ totalCalls?: number | null | undefined;
335
336
  blacklistReason?: string | null | undefined;
336
337
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
337
338
  }[];
338
339
  totalCount: number;
339
- limit: number;
340
340
  skip: number;
341
341
  currentPage: number;
342
342
  totalPages: number;
@@ -497,29 +497,29 @@ export declare const leadsContractRouter: {
497
497
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
498
498
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
499
499
  }, "strip", z.ZodTypeAny, {
500
- id: string;
501
- name: string;
502
- phoneNumber: string;
503
500
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
501
+ id: string;
504
502
  createdAt: string;
505
503
  updatedAt: string;
504
+ name: string;
505
+ phoneNumber: string;
506
506
  source: string;
507
- totalCalls?: number | null | undefined;
508
507
  qualityScore?: number | null | undefined;
509
508
  conversionRate?: number | null | undefined;
509
+ totalCalls?: number | null | undefined;
510
510
  blacklistReason?: string | null | undefined;
511
511
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
512
512
  }, {
513
- id: string;
514
- name: string;
515
- phoneNumber: string;
516
513
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
514
+ id: string;
517
515
  createdAt: string | Date;
518
516
  updatedAt: string | Date;
517
+ name: string;
518
+ phoneNumber: string;
519
519
  source: string;
520
- totalCalls?: number | null | undefined;
521
520
  qualityScore?: number | null | undefined;
522
521
  conversionRate?: number | null | undefined;
522
+ totalCalls?: number | null | undefined;
523
523
  blacklistReason?: string | null | undefined;
524
524
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
525
525
  }>;
@@ -551,12 +551,6 @@ export declare const leadsContractRouter: {
551
551
  };
552
552
  };
553
553
  findAll: {
554
- metadata: {
555
- tags: string[];
556
- openApi: {
557
- operationId: string;
558
- };
559
- };
560
554
  query: z.ZodObject<{
561
555
  limit: z.ZodDefault<z.ZodNumber>;
562
556
  page: z.ZodDefault<z.ZodNumber>;
@@ -575,32 +569,38 @@ export declare const leadsContractRouter: {
575
569
  }, "strip", z.ZodTypeAny, {
576
570
  limit: number;
577
571
  page: number;
572
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
578
573
  name?: string | null | undefined;
579
574
  phoneNumber?: string | null | undefined;
580
- status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
581
- sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
582
- sortOrder?: "ASC" | "DESC" | null | undefined;
583
575
  source?: string | null | undefined;
584
576
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
585
577
  minQualityScore?: number | null | undefined;
586
578
  maxQualityScore?: number | null | undefined;
587
579
  minConversionRate?: number | null | undefined;
588
580
  minTotalCalls?: number | null | undefined;
581
+ sortBy?: "status" | "createdAt" | "updatedAt" | "name" | "phoneNumber" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
582
+ sortOrder?: "ASC" | "DESC" | null | undefined;
589
583
  }, {
590
- name?: string | null | undefined;
591
- phoneNumber?: string | null | undefined;
592
584
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
593
585
  limit?: number | undefined;
594
586
  page?: number | undefined;
595
- sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
596
- sortOrder?: "ASC" | "DESC" | null | undefined;
587
+ name?: string | null | undefined;
588
+ phoneNumber?: string | null | undefined;
597
589
  source?: string | null | undefined;
598
590
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
599
591
  minQualityScore?: number | null | undefined;
600
592
  maxQualityScore?: number | null | undefined;
601
593
  minConversionRate?: number | null | undefined;
602
594
  minTotalCalls?: number | null | undefined;
595
+ sortBy?: "status" | "createdAt" | "updatedAt" | "name" | "phoneNumber" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
596
+ sortOrder?: "ASC" | "DESC" | null | undefined;
603
597
  }>;
598
+ metadata: {
599
+ tags: string[];
600
+ openApi: {
601
+ operationId: string;
602
+ };
603
+ };
604
604
  summary: "Get all leads";
605
605
  method: "GET";
606
606
  path: "/v2/leads";
@@ -720,29 +720,29 @@ export declare const leadsContractRouter: {
720
720
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
721
721
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
722
722
  }, "strip", z.ZodTypeAny, {
723
- id: string;
724
- name: string;
725
- phoneNumber: string;
726
723
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
724
+ id: string;
727
725
  createdAt: string;
728
726
  updatedAt: string;
727
+ name: string;
728
+ phoneNumber: string;
729
729
  source: string;
730
- totalCalls?: number | null | undefined;
731
730
  qualityScore?: number | null | undefined;
732
731
  conversionRate?: number | null | undefined;
732
+ totalCalls?: number | null | undefined;
733
733
  blacklistReason?: string | null | undefined;
734
734
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
735
735
  }, {
736
- id: string;
737
- name: string;
738
- phoneNumber: string;
739
736
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
737
+ id: string;
740
738
  createdAt: string | Date;
741
739
  updatedAt: string | Date;
740
+ name: string;
741
+ phoneNumber: string;
742
742
  source: string;
743
- totalCalls?: number | null | undefined;
744
743
  qualityScore?: number | null | undefined;
745
744
  conversionRate?: number | null | undefined;
745
+ totalCalls?: number | null | undefined;
746
746
  blacklistReason?: string | null | undefined;
747
747
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
748
748
  }>, "many">;
@@ -752,42 +752,42 @@ export declare const leadsContractRouter: {
752
752
  currentPage: z.ZodNumber;
753
753
  totalPages: z.ZodNumber;
754
754
  }, "strip", z.ZodTypeAny, {
755
+ limit: number;
755
756
  items: {
756
- id: string;
757
- name: string;
758
- phoneNumber: string;
759
757
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
758
+ id: string;
760
759
  createdAt: string;
761
760
  updatedAt: string;
761
+ name: string;
762
+ phoneNumber: string;
762
763
  source: string;
763
- totalCalls?: number | null | undefined;
764
764
  qualityScore?: number | null | undefined;
765
765
  conversionRate?: number | null | undefined;
766
+ totalCalls?: number | null | undefined;
766
767
  blacklistReason?: string | null | undefined;
767
768
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
768
769
  }[];
769
770
  totalCount: number;
770
- limit: number;
771
771
  skip: number;
772
772
  currentPage: number;
773
773
  totalPages: number;
774
774
  }, {
775
+ limit: number;
775
776
  items: {
776
- id: string;
777
- name: string;
778
- phoneNumber: string;
779
777
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
778
+ id: string;
780
779
  createdAt: string | Date;
781
780
  updatedAt: string | Date;
781
+ name: string;
782
+ phoneNumber: string;
782
783
  source: string;
783
- totalCalls?: number | null | undefined;
784
784
  qualityScore?: number | null | undefined;
785
785
  conversionRate?: number | null | undefined;
786
+ totalCalls?: number | null | undefined;
786
787
  blacklistReason?: string | null | undefined;
787
788
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
788
789
  }[];
789
790
  totalCount: number;
790
- limit: number;
791
791
  skip: number;
792
792
  currentPage: number;
793
793
  totalPages: number;
@@ -926,29 +926,29 @@ export declare const leadsContractRouter: {
926
926
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
927
927
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
928
928
  }, "strip", z.ZodTypeAny, {
929
- id: string;
930
- name: string;
931
- phoneNumber: string;
932
929
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
930
+ id: string;
933
931
  createdAt: string;
934
932
  updatedAt: string;
933
+ name: string;
934
+ phoneNumber: string;
935
935
  source: string;
936
- totalCalls?: number | null | undefined;
937
936
  qualityScore?: number | null | undefined;
938
937
  conversionRate?: number | null | undefined;
938
+ totalCalls?: number | null | undefined;
939
939
  blacklistReason?: string | null | undefined;
940
940
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
941
941
  }, {
942
- id: string;
943
- name: string;
944
- phoneNumber: string;
945
942
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
943
+ id: string;
946
944
  createdAt: string | Date;
947
945
  updatedAt: string | Date;
946
+ name: string;
947
+ phoneNumber: string;
948
948
  source: string;
949
- totalCalls?: number | null | undefined;
950
949
  qualityScore?: number | null | undefined;
951
950
  conversionRate?: number | null | undefined;
951
+ totalCalls?: number | null | undefined;
952
952
  blacklistReason?: string | null | undefined;
953
953
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
954
954
  }>;
@@ -1002,15 +1002,15 @@ export declare const leadsContractRouter: {
1002
1002
  blacklistReason: z.ZodOptional<z.ZodString>;
1003
1003
  source: z.ZodOptional<z.ZodString>;
1004
1004
  }, "strip", z.ZodTypeAny, {
1005
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1005
1006
  name?: string | undefined;
1006
1007
  phoneNumber?: string | undefined;
1007
- status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1008
1008
  source?: string | undefined;
1009
1009
  blacklistReason?: string | undefined;
1010
1010
  }, {
1011
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1011
1012
  name?: string | undefined;
1012
1013
  phoneNumber?: string | undefined;
1013
- status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1014
1014
  source?: string | undefined;
1015
1015
  blacklistReason?: string | undefined;
1016
1016
  }>;
@@ -1130,29 +1130,29 @@ export declare const leadsContractRouter: {
1130
1130
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1131
1131
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1132
1132
  }, "strip", z.ZodTypeAny, {
1133
- id: string;
1134
- name: string;
1135
- phoneNumber: string;
1136
1133
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1134
+ id: string;
1137
1135
  createdAt: string;
1138
1136
  updatedAt: string;
1137
+ name: string;
1138
+ phoneNumber: string;
1139
1139
  source: string;
1140
- totalCalls?: number | null | undefined;
1141
1140
  qualityScore?: number | null | undefined;
1142
1141
  conversionRate?: number | null | undefined;
1142
+ totalCalls?: number | null | undefined;
1143
1143
  blacklistReason?: string | null | undefined;
1144
1144
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1145
1145
  }, {
1146
- id: string;
1147
- name: string;
1148
- phoneNumber: string;
1149
1146
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1147
+ id: string;
1150
1148
  createdAt: string | Date;
1151
1149
  updatedAt: string | Date;
1150
+ name: string;
1151
+ phoneNumber: string;
1152
1152
  source: string;
1153
- totalCalls?: number | null | undefined;
1154
1153
  qualityScore?: number | null | undefined;
1155
1154
  conversionRate?: number | null | undefined;
1155
+ totalCalls?: number | null | undefined;
1156
1156
  blacklistReason?: string | null | undefined;
1157
1157
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1158
1158
  }>;
@@ -1503,11 +1503,11 @@ export declare const leadsContractRouter: {
1503
1503
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1504
1504
  }, "strip", z.ZodTypeAny, {
1505
1505
  id: string;
1506
+ createdAt: string;
1507
+ updatedAt: string;
1506
1508
  assignmentId: string;
1507
1509
  leadId: string;
1508
1510
  agentId: string;
1509
- createdAt: string;
1510
- updatedAt: string;
1511
1511
  callDate: string;
1512
1512
  callType: import("../call-history/call-history.contract").CallType;
1513
1513
  rating: import("../common/call-rating.schema").CallRating;
@@ -1515,11 +1515,11 @@ export declare const leadsContractRouter: {
1515
1515
  notes?: string | null | undefined;
1516
1516
  }, {
1517
1517
  id: string;
1518
+ createdAt: string | Date;
1519
+ updatedAt: string | Date;
1518
1520
  assignmentId: string;
1519
1521
  leadId: string;
1520
1522
  agentId: string;
1521
- createdAt: string | Date;
1522
- updatedAt: string | Date;
1523
1523
  callDate: string | Date;
1524
1524
  callType: import("../call-history/call-history.contract").CallType;
1525
1525
  rating: import("../common/call-rating.schema").CallRating;
@@ -1529,13 +1529,13 @@ export declare const leadsContractRouter: {
1529
1529
  };
1530
1530
  };
1531
1531
  getQualityDashboard: {
1532
+ query: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1532
1533
  metadata: {
1533
1534
  tags: string[];
1534
1535
  openApi: {
1535
1536
  operationId: string;
1536
1537
  };
1537
1538
  };
1538
- query: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1539
1539
  summary: "Get lead quality analytics dashboard";
1540
1540
  method: "GET";
1541
1541
  path: "/v2/leads/analytics/quality-dashboard";