@dakkitor/api-contracts 1.1.31 → 1.1.33
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.
- package/dist/abilities/first-agent.abilities.json +13 -15
- package/dist/abilities/second-agent.abilities.json +13 -3
- package/dist/actives/actives.contract.d.ts +1054 -998
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +3 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +24 -24
- package/dist/bookings/bookings.contract.d.ts +888 -888
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +13 -18
- package/dist/call-history/call-history.contract.d.ts +387 -387
- package/dist/jobs/jobs.contract.d.ts +54 -0
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +13 -0
- package/dist/lead-assignments/lead-assignments.contract.d.ts +272 -272
- package/dist/leads/leads.contract.d.ts +84 -84
- package/dist/users/users.contract.d.ts +266 -0
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +20 -0
- package/dist/workers/workers.contract.d.ts +143 -124
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +14 -10
- package/package.json +1 -1
|
@@ -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";
|
|
34
36
|
id: string;
|
|
37
|
+
updatedAt: string;
|
|
35
38
|
name: string;
|
|
36
39
|
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";
|
|
47
49
|
id: string;
|
|
50
|
+
updatedAt: string | Date;
|
|
48
51
|
name: string;
|
|
49
52
|
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;
|
|
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,11 +125,11 @@ export declare const FilterLeadSchema: z.ZodObject<{
|
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
limit: number;
|
|
127
127
|
page: number;
|
|
128
|
-
name?: string | null | undefined;
|
|
129
|
-
phoneNumber?: string | null | undefined;
|
|
130
128
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
131
|
-
|
|
129
|
+
name?: string | null | undefined;
|
|
130
|
+
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
|
|
132
131
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
132
|
+
phoneNumber?: string | 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;
|
|
142
140
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
143
141
|
limit?: number | undefined;
|
|
144
142
|
page?: number | undefined;
|
|
145
|
-
|
|
143
|
+
name?: string | null | undefined;
|
|
144
|
+
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
|
|
146
145
|
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
|
-
id: string;
|
|
171
|
-
assignmentId: string;
|
|
172
|
-
leadId: string;
|
|
173
|
-
agentId: string;
|
|
174
170
|
createdAt: string;
|
|
171
|
+
id: string;
|
|
175
172
|
updatedAt: string;
|
|
173
|
+
agentId: string;
|
|
174
|
+
leadId: string;
|
|
175
|
+
assignmentId: 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
|
-
id: string;
|
|
183
|
-
assignmentId: string;
|
|
184
|
-
leadId: string;
|
|
185
|
-
agentId: string;
|
|
186
182
|
createdAt: string | Date;
|
|
183
|
+
id: string;
|
|
187
184
|
updatedAt: string | Date;
|
|
185
|
+
agentId: string;
|
|
186
|
+
leadId: string;
|
|
187
|
+
assignmentId: string;
|
|
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";
|
|
272
274
|
id: string;
|
|
275
|
+
updatedAt: string;
|
|
273
276
|
name: string;
|
|
274
277
|
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";
|
|
285
287
|
id: string;
|
|
288
|
+
updatedAt: string | Date;
|
|
286
289
|
name: string;
|
|
287
290
|
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,13 +301,14 @@ 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: {
|
|
306
|
+
createdAt: string;
|
|
307
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
305
308
|
id: string;
|
|
309
|
+
updatedAt: string;
|
|
306
310
|
name: string;
|
|
307
311
|
phoneNumber: string;
|
|
308
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
309
|
-
createdAt: string;
|
|
310
|
-
updatedAt: string;
|
|
311
312
|
source: string;
|
|
312
313
|
totalCalls?: number | null | undefined;
|
|
313
314
|
qualityScore?: number | null | undefined;
|
|
@@ -316,18 +317,18 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
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: {
|
|
326
|
+
createdAt: string | Date;
|
|
327
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
325
328
|
id: string;
|
|
329
|
+
updatedAt: string | Date;
|
|
326
330
|
name: string;
|
|
327
331
|
phoneNumber: string;
|
|
328
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
329
|
-
createdAt: string | Date;
|
|
330
|
-
updatedAt: string | Date;
|
|
331
332
|
source: string;
|
|
332
333
|
totalCalls?: number | null | undefined;
|
|
333
334
|
qualityScore?: number | null | undefined;
|
|
@@ -336,7 +337,6 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
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,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";
|
|
500
502
|
id: string;
|
|
503
|
+
updatedAt: string;
|
|
501
504
|
name: string;
|
|
502
505
|
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";
|
|
513
515
|
id: string;
|
|
516
|
+
updatedAt: string | Date;
|
|
514
517
|
name: string;
|
|
515
518
|
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
|
-
name?: string | null | undefined;
|
|
579
|
-
phoneNumber?: string | null | undefined;
|
|
580
578
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
581
|
-
|
|
579
|
+
name?: string | null | undefined;
|
|
580
|
+
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
|
|
582
581
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
582
|
+
phoneNumber?: string | 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;
|
|
592
590
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
593
591
|
limit?: number | undefined;
|
|
594
592
|
page?: number | undefined;
|
|
595
|
-
|
|
593
|
+
name?: string | null | undefined;
|
|
594
|
+
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
|
|
596
595
|
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";
|
|
723
725
|
id: string;
|
|
726
|
+
updatedAt: string;
|
|
724
727
|
name: string;
|
|
725
728
|
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";
|
|
736
738
|
id: string;
|
|
739
|
+
updatedAt: string | Date;
|
|
737
740
|
name: string;
|
|
738
741
|
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,13 +752,14 @@ 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: {
|
|
757
|
+
createdAt: string;
|
|
758
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
756
759
|
id: string;
|
|
760
|
+
updatedAt: string;
|
|
757
761
|
name: string;
|
|
758
762
|
phoneNumber: string;
|
|
759
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
760
|
-
createdAt: string;
|
|
761
|
-
updatedAt: string;
|
|
762
763
|
source: string;
|
|
763
764
|
totalCalls?: number | null | undefined;
|
|
764
765
|
qualityScore?: number | null | undefined;
|
|
@@ -767,18 +768,18 @@ export declare const leadsContractRouter: {
|
|
|
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: {
|
|
777
|
+
createdAt: string | Date;
|
|
778
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
776
779
|
id: string;
|
|
780
|
+
updatedAt: string | Date;
|
|
777
781
|
name: string;
|
|
778
782
|
phoneNumber: string;
|
|
779
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
780
|
-
createdAt: string | Date;
|
|
781
|
-
updatedAt: string | Date;
|
|
782
783
|
source: string;
|
|
783
784
|
totalCalls?: number | null | undefined;
|
|
784
785
|
qualityScore?: number | null | undefined;
|
|
@@ -787,7 +788,6 @@ export declare const leadsContractRouter: {
|
|
|
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,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";
|
|
929
931
|
id: string;
|
|
932
|
+
updatedAt: string;
|
|
930
933
|
name: string;
|
|
931
934
|
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";
|
|
942
944
|
id: string;
|
|
945
|
+
updatedAt: string | Date;
|
|
943
946
|
name: string;
|
|
944
947
|
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;
|
|
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,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";
|
|
1133
1135
|
id: string;
|
|
1136
|
+
updatedAt: string;
|
|
1134
1137
|
name: string;
|
|
1135
1138
|
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";
|
|
1146
1148
|
id: string;
|
|
1149
|
+
updatedAt: string | Date;
|
|
1147
1150
|
name: string;
|
|
1148
1151
|
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
|
-
id: string;
|
|
1506
|
-
assignmentId: string;
|
|
1507
|
-
leadId: string;
|
|
1508
|
-
agentId: string;
|
|
1509
1505
|
createdAt: string;
|
|
1506
|
+
id: string;
|
|
1510
1507
|
updatedAt: string;
|
|
1508
|
+
agentId: string;
|
|
1509
|
+
leadId: string;
|
|
1510
|
+
assignmentId: 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
|
-
id: string;
|
|
1518
|
-
assignmentId: string;
|
|
1519
|
-
leadId: string;
|
|
1520
|
-
agentId: string;
|
|
1521
1517
|
createdAt: string | Date;
|
|
1518
|
+
id: string;
|
|
1522
1519
|
updatedAt: string | Date;
|
|
1520
|
+
agentId: string;
|
|
1521
|
+
leadId: string;
|
|
1522
|
+
assignmentId: string;
|
|
1523
1523
|
callDate: string | Date;
|
|
1524
1524
|
callType: import("../call-history/call-history.contract").CallType;
|
|
1525
1525
|
rating: import("../common/call-rating.schema").CallRating;
|