@dakkitor/api-contracts 1.8.0 → 1.9.1
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/abilities.contract.d.ts +1 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +1 -0
- package/dist/abilities/abilities.contract.spec.js +11 -0
- package/dist/abilities/second-agent.abilities.json +16 -0
- package/dist/actives/actives.contract.d.ts +6327 -6196
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1148 -1046
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +23 -23
- package/dist/bookings/bookings.contract.d.ts +9238 -9006
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +768 -731
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +99 -92
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +13397 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +206 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.js +193 -0
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2738 -2634
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2281 -2184
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.d.ts +7 -7
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2663 -2045
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +37 -4
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +228 -228
- package/dist/curated-worker-leads/contact-history.spec.js +55 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +1928 -1928
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +1195 -1195
- package/dist/dashboards/dashboard-widgets.contract.d.ts +396 -396
- package/dist/dashboards/dashboard.contract.d.ts +16 -16
- package/dist/export-jobs/export-jobs.contract.d.ts +675 -675
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/jobs/jobs.contract.d.ts +7903 -7645
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +72 -72
- package/dist/lead-assignments/lead-assignments.contract.d.ts +999 -928
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +244 -220
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +259 -259
- package/dist/notifications/notifications.contract.d.ts +67 -67
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/outreach.contract.d.ts +583 -162
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +50 -1
- package/dist/outreach/relay-hub-outreach.contract.d.ts +299 -121
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -1
- package/dist/outreach/relay-hub-outreach.contract.js +10 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +26 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
- package/dist/own-research/check-phone-response.spec.d.ts +2 -0
- package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
- package/dist/own-research/check-phone-response.spec.js +54 -0
- package/dist/own-research/own-research.contract.d.ts +801 -716
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/user-access-grants/user-access-grants.contract.d.ts +179 -179
- package/dist/users/users.contract.d.ts +227 -198
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +9 -1
- package/dist/users/users.contract.spec.js +39 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +124 -124
- package/dist/workers/workers.contract.d.ts +2761 -2717
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +12 -0
- package/package.json +1 -1
|
@@ -36,36 +36,36 @@ export declare const LeadSchema: z.ZodObject<{
|
|
|
36
36
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
37
37
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
40
|
-
id: string;
|
|
41
39
|
name: string;
|
|
42
|
-
updatedAt: string;
|
|
43
40
|
createdAt: string;
|
|
44
|
-
|
|
41
|
+
updatedAt: string;
|
|
42
|
+
id: string;
|
|
43
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
45
44
|
phoneNumber: string;
|
|
46
|
-
|
|
45
|
+
source: string;
|
|
47
46
|
lastCalledAt?: string | null | undefined;
|
|
48
|
-
qualityScore?: number | null | undefined;
|
|
49
|
-
conversionRate?: number | null | undefined;
|
|
50
|
-
totalCalls?: number | null | undefined;
|
|
51
|
-
lastCallNotes?: string | null | undefined;
|
|
52
47
|
cooldownUntil?: string | null | undefined;
|
|
48
|
+
blacklistReason?: string | null | undefined;
|
|
49
|
+
lastCallNotes?: string | null | undefined;
|
|
50
|
+
totalCalls?: number | null | undefined;
|
|
51
|
+
conversionRate?: number | null | undefined;
|
|
52
|
+
qualityScore?: number | null | undefined;
|
|
53
53
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
54
54
|
}, {
|
|
55
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
56
|
-
id: string;
|
|
57
55
|
name: string;
|
|
58
|
-
updatedAt: string | Date;
|
|
59
56
|
createdAt: string | Date;
|
|
60
|
-
|
|
57
|
+
updatedAt: string | Date;
|
|
58
|
+
id: string;
|
|
59
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
61
60
|
phoneNumber: string;
|
|
62
|
-
|
|
61
|
+
source: string;
|
|
63
62
|
lastCalledAt?: string | Date | null | undefined;
|
|
64
|
-
qualityScore?: number | null | undefined;
|
|
65
|
-
conversionRate?: number | null | undefined;
|
|
66
|
-
totalCalls?: number | null | undefined;
|
|
67
|
-
lastCallNotes?: string | null | undefined;
|
|
68
63
|
cooldownUntil?: string | Date | null | undefined;
|
|
64
|
+
blacklistReason?: string | null | undefined;
|
|
65
|
+
lastCallNotes?: string | null | undefined;
|
|
66
|
+
totalCalls?: number | null | undefined;
|
|
67
|
+
conversionRate?: number | null | undefined;
|
|
68
|
+
qualityScore?: number | null | undefined;
|
|
69
69
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
/**
|
|
@@ -80,30 +80,30 @@ export declare const CreateLeadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
80
80
|
source: z.ZodString;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
name: string;
|
|
83
|
-
source: string;
|
|
84
83
|
phoneNumber: string;
|
|
84
|
+
source: string;
|
|
85
85
|
isBlacklisted: boolean;
|
|
86
|
-
status?: "
|
|
86
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
87
87
|
blacklistReason?: string | null | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
name: string;
|
|
90
|
-
source: string;
|
|
91
90
|
phoneNumber: string;
|
|
92
|
-
|
|
91
|
+
source: string;
|
|
92
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
93
93
|
blacklistReason?: string | null | undefined;
|
|
94
94
|
isBlacklisted?: boolean | undefined;
|
|
95
95
|
}>, {
|
|
96
96
|
name: string;
|
|
97
|
-
source: string;
|
|
98
97
|
phoneNumber: string;
|
|
98
|
+
source: string;
|
|
99
99
|
isBlacklisted: boolean;
|
|
100
|
-
status?: "
|
|
100
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
101
101
|
blacklistReason?: string | null | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
name: string;
|
|
104
|
-
source: string;
|
|
105
104
|
phoneNumber: string;
|
|
106
|
-
|
|
105
|
+
source: string;
|
|
106
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
107
107
|
blacklistReason?: string | null | undefined;
|
|
108
108
|
isBlacklisted?: boolean | undefined;
|
|
109
109
|
}>;
|
|
@@ -117,29 +117,29 @@ export declare const UpdateLeadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
117
117
|
blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
118
118
|
source: z.ZodOptional<z.ZodString>;
|
|
119
119
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
121
120
|
name?: string | undefined;
|
|
121
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
122
|
+
phoneNumber?: string | undefined;
|
|
122
123
|
blacklistReason?: string | null | undefined;
|
|
123
124
|
source?: string | undefined;
|
|
124
|
-
phoneNumber?: string | undefined;
|
|
125
125
|
}, {
|
|
126
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
127
126
|
name?: string | undefined;
|
|
127
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
128
|
+
phoneNumber?: string | undefined;
|
|
128
129
|
blacklistReason?: string | null | undefined;
|
|
129
130
|
source?: string | undefined;
|
|
130
|
-
phoneNumber?: string | undefined;
|
|
131
131
|
}>, {
|
|
132
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
133
132
|
name?: string | undefined;
|
|
133
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
134
|
+
phoneNumber?: string | undefined;
|
|
134
135
|
blacklistReason?: string | null | undefined;
|
|
135
136
|
source?: string | undefined;
|
|
136
|
-
phoneNumber?: string | undefined;
|
|
137
137
|
}, {
|
|
138
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
139
138
|
name?: string | undefined;
|
|
139
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
140
|
+
phoneNumber?: string | undefined;
|
|
140
141
|
blacklistReason?: string | null | undefined;
|
|
141
142
|
source?: string | undefined;
|
|
142
|
-
phoneNumber?: string | undefined;
|
|
143
143
|
}>;
|
|
144
144
|
/**
|
|
145
145
|
* Filter Lead Schema
|
|
@@ -171,48 +171,48 @@ export declare const FilterLeadSchema: z.ZodObject<{
|
|
|
171
171
|
field: z.ZodEnum<["name", "phoneNumber", "status", "source", "lastCalledAt", "qualityScore", "conversionRate", "totalCalls", "createdAt", "updatedAt"]>;
|
|
172
172
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
field: "
|
|
174
|
+
field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
|
|
175
175
|
order: "ASC" | "DESC";
|
|
176
176
|
}, {
|
|
177
|
-
field: "
|
|
177
|
+
field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
|
|
178
178
|
order: "ASC" | "DESC";
|
|
179
179
|
}>, "many">>>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
181
|
page: number;
|
|
182
182
|
limit: number;
|
|
183
|
-
|
|
183
|
+
name?: string | null | undefined;
|
|
184
184
|
sort?: {
|
|
185
|
-
field: "
|
|
185
|
+
field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
|
|
186
186
|
order: "ASC" | "DESC";
|
|
187
187
|
}[] | null | undefined;
|
|
188
|
-
|
|
189
|
-
source?: string | null | undefined;
|
|
188
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | null | undefined;
|
|
190
189
|
phoneNumber?: string | null | undefined;
|
|
191
190
|
lastCalledAt?: {
|
|
192
191
|
from?: string | null | undefined;
|
|
193
192
|
to?: string | null | undefined;
|
|
194
193
|
} | null | undefined;
|
|
195
194
|
minTotalCalls?: number | null | undefined;
|
|
195
|
+
source?: string | null | undefined;
|
|
196
196
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
197
197
|
minQualityScore?: number | null | undefined;
|
|
198
198
|
maxQualityScore?: number | null | undefined;
|
|
199
199
|
minConversionRate?: number | null | undefined;
|
|
200
200
|
}, {
|
|
201
|
-
|
|
201
|
+
name?: string | null | undefined;
|
|
202
202
|
sort?: {
|
|
203
|
-
field: "
|
|
203
|
+
field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
|
|
204
204
|
order: "ASC" | "DESC";
|
|
205
205
|
}[] | null | undefined;
|
|
206
206
|
page?: number | undefined;
|
|
207
207
|
limit?: number | undefined;
|
|
208
|
-
|
|
209
|
-
source?: string | null | undefined;
|
|
208
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | null | undefined;
|
|
210
209
|
phoneNumber?: string | null | undefined;
|
|
211
210
|
lastCalledAt?: {
|
|
212
211
|
from?: string | null | undefined;
|
|
213
212
|
to?: string | null | undefined;
|
|
214
213
|
} | null | undefined;
|
|
215
214
|
minTotalCalls?: number | null | undefined;
|
|
215
|
+
source?: string | null | undefined;
|
|
216
216
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
217
217
|
minQualityScore?: number | null | undefined;
|
|
218
218
|
maxQualityScore?: number | null | undefined;
|
|
@@ -233,26 +233,26 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
|
|
|
233
233
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
234
234
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
id: string;
|
|
237
|
-
updatedAt: string;
|
|
238
236
|
createdAt: string;
|
|
237
|
+
updatedAt: string;
|
|
238
|
+
id: string;
|
|
239
239
|
agentId: string;
|
|
240
|
-
assignmentId: string;
|
|
241
240
|
rating: import("../common/call-rating.schema").CallRating;
|
|
242
241
|
callType: import("../call-history/call-history.contract").CallType;
|
|
243
|
-
ratingWeight: number;
|
|
244
242
|
leadId: string;
|
|
243
|
+
ratingWeight: number;
|
|
244
|
+
assignmentId: string;
|
|
245
245
|
notes?: string | null | undefined;
|
|
246
246
|
}, {
|
|
247
|
-
id: string;
|
|
248
|
-
updatedAt: string | Date;
|
|
249
247
|
createdAt: string | Date;
|
|
248
|
+
updatedAt: string | Date;
|
|
249
|
+
id: string;
|
|
250
250
|
agentId: string;
|
|
251
|
-
assignmentId: string;
|
|
252
251
|
rating: import("../common/call-rating.schema").CallRating;
|
|
253
252
|
callType: import("../call-history/call-history.contract").CallType;
|
|
254
|
-
ratingWeight: number;
|
|
255
253
|
leadId: string;
|
|
254
|
+
ratingWeight: number;
|
|
255
|
+
assignmentId: string;
|
|
256
256
|
notes?: string | null | undefined;
|
|
257
257
|
}>;
|
|
258
258
|
/**
|
|
@@ -336,36 +336,36 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
336
336
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
337
337
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
340
|
-
id: string;
|
|
341
339
|
name: string;
|
|
342
|
-
updatedAt: string;
|
|
343
340
|
createdAt: string;
|
|
344
|
-
|
|
341
|
+
updatedAt: string;
|
|
342
|
+
id: string;
|
|
343
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
345
344
|
phoneNumber: string;
|
|
346
|
-
|
|
345
|
+
source: string;
|
|
347
346
|
lastCalledAt?: string | null | undefined;
|
|
348
|
-
qualityScore?: number | null | undefined;
|
|
349
|
-
conversionRate?: number | null | undefined;
|
|
350
|
-
totalCalls?: number | null | undefined;
|
|
351
|
-
lastCallNotes?: string | null | undefined;
|
|
352
347
|
cooldownUntil?: string | null | undefined;
|
|
348
|
+
blacklistReason?: string | null | undefined;
|
|
349
|
+
lastCallNotes?: string | null | undefined;
|
|
350
|
+
totalCalls?: number | null | undefined;
|
|
351
|
+
conversionRate?: number | null | undefined;
|
|
352
|
+
qualityScore?: number | null | undefined;
|
|
353
353
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
354
354
|
}, {
|
|
355
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
356
|
-
id: string;
|
|
357
355
|
name: string;
|
|
358
|
-
updatedAt: string | Date;
|
|
359
356
|
createdAt: string | Date;
|
|
360
|
-
|
|
357
|
+
updatedAt: string | Date;
|
|
358
|
+
id: string;
|
|
359
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
361
360
|
phoneNumber: string;
|
|
362
|
-
|
|
361
|
+
source: string;
|
|
363
362
|
lastCalledAt?: string | Date | null | undefined;
|
|
364
|
-
qualityScore?: number | null | undefined;
|
|
365
|
-
conversionRate?: number | null | undefined;
|
|
366
|
-
totalCalls?: number | null | undefined;
|
|
367
|
-
lastCallNotes?: string | null | undefined;
|
|
368
363
|
cooldownUntil?: string | Date | null | undefined;
|
|
364
|
+
blacklistReason?: string | null | undefined;
|
|
365
|
+
lastCallNotes?: string | null | undefined;
|
|
366
|
+
totalCalls?: number | null | undefined;
|
|
367
|
+
conversionRate?: number | null | undefined;
|
|
368
|
+
qualityScore?: number | null | undefined;
|
|
369
369
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
370
370
|
}>, "many">;
|
|
371
371
|
totalCount: z.ZodNumber;
|
|
@@ -376,20 +376,20 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
377
|
limit: number;
|
|
378
378
|
items: {
|
|
379
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
380
|
-
id: string;
|
|
381
379
|
name: string;
|
|
382
|
-
updatedAt: string;
|
|
383
380
|
createdAt: string;
|
|
384
|
-
|
|
381
|
+
updatedAt: string;
|
|
382
|
+
id: string;
|
|
383
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
385
384
|
phoneNumber: string;
|
|
386
|
-
|
|
385
|
+
source: string;
|
|
387
386
|
lastCalledAt?: string | null | undefined;
|
|
388
|
-
qualityScore?: number | null | undefined;
|
|
389
|
-
conversionRate?: number | null | undefined;
|
|
390
|
-
totalCalls?: number | null | undefined;
|
|
391
|
-
lastCallNotes?: string | null | undefined;
|
|
392
387
|
cooldownUntil?: string | null | undefined;
|
|
388
|
+
blacklistReason?: string | null | undefined;
|
|
389
|
+
lastCallNotes?: string | null | undefined;
|
|
390
|
+
totalCalls?: number | null | undefined;
|
|
391
|
+
conversionRate?: number | null | undefined;
|
|
392
|
+
qualityScore?: number | null | undefined;
|
|
393
393
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
394
394
|
}[];
|
|
395
395
|
totalCount: number;
|
|
@@ -399,20 +399,20 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
|
|
|
399
399
|
}, {
|
|
400
400
|
limit: number;
|
|
401
401
|
items: {
|
|
402
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
403
|
-
id: string;
|
|
404
402
|
name: string;
|
|
405
|
-
updatedAt: string | Date;
|
|
406
403
|
createdAt: string | Date;
|
|
407
|
-
|
|
404
|
+
updatedAt: string | Date;
|
|
405
|
+
id: string;
|
|
406
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
408
407
|
phoneNumber: string;
|
|
409
|
-
|
|
408
|
+
source: string;
|
|
410
409
|
lastCalledAt?: string | Date | null | undefined;
|
|
411
|
-
qualityScore?: number | null | undefined;
|
|
412
|
-
conversionRate?: number | null | undefined;
|
|
413
|
-
totalCalls?: number | null | undefined;
|
|
414
|
-
lastCallNotes?: string | null | undefined;
|
|
415
410
|
cooldownUntil?: string | Date | null | undefined;
|
|
411
|
+
blacklistReason?: string | null | undefined;
|
|
412
|
+
lastCallNotes?: string | null | undefined;
|
|
413
|
+
totalCalls?: number | null | undefined;
|
|
414
|
+
conversionRate?: number | null | undefined;
|
|
415
|
+
qualityScore?: number | null | undefined;
|
|
416
416
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
417
417
|
}[];
|
|
418
418
|
totalCount: number;
|
|
@@ -432,46 +432,46 @@ export declare const BatchUpdateLeadSchema: z.ZodObject<{
|
|
|
432
432
|
blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
433
433
|
source: z.ZodOptional<z.ZodString>;
|
|
434
434
|
}, "strip", z.ZodTypeAny, {
|
|
435
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
436
435
|
name?: string | undefined;
|
|
436
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
437
|
+
phoneNumber?: string | undefined;
|
|
437
438
|
blacklistReason?: string | null | undefined;
|
|
438
439
|
source?: string | undefined;
|
|
439
|
-
phoneNumber?: string | undefined;
|
|
440
440
|
}, {
|
|
441
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
442
441
|
name?: string | undefined;
|
|
442
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
443
|
+
phoneNumber?: string | undefined;
|
|
443
444
|
blacklistReason?: string | null | undefined;
|
|
444
445
|
source?: string | undefined;
|
|
445
|
-
phoneNumber?: string | undefined;
|
|
446
446
|
}>, {
|
|
447
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
448
447
|
name?: string | undefined;
|
|
448
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
449
|
+
phoneNumber?: string | undefined;
|
|
449
450
|
blacklistReason?: string | null | undefined;
|
|
450
451
|
source?: string | undefined;
|
|
451
|
-
phoneNumber?: string | undefined;
|
|
452
452
|
}, {
|
|
453
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
454
453
|
name?: string | undefined;
|
|
454
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
455
|
+
phoneNumber?: string | undefined;
|
|
455
456
|
blacklistReason?: string | null | undefined;
|
|
456
457
|
source?: string | undefined;
|
|
457
|
-
phoneNumber?: string | undefined;
|
|
458
458
|
}>;
|
|
459
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
460
|
data: {
|
|
461
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
462
461
|
name?: string | undefined;
|
|
462
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
463
|
+
phoneNumber?: string | undefined;
|
|
463
464
|
blacklistReason?: string | null | undefined;
|
|
464
465
|
source?: string | undefined;
|
|
465
|
-
phoneNumber?: string | undefined;
|
|
466
466
|
};
|
|
467
467
|
leadIds: string[];
|
|
468
468
|
}, {
|
|
469
469
|
data: {
|
|
470
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
471
470
|
name?: string | undefined;
|
|
471
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
472
|
+
phoneNumber?: string | undefined;
|
|
472
473
|
blacklistReason?: string | null | undefined;
|
|
473
474
|
source?: string | undefined;
|
|
474
|
-
phoneNumber?: string | undefined;
|
|
475
475
|
};
|
|
476
476
|
leadIds: string[];
|
|
477
477
|
}>;
|
|
@@ -534,30 +534,30 @@ export declare const leadsContractRouter: {
|
|
|
534
534
|
source: z.ZodString;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
536
|
name: string;
|
|
537
|
-
source: string;
|
|
538
537
|
phoneNumber: string;
|
|
538
|
+
source: string;
|
|
539
539
|
isBlacklisted: boolean;
|
|
540
|
-
status?: "
|
|
540
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
541
541
|
blacklistReason?: string | null | undefined;
|
|
542
542
|
}, {
|
|
543
543
|
name: string;
|
|
544
|
-
source: string;
|
|
545
544
|
phoneNumber: string;
|
|
546
|
-
|
|
545
|
+
source: string;
|
|
546
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
547
547
|
blacklistReason?: string | null | undefined;
|
|
548
548
|
isBlacklisted?: boolean | undefined;
|
|
549
549
|
}>, {
|
|
550
550
|
name: string;
|
|
551
|
-
source: string;
|
|
552
551
|
phoneNumber: string;
|
|
552
|
+
source: string;
|
|
553
553
|
isBlacklisted: boolean;
|
|
554
|
-
status?: "
|
|
554
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
555
555
|
blacklistReason?: string | null | undefined;
|
|
556
556
|
}, {
|
|
557
557
|
name: string;
|
|
558
|
-
source: string;
|
|
559
558
|
phoneNumber: string;
|
|
560
|
-
|
|
559
|
+
source: string;
|
|
560
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
561
561
|
blacklistReason?: string | null | undefined;
|
|
562
562
|
isBlacklisted?: boolean | undefined;
|
|
563
563
|
}>;
|
|
@@ -588,7 +588,7 @@ export declare const leadsContractRouter: {
|
|
|
588
588
|
details?: unknown;
|
|
589
589
|
correlationId?: string | undefined;
|
|
590
590
|
}>;
|
|
591
|
-
|
|
591
|
+
403: z.ZodObject<{
|
|
592
592
|
statusCode: z.ZodNumber;
|
|
593
593
|
message: z.ZodString;
|
|
594
594
|
code: z.ZodString;
|
|
@@ -613,7 +613,7 @@ export declare const leadsContractRouter: {
|
|
|
613
613
|
details?: unknown;
|
|
614
614
|
correlationId?: string | undefined;
|
|
615
615
|
}>;
|
|
616
|
-
|
|
616
|
+
401: z.ZodObject<{
|
|
617
617
|
statusCode: z.ZodNumber;
|
|
618
618
|
message: z.ZodString;
|
|
619
619
|
code: z.ZodString;
|
|
@@ -680,36 +680,36 @@ export declare const leadsContractRouter: {
|
|
|
680
680
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
681
681
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
682
682
|
}, "strip", z.ZodTypeAny, {
|
|
683
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
684
|
-
id: string;
|
|
685
683
|
name: string;
|
|
686
|
-
updatedAt: string;
|
|
687
684
|
createdAt: string;
|
|
688
|
-
|
|
685
|
+
updatedAt: string;
|
|
686
|
+
id: string;
|
|
687
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
689
688
|
phoneNumber: string;
|
|
690
|
-
|
|
689
|
+
source: string;
|
|
691
690
|
lastCalledAt?: string | null | undefined;
|
|
692
|
-
qualityScore?: number | null | undefined;
|
|
693
|
-
conversionRate?: number | null | undefined;
|
|
694
|
-
totalCalls?: number | null | undefined;
|
|
695
|
-
lastCallNotes?: string | null | undefined;
|
|
696
691
|
cooldownUntil?: string | null | undefined;
|
|
692
|
+
blacklistReason?: string | null | undefined;
|
|
693
|
+
lastCallNotes?: string | null | undefined;
|
|
694
|
+
totalCalls?: number | null | undefined;
|
|
695
|
+
conversionRate?: number | null | undefined;
|
|
696
|
+
qualityScore?: number | null | undefined;
|
|
697
697
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
698
698
|
}, {
|
|
699
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
700
|
-
id: string;
|
|
701
699
|
name: string;
|
|
702
|
-
updatedAt: string | Date;
|
|
703
700
|
createdAt: string | Date;
|
|
704
|
-
|
|
701
|
+
updatedAt: string | Date;
|
|
702
|
+
id: string;
|
|
703
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
705
704
|
phoneNumber: string;
|
|
706
|
-
|
|
705
|
+
source: string;
|
|
707
706
|
lastCalledAt?: string | Date | null | undefined;
|
|
708
|
-
qualityScore?: number | null | undefined;
|
|
709
|
-
conversionRate?: number | null | undefined;
|
|
710
|
-
totalCalls?: number | null | undefined;
|
|
711
|
-
lastCallNotes?: string | null | undefined;
|
|
712
707
|
cooldownUntil?: string | Date | null | undefined;
|
|
708
|
+
blacklistReason?: string | null | undefined;
|
|
709
|
+
lastCallNotes?: string | null | undefined;
|
|
710
|
+
totalCalls?: number | null | undefined;
|
|
711
|
+
conversionRate?: number | null | undefined;
|
|
712
|
+
qualityScore?: number | null | undefined;
|
|
713
713
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
714
714
|
}>;
|
|
715
715
|
409: z.ZodObject<{
|
|
@@ -740,6 +740,12 @@ export declare const leadsContractRouter: {
|
|
|
740
740
|
};
|
|
741
741
|
};
|
|
742
742
|
findAll: {
|
|
743
|
+
metadata: {
|
|
744
|
+
tags: string[];
|
|
745
|
+
openApi: {
|
|
746
|
+
operationId: string;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
743
749
|
query: z.ZodObject<{
|
|
744
750
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
745
751
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -767,59 +773,53 @@ export declare const leadsContractRouter: {
|
|
|
767
773
|
field: z.ZodEnum<["name", "phoneNumber", "status", "source", "lastCalledAt", "qualityScore", "conversionRate", "totalCalls", "createdAt", "updatedAt"]>;
|
|
768
774
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
769
775
|
}, "strip", z.ZodTypeAny, {
|
|
770
|
-
field: "
|
|
776
|
+
field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
|
|
771
777
|
order: "ASC" | "DESC";
|
|
772
778
|
}, {
|
|
773
|
-
field: "
|
|
779
|
+
field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
|
|
774
780
|
order: "ASC" | "DESC";
|
|
775
781
|
}>, "many">>>;
|
|
776
782
|
}, "strip", z.ZodTypeAny, {
|
|
777
783
|
page: number;
|
|
778
784
|
limit: number;
|
|
779
|
-
|
|
785
|
+
name?: string | null | undefined;
|
|
780
786
|
sort?: {
|
|
781
|
-
field: "
|
|
787
|
+
field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
|
|
782
788
|
order: "ASC" | "DESC";
|
|
783
789
|
}[] | null | undefined;
|
|
784
|
-
|
|
785
|
-
source?: string | null | undefined;
|
|
790
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | null | undefined;
|
|
786
791
|
phoneNumber?: string | null | undefined;
|
|
787
792
|
lastCalledAt?: {
|
|
788
793
|
from?: string | null | undefined;
|
|
789
794
|
to?: string | null | undefined;
|
|
790
795
|
} | null | undefined;
|
|
791
796
|
minTotalCalls?: number | null | undefined;
|
|
797
|
+
source?: string | null | undefined;
|
|
792
798
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
793
799
|
minQualityScore?: number | null | undefined;
|
|
794
800
|
maxQualityScore?: number | null | undefined;
|
|
795
801
|
minConversionRate?: number | null | undefined;
|
|
796
802
|
}, {
|
|
797
|
-
|
|
803
|
+
name?: string | null | undefined;
|
|
798
804
|
sort?: {
|
|
799
|
-
field: "
|
|
805
|
+
field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
|
|
800
806
|
order: "ASC" | "DESC";
|
|
801
807
|
}[] | null | undefined;
|
|
802
808
|
page?: number | undefined;
|
|
803
809
|
limit?: number | undefined;
|
|
804
|
-
|
|
805
|
-
source?: string | null | undefined;
|
|
810
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | null | undefined;
|
|
806
811
|
phoneNumber?: string | null | undefined;
|
|
807
812
|
lastCalledAt?: {
|
|
808
813
|
from?: string | null | undefined;
|
|
809
814
|
to?: string | null | undefined;
|
|
810
815
|
} | null | undefined;
|
|
811
816
|
minTotalCalls?: number | null | undefined;
|
|
817
|
+
source?: string | null | undefined;
|
|
812
818
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
813
819
|
minQualityScore?: number | null | undefined;
|
|
814
820
|
maxQualityScore?: number | null | undefined;
|
|
815
821
|
minConversionRate?: number | null | undefined;
|
|
816
822
|
}>;
|
|
817
|
-
metadata: {
|
|
818
|
-
tags: string[];
|
|
819
|
-
openApi: {
|
|
820
|
-
operationId: string;
|
|
821
|
-
};
|
|
822
|
-
};
|
|
823
823
|
summary: "Get all leads";
|
|
824
824
|
method: "GET";
|
|
825
825
|
path: "/v2/leads";
|
|
@@ -849,7 +849,7 @@ export declare const leadsContractRouter: {
|
|
|
849
849
|
details?: unknown;
|
|
850
850
|
correlationId?: string | undefined;
|
|
851
851
|
}>;
|
|
852
|
-
|
|
852
|
+
403: z.ZodObject<{
|
|
853
853
|
statusCode: z.ZodNumber;
|
|
854
854
|
message: z.ZodString;
|
|
855
855
|
code: z.ZodString;
|
|
@@ -874,7 +874,7 @@ export declare const leadsContractRouter: {
|
|
|
874
874
|
details?: unknown;
|
|
875
875
|
correlationId?: string | undefined;
|
|
876
876
|
}>;
|
|
877
|
-
|
|
877
|
+
401: z.ZodObject<{
|
|
878
878
|
statusCode: z.ZodNumber;
|
|
879
879
|
message: z.ZodString;
|
|
880
880
|
code: z.ZodString;
|
|
@@ -942,36 +942,36 @@ export declare const leadsContractRouter: {
|
|
|
942
942
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
943
943
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
944
944
|
}, "strip", z.ZodTypeAny, {
|
|
945
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
946
|
-
id: string;
|
|
947
945
|
name: string;
|
|
948
|
-
updatedAt: string;
|
|
949
946
|
createdAt: string;
|
|
950
|
-
|
|
947
|
+
updatedAt: string;
|
|
948
|
+
id: string;
|
|
949
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
951
950
|
phoneNumber: string;
|
|
952
|
-
|
|
951
|
+
source: string;
|
|
953
952
|
lastCalledAt?: string | null | undefined;
|
|
954
|
-
qualityScore?: number | null | undefined;
|
|
955
|
-
conversionRate?: number | null | undefined;
|
|
956
|
-
totalCalls?: number | null | undefined;
|
|
957
|
-
lastCallNotes?: string | null | undefined;
|
|
958
953
|
cooldownUntil?: string | null | undefined;
|
|
954
|
+
blacklistReason?: string | null | undefined;
|
|
955
|
+
lastCallNotes?: string | null | undefined;
|
|
956
|
+
totalCalls?: number | null | undefined;
|
|
957
|
+
conversionRate?: number | null | undefined;
|
|
958
|
+
qualityScore?: number | null | undefined;
|
|
959
959
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
960
960
|
}, {
|
|
961
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
962
|
-
id: string;
|
|
963
961
|
name: string;
|
|
964
|
-
updatedAt: string | Date;
|
|
965
962
|
createdAt: string | Date;
|
|
966
|
-
|
|
963
|
+
updatedAt: string | Date;
|
|
964
|
+
id: string;
|
|
965
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
967
966
|
phoneNumber: string;
|
|
968
|
-
|
|
967
|
+
source: string;
|
|
969
968
|
lastCalledAt?: string | Date | null | undefined;
|
|
970
|
-
qualityScore?: number | null | undefined;
|
|
971
|
-
conversionRate?: number | null | undefined;
|
|
972
|
-
totalCalls?: number | null | undefined;
|
|
973
|
-
lastCallNotes?: string | null | undefined;
|
|
974
969
|
cooldownUntil?: string | Date | null | undefined;
|
|
970
|
+
blacklistReason?: string | null | undefined;
|
|
971
|
+
lastCallNotes?: string | null | undefined;
|
|
972
|
+
totalCalls?: number | null | undefined;
|
|
973
|
+
conversionRate?: number | null | undefined;
|
|
974
|
+
qualityScore?: number | null | undefined;
|
|
975
975
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
976
976
|
}>, "many">;
|
|
977
977
|
totalCount: z.ZodNumber;
|
|
@@ -982,20 +982,20 @@ export declare const leadsContractRouter: {
|
|
|
982
982
|
}, "strip", z.ZodTypeAny, {
|
|
983
983
|
limit: number;
|
|
984
984
|
items: {
|
|
985
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
986
|
-
id: string;
|
|
987
985
|
name: string;
|
|
988
|
-
updatedAt: string;
|
|
989
986
|
createdAt: string;
|
|
990
|
-
|
|
987
|
+
updatedAt: string;
|
|
988
|
+
id: string;
|
|
989
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
991
990
|
phoneNumber: string;
|
|
992
|
-
|
|
991
|
+
source: string;
|
|
993
992
|
lastCalledAt?: string | null | undefined;
|
|
994
|
-
qualityScore?: number | null | undefined;
|
|
995
|
-
conversionRate?: number | null | undefined;
|
|
996
|
-
totalCalls?: number | null | undefined;
|
|
997
|
-
lastCallNotes?: string | null | undefined;
|
|
998
993
|
cooldownUntil?: string | null | undefined;
|
|
994
|
+
blacklistReason?: string | null | undefined;
|
|
995
|
+
lastCallNotes?: string | null | undefined;
|
|
996
|
+
totalCalls?: number | null | undefined;
|
|
997
|
+
conversionRate?: number | null | undefined;
|
|
998
|
+
qualityScore?: number | null | undefined;
|
|
999
999
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1000
1000
|
}[];
|
|
1001
1001
|
totalCount: number;
|
|
@@ -1005,20 +1005,20 @@ export declare const leadsContractRouter: {
|
|
|
1005
1005
|
}, {
|
|
1006
1006
|
limit: number;
|
|
1007
1007
|
items: {
|
|
1008
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1009
|
-
id: string;
|
|
1010
1008
|
name: string;
|
|
1011
|
-
updatedAt: string | Date;
|
|
1012
1009
|
createdAt: string | Date;
|
|
1013
|
-
|
|
1010
|
+
updatedAt: string | Date;
|
|
1011
|
+
id: string;
|
|
1012
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
1014
1013
|
phoneNumber: string;
|
|
1015
|
-
|
|
1014
|
+
source: string;
|
|
1016
1015
|
lastCalledAt?: string | Date | null | undefined;
|
|
1017
|
-
qualityScore?: number | null | undefined;
|
|
1018
|
-
conversionRate?: number | null | undefined;
|
|
1019
|
-
totalCalls?: number | null | undefined;
|
|
1020
|
-
lastCallNotes?: string | null | undefined;
|
|
1021
1016
|
cooldownUntil?: string | Date | null | undefined;
|
|
1017
|
+
blacklistReason?: string | null | undefined;
|
|
1018
|
+
lastCallNotes?: string | null | undefined;
|
|
1019
|
+
totalCalls?: number | null | undefined;
|
|
1020
|
+
conversionRate?: number | null | undefined;
|
|
1021
|
+
qualityScore?: number | null | undefined;
|
|
1022
1022
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1023
1023
|
}[];
|
|
1024
1024
|
totalCount: number;
|
|
@@ -1046,46 +1046,46 @@ export declare const leadsContractRouter: {
|
|
|
1046
1046
|
blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1047
1047
|
source: z.ZodOptional<z.ZodString>;
|
|
1048
1048
|
}, "strip", z.ZodTypeAny, {
|
|
1049
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1050
1049
|
name?: string | undefined;
|
|
1050
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1051
|
+
phoneNumber?: string | undefined;
|
|
1051
1052
|
blacklistReason?: string | null | undefined;
|
|
1052
1053
|
source?: string | undefined;
|
|
1053
|
-
phoneNumber?: string | undefined;
|
|
1054
1054
|
}, {
|
|
1055
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1056
1055
|
name?: string | undefined;
|
|
1056
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1057
|
+
phoneNumber?: string | undefined;
|
|
1057
1058
|
blacklistReason?: string | null | undefined;
|
|
1058
1059
|
source?: string | undefined;
|
|
1059
|
-
phoneNumber?: string | undefined;
|
|
1060
1060
|
}>, {
|
|
1061
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1062
1061
|
name?: string | undefined;
|
|
1062
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1063
|
+
phoneNumber?: string | undefined;
|
|
1063
1064
|
blacklistReason?: string | null | undefined;
|
|
1064
1065
|
source?: string | undefined;
|
|
1065
|
-
phoneNumber?: string | undefined;
|
|
1066
1066
|
}, {
|
|
1067
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1068
1067
|
name?: string | undefined;
|
|
1068
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1069
|
+
phoneNumber?: string | undefined;
|
|
1069
1070
|
blacklistReason?: string | null | undefined;
|
|
1070
1071
|
source?: string | undefined;
|
|
1071
|
-
phoneNumber?: string | undefined;
|
|
1072
1072
|
}>;
|
|
1073
1073
|
}, "strip", z.ZodTypeAny, {
|
|
1074
1074
|
data: {
|
|
1075
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1076
1075
|
name?: string | undefined;
|
|
1076
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1077
|
+
phoneNumber?: string | undefined;
|
|
1077
1078
|
blacklistReason?: string | null | undefined;
|
|
1078
1079
|
source?: string | undefined;
|
|
1079
|
-
phoneNumber?: string | undefined;
|
|
1080
1080
|
};
|
|
1081
1081
|
leadIds: string[];
|
|
1082
1082
|
}, {
|
|
1083
1083
|
data: {
|
|
1084
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1085
1084
|
name?: string | undefined;
|
|
1085
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1086
|
+
phoneNumber?: string | undefined;
|
|
1086
1087
|
blacklistReason?: string | null | undefined;
|
|
1087
1088
|
source?: string | undefined;
|
|
1088
|
-
phoneNumber?: string | undefined;
|
|
1089
1089
|
};
|
|
1090
1090
|
leadIds: string[];
|
|
1091
1091
|
}>;
|
|
@@ -1378,13 +1378,13 @@ export declare const leadsContractRouter: {
|
|
|
1378
1378
|
};
|
|
1379
1379
|
};
|
|
1380
1380
|
getQualityDashboard: {
|
|
1381
|
-
query: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1382
1381
|
metadata: {
|
|
1383
1382
|
tags: string[];
|
|
1384
1383
|
openApi: {
|
|
1385
1384
|
operationId: string;
|
|
1386
1385
|
};
|
|
1387
1386
|
};
|
|
1387
|
+
query: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1388
1388
|
summary: "Get lead quality analytics dashboard";
|
|
1389
1389
|
method: "GET";
|
|
1390
1390
|
path: "/v2/leads/analytics/quality-dashboard";
|
|
@@ -1414,7 +1414,7 @@ export declare const leadsContractRouter: {
|
|
|
1414
1414
|
details?: unknown;
|
|
1415
1415
|
correlationId?: string | undefined;
|
|
1416
1416
|
}>;
|
|
1417
|
-
|
|
1417
|
+
403: z.ZodObject<{
|
|
1418
1418
|
statusCode: z.ZodNumber;
|
|
1419
1419
|
message: z.ZodString;
|
|
1420
1420
|
code: z.ZodString;
|
|
@@ -1439,7 +1439,7 @@ export declare const leadsContractRouter: {
|
|
|
1439
1439
|
details?: unknown;
|
|
1440
1440
|
correlationId?: string | undefined;
|
|
1441
1441
|
}>;
|
|
1442
|
-
|
|
1442
|
+
401: z.ZodObject<{
|
|
1443
1443
|
statusCode: z.ZodNumber;
|
|
1444
1444
|
message: z.ZodString;
|
|
1445
1445
|
code: z.ZodString;
|
|
@@ -1578,7 +1578,7 @@ export declare const leadsContractRouter: {
|
|
|
1578
1578
|
details?: unknown;
|
|
1579
1579
|
correlationId?: string | undefined;
|
|
1580
1580
|
}>;
|
|
1581
|
-
|
|
1581
|
+
403: z.ZodObject<{
|
|
1582
1582
|
statusCode: z.ZodNumber;
|
|
1583
1583
|
message: z.ZodString;
|
|
1584
1584
|
code: z.ZodString;
|
|
@@ -1603,7 +1603,7 @@ export declare const leadsContractRouter: {
|
|
|
1603
1603
|
details?: unknown;
|
|
1604
1604
|
correlationId?: string | undefined;
|
|
1605
1605
|
}>;
|
|
1606
|
-
|
|
1606
|
+
401: z.ZodObject<{
|
|
1607
1607
|
statusCode: z.ZodNumber;
|
|
1608
1608
|
message: z.ZodString;
|
|
1609
1609
|
code: z.ZodString;
|
|
@@ -1670,36 +1670,36 @@ export declare const leadsContractRouter: {
|
|
|
1670
1670
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1671
1671
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1672
1672
|
}, "strip", z.ZodTypeAny, {
|
|
1673
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1674
|
-
id: string;
|
|
1675
1673
|
name: string;
|
|
1676
|
-
updatedAt: string;
|
|
1677
1674
|
createdAt: string;
|
|
1678
|
-
|
|
1675
|
+
updatedAt: string;
|
|
1676
|
+
id: string;
|
|
1677
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
1679
1678
|
phoneNumber: string;
|
|
1680
|
-
|
|
1679
|
+
source: string;
|
|
1681
1680
|
lastCalledAt?: string | null | undefined;
|
|
1682
|
-
qualityScore?: number | null | undefined;
|
|
1683
|
-
conversionRate?: number | null | undefined;
|
|
1684
|
-
totalCalls?: number | null | undefined;
|
|
1685
|
-
lastCallNotes?: string | null | undefined;
|
|
1686
1681
|
cooldownUntil?: string | null | undefined;
|
|
1682
|
+
blacklistReason?: string | null | undefined;
|
|
1683
|
+
lastCallNotes?: string | null | undefined;
|
|
1684
|
+
totalCalls?: number | null | undefined;
|
|
1685
|
+
conversionRate?: number | null | undefined;
|
|
1686
|
+
qualityScore?: number | null | undefined;
|
|
1687
1687
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1688
1688
|
}, {
|
|
1689
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1690
|
-
id: string;
|
|
1691
1689
|
name: string;
|
|
1692
|
-
updatedAt: string | Date;
|
|
1693
1690
|
createdAt: string | Date;
|
|
1694
|
-
|
|
1691
|
+
updatedAt: string | Date;
|
|
1692
|
+
id: string;
|
|
1693
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
1695
1694
|
phoneNumber: string;
|
|
1696
|
-
|
|
1695
|
+
source: string;
|
|
1697
1696
|
lastCalledAt?: string | Date | null | undefined;
|
|
1698
|
-
qualityScore?: number | null | undefined;
|
|
1699
|
-
conversionRate?: number | null | undefined;
|
|
1700
|
-
totalCalls?: number | null | undefined;
|
|
1701
|
-
lastCallNotes?: string | null | undefined;
|
|
1702
1697
|
cooldownUntil?: string | Date | null | undefined;
|
|
1698
|
+
blacklistReason?: string | null | undefined;
|
|
1699
|
+
lastCallNotes?: string | null | undefined;
|
|
1700
|
+
totalCalls?: number | null | undefined;
|
|
1701
|
+
conversionRate?: number | null | undefined;
|
|
1702
|
+
qualityScore?: number | null | undefined;
|
|
1703
1703
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1704
1704
|
}>;
|
|
1705
1705
|
404: z.ZodObject<{
|
|
@@ -1752,29 +1752,29 @@ export declare const leadsContractRouter: {
|
|
|
1752
1752
|
blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1753
1753
|
source: z.ZodOptional<z.ZodString>;
|
|
1754
1754
|
}, "strip", z.ZodTypeAny, {
|
|
1755
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1756
1755
|
name?: string | undefined;
|
|
1756
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1757
|
+
phoneNumber?: string | undefined;
|
|
1757
1758
|
blacklistReason?: string | null | undefined;
|
|
1758
1759
|
source?: string | undefined;
|
|
1759
|
-
phoneNumber?: string | undefined;
|
|
1760
1760
|
}, {
|
|
1761
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1762
1761
|
name?: string | undefined;
|
|
1762
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1763
|
+
phoneNumber?: string | undefined;
|
|
1763
1764
|
blacklistReason?: string | null | undefined;
|
|
1764
1765
|
source?: string | undefined;
|
|
1765
|
-
phoneNumber?: string | undefined;
|
|
1766
1766
|
}>, {
|
|
1767
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1768
1767
|
name?: string | undefined;
|
|
1768
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1769
|
+
phoneNumber?: string | undefined;
|
|
1769
1770
|
blacklistReason?: string | null | undefined;
|
|
1770
1771
|
source?: string | undefined;
|
|
1771
|
-
phoneNumber?: string | undefined;
|
|
1772
1772
|
}, {
|
|
1773
|
-
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1774
1773
|
name?: string | undefined;
|
|
1774
|
+
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
|
|
1775
|
+
phoneNumber?: string | undefined;
|
|
1775
1776
|
blacklistReason?: string | null | undefined;
|
|
1776
1777
|
source?: string | undefined;
|
|
1777
|
-
phoneNumber?: string | undefined;
|
|
1778
1778
|
}>;
|
|
1779
1779
|
path: "/v2/leads/:id";
|
|
1780
1780
|
responses: {
|
|
@@ -1803,7 +1803,7 @@ export declare const leadsContractRouter: {
|
|
|
1803
1803
|
details?: unknown;
|
|
1804
1804
|
correlationId?: string | undefined;
|
|
1805
1805
|
}>;
|
|
1806
|
-
|
|
1806
|
+
403: z.ZodObject<{
|
|
1807
1807
|
statusCode: z.ZodNumber;
|
|
1808
1808
|
message: z.ZodString;
|
|
1809
1809
|
code: z.ZodString;
|
|
@@ -1828,7 +1828,7 @@ export declare const leadsContractRouter: {
|
|
|
1828
1828
|
details?: unknown;
|
|
1829
1829
|
correlationId?: string | undefined;
|
|
1830
1830
|
}>;
|
|
1831
|
-
|
|
1831
|
+
401: z.ZodObject<{
|
|
1832
1832
|
statusCode: z.ZodNumber;
|
|
1833
1833
|
message: z.ZodString;
|
|
1834
1834
|
code: z.ZodString;
|
|
@@ -1895,36 +1895,36 @@ export declare const leadsContractRouter: {
|
|
|
1895
1895
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1896
1896
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1897
1897
|
}, "strip", z.ZodTypeAny, {
|
|
1898
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1899
|
-
id: string;
|
|
1900
1898
|
name: string;
|
|
1901
|
-
updatedAt: string;
|
|
1902
1899
|
createdAt: string;
|
|
1903
|
-
|
|
1900
|
+
updatedAt: string;
|
|
1901
|
+
id: string;
|
|
1902
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
1904
1903
|
phoneNumber: string;
|
|
1905
|
-
|
|
1904
|
+
source: string;
|
|
1906
1905
|
lastCalledAt?: string | null | undefined;
|
|
1907
|
-
qualityScore?: number | null | undefined;
|
|
1908
|
-
conversionRate?: number | null | undefined;
|
|
1909
|
-
totalCalls?: number | null | undefined;
|
|
1910
|
-
lastCallNotes?: string | null | undefined;
|
|
1911
1906
|
cooldownUntil?: string | null | undefined;
|
|
1907
|
+
blacklistReason?: string | null | undefined;
|
|
1908
|
+
lastCallNotes?: string | null | undefined;
|
|
1909
|
+
totalCalls?: number | null | undefined;
|
|
1910
|
+
conversionRate?: number | null | undefined;
|
|
1911
|
+
qualityScore?: number | null | undefined;
|
|
1912
1912
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1913
1913
|
}, {
|
|
1914
|
-
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1915
|
-
id: string;
|
|
1916
1914
|
name: string;
|
|
1917
|
-
updatedAt: string | Date;
|
|
1918
1915
|
createdAt: string | Date;
|
|
1919
|
-
|
|
1916
|
+
updatedAt: string | Date;
|
|
1917
|
+
id: string;
|
|
1918
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
|
|
1920
1919
|
phoneNumber: string;
|
|
1921
|
-
|
|
1920
|
+
source: string;
|
|
1922
1921
|
lastCalledAt?: string | Date | null | undefined;
|
|
1923
|
-
qualityScore?: number | null | undefined;
|
|
1924
|
-
conversionRate?: number | null | undefined;
|
|
1925
|
-
totalCalls?: number | null | undefined;
|
|
1926
|
-
lastCallNotes?: string | null | undefined;
|
|
1927
1922
|
cooldownUntil?: string | Date | null | undefined;
|
|
1923
|
+
blacklistReason?: string | null | undefined;
|
|
1924
|
+
lastCallNotes?: string | null | undefined;
|
|
1925
|
+
totalCalls?: number | null | undefined;
|
|
1926
|
+
conversionRate?: number | null | undefined;
|
|
1927
|
+
qualityScore?: number | null | undefined;
|
|
1928
1928
|
qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
|
|
1929
1929
|
}>;
|
|
1930
1930
|
404: z.ZodObject<{
|
|
@@ -2023,7 +2023,7 @@ export declare const leadsContractRouter: {
|
|
|
2023
2023
|
details?: unknown;
|
|
2024
2024
|
correlationId?: string | undefined;
|
|
2025
2025
|
}>;
|
|
2026
|
-
|
|
2026
|
+
403: z.ZodObject<{
|
|
2027
2027
|
statusCode: z.ZodNumber;
|
|
2028
2028
|
message: z.ZodString;
|
|
2029
2029
|
code: z.ZodString;
|
|
@@ -2048,7 +2048,7 @@ export declare const leadsContractRouter: {
|
|
|
2048
2048
|
details?: unknown;
|
|
2049
2049
|
correlationId?: string | undefined;
|
|
2050
2050
|
}>;
|
|
2051
|
-
|
|
2051
|
+
401: z.ZodObject<{
|
|
2052
2052
|
statusCode: z.ZodNumber;
|
|
2053
2053
|
message: z.ZodString;
|
|
2054
2054
|
code: z.ZodString;
|
|
@@ -2148,14 +2148,14 @@ export declare const leadsContractRouter: {
|
|
|
2148
2148
|
notes: z.ZodOptional<z.ZodString>;
|
|
2149
2149
|
callType: z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>;
|
|
2150
2150
|
}, "strip", z.ZodTypeAny, {
|
|
2151
|
-
assignmentId: string;
|
|
2152
2151
|
rating: import("../common/call-rating.schema").CallRating;
|
|
2153
2152
|
callType: import("../call-history/call-history.contract").CallType;
|
|
2153
|
+
assignmentId: string;
|
|
2154
2154
|
notes?: string | undefined;
|
|
2155
2155
|
}, {
|
|
2156
|
-
assignmentId: string;
|
|
2157
2156
|
rating: import("../common/call-rating.schema").CallRating;
|
|
2158
2157
|
callType: import("../call-history/call-history.contract").CallType;
|
|
2158
|
+
assignmentId: string;
|
|
2159
2159
|
notes?: string | undefined;
|
|
2160
2160
|
}>;
|
|
2161
2161
|
path: "/v2/leads/:id/call";
|
|
@@ -2185,7 +2185,7 @@ export declare const leadsContractRouter: {
|
|
|
2185
2185
|
details?: unknown;
|
|
2186
2186
|
correlationId?: string | undefined;
|
|
2187
2187
|
}>;
|
|
2188
|
-
|
|
2188
|
+
403: z.ZodObject<{
|
|
2189
2189
|
statusCode: z.ZodNumber;
|
|
2190
2190
|
message: z.ZodString;
|
|
2191
2191
|
code: z.ZodString;
|
|
@@ -2210,7 +2210,7 @@ export declare const leadsContractRouter: {
|
|
|
2210
2210
|
details?: unknown;
|
|
2211
2211
|
correlationId?: string | undefined;
|
|
2212
2212
|
}>;
|
|
2213
|
-
|
|
2213
|
+
401: z.ZodObject<{
|
|
2214
2214
|
statusCode: z.ZodNumber;
|
|
2215
2215
|
message: z.ZodString;
|
|
2216
2216
|
code: z.ZodString;
|
|
@@ -2272,26 +2272,26 @@ export declare const leadsContractRouter: {
|
|
|
2272
2272
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2273
2273
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2274
2274
|
}, "strip", z.ZodTypeAny, {
|
|
2275
|
-
id: string;
|
|
2276
|
-
updatedAt: string;
|
|
2277
2275
|
createdAt: string;
|
|
2276
|
+
updatedAt: string;
|
|
2277
|
+
id: string;
|
|
2278
2278
|
agentId: string;
|
|
2279
|
-
assignmentId: string;
|
|
2280
2279
|
rating: import("../common/call-rating.schema").CallRating;
|
|
2281
2280
|
callType: import("../call-history/call-history.contract").CallType;
|
|
2282
|
-
ratingWeight: number;
|
|
2283
2281
|
leadId: string;
|
|
2282
|
+
ratingWeight: number;
|
|
2283
|
+
assignmentId: string;
|
|
2284
2284
|
notes?: string | null | undefined;
|
|
2285
2285
|
}, {
|
|
2286
|
-
id: string;
|
|
2287
|
-
updatedAt: string | Date;
|
|
2288
2286
|
createdAt: string | Date;
|
|
2287
|
+
updatedAt: string | Date;
|
|
2288
|
+
id: string;
|
|
2289
2289
|
agentId: string;
|
|
2290
|
-
assignmentId: string;
|
|
2291
2290
|
rating: import("../common/call-rating.schema").CallRating;
|
|
2292
2291
|
callType: import("../call-history/call-history.contract").CallType;
|
|
2293
|
-
ratingWeight: number;
|
|
2294
2292
|
leadId: string;
|
|
2293
|
+
ratingWeight: number;
|
|
2294
|
+
assignmentId: string;
|
|
2295
2295
|
notes?: string | null | undefined;
|
|
2296
2296
|
}>;
|
|
2297
2297
|
};
|