@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
|
@@ -12,25 +12,25 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
12
12
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
13
13
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
id: string;
|
|
16
15
|
name: string;
|
|
17
|
-
updatedAt: string;
|
|
18
16
|
createdAt: string;
|
|
19
|
-
|
|
17
|
+
updatedAt: string;
|
|
20
18
|
id: string;
|
|
19
|
+
}, {
|
|
21
20
|
name: string;
|
|
22
|
-
updatedAt: string | Date;
|
|
23
21
|
createdAt: string | Date;
|
|
22
|
+
updatedAt: string | Date;
|
|
23
|
+
id: string;
|
|
24
24
|
}>>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
27
27
|
agentId: string;
|
|
28
28
|
companyId?: string | null | undefined;
|
|
29
29
|
company?: {
|
|
30
|
-
id: string;
|
|
31
30
|
name: string;
|
|
32
|
-
updatedAt: string;
|
|
33
31
|
createdAt: string;
|
|
32
|
+
updatedAt: string;
|
|
33
|
+
id: string;
|
|
34
34
|
} | null | undefined;
|
|
35
35
|
leadDistributionConfigId?: string | null | undefined;
|
|
36
36
|
}, {
|
|
@@ -38,10 +38,10 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
38
38
|
agentId: string;
|
|
39
39
|
companyId?: string | null | undefined;
|
|
40
40
|
company?: {
|
|
41
|
-
id: string;
|
|
42
41
|
name: string;
|
|
43
|
-
updatedAt: string | Date;
|
|
44
42
|
createdAt: string | Date;
|
|
43
|
+
updatedAt: string | Date;
|
|
44
|
+
id: string;
|
|
45
45
|
} | null | undefined;
|
|
46
46
|
leadDistributionConfigId?: string | null | undefined;
|
|
47
47
|
}>;
|
|
@@ -55,12 +55,12 @@ export declare const AgentLeadDistributionConfigRefSchema: z.ZodOptional<z.ZodNu
|
|
|
55
55
|
mediumMinWeight: z.ZodNumber;
|
|
56
56
|
highMinWeight: z.ZodNumber;
|
|
57
57
|
isActive: z.ZodBoolean;
|
|
58
|
-
}, "
|
|
59
|
-
id: string;
|
|
58
|
+
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
60
59
|
name: string;
|
|
61
|
-
}, {
|
|
62
60
|
id: string;
|
|
61
|
+
}, {
|
|
63
62
|
name: string;
|
|
63
|
+
id: string;
|
|
64
64
|
}>>>;
|
|
65
65
|
export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
66
66
|
agentId: z.ZodString;
|
|
@@ -73,15 +73,15 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
73
73
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
74
74
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
id: string;
|
|
77
76
|
name: string;
|
|
78
|
-
updatedAt: string;
|
|
79
77
|
createdAt: string;
|
|
80
|
-
|
|
78
|
+
updatedAt: string;
|
|
81
79
|
id: string;
|
|
80
|
+
}, {
|
|
82
81
|
name: string;
|
|
83
|
-
updatedAt: string | Date;
|
|
84
82
|
createdAt: string | Date;
|
|
83
|
+
updatedAt: string | Date;
|
|
84
|
+
id: string;
|
|
85
85
|
}>>>;
|
|
86
86
|
} & {
|
|
87
87
|
id: z.ZodString;
|
|
@@ -125,16 +125,16 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
125
125
|
firstName: string;
|
|
126
126
|
}>, "many">>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
id: string;
|
|
129
128
|
name: string;
|
|
129
|
+
id: string;
|
|
130
130
|
managers?: {
|
|
131
131
|
id: string;
|
|
132
132
|
lastName: string;
|
|
133
133
|
firstName: string;
|
|
134
134
|
}[] | undefined;
|
|
135
135
|
}, {
|
|
136
|
-
id: string;
|
|
137
136
|
name: string;
|
|
137
|
+
id: string;
|
|
138
138
|
managers?: {
|
|
139
139
|
id: string;
|
|
140
140
|
lastName: string;
|
|
@@ -155,15 +155,16 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
155
155
|
firstName: string;
|
|
156
156
|
}>, "many">>;
|
|
157
157
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
158
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
158
159
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
159
160
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
160
161
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
161
162
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
status: "ACTIVE" | "INACTIVE";
|
|
163
|
-
id: string;
|
|
164
|
-
updatedAt: string;
|
|
165
|
-
createdAt: string;
|
|
166
163
|
email: string;
|
|
164
|
+
createdAt: string;
|
|
165
|
+
updatedAt: string;
|
|
166
|
+
id: string;
|
|
167
|
+
status: "ACTIVE" | "INACTIVE";
|
|
167
168
|
lastName: string;
|
|
168
169
|
firstName: string;
|
|
169
170
|
phoneNumbers: {
|
|
@@ -175,8 +176,8 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
175
176
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
176
177
|
officeId?: string | null | undefined;
|
|
177
178
|
office?: {
|
|
178
|
-
id: string;
|
|
179
179
|
name: string;
|
|
180
|
+
id: string;
|
|
180
181
|
managers?: {
|
|
181
182
|
id: string;
|
|
182
183
|
lastName: string;
|
|
@@ -188,20 +189,21 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
188
189
|
lastName: string;
|
|
189
190
|
firstName: string;
|
|
190
191
|
}[] | undefined;
|
|
192
|
+
dialpadUserId?: string | null | undefined;
|
|
191
193
|
deletedAt?: string | null | undefined;
|
|
192
194
|
}, {
|
|
193
|
-
status: "ACTIVE" | "INACTIVE";
|
|
194
|
-
id: string;
|
|
195
|
-
updatedAt: string | Date;
|
|
196
|
-
createdAt: string | Date;
|
|
197
195
|
email: string;
|
|
196
|
+
createdAt: string | Date;
|
|
197
|
+
updatedAt: string | Date;
|
|
198
|
+
id: string;
|
|
199
|
+
status: "ACTIVE" | "INACTIVE";
|
|
198
200
|
lastName: string;
|
|
199
201
|
firstName: string;
|
|
200
202
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
201
203
|
officeId?: string | null | undefined;
|
|
202
204
|
office?: {
|
|
203
|
-
id: string;
|
|
204
205
|
name: string;
|
|
206
|
+
id: string;
|
|
205
207
|
managers?: {
|
|
206
208
|
id: string;
|
|
207
209
|
lastName: string;
|
|
@@ -219,6 +221,7 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
219
221
|
lastName: string;
|
|
220
222
|
firstName: string;
|
|
221
223
|
}[] | undefined;
|
|
224
|
+
dialpadUserId?: string | null | undefined;
|
|
222
225
|
deletedAt?: string | Date | null | undefined;
|
|
223
226
|
}>;
|
|
224
227
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
@@ -231,23 +234,23 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
231
234
|
mediumMinWeight: z.ZodNumber;
|
|
232
235
|
highMinWeight: z.ZodNumber;
|
|
233
236
|
isActive: z.ZodBoolean;
|
|
234
|
-
}, "
|
|
235
|
-
id: string;
|
|
237
|
+
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
236
238
|
name: string;
|
|
237
|
-
}, {
|
|
238
239
|
id: string;
|
|
240
|
+
}, {
|
|
239
241
|
name: string;
|
|
242
|
+
id: string;
|
|
240
243
|
}>>>;
|
|
241
244
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
243
245
|
id: string;
|
|
246
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
244
247
|
agentId: string;
|
|
245
248
|
agent: {
|
|
246
|
-
status: "ACTIVE" | "INACTIVE";
|
|
247
|
-
id: string;
|
|
248
|
-
updatedAt: string;
|
|
249
|
-
createdAt: string;
|
|
250
249
|
email: string;
|
|
250
|
+
createdAt: string;
|
|
251
|
+
updatedAt: string;
|
|
252
|
+
id: string;
|
|
253
|
+
status: "ACTIVE" | "INACTIVE";
|
|
251
254
|
lastName: string;
|
|
252
255
|
firstName: string;
|
|
253
256
|
phoneNumbers: {
|
|
@@ -259,8 +262,8 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
259
262
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
260
263
|
officeId?: string | null | undefined;
|
|
261
264
|
office?: {
|
|
262
|
-
id: string;
|
|
263
265
|
name: string;
|
|
266
|
+
id: string;
|
|
264
267
|
managers?: {
|
|
265
268
|
id: string;
|
|
266
269
|
lastName: string;
|
|
@@ -272,37 +275,38 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
272
275
|
lastName: string;
|
|
273
276
|
firstName: string;
|
|
274
277
|
}[] | undefined;
|
|
278
|
+
dialpadUserId?: string | null | undefined;
|
|
275
279
|
deletedAt?: string | null | undefined;
|
|
276
280
|
};
|
|
277
281
|
companyId?: string | null | undefined;
|
|
278
282
|
company?: {
|
|
279
|
-
id: string;
|
|
280
283
|
name: string;
|
|
281
|
-
updatedAt: string;
|
|
282
284
|
createdAt: string;
|
|
285
|
+
updatedAt: string;
|
|
286
|
+
id: string;
|
|
283
287
|
} | null | undefined;
|
|
284
288
|
leadDistributionConfigId?: string | null | undefined;
|
|
285
289
|
leadDistributionConfig?: {
|
|
286
|
-
id: string;
|
|
287
290
|
name: string;
|
|
291
|
+
id: string;
|
|
288
292
|
} | null | undefined;
|
|
289
293
|
}, {
|
|
290
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
291
294
|
id: string;
|
|
295
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
292
296
|
agentId: string;
|
|
293
297
|
agent: {
|
|
294
|
-
status: "ACTIVE" | "INACTIVE";
|
|
295
|
-
id: string;
|
|
296
|
-
updatedAt: string | Date;
|
|
297
|
-
createdAt: string | Date;
|
|
298
298
|
email: string;
|
|
299
|
+
createdAt: string | Date;
|
|
300
|
+
updatedAt: string | Date;
|
|
301
|
+
id: string;
|
|
302
|
+
status: "ACTIVE" | "INACTIVE";
|
|
299
303
|
lastName: string;
|
|
300
304
|
firstName: string;
|
|
301
305
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
302
306
|
officeId?: string | null | undefined;
|
|
303
307
|
office?: {
|
|
304
|
-
id: string;
|
|
305
308
|
name: string;
|
|
309
|
+
id: string;
|
|
306
310
|
managers?: {
|
|
307
311
|
id: string;
|
|
308
312
|
lastName: string;
|
|
@@ -320,19 +324,20 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
320
324
|
lastName: string;
|
|
321
325
|
firstName: string;
|
|
322
326
|
}[] | undefined;
|
|
327
|
+
dialpadUserId?: string | null | undefined;
|
|
323
328
|
deletedAt?: string | Date | null | undefined;
|
|
324
329
|
};
|
|
325
330
|
companyId?: string | null | undefined;
|
|
326
331
|
company?: {
|
|
327
|
-
id: string;
|
|
328
332
|
name: string;
|
|
329
|
-
updatedAt: string | Date;
|
|
330
333
|
createdAt: string | Date;
|
|
334
|
+
updatedAt: string | Date;
|
|
335
|
+
id: string;
|
|
331
336
|
} | null | undefined;
|
|
332
337
|
leadDistributionConfigId?: string | null | undefined;
|
|
333
338
|
leadDistributionConfig?: {
|
|
334
|
-
id: string;
|
|
335
339
|
name: string;
|
|
340
|
+
id: string;
|
|
336
341
|
} | null | undefined;
|
|
337
342
|
}>;
|
|
338
343
|
export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
@@ -376,15 +381,15 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
376
381
|
page: number;
|
|
377
382
|
limit: number;
|
|
378
383
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
379
|
-
companyId?: string | undefined;
|
|
380
384
|
agentId?: string | undefined;
|
|
385
|
+
companyId?: string | undefined;
|
|
381
386
|
leadDistributionConfigId?: string | undefined;
|
|
382
387
|
}, {
|
|
383
|
-
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
384
388
|
page?: number | undefined;
|
|
385
389
|
limit?: number | undefined;
|
|
386
|
-
|
|
390
|
+
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
387
391
|
agentId?: string | undefined;
|
|
392
|
+
companyId?: string | undefined;
|
|
388
393
|
leadDistributionConfigId?: string | undefined;
|
|
389
394
|
}>;
|
|
390
395
|
export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
@@ -399,15 +404,15 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
399
404
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
400
405
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
401
406
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
-
id: string;
|
|
403
407
|
name: string;
|
|
404
|
-
updatedAt: string;
|
|
405
408
|
createdAt: string;
|
|
406
|
-
|
|
409
|
+
updatedAt: string;
|
|
407
410
|
id: string;
|
|
411
|
+
}, {
|
|
408
412
|
name: string;
|
|
409
|
-
updatedAt: string | Date;
|
|
410
413
|
createdAt: string | Date;
|
|
414
|
+
updatedAt: string | Date;
|
|
415
|
+
id: string;
|
|
411
416
|
}>>>;
|
|
412
417
|
} & {
|
|
413
418
|
id: z.ZodString;
|
|
@@ -451,16 +456,16 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
451
456
|
firstName: string;
|
|
452
457
|
}>, "many">>;
|
|
453
458
|
}, "strip", z.ZodTypeAny, {
|
|
454
|
-
id: string;
|
|
455
459
|
name: string;
|
|
460
|
+
id: string;
|
|
456
461
|
managers?: {
|
|
457
462
|
id: string;
|
|
458
463
|
lastName: string;
|
|
459
464
|
firstName: string;
|
|
460
465
|
}[] | undefined;
|
|
461
466
|
}, {
|
|
462
|
-
id: string;
|
|
463
467
|
name: string;
|
|
468
|
+
id: string;
|
|
464
469
|
managers?: {
|
|
465
470
|
id: string;
|
|
466
471
|
lastName: string;
|
|
@@ -481,15 +486,16 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
481
486
|
firstName: string;
|
|
482
487
|
}>, "many">>;
|
|
483
488
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
489
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
484
490
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
485
491
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
486
492
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
487
493
|
}, "strip", z.ZodTypeAny, {
|
|
488
|
-
status: "ACTIVE" | "INACTIVE";
|
|
489
|
-
id: string;
|
|
490
|
-
updatedAt: string;
|
|
491
|
-
createdAt: string;
|
|
492
494
|
email: string;
|
|
495
|
+
createdAt: string;
|
|
496
|
+
updatedAt: string;
|
|
497
|
+
id: string;
|
|
498
|
+
status: "ACTIVE" | "INACTIVE";
|
|
493
499
|
lastName: string;
|
|
494
500
|
firstName: string;
|
|
495
501
|
phoneNumbers: {
|
|
@@ -501,8 +507,8 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
501
507
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
502
508
|
officeId?: string | null | undefined;
|
|
503
509
|
office?: {
|
|
504
|
-
id: string;
|
|
505
510
|
name: string;
|
|
511
|
+
id: string;
|
|
506
512
|
managers?: {
|
|
507
513
|
id: string;
|
|
508
514
|
lastName: string;
|
|
@@ -514,20 +520,21 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
514
520
|
lastName: string;
|
|
515
521
|
firstName: string;
|
|
516
522
|
}[] | undefined;
|
|
523
|
+
dialpadUserId?: string | null | undefined;
|
|
517
524
|
deletedAt?: string | null | undefined;
|
|
518
525
|
}, {
|
|
519
|
-
status: "ACTIVE" | "INACTIVE";
|
|
520
|
-
id: string;
|
|
521
|
-
updatedAt: string | Date;
|
|
522
|
-
createdAt: string | Date;
|
|
523
526
|
email: string;
|
|
527
|
+
createdAt: string | Date;
|
|
528
|
+
updatedAt: string | Date;
|
|
529
|
+
id: string;
|
|
530
|
+
status: "ACTIVE" | "INACTIVE";
|
|
524
531
|
lastName: string;
|
|
525
532
|
firstName: string;
|
|
526
533
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
527
534
|
officeId?: string | null | undefined;
|
|
528
535
|
office?: {
|
|
529
|
-
id: string;
|
|
530
536
|
name: string;
|
|
537
|
+
id: string;
|
|
531
538
|
managers?: {
|
|
532
539
|
id: string;
|
|
533
540
|
lastName: string;
|
|
@@ -545,6 +552,7 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
545
552
|
lastName: string;
|
|
546
553
|
firstName: string;
|
|
547
554
|
}[] | undefined;
|
|
555
|
+
dialpadUserId?: string | null | undefined;
|
|
548
556
|
deletedAt?: string | Date | null | undefined;
|
|
549
557
|
}>;
|
|
550
558
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
@@ -557,23 +565,23 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
557
565
|
mediumMinWeight: z.ZodNumber;
|
|
558
566
|
highMinWeight: z.ZodNumber;
|
|
559
567
|
isActive: z.ZodBoolean;
|
|
560
|
-
}, "
|
|
561
|
-
id: string;
|
|
568
|
+
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
562
569
|
name: string;
|
|
563
|
-
}, {
|
|
564
570
|
id: string;
|
|
571
|
+
}, {
|
|
565
572
|
name: string;
|
|
573
|
+
id: string;
|
|
566
574
|
}>>>;
|
|
567
575
|
}, "strip", z.ZodTypeAny, {
|
|
568
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
569
576
|
id: string;
|
|
577
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
570
578
|
agentId: string;
|
|
571
579
|
agent: {
|
|
572
|
-
status: "ACTIVE" | "INACTIVE";
|
|
573
|
-
id: string;
|
|
574
|
-
updatedAt: string;
|
|
575
|
-
createdAt: string;
|
|
576
580
|
email: string;
|
|
581
|
+
createdAt: string;
|
|
582
|
+
updatedAt: string;
|
|
583
|
+
id: string;
|
|
584
|
+
status: "ACTIVE" | "INACTIVE";
|
|
577
585
|
lastName: string;
|
|
578
586
|
firstName: string;
|
|
579
587
|
phoneNumbers: {
|
|
@@ -585,8 +593,8 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
585
593
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
586
594
|
officeId?: string | null | undefined;
|
|
587
595
|
office?: {
|
|
588
|
-
id: string;
|
|
589
596
|
name: string;
|
|
597
|
+
id: string;
|
|
590
598
|
managers?: {
|
|
591
599
|
id: string;
|
|
592
600
|
lastName: string;
|
|
@@ -598,37 +606,38 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
598
606
|
lastName: string;
|
|
599
607
|
firstName: string;
|
|
600
608
|
}[] | undefined;
|
|
609
|
+
dialpadUserId?: string | null | undefined;
|
|
601
610
|
deletedAt?: string | null | undefined;
|
|
602
611
|
};
|
|
603
612
|
companyId?: string | null | undefined;
|
|
604
613
|
company?: {
|
|
605
|
-
id: string;
|
|
606
614
|
name: string;
|
|
607
|
-
updatedAt: string;
|
|
608
615
|
createdAt: string;
|
|
616
|
+
updatedAt: string;
|
|
617
|
+
id: string;
|
|
609
618
|
} | null | undefined;
|
|
610
619
|
leadDistributionConfigId?: string | null | undefined;
|
|
611
620
|
leadDistributionConfig?: {
|
|
612
|
-
id: string;
|
|
613
621
|
name: string;
|
|
622
|
+
id: string;
|
|
614
623
|
} | null | undefined;
|
|
615
624
|
}, {
|
|
616
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
617
625
|
id: string;
|
|
626
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
618
627
|
agentId: string;
|
|
619
628
|
agent: {
|
|
620
|
-
status: "ACTIVE" | "INACTIVE";
|
|
621
|
-
id: string;
|
|
622
|
-
updatedAt: string | Date;
|
|
623
|
-
createdAt: string | Date;
|
|
624
629
|
email: string;
|
|
630
|
+
createdAt: string | Date;
|
|
631
|
+
updatedAt: string | Date;
|
|
632
|
+
id: string;
|
|
633
|
+
status: "ACTIVE" | "INACTIVE";
|
|
625
634
|
lastName: string;
|
|
626
635
|
firstName: string;
|
|
627
636
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
628
637
|
officeId?: string | null | undefined;
|
|
629
638
|
office?: {
|
|
630
|
-
id: string;
|
|
631
639
|
name: string;
|
|
640
|
+
id: string;
|
|
632
641
|
managers?: {
|
|
633
642
|
id: string;
|
|
634
643
|
lastName: string;
|
|
@@ -646,19 +655,20 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
646
655
|
lastName: string;
|
|
647
656
|
firstName: string;
|
|
648
657
|
}[] | undefined;
|
|
658
|
+
dialpadUserId?: string | null | undefined;
|
|
649
659
|
deletedAt?: string | Date | null | undefined;
|
|
650
660
|
};
|
|
651
661
|
companyId?: string | null | undefined;
|
|
652
662
|
company?: {
|
|
653
|
-
id: string;
|
|
654
663
|
name: string;
|
|
655
|
-
updatedAt: string | Date;
|
|
656
664
|
createdAt: string | Date;
|
|
665
|
+
updatedAt: string | Date;
|
|
666
|
+
id: string;
|
|
657
667
|
} | null | undefined;
|
|
658
668
|
leadDistributionConfigId?: string | null | undefined;
|
|
659
669
|
leadDistributionConfig?: {
|
|
660
|
-
id: string;
|
|
661
670
|
name: string;
|
|
671
|
+
id: string;
|
|
662
672
|
} | null | undefined;
|
|
663
673
|
}>, "many">;
|
|
664
674
|
totalCount: z.ZodNumber;
|
|
@@ -669,15 +679,15 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
669
679
|
}, "strip", z.ZodTypeAny, {
|
|
670
680
|
limit: number;
|
|
671
681
|
items: {
|
|
672
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
673
682
|
id: string;
|
|
683
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
674
684
|
agentId: string;
|
|
675
685
|
agent: {
|
|
676
|
-
status: "ACTIVE" | "INACTIVE";
|
|
677
|
-
id: string;
|
|
678
|
-
updatedAt: string;
|
|
679
|
-
createdAt: string;
|
|
680
686
|
email: string;
|
|
687
|
+
createdAt: string;
|
|
688
|
+
updatedAt: string;
|
|
689
|
+
id: string;
|
|
690
|
+
status: "ACTIVE" | "INACTIVE";
|
|
681
691
|
lastName: string;
|
|
682
692
|
firstName: string;
|
|
683
693
|
phoneNumbers: {
|
|
@@ -689,8 +699,8 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
689
699
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
690
700
|
officeId?: string | null | undefined;
|
|
691
701
|
office?: {
|
|
692
|
-
id: string;
|
|
693
702
|
name: string;
|
|
703
|
+
id: string;
|
|
694
704
|
managers?: {
|
|
695
705
|
id: string;
|
|
696
706
|
lastName: string;
|
|
@@ -702,19 +712,20 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
702
712
|
lastName: string;
|
|
703
713
|
firstName: string;
|
|
704
714
|
}[] | undefined;
|
|
715
|
+
dialpadUserId?: string | null | undefined;
|
|
705
716
|
deletedAt?: string | null | undefined;
|
|
706
717
|
};
|
|
707
718
|
companyId?: string | null | undefined;
|
|
708
719
|
company?: {
|
|
709
|
-
id: string;
|
|
710
720
|
name: string;
|
|
711
|
-
updatedAt: string;
|
|
712
721
|
createdAt: string;
|
|
722
|
+
updatedAt: string;
|
|
723
|
+
id: string;
|
|
713
724
|
} | null | undefined;
|
|
714
725
|
leadDistributionConfigId?: string | null | undefined;
|
|
715
726
|
leadDistributionConfig?: {
|
|
716
|
-
id: string;
|
|
717
727
|
name: string;
|
|
728
|
+
id: string;
|
|
718
729
|
} | null | undefined;
|
|
719
730
|
}[];
|
|
720
731
|
totalCount: number;
|
|
@@ -724,22 +735,22 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
724
735
|
}, {
|
|
725
736
|
limit: number;
|
|
726
737
|
items: {
|
|
727
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
728
738
|
id: string;
|
|
739
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
729
740
|
agentId: string;
|
|
730
741
|
agent: {
|
|
731
|
-
status: "ACTIVE" | "INACTIVE";
|
|
732
|
-
id: string;
|
|
733
|
-
updatedAt: string | Date;
|
|
734
|
-
createdAt: string | Date;
|
|
735
742
|
email: string;
|
|
743
|
+
createdAt: string | Date;
|
|
744
|
+
updatedAt: string | Date;
|
|
745
|
+
id: string;
|
|
746
|
+
status: "ACTIVE" | "INACTIVE";
|
|
736
747
|
lastName: string;
|
|
737
748
|
firstName: string;
|
|
738
749
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
739
750
|
officeId?: string | null | undefined;
|
|
740
751
|
office?: {
|
|
741
|
-
id: string;
|
|
742
752
|
name: string;
|
|
753
|
+
id: string;
|
|
743
754
|
managers?: {
|
|
744
755
|
id: string;
|
|
745
756
|
lastName: string;
|
|
@@ -757,19 +768,20 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
757
768
|
lastName: string;
|
|
758
769
|
firstName: string;
|
|
759
770
|
}[] | undefined;
|
|
771
|
+
dialpadUserId?: string | null | undefined;
|
|
760
772
|
deletedAt?: string | Date | null | undefined;
|
|
761
773
|
};
|
|
762
774
|
companyId?: string | null | undefined;
|
|
763
775
|
company?: {
|
|
764
|
-
id: string;
|
|
765
776
|
name: string;
|
|
766
|
-
updatedAt: string | Date;
|
|
767
777
|
createdAt: string | Date;
|
|
778
|
+
updatedAt: string | Date;
|
|
779
|
+
id: string;
|
|
768
780
|
} | null | undefined;
|
|
769
781
|
leadDistributionConfigId?: string | null | undefined;
|
|
770
782
|
leadDistributionConfig?: {
|
|
771
|
-
id: string;
|
|
772
783
|
name: string;
|
|
784
|
+
id: string;
|
|
773
785
|
} | null | undefined;
|
|
774
786
|
}[];
|
|
775
787
|
totalCount: number;
|
|
@@ -847,6 +859,9 @@ export type AgentLeadDistributionConfigRef = z.infer<typeof AgentLeadDistributio
|
|
|
847
859
|
export type BatchResult = z.infer<typeof BatchResultSchema>;
|
|
848
860
|
export declare const agentLeadDistributionContract: {
|
|
849
861
|
findAll: {
|
|
862
|
+
metadata: {
|
|
863
|
+
tags: string[];
|
|
864
|
+
};
|
|
850
865
|
query: z.ZodObject<{
|
|
851
866
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
852
867
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -859,20 +874,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
859
874
|
page: number;
|
|
860
875
|
limit: number;
|
|
861
876
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
862
|
-
companyId?: string | undefined;
|
|
863
877
|
agentId?: string | undefined;
|
|
878
|
+
companyId?: string | undefined;
|
|
864
879
|
leadDistributionConfigId?: string | undefined;
|
|
865
880
|
}, {
|
|
866
|
-
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
867
881
|
page?: number | undefined;
|
|
868
882
|
limit?: number | undefined;
|
|
869
|
-
|
|
883
|
+
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
870
884
|
agentId?: string | undefined;
|
|
885
|
+
companyId?: string | undefined;
|
|
871
886
|
leadDistributionConfigId?: string | undefined;
|
|
872
887
|
}>;
|
|
873
|
-
metadata: {
|
|
874
|
-
tags: string[];
|
|
875
|
-
};
|
|
876
888
|
summary: "List all agent lead distribution records";
|
|
877
889
|
method: "GET";
|
|
878
890
|
path: "/v2/agent-lead-distribution";
|
|
@@ -964,15 +976,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
964
976
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
965
977
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
966
978
|
}, "strip", z.ZodTypeAny, {
|
|
967
|
-
id: string;
|
|
968
979
|
name: string;
|
|
969
|
-
updatedAt: string;
|
|
970
980
|
createdAt: string;
|
|
971
|
-
|
|
981
|
+
updatedAt: string;
|
|
972
982
|
id: string;
|
|
983
|
+
}, {
|
|
973
984
|
name: string;
|
|
974
|
-
updatedAt: string | Date;
|
|
975
985
|
createdAt: string | Date;
|
|
986
|
+
updatedAt: string | Date;
|
|
987
|
+
id: string;
|
|
976
988
|
}>>>;
|
|
977
989
|
} & {
|
|
978
990
|
id: z.ZodString;
|
|
@@ -1016,16 +1028,16 @@ export declare const agentLeadDistributionContract: {
|
|
|
1016
1028
|
firstName: string;
|
|
1017
1029
|
}>, "many">>;
|
|
1018
1030
|
}, "strip", z.ZodTypeAny, {
|
|
1019
|
-
id: string;
|
|
1020
1031
|
name: string;
|
|
1032
|
+
id: string;
|
|
1021
1033
|
managers?: {
|
|
1022
1034
|
id: string;
|
|
1023
1035
|
lastName: string;
|
|
1024
1036
|
firstName: string;
|
|
1025
1037
|
}[] | undefined;
|
|
1026
1038
|
}, {
|
|
1027
|
-
id: string;
|
|
1028
1039
|
name: string;
|
|
1040
|
+
id: string;
|
|
1029
1041
|
managers?: {
|
|
1030
1042
|
id: string;
|
|
1031
1043
|
lastName: string;
|
|
@@ -1046,15 +1058,16 @@ export declare const agentLeadDistributionContract: {
|
|
|
1046
1058
|
firstName: string;
|
|
1047
1059
|
}>, "many">>;
|
|
1048
1060
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1061
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
1049
1062
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1050
1063
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1051
1064
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1052
1065
|
}, "strip", z.ZodTypeAny, {
|
|
1053
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1054
|
-
id: string;
|
|
1055
|
-
updatedAt: string;
|
|
1056
|
-
createdAt: string;
|
|
1057
1066
|
email: string;
|
|
1067
|
+
createdAt: string;
|
|
1068
|
+
updatedAt: string;
|
|
1069
|
+
id: string;
|
|
1070
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1058
1071
|
lastName: string;
|
|
1059
1072
|
firstName: string;
|
|
1060
1073
|
phoneNumbers: {
|
|
@@ -1066,8 +1079,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1066
1079
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1067
1080
|
officeId?: string | null | undefined;
|
|
1068
1081
|
office?: {
|
|
1069
|
-
id: string;
|
|
1070
1082
|
name: string;
|
|
1083
|
+
id: string;
|
|
1071
1084
|
managers?: {
|
|
1072
1085
|
id: string;
|
|
1073
1086
|
lastName: string;
|
|
@@ -1079,20 +1092,21 @@ export declare const agentLeadDistributionContract: {
|
|
|
1079
1092
|
lastName: string;
|
|
1080
1093
|
firstName: string;
|
|
1081
1094
|
}[] | undefined;
|
|
1095
|
+
dialpadUserId?: string | null | undefined;
|
|
1082
1096
|
deletedAt?: string | null | undefined;
|
|
1083
1097
|
}, {
|
|
1084
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1085
|
-
id: string;
|
|
1086
|
-
updatedAt: string | Date;
|
|
1087
|
-
createdAt: string | Date;
|
|
1088
1098
|
email: string;
|
|
1099
|
+
createdAt: string | Date;
|
|
1100
|
+
updatedAt: string | Date;
|
|
1101
|
+
id: string;
|
|
1102
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1089
1103
|
lastName: string;
|
|
1090
1104
|
firstName: string;
|
|
1091
1105
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1092
1106
|
officeId?: string | null | undefined;
|
|
1093
1107
|
office?: {
|
|
1094
|
-
id: string;
|
|
1095
1108
|
name: string;
|
|
1109
|
+
id: string;
|
|
1096
1110
|
managers?: {
|
|
1097
1111
|
id: string;
|
|
1098
1112
|
lastName: string;
|
|
@@ -1110,6 +1124,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
1110
1124
|
lastName: string;
|
|
1111
1125
|
firstName: string;
|
|
1112
1126
|
}[] | undefined;
|
|
1127
|
+
dialpadUserId?: string | null | undefined;
|
|
1113
1128
|
deletedAt?: string | Date | null | undefined;
|
|
1114
1129
|
}>;
|
|
1115
1130
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
@@ -1122,23 +1137,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
1122
1137
|
mediumMinWeight: z.ZodNumber;
|
|
1123
1138
|
highMinWeight: z.ZodNumber;
|
|
1124
1139
|
isActive: z.ZodBoolean;
|
|
1125
|
-
}, "
|
|
1126
|
-
id: string;
|
|
1140
|
+
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
1127
1141
|
name: string;
|
|
1128
|
-
}, {
|
|
1129
1142
|
id: string;
|
|
1143
|
+
}, {
|
|
1130
1144
|
name: string;
|
|
1145
|
+
id: string;
|
|
1131
1146
|
}>>>;
|
|
1132
1147
|
}, "strip", z.ZodTypeAny, {
|
|
1133
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1134
1148
|
id: string;
|
|
1149
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1135
1150
|
agentId: string;
|
|
1136
1151
|
agent: {
|
|
1137
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1138
|
-
id: string;
|
|
1139
|
-
updatedAt: string;
|
|
1140
|
-
createdAt: string;
|
|
1141
1152
|
email: string;
|
|
1153
|
+
createdAt: string;
|
|
1154
|
+
updatedAt: string;
|
|
1155
|
+
id: string;
|
|
1156
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1142
1157
|
lastName: string;
|
|
1143
1158
|
firstName: string;
|
|
1144
1159
|
phoneNumbers: {
|
|
@@ -1150,8 +1165,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1150
1165
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1151
1166
|
officeId?: string | null | undefined;
|
|
1152
1167
|
office?: {
|
|
1153
|
-
id: string;
|
|
1154
1168
|
name: string;
|
|
1169
|
+
id: string;
|
|
1155
1170
|
managers?: {
|
|
1156
1171
|
id: string;
|
|
1157
1172
|
lastName: string;
|
|
@@ -1163,37 +1178,38 @@ export declare const agentLeadDistributionContract: {
|
|
|
1163
1178
|
lastName: string;
|
|
1164
1179
|
firstName: string;
|
|
1165
1180
|
}[] | undefined;
|
|
1181
|
+
dialpadUserId?: string | null | undefined;
|
|
1166
1182
|
deletedAt?: string | null | undefined;
|
|
1167
1183
|
};
|
|
1168
1184
|
companyId?: string | null | undefined;
|
|
1169
1185
|
company?: {
|
|
1170
|
-
id: string;
|
|
1171
1186
|
name: string;
|
|
1172
|
-
updatedAt: string;
|
|
1173
1187
|
createdAt: string;
|
|
1188
|
+
updatedAt: string;
|
|
1189
|
+
id: string;
|
|
1174
1190
|
} | null | undefined;
|
|
1175
1191
|
leadDistributionConfigId?: string | null | undefined;
|
|
1176
1192
|
leadDistributionConfig?: {
|
|
1177
|
-
id: string;
|
|
1178
1193
|
name: string;
|
|
1194
|
+
id: string;
|
|
1179
1195
|
} | null | undefined;
|
|
1180
1196
|
}, {
|
|
1181
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1182
1197
|
id: string;
|
|
1198
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1183
1199
|
agentId: string;
|
|
1184
1200
|
agent: {
|
|
1185
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1186
|
-
id: string;
|
|
1187
|
-
updatedAt: string | Date;
|
|
1188
|
-
createdAt: string | Date;
|
|
1189
1201
|
email: string;
|
|
1202
|
+
createdAt: string | Date;
|
|
1203
|
+
updatedAt: string | Date;
|
|
1204
|
+
id: string;
|
|
1205
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1190
1206
|
lastName: string;
|
|
1191
1207
|
firstName: string;
|
|
1192
1208
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1193
1209
|
officeId?: string | null | undefined;
|
|
1194
1210
|
office?: {
|
|
1195
|
-
id: string;
|
|
1196
1211
|
name: string;
|
|
1212
|
+
id: string;
|
|
1197
1213
|
managers?: {
|
|
1198
1214
|
id: string;
|
|
1199
1215
|
lastName: string;
|
|
@@ -1211,19 +1227,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1211
1227
|
lastName: string;
|
|
1212
1228
|
firstName: string;
|
|
1213
1229
|
}[] | undefined;
|
|
1230
|
+
dialpadUserId?: string | null | undefined;
|
|
1214
1231
|
deletedAt?: string | Date | null | undefined;
|
|
1215
1232
|
};
|
|
1216
1233
|
companyId?: string | null | undefined;
|
|
1217
1234
|
company?: {
|
|
1218
|
-
id: string;
|
|
1219
1235
|
name: string;
|
|
1220
|
-
updatedAt: string | Date;
|
|
1221
1236
|
createdAt: string | Date;
|
|
1237
|
+
updatedAt: string | Date;
|
|
1238
|
+
id: string;
|
|
1222
1239
|
} | null | undefined;
|
|
1223
1240
|
leadDistributionConfigId?: string | null | undefined;
|
|
1224
1241
|
leadDistributionConfig?: {
|
|
1225
|
-
id: string;
|
|
1226
1242
|
name: string;
|
|
1243
|
+
id: string;
|
|
1227
1244
|
} | null | undefined;
|
|
1228
1245
|
}>, "many">;
|
|
1229
1246
|
totalCount: z.ZodNumber;
|
|
@@ -1234,15 +1251,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
1234
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1235
1252
|
limit: number;
|
|
1236
1253
|
items: {
|
|
1237
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1238
1254
|
id: string;
|
|
1255
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1239
1256
|
agentId: string;
|
|
1240
1257
|
agent: {
|
|
1241
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1242
|
-
id: string;
|
|
1243
|
-
updatedAt: string;
|
|
1244
|
-
createdAt: string;
|
|
1245
1258
|
email: string;
|
|
1259
|
+
createdAt: string;
|
|
1260
|
+
updatedAt: string;
|
|
1261
|
+
id: string;
|
|
1262
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1246
1263
|
lastName: string;
|
|
1247
1264
|
firstName: string;
|
|
1248
1265
|
phoneNumbers: {
|
|
@@ -1254,8 +1271,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1254
1271
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1255
1272
|
officeId?: string | null | undefined;
|
|
1256
1273
|
office?: {
|
|
1257
|
-
id: string;
|
|
1258
1274
|
name: string;
|
|
1275
|
+
id: string;
|
|
1259
1276
|
managers?: {
|
|
1260
1277
|
id: string;
|
|
1261
1278
|
lastName: string;
|
|
@@ -1267,19 +1284,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1267
1284
|
lastName: string;
|
|
1268
1285
|
firstName: string;
|
|
1269
1286
|
}[] | undefined;
|
|
1287
|
+
dialpadUserId?: string | null | undefined;
|
|
1270
1288
|
deletedAt?: string | null | undefined;
|
|
1271
1289
|
};
|
|
1272
1290
|
companyId?: string | null | undefined;
|
|
1273
1291
|
company?: {
|
|
1274
|
-
id: string;
|
|
1275
1292
|
name: string;
|
|
1276
|
-
updatedAt: string;
|
|
1277
1293
|
createdAt: string;
|
|
1294
|
+
updatedAt: string;
|
|
1295
|
+
id: string;
|
|
1278
1296
|
} | null | undefined;
|
|
1279
1297
|
leadDistributionConfigId?: string | null | undefined;
|
|
1280
1298
|
leadDistributionConfig?: {
|
|
1281
|
-
id: string;
|
|
1282
1299
|
name: string;
|
|
1300
|
+
id: string;
|
|
1283
1301
|
} | null | undefined;
|
|
1284
1302
|
}[];
|
|
1285
1303
|
totalCount: number;
|
|
@@ -1289,22 +1307,22 @@ export declare const agentLeadDistributionContract: {
|
|
|
1289
1307
|
}, {
|
|
1290
1308
|
limit: number;
|
|
1291
1309
|
items: {
|
|
1292
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1293
1310
|
id: string;
|
|
1311
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1294
1312
|
agentId: string;
|
|
1295
1313
|
agent: {
|
|
1296
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1297
|
-
id: string;
|
|
1298
|
-
updatedAt: string | Date;
|
|
1299
|
-
createdAt: string | Date;
|
|
1300
1314
|
email: string;
|
|
1315
|
+
createdAt: string | Date;
|
|
1316
|
+
updatedAt: string | Date;
|
|
1317
|
+
id: string;
|
|
1318
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1301
1319
|
lastName: string;
|
|
1302
1320
|
firstName: string;
|
|
1303
1321
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1304
1322
|
officeId?: string | null | undefined;
|
|
1305
1323
|
office?: {
|
|
1306
|
-
id: string;
|
|
1307
1324
|
name: string;
|
|
1325
|
+
id: string;
|
|
1308
1326
|
managers?: {
|
|
1309
1327
|
id: string;
|
|
1310
1328
|
lastName: string;
|
|
@@ -1322,19 +1340,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1322
1340
|
lastName: string;
|
|
1323
1341
|
firstName: string;
|
|
1324
1342
|
}[] | undefined;
|
|
1343
|
+
dialpadUserId?: string | null | undefined;
|
|
1325
1344
|
deletedAt?: string | Date | null | undefined;
|
|
1326
1345
|
};
|
|
1327
1346
|
companyId?: string | null | undefined;
|
|
1328
1347
|
company?: {
|
|
1329
|
-
id: string;
|
|
1330
1348
|
name: string;
|
|
1331
|
-
updatedAt: string | Date;
|
|
1332
1349
|
createdAt: string | Date;
|
|
1350
|
+
updatedAt: string | Date;
|
|
1351
|
+
id: string;
|
|
1333
1352
|
} | null | undefined;
|
|
1334
1353
|
leadDistributionConfigId?: string | null | undefined;
|
|
1335
1354
|
leadDistributionConfig?: {
|
|
1336
|
-
id: string;
|
|
1337
1355
|
name: string;
|
|
1356
|
+
id: string;
|
|
1338
1357
|
} | null | undefined;
|
|
1339
1358
|
}[];
|
|
1340
1359
|
totalCount: number;
|
|
@@ -1470,15 +1489,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
1470
1489
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1471
1490
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1472
1491
|
}, "strip", z.ZodTypeAny, {
|
|
1473
|
-
id: string;
|
|
1474
1492
|
name: string;
|
|
1475
|
-
updatedAt: string;
|
|
1476
1493
|
createdAt: string;
|
|
1477
|
-
|
|
1494
|
+
updatedAt: string;
|
|
1478
1495
|
id: string;
|
|
1496
|
+
}, {
|
|
1479
1497
|
name: string;
|
|
1480
|
-
updatedAt: string | Date;
|
|
1481
1498
|
createdAt: string | Date;
|
|
1499
|
+
updatedAt: string | Date;
|
|
1500
|
+
id: string;
|
|
1482
1501
|
}>>>;
|
|
1483
1502
|
} & {
|
|
1484
1503
|
id: z.ZodString;
|
|
@@ -1522,16 +1541,16 @@ export declare const agentLeadDistributionContract: {
|
|
|
1522
1541
|
firstName: string;
|
|
1523
1542
|
}>, "many">>;
|
|
1524
1543
|
}, "strip", z.ZodTypeAny, {
|
|
1525
|
-
id: string;
|
|
1526
1544
|
name: string;
|
|
1545
|
+
id: string;
|
|
1527
1546
|
managers?: {
|
|
1528
1547
|
id: string;
|
|
1529
1548
|
lastName: string;
|
|
1530
1549
|
firstName: string;
|
|
1531
1550
|
}[] | undefined;
|
|
1532
1551
|
}, {
|
|
1533
|
-
id: string;
|
|
1534
1552
|
name: string;
|
|
1553
|
+
id: string;
|
|
1535
1554
|
managers?: {
|
|
1536
1555
|
id: string;
|
|
1537
1556
|
lastName: string;
|
|
@@ -1552,15 +1571,16 @@ export declare const agentLeadDistributionContract: {
|
|
|
1552
1571
|
firstName: string;
|
|
1553
1572
|
}>, "many">>;
|
|
1554
1573
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1574
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
1555
1575
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1556
1576
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1557
1577
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1558
1578
|
}, "strip", z.ZodTypeAny, {
|
|
1559
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1560
|
-
id: string;
|
|
1561
|
-
updatedAt: string;
|
|
1562
|
-
createdAt: string;
|
|
1563
1579
|
email: string;
|
|
1580
|
+
createdAt: string;
|
|
1581
|
+
updatedAt: string;
|
|
1582
|
+
id: string;
|
|
1583
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1564
1584
|
lastName: string;
|
|
1565
1585
|
firstName: string;
|
|
1566
1586
|
phoneNumbers: {
|
|
@@ -1572,8 +1592,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1572
1592
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1573
1593
|
officeId?: string | null | undefined;
|
|
1574
1594
|
office?: {
|
|
1575
|
-
id: string;
|
|
1576
1595
|
name: string;
|
|
1596
|
+
id: string;
|
|
1577
1597
|
managers?: {
|
|
1578
1598
|
id: string;
|
|
1579
1599
|
lastName: string;
|
|
@@ -1585,20 +1605,21 @@ export declare const agentLeadDistributionContract: {
|
|
|
1585
1605
|
lastName: string;
|
|
1586
1606
|
firstName: string;
|
|
1587
1607
|
}[] | undefined;
|
|
1608
|
+
dialpadUserId?: string | null | undefined;
|
|
1588
1609
|
deletedAt?: string | null | undefined;
|
|
1589
1610
|
}, {
|
|
1590
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1591
|
-
id: string;
|
|
1592
|
-
updatedAt: string | Date;
|
|
1593
|
-
createdAt: string | Date;
|
|
1594
1611
|
email: string;
|
|
1612
|
+
createdAt: string | Date;
|
|
1613
|
+
updatedAt: string | Date;
|
|
1614
|
+
id: string;
|
|
1615
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1595
1616
|
lastName: string;
|
|
1596
1617
|
firstName: string;
|
|
1597
1618
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1598
1619
|
officeId?: string | null | undefined;
|
|
1599
1620
|
office?: {
|
|
1600
|
-
id: string;
|
|
1601
1621
|
name: string;
|
|
1622
|
+
id: string;
|
|
1602
1623
|
managers?: {
|
|
1603
1624
|
id: string;
|
|
1604
1625
|
lastName: string;
|
|
@@ -1616,6 +1637,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
1616
1637
|
lastName: string;
|
|
1617
1638
|
firstName: string;
|
|
1618
1639
|
}[] | undefined;
|
|
1640
|
+
dialpadUserId?: string | null | undefined;
|
|
1619
1641
|
deletedAt?: string | Date | null | undefined;
|
|
1620
1642
|
}>;
|
|
1621
1643
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
@@ -1628,23 +1650,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
1628
1650
|
mediumMinWeight: z.ZodNumber;
|
|
1629
1651
|
highMinWeight: z.ZodNumber;
|
|
1630
1652
|
isActive: z.ZodBoolean;
|
|
1631
|
-
}, "
|
|
1632
|
-
id: string;
|
|
1653
|
+
}, "name" | "id">, "strip", z.ZodTypeAny, {
|
|
1633
1654
|
name: string;
|
|
1634
|
-
}, {
|
|
1635
1655
|
id: string;
|
|
1656
|
+
}, {
|
|
1636
1657
|
name: string;
|
|
1658
|
+
id: string;
|
|
1637
1659
|
}>>>;
|
|
1638
1660
|
}, "strip", z.ZodTypeAny, {
|
|
1639
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1640
1661
|
id: string;
|
|
1662
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1641
1663
|
agentId: string;
|
|
1642
1664
|
agent: {
|
|
1643
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1644
|
-
id: string;
|
|
1645
|
-
updatedAt: string;
|
|
1646
|
-
createdAt: string;
|
|
1647
1665
|
email: string;
|
|
1666
|
+
createdAt: string;
|
|
1667
|
+
updatedAt: string;
|
|
1668
|
+
id: string;
|
|
1669
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1648
1670
|
lastName: string;
|
|
1649
1671
|
firstName: string;
|
|
1650
1672
|
phoneNumbers: {
|
|
@@ -1656,8 +1678,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1656
1678
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1657
1679
|
officeId?: string | null | undefined;
|
|
1658
1680
|
office?: {
|
|
1659
|
-
id: string;
|
|
1660
1681
|
name: string;
|
|
1682
|
+
id: string;
|
|
1661
1683
|
managers?: {
|
|
1662
1684
|
id: string;
|
|
1663
1685
|
lastName: string;
|
|
@@ -1669,37 +1691,38 @@ export declare const agentLeadDistributionContract: {
|
|
|
1669
1691
|
lastName: string;
|
|
1670
1692
|
firstName: string;
|
|
1671
1693
|
}[] | undefined;
|
|
1694
|
+
dialpadUserId?: string | null | undefined;
|
|
1672
1695
|
deletedAt?: string | null | undefined;
|
|
1673
1696
|
};
|
|
1674
1697
|
companyId?: string | null | undefined;
|
|
1675
1698
|
company?: {
|
|
1676
|
-
id: string;
|
|
1677
1699
|
name: string;
|
|
1678
|
-
updatedAt: string;
|
|
1679
1700
|
createdAt: string;
|
|
1701
|
+
updatedAt: string;
|
|
1702
|
+
id: string;
|
|
1680
1703
|
} | null | undefined;
|
|
1681
1704
|
leadDistributionConfigId?: string | null | undefined;
|
|
1682
1705
|
leadDistributionConfig?: {
|
|
1683
|
-
id: string;
|
|
1684
1706
|
name: string;
|
|
1707
|
+
id: string;
|
|
1685
1708
|
} | null | undefined;
|
|
1686
1709
|
}, {
|
|
1687
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1688
1710
|
id: string;
|
|
1711
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1689
1712
|
agentId: string;
|
|
1690
1713
|
agent: {
|
|
1691
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1692
|
-
id: string;
|
|
1693
|
-
updatedAt: string | Date;
|
|
1694
|
-
createdAt: string | Date;
|
|
1695
1714
|
email: string;
|
|
1715
|
+
createdAt: string | Date;
|
|
1716
|
+
updatedAt: string | Date;
|
|
1717
|
+
id: string;
|
|
1718
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1696
1719
|
lastName: string;
|
|
1697
1720
|
firstName: string;
|
|
1698
1721
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1699
1722
|
officeId?: string | null | undefined;
|
|
1700
1723
|
office?: {
|
|
1701
|
-
id: string;
|
|
1702
1724
|
name: string;
|
|
1725
|
+
id: string;
|
|
1703
1726
|
managers?: {
|
|
1704
1727
|
id: string;
|
|
1705
1728
|
lastName: string;
|
|
@@ -1717,19 +1740,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1717
1740
|
lastName: string;
|
|
1718
1741
|
firstName: string;
|
|
1719
1742
|
}[] | undefined;
|
|
1743
|
+
dialpadUserId?: string | null | undefined;
|
|
1720
1744
|
deletedAt?: string | Date | null | undefined;
|
|
1721
1745
|
};
|
|
1722
1746
|
companyId?: string | null | undefined;
|
|
1723
1747
|
company?: {
|
|
1724
|
-
id: string;
|
|
1725
1748
|
name: string;
|
|
1726
|
-
updatedAt: string | Date;
|
|
1727
1749
|
createdAt: string | Date;
|
|
1750
|
+
updatedAt: string | Date;
|
|
1751
|
+
id: string;
|
|
1728
1752
|
} | null | undefined;
|
|
1729
1753
|
leadDistributionConfigId?: string | null | undefined;
|
|
1730
1754
|
leadDistributionConfig?: {
|
|
1731
|
-
id: string;
|
|
1732
1755
|
name: string;
|
|
1756
|
+
id: string;
|
|
1733
1757
|
} | null | undefined;
|
|
1734
1758
|
}>;
|
|
1735
1759
|
404: z.ZodObject<{
|
|
@@ -1894,25 +1918,25 @@ export declare const agentLeadDistributionContract: {
|
|
|
1894
1918
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1895
1919
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1896
1920
|
}, "strip", z.ZodTypeAny, {
|
|
1897
|
-
id: string;
|
|
1898
1921
|
name: string;
|
|
1899
|
-
updatedAt: string;
|
|
1900
1922
|
createdAt: string;
|
|
1901
|
-
|
|
1923
|
+
updatedAt: string;
|
|
1902
1924
|
id: string;
|
|
1925
|
+
}, {
|
|
1903
1926
|
name: string;
|
|
1904
|
-
updatedAt: string | Date;
|
|
1905
1927
|
createdAt: string | Date;
|
|
1928
|
+
updatedAt: string | Date;
|
|
1929
|
+
id: string;
|
|
1906
1930
|
}>>>;
|
|
1907
1931
|
}, "strip", z.ZodTypeAny, {
|
|
1908
1932
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1909
1933
|
agentId: string;
|
|
1910
1934
|
companyId?: string | null | undefined;
|
|
1911
1935
|
company?: {
|
|
1912
|
-
id: string;
|
|
1913
1936
|
name: string;
|
|
1914
|
-
updatedAt: string;
|
|
1915
1937
|
createdAt: string;
|
|
1938
|
+
updatedAt: string;
|
|
1939
|
+
id: string;
|
|
1916
1940
|
} | null | undefined;
|
|
1917
1941
|
leadDistributionConfigId?: string | null | undefined;
|
|
1918
1942
|
}, {
|
|
@@ -1920,10 +1944,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1920
1944
|
agentId: string;
|
|
1921
1945
|
companyId?: string | null | undefined;
|
|
1922
1946
|
company?: {
|
|
1923
|
-
id: string;
|
|
1924
1947
|
name: string;
|
|
1925
|
-
updatedAt: string | Date;
|
|
1926
1948
|
createdAt: string | Date;
|
|
1949
|
+
updatedAt: string | Date;
|
|
1950
|
+
id: string;
|
|
1927
1951
|
} | null | undefined;
|
|
1928
1952
|
leadDistributionConfigId?: string | null | undefined;
|
|
1929
1953
|
}>;
|
|
@@ -2068,25 +2092,25 @@ export declare const agentLeadDistributionContract: {
|
|
|
2068
2092
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2069
2093
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2070
2094
|
}, "strip", z.ZodTypeAny, {
|
|
2071
|
-
id: string;
|
|
2072
2095
|
name: string;
|
|
2073
|
-
updatedAt: string;
|
|
2074
2096
|
createdAt: string;
|
|
2075
|
-
|
|
2097
|
+
updatedAt: string;
|
|
2076
2098
|
id: string;
|
|
2099
|
+
}, {
|
|
2077
2100
|
name: string;
|
|
2078
|
-
updatedAt: string | Date;
|
|
2079
2101
|
createdAt: string | Date;
|
|
2102
|
+
updatedAt: string | Date;
|
|
2103
|
+
id: string;
|
|
2080
2104
|
}>>>;
|
|
2081
2105
|
}, "strip", z.ZodTypeAny, {
|
|
2082
2106
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
2083
2107
|
agentId: string;
|
|
2084
2108
|
companyId?: string | null | undefined;
|
|
2085
2109
|
company?: {
|
|
2086
|
-
id: string;
|
|
2087
2110
|
name: string;
|
|
2088
|
-
updatedAt: string;
|
|
2089
2111
|
createdAt: string;
|
|
2112
|
+
updatedAt: string;
|
|
2113
|
+
id: string;
|
|
2090
2114
|
} | null | undefined;
|
|
2091
2115
|
leadDistributionConfigId?: string | null | undefined;
|
|
2092
2116
|
}, {
|
|
@@ -2094,10 +2118,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
2094
2118
|
agentId: string;
|
|
2095
2119
|
companyId?: string | null | undefined;
|
|
2096
2120
|
company?: {
|
|
2097
|
-
id: string;
|
|
2098
2121
|
name: string;
|
|
2099
|
-
updatedAt: string | Date;
|
|
2100
2122
|
createdAt: string | Date;
|
|
2123
|
+
updatedAt: string | Date;
|
|
2124
|
+
id: string;
|
|
2101
2125
|
} | null | undefined;
|
|
2102
2126
|
leadDistributionConfigId?: string | null | undefined;
|
|
2103
2127
|
}>;
|