@dakkitor/api-contracts 1.1.68 → 1.1.70

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.
@@ -1 +1 @@
1
- {"version":3,"file":"call-history.contract.d.ts","sourceRoot":"","sources":["../../contracts/call-history/call-history.contract.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAU5E,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC;AAExC,oBAAY,QAAQ;IAClB,UAAU,eAAe;IACzB,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAED,oBAAY,yBAAyB;IACnC,UAAU,cAAc;IACxB,SAAS,aAAa;IACtB,MAAM,WAAW;IACjB,aAAa,iBAAiB;CAC/B;AAED,eAAO,MAAM,cAAc,kCAGzB,CAAC;AAEH,eAAO,MAAM,+BAA+B,mDAIxC,CAAC;AAGL,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDM,CAAC;AAErC,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ional notes about the call conversation')
124
+ .nullable()
124
125
  .optional(),
125
126
  })
126
127
  .openapi({ title: 'UpdateCallHistory' });
@@ -31,12 +31,12 @@ 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
- createdAt: string;
35
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
36
34
  id: string;
37
- updatedAt: string;
38
35
  name: string;
39
36
  phoneNumber: string;
37
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
38
+ createdAt: string;
39
+ updatedAt: string;
40
40
  source: string;
41
41
  totalCalls?: number | null | undefined;
42
42
  qualityScore?: number | null | undefined;
@@ -44,12 +44,12 @@ export declare const LeadSchema: z.ZodObject<{
44
44
  blacklistReason?: string | null | undefined;
45
45
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
46
46
  }, {
47
- createdAt: string | Date;
48
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
49
47
  id: string;
50
- updatedAt: string | Date;
51
48
  name: string;
52
49
  phoneNumber: string;
50
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
51
+ createdAt: string | Date;
52
+ updatedAt: string | Date;
53
53
  source: string;
54
54
  totalCalls?: number | null | undefined;
55
55
  qualityScore?: number | null | 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
- status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
96
95
  name?: string | undefined;
97
96
  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;
102
101
  name?: string | undefined;
103
102
  phoneNumber?: string | undefined;
103
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
104
104
  source?: string | undefined;
105
105
  blacklistReason?: string | undefined;
106
106
  }>;
@@ -125,11 +125,11 @@ 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;
129
128
  name?: string | null | undefined;
130
- sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
131
- sortOrder?: "ASC" | "DESC" | null | undefined;
132
129
  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
133
  source?: string | null | undefined;
134
134
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
135
135
  minQualityScore?: number | null | undefined;
@@ -137,13 +137,13 @@ export declare const FilterLeadSchema: z.ZodObject<{
137
137
  minConversionRate?: number | null | undefined;
138
138
  minTotalCalls?: number | null | undefined;
139
139
  }, {
140
+ name?: string | null | undefined;
141
+ phoneNumber?: string | null | undefined;
140
142
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
141
143
  limit?: number | undefined;
142
144
  page?: number | undefined;
143
- name?: string | null | undefined;
144
- sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
145
+ sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
145
146
  sortOrder?: "ASC" | "DESC" | null | undefined;
146
- phoneNumber?: string | null | undefined;
147
147
  source?: string | null | undefined;
148
148
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
149
149
  minQualityScore?: number | null | undefined;
@@ -167,24 +167,24 @@ 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
- createdAt: string;
171
170
  id: string;
172
- updatedAt: string;
173
- agentId: string;
174
- leadId: string;
175
171
  assignmentId: string;
172
+ leadId: string;
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;
179
179
  ratingWeight: number;
180
180
  notes?: string | null | undefined;
181
181
  }, {
182
- createdAt: string | Date;
183
182
  id: string;
184
- updatedAt: string | Date;
185
- agentId: string;
186
- leadId: string;
187
183
  assignmentId: string;
184
+ leadId: string;
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;
@@ -269,12 +269,12 @@ 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
- createdAt: string;
273
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
274
272
  id: string;
275
- updatedAt: string;
276
273
  name: string;
277
274
  phoneNumber: string;
275
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
276
+ createdAt: string;
277
+ updatedAt: string;
278
278
  source: string;
279
279
  totalCalls?: number | null | undefined;
280
280
  qualityScore?: number | null | undefined;
@@ -282,12 +282,12 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
282
282
  blacklistReason?: string | null | undefined;
283
283
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
284
284
  }, {
285
- createdAt: string | Date;
286
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
287
285
  id: string;
288
- updatedAt: string | Date;
289
286
  name: string;
290
287
  phoneNumber: string;
288
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
289
+ createdAt: string | Date;
290
+ updatedAt: string | Date;
291
291
  source: string;
292
292
  totalCalls?: number | null | undefined;
293
293
  qualityScore?: number | null | undefined;
@@ -301,14 +301,13 @@ 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
- createdAt: string;
307
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
308
305
  id: string;
309
- updatedAt: string;
310
306
  name: string;
311
307
  phoneNumber: string;
308
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
309
+ createdAt: string;
310
+ updatedAt: string;
312
311
  source: string;
313
312
  totalCalls?: number | null | undefined;
314
313
  qualityScore?: number | null | undefined;
@@ -317,18 +316,18 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
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
- createdAt: string | Date;
327
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
328
325
  id: string;
329
- updatedAt: string | Date;
330
326
  name: string;
331
327
  phoneNumber: string;
328
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
329
+ createdAt: string | Date;
330
+ updatedAt: string | Date;
332
331
  source: string;
333
332
  totalCalls?: number | null | undefined;
334
333
  qualityScore?: number | null | undefined;
@@ -337,6 +336,7 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
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;
@@ -497,12 +497,12 @@ 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
- createdAt: string;
501
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
502
500
  id: string;
503
- updatedAt: string;
504
501
  name: string;
505
502
  phoneNumber: string;
503
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
504
+ createdAt: string;
505
+ updatedAt: string;
506
506
  source: string;
507
507
  totalCalls?: number | null | undefined;
508
508
  qualityScore?: number | null | undefined;
@@ -510,12 +510,12 @@ export declare const leadsContractRouter: {
510
510
  blacklistReason?: string | null | undefined;
511
511
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
512
512
  }, {
513
- createdAt: string | Date;
514
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
515
513
  id: string;
516
- updatedAt: string | Date;
517
514
  name: string;
518
515
  phoneNumber: string;
516
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
517
+ createdAt: string | Date;
518
+ updatedAt: string | Date;
519
519
  source: string;
520
520
  totalCalls?: number | null | undefined;
521
521
  qualityScore?: number | null | undefined;
@@ -575,11 +575,11 @@ export declare const leadsContractRouter: {
575
575
  }, "strip", z.ZodTypeAny, {
576
576
  limit: number;
577
577
  page: number;
578
- status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
579
578
  name?: string | null | undefined;
580
- sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
581
- sortOrder?: "ASC" | "DESC" | null | undefined;
582
579
  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
583
  source?: string | null | undefined;
584
584
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
585
585
  minQualityScore?: number | null | undefined;
@@ -587,13 +587,13 @@ export declare const leadsContractRouter: {
587
587
  minConversionRate?: number | null | undefined;
588
588
  minTotalCalls?: number | null | undefined;
589
589
  }, {
590
+ name?: string | null | undefined;
591
+ phoneNumber?: string | null | undefined;
590
592
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
591
593
  limit?: number | undefined;
592
594
  page?: number | undefined;
593
- name?: string | null | undefined;
594
- sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
595
+ sortBy?: "name" | "phoneNumber" | "status" | "createdAt" | "updatedAt" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
595
596
  sortOrder?: "ASC" | "DESC" | null | undefined;
596
- phoneNumber?: string | null | undefined;
597
597
  source?: string | null | undefined;
598
598
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
599
599
  minQualityScore?: number | null | undefined;
@@ -720,12 +720,12 @@ 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
- createdAt: string;
724
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
725
723
  id: string;
726
- updatedAt: string;
727
724
  name: string;
728
725
  phoneNumber: string;
726
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
727
+ createdAt: string;
728
+ updatedAt: string;
729
729
  source: string;
730
730
  totalCalls?: number | null | undefined;
731
731
  qualityScore?: number | null | undefined;
@@ -733,12 +733,12 @@ export declare const leadsContractRouter: {
733
733
  blacklistReason?: string | null | undefined;
734
734
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
735
735
  }, {
736
- createdAt: string | Date;
737
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
738
736
  id: string;
739
- updatedAt: string | Date;
740
737
  name: string;
741
738
  phoneNumber: string;
739
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
740
+ createdAt: string | Date;
741
+ updatedAt: string | Date;
742
742
  source: string;
743
743
  totalCalls?: number | null | undefined;
744
744
  qualityScore?: number | null | undefined;
@@ -752,14 +752,13 @@ 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
- createdAt: string;
758
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
759
756
  id: string;
760
- updatedAt: string;
761
757
  name: string;
762
758
  phoneNumber: string;
759
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
760
+ createdAt: string;
761
+ updatedAt: string;
763
762
  source: string;
764
763
  totalCalls?: number | null | undefined;
765
764
  qualityScore?: number | null | undefined;
@@ -768,18 +767,18 @@ export declare const leadsContractRouter: {
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
- createdAt: string | Date;
778
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
779
776
  id: string;
780
- updatedAt: string | Date;
781
777
  name: string;
782
778
  phoneNumber: string;
779
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
780
+ createdAt: string | Date;
781
+ updatedAt: string | Date;
783
782
  source: string;
784
783
  totalCalls?: number | null | undefined;
785
784
  qualityScore?: number | null | undefined;
@@ -788,6 +787,7 @@ export declare const leadsContractRouter: {
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;
@@ -926,12 +926,12 @@ 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
- createdAt: string;
930
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
931
929
  id: string;
932
- updatedAt: string;
933
930
  name: string;
934
931
  phoneNumber: string;
932
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
933
+ createdAt: string;
934
+ updatedAt: string;
935
935
  source: string;
936
936
  totalCalls?: number | null | undefined;
937
937
  qualityScore?: number | null | undefined;
@@ -939,12 +939,12 @@ export declare const leadsContractRouter: {
939
939
  blacklistReason?: string | null | undefined;
940
940
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
941
941
  }, {
942
- createdAt: string | Date;
943
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
944
942
  id: string;
945
- updatedAt: string | Date;
946
943
  name: string;
947
944
  phoneNumber: string;
945
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
946
+ createdAt: string | Date;
947
+ updatedAt: string | Date;
948
948
  source: string;
949
949
  totalCalls?: number | null | undefined;
950
950
  qualityScore?: number | null | undefined;
@@ -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;
1006
1005
  name?: string | undefined;
1007
1006
  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;
1012
1011
  name?: string | undefined;
1013
1012
  phoneNumber?: string | undefined;
1013
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1014
1014
  source?: string | undefined;
1015
1015
  blacklistReason?: string | undefined;
1016
1016
  }>;
@@ -1130,12 +1130,12 @@ 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
- createdAt: string;
1134
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1135
1133
  id: string;
1136
- updatedAt: string;
1137
1134
  name: string;
1138
1135
  phoneNumber: string;
1136
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1137
+ createdAt: string;
1138
+ updatedAt: string;
1139
1139
  source: string;
1140
1140
  totalCalls?: number | null | undefined;
1141
1141
  qualityScore?: number | null | undefined;
@@ -1143,12 +1143,12 @@ export declare const leadsContractRouter: {
1143
1143
  blacklistReason?: string | null | undefined;
1144
1144
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1145
1145
  }, {
1146
- createdAt: string | Date;
1147
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1148
1146
  id: string;
1149
- updatedAt: string | Date;
1150
1147
  name: string;
1151
1148
  phoneNumber: string;
1149
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1150
+ createdAt: string | Date;
1151
+ updatedAt: string | Date;
1152
1152
  source: string;
1153
1153
  totalCalls?: number | null | undefined;
1154
1154
  qualityScore?: number | null | undefined;
@@ -1502,24 +1502,24 @@ 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
- createdAt: string;
1506
1505
  id: string;
1507
- updatedAt: string;
1508
- agentId: string;
1509
- leadId: string;
1510
1506
  assignmentId: string;
1507
+ leadId: string;
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;
1514
1514
  ratingWeight: number;
1515
1515
  notes?: string | null | undefined;
1516
1516
  }, {
1517
- createdAt: string | Date;
1518
1517
  id: string;
1519
- updatedAt: string | Date;
1520
- agentId: string;
1521
- leadId: string;
1522
1518
  assignmentId: string;
1519
+ leadId: string;
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;