@dakkitor/api-contracts 1.1.106 → 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 +6880 -5360
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +871 -481
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +131 -31
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +25019 -19099
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +861 -541
- 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 +1834 -1194
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1687 -1052
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- 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 +4321 -3221
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -434
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +359 -199
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +117 -117
- package/dist/users/users.contract.d.ts +597 -173
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +45 -8
- package/dist/workers/workers.contract.d.ts +498 -268
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-lead-distribution.contract.d.ts","sourceRoot":"","sources":["../../contracts/lead-distribution/agent-lead-distribution.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,iCAAiC,gDAEM,CAAC;AAErD,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AAGF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBM,CAAC;AAE/C,eAAO,MAAM,oCAAoC
|
|
1
|
+
{"version":3,"file":"agent-lead-distribution.contract.d.ts","sourceRoot":"","sources":["../../contracts/lead-distribution/agent-lead-distribution.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,iCAAiC,gDAEM,CAAC;AAErD,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AAGF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBM,CAAC;AAE/C,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIQ,CAAC;AAE1D,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;EAiBM,CAAC;AAErD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;EAgBM,CAAC;AAErD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;EAS5C,CAAC;AAEH,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrD,CAAC;AAGL,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,4CAA4C,CACpD,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFzC,CAAC"}
|
|
@@ -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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
36
34
|
id: string;
|
|
35
|
+
phoneNumber: string;
|
|
36
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
37
|
+
createdAt: string;
|
|
37
38
|
updatedAt: string;
|
|
38
39
|
name: string;
|
|
39
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
49
47
|
id: string;
|
|
48
|
+
phoneNumber: string;
|
|
49
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
50
|
+
createdAt: string | Date;
|
|
50
51
|
updatedAt: string | Date;
|
|
51
52
|
name: string;
|
|
52
|
-
phoneNumber: 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
|
}>;
|
|
@@ -68,29 +68,29 @@ export declare const CreateLeadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
68
68
|
blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
69
69
|
source: z.ZodString;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
name: string;
|
|
72
71
|
phoneNumber: string;
|
|
72
|
+
name: string;
|
|
73
73
|
source: string;
|
|
74
74
|
isBlacklisted: boolean;
|
|
75
75
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
76
76
|
blacklistReason?: string | null | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
name: string;
|
|
79
78
|
phoneNumber: string;
|
|
79
|
+
name: string;
|
|
80
80
|
source: string;
|
|
81
81
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
82
82
|
blacklistReason?: string | null | undefined;
|
|
83
83
|
isBlacklisted?: boolean | undefined;
|
|
84
84
|
}>, {
|
|
85
|
-
name: string;
|
|
86
85
|
phoneNumber: string;
|
|
86
|
+
name: string;
|
|
87
87
|
source: string;
|
|
88
88
|
isBlacklisted: boolean;
|
|
89
89
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
90
90
|
blacklistReason?: string | null | undefined;
|
|
91
91
|
}, {
|
|
92
|
-
name: string;
|
|
93
92
|
phoneNumber: string;
|
|
93
|
+
name: string;
|
|
94
94
|
source: string;
|
|
95
95
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
96
96
|
blacklistReason?: string | null | undefined;
|
|
@@ -106,27 +106,27 @@ export declare const UpdateLeadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
106
106
|
blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
107
107
|
source: z.ZodOptional<z.ZodString>;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
phoneNumber?: string | undefined;
|
|
109
110
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
110
111
|
name?: string | undefined;
|
|
111
|
-
phoneNumber?: string | undefined;
|
|
112
112
|
source?: string | undefined;
|
|
113
113
|
blacklistReason?: string | null | undefined;
|
|
114
114
|
}, {
|
|
115
|
+
phoneNumber?: string | undefined;
|
|
115
116
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
116
117
|
name?: string | undefined;
|
|
117
|
-
phoneNumber?: string | undefined;
|
|
118
118
|
source?: string | undefined;
|
|
119
119
|
blacklistReason?: string | null | undefined;
|
|
120
120
|
}>, {
|
|
121
|
+
phoneNumber?: string | undefined;
|
|
121
122
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
122
123
|
name?: string | undefined;
|
|
123
|
-
phoneNumber?: string | undefined;
|
|
124
124
|
source?: string | undefined;
|
|
125
125
|
blacklistReason?: string | null | undefined;
|
|
126
126
|
}, {
|
|
127
|
+
phoneNumber?: string | undefined;
|
|
127
128
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
128
129
|
name?: string | undefined;
|
|
129
|
-
phoneNumber?: string | undefined;
|
|
130
130
|
source?: string | undefined;
|
|
131
131
|
blacklistReason?: string | null | undefined;
|
|
132
132
|
}>;
|
|
@@ -151,31 +151,31 @@ export declare const FilterLeadSchema: z.ZodObject<{
|
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
152
|
limit: number;
|
|
153
153
|
page: number;
|
|
154
|
+
phoneNumber?: string | null | undefined;
|
|
154
155
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
155
156
|
name?: string | null | undefined;
|
|
156
|
-
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "phoneNumber" | "source" | "qualityScore" | null | undefined;
|
|
157
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
158
|
-
phoneNumber?: string | 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
|
+
phoneNumber?: string | null | undefined;
|
|
166
167
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
167
168
|
limit?: number | undefined;
|
|
168
169
|
page?: number | undefined;
|
|
169
170
|
name?: string | null | undefined;
|
|
170
|
-
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "phoneNumber" | "source" | "qualityScore" | null | undefined;
|
|
171
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
172
|
-
phoneNumber?: string | 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
300
298
|
id: string;
|
|
299
|
+
phoneNumber: string;
|
|
300
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
301
|
+
createdAt: string;
|
|
301
302
|
updatedAt: string;
|
|
302
303
|
name: string;
|
|
303
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
313
311
|
id: string;
|
|
312
|
+
phoneNumber: string;
|
|
313
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
314
|
+
createdAt: string | Date;
|
|
314
315
|
updatedAt: string | Date;
|
|
315
316
|
name: string;
|
|
316
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
334
332
|
id: string;
|
|
333
|
+
phoneNumber: string;
|
|
334
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
335
|
+
createdAt: string;
|
|
335
336
|
updatedAt: string;
|
|
336
337
|
name: string;
|
|
337
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
354
352
|
id: string;
|
|
353
|
+
phoneNumber: string;
|
|
354
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
355
|
+
createdAt: string | Date;
|
|
355
356
|
updatedAt: string | Date;
|
|
356
357
|
name: string;
|
|
357
|
-
phoneNumber: 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
|
}[];
|
|
@@ -393,29 +393,29 @@ export declare const leadsContractRouter: {
|
|
|
393
393
|
blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
394
394
|
source: z.ZodString;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
name: string;
|
|
397
396
|
phoneNumber: string;
|
|
397
|
+
name: string;
|
|
398
398
|
source: string;
|
|
399
399
|
isBlacklisted: boolean;
|
|
400
400
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
401
401
|
blacklistReason?: string | null | undefined;
|
|
402
402
|
}, {
|
|
403
|
-
name: string;
|
|
404
403
|
phoneNumber: string;
|
|
404
|
+
name: string;
|
|
405
405
|
source: string;
|
|
406
406
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
407
407
|
blacklistReason?: string | null | undefined;
|
|
408
408
|
isBlacklisted?: boolean | undefined;
|
|
409
409
|
}>, {
|
|
410
|
-
name: string;
|
|
411
410
|
phoneNumber: string;
|
|
411
|
+
name: string;
|
|
412
412
|
source: string;
|
|
413
413
|
isBlacklisted: boolean;
|
|
414
414
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
415
415
|
blacklistReason?: string | null | undefined;
|
|
416
416
|
}, {
|
|
417
|
-
name: string;
|
|
418
417
|
phoneNumber: string;
|
|
418
|
+
name: string;
|
|
419
419
|
source: string;
|
|
420
420
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
421
421
|
blacklistReason?: string | null | undefined;
|
|
@@ -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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
542
540
|
id: string;
|
|
541
|
+
phoneNumber: string;
|
|
542
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
543
|
+
createdAt: string;
|
|
543
544
|
updatedAt: string;
|
|
544
545
|
name: string;
|
|
545
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
555
553
|
id: string;
|
|
554
|
+
phoneNumber: string;
|
|
555
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
556
|
+
createdAt: string | Date;
|
|
556
557
|
updatedAt: string | Date;
|
|
557
558
|
name: string;
|
|
558
|
-
phoneNumber: 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>;
|
|
@@ -615,32 +609,38 @@ export declare const leadsContractRouter: {
|
|
|
615
609
|
}, "strip", z.ZodTypeAny, {
|
|
616
610
|
limit: number;
|
|
617
611
|
page: number;
|
|
612
|
+
phoneNumber?: string | null | undefined;
|
|
618
613
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
619
614
|
name?: string | null | undefined;
|
|
620
|
-
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "phoneNumber" | "source" | "qualityScore" | null | undefined;
|
|
621
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
622
|
-
phoneNumber?: string | 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
|
}, {
|
|
624
|
+
phoneNumber?: string | null | undefined;
|
|
630
625
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
|
|
631
626
|
limit?: number | undefined;
|
|
632
627
|
page?: number | undefined;
|
|
633
628
|
name?: string | null | undefined;
|
|
634
|
-
sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "phoneNumber" | "source" | "qualityScore" | null | undefined;
|
|
635
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
636
|
-
phoneNumber?: string | 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
765
763
|
id: string;
|
|
764
|
+
phoneNumber: string;
|
|
765
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
766
|
+
createdAt: string;
|
|
766
767
|
updatedAt: string;
|
|
767
768
|
name: string;
|
|
768
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
778
776
|
id: string;
|
|
777
|
+
phoneNumber: string;
|
|
778
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
779
|
+
createdAt: string | Date;
|
|
779
780
|
updatedAt: string | Date;
|
|
780
781
|
name: string;
|
|
781
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
799
797
|
id: string;
|
|
798
|
+
phoneNumber: string;
|
|
799
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
800
|
+
createdAt: string;
|
|
800
801
|
updatedAt: string;
|
|
801
802
|
name: string;
|
|
802
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
819
817
|
id: string;
|
|
818
|
+
phoneNumber: string;
|
|
819
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
820
|
+
createdAt: string | Date;
|
|
820
821
|
updatedAt: string | Date;
|
|
821
822
|
name: string;
|
|
822
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
971
969
|
id: string;
|
|
970
|
+
phoneNumber: string;
|
|
971
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
972
|
+
createdAt: string;
|
|
972
973
|
updatedAt: string;
|
|
973
974
|
name: string;
|
|
974
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
984
982
|
id: string;
|
|
983
|
+
phoneNumber: string;
|
|
984
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
985
|
+
createdAt: string | Date;
|
|
985
986
|
updatedAt: string | Date;
|
|
986
987
|
name: string;
|
|
987
|
-
phoneNumber: 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
|
}>;
|
|
@@ -1042,27 +1042,27 @@ export declare const leadsContractRouter: {
|
|
|
1042
1042
|
blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1043
1043
|
source: z.ZodOptional<z.ZodString>;
|
|
1044
1044
|
}, "strip", z.ZodTypeAny, {
|
|
1045
|
+
phoneNumber?: string | undefined;
|
|
1045
1046
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1046
1047
|
name?: string | undefined;
|
|
1047
|
-
phoneNumber?: string | undefined;
|
|
1048
1048
|
source?: string | undefined;
|
|
1049
1049
|
blacklistReason?: string | null | undefined;
|
|
1050
1050
|
}, {
|
|
1051
|
+
phoneNumber?: string | undefined;
|
|
1051
1052
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1052
1053
|
name?: string | undefined;
|
|
1053
|
-
phoneNumber?: string | undefined;
|
|
1054
1054
|
source?: string | undefined;
|
|
1055
1055
|
blacklistReason?: string | null | undefined;
|
|
1056
1056
|
}>, {
|
|
1057
|
+
phoneNumber?: string | undefined;
|
|
1057
1058
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1058
1059
|
name?: string | undefined;
|
|
1059
|
-
phoneNumber?: string | undefined;
|
|
1060
1060
|
source?: string | undefined;
|
|
1061
1061
|
blacklistReason?: string | null | undefined;
|
|
1062
1062
|
}, {
|
|
1063
|
+
phoneNumber?: string | undefined;
|
|
1063
1064
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1064
1065
|
name?: string | undefined;
|
|
1065
|
-
phoneNumber?: string | undefined;
|
|
1066
1066
|
source?: string | undefined;
|
|
1067
1067
|
blacklistReason?: string | null | undefined;
|
|
1068
1068
|
}>;
|
|
@@ -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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1187
1185
|
id: string;
|
|
1186
|
+
phoneNumber: string;
|
|
1187
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1188
|
+
createdAt: string;
|
|
1188
1189
|
updatedAt: string;
|
|
1189
1190
|
name: string;
|
|
1190
|
-
phoneNumber: 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
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1200
1198
|
id: string;
|
|
1199
|
+
phoneNumber: string;
|
|
1200
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1201
|
+
createdAt: string | Date;
|
|
1201
1202
|
updatedAt: string | Date;
|
|
1202
1203
|
name: string;
|
|
1203
|
-
phoneNumber: 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";
|