@dakkitor/api-contracts 1.7.0 → 1.8.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.spec.js +39 -19
- package/dist/abilities/interconnection.abilities.json +6 -0
- package/dist/abilities/outreach.abilities.json +0 -7
- package/dist/abilities/second-agent.abilities.json +2 -91
- package/dist/abilities/team-leads.json +1 -0
- package/dist/abilities/worker-curator.abilities.json +2 -0
- package/dist/actives/actives.contract.d.ts +2562 -2515
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +908 -908
- package/dist/auth/auth.contract.d.ts +50 -44
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.js +1 -0
- package/dist/bookings/backdate-guard.spec.d.ts +2 -0
- package/dist/bookings/backdate-guard.spec.d.ts.map +1 -0
- package/dist/bookings/backdate-guard.spec.js +80 -0
- package/dist/bookings/bookings.contract.d.ts +4918 -4824
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +26 -2
- package/dist/call-history/call-history.contract.d.ts +434 -434
- package/dist/calls-feed/calls-feed.contract.d.ts +70 -70
- package/dist/client-contacts/client-contacts.contract.d.ts +290 -290
- package/dist/clients/clients.contract.d.ts +110 -110
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1412 -1412
- package/dist/collaborations/collaborations.contract.d.ts +1278 -1278
- package/dist/common/common-schemas.d.ts +13 -13
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -0
- package/dist/common/nino.d.ts +8 -0
- package/dist/common/nino.d.ts.map +1 -0
- package/dist/common/nino.js +26 -0
- package/dist/common/nino.spec.d.ts +2 -0
- package/dist/common/nino.spec.d.ts.map +1 -0
- package/dist/common/nino.spec.js +32 -0
- package/dist/companies/companies.contract.d.ts +30 -30
- package/dist/crews/crews.contract.d.ts +300 -300
- package/dist/cron-executions/cron-executions.contract.d.ts +19 -6
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts.map +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.js +27 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts +2 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.js +59 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +1255 -1188
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +22 -6
- package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +347 -304
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/contact-history.spec.js +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +2 -85
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.js +17 -41
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.js +30 -0
- package/dist/curated-worker-leads/job-feed-match-counts.contract.spec.js +30 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +6058 -5381
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +64 -12
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +88 -88
- package/dist/curated-workers/curated-workers.contract.d.ts +1173 -962
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +37 -6
- package/dist/dashboards/dashboard-widgets.contract.d.ts +43 -73
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +1 -11
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.js +22 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.automation.spec.js +469 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.card-side.spec.js +51 -0
- package/dist/document-intake/document-intake.contract.d.ts +9421 -1071
- package/dist/document-intake/document-intake.contract.d.ts.map +1 -1
- package/dist/document-intake/document-intake.contract.js +219 -5
- package/dist/document-intake/document-intake.contract.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.contract.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.contract.spec.js +37 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.nino.spec.js +42 -0
- package/dist/export-jobs/export-jobs.contract.d.ts +426 -426
- package/dist/files/files.contract.d.ts +36 -36
- package/dist/index.d.ts +17 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -9
- package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
- package/dist/jobs/jobs.contract.d.ts +3610 -3610
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +56 -56
- package/dist/lead-assignments/lead-assignments.contract.d.ts +706 -706
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +220 -220
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
- package/dist/leads/leads.contract.d.ts +86 -86
- package/dist/locations/locations.contract.d.ts +46 -46
- package/dist/notifications/notifications.contract.d.ts +18 -18
- package/dist/offices/offices.contract.d.ts +24 -24
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -0
- package/dist/outreach/lab-outreach.contract.d.ts +48 -48
- package/dist/outreach/outreach-requests.contract.d.ts +272 -272
- package/dist/outreach/outreach-requests.schemas.d.ts +14 -14
- package/dist/outreach/outreach.contract.d.ts +12 -12
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/outreach/relay-hub-outreach.contract.d.ts +1156 -0
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.js +103 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +119 -0
- package/dist/own-research/own-research.contract.d.ts +708 -708
- package/dist/proofs/proofs.contract.d.ts +196 -196
- package/dist/proofs/proofs.dtos.d.ts +104 -104
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/realtime/realtime-telemetry.contract.d.ts +181 -0
- package/dist/realtime/realtime-telemetry.contract.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.js +81 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts +2 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.spec.js +41 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts +9 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.js +17 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts +2 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.js +20 -0
- package/dist/relay-pods/relay-hub.contract.d.ts +1463 -0
- package/dist/relay-pods/relay-hub.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.js +140 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.spec.js +180 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts +577 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.schemas.js +158 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +115 -86
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -1
- package/dist/relay-pods/relay-lab-fleet.contract.spec.js +16 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +87 -58
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -1
- package/dist/relay-pods/relay-lab-fleet.schemas.js +22 -5
- package/dist/{curated-worker-leads/lead-agent-area.contract.d.ts → relay-pods/relay-pod-members.contract.d.ts} +233 -126
- package/dist/relay-pods/relay-pod-members.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-members.contract.js +73 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +58 -58
- package/dist/relay-pods/relay-pods.contract.d.ts +169 -169
- package/dist/relay-pods/relay-pods.schemas.d.ts +46 -46
- package/dist/shared/summary-schemas.d.ts +10 -10
- package/dist/sheets-sync/__tests__/sheets-sync-events.schemas.test.js +22 -2
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts +30 -0
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync-events.schemas.js +16 -1
- package/dist/sheets-sync/sheets-sync.contract.d.ts +829 -262
- package/dist/sheets-sync/sheets-sync.contract.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync.contract.js +156 -34
- package/dist/telegram/telegram.contract.d.ts +12 -12
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/user-access-grants/user-access-grants.contract.d.ts +226 -226
- package/dist/users/__tests__/assignable-roles.spec.js +1 -1
- package/dist/users/users.contract.d.ts +327 -325
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +10 -7
- package/dist/users/users.contract.spec.js +15 -0
- package/dist/voice-screener/voice-screener.contract.d.ts +237 -0
- package/dist/voice-screener/voice-screener.contract.d.ts.map +1 -0
- package/dist/voice-screener/voice-screener.contract.js +89 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +500 -260
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-identity-cases/worker-identity-cases.contract.js +17 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +130 -130
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +35 -35
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +15 -15
- package/dist/workers/do-not-contact.contract.d.ts +4 -4
- package/dist/workers/qualification-back-proof.spec.d.ts +2 -0
- package/dist/workers/qualification-back-proof.spec.d.ts.map +1 -0
- package/dist/workers/qualification-back-proof.spec.js +39 -0
- package/dist/workers/workers.contract.d.ts +1969 -1775
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +5 -0
- package/package.json +1 -1
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +0 -4527
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/consent-queue.contract.js +0 -201
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +0 -135
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/curated-worker-leads.contract.js +0 -32
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.js +0 -51
|
@@ -14,13 +14,13 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
id: string;
|
|
16
16
|
name: string;
|
|
17
|
-
createdAt: string;
|
|
18
17
|
updatedAt: string;
|
|
18
|
+
createdAt: string;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
|
-
createdAt: string | Date;
|
|
23
22
|
updatedAt: string | Date;
|
|
23
|
+
createdAt: string | Date;
|
|
24
24
|
}>>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -29,8 +29,8 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
29
29
|
company?: {
|
|
30
30
|
id: string;
|
|
31
31
|
name: string;
|
|
32
|
-
createdAt: string;
|
|
33
32
|
updatedAt: string;
|
|
33
|
+
createdAt: string;
|
|
34
34
|
} | null | undefined;
|
|
35
35
|
leadDistributionConfigId?: string | null | undefined;
|
|
36
36
|
}, {
|
|
@@ -40,8 +40,8 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
40
40
|
company?: {
|
|
41
41
|
id: string;
|
|
42
42
|
name: string;
|
|
43
|
-
createdAt: string | Date;
|
|
44
43
|
updatedAt: string | Date;
|
|
44
|
+
createdAt: string | Date;
|
|
45
45
|
} | null | undefined;
|
|
46
46
|
leadDistributionConfigId?: string | null | undefined;
|
|
47
47
|
}>;
|
|
@@ -75,13 +75,13 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
76
|
id: string;
|
|
77
77
|
name: string;
|
|
78
|
-
createdAt: string;
|
|
79
78
|
updatedAt: string;
|
|
79
|
+
createdAt: string;
|
|
80
80
|
}, {
|
|
81
81
|
id: string;
|
|
82
82
|
name: string;
|
|
83
|
-
createdAt: string | Date;
|
|
84
83
|
updatedAt: string | Date;
|
|
84
|
+
createdAt: string | Date;
|
|
85
85
|
}>>>;
|
|
86
86
|
} & {
|
|
87
87
|
id: z.ZodString;
|
|
@@ -117,28 +117,28 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
117
117
|
lastName: z.ZodString;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
id: string;
|
|
120
|
-
firstName: string;
|
|
121
120
|
lastName: string;
|
|
121
|
+
firstName: string;
|
|
122
122
|
}, {
|
|
123
123
|
id: string;
|
|
124
|
-
firstName: string;
|
|
125
124
|
lastName: string;
|
|
125
|
+
firstName: string;
|
|
126
126
|
}>, "many">>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
id: string;
|
|
129
129
|
name: string;
|
|
130
130
|
managers?: {
|
|
131
131
|
id: string;
|
|
132
|
-
firstName: string;
|
|
133
132
|
lastName: string;
|
|
133
|
+
firstName: string;
|
|
134
134
|
}[] | undefined;
|
|
135
135
|
}, {
|
|
136
136
|
id: string;
|
|
137
137
|
name: string;
|
|
138
138
|
managers?: {
|
|
139
139
|
id: string;
|
|
140
|
-
firstName: string;
|
|
141
140
|
lastName: string;
|
|
141
|
+
firstName: string;
|
|
142
142
|
}[] | undefined;
|
|
143
143
|
}>>>;
|
|
144
144
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -147,12 +147,12 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
147
147
|
lastName: z.ZodString;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
id: string;
|
|
150
|
-
firstName: string;
|
|
151
150
|
lastName: string;
|
|
151
|
+
firstName: string;
|
|
152
152
|
}, {
|
|
153
153
|
id: string;
|
|
154
|
-
firstName: string;
|
|
155
154
|
lastName: string;
|
|
155
|
+
firstName: string;
|
|
156
156
|
}>, "many">>;
|
|
157
157
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
158
158
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -161,49 +161,51 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
status: "ACTIVE" | "INACTIVE";
|
|
163
163
|
id: string;
|
|
164
|
-
|
|
165
|
-
lastName: string;
|
|
166
|
-
email: string;
|
|
164
|
+
updatedAt: string;
|
|
167
165
|
createdAt: string;
|
|
166
|
+
email: string;
|
|
167
|
+
lastName: string;
|
|
168
|
+
firstName: string;
|
|
168
169
|
phoneNumbers: {
|
|
169
170
|
id: string;
|
|
170
171
|
phoneNumber: string;
|
|
171
172
|
isPrimary: boolean;
|
|
172
173
|
description?: string | null | undefined;
|
|
173
174
|
}[];
|
|
174
|
-
|
|
175
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
176
|
+
officeId?: string | null | undefined;
|
|
175
177
|
office?: {
|
|
176
178
|
id: string;
|
|
177
179
|
name: string;
|
|
178
180
|
managers?: {
|
|
179
181
|
id: string;
|
|
180
|
-
firstName: string;
|
|
181
182
|
lastName: string;
|
|
183
|
+
firstName: string;
|
|
182
184
|
}[] | undefined;
|
|
183
185
|
} | 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;
|
|
186
186
|
canImpersonateUsers?: {
|
|
187
187
|
id: string;
|
|
188
|
-
firstName: string;
|
|
189
188
|
lastName: string;
|
|
189
|
+
firstName: string;
|
|
190
190
|
}[] | undefined;
|
|
191
191
|
deletedAt?: string | null | undefined;
|
|
192
192
|
}, {
|
|
193
193
|
status: "ACTIVE" | "INACTIVE";
|
|
194
194
|
id: string;
|
|
195
|
-
firstName: string;
|
|
196
|
-
lastName: string;
|
|
197
|
-
email: string;
|
|
198
|
-
createdAt: string | Date;
|
|
199
195
|
updatedAt: string | Date;
|
|
196
|
+
createdAt: string | Date;
|
|
197
|
+
email: string;
|
|
198
|
+
lastName: string;
|
|
199
|
+
firstName: string;
|
|
200
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
201
|
+
officeId?: string | null | undefined;
|
|
200
202
|
office?: {
|
|
201
203
|
id: string;
|
|
202
204
|
name: string;
|
|
203
205
|
managers?: {
|
|
204
206
|
id: string;
|
|
205
|
-
firstName: string;
|
|
206
207
|
lastName: string;
|
|
208
|
+
firstName: string;
|
|
207
209
|
}[] | undefined;
|
|
208
210
|
} | null | undefined;
|
|
209
211
|
phoneNumbers?: {
|
|
@@ -212,12 +214,10 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
212
214
|
description?: string | null | undefined;
|
|
213
215
|
isPrimary?: boolean | undefined;
|
|
214
216
|
}[] | 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;
|
|
217
217
|
canImpersonateUsers?: {
|
|
218
218
|
id: string;
|
|
219
|
-
firstName: string;
|
|
220
219
|
lastName: string;
|
|
220
|
+
firstName: string;
|
|
221
221
|
}[] | undefined;
|
|
222
222
|
deletedAt?: string | Date | null | undefined;
|
|
223
223
|
}>;
|
|
@@ -245,32 +245,32 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
245
245
|
agent: {
|
|
246
246
|
status: "ACTIVE" | "INACTIVE";
|
|
247
247
|
id: string;
|
|
248
|
-
|
|
249
|
-
lastName: string;
|
|
250
|
-
email: string;
|
|
248
|
+
updatedAt: string;
|
|
251
249
|
createdAt: string;
|
|
250
|
+
email: string;
|
|
251
|
+
lastName: string;
|
|
252
|
+
firstName: string;
|
|
252
253
|
phoneNumbers: {
|
|
253
254
|
id: string;
|
|
254
255
|
phoneNumber: string;
|
|
255
256
|
isPrimary: boolean;
|
|
256
257
|
description?: string | null | undefined;
|
|
257
258
|
}[];
|
|
258
|
-
|
|
259
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
260
|
+
officeId?: string | null | undefined;
|
|
259
261
|
office?: {
|
|
260
262
|
id: string;
|
|
261
263
|
name: string;
|
|
262
264
|
managers?: {
|
|
263
265
|
id: string;
|
|
264
|
-
firstName: string;
|
|
265
266
|
lastName: string;
|
|
267
|
+
firstName: string;
|
|
266
268
|
}[] | undefined;
|
|
267
269
|
} | 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;
|
|
270
270
|
canImpersonateUsers?: {
|
|
271
271
|
id: string;
|
|
272
|
-
firstName: string;
|
|
273
272
|
lastName: string;
|
|
273
|
+
firstName: string;
|
|
274
274
|
}[] | undefined;
|
|
275
275
|
deletedAt?: string | null | undefined;
|
|
276
276
|
};
|
|
@@ -278,8 +278,8 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
278
278
|
company?: {
|
|
279
279
|
id: string;
|
|
280
280
|
name: string;
|
|
281
|
-
createdAt: string;
|
|
282
281
|
updatedAt: string;
|
|
282
|
+
createdAt: string;
|
|
283
283
|
} | null | undefined;
|
|
284
284
|
leadDistributionConfigId?: string | null | undefined;
|
|
285
285
|
leadDistributionConfig?: {
|
|
@@ -293,18 +293,20 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
293
293
|
agent: {
|
|
294
294
|
status: "ACTIVE" | "INACTIVE";
|
|
295
295
|
id: string;
|
|
296
|
-
firstName: string;
|
|
297
|
-
lastName: string;
|
|
298
|
-
email: string;
|
|
299
|
-
createdAt: string | Date;
|
|
300
296
|
updatedAt: string | Date;
|
|
297
|
+
createdAt: string | Date;
|
|
298
|
+
email: string;
|
|
299
|
+
lastName: string;
|
|
300
|
+
firstName: string;
|
|
301
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
302
|
+
officeId?: string | null | undefined;
|
|
301
303
|
office?: {
|
|
302
304
|
id: string;
|
|
303
305
|
name: string;
|
|
304
306
|
managers?: {
|
|
305
307
|
id: string;
|
|
306
|
-
firstName: string;
|
|
307
308
|
lastName: string;
|
|
309
|
+
firstName: string;
|
|
308
310
|
}[] | undefined;
|
|
309
311
|
} | null | undefined;
|
|
310
312
|
phoneNumbers?: {
|
|
@@ -313,12 +315,10 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
313
315
|
description?: string | null | undefined;
|
|
314
316
|
isPrimary?: boolean | undefined;
|
|
315
317
|
}[] | 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;
|
|
318
318
|
canImpersonateUsers?: {
|
|
319
319
|
id: string;
|
|
320
|
-
firstName: string;
|
|
321
320
|
lastName: string;
|
|
321
|
+
firstName: string;
|
|
322
322
|
}[] | undefined;
|
|
323
323
|
deletedAt?: string | Date | null | undefined;
|
|
324
324
|
};
|
|
@@ -326,8 +326,8 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
326
326
|
company?: {
|
|
327
327
|
id: string;
|
|
328
328
|
name: string;
|
|
329
|
-
createdAt: string | Date;
|
|
330
329
|
updatedAt: string | Date;
|
|
330
|
+
createdAt: string | Date;
|
|
331
331
|
} | null | undefined;
|
|
332
332
|
leadDistributionConfigId?: string | null | undefined;
|
|
333
333
|
leadDistributionConfig?: {
|
|
@@ -373,16 +373,16 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
373
373
|
leadDistributionConfigId: z.ZodOptional<z.ZodString>;
|
|
374
374
|
companyId: z.ZodOptional<z.ZodString>;
|
|
375
375
|
}, "strip", z.ZodTypeAny, {
|
|
376
|
-
limit: number;
|
|
377
376
|
page: number;
|
|
377
|
+
limit: number;
|
|
378
378
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
379
379
|
companyId?: string | undefined;
|
|
380
380
|
agentId?: string | undefined;
|
|
381
381
|
leadDistributionConfigId?: string | undefined;
|
|
382
382
|
}, {
|
|
383
383
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
384
|
-
limit?: number | undefined;
|
|
385
384
|
page?: number | undefined;
|
|
385
|
+
limit?: number | undefined;
|
|
386
386
|
companyId?: string | undefined;
|
|
387
387
|
agentId?: string | undefined;
|
|
388
388
|
leadDistributionConfigId?: string | undefined;
|
|
@@ -401,13 +401,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
401
401
|
}, "strip", z.ZodTypeAny, {
|
|
402
402
|
id: string;
|
|
403
403
|
name: string;
|
|
404
|
-
createdAt: string;
|
|
405
404
|
updatedAt: string;
|
|
405
|
+
createdAt: string;
|
|
406
406
|
}, {
|
|
407
407
|
id: string;
|
|
408
408
|
name: string;
|
|
409
|
-
createdAt: string | Date;
|
|
410
409
|
updatedAt: string | Date;
|
|
410
|
+
createdAt: string | Date;
|
|
411
411
|
}>>>;
|
|
412
412
|
} & {
|
|
413
413
|
id: z.ZodString;
|
|
@@ -443,28 +443,28 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
443
443
|
lastName: z.ZodString;
|
|
444
444
|
}, "strip", z.ZodTypeAny, {
|
|
445
445
|
id: string;
|
|
446
|
-
firstName: string;
|
|
447
446
|
lastName: string;
|
|
447
|
+
firstName: string;
|
|
448
448
|
}, {
|
|
449
449
|
id: string;
|
|
450
|
-
firstName: string;
|
|
451
450
|
lastName: string;
|
|
451
|
+
firstName: string;
|
|
452
452
|
}>, "many">>;
|
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
454
|
id: string;
|
|
455
455
|
name: string;
|
|
456
456
|
managers?: {
|
|
457
457
|
id: string;
|
|
458
|
-
firstName: string;
|
|
459
458
|
lastName: string;
|
|
459
|
+
firstName: string;
|
|
460
460
|
}[] | undefined;
|
|
461
461
|
}, {
|
|
462
462
|
id: string;
|
|
463
463
|
name: string;
|
|
464
464
|
managers?: {
|
|
465
465
|
id: string;
|
|
466
|
-
firstName: string;
|
|
467
466
|
lastName: string;
|
|
467
|
+
firstName: string;
|
|
468
468
|
}[] | undefined;
|
|
469
469
|
}>>>;
|
|
470
470
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -473,12 +473,12 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
473
473
|
lastName: z.ZodString;
|
|
474
474
|
}, "strip", z.ZodTypeAny, {
|
|
475
475
|
id: string;
|
|
476
|
-
firstName: string;
|
|
477
476
|
lastName: string;
|
|
477
|
+
firstName: string;
|
|
478
478
|
}, {
|
|
479
479
|
id: string;
|
|
480
|
-
firstName: string;
|
|
481
480
|
lastName: string;
|
|
481
|
+
firstName: string;
|
|
482
482
|
}>, "many">>;
|
|
483
483
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
484
484
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -487,49 +487,51 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
487
487
|
}, "strip", z.ZodTypeAny, {
|
|
488
488
|
status: "ACTIVE" | "INACTIVE";
|
|
489
489
|
id: string;
|
|
490
|
-
|
|
491
|
-
lastName: string;
|
|
492
|
-
email: string;
|
|
490
|
+
updatedAt: string;
|
|
493
491
|
createdAt: string;
|
|
492
|
+
email: string;
|
|
493
|
+
lastName: string;
|
|
494
|
+
firstName: string;
|
|
494
495
|
phoneNumbers: {
|
|
495
496
|
id: string;
|
|
496
497
|
phoneNumber: string;
|
|
497
498
|
isPrimary: boolean;
|
|
498
499
|
description?: string | null | undefined;
|
|
499
500
|
}[];
|
|
500
|
-
|
|
501
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
502
|
+
officeId?: string | null | undefined;
|
|
501
503
|
office?: {
|
|
502
504
|
id: string;
|
|
503
505
|
name: string;
|
|
504
506
|
managers?: {
|
|
505
507
|
id: string;
|
|
506
|
-
firstName: string;
|
|
507
508
|
lastName: string;
|
|
509
|
+
firstName: string;
|
|
508
510
|
}[] | undefined;
|
|
509
511
|
} | 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;
|
|
512
512
|
canImpersonateUsers?: {
|
|
513
513
|
id: string;
|
|
514
|
-
firstName: string;
|
|
515
514
|
lastName: string;
|
|
515
|
+
firstName: string;
|
|
516
516
|
}[] | undefined;
|
|
517
517
|
deletedAt?: string | null | undefined;
|
|
518
518
|
}, {
|
|
519
519
|
status: "ACTIVE" | "INACTIVE";
|
|
520
520
|
id: string;
|
|
521
|
-
firstName: string;
|
|
522
|
-
lastName: string;
|
|
523
|
-
email: string;
|
|
524
|
-
createdAt: string | Date;
|
|
525
521
|
updatedAt: string | Date;
|
|
522
|
+
createdAt: string | Date;
|
|
523
|
+
email: string;
|
|
524
|
+
lastName: string;
|
|
525
|
+
firstName: string;
|
|
526
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
527
|
+
officeId?: string | null | undefined;
|
|
526
528
|
office?: {
|
|
527
529
|
id: string;
|
|
528
530
|
name: string;
|
|
529
531
|
managers?: {
|
|
530
532
|
id: string;
|
|
531
|
-
firstName: string;
|
|
532
533
|
lastName: string;
|
|
534
|
+
firstName: string;
|
|
533
535
|
}[] | undefined;
|
|
534
536
|
} | null | undefined;
|
|
535
537
|
phoneNumbers?: {
|
|
@@ -538,12 +540,10 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
538
540
|
description?: string | null | undefined;
|
|
539
541
|
isPrimary?: boolean | undefined;
|
|
540
542
|
}[] | 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;
|
|
543
543
|
canImpersonateUsers?: {
|
|
544
544
|
id: string;
|
|
545
|
-
firstName: string;
|
|
546
545
|
lastName: string;
|
|
546
|
+
firstName: string;
|
|
547
547
|
}[] | undefined;
|
|
548
548
|
deletedAt?: string | Date | null | undefined;
|
|
549
549
|
}>;
|
|
@@ -571,32 +571,32 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
571
571
|
agent: {
|
|
572
572
|
status: "ACTIVE" | "INACTIVE";
|
|
573
573
|
id: string;
|
|
574
|
-
|
|
575
|
-
lastName: string;
|
|
576
|
-
email: string;
|
|
574
|
+
updatedAt: string;
|
|
577
575
|
createdAt: string;
|
|
576
|
+
email: string;
|
|
577
|
+
lastName: string;
|
|
578
|
+
firstName: string;
|
|
578
579
|
phoneNumbers: {
|
|
579
580
|
id: string;
|
|
580
581
|
phoneNumber: string;
|
|
581
582
|
isPrimary: boolean;
|
|
582
583
|
description?: string | null | undefined;
|
|
583
584
|
}[];
|
|
584
|
-
|
|
585
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
586
|
+
officeId?: string | null | undefined;
|
|
585
587
|
office?: {
|
|
586
588
|
id: string;
|
|
587
589
|
name: string;
|
|
588
590
|
managers?: {
|
|
589
591
|
id: string;
|
|
590
|
-
firstName: string;
|
|
591
592
|
lastName: string;
|
|
593
|
+
firstName: string;
|
|
592
594
|
}[] | undefined;
|
|
593
595
|
} | 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;
|
|
596
596
|
canImpersonateUsers?: {
|
|
597
597
|
id: string;
|
|
598
|
-
firstName: string;
|
|
599
598
|
lastName: string;
|
|
599
|
+
firstName: string;
|
|
600
600
|
}[] | undefined;
|
|
601
601
|
deletedAt?: string | null | undefined;
|
|
602
602
|
};
|
|
@@ -604,8 +604,8 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
604
604
|
company?: {
|
|
605
605
|
id: string;
|
|
606
606
|
name: string;
|
|
607
|
-
createdAt: string;
|
|
608
607
|
updatedAt: string;
|
|
608
|
+
createdAt: string;
|
|
609
609
|
} | null | undefined;
|
|
610
610
|
leadDistributionConfigId?: string | null | undefined;
|
|
611
611
|
leadDistributionConfig?: {
|
|
@@ -619,18 +619,20 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
619
619
|
agent: {
|
|
620
620
|
status: "ACTIVE" | "INACTIVE";
|
|
621
621
|
id: string;
|
|
622
|
-
firstName: string;
|
|
623
|
-
lastName: string;
|
|
624
|
-
email: string;
|
|
625
|
-
createdAt: string | Date;
|
|
626
622
|
updatedAt: string | Date;
|
|
623
|
+
createdAt: string | Date;
|
|
624
|
+
email: string;
|
|
625
|
+
lastName: string;
|
|
626
|
+
firstName: string;
|
|
627
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
628
|
+
officeId?: string | null | undefined;
|
|
627
629
|
office?: {
|
|
628
630
|
id: string;
|
|
629
631
|
name: string;
|
|
630
632
|
managers?: {
|
|
631
633
|
id: string;
|
|
632
|
-
firstName: string;
|
|
633
634
|
lastName: string;
|
|
635
|
+
firstName: string;
|
|
634
636
|
}[] | undefined;
|
|
635
637
|
} | null | undefined;
|
|
636
638
|
phoneNumbers?: {
|
|
@@ -639,12 +641,10 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
639
641
|
description?: string | null | undefined;
|
|
640
642
|
isPrimary?: boolean | undefined;
|
|
641
643
|
}[] | 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;
|
|
644
644
|
canImpersonateUsers?: {
|
|
645
645
|
id: string;
|
|
646
|
-
firstName: string;
|
|
647
646
|
lastName: string;
|
|
647
|
+
firstName: string;
|
|
648
648
|
}[] | undefined;
|
|
649
649
|
deletedAt?: string | Date | null | undefined;
|
|
650
650
|
};
|
|
@@ -652,8 +652,8 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
652
652
|
company?: {
|
|
653
653
|
id: string;
|
|
654
654
|
name: string;
|
|
655
|
-
createdAt: string | Date;
|
|
656
655
|
updatedAt: string | Date;
|
|
656
|
+
createdAt: string | Date;
|
|
657
657
|
} | null | undefined;
|
|
658
658
|
leadDistributionConfigId?: string | null | undefined;
|
|
659
659
|
leadDistributionConfig?: {
|
|
@@ -675,32 +675,32 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
675
675
|
agent: {
|
|
676
676
|
status: "ACTIVE" | "INACTIVE";
|
|
677
677
|
id: string;
|
|
678
|
-
|
|
679
|
-
lastName: string;
|
|
680
|
-
email: string;
|
|
678
|
+
updatedAt: string;
|
|
681
679
|
createdAt: string;
|
|
680
|
+
email: string;
|
|
681
|
+
lastName: string;
|
|
682
|
+
firstName: string;
|
|
682
683
|
phoneNumbers: {
|
|
683
684
|
id: string;
|
|
684
685
|
phoneNumber: string;
|
|
685
686
|
isPrimary: boolean;
|
|
686
687
|
description?: string | null | undefined;
|
|
687
688
|
}[];
|
|
688
|
-
|
|
689
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
690
|
+
officeId?: string | null | undefined;
|
|
689
691
|
office?: {
|
|
690
692
|
id: string;
|
|
691
693
|
name: string;
|
|
692
694
|
managers?: {
|
|
693
695
|
id: string;
|
|
694
|
-
firstName: string;
|
|
695
696
|
lastName: string;
|
|
697
|
+
firstName: string;
|
|
696
698
|
}[] | undefined;
|
|
697
699
|
} | 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;
|
|
700
700
|
canImpersonateUsers?: {
|
|
701
701
|
id: string;
|
|
702
|
-
firstName: string;
|
|
703
702
|
lastName: string;
|
|
703
|
+
firstName: string;
|
|
704
704
|
}[] | undefined;
|
|
705
705
|
deletedAt?: string | null | undefined;
|
|
706
706
|
};
|
|
@@ -708,8 +708,8 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
708
708
|
company?: {
|
|
709
709
|
id: string;
|
|
710
710
|
name: string;
|
|
711
|
-
createdAt: string;
|
|
712
711
|
updatedAt: string;
|
|
712
|
+
createdAt: string;
|
|
713
713
|
} | null | undefined;
|
|
714
714
|
leadDistributionConfigId?: string | null | undefined;
|
|
715
715
|
leadDistributionConfig?: {
|
|
@@ -730,18 +730,20 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
730
730
|
agent: {
|
|
731
731
|
status: "ACTIVE" | "INACTIVE";
|
|
732
732
|
id: string;
|
|
733
|
-
firstName: string;
|
|
734
|
-
lastName: string;
|
|
735
|
-
email: string;
|
|
736
|
-
createdAt: string | Date;
|
|
737
733
|
updatedAt: string | Date;
|
|
734
|
+
createdAt: string | Date;
|
|
735
|
+
email: string;
|
|
736
|
+
lastName: string;
|
|
737
|
+
firstName: string;
|
|
738
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
739
|
+
officeId?: string | null | undefined;
|
|
738
740
|
office?: {
|
|
739
741
|
id: string;
|
|
740
742
|
name: string;
|
|
741
743
|
managers?: {
|
|
742
744
|
id: string;
|
|
743
|
-
firstName: string;
|
|
744
745
|
lastName: string;
|
|
746
|
+
firstName: string;
|
|
745
747
|
}[] | undefined;
|
|
746
748
|
} | null | undefined;
|
|
747
749
|
phoneNumbers?: {
|
|
@@ -750,12 +752,10 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
750
752
|
description?: string | null | undefined;
|
|
751
753
|
isPrimary?: boolean | undefined;
|
|
752
754
|
}[] | 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;
|
|
755
755
|
canImpersonateUsers?: {
|
|
756
756
|
id: string;
|
|
757
|
-
firstName: string;
|
|
758
757
|
lastName: string;
|
|
758
|
+
firstName: string;
|
|
759
759
|
}[] | undefined;
|
|
760
760
|
deletedAt?: string | Date | null | undefined;
|
|
761
761
|
};
|
|
@@ -763,8 +763,8 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
763
763
|
company?: {
|
|
764
764
|
id: string;
|
|
765
765
|
name: string;
|
|
766
|
-
createdAt: string | Date;
|
|
767
766
|
updatedAt: string | Date;
|
|
767
|
+
createdAt: string | Date;
|
|
768
768
|
} | null | undefined;
|
|
769
769
|
leadDistributionConfigId?: string | null | undefined;
|
|
770
770
|
leadDistributionConfig?: {
|
|
@@ -856,16 +856,16 @@ export declare const agentLeadDistributionContract: {
|
|
|
856
856
|
leadDistributionConfigId: z.ZodOptional<z.ZodString>;
|
|
857
857
|
companyId: z.ZodOptional<z.ZodString>;
|
|
858
858
|
}, "strip", z.ZodTypeAny, {
|
|
859
|
-
limit: number;
|
|
860
859
|
page: number;
|
|
860
|
+
limit: number;
|
|
861
861
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
862
862
|
companyId?: string | undefined;
|
|
863
863
|
agentId?: string | undefined;
|
|
864
864
|
leadDistributionConfigId?: string | undefined;
|
|
865
865
|
}, {
|
|
866
866
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
867
|
-
limit?: number | undefined;
|
|
868
867
|
page?: number | undefined;
|
|
868
|
+
limit?: number | undefined;
|
|
869
869
|
companyId?: string | undefined;
|
|
870
870
|
agentId?: string | undefined;
|
|
871
871
|
leadDistributionConfigId?: string | undefined;
|
|
@@ -966,13 +966,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
966
966
|
}, "strip", z.ZodTypeAny, {
|
|
967
967
|
id: string;
|
|
968
968
|
name: string;
|
|
969
|
-
createdAt: string;
|
|
970
969
|
updatedAt: string;
|
|
970
|
+
createdAt: string;
|
|
971
971
|
}, {
|
|
972
972
|
id: string;
|
|
973
973
|
name: string;
|
|
974
|
-
createdAt: string | Date;
|
|
975
974
|
updatedAt: string | Date;
|
|
975
|
+
createdAt: string | Date;
|
|
976
976
|
}>>>;
|
|
977
977
|
} & {
|
|
978
978
|
id: z.ZodString;
|
|
@@ -1008,28 +1008,28 @@ export declare const agentLeadDistributionContract: {
|
|
|
1008
1008
|
lastName: z.ZodString;
|
|
1009
1009
|
}, "strip", z.ZodTypeAny, {
|
|
1010
1010
|
id: string;
|
|
1011
|
-
firstName: string;
|
|
1012
1011
|
lastName: string;
|
|
1012
|
+
firstName: string;
|
|
1013
1013
|
}, {
|
|
1014
1014
|
id: string;
|
|
1015
|
-
firstName: string;
|
|
1016
1015
|
lastName: string;
|
|
1016
|
+
firstName: string;
|
|
1017
1017
|
}>, "many">>;
|
|
1018
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1019
1019
|
id: string;
|
|
1020
1020
|
name: string;
|
|
1021
1021
|
managers?: {
|
|
1022
1022
|
id: string;
|
|
1023
|
-
firstName: string;
|
|
1024
1023
|
lastName: string;
|
|
1024
|
+
firstName: string;
|
|
1025
1025
|
}[] | undefined;
|
|
1026
1026
|
}, {
|
|
1027
1027
|
id: string;
|
|
1028
1028
|
name: string;
|
|
1029
1029
|
managers?: {
|
|
1030
1030
|
id: string;
|
|
1031
|
-
firstName: string;
|
|
1032
1031
|
lastName: string;
|
|
1032
|
+
firstName: string;
|
|
1033
1033
|
}[] | undefined;
|
|
1034
1034
|
}>>>;
|
|
1035
1035
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1038,12 +1038,12 @@ export declare const agentLeadDistributionContract: {
|
|
|
1038
1038
|
lastName: z.ZodString;
|
|
1039
1039
|
}, "strip", z.ZodTypeAny, {
|
|
1040
1040
|
id: string;
|
|
1041
|
-
firstName: string;
|
|
1042
1041
|
lastName: string;
|
|
1042
|
+
firstName: string;
|
|
1043
1043
|
}, {
|
|
1044
1044
|
id: string;
|
|
1045
|
-
firstName: string;
|
|
1046
1045
|
lastName: string;
|
|
1046
|
+
firstName: string;
|
|
1047
1047
|
}>, "many">>;
|
|
1048
1048
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1049
1049
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1052,49 +1052,51 @@ export declare const agentLeadDistributionContract: {
|
|
|
1052
1052
|
}, "strip", z.ZodTypeAny, {
|
|
1053
1053
|
status: "ACTIVE" | "INACTIVE";
|
|
1054
1054
|
id: string;
|
|
1055
|
-
|
|
1056
|
-
lastName: string;
|
|
1057
|
-
email: string;
|
|
1055
|
+
updatedAt: string;
|
|
1058
1056
|
createdAt: string;
|
|
1057
|
+
email: string;
|
|
1058
|
+
lastName: string;
|
|
1059
|
+
firstName: string;
|
|
1059
1060
|
phoneNumbers: {
|
|
1060
1061
|
id: string;
|
|
1061
1062
|
phoneNumber: string;
|
|
1062
1063
|
isPrimary: boolean;
|
|
1063
1064
|
description?: string | null | undefined;
|
|
1064
1065
|
}[];
|
|
1065
|
-
|
|
1066
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1067
|
+
officeId?: string | null | undefined;
|
|
1066
1068
|
office?: {
|
|
1067
1069
|
id: string;
|
|
1068
1070
|
name: string;
|
|
1069
1071
|
managers?: {
|
|
1070
1072
|
id: string;
|
|
1071
|
-
firstName: string;
|
|
1072
1073
|
lastName: string;
|
|
1074
|
+
firstName: string;
|
|
1073
1075
|
}[] | undefined;
|
|
1074
1076
|
} | 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;
|
|
1077
1077
|
canImpersonateUsers?: {
|
|
1078
1078
|
id: string;
|
|
1079
|
-
firstName: string;
|
|
1080
1079
|
lastName: string;
|
|
1080
|
+
firstName: string;
|
|
1081
1081
|
}[] | undefined;
|
|
1082
1082
|
deletedAt?: string | null | undefined;
|
|
1083
1083
|
}, {
|
|
1084
1084
|
status: "ACTIVE" | "INACTIVE";
|
|
1085
1085
|
id: string;
|
|
1086
|
-
firstName: string;
|
|
1087
|
-
lastName: string;
|
|
1088
|
-
email: string;
|
|
1089
|
-
createdAt: string | Date;
|
|
1090
1086
|
updatedAt: string | Date;
|
|
1087
|
+
createdAt: string | Date;
|
|
1088
|
+
email: string;
|
|
1089
|
+
lastName: string;
|
|
1090
|
+
firstName: string;
|
|
1091
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1092
|
+
officeId?: string | null | undefined;
|
|
1091
1093
|
office?: {
|
|
1092
1094
|
id: string;
|
|
1093
1095
|
name: string;
|
|
1094
1096
|
managers?: {
|
|
1095
1097
|
id: string;
|
|
1096
|
-
firstName: string;
|
|
1097
1098
|
lastName: string;
|
|
1099
|
+
firstName: string;
|
|
1098
1100
|
}[] | undefined;
|
|
1099
1101
|
} | null | undefined;
|
|
1100
1102
|
phoneNumbers?: {
|
|
@@ -1103,12 +1105,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1103
1105
|
description?: string | null | undefined;
|
|
1104
1106
|
isPrimary?: boolean | undefined;
|
|
1105
1107
|
}[] | 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;
|
|
1108
1108
|
canImpersonateUsers?: {
|
|
1109
1109
|
id: string;
|
|
1110
|
-
firstName: string;
|
|
1111
1110
|
lastName: string;
|
|
1111
|
+
firstName: string;
|
|
1112
1112
|
}[] | undefined;
|
|
1113
1113
|
deletedAt?: string | Date | null | undefined;
|
|
1114
1114
|
}>;
|
|
@@ -1136,32 +1136,32 @@ export declare const agentLeadDistributionContract: {
|
|
|
1136
1136
|
agent: {
|
|
1137
1137
|
status: "ACTIVE" | "INACTIVE";
|
|
1138
1138
|
id: string;
|
|
1139
|
-
|
|
1140
|
-
lastName: string;
|
|
1141
|
-
email: string;
|
|
1139
|
+
updatedAt: string;
|
|
1142
1140
|
createdAt: string;
|
|
1141
|
+
email: string;
|
|
1142
|
+
lastName: string;
|
|
1143
|
+
firstName: string;
|
|
1143
1144
|
phoneNumbers: {
|
|
1144
1145
|
id: string;
|
|
1145
1146
|
phoneNumber: string;
|
|
1146
1147
|
isPrimary: boolean;
|
|
1147
1148
|
description?: string | null | undefined;
|
|
1148
1149
|
}[];
|
|
1149
|
-
|
|
1150
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1151
|
+
officeId?: string | null | undefined;
|
|
1150
1152
|
office?: {
|
|
1151
1153
|
id: string;
|
|
1152
1154
|
name: string;
|
|
1153
1155
|
managers?: {
|
|
1154
1156
|
id: string;
|
|
1155
|
-
firstName: string;
|
|
1156
1157
|
lastName: string;
|
|
1158
|
+
firstName: string;
|
|
1157
1159
|
}[] | undefined;
|
|
1158
1160
|
} | 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;
|
|
1161
1161
|
canImpersonateUsers?: {
|
|
1162
1162
|
id: string;
|
|
1163
|
-
firstName: string;
|
|
1164
1163
|
lastName: string;
|
|
1164
|
+
firstName: string;
|
|
1165
1165
|
}[] | undefined;
|
|
1166
1166
|
deletedAt?: string | null | undefined;
|
|
1167
1167
|
};
|
|
@@ -1169,8 +1169,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1169
1169
|
company?: {
|
|
1170
1170
|
id: string;
|
|
1171
1171
|
name: string;
|
|
1172
|
-
createdAt: string;
|
|
1173
1172
|
updatedAt: string;
|
|
1173
|
+
createdAt: string;
|
|
1174
1174
|
} | null | undefined;
|
|
1175
1175
|
leadDistributionConfigId?: string | null | undefined;
|
|
1176
1176
|
leadDistributionConfig?: {
|
|
@@ -1184,18 +1184,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1184
1184
|
agent: {
|
|
1185
1185
|
status: "ACTIVE" | "INACTIVE";
|
|
1186
1186
|
id: string;
|
|
1187
|
-
firstName: string;
|
|
1188
|
-
lastName: string;
|
|
1189
|
-
email: string;
|
|
1190
|
-
createdAt: string | Date;
|
|
1191
1187
|
updatedAt: string | Date;
|
|
1188
|
+
createdAt: string | Date;
|
|
1189
|
+
email: string;
|
|
1190
|
+
lastName: string;
|
|
1191
|
+
firstName: string;
|
|
1192
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1193
|
+
officeId?: string | null | undefined;
|
|
1192
1194
|
office?: {
|
|
1193
1195
|
id: string;
|
|
1194
1196
|
name: string;
|
|
1195
1197
|
managers?: {
|
|
1196
1198
|
id: string;
|
|
1197
|
-
firstName: string;
|
|
1198
1199
|
lastName: string;
|
|
1200
|
+
firstName: string;
|
|
1199
1201
|
}[] | undefined;
|
|
1200
1202
|
} | null | undefined;
|
|
1201
1203
|
phoneNumbers?: {
|
|
@@ -1204,12 +1206,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1204
1206
|
description?: string | null | undefined;
|
|
1205
1207
|
isPrimary?: boolean | undefined;
|
|
1206
1208
|
}[] | 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;
|
|
1209
1209
|
canImpersonateUsers?: {
|
|
1210
1210
|
id: string;
|
|
1211
|
-
firstName: string;
|
|
1212
1211
|
lastName: string;
|
|
1212
|
+
firstName: string;
|
|
1213
1213
|
}[] | undefined;
|
|
1214
1214
|
deletedAt?: string | Date | null | undefined;
|
|
1215
1215
|
};
|
|
@@ -1217,8 +1217,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1217
1217
|
company?: {
|
|
1218
1218
|
id: string;
|
|
1219
1219
|
name: string;
|
|
1220
|
-
createdAt: string | Date;
|
|
1221
1220
|
updatedAt: string | Date;
|
|
1221
|
+
createdAt: string | Date;
|
|
1222
1222
|
} | null | undefined;
|
|
1223
1223
|
leadDistributionConfigId?: string | null | undefined;
|
|
1224
1224
|
leadDistributionConfig?: {
|
|
@@ -1240,32 +1240,32 @@ export declare const agentLeadDistributionContract: {
|
|
|
1240
1240
|
agent: {
|
|
1241
1241
|
status: "ACTIVE" | "INACTIVE";
|
|
1242
1242
|
id: string;
|
|
1243
|
-
|
|
1244
|
-
lastName: string;
|
|
1245
|
-
email: string;
|
|
1243
|
+
updatedAt: string;
|
|
1246
1244
|
createdAt: string;
|
|
1245
|
+
email: string;
|
|
1246
|
+
lastName: string;
|
|
1247
|
+
firstName: string;
|
|
1247
1248
|
phoneNumbers: {
|
|
1248
1249
|
id: string;
|
|
1249
1250
|
phoneNumber: string;
|
|
1250
1251
|
isPrimary: boolean;
|
|
1251
1252
|
description?: string | null | undefined;
|
|
1252
1253
|
}[];
|
|
1253
|
-
|
|
1254
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1255
|
+
officeId?: string | null | undefined;
|
|
1254
1256
|
office?: {
|
|
1255
1257
|
id: string;
|
|
1256
1258
|
name: string;
|
|
1257
1259
|
managers?: {
|
|
1258
1260
|
id: string;
|
|
1259
|
-
firstName: string;
|
|
1260
1261
|
lastName: string;
|
|
1262
|
+
firstName: string;
|
|
1261
1263
|
}[] | undefined;
|
|
1262
1264
|
} | 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;
|
|
1265
1265
|
canImpersonateUsers?: {
|
|
1266
1266
|
id: string;
|
|
1267
|
-
firstName: string;
|
|
1268
1267
|
lastName: string;
|
|
1268
|
+
firstName: string;
|
|
1269
1269
|
}[] | undefined;
|
|
1270
1270
|
deletedAt?: string | null | undefined;
|
|
1271
1271
|
};
|
|
@@ -1273,8 +1273,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1273
1273
|
company?: {
|
|
1274
1274
|
id: string;
|
|
1275
1275
|
name: string;
|
|
1276
|
-
createdAt: string;
|
|
1277
1276
|
updatedAt: string;
|
|
1277
|
+
createdAt: string;
|
|
1278
1278
|
} | null | undefined;
|
|
1279
1279
|
leadDistributionConfigId?: string | null | undefined;
|
|
1280
1280
|
leadDistributionConfig?: {
|
|
@@ -1295,18 +1295,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1295
1295
|
agent: {
|
|
1296
1296
|
status: "ACTIVE" | "INACTIVE";
|
|
1297
1297
|
id: string;
|
|
1298
|
-
firstName: string;
|
|
1299
|
-
lastName: string;
|
|
1300
|
-
email: string;
|
|
1301
|
-
createdAt: string | Date;
|
|
1302
1298
|
updatedAt: string | Date;
|
|
1299
|
+
createdAt: string | Date;
|
|
1300
|
+
email: string;
|
|
1301
|
+
lastName: string;
|
|
1302
|
+
firstName: string;
|
|
1303
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1304
|
+
officeId?: string | null | undefined;
|
|
1303
1305
|
office?: {
|
|
1304
1306
|
id: string;
|
|
1305
1307
|
name: string;
|
|
1306
1308
|
managers?: {
|
|
1307
1309
|
id: string;
|
|
1308
|
-
firstName: string;
|
|
1309
1310
|
lastName: string;
|
|
1311
|
+
firstName: string;
|
|
1310
1312
|
}[] | undefined;
|
|
1311
1313
|
} | null | undefined;
|
|
1312
1314
|
phoneNumbers?: {
|
|
@@ -1315,12 +1317,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1315
1317
|
description?: string | null | undefined;
|
|
1316
1318
|
isPrimary?: boolean | undefined;
|
|
1317
1319
|
}[] | 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;
|
|
1320
1320
|
canImpersonateUsers?: {
|
|
1321
1321
|
id: string;
|
|
1322
|
-
firstName: string;
|
|
1323
1322
|
lastName: string;
|
|
1323
|
+
firstName: string;
|
|
1324
1324
|
}[] | undefined;
|
|
1325
1325
|
deletedAt?: string | Date | null | undefined;
|
|
1326
1326
|
};
|
|
@@ -1328,8 +1328,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1328
1328
|
company?: {
|
|
1329
1329
|
id: string;
|
|
1330
1330
|
name: string;
|
|
1331
|
-
createdAt: string | Date;
|
|
1332
1331
|
updatedAt: string | Date;
|
|
1332
|
+
createdAt: string | Date;
|
|
1333
1333
|
} | null | undefined;
|
|
1334
1334
|
leadDistributionConfigId?: string | null | undefined;
|
|
1335
1335
|
leadDistributionConfig?: {
|
|
@@ -1472,13 +1472,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1472
1472
|
}, "strip", z.ZodTypeAny, {
|
|
1473
1473
|
id: string;
|
|
1474
1474
|
name: string;
|
|
1475
|
-
createdAt: string;
|
|
1476
1475
|
updatedAt: string;
|
|
1476
|
+
createdAt: string;
|
|
1477
1477
|
}, {
|
|
1478
1478
|
id: string;
|
|
1479
1479
|
name: string;
|
|
1480
|
-
createdAt: string | Date;
|
|
1481
1480
|
updatedAt: string | Date;
|
|
1481
|
+
createdAt: string | Date;
|
|
1482
1482
|
}>>>;
|
|
1483
1483
|
} & {
|
|
1484
1484
|
id: z.ZodString;
|
|
@@ -1514,28 +1514,28 @@ export declare const agentLeadDistributionContract: {
|
|
|
1514
1514
|
lastName: z.ZodString;
|
|
1515
1515
|
}, "strip", z.ZodTypeAny, {
|
|
1516
1516
|
id: string;
|
|
1517
|
-
firstName: string;
|
|
1518
1517
|
lastName: string;
|
|
1518
|
+
firstName: string;
|
|
1519
1519
|
}, {
|
|
1520
1520
|
id: string;
|
|
1521
|
-
firstName: string;
|
|
1522
1521
|
lastName: string;
|
|
1522
|
+
firstName: string;
|
|
1523
1523
|
}>, "many">>;
|
|
1524
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1525
1525
|
id: string;
|
|
1526
1526
|
name: string;
|
|
1527
1527
|
managers?: {
|
|
1528
1528
|
id: string;
|
|
1529
|
-
firstName: string;
|
|
1530
1529
|
lastName: string;
|
|
1530
|
+
firstName: string;
|
|
1531
1531
|
}[] | undefined;
|
|
1532
1532
|
}, {
|
|
1533
1533
|
id: string;
|
|
1534
1534
|
name: string;
|
|
1535
1535
|
managers?: {
|
|
1536
1536
|
id: string;
|
|
1537
|
-
firstName: string;
|
|
1538
1537
|
lastName: string;
|
|
1538
|
+
firstName: string;
|
|
1539
1539
|
}[] | undefined;
|
|
1540
1540
|
}>>>;
|
|
1541
1541
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1544,12 +1544,12 @@ export declare const agentLeadDistributionContract: {
|
|
|
1544
1544
|
lastName: z.ZodString;
|
|
1545
1545
|
}, "strip", z.ZodTypeAny, {
|
|
1546
1546
|
id: string;
|
|
1547
|
-
firstName: string;
|
|
1548
1547
|
lastName: string;
|
|
1548
|
+
firstName: string;
|
|
1549
1549
|
}, {
|
|
1550
1550
|
id: string;
|
|
1551
|
-
firstName: string;
|
|
1552
1551
|
lastName: string;
|
|
1552
|
+
firstName: string;
|
|
1553
1553
|
}>, "many">>;
|
|
1554
1554
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1555
1555
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1558,49 +1558,51 @@ export declare const agentLeadDistributionContract: {
|
|
|
1558
1558
|
}, "strip", z.ZodTypeAny, {
|
|
1559
1559
|
status: "ACTIVE" | "INACTIVE";
|
|
1560
1560
|
id: string;
|
|
1561
|
-
|
|
1562
|
-
lastName: string;
|
|
1563
|
-
email: string;
|
|
1561
|
+
updatedAt: string;
|
|
1564
1562
|
createdAt: string;
|
|
1563
|
+
email: string;
|
|
1564
|
+
lastName: string;
|
|
1565
|
+
firstName: string;
|
|
1565
1566
|
phoneNumbers: {
|
|
1566
1567
|
id: string;
|
|
1567
1568
|
phoneNumber: string;
|
|
1568
1569
|
isPrimary: boolean;
|
|
1569
1570
|
description?: string | null | undefined;
|
|
1570
1571
|
}[];
|
|
1571
|
-
|
|
1572
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1573
|
+
officeId?: string | null | undefined;
|
|
1572
1574
|
office?: {
|
|
1573
1575
|
id: string;
|
|
1574
1576
|
name: string;
|
|
1575
1577
|
managers?: {
|
|
1576
1578
|
id: string;
|
|
1577
|
-
firstName: string;
|
|
1578
1579
|
lastName: string;
|
|
1580
|
+
firstName: string;
|
|
1579
1581
|
}[] | undefined;
|
|
1580
1582
|
} | 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;
|
|
1583
1583
|
canImpersonateUsers?: {
|
|
1584
1584
|
id: string;
|
|
1585
|
-
firstName: string;
|
|
1586
1585
|
lastName: string;
|
|
1586
|
+
firstName: string;
|
|
1587
1587
|
}[] | undefined;
|
|
1588
1588
|
deletedAt?: string | null | undefined;
|
|
1589
1589
|
}, {
|
|
1590
1590
|
status: "ACTIVE" | "INACTIVE";
|
|
1591
1591
|
id: string;
|
|
1592
|
-
firstName: string;
|
|
1593
|
-
lastName: string;
|
|
1594
|
-
email: string;
|
|
1595
|
-
createdAt: string | Date;
|
|
1596
1592
|
updatedAt: string | Date;
|
|
1593
|
+
createdAt: string | Date;
|
|
1594
|
+
email: string;
|
|
1595
|
+
lastName: string;
|
|
1596
|
+
firstName: string;
|
|
1597
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1598
|
+
officeId?: string | null | undefined;
|
|
1597
1599
|
office?: {
|
|
1598
1600
|
id: string;
|
|
1599
1601
|
name: string;
|
|
1600
1602
|
managers?: {
|
|
1601
1603
|
id: string;
|
|
1602
|
-
firstName: string;
|
|
1603
1604
|
lastName: string;
|
|
1605
|
+
firstName: string;
|
|
1604
1606
|
}[] | undefined;
|
|
1605
1607
|
} | null | undefined;
|
|
1606
1608
|
phoneNumbers?: {
|
|
@@ -1609,12 +1611,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1609
1611
|
description?: string | null | undefined;
|
|
1610
1612
|
isPrimary?: boolean | undefined;
|
|
1611
1613
|
}[] | 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;
|
|
1614
1614
|
canImpersonateUsers?: {
|
|
1615
1615
|
id: string;
|
|
1616
|
-
firstName: string;
|
|
1617
1616
|
lastName: string;
|
|
1617
|
+
firstName: string;
|
|
1618
1618
|
}[] | undefined;
|
|
1619
1619
|
deletedAt?: string | Date | null | undefined;
|
|
1620
1620
|
}>;
|
|
@@ -1642,32 +1642,32 @@ export declare const agentLeadDistributionContract: {
|
|
|
1642
1642
|
agent: {
|
|
1643
1643
|
status: "ACTIVE" | "INACTIVE";
|
|
1644
1644
|
id: string;
|
|
1645
|
-
|
|
1646
|
-
lastName: string;
|
|
1647
|
-
email: string;
|
|
1645
|
+
updatedAt: string;
|
|
1648
1646
|
createdAt: string;
|
|
1647
|
+
email: string;
|
|
1648
|
+
lastName: string;
|
|
1649
|
+
firstName: string;
|
|
1649
1650
|
phoneNumbers: {
|
|
1650
1651
|
id: string;
|
|
1651
1652
|
phoneNumber: string;
|
|
1652
1653
|
isPrimary: boolean;
|
|
1653
1654
|
description?: string | null | undefined;
|
|
1654
1655
|
}[];
|
|
1655
|
-
|
|
1656
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1657
|
+
officeId?: string | null | undefined;
|
|
1656
1658
|
office?: {
|
|
1657
1659
|
id: string;
|
|
1658
1660
|
name: string;
|
|
1659
1661
|
managers?: {
|
|
1660
1662
|
id: string;
|
|
1661
|
-
firstName: string;
|
|
1662
1663
|
lastName: string;
|
|
1664
|
+
firstName: string;
|
|
1663
1665
|
}[] | undefined;
|
|
1664
1666
|
} | 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;
|
|
1667
1667
|
canImpersonateUsers?: {
|
|
1668
1668
|
id: string;
|
|
1669
|
-
firstName: string;
|
|
1670
1669
|
lastName: string;
|
|
1670
|
+
firstName: string;
|
|
1671
1671
|
}[] | undefined;
|
|
1672
1672
|
deletedAt?: string | null | undefined;
|
|
1673
1673
|
};
|
|
@@ -1675,8 +1675,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1675
1675
|
company?: {
|
|
1676
1676
|
id: string;
|
|
1677
1677
|
name: string;
|
|
1678
|
-
createdAt: string;
|
|
1679
1678
|
updatedAt: string;
|
|
1679
|
+
createdAt: string;
|
|
1680
1680
|
} | null | undefined;
|
|
1681
1681
|
leadDistributionConfigId?: string | null | undefined;
|
|
1682
1682
|
leadDistributionConfig?: {
|
|
@@ -1690,18 +1690,20 @@ export declare const agentLeadDistributionContract: {
|
|
|
1690
1690
|
agent: {
|
|
1691
1691
|
status: "ACTIVE" | "INACTIVE";
|
|
1692
1692
|
id: string;
|
|
1693
|
-
firstName: string;
|
|
1694
|
-
lastName: string;
|
|
1695
|
-
email: string;
|
|
1696
|
-
createdAt: string | Date;
|
|
1697
1693
|
updatedAt: string | Date;
|
|
1694
|
+
createdAt: string | Date;
|
|
1695
|
+
email: string;
|
|
1696
|
+
lastName: string;
|
|
1697
|
+
firstName: string;
|
|
1698
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1699
|
+
officeId?: string | null | undefined;
|
|
1698
1700
|
office?: {
|
|
1699
1701
|
id: string;
|
|
1700
1702
|
name: string;
|
|
1701
1703
|
managers?: {
|
|
1702
1704
|
id: string;
|
|
1703
|
-
firstName: string;
|
|
1704
1705
|
lastName: string;
|
|
1706
|
+
firstName: string;
|
|
1705
1707
|
}[] | undefined;
|
|
1706
1708
|
} | null | undefined;
|
|
1707
1709
|
phoneNumbers?: {
|
|
@@ -1710,12 +1712,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1710
1712
|
description?: string | null | undefined;
|
|
1711
1713
|
isPrimary?: boolean | undefined;
|
|
1712
1714
|
}[] | 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;
|
|
1715
1715
|
canImpersonateUsers?: {
|
|
1716
1716
|
id: string;
|
|
1717
|
-
firstName: string;
|
|
1718
1717
|
lastName: string;
|
|
1718
|
+
firstName: string;
|
|
1719
1719
|
}[] | undefined;
|
|
1720
1720
|
deletedAt?: string | Date | null | undefined;
|
|
1721
1721
|
};
|
|
@@ -1723,8 +1723,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1723
1723
|
company?: {
|
|
1724
1724
|
id: string;
|
|
1725
1725
|
name: string;
|
|
1726
|
-
createdAt: string | Date;
|
|
1727
1726
|
updatedAt: string | Date;
|
|
1727
|
+
createdAt: string | Date;
|
|
1728
1728
|
} | null | undefined;
|
|
1729
1729
|
leadDistributionConfigId?: string | null | undefined;
|
|
1730
1730
|
leadDistributionConfig?: {
|
|
@@ -1896,13 +1896,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1896
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1897
1897
|
id: string;
|
|
1898
1898
|
name: string;
|
|
1899
|
-
createdAt: string;
|
|
1900
1899
|
updatedAt: string;
|
|
1900
|
+
createdAt: string;
|
|
1901
1901
|
}, {
|
|
1902
1902
|
id: string;
|
|
1903
1903
|
name: string;
|
|
1904
|
-
createdAt: string | Date;
|
|
1905
1904
|
updatedAt: string | Date;
|
|
1905
|
+
createdAt: string | Date;
|
|
1906
1906
|
}>>>;
|
|
1907
1907
|
}, "strip", z.ZodTypeAny, {
|
|
1908
1908
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -1911,8 +1911,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1911
1911
|
company?: {
|
|
1912
1912
|
id: string;
|
|
1913
1913
|
name: string;
|
|
1914
|
-
createdAt: string;
|
|
1915
1914
|
updatedAt: string;
|
|
1915
|
+
createdAt: string;
|
|
1916
1916
|
} | null | undefined;
|
|
1917
1917
|
leadDistributionConfigId?: string | null | undefined;
|
|
1918
1918
|
}, {
|
|
@@ -1922,8 +1922,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
1922
1922
|
company?: {
|
|
1923
1923
|
id: string;
|
|
1924
1924
|
name: string;
|
|
1925
|
-
createdAt: string | Date;
|
|
1926
1925
|
updatedAt: string | Date;
|
|
1926
|
+
createdAt: string | Date;
|
|
1927
1927
|
} | null | undefined;
|
|
1928
1928
|
leadDistributionConfigId?: string | null | undefined;
|
|
1929
1929
|
}>;
|
|
@@ -2070,13 +2070,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
2070
2070
|
}, "strip", z.ZodTypeAny, {
|
|
2071
2071
|
id: string;
|
|
2072
2072
|
name: string;
|
|
2073
|
-
createdAt: string;
|
|
2074
2073
|
updatedAt: string;
|
|
2074
|
+
createdAt: string;
|
|
2075
2075
|
}, {
|
|
2076
2076
|
id: string;
|
|
2077
2077
|
name: string;
|
|
2078
|
-
createdAt: string | Date;
|
|
2079
2078
|
updatedAt: string | Date;
|
|
2079
|
+
createdAt: string | Date;
|
|
2080
2080
|
}>>>;
|
|
2081
2081
|
}, "strip", z.ZodTypeAny, {
|
|
2082
2082
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -2085,8 +2085,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
2085
2085
|
company?: {
|
|
2086
2086
|
id: string;
|
|
2087
2087
|
name: string;
|
|
2088
|
-
createdAt: string;
|
|
2089
2088
|
updatedAt: string;
|
|
2089
|
+
createdAt: string;
|
|
2090
2090
|
} | null | undefined;
|
|
2091
2091
|
leadDistributionConfigId?: string | null | undefined;
|
|
2092
2092
|
}, {
|
|
@@ -2096,8 +2096,8 @@ export declare const agentLeadDistributionContract: {
|
|
|
2096
2096
|
company?: {
|
|
2097
2097
|
id: string;
|
|
2098
2098
|
name: string;
|
|
2099
|
-
createdAt: string | Date;
|
|
2100
2099
|
updatedAt: string | Date;
|
|
2100
|
+
createdAt: string | Date;
|
|
2101
2101
|
} | null | undefined;
|
|
2102
2102
|
leadDistributionConfigId?: string | null | undefined;
|
|
2103
2103
|
}>;
|