@dakkitor/api-contracts 1.1.53 → 1.1.55
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/kpi.abilities.json +1 -1
- package/dist/actives/actives.contract.d.ts +2614 -2614
- package/dist/agent-client-links/agent-client-links.contract.d.ts +471 -471
- package/dist/auth/auth.contract.d.ts +3 -3
- package/dist/bookings/bookings.contract.d.ts +2341 -2341
- package/dist/call-history/call-history.contract.d.ts +94 -94
- package/dist/lead-assignments/lead-assignments.contract.d.ts +48 -48
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +24 -24
- package/dist/leads/leads.contract.d.ts +74 -74
- package/dist/users/users.contract.d.ts +54 -54
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +1 -0
- package/package.json +1 -1
|
@@ -32,30 +32,30 @@ 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
|
createdAt: string;
|
|
35
|
-
status: "AVAILABLE" | "
|
|
35
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
36
36
|
id: string;
|
|
37
37
|
updatedAt: string;
|
|
38
38
|
name: string;
|
|
39
39
|
phoneNumber: string;
|
|
40
40
|
source: string;
|
|
41
|
-
blacklistReason?: string | null | undefined;
|
|
42
41
|
totalCalls?: number | null | undefined;
|
|
43
42
|
qualityScore?: number | null | undefined;
|
|
44
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
45
43
|
conversionRate?: number | null | undefined;
|
|
44
|
+
blacklistReason?: string | null | undefined;
|
|
45
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
createdAt: string | Date;
|
|
48
|
-
status: "AVAILABLE" | "
|
|
48
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
49
49
|
id: string;
|
|
50
50
|
updatedAt: string | Date;
|
|
51
51
|
name: string;
|
|
52
52
|
phoneNumber: string;
|
|
53
53
|
source: string;
|
|
54
|
-
blacklistReason?: string | null | undefined;
|
|
55
54
|
totalCalls?: number | null | undefined;
|
|
56
55
|
qualityScore?: number | null | undefined;
|
|
57
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
58
56
|
conversionRate?: number | null | undefined;
|
|
57
|
+
blacklistReason?: string | null | undefined;
|
|
58
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
/**
|
|
61
61
|
* Create Lead Schema
|
|
@@ -72,13 +72,13 @@ export declare const CreateLeadSchema: z.ZodObject<{
|
|
|
72
72
|
phoneNumber: string;
|
|
73
73
|
source: string;
|
|
74
74
|
isBlacklisted: boolean;
|
|
75
|
-
status?: "AVAILABLE" | "
|
|
75
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
76
76
|
blacklistReason?: string | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
name: string;
|
|
79
79
|
phoneNumber: string;
|
|
80
80
|
source: string;
|
|
81
|
-
status?: "AVAILABLE" | "
|
|
81
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
82
82
|
blacklistReason?: string | undefined;
|
|
83
83
|
isBlacklisted?: boolean | undefined;
|
|
84
84
|
}>;
|
|
@@ -92,17 +92,17 @@ 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" | "
|
|
95
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
96
96
|
name?: string | undefined;
|
|
97
97
|
phoneNumber?: string | undefined;
|
|
98
|
-
blacklistReason?: string | undefined;
|
|
99
98
|
source?: string | undefined;
|
|
99
|
+
blacklistReason?: string | undefined;
|
|
100
100
|
}, {
|
|
101
|
-
status?: "AVAILABLE" | "
|
|
101
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
102
102
|
name?: string | undefined;
|
|
103
103
|
phoneNumber?: string | undefined;
|
|
104
|
-
blacklistReason?: string | undefined;
|
|
105
104
|
source?: string | undefined;
|
|
105
|
+
blacklistReason?: string | undefined;
|
|
106
106
|
}>;
|
|
107
107
|
/**
|
|
108
108
|
* Filter Lead Schema
|
|
@@ -125,7 +125,7 @@ export declare const FilterLeadSchema: z.ZodObject<{
|
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
limit: number;
|
|
127
127
|
page: number;
|
|
128
|
-
status?: "AVAILABLE" | "
|
|
128
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
129
129
|
name?: string | null | undefined;
|
|
130
130
|
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
|
|
131
131
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
@@ -137,7 +137,7 @@ export declare const FilterLeadSchema: z.ZodObject<{
|
|
|
137
137
|
minConversionRate?: number | null | undefined;
|
|
138
138
|
minTotalCalls?: number | null | undefined;
|
|
139
139
|
}, {
|
|
140
|
-
status?: "AVAILABLE" | "
|
|
140
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
141
141
|
limit?: number | undefined;
|
|
142
142
|
page?: number | undefined;
|
|
143
143
|
name?: string | null | undefined;
|
|
@@ -173,9 +173,9 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
|
|
|
173
173
|
agentId: string;
|
|
174
174
|
leadId: string;
|
|
175
175
|
assignmentId: string;
|
|
176
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
177
|
-
callType: import("../call-history/call-history.contract").CallType;
|
|
178
176
|
callDate: string;
|
|
177
|
+
callType: import("../call-history/call-history.contract").CallType;
|
|
178
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
179
179
|
ratingWeight: number;
|
|
180
180
|
notes?: string | null | undefined;
|
|
181
181
|
}, {
|
|
@@ -185,9 +185,9 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
|
|
|
185
185
|
agentId: string;
|
|
186
186
|
leadId: string;
|
|
187
187
|
assignmentId: string;
|
|
188
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
189
|
-
callType: import("../call-history/call-history.contract").CallType;
|
|
190
188
|
callDate: string | Date;
|
|
189
|
+
callType: import("../call-history/call-history.contract").CallType;
|
|
190
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
191
191
|
ratingWeight: number;
|
|
192
192
|
notes?: string | null | undefined;
|
|
193
193
|
}>;
|
|
@@ -270,30 +270,30 @@ 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
|
createdAt: string;
|
|
273
|
-
status: "AVAILABLE" | "
|
|
273
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
274
274
|
id: string;
|
|
275
275
|
updatedAt: string;
|
|
276
276
|
name: string;
|
|
277
277
|
phoneNumber: string;
|
|
278
278
|
source: string;
|
|
279
|
-
blacklistReason?: string | null | undefined;
|
|
280
279
|
totalCalls?: number | null | undefined;
|
|
281
280
|
qualityScore?: number | null | undefined;
|
|
282
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
283
281
|
conversionRate?: number | null | undefined;
|
|
282
|
+
blacklistReason?: string | null | undefined;
|
|
283
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
284
284
|
}, {
|
|
285
285
|
createdAt: string | Date;
|
|
286
|
-
status: "AVAILABLE" | "
|
|
286
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
287
287
|
id: string;
|
|
288
288
|
updatedAt: string | Date;
|
|
289
289
|
name: string;
|
|
290
290
|
phoneNumber: string;
|
|
291
291
|
source: string;
|
|
292
|
-
blacklistReason?: string | null | undefined;
|
|
293
292
|
totalCalls?: number | null | undefined;
|
|
294
293
|
qualityScore?: number | null | undefined;
|
|
295
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
296
294
|
conversionRate?: number | null | undefined;
|
|
295
|
+
blacklistReason?: string | null | undefined;
|
|
296
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
297
297
|
}>, "many">;
|
|
298
298
|
totalCount: z.ZodNumber;
|
|
299
299
|
limit: z.ZodNumber;
|
|
@@ -304,17 +304,17 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
304
304
|
limit: number;
|
|
305
305
|
items: {
|
|
306
306
|
createdAt: string;
|
|
307
|
-
status: "AVAILABLE" | "
|
|
307
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
308
308
|
id: string;
|
|
309
309
|
updatedAt: string;
|
|
310
310
|
name: string;
|
|
311
311
|
phoneNumber: string;
|
|
312
312
|
source: string;
|
|
313
|
-
blacklistReason?: string | null | undefined;
|
|
314
313
|
totalCalls?: number | null | undefined;
|
|
315
314
|
qualityScore?: number | null | undefined;
|
|
316
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
317
315
|
conversionRate?: number | null | undefined;
|
|
316
|
+
blacklistReason?: string | null | undefined;
|
|
317
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
318
318
|
}[];
|
|
319
319
|
totalCount: number;
|
|
320
320
|
skip: number;
|
|
@@ -324,17 +324,17 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
324
324
|
limit: number;
|
|
325
325
|
items: {
|
|
326
326
|
createdAt: string | Date;
|
|
327
|
-
status: "AVAILABLE" | "
|
|
327
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
328
328
|
id: string;
|
|
329
329
|
updatedAt: string | Date;
|
|
330
330
|
name: string;
|
|
331
331
|
phoneNumber: string;
|
|
332
332
|
source: string;
|
|
333
|
-
blacklistReason?: string | null | undefined;
|
|
334
333
|
totalCalls?: number | null | undefined;
|
|
335
334
|
qualityScore?: number | null | undefined;
|
|
336
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
337
335
|
conversionRate?: number | null | undefined;
|
|
336
|
+
blacklistReason?: string | null | undefined;
|
|
337
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
totalCount: number;
|
|
340
340
|
skip: number;
|
|
@@ -371,13 +371,13 @@ export declare const leadsContractRouter: {
|
|
|
371
371
|
phoneNumber: string;
|
|
372
372
|
source: string;
|
|
373
373
|
isBlacklisted: boolean;
|
|
374
|
-
status?: "AVAILABLE" | "
|
|
374
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
375
375
|
blacklistReason?: string | undefined;
|
|
376
376
|
}, {
|
|
377
377
|
name: string;
|
|
378
378
|
phoneNumber: string;
|
|
379
379
|
source: string;
|
|
380
|
-
status?: "AVAILABLE" | "
|
|
380
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
381
381
|
blacklistReason?: string | undefined;
|
|
382
382
|
isBlacklisted?: boolean | undefined;
|
|
383
383
|
}>;
|
|
@@ -498,30 +498,30 @@ 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
|
createdAt: string;
|
|
501
|
-
status: "AVAILABLE" | "
|
|
501
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
502
502
|
id: string;
|
|
503
503
|
updatedAt: string;
|
|
504
504
|
name: string;
|
|
505
505
|
phoneNumber: string;
|
|
506
506
|
source: string;
|
|
507
|
-
blacklistReason?: string | null | undefined;
|
|
508
507
|
totalCalls?: number | null | undefined;
|
|
509
508
|
qualityScore?: number | null | undefined;
|
|
510
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
511
509
|
conversionRate?: number | null | undefined;
|
|
510
|
+
blacklistReason?: string | null | undefined;
|
|
511
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
512
512
|
}, {
|
|
513
513
|
createdAt: string | Date;
|
|
514
|
-
status: "AVAILABLE" | "
|
|
514
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
515
515
|
id: string;
|
|
516
516
|
updatedAt: string | Date;
|
|
517
517
|
name: string;
|
|
518
518
|
phoneNumber: string;
|
|
519
519
|
source: string;
|
|
520
|
-
blacklistReason?: string | null | undefined;
|
|
521
520
|
totalCalls?: number | null | undefined;
|
|
522
521
|
qualityScore?: number | null | undefined;
|
|
523
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
524
522
|
conversionRate?: number | null | undefined;
|
|
523
|
+
blacklistReason?: string | null | undefined;
|
|
524
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
525
525
|
}>;
|
|
526
526
|
409: z.ZodObject<{
|
|
527
527
|
statusCode: z.ZodNumber;
|
|
@@ -575,7 +575,7 @@ export declare const leadsContractRouter: {
|
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
576
|
limit: number;
|
|
577
577
|
page: number;
|
|
578
|
-
status?: "AVAILABLE" | "
|
|
578
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
579
579
|
name?: string | null | undefined;
|
|
580
580
|
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "phoneNumber" | "totalCalls" | "source" | "qualityScore" | "conversionRate" | null | undefined;
|
|
581
581
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
@@ -587,7 +587,7 @@ export declare const leadsContractRouter: {
|
|
|
587
587
|
minConversionRate?: number | null | undefined;
|
|
588
588
|
minTotalCalls?: number | null | undefined;
|
|
589
589
|
}, {
|
|
590
|
-
status?: "AVAILABLE" | "
|
|
590
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
591
591
|
limit?: number | undefined;
|
|
592
592
|
page?: number | undefined;
|
|
593
593
|
name?: string | null | undefined;
|
|
@@ -721,30 +721,30 @@ 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
|
createdAt: string;
|
|
724
|
-
status: "AVAILABLE" | "
|
|
724
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
725
725
|
id: string;
|
|
726
726
|
updatedAt: string;
|
|
727
727
|
name: string;
|
|
728
728
|
phoneNumber: string;
|
|
729
729
|
source: string;
|
|
730
|
-
blacklistReason?: string | null | undefined;
|
|
731
730
|
totalCalls?: number | null | undefined;
|
|
732
731
|
qualityScore?: number | null | undefined;
|
|
733
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
734
732
|
conversionRate?: number | null | undefined;
|
|
733
|
+
blacklistReason?: string | null | undefined;
|
|
734
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
735
735
|
}, {
|
|
736
736
|
createdAt: string | Date;
|
|
737
|
-
status: "AVAILABLE" | "
|
|
737
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
738
738
|
id: string;
|
|
739
739
|
updatedAt: string | Date;
|
|
740
740
|
name: string;
|
|
741
741
|
phoneNumber: string;
|
|
742
742
|
source: string;
|
|
743
|
-
blacklistReason?: string | null | undefined;
|
|
744
743
|
totalCalls?: number | null | undefined;
|
|
745
744
|
qualityScore?: number | null | undefined;
|
|
746
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
747
745
|
conversionRate?: number | null | undefined;
|
|
746
|
+
blacklistReason?: string | null | undefined;
|
|
747
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
748
748
|
}>, "many">;
|
|
749
749
|
totalCount: z.ZodNumber;
|
|
750
750
|
limit: z.ZodNumber;
|
|
@@ -755,17 +755,17 @@ export declare const leadsContractRouter: {
|
|
|
755
755
|
limit: number;
|
|
756
756
|
items: {
|
|
757
757
|
createdAt: string;
|
|
758
|
-
status: "AVAILABLE" | "
|
|
758
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
759
759
|
id: string;
|
|
760
760
|
updatedAt: string;
|
|
761
761
|
name: string;
|
|
762
762
|
phoneNumber: string;
|
|
763
763
|
source: string;
|
|
764
|
-
blacklistReason?: string | null | undefined;
|
|
765
764
|
totalCalls?: number | null | undefined;
|
|
766
765
|
qualityScore?: number | null | undefined;
|
|
767
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
768
766
|
conversionRate?: number | null | undefined;
|
|
767
|
+
blacklistReason?: string | null | undefined;
|
|
768
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
769
769
|
}[];
|
|
770
770
|
totalCount: number;
|
|
771
771
|
skip: number;
|
|
@@ -775,17 +775,17 @@ export declare const leadsContractRouter: {
|
|
|
775
775
|
limit: number;
|
|
776
776
|
items: {
|
|
777
777
|
createdAt: string | Date;
|
|
778
|
-
status: "AVAILABLE" | "
|
|
778
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
779
779
|
id: string;
|
|
780
780
|
updatedAt: string | Date;
|
|
781
781
|
name: string;
|
|
782
782
|
phoneNumber: string;
|
|
783
783
|
source: string;
|
|
784
|
-
blacklistReason?: string | null | undefined;
|
|
785
784
|
totalCalls?: number | null | undefined;
|
|
786
785
|
qualityScore?: number | null | undefined;
|
|
787
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
788
786
|
conversionRate?: number | null | undefined;
|
|
787
|
+
blacklistReason?: string | null | undefined;
|
|
788
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
789
789
|
}[];
|
|
790
790
|
totalCount: number;
|
|
791
791
|
skip: number;
|
|
@@ -927,30 +927,30 @@ 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
|
createdAt: string;
|
|
930
|
-
status: "AVAILABLE" | "
|
|
930
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
931
931
|
id: string;
|
|
932
932
|
updatedAt: string;
|
|
933
933
|
name: string;
|
|
934
934
|
phoneNumber: string;
|
|
935
935
|
source: string;
|
|
936
|
-
blacklistReason?: string | null | undefined;
|
|
937
936
|
totalCalls?: number | null | undefined;
|
|
938
937
|
qualityScore?: number | null | undefined;
|
|
939
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
940
938
|
conversionRate?: number | null | undefined;
|
|
939
|
+
blacklistReason?: string | null | undefined;
|
|
940
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
941
941
|
}, {
|
|
942
942
|
createdAt: string | Date;
|
|
943
|
-
status: "AVAILABLE" | "
|
|
943
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
944
944
|
id: string;
|
|
945
945
|
updatedAt: string | Date;
|
|
946
946
|
name: string;
|
|
947
947
|
phoneNumber: string;
|
|
948
948
|
source: string;
|
|
949
|
-
blacklistReason?: string | null | undefined;
|
|
950
949
|
totalCalls?: number | null | undefined;
|
|
951
950
|
qualityScore?: number | null | undefined;
|
|
952
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
953
951
|
conversionRate?: number | null | undefined;
|
|
952
|
+
blacklistReason?: string | null | undefined;
|
|
953
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
954
954
|
}>;
|
|
955
955
|
404: z.ZodObject<{
|
|
956
956
|
statusCode: z.ZodNumber;
|
|
@@ -1002,17 +1002,17 @@ 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" | "
|
|
1005
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1006
1006
|
name?: string | undefined;
|
|
1007
1007
|
phoneNumber?: string | undefined;
|
|
1008
|
-
blacklistReason?: string | undefined;
|
|
1009
1008
|
source?: string | undefined;
|
|
1009
|
+
blacklistReason?: string | undefined;
|
|
1010
1010
|
}, {
|
|
1011
|
-
status?: "AVAILABLE" | "
|
|
1011
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1012
1012
|
name?: string | undefined;
|
|
1013
1013
|
phoneNumber?: string | undefined;
|
|
1014
|
-
blacklistReason?: string | undefined;
|
|
1015
1014
|
source?: string | undefined;
|
|
1015
|
+
blacklistReason?: string | undefined;
|
|
1016
1016
|
}>;
|
|
1017
1017
|
path: "/v2/leads/:id";
|
|
1018
1018
|
responses: {
|
|
@@ -1131,30 +1131,30 @@ 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
|
createdAt: string;
|
|
1134
|
-
status: "AVAILABLE" | "
|
|
1134
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1135
1135
|
id: string;
|
|
1136
1136
|
updatedAt: string;
|
|
1137
1137
|
name: string;
|
|
1138
1138
|
phoneNumber: string;
|
|
1139
1139
|
source: string;
|
|
1140
|
-
blacklistReason?: string | null | undefined;
|
|
1141
1140
|
totalCalls?: number | null | undefined;
|
|
1142
1141
|
qualityScore?: number | null | undefined;
|
|
1143
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1144
1142
|
conversionRate?: number | null | undefined;
|
|
1143
|
+
blacklistReason?: string | null | undefined;
|
|
1144
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1145
1145
|
}, {
|
|
1146
1146
|
createdAt: string | Date;
|
|
1147
|
-
status: "AVAILABLE" | "
|
|
1147
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1148
1148
|
id: string;
|
|
1149
1149
|
updatedAt: string | Date;
|
|
1150
1150
|
name: string;
|
|
1151
1151
|
phoneNumber: string;
|
|
1152
1152
|
source: string;
|
|
1153
|
-
blacklistReason?: string | null | undefined;
|
|
1154
1153
|
totalCalls?: number | null | undefined;
|
|
1155
1154
|
qualityScore?: number | null | undefined;
|
|
1156
|
-
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1157
1155
|
conversionRate?: number | null | undefined;
|
|
1156
|
+
blacklistReason?: string | null | undefined;
|
|
1157
|
+
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1158
1158
|
}>;
|
|
1159
1159
|
404: z.ZodObject<{
|
|
1160
1160
|
statusCode: z.ZodNumber;
|
|
@@ -1378,13 +1378,13 @@ export declare const leadsContractRouter: {
|
|
|
1378
1378
|
callType: z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>;
|
|
1379
1379
|
}, "strip", z.ZodTypeAny, {
|
|
1380
1380
|
assignmentId: string;
|
|
1381
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
1382
1381
|
callType: import("../call-history/call-history.contract").CallType;
|
|
1382
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
1383
1383
|
notes?: string | undefined;
|
|
1384
1384
|
}, {
|
|
1385
1385
|
assignmentId: string;
|
|
1386
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
1387
1386
|
callType: import("../call-history/call-history.contract").CallType;
|
|
1387
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
1388
1388
|
notes?: string | undefined;
|
|
1389
1389
|
}>;
|
|
1390
1390
|
path: "/v2/leads/:id/call";
|
|
@@ -1508,9 +1508,9 @@ export declare const leadsContractRouter: {
|
|
|
1508
1508
|
agentId: string;
|
|
1509
1509
|
leadId: string;
|
|
1510
1510
|
assignmentId: string;
|
|
1511
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
1512
|
-
callType: import("../call-history/call-history.contract").CallType;
|
|
1513
1511
|
callDate: string;
|
|
1512
|
+
callType: import("../call-history/call-history.contract").CallType;
|
|
1513
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
1514
1514
|
ratingWeight: number;
|
|
1515
1515
|
notes?: string | null | undefined;
|
|
1516
1516
|
}, {
|
|
@@ -1520,9 +1520,9 @@ export declare const leadsContractRouter: {
|
|
|
1520
1520
|
agentId: string;
|
|
1521
1521
|
leadId: string;
|
|
1522
1522
|
assignmentId: string;
|
|
1523
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
1524
|
-
callType: import("../call-history/call-history.contract").CallType;
|
|
1525
1523
|
callDate: string | Date;
|
|
1524
|
+
callType: import("../call-history/call-history.contract").CallType;
|
|
1525
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
1526
1526
|
ratingWeight: number;
|
|
1527
1527
|
notes?: string | null | undefined;
|
|
1528
1528
|
}>;
|