@dakkitor/api-contracts 1.1.84 → 1.1.86

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.
@@ -72,7 +72,7 @@ exports.LeadAssignmentSchema = zod_1.z.object({
72
72
  });
73
73
  exports.CompleteAssignmentSchema = zod_1.z
74
74
  .object({
75
- status: call_rating_schema_1.CallRatingSchema,
75
+ rating: call_rating_schema_1.CallRatingSchema.describe('The rating given to the call outcome'),
76
76
  notes: zod_1.z
77
77
  .string()
78
78
  .max(1000)
@@ -32,28 +32,28 @@ 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
  id: string;
35
+ name: string;
35
36
  phoneNumber: string;
36
37
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
37
38
  createdAt: string;
38
39
  updatedAt: string;
39
- name: string;
40
40
  source: string;
41
+ totalCalls?: number | null | undefined;
41
42
  qualityScore?: number | null | undefined;
42
43
  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
47
  id: string;
48
+ name: string;
48
49
  phoneNumber: string;
49
50
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
50
51
  createdAt: string | Date;
51
52
  updatedAt: string | Date;
52
- name: string;
53
53
  source: string;
54
+ totalCalls?: number | null | undefined;
54
55
  qualityScore?: number | null | undefined;
55
56
  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
  }>;
@@ -68,15 +68,15 @@ export declare const CreateLeadSchema: z.ZodObject<{
68
68
  blacklistReason: z.ZodOptional<z.ZodString>;
69
69
  source: z.ZodString;
70
70
  }, "strip", z.ZodTypeAny, {
71
- phoneNumber: string;
72
71
  name: string;
72
+ phoneNumber: string;
73
73
  source: string;
74
74
  isBlacklisted: boolean;
75
75
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
76
76
  blacklistReason?: string | undefined;
77
77
  }, {
78
- phoneNumber: string;
79
78
  name: string;
79
+ phoneNumber: string;
80
80
  source: string;
81
81
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
82
82
  blacklistReason?: string | undefined;
@@ -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
+ name?: string | undefined;
95
96
  phoneNumber?: string | undefined;
96
97
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
97
- name?: string | undefined;
98
98
  source?: string | undefined;
99
99
  blacklistReason?: string | undefined;
100
100
  }, {
101
+ name?: string | undefined;
101
102
  phoneNumber?: string | undefined;
102
103
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
103
- name?: string | 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
+ name?: string | null | undefined;
128
129
  phoneNumber?: string | null | undefined;
129
130
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
130
- name?: string | null | undefined;
131
+ sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
132
+ sortOrder?: "ASC" | "DESC" | null | undefined;
131
133
  source?: string | null | undefined;
132
134
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
133
135
  minQualityScore?: number | null | undefined;
134
136
  maxQualityScore?: number | null | undefined;
135
137
  minConversionRate?: number | null | undefined;
136
138
  minTotalCalls?: number | null | undefined;
137
- sortBy?: "phoneNumber" | "status" | "createdAt" | "updatedAt" | "name" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
138
- sortOrder?: "ASC" | "DESC" | null | undefined;
139
139
  }, {
140
+ name?: string | null | undefined;
140
141
  phoneNumber?: string | null | undefined;
141
142
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
142
143
  limit?: number | undefined;
143
144
  page?: number | undefined;
144
- name?: string | null | undefined;
145
+ sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
146
+ sortOrder?: "ASC" | "DESC" | null | undefined;
145
147
  source?: string | null | undefined;
146
148
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
147
149
  minQualityScore?: number | null | undefined;
148
150
  maxQualityScore?: number | null | undefined;
149
151
  minConversionRate?: number | null | undefined;
150
152
  minTotalCalls?: number | null | undefined;
151
- sortBy?: "phoneNumber" | "status" | "createdAt" | "updatedAt" | "name" | "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;
173
171
  assignmentId: string;
174
172
  leadId: string;
175
173
  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;
185
183
  assignmentId: string;
186
184
  leadId: string;
187
185
  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;
@@ -270,28 +270,28 @@ 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
  id: string;
273
+ name: string;
273
274
  phoneNumber: string;
274
275
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
275
276
  createdAt: string;
276
277
  updatedAt: string;
277
- name: string;
278
278
  source: string;
279
+ totalCalls?: number | null | undefined;
279
280
  qualityScore?: number | null | undefined;
280
281
  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
285
  id: string;
286
+ name: string;
286
287
  phoneNumber: string;
287
288
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
288
289
  createdAt: string | Date;
289
290
  updatedAt: string | Date;
290
- name: string;
291
291
  source: string;
292
+ totalCalls?: number | null | undefined;
292
293
  qualityScore?: number | null | undefined;
293
294
  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;
305
304
  items: {
306
305
  id: string;
306
+ name: string;
307
307
  phoneNumber: string;
308
308
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
309
309
  createdAt: string;
310
310
  updatedAt: string;
311
- name: string;
312
311
  source: string;
312
+ totalCalls?: number | null | undefined;
313
313
  qualityScore?: number | null | undefined;
314
314
  conversionRate?: number | null | undefined;
315
- totalCalls?: number | null | undefined;
316
315
  blacklistReason?: string | null | undefined;
317
316
  qualityTier?: "high" | "medium" | "low" | "untested" | 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
  id: string;
326
+ name: string;
327
327
  phoneNumber: string;
328
328
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
329
329
  createdAt: string | Date;
330
330
  updatedAt: string | Date;
331
- name: string;
332
331
  source: string;
332
+ totalCalls?: number | null | undefined;
333
333
  qualityScore?: number | null | undefined;
334
334
  conversionRate?: number | null | undefined;
335
- totalCalls?: number | null | undefined;
336
335
  blacklistReason?: string | null | undefined;
337
336
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
338
337
  }[];
339
338
  totalCount: number;
339
+ limit: number;
340
340
  skip: number;
341
341
  currentPage: number;
342
342
  totalPages: number;
@@ -367,15 +367,15 @@ export declare const leadsContractRouter: {
367
367
  blacklistReason: z.ZodOptional<z.ZodString>;
368
368
  source: z.ZodString;
369
369
  }, "strip", z.ZodTypeAny, {
370
- phoneNumber: string;
371
370
  name: string;
371
+ phoneNumber: string;
372
372
  source: string;
373
373
  isBlacklisted: boolean;
374
374
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
375
375
  blacklistReason?: string | undefined;
376
376
  }, {
377
- phoneNumber: string;
378
377
  name: string;
378
+ phoneNumber: string;
379
379
  source: string;
380
380
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
381
381
  blacklistReason?: string | undefined;
@@ -498,28 +498,28 @@ 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
  id: string;
501
+ name: string;
501
502
  phoneNumber: string;
502
503
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
503
504
  createdAt: string;
504
505
  updatedAt: string;
505
- name: string;
506
506
  source: string;
507
+ totalCalls?: number | null | undefined;
507
508
  qualityScore?: number | null | undefined;
508
509
  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
513
  id: string;
514
+ name: string;
514
515
  phoneNumber: string;
515
516
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
516
517
  createdAt: string | Date;
517
518
  updatedAt: string | Date;
518
- name: string;
519
519
  source: string;
520
+ totalCalls?: number | null | undefined;
520
521
  qualityScore?: number | null | undefined;
521
522
  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,6 +551,12 @@ export declare const leadsContractRouter: {
551
551
  };
552
552
  };
553
553
  findAll: {
554
+ metadata: {
555
+ tags: string[];
556
+ openApi: {
557
+ operationId: string;
558
+ };
559
+ };
554
560
  query: z.ZodObject<{
555
561
  limit: z.ZodDefault<z.ZodNumber>;
556
562
  page: z.ZodDefault<z.ZodNumber>;
@@ -569,38 +575,32 @@ export declare const leadsContractRouter: {
569
575
  }, "strip", z.ZodTypeAny, {
570
576
  limit: number;
571
577
  page: number;
578
+ name?: string | null | undefined;
572
579
  phoneNumber?: string | null | undefined;
573
580
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
574
- name?: string | null | undefined;
581
+ sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
582
+ sortOrder?: "ASC" | "DESC" | null | undefined;
575
583
  source?: string | null | undefined;
576
584
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
577
585
  minQualityScore?: number | null | undefined;
578
586
  maxQualityScore?: number | null | undefined;
579
587
  minConversionRate?: number | null | undefined;
580
588
  minTotalCalls?: number | null | undefined;
581
- sortBy?: "phoneNumber" | "status" | "createdAt" | "updatedAt" | "name" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
582
- sortOrder?: "ASC" | "DESC" | null | undefined;
583
589
  }, {
590
+ name?: string | null | undefined;
584
591
  phoneNumber?: string | null | undefined;
585
592
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
586
593
  limit?: number | undefined;
587
594
  page?: number | undefined;
588
- name?: string | null | undefined;
595
+ sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
596
+ sortOrder?: "ASC" | "DESC" | null | undefined;
589
597
  source?: string | null | undefined;
590
598
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
591
599
  minQualityScore?: number | null | undefined;
592
600
  maxQualityScore?: number | null | undefined;
593
601
  minConversionRate?: number | null | undefined;
594
602
  minTotalCalls?: number | null | undefined;
595
- sortBy?: "phoneNumber" | "status" | "createdAt" | "updatedAt" | "name" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
596
- sortOrder?: "ASC" | "DESC" | null | undefined;
597
603
  }>;
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";
@@ -721,28 +721,28 @@ 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
  id: string;
724
+ name: string;
724
725
  phoneNumber: string;
725
726
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
726
727
  createdAt: string;
727
728
  updatedAt: string;
728
- name: string;
729
729
  source: string;
730
+ totalCalls?: number | null | undefined;
730
731
  qualityScore?: number | null | undefined;
731
732
  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
736
  id: string;
737
+ name: string;
737
738
  phoneNumber: string;
738
739
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
739
740
  createdAt: string | Date;
740
741
  updatedAt: string | Date;
741
- name: string;
742
742
  source: string;
743
+ totalCalls?: number | null | undefined;
743
744
  qualityScore?: number | null | undefined;
744
745
  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;
756
755
  items: {
757
756
  id: string;
757
+ name: string;
758
758
  phoneNumber: string;
759
759
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
760
760
  createdAt: string;
761
761
  updatedAt: string;
762
- name: string;
763
762
  source: string;
763
+ totalCalls?: number | null | undefined;
764
764
  qualityScore?: number | null | undefined;
765
765
  conversionRate?: number | null | undefined;
766
- totalCalls?: number | null | undefined;
767
766
  blacklistReason?: string | null | undefined;
768
767
  qualityTier?: "high" | "medium" | "low" | "untested" | 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
  id: string;
777
+ name: string;
778
778
  phoneNumber: string;
779
779
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
780
780
  createdAt: string | Date;
781
781
  updatedAt: string | Date;
782
- name: string;
783
782
  source: string;
783
+ totalCalls?: number | null | undefined;
784
784
  qualityScore?: number | null | undefined;
785
785
  conversionRate?: number | null | undefined;
786
- totalCalls?: number | null | undefined;
787
786
  blacklistReason?: string | null | undefined;
788
787
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
789
788
  }[];
790
789
  totalCount: number;
790
+ limit: number;
791
791
  skip: number;
792
792
  currentPage: number;
793
793
  totalPages: number;
@@ -927,28 +927,28 @@ 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
  id: string;
930
+ name: string;
930
931
  phoneNumber: string;
931
932
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
932
933
  createdAt: string;
933
934
  updatedAt: string;
934
- name: string;
935
935
  source: string;
936
+ totalCalls?: number | null | undefined;
936
937
  qualityScore?: number | null | undefined;
937
938
  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
942
  id: string;
943
+ name: string;
943
944
  phoneNumber: string;
944
945
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
945
946
  createdAt: string | Date;
946
947
  updatedAt: string | Date;
947
- name: string;
948
948
  source: string;
949
+ totalCalls?: number | null | undefined;
949
950
  qualityScore?: number | null | undefined;
950
951
  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
+ name?: string | undefined;
1005
1006
  phoneNumber?: string | undefined;
1006
1007
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1007
- name?: string | undefined;
1008
1008
  source?: string | undefined;
1009
1009
  blacklistReason?: string | undefined;
1010
1010
  }, {
1011
+ name?: string | undefined;
1011
1012
  phoneNumber?: string | undefined;
1012
1013
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1013
- name?: string | undefined;
1014
1014
  source?: string | undefined;
1015
1015
  blacklistReason?: string | undefined;
1016
1016
  }>;
@@ -1131,28 +1131,28 @@ 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
  id: string;
1134
+ name: string;
1134
1135
  phoneNumber: string;
1135
1136
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1136
1137
  createdAt: string;
1137
1138
  updatedAt: string;
1138
- name: string;
1139
1139
  source: string;
1140
+ totalCalls?: number | null | undefined;
1140
1141
  qualityScore?: number | null | undefined;
1141
1142
  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
1146
  id: string;
1147
+ name: string;
1147
1148
  phoneNumber: string;
1148
1149
  status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1149
1150
  createdAt: string | Date;
1150
1151
  updatedAt: string | Date;
1151
- name: string;
1152
1152
  source: string;
1153
+ totalCalls?: number | null | undefined;
1153
1154
  qualityScore?: number | null | undefined;
1154
1155
  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;
1508
1506
  assignmentId: string;
1509
1507
  leadId: string;
1510
1508
  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;
1520
1518
  assignmentId: string;
1521
1519
  leadId: string;
1522
1520
  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, {}, {}>;
1533
1532
  metadata: {
1534
1533
  tags: string[];
1535
1534
  openApi: {
1536
1535
  operationId: string;
1537
1536
  };
1538
1537
  };
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dakkitor/api-contracts",
3
- "version": "1.1.84",
3
+ "version": "1.1.86",
4
4
  "description": "TypeScript API contracts using ts-rest and Zod",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",