@dakkitor/api-contracts 1.1.107 → 1.1.108
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/actives/actives.contract.d.ts +2577 -2577
- package/dist/agent-client-links/agent-client-links.contract.d.ts +486 -486
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +9898 -9898
- package/dist/call-history/call-history.contract.d.ts +483 -453
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +3 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +26 -26
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +994 -994
- package/dist/collaborations/collaborations.contract.d.ts +868 -868
- package/dist/common/common-schemas.d.ts +11 -0
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +8 -1
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/jobs/jobs.contract.d.ts +1756 -1756
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +163 -163
- package/dist/leads/leads.contract.d.ts +65 -65
- package/dist/users/users.contract.d.ts +128 -128
- package/dist/workers/workers.contract.d.ts +172 -172
- package/package.json +1 -1
|
@@ -31,29 +31,29 @@ export declare const LeadSchema: z.ZodObject<{
|
|
|
31
31
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
32
32
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
createdAt: string;
|
|
35
34
|
id: string;
|
|
36
35
|
phoneNumber: string;
|
|
37
36
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
37
|
+
createdAt: string;
|
|
38
38
|
updatedAt: string;
|
|
39
39
|
name: string;
|
|
40
40
|
source: string;
|
|
41
|
+
qualityScore?: number | null | undefined;
|
|
41
42
|
conversionRate?: number | null | undefined;
|
|
42
43
|
totalCalls?: number | null | undefined;
|
|
43
|
-
qualityScore?: number | null | undefined;
|
|
44
44
|
blacklistReason?: string | null | undefined;
|
|
45
45
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
46
46
|
}, {
|
|
47
|
-
createdAt: string | Date;
|
|
48
47
|
id: string;
|
|
49
48
|
phoneNumber: string;
|
|
50
49
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
50
|
+
createdAt: string | Date;
|
|
51
51
|
updatedAt: string | Date;
|
|
52
52
|
name: string;
|
|
53
53
|
source: string;
|
|
54
|
+
qualityScore?: number | null | undefined;
|
|
54
55
|
conversionRate?: number | null | undefined;
|
|
55
56
|
totalCalls?: number | null | undefined;
|
|
56
|
-
qualityScore?: number | null | undefined;
|
|
57
57
|
blacklistReason?: string | null | undefined;
|
|
58
58
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
59
59
|
}>;
|
|
@@ -154,28 +154,28 @@ export declare const FilterLeadSchema: z.ZodObject<{
|
|
|
154
154
|
phoneNumber?: string | null | undefined;
|
|
155
155
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
156
156
|
name?: string | null | undefined;
|
|
157
|
-
sortBy?: "createdAt" | "phoneNumber" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "source" | "qualityScore" | null | undefined;
|
|
158
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
159
157
|
source?: string | null | undefined;
|
|
160
158
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
161
159
|
minQualityScore?: number | null | undefined;
|
|
162
160
|
maxQualityScore?: number | null | undefined;
|
|
163
161
|
minConversionRate?: number | null | undefined;
|
|
164
162
|
minTotalCalls?: number | null | undefined;
|
|
163
|
+
sortBy?: "phoneNumber" | "status" | "createdAt" | "updatedAt" | "name" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
|
|
164
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
165
165
|
}, {
|
|
166
166
|
phoneNumber?: string | null | undefined;
|
|
167
167
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
168
168
|
limit?: number | undefined;
|
|
169
169
|
page?: number | undefined;
|
|
170
170
|
name?: string | null | undefined;
|
|
171
|
-
sortBy?: "createdAt" | "phoneNumber" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "source" | "qualityScore" | null | undefined;
|
|
172
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
173
171
|
source?: string | null | undefined;
|
|
174
172
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
175
173
|
minQualityScore?: number | null | undefined;
|
|
176
174
|
maxQualityScore?: number | null | undefined;
|
|
177
175
|
minConversionRate?: number | null | undefined;
|
|
178
176
|
minTotalCalls?: number | null | undefined;
|
|
177
|
+
sortBy?: "phoneNumber" | "status" | "createdAt" | "updatedAt" | "name" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
|
|
178
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
179
179
|
}>;
|
|
180
180
|
/**
|
|
181
181
|
* Call History Response Schema for leads
|
|
@@ -193,27 +193,27 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
|
|
|
193
193
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
194
194
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
195
195
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
createdAt: string;
|
|
197
196
|
id: string;
|
|
197
|
+
createdAt: string;
|
|
198
198
|
updatedAt: string;
|
|
199
|
-
agentId: string;
|
|
200
|
-
leadId: string;
|
|
201
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
202
199
|
assignmentId: string;
|
|
200
|
+
leadId: string;
|
|
201
|
+
agentId: string;
|
|
203
202
|
callDate: string;
|
|
204
203
|
callType: import("../call-history/call-history.contract").CallType;
|
|
204
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
205
205
|
ratingWeight: number;
|
|
206
206
|
notes?: string | null | undefined;
|
|
207
207
|
}, {
|
|
208
|
-
createdAt: string | Date;
|
|
209
208
|
id: string;
|
|
209
|
+
createdAt: string | Date;
|
|
210
210
|
updatedAt: string | Date;
|
|
211
|
-
agentId: string;
|
|
212
|
-
leadId: string;
|
|
213
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
214
211
|
assignmentId: string;
|
|
212
|
+
leadId: string;
|
|
213
|
+
agentId: string;
|
|
215
214
|
callDate: string | Date;
|
|
216
215
|
callType: import("../call-history/call-history.contract").CallType;
|
|
216
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
217
217
|
ratingWeight: number;
|
|
218
218
|
notes?: string | null | undefined;
|
|
219
219
|
}>;
|
|
@@ -295,29 +295,29 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
295
295
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
296
296
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
297
297
|
}, "strip", z.ZodTypeAny, {
|
|
298
|
-
createdAt: string;
|
|
299
298
|
id: string;
|
|
300
299
|
phoneNumber: string;
|
|
301
300
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
301
|
+
createdAt: string;
|
|
302
302
|
updatedAt: string;
|
|
303
303
|
name: string;
|
|
304
304
|
source: string;
|
|
305
|
+
qualityScore?: number | null | undefined;
|
|
305
306
|
conversionRate?: number | null | undefined;
|
|
306
307
|
totalCalls?: number | null | undefined;
|
|
307
|
-
qualityScore?: number | null | undefined;
|
|
308
308
|
blacklistReason?: string | null | undefined;
|
|
309
309
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
310
310
|
}, {
|
|
311
|
-
createdAt: string | Date;
|
|
312
311
|
id: string;
|
|
313
312
|
phoneNumber: string;
|
|
314
313
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
314
|
+
createdAt: string | Date;
|
|
315
315
|
updatedAt: string | Date;
|
|
316
316
|
name: string;
|
|
317
317
|
source: string;
|
|
318
|
+
qualityScore?: number | null | undefined;
|
|
318
319
|
conversionRate?: number | null | undefined;
|
|
319
320
|
totalCalls?: number | null | undefined;
|
|
320
|
-
qualityScore?: number | null | undefined;
|
|
321
321
|
blacklistReason?: string | null | undefined;
|
|
322
322
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
323
323
|
}>, "many">;
|
|
@@ -329,16 +329,16 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
329
329
|
}, "strip", z.ZodTypeAny, {
|
|
330
330
|
limit: number;
|
|
331
331
|
items: {
|
|
332
|
-
createdAt: string;
|
|
333
332
|
id: string;
|
|
334
333
|
phoneNumber: string;
|
|
335
334
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
335
|
+
createdAt: string;
|
|
336
336
|
updatedAt: string;
|
|
337
337
|
name: string;
|
|
338
338
|
source: string;
|
|
339
|
+
qualityScore?: number | null | undefined;
|
|
339
340
|
conversionRate?: number | null | undefined;
|
|
340
341
|
totalCalls?: number | null | undefined;
|
|
341
|
-
qualityScore?: number | null | undefined;
|
|
342
342
|
blacklistReason?: string | null | undefined;
|
|
343
343
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
344
344
|
}[];
|
|
@@ -349,16 +349,16 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
349
349
|
}, {
|
|
350
350
|
limit: number;
|
|
351
351
|
items: {
|
|
352
|
-
createdAt: string | Date;
|
|
353
352
|
id: string;
|
|
354
353
|
phoneNumber: string;
|
|
355
354
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
355
|
+
createdAt: string | Date;
|
|
356
356
|
updatedAt: string | Date;
|
|
357
357
|
name: string;
|
|
358
358
|
source: string;
|
|
359
|
+
qualityScore?: number | null | undefined;
|
|
359
360
|
conversionRate?: number | null | undefined;
|
|
360
361
|
totalCalls?: number | null | undefined;
|
|
361
|
-
qualityScore?: number | null | undefined;
|
|
362
362
|
blacklistReason?: string | null | undefined;
|
|
363
363
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
364
364
|
}[];
|
|
@@ -537,29 +537,29 @@ export declare const leadsContractRouter: {
|
|
|
537
537
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
538
538
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
539
539
|
}, "strip", z.ZodTypeAny, {
|
|
540
|
-
createdAt: string;
|
|
541
540
|
id: string;
|
|
542
541
|
phoneNumber: string;
|
|
543
542
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
543
|
+
createdAt: string;
|
|
544
544
|
updatedAt: string;
|
|
545
545
|
name: string;
|
|
546
546
|
source: string;
|
|
547
|
+
qualityScore?: number | null | undefined;
|
|
547
548
|
conversionRate?: number | null | undefined;
|
|
548
549
|
totalCalls?: number | null | undefined;
|
|
549
|
-
qualityScore?: number | null | undefined;
|
|
550
550
|
blacklistReason?: string | null | undefined;
|
|
551
551
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
552
552
|
}, {
|
|
553
|
-
createdAt: string | Date;
|
|
554
553
|
id: string;
|
|
555
554
|
phoneNumber: string;
|
|
556
555
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
556
|
+
createdAt: string | Date;
|
|
557
557
|
updatedAt: string | Date;
|
|
558
558
|
name: string;
|
|
559
559
|
source: string;
|
|
560
|
+
qualityScore?: number | null | undefined;
|
|
560
561
|
conversionRate?: number | null | undefined;
|
|
561
562
|
totalCalls?: number | null | undefined;
|
|
562
|
-
qualityScore?: number | null | undefined;
|
|
563
563
|
blacklistReason?: string | null | undefined;
|
|
564
564
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
565
565
|
}>;
|
|
@@ -591,12 +591,6 @@ export declare const leadsContractRouter: {
|
|
|
591
591
|
};
|
|
592
592
|
};
|
|
593
593
|
findAll: {
|
|
594
|
-
metadata: {
|
|
595
|
-
tags: string[];
|
|
596
|
-
openApi: {
|
|
597
|
-
operationId: string;
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
594
|
query: z.ZodObject<{
|
|
601
595
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
602
596
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -618,29 +612,35 @@ export declare const leadsContractRouter: {
|
|
|
618
612
|
phoneNumber?: string | null | undefined;
|
|
619
613
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
620
614
|
name?: string | null | undefined;
|
|
621
|
-
sortBy?: "createdAt" | "phoneNumber" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "source" | "qualityScore" | null | undefined;
|
|
622
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
623
615
|
source?: string | null | undefined;
|
|
624
616
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
625
617
|
minQualityScore?: number | null | undefined;
|
|
626
618
|
maxQualityScore?: number | null | undefined;
|
|
627
619
|
minConversionRate?: number | null | undefined;
|
|
628
620
|
minTotalCalls?: number | null | undefined;
|
|
621
|
+
sortBy?: "phoneNumber" | "status" | "createdAt" | "updatedAt" | "name" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
|
|
622
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
629
623
|
}, {
|
|
630
624
|
phoneNumber?: string | null | undefined;
|
|
631
625
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
632
626
|
limit?: number | undefined;
|
|
633
627
|
page?: number | undefined;
|
|
634
628
|
name?: string | null | undefined;
|
|
635
|
-
sortBy?: "createdAt" | "phoneNumber" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "source" | "qualityScore" | null | undefined;
|
|
636
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
637
629
|
source?: string | null | undefined;
|
|
638
630
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
639
631
|
minQualityScore?: number | null | undefined;
|
|
640
632
|
maxQualityScore?: number | null | undefined;
|
|
641
633
|
minConversionRate?: number | null | undefined;
|
|
642
634
|
minTotalCalls?: number | null | undefined;
|
|
635
|
+
sortBy?: "phoneNumber" | "status" | "createdAt" | "updatedAt" | "name" | "source" | "qualityScore" | "conversionRate" | "totalCalls" | null | undefined;
|
|
636
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
643
637
|
}>;
|
|
638
|
+
metadata: {
|
|
639
|
+
tags: string[];
|
|
640
|
+
openApi: {
|
|
641
|
+
operationId: string;
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
644
|
summary: "Get all leads";
|
|
645
645
|
method: "GET";
|
|
646
646
|
path: "/v2/leads";
|
|
@@ -760,29 +760,29 @@ export declare const leadsContractRouter: {
|
|
|
760
760
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
761
761
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
createdAt: string;
|
|
764
763
|
id: string;
|
|
765
764
|
phoneNumber: string;
|
|
766
765
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
766
|
+
createdAt: string;
|
|
767
767
|
updatedAt: string;
|
|
768
768
|
name: string;
|
|
769
769
|
source: string;
|
|
770
|
+
qualityScore?: number | null | undefined;
|
|
770
771
|
conversionRate?: number | null | undefined;
|
|
771
772
|
totalCalls?: number | null | undefined;
|
|
772
|
-
qualityScore?: number | null | undefined;
|
|
773
773
|
blacklistReason?: string | null | undefined;
|
|
774
774
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
775
775
|
}, {
|
|
776
|
-
createdAt: string | Date;
|
|
777
776
|
id: string;
|
|
778
777
|
phoneNumber: string;
|
|
779
778
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
779
|
+
createdAt: string | Date;
|
|
780
780
|
updatedAt: string | Date;
|
|
781
781
|
name: string;
|
|
782
782
|
source: string;
|
|
783
|
+
qualityScore?: number | null | undefined;
|
|
783
784
|
conversionRate?: number | null | undefined;
|
|
784
785
|
totalCalls?: number | null | undefined;
|
|
785
|
-
qualityScore?: number | null | undefined;
|
|
786
786
|
blacklistReason?: string | null | undefined;
|
|
787
787
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
788
788
|
}>, "many">;
|
|
@@ -794,16 +794,16 @@ export declare const leadsContractRouter: {
|
|
|
794
794
|
}, "strip", z.ZodTypeAny, {
|
|
795
795
|
limit: number;
|
|
796
796
|
items: {
|
|
797
|
-
createdAt: string;
|
|
798
797
|
id: string;
|
|
799
798
|
phoneNumber: string;
|
|
800
799
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
800
|
+
createdAt: string;
|
|
801
801
|
updatedAt: string;
|
|
802
802
|
name: string;
|
|
803
803
|
source: string;
|
|
804
|
+
qualityScore?: number | null | undefined;
|
|
804
805
|
conversionRate?: number | null | undefined;
|
|
805
806
|
totalCalls?: number | null | undefined;
|
|
806
|
-
qualityScore?: number | null | undefined;
|
|
807
807
|
blacklistReason?: string | null | undefined;
|
|
808
808
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
809
809
|
}[];
|
|
@@ -814,16 +814,16 @@ export declare const leadsContractRouter: {
|
|
|
814
814
|
}, {
|
|
815
815
|
limit: number;
|
|
816
816
|
items: {
|
|
817
|
-
createdAt: string | Date;
|
|
818
817
|
id: string;
|
|
819
818
|
phoneNumber: string;
|
|
820
819
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
820
|
+
createdAt: string | Date;
|
|
821
821
|
updatedAt: string | Date;
|
|
822
822
|
name: string;
|
|
823
823
|
source: string;
|
|
824
|
+
qualityScore?: number | null | undefined;
|
|
824
825
|
conversionRate?: number | null | undefined;
|
|
825
826
|
totalCalls?: number | null | undefined;
|
|
826
|
-
qualityScore?: number | null | undefined;
|
|
827
827
|
blacklistReason?: string | null | undefined;
|
|
828
828
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
829
829
|
}[];
|
|
@@ -966,29 +966,29 @@ export declare const leadsContractRouter: {
|
|
|
966
966
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
967
967
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
968
968
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
-
createdAt: string;
|
|
970
969
|
id: string;
|
|
971
970
|
phoneNumber: string;
|
|
972
971
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
972
|
+
createdAt: string;
|
|
973
973
|
updatedAt: string;
|
|
974
974
|
name: string;
|
|
975
975
|
source: string;
|
|
976
|
+
qualityScore?: number | null | undefined;
|
|
976
977
|
conversionRate?: number | null | undefined;
|
|
977
978
|
totalCalls?: number | null | undefined;
|
|
978
|
-
qualityScore?: number | null | undefined;
|
|
979
979
|
blacklistReason?: string | null | undefined;
|
|
980
980
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
981
981
|
}, {
|
|
982
|
-
createdAt: string | Date;
|
|
983
982
|
id: string;
|
|
984
983
|
phoneNumber: string;
|
|
985
984
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
985
|
+
createdAt: string | Date;
|
|
986
986
|
updatedAt: string | Date;
|
|
987
987
|
name: string;
|
|
988
988
|
source: string;
|
|
989
|
+
qualityScore?: number | null | undefined;
|
|
989
990
|
conversionRate?: number | null | undefined;
|
|
990
991
|
totalCalls?: number | null | undefined;
|
|
991
|
-
qualityScore?: number | null | undefined;
|
|
992
992
|
blacklistReason?: string | null | undefined;
|
|
993
993
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
994
994
|
}>;
|
|
@@ -1182,29 +1182,29 @@ export declare const leadsContractRouter: {
|
|
|
1182
1182
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1183
1183
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1184
1184
|
}, "strip", z.ZodTypeAny, {
|
|
1185
|
-
createdAt: string;
|
|
1186
1185
|
id: string;
|
|
1187
1186
|
phoneNumber: string;
|
|
1188
1187
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1188
|
+
createdAt: string;
|
|
1189
1189
|
updatedAt: string;
|
|
1190
1190
|
name: string;
|
|
1191
1191
|
source: string;
|
|
1192
|
+
qualityScore?: number | null | undefined;
|
|
1192
1193
|
conversionRate?: number | null | undefined;
|
|
1193
1194
|
totalCalls?: number | null | undefined;
|
|
1194
|
-
qualityScore?: number | null | undefined;
|
|
1195
1195
|
blacklistReason?: string | null | undefined;
|
|
1196
1196
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1197
1197
|
}, {
|
|
1198
|
-
createdAt: string | Date;
|
|
1199
1198
|
id: string;
|
|
1200
1199
|
phoneNumber: string;
|
|
1201
1200
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1201
|
+
createdAt: string | Date;
|
|
1202
1202
|
updatedAt: string | Date;
|
|
1203
1203
|
name: string;
|
|
1204
1204
|
source: string;
|
|
1205
|
+
qualityScore?: number | null | undefined;
|
|
1205
1206
|
conversionRate?: number | null | undefined;
|
|
1206
1207
|
totalCalls?: number | null | undefined;
|
|
1207
|
-
qualityScore?: number | null | undefined;
|
|
1208
1208
|
blacklistReason?: string | null | undefined;
|
|
1209
1209
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1210
1210
|
}>;
|
|
@@ -1429,14 +1429,14 @@ export declare const leadsContractRouter: {
|
|
|
1429
1429
|
notes: z.ZodOptional<z.ZodString>;
|
|
1430
1430
|
callType: z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>;
|
|
1431
1431
|
}, "strip", z.ZodTypeAny, {
|
|
1432
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
1433
1432
|
assignmentId: string;
|
|
1434
1433
|
callType: import("../call-history/call-history.contract").CallType;
|
|
1434
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
1435
1435
|
notes?: string | undefined;
|
|
1436
1436
|
}, {
|
|
1437
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
1438
1437
|
assignmentId: string;
|
|
1439
1438
|
callType: import("../call-history/call-history.contract").CallType;
|
|
1439
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
1440
1440
|
notes?: string | undefined;
|
|
1441
1441
|
}>;
|
|
1442
1442
|
path: "/v2/leads/:id/call";
|
|
@@ -1554,40 +1554,40 @@ export declare const leadsContractRouter: {
|
|
|
1554
1554
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1555
1555
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1556
1556
|
}, "strip", z.ZodTypeAny, {
|
|
1557
|
-
createdAt: string;
|
|
1558
1557
|
id: string;
|
|
1558
|
+
createdAt: string;
|
|
1559
1559
|
updatedAt: string;
|
|
1560
|
-
agentId: string;
|
|
1561
|
-
leadId: string;
|
|
1562
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
1563
1560
|
assignmentId: string;
|
|
1561
|
+
leadId: string;
|
|
1562
|
+
agentId: string;
|
|
1564
1563
|
callDate: string;
|
|
1565
1564
|
callType: import("../call-history/call-history.contract").CallType;
|
|
1565
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
1566
1566
|
ratingWeight: number;
|
|
1567
1567
|
notes?: string | null | undefined;
|
|
1568
1568
|
}, {
|
|
1569
|
-
createdAt: string | Date;
|
|
1570
1569
|
id: string;
|
|
1570
|
+
createdAt: string | Date;
|
|
1571
1571
|
updatedAt: string | Date;
|
|
1572
|
-
agentId: string;
|
|
1573
|
-
leadId: string;
|
|
1574
|
-
rating: import("../common/call-rating.schema").CallRating;
|
|
1575
1572
|
assignmentId: string;
|
|
1573
|
+
leadId: string;
|
|
1574
|
+
agentId: string;
|
|
1576
1575
|
callDate: string | Date;
|
|
1577
1576
|
callType: import("../call-history/call-history.contract").CallType;
|
|
1577
|
+
rating: import("../common/call-rating.schema").CallRating;
|
|
1578
1578
|
ratingWeight: number;
|
|
1579
1579
|
notes?: string | null | undefined;
|
|
1580
1580
|
}>;
|
|
1581
1581
|
};
|
|
1582
1582
|
};
|
|
1583
1583
|
getQualityDashboard: {
|
|
1584
|
+
query: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1584
1585
|
metadata: {
|
|
1585
1586
|
tags: string[];
|
|
1586
1587
|
openApi: {
|
|
1587
1588
|
operationId: string;
|
|
1588
1589
|
};
|
|
1589
1590
|
};
|
|
1590
|
-
query: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1591
1591
|
summary: "Get lead quality analytics dashboard";
|
|
1592
1592
|
method: "GET";
|
|
1593
1593
|
path: "/v2/leads/analytics/quality-dashboard";
|