@dakkitor/api-contracts 1.5.0 → 1.7.0
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 +6 -2
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +45 -1
- package/dist/abilities/abilities.contract.spec.js +98 -0
- package/dist/abilities/first-agent.abilities.json +8 -14
- package/dist/abilities/outreach.abilities.json +25 -0
- package/dist/abilities/second-agent.abilities.json +4 -13
- package/dist/actives/actives.contract.d.ts +3618 -3479
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +2 -0
- package/dist/actives/actives.contract.spec.d.ts +2 -0
- package/dist/actives/actives.contract.spec.d.ts.map +1 -0
- package/dist/actives/actives.contract.spec.js +35 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1087 -1087
- package/dist/auth/auth.contract.d.ts +108 -108
- package/dist/bookings/bookings.contract.d.ts +6644 -6452
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +718 -718
- package/dist/calls-feed/calls-feed.contract.d.ts +86 -86
- package/dist/client-contacts/client-contacts.contract.d.ts +469 -469
- package/dist/clients/clients.contract.d.ts +203 -203
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2713 -2713
- package/dist/collaborations/collaborations.contract.d.ts +2270 -2270
- package/dist/common/common-schemas.d.ts +12 -12
- package/dist/companies/companies.contract.d.ts +74 -74
- package/dist/crews/crews.contract.d.ts +253 -253
- package/dist/cron-executions/cron-executions.contract.d.ts +182 -182
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2723 -2723
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +378 -378
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +1117 -1087
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +16 -16
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +2 -2
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5818 -5372
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +34 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts +4 -4
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.js +39 -0
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +148 -148
- package/dist/curated-workers/curated-workers.contract.d.ts +789 -789
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +2 -2
- package/dist/dashboards/dashboard-widgets.contract.d.ts +180 -180
- package/dist/dashboards/dashboard.contract.d.ts +12 -12
- package/dist/document-intake/document-intake.contract.d.ts +601 -601
- package/dist/export-jobs/export-jobs.contract.d.ts +694 -694
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/files/files.contract.d.ts +74 -74
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/interactions/interactions.contract.d.ts +6 -6
- package/dist/job-clusters/job-clusters.contract.d.ts +112 -112
- package/dist/jobs/job-moderation-fields.spec.d.ts +2 -0
- package/dist/jobs/job-moderation-fields.spec.d.ts.map +1 -0
- package/dist/jobs/job-moderation-fields.spec.js +72 -0
- package/dist/jobs/jobs.contract.d.ts +4773 -4525
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +48 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +141 -141
- package/dist/lead-assignments/lead-assignments.contract.d.ts +911 -911
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +209 -209
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +77 -77
- package/dist/leads/leads.contract.d.ts +283 -283
- package/dist/locations/locations.contract.d.ts +49 -49
- package/dist/notifications/notifications.contract.d.ts +67 -67
- package/dist/offices/offices.contract.d.ts +34 -34
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +11 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.js +50 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
- package/dist/outreach/lab-outreach.contract.d.ts +1110 -0
- package/dist/outreach/lab-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/lab-outreach.contract.js +174 -0
- package/dist/outreach/lab-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/lab-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/lab-outreach.contract.spec.js +90 -0
- package/dist/outreach/outreach-requests.contract.d.ts +946 -217
- package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.contract.js +23 -3
- package/dist/outreach/outreach-requests.schemas.d.ts +65 -10
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.schemas.js +6 -0
- package/dist/outreach/outreach.contract.d.ts +300 -38
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +18 -0
- package/dist/outreach/outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/outreach.contract.spec.js +57 -0
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/own-research/own-research.contract.d.ts +775 -775
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/proofs/proof-type.enum.d.ts +4 -4
- package/dist/proofs/proofs.contract.d.ts +363 -363
- package/dist/proofs/proofs.dtos.d.ts +124 -124
- package/dist/qualifications/qualifications.contract.d.ts +38 -38
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +829 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.contract.js +79 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.js +146 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +443 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.js +138 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
- package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
- package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.js +188 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.schemas.js +112 -0
- package/dist/shared/live-booking.schema.d.ts +4 -4
- package/dist/shared/summary-schemas.d.ts +6 -6
- package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
- package/dist/telegram/telegram.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +90 -90
- package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
- package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
- package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
- package/dist/users/__tests__/assignable-roles.spec.js +41 -0
- package/dist/users/users.contract.d.ts +399 -393
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +11 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
- package/dist/workers/workers.contract.d.ts +2919 -2919
- package/package.json +1 -1
- package/dist/bookings/bookings.contract.spec.d.ts +0 -2
- package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
- package/dist/bookings/bookings.contract.spec.js +0 -11
|
@@ -106,7 +106,7 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
106
106
|
description?: string | null | undefined;
|
|
107
107
|
isPrimary?: boolean | undefined;
|
|
108
108
|
}>, "many">>>;
|
|
109
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
109
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
110
110
|
officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
111
|
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
112
112
|
id: z.ZodString;
|
|
@@ -165,16 +165,13 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
165
165
|
lastName: string;
|
|
166
166
|
email: string;
|
|
167
167
|
createdAt: string;
|
|
168
|
-
updatedAt: string;
|
|
169
168
|
phoneNumbers: {
|
|
170
169
|
id: string;
|
|
171
170
|
phoneNumber: string;
|
|
172
171
|
isPrimary: boolean;
|
|
173
172
|
description?: string | null | undefined;
|
|
174
173
|
}[];
|
|
175
|
-
|
|
176
|
-
deletedAt?: string | null | undefined;
|
|
177
|
-
officeId?: string | null | undefined;
|
|
174
|
+
updatedAt: string;
|
|
178
175
|
office?: {
|
|
179
176
|
id: string;
|
|
180
177
|
name: string;
|
|
@@ -184,11 +181,14 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
184
181
|
lastName: string;
|
|
185
182
|
}[] | undefined;
|
|
186
183
|
} | null | undefined;
|
|
184
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
185
|
+
officeId?: string | null | undefined;
|
|
187
186
|
canImpersonateUsers?: {
|
|
188
187
|
id: string;
|
|
189
188
|
firstName: string;
|
|
190
189
|
lastName: string;
|
|
191
190
|
}[] | undefined;
|
|
191
|
+
deletedAt?: string | null | undefined;
|
|
192
192
|
}, {
|
|
193
193
|
status: "ACTIVE" | "INACTIVE";
|
|
194
194
|
id: string;
|
|
@@ -197,15 +197,6 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
197
197
|
email: string;
|
|
198
198
|
createdAt: string | Date;
|
|
199
199
|
updatedAt: string | Date;
|
|
200
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
201
|
-
phoneNumbers?: {
|
|
202
|
-
id: string;
|
|
203
|
-
phoneNumber: string;
|
|
204
|
-
description?: string | null | undefined;
|
|
205
|
-
isPrimary?: boolean | undefined;
|
|
206
|
-
}[] | undefined;
|
|
207
|
-
deletedAt?: string | Date | null | undefined;
|
|
208
|
-
officeId?: string | null | undefined;
|
|
209
200
|
office?: {
|
|
210
201
|
id: string;
|
|
211
202
|
name: string;
|
|
@@ -215,11 +206,20 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
215
206
|
lastName: string;
|
|
216
207
|
}[] | undefined;
|
|
217
208
|
} | null | undefined;
|
|
209
|
+
phoneNumbers?: {
|
|
210
|
+
id: string;
|
|
211
|
+
phoneNumber: string;
|
|
212
|
+
description?: string | null | undefined;
|
|
213
|
+
isPrimary?: boolean | undefined;
|
|
214
|
+
}[] | undefined;
|
|
215
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
216
|
+
officeId?: string | null | undefined;
|
|
218
217
|
canImpersonateUsers?: {
|
|
219
218
|
id: string;
|
|
220
219
|
firstName: string;
|
|
221
220
|
lastName: string;
|
|
222
221
|
}[] | undefined;
|
|
222
|
+
deletedAt?: string | Date | null | undefined;
|
|
223
223
|
}>;
|
|
224
224
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
225
225
|
id: z.ZodString;
|
|
@@ -249,16 +249,13 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
249
249
|
lastName: string;
|
|
250
250
|
email: string;
|
|
251
251
|
createdAt: string;
|
|
252
|
-
updatedAt: string;
|
|
253
252
|
phoneNumbers: {
|
|
254
253
|
id: string;
|
|
255
254
|
phoneNumber: string;
|
|
256
255
|
isPrimary: boolean;
|
|
257
256
|
description?: string | null | undefined;
|
|
258
257
|
}[];
|
|
259
|
-
|
|
260
|
-
deletedAt?: string | null | undefined;
|
|
261
|
-
officeId?: string | null | undefined;
|
|
258
|
+
updatedAt: string;
|
|
262
259
|
office?: {
|
|
263
260
|
id: string;
|
|
264
261
|
name: string;
|
|
@@ -268,11 +265,14 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
268
265
|
lastName: string;
|
|
269
266
|
}[] | undefined;
|
|
270
267
|
} | null | undefined;
|
|
268
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
269
|
+
officeId?: string | null | undefined;
|
|
271
270
|
canImpersonateUsers?: {
|
|
272
271
|
id: string;
|
|
273
272
|
firstName: string;
|
|
274
273
|
lastName: string;
|
|
275
274
|
}[] | undefined;
|
|
275
|
+
deletedAt?: string | null | undefined;
|
|
276
276
|
};
|
|
277
277
|
companyId?: string | null | undefined;
|
|
278
278
|
company?: {
|
|
@@ -298,15 +298,6 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
298
298
|
email: string;
|
|
299
299
|
createdAt: string | Date;
|
|
300
300
|
updatedAt: string | Date;
|
|
301
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
302
|
-
phoneNumbers?: {
|
|
303
|
-
id: string;
|
|
304
|
-
phoneNumber: string;
|
|
305
|
-
description?: string | null | undefined;
|
|
306
|
-
isPrimary?: boolean | undefined;
|
|
307
|
-
}[] | undefined;
|
|
308
|
-
deletedAt?: string | Date | null | undefined;
|
|
309
|
-
officeId?: string | null | undefined;
|
|
310
301
|
office?: {
|
|
311
302
|
id: string;
|
|
312
303
|
name: string;
|
|
@@ -316,11 +307,20 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
316
307
|
lastName: string;
|
|
317
308
|
}[] | undefined;
|
|
318
309
|
} | null | undefined;
|
|
310
|
+
phoneNumbers?: {
|
|
311
|
+
id: string;
|
|
312
|
+
phoneNumber: string;
|
|
313
|
+
description?: string | null | undefined;
|
|
314
|
+
isPrimary?: boolean | undefined;
|
|
315
|
+
}[] | undefined;
|
|
316
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
317
|
+
officeId?: string | null | undefined;
|
|
319
318
|
canImpersonateUsers?: {
|
|
320
319
|
id: string;
|
|
321
320
|
firstName: string;
|
|
322
321
|
lastName: string;
|
|
323
322
|
}[] | undefined;
|
|
323
|
+
deletedAt?: string | Date | null | undefined;
|
|
324
324
|
};
|
|
325
325
|
companyId?: string | null | undefined;
|
|
326
326
|
company?: {
|
|
@@ -376,15 +376,15 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
376
376
|
limit: number;
|
|
377
377
|
page: number;
|
|
378
378
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
379
|
-
agentId?: string | undefined;
|
|
380
379
|
companyId?: string | undefined;
|
|
380
|
+
agentId?: string | undefined;
|
|
381
381
|
leadDistributionConfigId?: string | undefined;
|
|
382
382
|
}, {
|
|
383
|
+
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
383
384
|
limit?: number | undefined;
|
|
384
385
|
page?: number | undefined;
|
|
385
|
-
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
386
|
-
agentId?: string | undefined;
|
|
387
386
|
companyId?: string | undefined;
|
|
387
|
+
agentId?: string | undefined;
|
|
388
388
|
leadDistributionConfigId?: string | undefined;
|
|
389
389
|
}>;
|
|
390
390
|
export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
@@ -432,7 +432,7 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
432
432
|
description?: string | null | undefined;
|
|
433
433
|
isPrimary?: boolean | undefined;
|
|
434
434
|
}>, "many">>>;
|
|
435
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
435
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
436
436
|
officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
437
437
|
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
438
438
|
id: z.ZodString;
|
|
@@ -491,16 +491,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
491
491
|
lastName: string;
|
|
492
492
|
email: string;
|
|
493
493
|
createdAt: string;
|
|
494
|
-
updatedAt: string;
|
|
495
494
|
phoneNumbers: {
|
|
496
495
|
id: string;
|
|
497
496
|
phoneNumber: string;
|
|
498
497
|
isPrimary: boolean;
|
|
499
498
|
description?: string | null | undefined;
|
|
500
499
|
}[];
|
|
501
|
-
|
|
502
|
-
deletedAt?: string | null | undefined;
|
|
503
|
-
officeId?: string | null | undefined;
|
|
500
|
+
updatedAt: string;
|
|
504
501
|
office?: {
|
|
505
502
|
id: string;
|
|
506
503
|
name: string;
|
|
@@ -510,11 +507,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
510
507
|
lastName: string;
|
|
511
508
|
}[] | undefined;
|
|
512
509
|
} | null | undefined;
|
|
510
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
511
|
+
officeId?: string | null | undefined;
|
|
513
512
|
canImpersonateUsers?: {
|
|
514
513
|
id: string;
|
|
515
514
|
firstName: string;
|
|
516
515
|
lastName: string;
|
|
517
516
|
}[] | undefined;
|
|
517
|
+
deletedAt?: string | null | undefined;
|
|
518
518
|
}, {
|
|
519
519
|
status: "ACTIVE" | "INACTIVE";
|
|
520
520
|
id: string;
|
|
@@ -523,15 +523,6 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
523
523
|
email: string;
|
|
524
524
|
createdAt: string | Date;
|
|
525
525
|
updatedAt: string | Date;
|
|
526
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
527
|
-
phoneNumbers?: {
|
|
528
|
-
id: string;
|
|
529
|
-
phoneNumber: string;
|
|
530
|
-
description?: string | null | undefined;
|
|
531
|
-
isPrimary?: boolean | undefined;
|
|
532
|
-
}[] | undefined;
|
|
533
|
-
deletedAt?: string | Date | null | undefined;
|
|
534
|
-
officeId?: string | null | undefined;
|
|
535
526
|
office?: {
|
|
536
527
|
id: string;
|
|
537
528
|
name: string;
|
|
@@ -541,11 +532,20 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
541
532
|
lastName: string;
|
|
542
533
|
}[] | undefined;
|
|
543
534
|
} | null | undefined;
|
|
535
|
+
phoneNumbers?: {
|
|
536
|
+
id: string;
|
|
537
|
+
phoneNumber: string;
|
|
538
|
+
description?: string | null | undefined;
|
|
539
|
+
isPrimary?: boolean | undefined;
|
|
540
|
+
}[] | undefined;
|
|
541
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
542
|
+
officeId?: string | null | undefined;
|
|
544
543
|
canImpersonateUsers?: {
|
|
545
544
|
id: string;
|
|
546
545
|
firstName: string;
|
|
547
546
|
lastName: string;
|
|
548
547
|
}[] | undefined;
|
|
548
|
+
deletedAt?: string | Date | null | undefined;
|
|
549
549
|
}>;
|
|
550
550
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
551
551
|
id: z.ZodString;
|
|
@@ -575,16 +575,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
575
575
|
lastName: string;
|
|
576
576
|
email: string;
|
|
577
577
|
createdAt: string;
|
|
578
|
-
updatedAt: string;
|
|
579
578
|
phoneNumbers: {
|
|
580
579
|
id: string;
|
|
581
580
|
phoneNumber: string;
|
|
582
581
|
isPrimary: boolean;
|
|
583
582
|
description?: string | null | undefined;
|
|
584
583
|
}[];
|
|
585
|
-
|
|
586
|
-
deletedAt?: string | null | undefined;
|
|
587
|
-
officeId?: string | null | undefined;
|
|
584
|
+
updatedAt: string;
|
|
588
585
|
office?: {
|
|
589
586
|
id: string;
|
|
590
587
|
name: string;
|
|
@@ -594,11 +591,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
594
591
|
lastName: string;
|
|
595
592
|
}[] | undefined;
|
|
596
593
|
} | null | undefined;
|
|
594
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
595
|
+
officeId?: string | null | undefined;
|
|
597
596
|
canImpersonateUsers?: {
|
|
598
597
|
id: string;
|
|
599
598
|
firstName: string;
|
|
600
599
|
lastName: string;
|
|
601
600
|
}[] | undefined;
|
|
601
|
+
deletedAt?: string | null | undefined;
|
|
602
602
|
};
|
|
603
603
|
companyId?: string | null | undefined;
|
|
604
604
|
company?: {
|
|
@@ -624,15 +624,6 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
624
624
|
email: string;
|
|
625
625
|
createdAt: string | Date;
|
|
626
626
|
updatedAt: string | Date;
|
|
627
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
628
|
-
phoneNumbers?: {
|
|
629
|
-
id: string;
|
|
630
|
-
phoneNumber: string;
|
|
631
|
-
description?: string | null | undefined;
|
|
632
|
-
isPrimary?: boolean | undefined;
|
|
633
|
-
}[] | undefined;
|
|
634
|
-
deletedAt?: string | Date | null | undefined;
|
|
635
|
-
officeId?: string | null | undefined;
|
|
636
627
|
office?: {
|
|
637
628
|
id: string;
|
|
638
629
|
name: string;
|
|
@@ -642,11 +633,20 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
642
633
|
lastName: string;
|
|
643
634
|
}[] | undefined;
|
|
644
635
|
} | null | undefined;
|
|
636
|
+
phoneNumbers?: {
|
|
637
|
+
id: string;
|
|
638
|
+
phoneNumber: string;
|
|
639
|
+
description?: string | null | undefined;
|
|
640
|
+
isPrimary?: boolean | undefined;
|
|
641
|
+
}[] | undefined;
|
|
642
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
643
|
+
officeId?: string | null | undefined;
|
|
645
644
|
canImpersonateUsers?: {
|
|
646
645
|
id: string;
|
|
647
646
|
firstName: string;
|
|
648
647
|
lastName: string;
|
|
649
648
|
}[] | undefined;
|
|
649
|
+
deletedAt?: string | Date | null | undefined;
|
|
650
650
|
};
|
|
651
651
|
companyId?: string | null | undefined;
|
|
652
652
|
company?: {
|
|
@@ -679,16 +679,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
679
679
|
lastName: string;
|
|
680
680
|
email: string;
|
|
681
681
|
createdAt: string;
|
|
682
|
-
updatedAt: string;
|
|
683
682
|
phoneNumbers: {
|
|
684
683
|
id: string;
|
|
685
684
|
phoneNumber: string;
|
|
686
685
|
isPrimary: boolean;
|
|
687
686
|
description?: string | null | undefined;
|
|
688
687
|
}[];
|
|
689
|
-
|
|
690
|
-
deletedAt?: string | null | undefined;
|
|
691
|
-
officeId?: string | null | undefined;
|
|
688
|
+
updatedAt: string;
|
|
692
689
|
office?: {
|
|
693
690
|
id: string;
|
|
694
691
|
name: string;
|
|
@@ -698,11 +695,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
698
695
|
lastName: string;
|
|
699
696
|
}[] | undefined;
|
|
700
697
|
} | null | undefined;
|
|
698
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
699
|
+
officeId?: string | null | undefined;
|
|
701
700
|
canImpersonateUsers?: {
|
|
702
701
|
id: string;
|
|
703
702
|
firstName: string;
|
|
704
703
|
lastName: string;
|
|
705
704
|
}[] | undefined;
|
|
705
|
+
deletedAt?: string | null | undefined;
|
|
706
706
|
};
|
|
707
707
|
companyId?: string | null | undefined;
|
|
708
708
|
company?: {
|
|
@@ -735,15 +735,6 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
735
735
|
email: string;
|
|
736
736
|
createdAt: string | Date;
|
|
737
737
|
updatedAt: string | Date;
|
|
738
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
739
|
-
phoneNumbers?: {
|
|
740
|
-
id: string;
|
|
741
|
-
phoneNumber: string;
|
|
742
|
-
description?: string | null | undefined;
|
|
743
|
-
isPrimary?: boolean | undefined;
|
|
744
|
-
}[] | undefined;
|
|
745
|
-
deletedAt?: string | Date | null | undefined;
|
|
746
|
-
officeId?: string | null | undefined;
|
|
747
738
|
office?: {
|
|
748
739
|
id: string;
|
|
749
740
|
name: string;
|
|
@@ -753,11 +744,20 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
753
744
|
lastName: string;
|
|
754
745
|
}[] | undefined;
|
|
755
746
|
} | null | undefined;
|
|
747
|
+
phoneNumbers?: {
|
|
748
|
+
id: string;
|
|
749
|
+
phoneNumber: string;
|
|
750
|
+
description?: string | null | undefined;
|
|
751
|
+
isPrimary?: boolean | undefined;
|
|
752
|
+
}[] | undefined;
|
|
753
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
754
|
+
officeId?: string | null | undefined;
|
|
756
755
|
canImpersonateUsers?: {
|
|
757
756
|
id: string;
|
|
758
757
|
firstName: string;
|
|
759
758
|
lastName: string;
|
|
760
759
|
}[] | undefined;
|
|
760
|
+
deletedAt?: string | Date | null | undefined;
|
|
761
761
|
};
|
|
762
762
|
companyId?: string | null | undefined;
|
|
763
763
|
company?: {
|
|
@@ -847,9 +847,6 @@ export type AgentLeadDistributionConfigRef = z.infer<typeof AgentLeadDistributio
|
|
|
847
847
|
export type BatchResult = z.infer<typeof BatchResultSchema>;
|
|
848
848
|
export declare const agentLeadDistributionContract: {
|
|
849
849
|
findAll: {
|
|
850
|
-
metadata: {
|
|
851
|
-
tags: string[];
|
|
852
|
-
};
|
|
853
850
|
query: z.ZodObject<{
|
|
854
851
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
855
852
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -862,17 +859,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
862
859
|
limit: number;
|
|
863
860
|
page: number;
|
|
864
861
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
865
|
-
agentId?: string | undefined;
|
|
866
862
|
companyId?: string | undefined;
|
|
863
|
+
agentId?: string | undefined;
|
|
867
864
|
leadDistributionConfigId?: string | undefined;
|
|
868
865
|
}, {
|
|
866
|
+
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
869
867
|
limit?: number | undefined;
|
|
870
868
|
page?: number | undefined;
|
|
871
|
-
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
872
|
-
agentId?: string | undefined;
|
|
873
869
|
companyId?: string | undefined;
|
|
870
|
+
agentId?: string | undefined;
|
|
874
871
|
leadDistributionConfigId?: string | undefined;
|
|
875
872
|
}>;
|
|
873
|
+
metadata: {
|
|
874
|
+
tags: string[];
|
|
875
|
+
};
|
|
876
876
|
summary: "List all agent lead distribution records";
|
|
877
877
|
method: "GET";
|
|
878
878
|
path: "/v2/agent-lead-distribution";
|
|
@@ -886,17 +886,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
886
886
|
path: z.ZodString;
|
|
887
887
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
888
888
|
}, "strip", z.ZodTypeAny, {
|
|
889
|
+
message: string;
|
|
889
890
|
code: string;
|
|
890
891
|
path: string;
|
|
891
|
-
message: string;
|
|
892
892
|
statusCode: number;
|
|
893
893
|
timestamp: string;
|
|
894
894
|
details?: unknown;
|
|
895
895
|
correlationId?: string | undefined;
|
|
896
896
|
}, {
|
|
897
|
+
message: string;
|
|
897
898
|
code: string;
|
|
898
899
|
path: string;
|
|
899
|
-
message: string;
|
|
900
900
|
statusCode: number;
|
|
901
901
|
timestamp: string;
|
|
902
902
|
details?: unknown;
|
|
@@ -911,17 +911,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
911
911
|
path: z.ZodString;
|
|
912
912
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
913
913
|
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
message: string;
|
|
914
915
|
code: string;
|
|
915
916
|
path: string;
|
|
916
|
-
message: string;
|
|
917
917
|
statusCode: number;
|
|
918
918
|
timestamp: string;
|
|
919
919
|
details?: unknown;
|
|
920
920
|
correlationId?: string | undefined;
|
|
921
921
|
}, {
|
|
922
|
+
message: string;
|
|
922
923
|
code: string;
|
|
923
924
|
path: string;
|
|
924
|
-
message: string;
|
|
925
925
|
statusCode: number;
|
|
926
926
|
timestamp: string;
|
|
927
927
|
details?: unknown;
|
|
@@ -936,17 +936,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
936
936
|
path: z.ZodString;
|
|
937
937
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
938
938
|
}, "strip", z.ZodTypeAny, {
|
|
939
|
+
message: string;
|
|
939
940
|
code: string;
|
|
940
941
|
path: string;
|
|
941
|
-
message: string;
|
|
942
942
|
statusCode: number;
|
|
943
943
|
timestamp: string;
|
|
944
944
|
details?: unknown;
|
|
945
945
|
correlationId?: string | undefined;
|
|
946
946
|
}, {
|
|
947
|
+
message: string;
|
|
947
948
|
code: string;
|
|
948
949
|
path: string;
|
|
949
|
-
message: string;
|
|
950
950
|
statusCode: number;
|
|
951
951
|
timestamp: string;
|
|
952
952
|
details?: unknown;
|
|
@@ -997,7 +997,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
997
997
|
description?: string | null | undefined;
|
|
998
998
|
isPrimary?: boolean | undefined;
|
|
999
999
|
}>, "many">>>;
|
|
1000
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
1000
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
1001
1001
|
officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1002
1002
|
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1003
1003
|
id: z.ZodString;
|
|
@@ -1056,16 +1056,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1056
1056
|
lastName: string;
|
|
1057
1057
|
email: string;
|
|
1058
1058
|
createdAt: string;
|
|
1059
|
-
updatedAt: string;
|
|
1060
1059
|
phoneNumbers: {
|
|
1061
1060
|
id: string;
|
|
1062
1061
|
phoneNumber: string;
|
|
1063
1062
|
isPrimary: boolean;
|
|
1064
1063
|
description?: string | null | undefined;
|
|
1065
1064
|
}[];
|
|
1066
|
-
|
|
1067
|
-
deletedAt?: string | null | undefined;
|
|
1068
|
-
officeId?: string | null | undefined;
|
|
1065
|
+
updatedAt: string;
|
|
1069
1066
|
office?: {
|
|
1070
1067
|
id: string;
|
|
1071
1068
|
name: string;
|
|
@@ -1075,11 +1072,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
1075
1072
|
lastName: string;
|
|
1076
1073
|
}[] | undefined;
|
|
1077
1074
|
} | null | undefined;
|
|
1075
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1076
|
+
officeId?: string | null | undefined;
|
|
1078
1077
|
canImpersonateUsers?: {
|
|
1079
1078
|
id: string;
|
|
1080
1079
|
firstName: string;
|
|
1081
1080
|
lastName: string;
|
|
1082
1081
|
}[] | undefined;
|
|
1082
|
+
deletedAt?: string | null | undefined;
|
|
1083
1083
|
}, {
|
|
1084
1084
|
status: "ACTIVE" | "INACTIVE";
|
|
1085
1085
|
id: string;
|
|
@@ -1088,15 +1088,6 @@ export declare const agentLeadDistributionContract: {
|
|
|
1088
1088
|
email: string;
|
|
1089
1089
|
createdAt: string | Date;
|
|
1090
1090
|
updatedAt: string | Date;
|
|
1091
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1092
|
-
phoneNumbers?: {
|
|
1093
|
-
id: string;
|
|
1094
|
-
phoneNumber: string;
|
|
1095
|
-
description?: string | null | undefined;
|
|
1096
|
-
isPrimary?: boolean | undefined;
|
|
1097
|
-
}[] | undefined;
|
|
1098
|
-
deletedAt?: string | Date | null | undefined;
|
|
1099
|
-
officeId?: string | null | undefined;
|
|
1100
1091
|
office?: {
|
|
1101
1092
|
id: string;
|
|
1102
1093
|
name: string;
|
|
@@ -1106,11 +1097,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1106
1097
|
lastName: string;
|
|
1107
1098
|
}[] | undefined;
|
|
1108
1099
|
} | null | undefined;
|
|
1100
|
+
phoneNumbers?: {
|
|
1101
|
+
id: string;
|
|
1102
|
+
phoneNumber: string;
|
|
1103
|
+
description?: string | null | undefined;
|
|
1104
|
+
isPrimary?: boolean | undefined;
|
|
1105
|
+
}[] | undefined;
|
|
1106
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1107
|
+
officeId?: string | null | undefined;
|
|
1109
1108
|
canImpersonateUsers?: {
|
|
1110
1109
|
id: string;
|
|
1111
1110
|
firstName: string;
|
|
1112
1111
|
lastName: string;
|
|
1113
1112
|
}[] | undefined;
|
|
1113
|
+
deletedAt?: string | Date | null | undefined;
|
|
1114
1114
|
}>;
|
|
1115
1115
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
1116
1116
|
id: z.ZodString;
|
|
@@ -1140,16 +1140,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1140
1140
|
lastName: string;
|
|
1141
1141
|
email: string;
|
|
1142
1142
|
createdAt: string;
|
|
1143
|
-
updatedAt: string;
|
|
1144
1143
|
phoneNumbers: {
|
|
1145
1144
|
id: string;
|
|
1146
1145
|
phoneNumber: string;
|
|
1147
1146
|
isPrimary: boolean;
|
|
1148
1147
|
description?: string | null | undefined;
|
|
1149
1148
|
}[];
|
|
1150
|
-
|
|
1151
|
-
deletedAt?: string | null | undefined;
|
|
1152
|
-
officeId?: string | null | undefined;
|
|
1149
|
+
updatedAt: string;
|
|
1153
1150
|
office?: {
|
|
1154
1151
|
id: string;
|
|
1155
1152
|
name: string;
|
|
@@ -1159,11 +1156,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
1159
1156
|
lastName: string;
|
|
1160
1157
|
}[] | undefined;
|
|
1161
1158
|
} | null | undefined;
|
|
1159
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1160
|
+
officeId?: string | null | undefined;
|
|
1162
1161
|
canImpersonateUsers?: {
|
|
1163
1162
|
id: string;
|
|
1164
1163
|
firstName: string;
|
|
1165
1164
|
lastName: string;
|
|
1166
1165
|
}[] | undefined;
|
|
1166
|
+
deletedAt?: string | null | undefined;
|
|
1167
1167
|
};
|
|
1168
1168
|
companyId?: string | null | undefined;
|
|
1169
1169
|
company?: {
|
|
@@ -1189,15 +1189,6 @@ export declare const agentLeadDistributionContract: {
|
|
|
1189
1189
|
email: string;
|
|
1190
1190
|
createdAt: string | Date;
|
|
1191
1191
|
updatedAt: string | Date;
|
|
1192
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1193
|
-
phoneNumbers?: {
|
|
1194
|
-
id: string;
|
|
1195
|
-
phoneNumber: string;
|
|
1196
|
-
description?: string | null | undefined;
|
|
1197
|
-
isPrimary?: boolean | undefined;
|
|
1198
|
-
}[] | undefined;
|
|
1199
|
-
deletedAt?: string | Date | null | undefined;
|
|
1200
|
-
officeId?: string | null | undefined;
|
|
1201
1192
|
office?: {
|
|
1202
1193
|
id: string;
|
|
1203
1194
|
name: string;
|
|
@@ -1207,11 +1198,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1207
1198
|
lastName: string;
|
|
1208
1199
|
}[] | undefined;
|
|
1209
1200
|
} | null | undefined;
|
|
1201
|
+
phoneNumbers?: {
|
|
1202
|
+
id: string;
|
|
1203
|
+
phoneNumber: string;
|
|
1204
|
+
description?: string | null | undefined;
|
|
1205
|
+
isPrimary?: boolean | undefined;
|
|
1206
|
+
}[] | undefined;
|
|
1207
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1208
|
+
officeId?: string | null | undefined;
|
|
1210
1209
|
canImpersonateUsers?: {
|
|
1211
1210
|
id: string;
|
|
1212
1211
|
firstName: string;
|
|
1213
1212
|
lastName: string;
|
|
1214
1213
|
}[] | undefined;
|
|
1214
|
+
deletedAt?: string | Date | null | undefined;
|
|
1215
1215
|
};
|
|
1216
1216
|
companyId?: string | null | undefined;
|
|
1217
1217
|
company?: {
|
|
@@ -1244,16 +1244,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1244
1244
|
lastName: string;
|
|
1245
1245
|
email: string;
|
|
1246
1246
|
createdAt: string;
|
|
1247
|
-
updatedAt: string;
|
|
1248
1247
|
phoneNumbers: {
|
|
1249
1248
|
id: string;
|
|
1250
1249
|
phoneNumber: string;
|
|
1251
1250
|
isPrimary: boolean;
|
|
1252
1251
|
description?: string | null | undefined;
|
|
1253
1252
|
}[];
|
|
1254
|
-
|
|
1255
|
-
deletedAt?: string | null | undefined;
|
|
1256
|
-
officeId?: string | null | undefined;
|
|
1253
|
+
updatedAt: string;
|
|
1257
1254
|
office?: {
|
|
1258
1255
|
id: string;
|
|
1259
1256
|
name: string;
|
|
@@ -1263,11 +1260,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
1263
1260
|
lastName: string;
|
|
1264
1261
|
}[] | undefined;
|
|
1265
1262
|
} | null | undefined;
|
|
1263
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1264
|
+
officeId?: string | null | undefined;
|
|
1266
1265
|
canImpersonateUsers?: {
|
|
1267
1266
|
id: string;
|
|
1268
1267
|
firstName: string;
|
|
1269
1268
|
lastName: string;
|
|
1270
1269
|
}[] | undefined;
|
|
1270
|
+
deletedAt?: string | null | undefined;
|
|
1271
1271
|
};
|
|
1272
1272
|
companyId?: string | null | undefined;
|
|
1273
1273
|
company?: {
|
|
@@ -1300,15 +1300,6 @@ export declare const agentLeadDistributionContract: {
|
|
|
1300
1300
|
email: string;
|
|
1301
1301
|
createdAt: string | Date;
|
|
1302
1302
|
updatedAt: string | Date;
|
|
1303
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1304
|
-
phoneNumbers?: {
|
|
1305
|
-
id: string;
|
|
1306
|
-
phoneNumber: string;
|
|
1307
|
-
description?: string | null | undefined;
|
|
1308
|
-
isPrimary?: boolean | undefined;
|
|
1309
|
-
}[] | undefined;
|
|
1310
|
-
deletedAt?: string | Date | null | undefined;
|
|
1311
|
-
officeId?: string | null | undefined;
|
|
1312
1303
|
office?: {
|
|
1313
1304
|
id: string;
|
|
1314
1305
|
name: string;
|
|
@@ -1318,11 +1309,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1318
1309
|
lastName: string;
|
|
1319
1310
|
}[] | undefined;
|
|
1320
1311
|
} | null | undefined;
|
|
1312
|
+
phoneNumbers?: {
|
|
1313
|
+
id: string;
|
|
1314
|
+
phoneNumber: string;
|
|
1315
|
+
description?: string | null | undefined;
|
|
1316
|
+
isPrimary?: boolean | undefined;
|
|
1317
|
+
}[] | undefined;
|
|
1318
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1319
|
+
officeId?: string | null | undefined;
|
|
1321
1320
|
canImpersonateUsers?: {
|
|
1322
1321
|
id: string;
|
|
1323
1322
|
firstName: string;
|
|
1324
1323
|
lastName: string;
|
|
1325
1324
|
}[] | undefined;
|
|
1325
|
+
deletedAt?: string | Date | null | undefined;
|
|
1326
1326
|
};
|
|
1327
1327
|
companyId?: string | null | undefined;
|
|
1328
1328
|
company?: {
|
|
@@ -1351,17 +1351,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1351
1351
|
path: z.ZodString;
|
|
1352
1352
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1353
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1354
|
+
message: string;
|
|
1354
1355
|
code: string;
|
|
1355
1356
|
path: string;
|
|
1356
|
-
message: string;
|
|
1357
1357
|
statusCode: number;
|
|
1358
1358
|
timestamp: string;
|
|
1359
1359
|
details?: unknown;
|
|
1360
1360
|
correlationId?: string | undefined;
|
|
1361
1361
|
}, {
|
|
1362
|
+
message: string;
|
|
1362
1363
|
code: string;
|
|
1363
1364
|
path: string;
|
|
1364
|
-
message: string;
|
|
1365
1365
|
statusCode: number;
|
|
1366
1366
|
timestamp: string;
|
|
1367
1367
|
details?: unknown;
|
|
@@ -1393,17 +1393,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1393
1393
|
path: z.ZodString;
|
|
1394
1394
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1395
1395
|
}, "strip", z.ZodTypeAny, {
|
|
1396
|
+
message: string;
|
|
1396
1397
|
code: string;
|
|
1397
1398
|
path: string;
|
|
1398
|
-
message: string;
|
|
1399
1399
|
statusCode: number;
|
|
1400
1400
|
timestamp: string;
|
|
1401
1401
|
details?: unknown;
|
|
1402
1402
|
correlationId?: string | undefined;
|
|
1403
1403
|
}, {
|
|
1404
|
+
message: string;
|
|
1404
1405
|
code: string;
|
|
1405
1406
|
path: string;
|
|
1406
|
-
message: string;
|
|
1407
1407
|
statusCode: number;
|
|
1408
1408
|
timestamp: string;
|
|
1409
1409
|
details?: unknown;
|
|
@@ -1418,17 +1418,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1418
1418
|
path: z.ZodString;
|
|
1419
1419
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1420
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1421
|
+
message: string;
|
|
1421
1422
|
code: string;
|
|
1422
1423
|
path: string;
|
|
1423
|
-
message: string;
|
|
1424
1424
|
statusCode: number;
|
|
1425
1425
|
timestamp: string;
|
|
1426
1426
|
details?: unknown;
|
|
1427
1427
|
correlationId?: string | undefined;
|
|
1428
1428
|
}, {
|
|
1429
|
+
message: string;
|
|
1429
1430
|
code: string;
|
|
1430
1431
|
path: string;
|
|
1431
|
-
message: string;
|
|
1432
1432
|
statusCode: number;
|
|
1433
1433
|
timestamp: string;
|
|
1434
1434
|
details?: unknown;
|
|
@@ -1443,17 +1443,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1443
1443
|
path: z.ZodString;
|
|
1444
1444
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
message: string;
|
|
1446
1447
|
code: string;
|
|
1447
1448
|
path: string;
|
|
1448
|
-
message: string;
|
|
1449
1449
|
statusCode: number;
|
|
1450
1450
|
timestamp: string;
|
|
1451
1451
|
details?: unknown;
|
|
1452
1452
|
correlationId?: string | undefined;
|
|
1453
1453
|
}, {
|
|
1454
|
+
message: string;
|
|
1454
1455
|
code: string;
|
|
1455
1456
|
path: string;
|
|
1456
|
-
message: string;
|
|
1457
1457
|
statusCode: number;
|
|
1458
1458
|
timestamp: string;
|
|
1459
1459
|
details?: unknown;
|
|
@@ -1503,7 +1503,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
1503
1503
|
description?: string | null | undefined;
|
|
1504
1504
|
isPrimary?: boolean | undefined;
|
|
1505
1505
|
}>, "many">>>;
|
|
1506
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
1506
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
1507
1507
|
officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1508
1508
|
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1509
1509
|
id: z.ZodString;
|
|
@@ -1562,16 +1562,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1562
1562
|
lastName: string;
|
|
1563
1563
|
email: string;
|
|
1564
1564
|
createdAt: string;
|
|
1565
|
-
updatedAt: string;
|
|
1566
1565
|
phoneNumbers: {
|
|
1567
1566
|
id: string;
|
|
1568
1567
|
phoneNumber: string;
|
|
1569
1568
|
isPrimary: boolean;
|
|
1570
1569
|
description?: string | null | undefined;
|
|
1571
1570
|
}[];
|
|
1572
|
-
|
|
1573
|
-
deletedAt?: string | null | undefined;
|
|
1574
|
-
officeId?: string | null | undefined;
|
|
1571
|
+
updatedAt: string;
|
|
1575
1572
|
office?: {
|
|
1576
1573
|
id: string;
|
|
1577
1574
|
name: string;
|
|
@@ -1581,11 +1578,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
1581
1578
|
lastName: string;
|
|
1582
1579
|
}[] | undefined;
|
|
1583
1580
|
} | null | undefined;
|
|
1581
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1582
|
+
officeId?: string | null | undefined;
|
|
1584
1583
|
canImpersonateUsers?: {
|
|
1585
1584
|
id: string;
|
|
1586
1585
|
firstName: string;
|
|
1587
1586
|
lastName: string;
|
|
1588
1587
|
}[] | undefined;
|
|
1588
|
+
deletedAt?: string | null | undefined;
|
|
1589
1589
|
}, {
|
|
1590
1590
|
status: "ACTIVE" | "INACTIVE";
|
|
1591
1591
|
id: string;
|
|
@@ -1594,15 +1594,6 @@ export declare const agentLeadDistributionContract: {
|
|
|
1594
1594
|
email: string;
|
|
1595
1595
|
createdAt: string | Date;
|
|
1596
1596
|
updatedAt: string | Date;
|
|
1597
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1598
|
-
phoneNumbers?: {
|
|
1599
|
-
id: string;
|
|
1600
|
-
phoneNumber: string;
|
|
1601
|
-
description?: string | null | undefined;
|
|
1602
|
-
isPrimary?: boolean | undefined;
|
|
1603
|
-
}[] | undefined;
|
|
1604
|
-
deletedAt?: string | Date | null | undefined;
|
|
1605
|
-
officeId?: string | null | undefined;
|
|
1606
1597
|
office?: {
|
|
1607
1598
|
id: string;
|
|
1608
1599
|
name: string;
|
|
@@ -1612,11 +1603,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1612
1603
|
lastName: string;
|
|
1613
1604
|
}[] | undefined;
|
|
1614
1605
|
} | null | undefined;
|
|
1606
|
+
phoneNumbers?: {
|
|
1607
|
+
id: string;
|
|
1608
|
+
phoneNumber: string;
|
|
1609
|
+
description?: string | null | undefined;
|
|
1610
|
+
isPrimary?: boolean | undefined;
|
|
1611
|
+
}[] | undefined;
|
|
1612
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1613
|
+
officeId?: string | null | undefined;
|
|
1615
1614
|
canImpersonateUsers?: {
|
|
1616
1615
|
id: string;
|
|
1617
1616
|
firstName: string;
|
|
1618
1617
|
lastName: string;
|
|
1619
1618
|
}[] | undefined;
|
|
1619
|
+
deletedAt?: string | Date | null | undefined;
|
|
1620
1620
|
}>;
|
|
1621
1621
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
1622
1622
|
id: z.ZodString;
|
|
@@ -1646,16 +1646,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1646
1646
|
lastName: string;
|
|
1647
1647
|
email: string;
|
|
1648
1648
|
createdAt: string;
|
|
1649
|
-
updatedAt: string;
|
|
1650
1649
|
phoneNumbers: {
|
|
1651
1650
|
id: string;
|
|
1652
1651
|
phoneNumber: string;
|
|
1653
1652
|
isPrimary: boolean;
|
|
1654
1653
|
description?: string | null | undefined;
|
|
1655
1654
|
}[];
|
|
1656
|
-
|
|
1657
|
-
deletedAt?: string | null | undefined;
|
|
1658
|
-
officeId?: string | null | undefined;
|
|
1655
|
+
updatedAt: string;
|
|
1659
1656
|
office?: {
|
|
1660
1657
|
id: string;
|
|
1661
1658
|
name: string;
|
|
@@ -1665,11 +1662,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
1665
1662
|
lastName: string;
|
|
1666
1663
|
}[] | undefined;
|
|
1667
1664
|
} | null | undefined;
|
|
1665
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1666
|
+
officeId?: string | null | undefined;
|
|
1668
1667
|
canImpersonateUsers?: {
|
|
1669
1668
|
id: string;
|
|
1670
1669
|
firstName: string;
|
|
1671
1670
|
lastName: string;
|
|
1672
1671
|
}[] | undefined;
|
|
1672
|
+
deletedAt?: string | null | undefined;
|
|
1673
1673
|
};
|
|
1674
1674
|
companyId?: string | null | undefined;
|
|
1675
1675
|
company?: {
|
|
@@ -1695,15 +1695,6 @@ export declare const agentLeadDistributionContract: {
|
|
|
1695
1695
|
email: string;
|
|
1696
1696
|
createdAt: string | Date;
|
|
1697
1697
|
updatedAt: string | Date;
|
|
1698
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1699
|
-
phoneNumbers?: {
|
|
1700
|
-
id: string;
|
|
1701
|
-
phoneNumber: string;
|
|
1702
|
-
description?: string | null | undefined;
|
|
1703
|
-
isPrimary?: boolean | undefined;
|
|
1704
|
-
}[] | undefined;
|
|
1705
|
-
deletedAt?: string | Date | null | undefined;
|
|
1706
|
-
officeId?: string | null | undefined;
|
|
1707
1698
|
office?: {
|
|
1708
1699
|
id: string;
|
|
1709
1700
|
name: string;
|
|
@@ -1713,11 +1704,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1713
1704
|
lastName: string;
|
|
1714
1705
|
}[] | undefined;
|
|
1715
1706
|
} | null | undefined;
|
|
1707
|
+
phoneNumbers?: {
|
|
1708
|
+
id: string;
|
|
1709
|
+
phoneNumber: string;
|
|
1710
|
+
description?: string | null | undefined;
|
|
1711
|
+
isPrimary?: boolean | undefined;
|
|
1712
|
+
}[] | undefined;
|
|
1713
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1714
|
+
officeId?: string | null | undefined;
|
|
1716
1715
|
canImpersonateUsers?: {
|
|
1717
1716
|
id: string;
|
|
1718
1717
|
firstName: string;
|
|
1719
1718
|
lastName: string;
|
|
1720
1719
|
}[] | undefined;
|
|
1720
|
+
deletedAt?: string | Date | null | undefined;
|
|
1721
1721
|
};
|
|
1722
1722
|
companyId?: string | null | undefined;
|
|
1723
1723
|
company?: {
|
|
@@ -1741,17 +1741,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1741
1741
|
path: z.ZodString;
|
|
1742
1742
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1743
1743
|
}, "strip", z.ZodTypeAny, {
|
|
1744
|
+
message: string;
|
|
1744
1745
|
code: string;
|
|
1745
1746
|
path: string;
|
|
1746
|
-
message: string;
|
|
1747
1747
|
statusCode: number;
|
|
1748
1748
|
timestamp: string;
|
|
1749
1749
|
details?: unknown;
|
|
1750
1750
|
correlationId?: string | undefined;
|
|
1751
1751
|
}, {
|
|
1752
|
+
message: string;
|
|
1752
1753
|
code: string;
|
|
1753
1754
|
path: string;
|
|
1754
|
-
message: string;
|
|
1755
1755
|
statusCode: number;
|
|
1756
1756
|
timestamp: string;
|
|
1757
1757
|
details?: unknown;
|
|
@@ -1766,17 +1766,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1766
1766
|
path: z.ZodString;
|
|
1767
1767
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1768
1768
|
}, "strip", z.ZodTypeAny, {
|
|
1769
|
+
message: string;
|
|
1769
1770
|
code: string;
|
|
1770
1771
|
path: string;
|
|
1771
|
-
message: string;
|
|
1772
1772
|
statusCode: number;
|
|
1773
1773
|
timestamp: string;
|
|
1774
1774
|
details?: unknown;
|
|
1775
1775
|
correlationId?: string | undefined;
|
|
1776
1776
|
}, {
|
|
1777
|
+
message: string;
|
|
1777
1778
|
code: string;
|
|
1778
1779
|
path: string;
|
|
1779
|
-
message: string;
|
|
1780
1780
|
statusCode: number;
|
|
1781
1781
|
timestamp: string;
|
|
1782
1782
|
details?: unknown;
|
|
@@ -1817,17 +1817,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1817
1817
|
path: z.ZodString;
|
|
1818
1818
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1819
1819
|
}, "strip", z.ZodTypeAny, {
|
|
1820
|
+
message: string;
|
|
1820
1821
|
code: string;
|
|
1821
1822
|
path: string;
|
|
1822
|
-
message: string;
|
|
1823
1823
|
statusCode: number;
|
|
1824
1824
|
timestamp: string;
|
|
1825
1825
|
details?: unknown;
|
|
1826
1826
|
correlationId?: string | undefined;
|
|
1827
1827
|
}, {
|
|
1828
|
+
message: string;
|
|
1828
1829
|
code: string;
|
|
1829
1830
|
path: string;
|
|
1830
|
-
message: string;
|
|
1831
1831
|
statusCode: number;
|
|
1832
1832
|
timestamp: string;
|
|
1833
1833
|
details?: unknown;
|
|
@@ -1842,17 +1842,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1842
1842
|
path: z.ZodString;
|
|
1843
1843
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1844
1844
|
}, "strip", z.ZodTypeAny, {
|
|
1845
|
+
message: string;
|
|
1845
1846
|
code: string;
|
|
1846
1847
|
path: string;
|
|
1847
|
-
message: string;
|
|
1848
1848
|
statusCode: number;
|
|
1849
1849
|
timestamp: string;
|
|
1850
1850
|
details?: unknown;
|
|
1851
1851
|
correlationId?: string | undefined;
|
|
1852
1852
|
}, {
|
|
1853
|
+
message: string;
|
|
1853
1854
|
code: string;
|
|
1854
1855
|
path: string;
|
|
1855
|
-
message: string;
|
|
1856
1856
|
statusCode: number;
|
|
1857
1857
|
timestamp: string;
|
|
1858
1858
|
details?: unknown;
|
|
@@ -1867,17 +1867,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1867
1867
|
path: z.ZodString;
|
|
1868
1868
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1869
1869
|
}, "strip", z.ZodTypeAny, {
|
|
1870
|
+
message: string;
|
|
1870
1871
|
code: string;
|
|
1871
1872
|
path: string;
|
|
1872
|
-
message: string;
|
|
1873
1873
|
statusCode: number;
|
|
1874
1874
|
timestamp: string;
|
|
1875
1875
|
details?: unknown;
|
|
1876
1876
|
correlationId?: string | undefined;
|
|
1877
1877
|
}, {
|
|
1878
|
+
message: string;
|
|
1878
1879
|
code: string;
|
|
1879
1880
|
path: string;
|
|
1880
|
-
message: string;
|
|
1881
1881
|
statusCode: number;
|
|
1882
1882
|
timestamp: string;
|
|
1883
1883
|
details?: unknown;
|
|
@@ -1936,17 +1936,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1936
1936
|
path: z.ZodString;
|
|
1937
1937
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1938
1938
|
}, "strip", z.ZodTypeAny, {
|
|
1939
|
+
message: string;
|
|
1939
1940
|
code: string;
|
|
1940
1941
|
path: string;
|
|
1941
|
-
message: string;
|
|
1942
1942
|
statusCode: number;
|
|
1943
1943
|
timestamp: string;
|
|
1944
1944
|
details?: unknown;
|
|
1945
1945
|
correlationId?: string | undefined;
|
|
1946
1946
|
}, {
|
|
1947
|
+
message: string;
|
|
1947
1948
|
code: string;
|
|
1948
1949
|
path: string;
|
|
1949
|
-
message: string;
|
|
1950
1950
|
statusCode: number;
|
|
1951
1951
|
timestamp: string;
|
|
1952
1952
|
details?: unknown;
|
|
@@ -1991,17 +1991,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1991
1991
|
path: z.ZodString;
|
|
1992
1992
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1993
1993
|
}, "strip", z.ZodTypeAny, {
|
|
1994
|
+
message: string;
|
|
1994
1995
|
code: string;
|
|
1995
1996
|
path: string;
|
|
1996
|
-
message: string;
|
|
1997
1997
|
statusCode: number;
|
|
1998
1998
|
timestamp: string;
|
|
1999
1999
|
details?: unknown;
|
|
2000
2000
|
correlationId?: string | undefined;
|
|
2001
2001
|
}, {
|
|
2002
|
+
message: string;
|
|
2002
2003
|
code: string;
|
|
2003
2004
|
path: string;
|
|
2004
|
-
message: string;
|
|
2005
2005
|
statusCode: number;
|
|
2006
2006
|
timestamp: string;
|
|
2007
2007
|
details?: unknown;
|
|
@@ -2016,17 +2016,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2016
2016
|
path: z.ZodString;
|
|
2017
2017
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2018
2018
|
}, "strip", z.ZodTypeAny, {
|
|
2019
|
+
message: string;
|
|
2019
2020
|
code: string;
|
|
2020
2021
|
path: string;
|
|
2021
|
-
message: string;
|
|
2022
2022
|
statusCode: number;
|
|
2023
2023
|
timestamp: string;
|
|
2024
2024
|
details?: unknown;
|
|
2025
2025
|
correlationId?: string | undefined;
|
|
2026
2026
|
}, {
|
|
2027
|
+
message: string;
|
|
2027
2028
|
code: string;
|
|
2028
2029
|
path: string;
|
|
2029
|
-
message: string;
|
|
2030
2030
|
statusCode: number;
|
|
2031
2031
|
timestamp: string;
|
|
2032
2032
|
details?: unknown;
|
|
@@ -2041,17 +2041,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2041
2041
|
path: z.ZodString;
|
|
2042
2042
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2043
2043
|
}, "strip", z.ZodTypeAny, {
|
|
2044
|
+
message: string;
|
|
2044
2045
|
code: string;
|
|
2045
2046
|
path: string;
|
|
2046
|
-
message: string;
|
|
2047
2047
|
statusCode: number;
|
|
2048
2048
|
timestamp: string;
|
|
2049
2049
|
details?: unknown;
|
|
2050
2050
|
correlationId?: string | undefined;
|
|
2051
2051
|
}, {
|
|
2052
|
+
message: string;
|
|
2052
2053
|
code: string;
|
|
2053
2054
|
path: string;
|
|
2054
|
-
message: string;
|
|
2055
2055
|
statusCode: number;
|
|
2056
2056
|
timestamp: string;
|
|
2057
2057
|
details?: unknown;
|
|
@@ -2110,17 +2110,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2110
2110
|
path: z.ZodString;
|
|
2111
2111
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2112
2112
|
}, "strip", z.ZodTypeAny, {
|
|
2113
|
+
message: string;
|
|
2113
2114
|
code: string;
|
|
2114
2115
|
path: string;
|
|
2115
|
-
message: string;
|
|
2116
2116
|
statusCode: number;
|
|
2117
2117
|
timestamp: string;
|
|
2118
2118
|
details?: unknown;
|
|
2119
2119
|
correlationId?: string | undefined;
|
|
2120
2120
|
}, {
|
|
2121
|
+
message: string;
|
|
2121
2122
|
code: string;
|
|
2122
2123
|
path: string;
|
|
2123
|
-
message: string;
|
|
2124
2124
|
statusCode: number;
|
|
2125
2125
|
timestamp: string;
|
|
2126
2126
|
details?: unknown;
|
|
@@ -2135,17 +2135,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2135
2135
|
path: z.ZodString;
|
|
2136
2136
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2137
2137
|
}, "strip", z.ZodTypeAny, {
|
|
2138
|
+
message: string;
|
|
2138
2139
|
code: string;
|
|
2139
2140
|
path: string;
|
|
2140
|
-
message: string;
|
|
2141
2141
|
statusCode: number;
|
|
2142
2142
|
timestamp: string;
|
|
2143
2143
|
details?: unknown;
|
|
2144
2144
|
correlationId?: string | undefined;
|
|
2145
2145
|
}, {
|
|
2146
|
+
message: string;
|
|
2146
2147
|
code: string;
|
|
2147
2148
|
path: string;
|
|
2148
|
-
message: string;
|
|
2149
2149
|
statusCode: number;
|
|
2150
2150
|
timestamp: string;
|
|
2151
2151
|
details?: unknown;
|
|
@@ -2178,17 +2178,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2178
2178
|
path: z.ZodString;
|
|
2179
2179
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2180
2180
|
}, "strip", z.ZodTypeAny, {
|
|
2181
|
+
message: string;
|
|
2181
2182
|
code: string;
|
|
2182
2183
|
path: string;
|
|
2183
|
-
message: string;
|
|
2184
2184
|
statusCode: number;
|
|
2185
2185
|
timestamp: string;
|
|
2186
2186
|
details?: unknown;
|
|
2187
2187
|
correlationId?: string | undefined;
|
|
2188
2188
|
}, {
|
|
2189
|
+
message: string;
|
|
2189
2190
|
code: string;
|
|
2190
2191
|
path: string;
|
|
2191
|
-
message: string;
|
|
2192
2192
|
statusCode: number;
|
|
2193
2193
|
timestamp: string;
|
|
2194
2194
|
details?: unknown;
|
|
@@ -2203,17 +2203,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2203
2203
|
path: z.ZodString;
|
|
2204
2204
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2205
2205
|
}, "strip", z.ZodTypeAny, {
|
|
2206
|
+
message: string;
|
|
2206
2207
|
code: string;
|
|
2207
2208
|
path: string;
|
|
2208
|
-
message: string;
|
|
2209
2209
|
statusCode: number;
|
|
2210
2210
|
timestamp: string;
|
|
2211
2211
|
details?: unknown;
|
|
2212
2212
|
correlationId?: string | undefined;
|
|
2213
2213
|
}, {
|
|
2214
|
+
message: string;
|
|
2214
2215
|
code: string;
|
|
2215
2216
|
path: string;
|
|
2216
|
-
message: string;
|
|
2217
2217
|
statusCode: number;
|
|
2218
2218
|
timestamp: string;
|
|
2219
2219
|
details?: unknown;
|
|
@@ -2228,17 +2228,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2228
2228
|
path: z.ZodString;
|
|
2229
2229
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2230
2230
|
}, "strip", z.ZodTypeAny, {
|
|
2231
|
+
message: string;
|
|
2231
2232
|
code: string;
|
|
2232
2233
|
path: string;
|
|
2233
|
-
message: string;
|
|
2234
2234
|
statusCode: number;
|
|
2235
2235
|
timestamp: string;
|
|
2236
2236
|
details?: unknown;
|
|
2237
2237
|
correlationId?: string | undefined;
|
|
2238
2238
|
}, {
|
|
2239
|
+
message: string;
|
|
2239
2240
|
code: string;
|
|
2240
2241
|
path: string;
|
|
2241
|
-
message: string;
|
|
2242
2242
|
statusCode: number;
|
|
2243
2243
|
timestamp: string;
|
|
2244
2244
|
details?: unknown;
|
|
@@ -2254,17 +2254,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2254
2254
|
path: z.ZodString;
|
|
2255
2255
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2256
2256
|
}, "strip", z.ZodTypeAny, {
|
|
2257
|
+
message: string;
|
|
2257
2258
|
code: string;
|
|
2258
2259
|
path: string;
|
|
2259
|
-
message: string;
|
|
2260
2260
|
statusCode: number;
|
|
2261
2261
|
timestamp: string;
|
|
2262
2262
|
details?: unknown;
|
|
2263
2263
|
correlationId?: string | undefined;
|
|
2264
2264
|
}, {
|
|
2265
|
+
message: string;
|
|
2265
2266
|
code: string;
|
|
2266
2267
|
path: string;
|
|
2267
|
-
message: string;
|
|
2268
2268
|
statusCode: number;
|
|
2269
2269
|
timestamp: string;
|
|
2270
2270
|
details?: unknown;
|
|
@@ -2279,17 +2279,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2279
2279
|
path: z.ZodString;
|
|
2280
2280
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2281
2281
|
}, "strip", z.ZodTypeAny, {
|
|
2282
|
+
message: string;
|
|
2282
2283
|
code: string;
|
|
2283
2284
|
path: string;
|
|
2284
|
-
message: string;
|
|
2285
2285
|
statusCode: number;
|
|
2286
2286
|
timestamp: string;
|
|
2287
2287
|
details?: unknown;
|
|
2288
2288
|
correlationId?: string | undefined;
|
|
2289
2289
|
}, {
|
|
2290
|
+
message: string;
|
|
2290
2291
|
code: string;
|
|
2291
2292
|
path: string;
|
|
2292
|
-
message: string;
|
|
2293
2293
|
statusCode: number;
|
|
2294
2294
|
timestamp: string;
|
|
2295
2295
|
details?: unknown;
|
|
@@ -2358,17 +2358,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2358
2358
|
path: z.ZodString;
|
|
2359
2359
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2360
2360
|
}, "strip", z.ZodTypeAny, {
|
|
2361
|
+
message: string;
|
|
2361
2362
|
code: string;
|
|
2362
2363
|
path: string;
|
|
2363
|
-
message: string;
|
|
2364
2364
|
statusCode: number;
|
|
2365
2365
|
timestamp: string;
|
|
2366
2366
|
details?: unknown;
|
|
2367
2367
|
correlationId?: string | undefined;
|
|
2368
2368
|
}, {
|
|
2369
|
+
message: string;
|
|
2369
2370
|
code: string;
|
|
2370
2371
|
path: string;
|
|
2371
|
-
message: string;
|
|
2372
2372
|
statusCode: number;
|
|
2373
2373
|
timestamp: string;
|
|
2374
2374
|
details?: unknown;
|
|
@@ -2383,17 +2383,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2383
2383
|
path: z.ZodString;
|
|
2384
2384
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2385
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2386
|
+
message: string;
|
|
2386
2387
|
code: string;
|
|
2387
2388
|
path: string;
|
|
2388
|
-
message: string;
|
|
2389
2389
|
statusCode: number;
|
|
2390
2390
|
timestamp: string;
|
|
2391
2391
|
details?: unknown;
|
|
2392
2392
|
correlationId?: string | undefined;
|
|
2393
2393
|
}, {
|
|
2394
|
+
message: string;
|
|
2394
2395
|
code: string;
|
|
2395
2396
|
path: string;
|
|
2396
|
-
message: string;
|
|
2397
2397
|
statusCode: number;
|
|
2398
2398
|
timestamp: string;
|
|
2399
2399
|
details?: unknown;
|
|
@@ -2408,17 +2408,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2408
2408
|
path: z.ZodString;
|
|
2409
2409
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2410
2410
|
}, "strip", z.ZodTypeAny, {
|
|
2411
|
+
message: string;
|
|
2411
2412
|
code: string;
|
|
2412
2413
|
path: string;
|
|
2413
|
-
message: string;
|
|
2414
2414
|
statusCode: number;
|
|
2415
2415
|
timestamp: string;
|
|
2416
2416
|
details?: unknown;
|
|
2417
2417
|
correlationId?: string | undefined;
|
|
2418
2418
|
}, {
|
|
2419
|
+
message: string;
|
|
2419
2420
|
code: string;
|
|
2420
2421
|
path: string;
|
|
2421
|
-
message: string;
|
|
2422
2422
|
statusCode: number;
|
|
2423
2423
|
timestamp: string;
|
|
2424
2424
|
details?: unknown;
|
|
@@ -2440,17 +2440,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2440
2440
|
path: z.ZodString;
|
|
2441
2441
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2442
2442
|
}, "strip", z.ZodTypeAny, {
|
|
2443
|
+
message: string;
|
|
2443
2444
|
code: string;
|
|
2444
2445
|
path: string;
|
|
2445
|
-
message: string;
|
|
2446
2446
|
statusCode: number;
|
|
2447
2447
|
timestamp: string;
|
|
2448
2448
|
details?: unknown;
|
|
2449
2449
|
correlationId?: string | undefined;
|
|
2450
2450
|
}, {
|
|
2451
|
+
message: string;
|
|
2451
2452
|
code: string;
|
|
2452
2453
|
path: string;
|
|
2453
|
-
message: string;
|
|
2454
2454
|
statusCode: number;
|
|
2455
2455
|
timestamp: string;
|
|
2456
2456
|
details?: unknown;
|
|
@@ -2465,17 +2465,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2465
2465
|
path: z.ZodString;
|
|
2466
2466
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2467
2467
|
}, "strip", z.ZodTypeAny, {
|
|
2468
|
+
message: string;
|
|
2468
2469
|
code: string;
|
|
2469
2470
|
path: string;
|
|
2470
|
-
message: string;
|
|
2471
2471
|
statusCode: number;
|
|
2472
2472
|
timestamp: string;
|
|
2473
2473
|
details?: unknown;
|
|
2474
2474
|
correlationId?: string | undefined;
|
|
2475
2475
|
}, {
|
|
2476
|
+
message: string;
|
|
2476
2477
|
code: string;
|
|
2477
2478
|
path: string;
|
|
2478
|
-
message: string;
|
|
2479
2479
|
statusCode: number;
|
|
2480
2480
|
timestamp: string;
|
|
2481
2481
|
details?: unknown;
|
|
@@ -2507,17 +2507,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2507
2507
|
path: z.ZodString;
|
|
2508
2508
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2509
2509
|
}, "strip", z.ZodTypeAny, {
|
|
2510
|
+
message: string;
|
|
2510
2511
|
code: string;
|
|
2511
2512
|
path: string;
|
|
2512
|
-
message: string;
|
|
2513
2513
|
statusCode: number;
|
|
2514
2514
|
timestamp: string;
|
|
2515
2515
|
details?: unknown;
|
|
2516
2516
|
correlationId?: string | undefined;
|
|
2517
2517
|
}, {
|
|
2518
|
+
message: string;
|
|
2518
2519
|
code: string;
|
|
2519
2520
|
path: string;
|
|
2520
|
-
message: string;
|
|
2521
2521
|
statusCode: number;
|
|
2522
2522
|
timestamp: string;
|
|
2523
2523
|
details?: unknown;
|
|
@@ -2532,17 +2532,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2532
2532
|
path: z.ZodString;
|
|
2533
2533
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2534
2534
|
}, "strip", z.ZodTypeAny, {
|
|
2535
|
+
message: string;
|
|
2535
2536
|
code: string;
|
|
2536
2537
|
path: string;
|
|
2537
|
-
message: string;
|
|
2538
2538
|
statusCode: number;
|
|
2539
2539
|
timestamp: string;
|
|
2540
2540
|
details?: unknown;
|
|
2541
2541
|
correlationId?: string | undefined;
|
|
2542
2542
|
}, {
|
|
2543
|
+
message: string;
|
|
2543
2544
|
code: string;
|
|
2544
2545
|
path: string;
|
|
2545
|
-
message: string;
|
|
2546
2546
|
statusCode: number;
|
|
2547
2547
|
timestamp: string;
|
|
2548
2548
|
details?: unknown;
|
|
@@ -2557,17 +2557,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2557
2557
|
path: z.ZodString;
|
|
2558
2558
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2559
2559
|
}, "strip", z.ZodTypeAny, {
|
|
2560
|
+
message: string;
|
|
2560
2561
|
code: string;
|
|
2561
2562
|
path: string;
|
|
2562
|
-
message: string;
|
|
2563
2563
|
statusCode: number;
|
|
2564
2564
|
timestamp: string;
|
|
2565
2565
|
details?: unknown;
|
|
2566
2566
|
correlationId?: string | undefined;
|
|
2567
2567
|
}, {
|
|
2568
|
+
message: string;
|
|
2568
2569
|
code: string;
|
|
2569
2570
|
path: string;
|
|
2570
|
-
message: string;
|
|
2571
2571
|
statusCode: number;
|
|
2572
2572
|
timestamp: string;
|
|
2573
2573
|
details?: unknown;
|
|
@@ -2589,17 +2589,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2589
2589
|
path: z.ZodString;
|
|
2590
2590
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2591
2591
|
}, "strip", z.ZodTypeAny, {
|
|
2592
|
+
message: string;
|
|
2592
2593
|
code: string;
|
|
2593
2594
|
path: string;
|
|
2594
|
-
message: string;
|
|
2595
2595
|
statusCode: number;
|
|
2596
2596
|
timestamp: string;
|
|
2597
2597
|
details?: unknown;
|
|
2598
2598
|
correlationId?: string | undefined;
|
|
2599
2599
|
}, {
|
|
2600
|
+
message: string;
|
|
2600
2601
|
code: string;
|
|
2601
2602
|
path: string;
|
|
2602
|
-
message: string;
|
|
2603
2603
|
statusCode: number;
|
|
2604
2604
|
timestamp: string;
|
|
2605
2605
|
details?: unknown;
|
|
@@ -2614,17 +2614,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2614
2614
|
path: z.ZodString;
|
|
2615
2615
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2616
2616
|
}, "strip", z.ZodTypeAny, {
|
|
2617
|
+
message: string;
|
|
2617
2618
|
code: string;
|
|
2618
2619
|
path: string;
|
|
2619
|
-
message: string;
|
|
2620
2620
|
statusCode: number;
|
|
2621
2621
|
timestamp: string;
|
|
2622
2622
|
details?: unknown;
|
|
2623
2623
|
correlationId?: string | undefined;
|
|
2624
2624
|
}, {
|
|
2625
|
+
message: string;
|
|
2625
2626
|
code: string;
|
|
2626
2627
|
path: string;
|
|
2627
|
-
message: string;
|
|
2628
2628
|
statusCode: number;
|
|
2629
2629
|
timestamp: string;
|
|
2630
2630
|
details?: unknown;
|