@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
|
@@ -22,22 +22,22 @@ export declare const SupplierSchema: z.ZodObject<{
|
|
|
22
22
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
id: string;
|
|
25
|
-
phoneNumber: string;
|
|
26
25
|
name: string;
|
|
27
|
-
email: string | null;
|
|
28
26
|
company: string | null;
|
|
27
|
+
email: string | null;
|
|
28
|
+
phoneNumber: string;
|
|
29
29
|
notes: string | null;
|
|
30
|
-
createdAt?: string | undefined;
|
|
31
30
|
updatedAt?: string | undefined;
|
|
31
|
+
createdAt?: string | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
-
phoneNumber: string;
|
|
35
34
|
name: string;
|
|
36
|
-
email: string | null;
|
|
37
35
|
company: string | null;
|
|
36
|
+
email: string | null;
|
|
37
|
+
phoneNumber: string;
|
|
38
38
|
notes: string | null;
|
|
39
|
-
createdAt?: string | undefined;
|
|
40
39
|
updatedAt?: string | undefined;
|
|
40
|
+
createdAt?: string | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
export declare const CreateSupplierSchema: z.ZodObject<{
|
|
43
43
|
name: z.ZodString;
|
|
@@ -46,16 +46,16 @@ export declare const CreateSupplierSchema: z.ZodObject<{
|
|
|
46
46
|
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
phoneNumber: string;
|
|
50
49
|
name: string;
|
|
51
|
-
|
|
50
|
+
phoneNumber: string;
|
|
52
51
|
company?: string | null | undefined;
|
|
52
|
+
email?: string | null | undefined;
|
|
53
53
|
notes?: string | null | undefined;
|
|
54
54
|
}, {
|
|
55
|
-
phoneNumber: string;
|
|
56
55
|
name: string;
|
|
57
|
-
|
|
56
|
+
phoneNumber: string;
|
|
58
57
|
company?: string | null | undefined;
|
|
58
|
+
email?: string | null | undefined;
|
|
59
59
|
notes?: string | null | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
export type Supplier = z.infer<typeof SupplierSchema>;
|
|
@@ -89,14 +89,14 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
89
89
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
id: string;
|
|
92
|
-
firstName: string;
|
|
93
92
|
lastName: string | null;
|
|
93
|
+
firstName: string;
|
|
94
94
|
hasPhoneNumber: boolean;
|
|
95
95
|
primaryPhoneNumber: string | null;
|
|
96
96
|
}, {
|
|
97
97
|
id: string;
|
|
98
|
-
firstName: string;
|
|
99
98
|
lastName: string | null;
|
|
99
|
+
firstName: string;
|
|
100
100
|
hasPhoneNumber: boolean;
|
|
101
101
|
primaryPhoneNumber: string | null;
|
|
102
102
|
}>>;
|
|
@@ -111,22 +111,22 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
111
111
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
113
|
id: string;
|
|
114
|
-
phoneNumber: string;
|
|
115
114
|
name: string;
|
|
116
|
-
email: string | null;
|
|
117
115
|
company: string | null;
|
|
116
|
+
email: string | null;
|
|
117
|
+
phoneNumber: string;
|
|
118
118
|
notes: string | null;
|
|
119
|
-
createdAt?: string | undefined;
|
|
120
119
|
updatedAt?: string | undefined;
|
|
120
|
+
createdAt?: string | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
id: string;
|
|
123
|
-
phoneNumber: string;
|
|
124
123
|
name: string;
|
|
125
|
-
email: string | null;
|
|
126
124
|
company: string | null;
|
|
125
|
+
email: string | null;
|
|
126
|
+
phoneNumber: string;
|
|
127
127
|
notes: string | null;
|
|
128
|
-
createdAt?: string | undefined;
|
|
129
128
|
updatedAt?: string | undefined;
|
|
129
|
+
createdAt?: string | undefined;
|
|
130
130
|
}>>;
|
|
131
131
|
memberCount: z.ZodNumber;
|
|
132
132
|
maxMembers: z.ZodNumber;
|
|
@@ -138,14 +138,14 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
138
138
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
id: string;
|
|
141
|
-
firstName: string;
|
|
142
141
|
lastName: string | null;
|
|
142
|
+
firstName: string;
|
|
143
143
|
hasPhoneNumber: boolean;
|
|
144
144
|
primaryPhoneNumber: string | null;
|
|
145
145
|
}, {
|
|
146
146
|
id: string;
|
|
147
|
-
firstName: string;
|
|
148
147
|
lastName: string | null;
|
|
148
|
+
firstName: string;
|
|
149
149
|
hasPhoneNumber: boolean;
|
|
150
150
|
primaryPhoneNumber: string | null;
|
|
151
151
|
}>, "many">>;
|
|
@@ -172,8 +172,8 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
172
172
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
174
|
id: string;
|
|
175
|
-
firstName: string;
|
|
176
175
|
lastName: string;
|
|
176
|
+
firstName: string;
|
|
177
177
|
phoneNumbers: {
|
|
178
178
|
id: string;
|
|
179
179
|
phoneNumber: string;
|
|
@@ -183,8 +183,8 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
183
183
|
deletedAt?: string | null | undefined;
|
|
184
184
|
}, {
|
|
185
185
|
id: string;
|
|
186
|
-
firstName: string;
|
|
187
186
|
lastName: string;
|
|
187
|
+
firstName: string;
|
|
188
188
|
phoneNumbers?: {
|
|
189
189
|
id: string;
|
|
190
190
|
phoneNumber: string;
|
|
@@ -201,29 +201,29 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
201
201
|
leadType: "WORKER" | "SUPPLIER";
|
|
202
202
|
leadWorker: {
|
|
203
203
|
id: string;
|
|
204
|
-
firstName: string;
|
|
205
204
|
lastName: string | null;
|
|
205
|
+
firstName: string;
|
|
206
206
|
hasPhoneNumber: boolean;
|
|
207
207
|
primaryPhoneNumber: string | null;
|
|
208
208
|
} | null;
|
|
209
209
|
leadSupplier: {
|
|
210
210
|
id: string;
|
|
211
|
-
phoneNumber: string;
|
|
212
211
|
name: string;
|
|
213
|
-
email: string | null;
|
|
214
212
|
company: string | null;
|
|
213
|
+
email: string | null;
|
|
214
|
+
phoneNumber: string;
|
|
215
215
|
notes: string | null;
|
|
216
|
-
createdAt?: string | undefined;
|
|
217
216
|
updatedAt?: string | undefined;
|
|
217
|
+
createdAt?: string | undefined;
|
|
218
218
|
} | null;
|
|
219
219
|
memberCount: number;
|
|
220
220
|
maxMembers: number;
|
|
221
|
-
createdAt?: string | undefined;
|
|
222
221
|
updatedAt?: string | undefined;
|
|
222
|
+
createdAt?: string | undefined;
|
|
223
223
|
createdBy?: {
|
|
224
224
|
id: string;
|
|
225
|
-
firstName: string;
|
|
226
225
|
lastName: string;
|
|
226
|
+
firstName: string;
|
|
227
227
|
phoneNumbers: {
|
|
228
228
|
id: string;
|
|
229
229
|
phoneNumber: string;
|
|
@@ -234,8 +234,8 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
234
234
|
} | null | undefined;
|
|
235
235
|
members?: {
|
|
236
236
|
id: string;
|
|
237
|
-
firstName: string;
|
|
238
237
|
lastName: string | null;
|
|
238
|
+
firstName: string;
|
|
239
239
|
hasPhoneNumber: boolean;
|
|
240
240
|
primaryPhoneNumber: string | null;
|
|
241
241
|
}[] | undefined;
|
|
@@ -245,29 +245,29 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
245
245
|
leadType: "WORKER" | "SUPPLIER";
|
|
246
246
|
leadWorker: {
|
|
247
247
|
id: string;
|
|
248
|
-
firstName: string;
|
|
249
248
|
lastName: string | null;
|
|
249
|
+
firstName: string;
|
|
250
250
|
hasPhoneNumber: boolean;
|
|
251
251
|
primaryPhoneNumber: string | null;
|
|
252
252
|
} | null;
|
|
253
253
|
leadSupplier: {
|
|
254
254
|
id: string;
|
|
255
|
-
phoneNumber: string;
|
|
256
255
|
name: string;
|
|
257
|
-
email: string | null;
|
|
258
256
|
company: string | null;
|
|
257
|
+
email: string | null;
|
|
258
|
+
phoneNumber: string;
|
|
259
259
|
notes: string | null;
|
|
260
|
-
createdAt?: string | undefined;
|
|
261
260
|
updatedAt?: string | undefined;
|
|
261
|
+
createdAt?: string | undefined;
|
|
262
262
|
} | null;
|
|
263
263
|
memberCount: number;
|
|
264
264
|
maxMembers: number;
|
|
265
|
-
createdAt?: string | undefined;
|
|
266
265
|
updatedAt?: string | undefined;
|
|
266
|
+
createdAt?: string | undefined;
|
|
267
267
|
createdBy?: {
|
|
268
268
|
id: string;
|
|
269
|
-
firstName: string;
|
|
270
269
|
lastName: string;
|
|
270
|
+
firstName: string;
|
|
271
271
|
phoneNumbers?: {
|
|
272
272
|
id: string;
|
|
273
273
|
phoneNumber: string;
|
|
@@ -278,8 +278,8 @@ export declare const CrewSchema: z.ZodObject<{
|
|
|
278
278
|
} | null | undefined;
|
|
279
279
|
members?: {
|
|
280
280
|
id: string;
|
|
281
|
-
firstName: string;
|
|
282
281
|
lastName: string | null;
|
|
282
|
+
firstName: string;
|
|
283
283
|
hasPhoneNumber: boolean;
|
|
284
284
|
primaryPhoneNumber: string | null;
|
|
285
285
|
}[] | undefined;
|
|
@@ -302,16 +302,16 @@ export declare const CreateCrewObjectSchema: z.ZodEffects<z.ZodObject<{
|
|
|
302
302
|
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
303
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
phoneNumber: string;
|
|
306
305
|
name: string;
|
|
307
|
-
|
|
306
|
+
phoneNumber: string;
|
|
308
307
|
company?: string | null | undefined;
|
|
308
|
+
email?: string | null | undefined;
|
|
309
309
|
notes?: string | null | undefined;
|
|
310
310
|
}, {
|
|
311
|
-
phoneNumber: string;
|
|
312
311
|
name: string;
|
|
313
|
-
|
|
312
|
+
phoneNumber: string;
|
|
314
313
|
company?: string | null | undefined;
|
|
314
|
+
email?: string | null | undefined;
|
|
315
315
|
notes?: string | null | undefined;
|
|
316
316
|
}>>;
|
|
317
317
|
maxMembers: z.ZodOptional<z.ZodNumber>;
|
|
@@ -320,10 +320,10 @@ export declare const CreateCrewObjectSchema: z.ZodEffects<z.ZodObject<{
|
|
|
320
320
|
leadType: "WORKER" | "SUPPLIER";
|
|
321
321
|
leadWorkerId?: string | undefined;
|
|
322
322
|
supplier?: {
|
|
323
|
-
phoneNumber: string;
|
|
324
323
|
name: string;
|
|
325
|
-
|
|
324
|
+
phoneNumber: string;
|
|
326
325
|
company?: string | null | undefined;
|
|
326
|
+
email?: string | null | undefined;
|
|
327
327
|
notes?: string | null | undefined;
|
|
328
328
|
} | undefined;
|
|
329
329
|
maxMembers?: number | undefined;
|
|
@@ -332,10 +332,10 @@ export declare const CreateCrewObjectSchema: z.ZodEffects<z.ZodObject<{
|
|
|
332
332
|
leadType: "WORKER" | "SUPPLIER";
|
|
333
333
|
leadWorkerId?: string | undefined;
|
|
334
334
|
supplier?: {
|
|
335
|
-
phoneNumber: string;
|
|
336
335
|
name: string;
|
|
337
|
-
|
|
336
|
+
phoneNumber: string;
|
|
338
337
|
company?: string | null | undefined;
|
|
338
|
+
email?: string | null | undefined;
|
|
339
339
|
notes?: string | null | undefined;
|
|
340
340
|
} | undefined;
|
|
341
341
|
maxMembers?: number | undefined;
|
|
@@ -344,10 +344,10 @@ export declare const CreateCrewObjectSchema: z.ZodEffects<z.ZodObject<{
|
|
|
344
344
|
leadType: "WORKER" | "SUPPLIER";
|
|
345
345
|
leadWorkerId?: string | undefined;
|
|
346
346
|
supplier?: {
|
|
347
|
-
phoneNumber: string;
|
|
348
347
|
name: string;
|
|
349
|
-
|
|
348
|
+
phoneNumber: string;
|
|
350
349
|
company?: string | null | undefined;
|
|
350
|
+
email?: string | null | undefined;
|
|
351
351
|
notes?: string | null | undefined;
|
|
352
352
|
} | undefined;
|
|
353
353
|
maxMembers?: number | undefined;
|
|
@@ -356,10 +356,10 @@ export declare const CreateCrewObjectSchema: z.ZodEffects<z.ZodObject<{
|
|
|
356
356
|
leadType: "WORKER" | "SUPPLIER";
|
|
357
357
|
leadWorkerId?: string | undefined;
|
|
358
358
|
supplier?: {
|
|
359
|
-
phoneNumber: string;
|
|
360
359
|
name: string;
|
|
361
|
-
|
|
360
|
+
phoneNumber: string;
|
|
362
361
|
company?: string | null | undefined;
|
|
362
|
+
email?: string | null | undefined;
|
|
363
363
|
notes?: string | null | undefined;
|
|
364
364
|
} | undefined;
|
|
365
365
|
maxMembers?: number | undefined;
|
|
@@ -387,16 +387,16 @@ export declare const CreateCrewSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
387
387
|
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
388
388
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
phoneNumber: string;
|
|
391
390
|
name: string;
|
|
392
|
-
|
|
391
|
+
phoneNumber: string;
|
|
393
392
|
company?: string | null | undefined;
|
|
393
|
+
email?: string | null | undefined;
|
|
394
394
|
notes?: string | null | undefined;
|
|
395
395
|
}, {
|
|
396
|
-
phoneNumber: string;
|
|
397
396
|
name: string;
|
|
398
|
-
|
|
397
|
+
phoneNumber: string;
|
|
399
398
|
company?: string | null | undefined;
|
|
399
|
+
email?: string | null | undefined;
|
|
400
400
|
notes?: string | null | undefined;
|
|
401
401
|
}>>;
|
|
402
402
|
maxMembers: z.ZodOptional<z.ZodNumber>;
|
|
@@ -405,10 +405,10 @@ export declare const CreateCrewSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
405
405
|
leadType: "WORKER" | "SUPPLIER";
|
|
406
406
|
leadWorkerId?: string | undefined;
|
|
407
407
|
supplier?: {
|
|
408
|
-
phoneNumber: string;
|
|
409
408
|
name: string;
|
|
410
|
-
|
|
409
|
+
phoneNumber: string;
|
|
411
410
|
company?: string | null | undefined;
|
|
411
|
+
email?: string | null | undefined;
|
|
412
412
|
notes?: string | null | undefined;
|
|
413
413
|
} | undefined;
|
|
414
414
|
maxMembers?: number | undefined;
|
|
@@ -417,10 +417,10 @@ export declare const CreateCrewSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
417
417
|
leadType: "WORKER" | "SUPPLIER";
|
|
418
418
|
leadWorkerId?: string | undefined;
|
|
419
419
|
supplier?: {
|
|
420
|
-
phoneNumber: string;
|
|
421
420
|
name: string;
|
|
422
|
-
|
|
421
|
+
phoneNumber: string;
|
|
423
422
|
company?: string | null | undefined;
|
|
423
|
+
email?: string | null | undefined;
|
|
424
424
|
notes?: string | null | undefined;
|
|
425
425
|
} | undefined;
|
|
426
426
|
maxMembers?: number | undefined;
|
|
@@ -429,10 +429,10 @@ export declare const CreateCrewSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
429
429
|
leadType: "WORKER" | "SUPPLIER";
|
|
430
430
|
leadWorkerId?: string | undefined;
|
|
431
431
|
supplier?: {
|
|
432
|
-
phoneNumber: string;
|
|
433
432
|
name: string;
|
|
434
|
-
|
|
433
|
+
phoneNumber: string;
|
|
435
434
|
company?: string | null | undefined;
|
|
435
|
+
email?: string | null | undefined;
|
|
436
436
|
notes?: string | null | undefined;
|
|
437
437
|
} | undefined;
|
|
438
438
|
maxMembers?: number | undefined;
|
|
@@ -441,10 +441,10 @@ export declare const CreateCrewSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
441
441
|
leadType: "WORKER" | "SUPPLIER";
|
|
442
442
|
leadWorkerId?: string | undefined;
|
|
443
443
|
supplier?: {
|
|
444
|
-
phoneNumber: string;
|
|
445
444
|
name: string;
|
|
446
|
-
|
|
445
|
+
phoneNumber: string;
|
|
447
446
|
company?: string | null | undefined;
|
|
447
|
+
email?: string | null | undefined;
|
|
448
448
|
notes?: string | null | undefined;
|
|
449
449
|
} | undefined;
|
|
450
450
|
maxMembers?: number | undefined;
|
|
@@ -453,10 +453,10 @@ export declare const CreateCrewSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
453
453
|
leadType: "WORKER" | "SUPPLIER";
|
|
454
454
|
leadWorkerId?: string | undefined;
|
|
455
455
|
supplier?: {
|
|
456
|
-
phoneNumber: string;
|
|
457
456
|
name: string;
|
|
458
|
-
|
|
457
|
+
phoneNumber: string;
|
|
459
458
|
company?: string | null | undefined;
|
|
459
|
+
email?: string | null | undefined;
|
|
460
460
|
notes?: string | null | undefined;
|
|
461
461
|
} | undefined;
|
|
462
462
|
maxMembers?: number | undefined;
|
|
@@ -485,32 +485,32 @@ export declare const FilterCrewSchema: z.ZodObject<{
|
|
|
485
485
|
field: z.ZodEnum<["name", "createdAt", "updatedAt"]>;
|
|
486
486
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
487
487
|
}, "strip", z.ZodTypeAny, {
|
|
488
|
-
field: "name" | "
|
|
488
|
+
field: "name" | "updatedAt" | "createdAt";
|
|
489
489
|
order: "ASC" | "DESC";
|
|
490
490
|
}, {
|
|
491
|
-
field: "name" | "
|
|
491
|
+
field: "name" | "updatedAt" | "createdAt";
|
|
492
492
|
order: "ASC" | "DESC";
|
|
493
493
|
}>, "many">>>;
|
|
494
494
|
} & {
|
|
495
495
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
496
496
|
page: z.ZodDefault<z.ZodNumber>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
limit: number;
|
|
499
498
|
page: number;
|
|
499
|
+
limit: number;
|
|
500
500
|
sort?: {
|
|
501
|
-
field: "name" | "
|
|
501
|
+
field: "name" | "updatedAt" | "createdAt";
|
|
502
502
|
order: "ASC" | "DESC";
|
|
503
503
|
}[] | null | undefined;
|
|
504
504
|
name?: string | undefined;
|
|
505
505
|
leadType?: "WORKER" | "SUPPLIER" | undefined;
|
|
506
506
|
}, {
|
|
507
507
|
sort?: {
|
|
508
|
-
field: "name" | "
|
|
508
|
+
field: "name" | "updatedAt" | "createdAt";
|
|
509
509
|
order: "ASC" | "DESC";
|
|
510
510
|
}[] | null | undefined;
|
|
511
|
-
name?: string | undefined;
|
|
512
|
-
limit?: number | undefined;
|
|
513
511
|
page?: number | undefined;
|
|
512
|
+
limit?: number | undefined;
|
|
513
|
+
name?: string | undefined;
|
|
514
514
|
leadType?: "WORKER" | "SUPPLIER" | undefined;
|
|
515
515
|
}>;
|
|
516
516
|
export type Crew = z.infer<typeof CrewSchema>;
|
|
@@ -531,14 +531,14 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
531
531
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
533
|
id: string;
|
|
534
|
-
firstName: string;
|
|
535
534
|
lastName: string | null;
|
|
535
|
+
firstName: string;
|
|
536
536
|
hasPhoneNumber: boolean;
|
|
537
537
|
primaryPhoneNumber: string | null;
|
|
538
538
|
}, {
|
|
539
539
|
id: string;
|
|
540
|
-
firstName: string;
|
|
541
540
|
lastName: string | null;
|
|
541
|
+
firstName: string;
|
|
542
542
|
hasPhoneNumber: boolean;
|
|
543
543
|
primaryPhoneNumber: string | null;
|
|
544
544
|
}>>;
|
|
@@ -553,22 +553,22 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
553
553
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
554
554
|
}, "strip", z.ZodTypeAny, {
|
|
555
555
|
id: string;
|
|
556
|
-
phoneNumber: string;
|
|
557
556
|
name: string;
|
|
558
|
-
email: string | null;
|
|
559
557
|
company: string | null;
|
|
558
|
+
email: string | null;
|
|
559
|
+
phoneNumber: string;
|
|
560
560
|
notes: string | null;
|
|
561
|
-
createdAt?: string | undefined;
|
|
562
561
|
updatedAt?: string | undefined;
|
|
562
|
+
createdAt?: string | undefined;
|
|
563
563
|
}, {
|
|
564
564
|
id: string;
|
|
565
|
-
phoneNumber: string;
|
|
566
565
|
name: string;
|
|
567
|
-
email: string | null;
|
|
568
566
|
company: string | null;
|
|
567
|
+
email: string | null;
|
|
568
|
+
phoneNumber: string;
|
|
569
569
|
notes: string | null;
|
|
570
|
-
createdAt?: string | undefined;
|
|
571
570
|
updatedAt?: string | undefined;
|
|
571
|
+
createdAt?: string | undefined;
|
|
572
572
|
}>>;
|
|
573
573
|
memberCount: z.ZodNumber;
|
|
574
574
|
maxMembers: z.ZodNumber;
|
|
@@ -580,14 +580,14 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
580
580
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
581
581
|
}, "strip", z.ZodTypeAny, {
|
|
582
582
|
id: string;
|
|
583
|
-
firstName: string;
|
|
584
583
|
lastName: string | null;
|
|
584
|
+
firstName: string;
|
|
585
585
|
hasPhoneNumber: boolean;
|
|
586
586
|
primaryPhoneNumber: string | null;
|
|
587
587
|
}, {
|
|
588
588
|
id: string;
|
|
589
|
-
firstName: string;
|
|
590
589
|
lastName: string | null;
|
|
590
|
+
firstName: string;
|
|
591
591
|
hasPhoneNumber: boolean;
|
|
592
592
|
primaryPhoneNumber: string | null;
|
|
593
593
|
}>, "many">>;
|
|
@@ -614,8 +614,8 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
614
614
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
615
615
|
}, "strip", z.ZodTypeAny, {
|
|
616
616
|
id: string;
|
|
617
|
-
firstName: string;
|
|
618
617
|
lastName: string;
|
|
618
|
+
firstName: string;
|
|
619
619
|
phoneNumbers: {
|
|
620
620
|
id: string;
|
|
621
621
|
phoneNumber: string;
|
|
@@ -625,8 +625,8 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
625
625
|
deletedAt?: string | null | undefined;
|
|
626
626
|
}, {
|
|
627
627
|
id: string;
|
|
628
|
-
firstName: string;
|
|
629
628
|
lastName: string;
|
|
629
|
+
firstName: string;
|
|
630
630
|
phoneNumbers?: {
|
|
631
631
|
id: string;
|
|
632
632
|
phoneNumber: string;
|
|
@@ -643,29 +643,29 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
643
643
|
leadType: "WORKER" | "SUPPLIER";
|
|
644
644
|
leadWorker: {
|
|
645
645
|
id: string;
|
|
646
|
-
firstName: string;
|
|
647
646
|
lastName: string | null;
|
|
647
|
+
firstName: string;
|
|
648
648
|
hasPhoneNumber: boolean;
|
|
649
649
|
primaryPhoneNumber: string | null;
|
|
650
650
|
} | null;
|
|
651
651
|
leadSupplier: {
|
|
652
652
|
id: string;
|
|
653
|
-
phoneNumber: string;
|
|
654
653
|
name: string;
|
|
655
|
-
email: string | null;
|
|
656
654
|
company: string | null;
|
|
655
|
+
email: string | null;
|
|
656
|
+
phoneNumber: string;
|
|
657
657
|
notes: string | null;
|
|
658
|
-
createdAt?: string | undefined;
|
|
659
658
|
updatedAt?: string | undefined;
|
|
659
|
+
createdAt?: string | undefined;
|
|
660
660
|
} | null;
|
|
661
661
|
memberCount: number;
|
|
662
662
|
maxMembers: number;
|
|
663
|
-
createdAt?: string | undefined;
|
|
664
663
|
updatedAt?: string | undefined;
|
|
664
|
+
createdAt?: string | undefined;
|
|
665
665
|
createdBy?: {
|
|
666
666
|
id: string;
|
|
667
|
-
firstName: string;
|
|
668
667
|
lastName: string;
|
|
668
|
+
firstName: string;
|
|
669
669
|
phoneNumbers: {
|
|
670
670
|
id: string;
|
|
671
671
|
phoneNumber: string;
|
|
@@ -676,8 +676,8 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
676
676
|
} | null | undefined;
|
|
677
677
|
members?: {
|
|
678
678
|
id: string;
|
|
679
|
-
firstName: string;
|
|
680
679
|
lastName: string | null;
|
|
680
|
+
firstName: string;
|
|
681
681
|
hasPhoneNumber: boolean;
|
|
682
682
|
primaryPhoneNumber: string | null;
|
|
683
683
|
}[] | undefined;
|
|
@@ -687,29 +687,29 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
687
687
|
leadType: "WORKER" | "SUPPLIER";
|
|
688
688
|
leadWorker: {
|
|
689
689
|
id: string;
|
|
690
|
-
firstName: string;
|
|
691
690
|
lastName: string | null;
|
|
691
|
+
firstName: string;
|
|
692
692
|
hasPhoneNumber: boolean;
|
|
693
693
|
primaryPhoneNumber: string | null;
|
|
694
694
|
} | null;
|
|
695
695
|
leadSupplier: {
|
|
696
696
|
id: string;
|
|
697
|
-
phoneNumber: string;
|
|
698
697
|
name: string;
|
|
699
|
-
email: string | null;
|
|
700
698
|
company: string | null;
|
|
699
|
+
email: string | null;
|
|
700
|
+
phoneNumber: string;
|
|
701
701
|
notes: string | null;
|
|
702
|
-
createdAt?: string | undefined;
|
|
703
702
|
updatedAt?: string | undefined;
|
|
703
|
+
createdAt?: string | undefined;
|
|
704
704
|
} | null;
|
|
705
705
|
memberCount: number;
|
|
706
706
|
maxMembers: number;
|
|
707
|
-
createdAt?: string | undefined;
|
|
708
707
|
updatedAt?: string | undefined;
|
|
708
|
+
createdAt?: string | undefined;
|
|
709
709
|
createdBy?: {
|
|
710
710
|
id: string;
|
|
711
|
-
firstName: string;
|
|
712
711
|
lastName: string;
|
|
712
|
+
firstName: string;
|
|
713
713
|
phoneNumbers?: {
|
|
714
714
|
id: string;
|
|
715
715
|
phoneNumber: string;
|
|
@@ -720,8 +720,8 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
720
720
|
} | null | undefined;
|
|
721
721
|
members?: {
|
|
722
722
|
id: string;
|
|
723
|
-
firstName: string;
|
|
724
723
|
lastName: string | null;
|
|
724
|
+
firstName: string;
|
|
725
725
|
hasPhoneNumber: boolean;
|
|
726
726
|
primaryPhoneNumber: string | null;
|
|
727
727
|
}[] | undefined;
|
|
@@ -739,29 +739,29 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
739
739
|
leadType: "WORKER" | "SUPPLIER";
|
|
740
740
|
leadWorker: {
|
|
741
741
|
id: string;
|
|
742
|
-
firstName: string;
|
|
743
742
|
lastName: string | null;
|
|
743
|
+
firstName: string;
|
|
744
744
|
hasPhoneNumber: boolean;
|
|
745
745
|
primaryPhoneNumber: string | null;
|
|
746
746
|
} | null;
|
|
747
747
|
leadSupplier: {
|
|
748
748
|
id: string;
|
|
749
|
-
phoneNumber: string;
|
|
750
749
|
name: string;
|
|
751
|
-
email: string | null;
|
|
752
750
|
company: string | null;
|
|
751
|
+
email: string | null;
|
|
752
|
+
phoneNumber: string;
|
|
753
753
|
notes: string | null;
|
|
754
|
-
createdAt?: string | undefined;
|
|
755
754
|
updatedAt?: string | undefined;
|
|
755
|
+
createdAt?: string | undefined;
|
|
756
756
|
} | null;
|
|
757
757
|
memberCount: number;
|
|
758
758
|
maxMembers: number;
|
|
759
|
-
createdAt?: string | undefined;
|
|
760
759
|
updatedAt?: string | undefined;
|
|
760
|
+
createdAt?: string | undefined;
|
|
761
761
|
createdBy?: {
|
|
762
762
|
id: string;
|
|
763
|
-
firstName: string;
|
|
764
763
|
lastName: string;
|
|
764
|
+
firstName: string;
|
|
765
765
|
phoneNumbers: {
|
|
766
766
|
id: string;
|
|
767
767
|
phoneNumber: string;
|
|
@@ -772,8 +772,8 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
772
772
|
} | null | undefined;
|
|
773
773
|
members?: {
|
|
774
774
|
id: string;
|
|
775
|
-
firstName: string;
|
|
776
775
|
lastName: string | null;
|
|
776
|
+
firstName: string;
|
|
777
777
|
hasPhoneNumber: boolean;
|
|
778
778
|
primaryPhoneNumber: string | null;
|
|
779
779
|
}[] | undefined;
|
|
@@ -790,29 +790,29 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
790
790
|
leadType: "WORKER" | "SUPPLIER";
|
|
791
791
|
leadWorker: {
|
|
792
792
|
id: string;
|
|
793
|
-
firstName: string;
|
|
794
793
|
lastName: string | null;
|
|
794
|
+
firstName: string;
|
|
795
795
|
hasPhoneNumber: boolean;
|
|
796
796
|
primaryPhoneNumber: string | null;
|
|
797
797
|
} | null;
|
|
798
798
|
leadSupplier: {
|
|
799
799
|
id: string;
|
|
800
|
-
phoneNumber: string;
|
|
801
800
|
name: string;
|
|
802
|
-
email: string | null;
|
|
803
801
|
company: string | null;
|
|
802
|
+
email: string | null;
|
|
803
|
+
phoneNumber: string;
|
|
804
804
|
notes: string | null;
|
|
805
|
-
createdAt?: string | undefined;
|
|
806
805
|
updatedAt?: string | undefined;
|
|
806
|
+
createdAt?: string | undefined;
|
|
807
807
|
} | null;
|
|
808
808
|
memberCount: number;
|
|
809
809
|
maxMembers: number;
|
|
810
|
-
createdAt?: string | undefined;
|
|
811
810
|
updatedAt?: string | undefined;
|
|
811
|
+
createdAt?: string | undefined;
|
|
812
812
|
createdBy?: {
|
|
813
813
|
id: string;
|
|
814
|
-
firstName: string;
|
|
815
814
|
lastName: string;
|
|
815
|
+
firstName: string;
|
|
816
816
|
phoneNumbers?: {
|
|
817
817
|
id: string;
|
|
818
818
|
phoneNumber: string;
|
|
@@ -823,8 +823,8 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
|
|
|
823
823
|
} | null | undefined;
|
|
824
824
|
members?: {
|
|
825
825
|
id: string;
|
|
826
|
-
firstName: string;
|
|
827
826
|
lastName: string | null;
|
|
827
|
+
firstName: string;
|
|
828
828
|
hasPhoneNumber: boolean;
|
|
829
829
|
primaryPhoneNumber: string | null;
|
|
830
830
|
}[] | undefined;
|
|
@@ -852,16 +852,16 @@ export declare const crewsContract: {
|
|
|
852
852
|
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
853
853
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
854
854
|
}, "strip", z.ZodTypeAny, {
|
|
855
|
-
phoneNumber: string;
|
|
856
855
|
name: string;
|
|
857
|
-
|
|
856
|
+
phoneNumber: string;
|
|
858
857
|
company?: string | null | undefined;
|
|
858
|
+
email?: string | null | undefined;
|
|
859
859
|
notes?: string | null | undefined;
|
|
860
860
|
}, {
|
|
861
|
-
phoneNumber: string;
|
|
862
861
|
name: string;
|
|
863
|
-
|
|
862
|
+
phoneNumber: string;
|
|
864
863
|
company?: string | null | undefined;
|
|
864
|
+
email?: string | null | undefined;
|
|
865
865
|
notes?: string | null | undefined;
|
|
866
866
|
}>>;
|
|
867
867
|
maxMembers: z.ZodOptional<z.ZodNumber>;
|
|
@@ -870,10 +870,10 @@ export declare const crewsContract: {
|
|
|
870
870
|
leadType: "WORKER" | "SUPPLIER";
|
|
871
871
|
leadWorkerId?: string | undefined;
|
|
872
872
|
supplier?: {
|
|
873
|
-
phoneNumber: string;
|
|
874
873
|
name: string;
|
|
875
|
-
|
|
874
|
+
phoneNumber: string;
|
|
876
875
|
company?: string | null | undefined;
|
|
876
|
+
email?: string | null | undefined;
|
|
877
877
|
notes?: string | null | undefined;
|
|
878
878
|
} | undefined;
|
|
879
879
|
maxMembers?: number | undefined;
|
|
@@ -882,10 +882,10 @@ export declare const crewsContract: {
|
|
|
882
882
|
leadType: "WORKER" | "SUPPLIER";
|
|
883
883
|
leadWorkerId?: string | undefined;
|
|
884
884
|
supplier?: {
|
|
885
|
-
phoneNumber: string;
|
|
886
885
|
name: string;
|
|
887
|
-
|
|
886
|
+
phoneNumber: string;
|
|
888
887
|
company?: string | null | undefined;
|
|
888
|
+
email?: string | null | undefined;
|
|
889
889
|
notes?: string | null | undefined;
|
|
890
890
|
} | undefined;
|
|
891
891
|
maxMembers?: number | undefined;
|
|
@@ -894,10 +894,10 @@ export declare const crewsContract: {
|
|
|
894
894
|
leadType: "WORKER" | "SUPPLIER";
|
|
895
895
|
leadWorkerId?: string | undefined;
|
|
896
896
|
supplier?: {
|
|
897
|
-
phoneNumber: string;
|
|
898
897
|
name: string;
|
|
899
|
-
|
|
898
|
+
phoneNumber: string;
|
|
900
899
|
company?: string | null | undefined;
|
|
900
|
+
email?: string | null | undefined;
|
|
901
901
|
notes?: string | null | undefined;
|
|
902
902
|
} | undefined;
|
|
903
903
|
maxMembers?: number | undefined;
|
|
@@ -906,10 +906,10 @@ export declare const crewsContract: {
|
|
|
906
906
|
leadType: "WORKER" | "SUPPLIER";
|
|
907
907
|
leadWorkerId?: string | undefined;
|
|
908
908
|
supplier?: {
|
|
909
|
-
phoneNumber: string;
|
|
910
909
|
name: string;
|
|
911
|
-
|
|
910
|
+
phoneNumber: string;
|
|
912
911
|
company?: string | null | undefined;
|
|
912
|
+
email?: string | null | undefined;
|
|
913
913
|
notes?: string | null | undefined;
|
|
914
914
|
} | undefined;
|
|
915
915
|
maxMembers?: number | undefined;
|
|
@@ -918,10 +918,10 @@ export declare const crewsContract: {
|
|
|
918
918
|
leadType: "WORKER" | "SUPPLIER";
|
|
919
919
|
leadWorkerId?: string | undefined;
|
|
920
920
|
supplier?: {
|
|
921
|
-
phoneNumber: string;
|
|
922
921
|
name: string;
|
|
923
|
-
|
|
922
|
+
phoneNumber: string;
|
|
924
923
|
company?: string | null | undefined;
|
|
924
|
+
email?: string | null | undefined;
|
|
925
925
|
notes?: string | null | undefined;
|
|
926
926
|
} | undefined;
|
|
927
927
|
maxMembers?: number | undefined;
|
|
@@ -1040,14 +1040,14 @@ export declare const crewsContract: {
|
|
|
1040
1040
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
1041
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1042
1042
|
id: string;
|
|
1043
|
-
firstName: string;
|
|
1044
1043
|
lastName: string | null;
|
|
1044
|
+
firstName: string;
|
|
1045
1045
|
hasPhoneNumber: boolean;
|
|
1046
1046
|
primaryPhoneNumber: string | null;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
id: string;
|
|
1049
|
-
firstName: string;
|
|
1050
1049
|
lastName: string | null;
|
|
1050
|
+
firstName: string;
|
|
1051
1051
|
hasPhoneNumber: boolean;
|
|
1052
1052
|
primaryPhoneNumber: string | null;
|
|
1053
1053
|
}>>;
|
|
@@ -1062,22 +1062,22 @@ export declare const crewsContract: {
|
|
|
1062
1062
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1063
1063
|
}, "strip", z.ZodTypeAny, {
|
|
1064
1064
|
id: string;
|
|
1065
|
-
phoneNumber: string;
|
|
1066
1065
|
name: string;
|
|
1067
|
-
email: string | null;
|
|
1068
1066
|
company: string | null;
|
|
1067
|
+
email: string | null;
|
|
1068
|
+
phoneNumber: string;
|
|
1069
1069
|
notes: string | null;
|
|
1070
|
-
createdAt?: string | undefined;
|
|
1071
1070
|
updatedAt?: string | undefined;
|
|
1071
|
+
createdAt?: string | undefined;
|
|
1072
1072
|
}, {
|
|
1073
1073
|
id: string;
|
|
1074
|
-
phoneNumber: string;
|
|
1075
1074
|
name: string;
|
|
1076
|
-
email: string | null;
|
|
1077
1075
|
company: string | null;
|
|
1076
|
+
email: string | null;
|
|
1077
|
+
phoneNumber: string;
|
|
1078
1078
|
notes: string | null;
|
|
1079
|
-
createdAt?: string | undefined;
|
|
1080
1079
|
updatedAt?: string | undefined;
|
|
1080
|
+
createdAt?: string | undefined;
|
|
1081
1081
|
}>>;
|
|
1082
1082
|
memberCount: z.ZodNumber;
|
|
1083
1083
|
maxMembers: z.ZodNumber;
|
|
@@ -1089,14 +1089,14 @@ export declare const crewsContract: {
|
|
|
1089
1089
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
1090
1090
|
}, "strip", z.ZodTypeAny, {
|
|
1091
1091
|
id: string;
|
|
1092
|
-
firstName: string;
|
|
1093
1092
|
lastName: string | null;
|
|
1093
|
+
firstName: string;
|
|
1094
1094
|
hasPhoneNumber: boolean;
|
|
1095
1095
|
primaryPhoneNumber: string | null;
|
|
1096
1096
|
}, {
|
|
1097
1097
|
id: string;
|
|
1098
|
-
firstName: string;
|
|
1099
1098
|
lastName: string | null;
|
|
1099
|
+
firstName: string;
|
|
1100
1100
|
hasPhoneNumber: boolean;
|
|
1101
1101
|
primaryPhoneNumber: string | null;
|
|
1102
1102
|
}>, "many">>;
|
|
@@ -1123,8 +1123,8 @@ export declare const crewsContract: {
|
|
|
1123
1123
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1124
1124
|
}, "strip", z.ZodTypeAny, {
|
|
1125
1125
|
id: string;
|
|
1126
|
-
firstName: string;
|
|
1127
1126
|
lastName: string;
|
|
1127
|
+
firstName: string;
|
|
1128
1128
|
phoneNumbers: {
|
|
1129
1129
|
id: string;
|
|
1130
1130
|
phoneNumber: string;
|
|
@@ -1134,8 +1134,8 @@ export declare const crewsContract: {
|
|
|
1134
1134
|
deletedAt?: string | null | undefined;
|
|
1135
1135
|
}, {
|
|
1136
1136
|
id: string;
|
|
1137
|
-
firstName: string;
|
|
1138
1137
|
lastName: string;
|
|
1138
|
+
firstName: string;
|
|
1139
1139
|
phoneNumbers?: {
|
|
1140
1140
|
id: string;
|
|
1141
1141
|
phoneNumber: string;
|
|
@@ -1152,29 +1152,29 @@ export declare const crewsContract: {
|
|
|
1152
1152
|
leadType: "WORKER" | "SUPPLIER";
|
|
1153
1153
|
leadWorker: {
|
|
1154
1154
|
id: string;
|
|
1155
|
-
firstName: string;
|
|
1156
1155
|
lastName: string | null;
|
|
1156
|
+
firstName: string;
|
|
1157
1157
|
hasPhoneNumber: boolean;
|
|
1158
1158
|
primaryPhoneNumber: string | null;
|
|
1159
1159
|
} | null;
|
|
1160
1160
|
leadSupplier: {
|
|
1161
1161
|
id: string;
|
|
1162
|
-
phoneNumber: string;
|
|
1163
1162
|
name: string;
|
|
1164
|
-
email: string | null;
|
|
1165
1163
|
company: string | null;
|
|
1164
|
+
email: string | null;
|
|
1165
|
+
phoneNumber: string;
|
|
1166
1166
|
notes: string | null;
|
|
1167
|
-
createdAt?: string | undefined;
|
|
1168
1167
|
updatedAt?: string | undefined;
|
|
1168
|
+
createdAt?: string | undefined;
|
|
1169
1169
|
} | null;
|
|
1170
1170
|
memberCount: number;
|
|
1171
1171
|
maxMembers: number;
|
|
1172
|
-
createdAt?: string | undefined;
|
|
1173
1172
|
updatedAt?: string | undefined;
|
|
1173
|
+
createdAt?: string | undefined;
|
|
1174
1174
|
createdBy?: {
|
|
1175
1175
|
id: string;
|
|
1176
|
-
firstName: string;
|
|
1177
1176
|
lastName: string;
|
|
1177
|
+
firstName: string;
|
|
1178
1178
|
phoneNumbers: {
|
|
1179
1179
|
id: string;
|
|
1180
1180
|
phoneNumber: string;
|
|
@@ -1185,8 +1185,8 @@ export declare const crewsContract: {
|
|
|
1185
1185
|
} | null | undefined;
|
|
1186
1186
|
members?: {
|
|
1187
1187
|
id: string;
|
|
1188
|
-
firstName: string;
|
|
1189
1188
|
lastName: string | null;
|
|
1189
|
+
firstName: string;
|
|
1190
1190
|
hasPhoneNumber: boolean;
|
|
1191
1191
|
primaryPhoneNumber: string | null;
|
|
1192
1192
|
}[] | undefined;
|
|
@@ -1196,29 +1196,29 @@ export declare const crewsContract: {
|
|
|
1196
1196
|
leadType: "WORKER" | "SUPPLIER";
|
|
1197
1197
|
leadWorker: {
|
|
1198
1198
|
id: string;
|
|
1199
|
-
firstName: string;
|
|
1200
1199
|
lastName: string | null;
|
|
1200
|
+
firstName: string;
|
|
1201
1201
|
hasPhoneNumber: boolean;
|
|
1202
1202
|
primaryPhoneNumber: string | null;
|
|
1203
1203
|
} | null;
|
|
1204
1204
|
leadSupplier: {
|
|
1205
1205
|
id: string;
|
|
1206
|
-
phoneNumber: string;
|
|
1207
1206
|
name: string;
|
|
1208
|
-
email: string | null;
|
|
1209
1207
|
company: string | null;
|
|
1208
|
+
email: string | null;
|
|
1209
|
+
phoneNumber: string;
|
|
1210
1210
|
notes: string | null;
|
|
1211
|
-
createdAt?: string | undefined;
|
|
1212
1211
|
updatedAt?: string | undefined;
|
|
1212
|
+
createdAt?: string | undefined;
|
|
1213
1213
|
} | null;
|
|
1214
1214
|
memberCount: number;
|
|
1215
1215
|
maxMembers: number;
|
|
1216
|
-
createdAt?: string | undefined;
|
|
1217
1216
|
updatedAt?: string | undefined;
|
|
1217
|
+
createdAt?: string | undefined;
|
|
1218
1218
|
createdBy?: {
|
|
1219
1219
|
id: string;
|
|
1220
|
-
firstName: string;
|
|
1221
1220
|
lastName: string;
|
|
1221
|
+
firstName: string;
|
|
1222
1222
|
phoneNumbers?: {
|
|
1223
1223
|
id: string;
|
|
1224
1224
|
phoneNumber: string;
|
|
@@ -1229,8 +1229,8 @@ export declare const crewsContract: {
|
|
|
1229
1229
|
} | null | undefined;
|
|
1230
1230
|
members?: {
|
|
1231
1231
|
id: string;
|
|
1232
|
-
firstName: string;
|
|
1233
1232
|
lastName: string | null;
|
|
1233
|
+
firstName: string;
|
|
1234
1234
|
hasPhoneNumber: boolean;
|
|
1235
1235
|
primaryPhoneNumber: string | null;
|
|
1236
1236
|
}[] | undefined;
|
|
@@ -1270,32 +1270,32 @@ export declare const crewsContract: {
|
|
|
1270
1270
|
field: z.ZodEnum<["name", "createdAt", "updatedAt"]>;
|
|
1271
1271
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1272
1272
|
}, "strip", z.ZodTypeAny, {
|
|
1273
|
-
field: "name" | "
|
|
1273
|
+
field: "name" | "updatedAt" | "createdAt";
|
|
1274
1274
|
order: "ASC" | "DESC";
|
|
1275
1275
|
}, {
|
|
1276
|
-
field: "name" | "
|
|
1276
|
+
field: "name" | "updatedAt" | "createdAt";
|
|
1277
1277
|
order: "ASC" | "DESC";
|
|
1278
1278
|
}>, "many">>>;
|
|
1279
1279
|
} & {
|
|
1280
1280
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1281
1281
|
page: z.ZodDefault<z.ZodNumber>;
|
|
1282
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1283
|
-
limit: number;
|
|
1284
1283
|
page: number;
|
|
1284
|
+
limit: number;
|
|
1285
1285
|
sort?: {
|
|
1286
|
-
field: "name" | "
|
|
1286
|
+
field: "name" | "updatedAt" | "createdAt";
|
|
1287
1287
|
order: "ASC" | "DESC";
|
|
1288
1288
|
}[] | null | undefined;
|
|
1289
1289
|
name?: string | undefined;
|
|
1290
1290
|
leadType?: "WORKER" | "SUPPLIER" | undefined;
|
|
1291
1291
|
}, {
|
|
1292
1292
|
sort?: {
|
|
1293
|
-
field: "name" | "
|
|
1293
|
+
field: "name" | "updatedAt" | "createdAt";
|
|
1294
1294
|
order: "ASC" | "DESC";
|
|
1295
1295
|
}[] | null | undefined;
|
|
1296
|
-
name?: string | undefined;
|
|
1297
|
-
limit?: number | undefined;
|
|
1298
1296
|
page?: number | undefined;
|
|
1297
|
+
limit?: number | undefined;
|
|
1298
|
+
name?: string | undefined;
|
|
1299
1299
|
leadType?: "WORKER" | "SUPPLIER" | undefined;
|
|
1300
1300
|
}>;
|
|
1301
1301
|
metadata: {
|
|
@@ -1418,14 +1418,14 @@ export declare const crewsContract: {
|
|
|
1418
1418
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
1419
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1420
1420
|
id: string;
|
|
1421
|
-
firstName: string;
|
|
1422
1421
|
lastName: string | null;
|
|
1422
|
+
firstName: string;
|
|
1423
1423
|
hasPhoneNumber: boolean;
|
|
1424
1424
|
primaryPhoneNumber: string | null;
|
|
1425
1425
|
}, {
|
|
1426
1426
|
id: string;
|
|
1427
|
-
firstName: string;
|
|
1428
1427
|
lastName: string | null;
|
|
1428
|
+
firstName: string;
|
|
1429
1429
|
hasPhoneNumber: boolean;
|
|
1430
1430
|
primaryPhoneNumber: string | null;
|
|
1431
1431
|
}>>;
|
|
@@ -1440,22 +1440,22 @@ export declare const crewsContract: {
|
|
|
1440
1440
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1441
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1442
|
id: string;
|
|
1443
|
-
phoneNumber: string;
|
|
1444
1443
|
name: string;
|
|
1445
|
-
email: string | null;
|
|
1446
1444
|
company: string | null;
|
|
1445
|
+
email: string | null;
|
|
1446
|
+
phoneNumber: string;
|
|
1447
1447
|
notes: string | null;
|
|
1448
|
-
createdAt?: string | undefined;
|
|
1449
1448
|
updatedAt?: string | undefined;
|
|
1449
|
+
createdAt?: string | undefined;
|
|
1450
1450
|
}, {
|
|
1451
1451
|
id: string;
|
|
1452
|
-
phoneNumber: string;
|
|
1453
1452
|
name: string;
|
|
1454
|
-
email: string | null;
|
|
1455
1453
|
company: string | null;
|
|
1454
|
+
email: string | null;
|
|
1455
|
+
phoneNumber: string;
|
|
1456
1456
|
notes: string | null;
|
|
1457
|
-
createdAt?: string | undefined;
|
|
1458
1457
|
updatedAt?: string | undefined;
|
|
1458
|
+
createdAt?: string | undefined;
|
|
1459
1459
|
}>>;
|
|
1460
1460
|
memberCount: z.ZodNumber;
|
|
1461
1461
|
maxMembers: z.ZodNumber;
|
|
@@ -1467,14 +1467,14 @@ export declare const crewsContract: {
|
|
|
1467
1467
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
1468
1468
|
}, "strip", z.ZodTypeAny, {
|
|
1469
1469
|
id: string;
|
|
1470
|
-
firstName: string;
|
|
1471
1470
|
lastName: string | null;
|
|
1471
|
+
firstName: string;
|
|
1472
1472
|
hasPhoneNumber: boolean;
|
|
1473
1473
|
primaryPhoneNumber: string | null;
|
|
1474
1474
|
}, {
|
|
1475
1475
|
id: string;
|
|
1476
|
-
firstName: string;
|
|
1477
1476
|
lastName: string | null;
|
|
1477
|
+
firstName: string;
|
|
1478
1478
|
hasPhoneNumber: boolean;
|
|
1479
1479
|
primaryPhoneNumber: string | null;
|
|
1480
1480
|
}>, "many">>;
|
|
@@ -1501,8 +1501,8 @@ export declare const crewsContract: {
|
|
|
1501
1501
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1502
1502
|
}, "strip", z.ZodTypeAny, {
|
|
1503
1503
|
id: string;
|
|
1504
|
-
firstName: string;
|
|
1505
1504
|
lastName: string;
|
|
1505
|
+
firstName: string;
|
|
1506
1506
|
phoneNumbers: {
|
|
1507
1507
|
id: string;
|
|
1508
1508
|
phoneNumber: string;
|
|
@@ -1512,8 +1512,8 @@ export declare const crewsContract: {
|
|
|
1512
1512
|
deletedAt?: string | null | undefined;
|
|
1513
1513
|
}, {
|
|
1514
1514
|
id: string;
|
|
1515
|
-
firstName: string;
|
|
1516
1515
|
lastName: string;
|
|
1516
|
+
firstName: string;
|
|
1517
1517
|
phoneNumbers?: {
|
|
1518
1518
|
id: string;
|
|
1519
1519
|
phoneNumber: string;
|
|
@@ -1530,29 +1530,29 @@ export declare const crewsContract: {
|
|
|
1530
1530
|
leadType: "WORKER" | "SUPPLIER";
|
|
1531
1531
|
leadWorker: {
|
|
1532
1532
|
id: string;
|
|
1533
|
-
firstName: string;
|
|
1534
1533
|
lastName: string | null;
|
|
1534
|
+
firstName: string;
|
|
1535
1535
|
hasPhoneNumber: boolean;
|
|
1536
1536
|
primaryPhoneNumber: string | null;
|
|
1537
1537
|
} | null;
|
|
1538
1538
|
leadSupplier: {
|
|
1539
1539
|
id: string;
|
|
1540
|
-
phoneNumber: string;
|
|
1541
1540
|
name: string;
|
|
1542
|
-
email: string | null;
|
|
1543
1541
|
company: string | null;
|
|
1542
|
+
email: string | null;
|
|
1543
|
+
phoneNumber: string;
|
|
1544
1544
|
notes: string | null;
|
|
1545
|
-
createdAt?: string | undefined;
|
|
1546
1545
|
updatedAt?: string | undefined;
|
|
1546
|
+
createdAt?: string | undefined;
|
|
1547
1547
|
} | null;
|
|
1548
1548
|
memberCount: number;
|
|
1549
1549
|
maxMembers: number;
|
|
1550
|
-
createdAt?: string | undefined;
|
|
1551
1550
|
updatedAt?: string | undefined;
|
|
1551
|
+
createdAt?: string | undefined;
|
|
1552
1552
|
createdBy?: {
|
|
1553
1553
|
id: string;
|
|
1554
|
-
firstName: string;
|
|
1555
1554
|
lastName: string;
|
|
1555
|
+
firstName: string;
|
|
1556
1556
|
phoneNumbers: {
|
|
1557
1557
|
id: string;
|
|
1558
1558
|
phoneNumber: string;
|
|
@@ -1563,8 +1563,8 @@ export declare const crewsContract: {
|
|
|
1563
1563
|
} | null | undefined;
|
|
1564
1564
|
members?: {
|
|
1565
1565
|
id: string;
|
|
1566
|
-
firstName: string;
|
|
1567
1566
|
lastName: string | null;
|
|
1567
|
+
firstName: string;
|
|
1568
1568
|
hasPhoneNumber: boolean;
|
|
1569
1569
|
primaryPhoneNumber: string | null;
|
|
1570
1570
|
}[] | undefined;
|
|
@@ -1574,29 +1574,29 @@ export declare const crewsContract: {
|
|
|
1574
1574
|
leadType: "WORKER" | "SUPPLIER";
|
|
1575
1575
|
leadWorker: {
|
|
1576
1576
|
id: string;
|
|
1577
|
-
firstName: string;
|
|
1578
1577
|
lastName: string | null;
|
|
1578
|
+
firstName: string;
|
|
1579
1579
|
hasPhoneNumber: boolean;
|
|
1580
1580
|
primaryPhoneNumber: string | null;
|
|
1581
1581
|
} | null;
|
|
1582
1582
|
leadSupplier: {
|
|
1583
1583
|
id: string;
|
|
1584
|
-
phoneNumber: string;
|
|
1585
1584
|
name: string;
|
|
1586
|
-
email: string | null;
|
|
1587
1585
|
company: string | null;
|
|
1586
|
+
email: string | null;
|
|
1587
|
+
phoneNumber: string;
|
|
1588
1588
|
notes: string | null;
|
|
1589
|
-
createdAt?: string | undefined;
|
|
1590
1589
|
updatedAt?: string | undefined;
|
|
1590
|
+
createdAt?: string | undefined;
|
|
1591
1591
|
} | null;
|
|
1592
1592
|
memberCount: number;
|
|
1593
1593
|
maxMembers: number;
|
|
1594
|
-
createdAt?: string | undefined;
|
|
1595
1594
|
updatedAt?: string | undefined;
|
|
1595
|
+
createdAt?: string | undefined;
|
|
1596
1596
|
createdBy?: {
|
|
1597
1597
|
id: string;
|
|
1598
|
-
firstName: string;
|
|
1599
1598
|
lastName: string;
|
|
1599
|
+
firstName: string;
|
|
1600
1600
|
phoneNumbers?: {
|
|
1601
1601
|
id: string;
|
|
1602
1602
|
phoneNumber: string;
|
|
@@ -1607,8 +1607,8 @@ export declare const crewsContract: {
|
|
|
1607
1607
|
} | null | undefined;
|
|
1608
1608
|
members?: {
|
|
1609
1609
|
id: string;
|
|
1610
|
-
firstName: string;
|
|
1611
1610
|
lastName: string | null;
|
|
1611
|
+
firstName: string;
|
|
1612
1612
|
hasPhoneNumber: boolean;
|
|
1613
1613
|
primaryPhoneNumber: string | null;
|
|
1614
1614
|
}[] | undefined;
|
|
@@ -1626,29 +1626,29 @@ export declare const crewsContract: {
|
|
|
1626
1626
|
leadType: "WORKER" | "SUPPLIER";
|
|
1627
1627
|
leadWorker: {
|
|
1628
1628
|
id: string;
|
|
1629
|
-
firstName: string;
|
|
1630
1629
|
lastName: string | null;
|
|
1630
|
+
firstName: string;
|
|
1631
1631
|
hasPhoneNumber: boolean;
|
|
1632
1632
|
primaryPhoneNumber: string | null;
|
|
1633
1633
|
} | null;
|
|
1634
1634
|
leadSupplier: {
|
|
1635
1635
|
id: string;
|
|
1636
|
-
phoneNumber: string;
|
|
1637
1636
|
name: string;
|
|
1638
|
-
email: string | null;
|
|
1639
1637
|
company: string | null;
|
|
1638
|
+
email: string | null;
|
|
1639
|
+
phoneNumber: string;
|
|
1640
1640
|
notes: string | null;
|
|
1641
|
-
createdAt?: string | undefined;
|
|
1642
1641
|
updatedAt?: string | undefined;
|
|
1642
|
+
createdAt?: string | undefined;
|
|
1643
1643
|
} | null;
|
|
1644
1644
|
memberCount: number;
|
|
1645
1645
|
maxMembers: number;
|
|
1646
|
-
createdAt?: string | undefined;
|
|
1647
1646
|
updatedAt?: string | undefined;
|
|
1647
|
+
createdAt?: string | undefined;
|
|
1648
1648
|
createdBy?: {
|
|
1649
1649
|
id: string;
|
|
1650
|
-
firstName: string;
|
|
1651
1650
|
lastName: string;
|
|
1651
|
+
firstName: string;
|
|
1652
1652
|
phoneNumbers: {
|
|
1653
1653
|
id: string;
|
|
1654
1654
|
phoneNumber: string;
|
|
@@ -1659,8 +1659,8 @@ export declare const crewsContract: {
|
|
|
1659
1659
|
} | null | undefined;
|
|
1660
1660
|
members?: {
|
|
1661
1661
|
id: string;
|
|
1662
|
-
firstName: string;
|
|
1663
1662
|
lastName: string | null;
|
|
1663
|
+
firstName: string;
|
|
1664
1664
|
hasPhoneNumber: boolean;
|
|
1665
1665
|
primaryPhoneNumber: string | null;
|
|
1666
1666
|
}[] | undefined;
|
|
@@ -1677,29 +1677,29 @@ export declare const crewsContract: {
|
|
|
1677
1677
|
leadType: "WORKER" | "SUPPLIER";
|
|
1678
1678
|
leadWorker: {
|
|
1679
1679
|
id: string;
|
|
1680
|
-
firstName: string;
|
|
1681
1680
|
lastName: string | null;
|
|
1681
|
+
firstName: string;
|
|
1682
1682
|
hasPhoneNumber: boolean;
|
|
1683
1683
|
primaryPhoneNumber: string | null;
|
|
1684
1684
|
} | null;
|
|
1685
1685
|
leadSupplier: {
|
|
1686
1686
|
id: string;
|
|
1687
|
-
phoneNumber: string;
|
|
1688
1687
|
name: string;
|
|
1689
|
-
email: string | null;
|
|
1690
1688
|
company: string | null;
|
|
1689
|
+
email: string | null;
|
|
1690
|
+
phoneNumber: string;
|
|
1691
1691
|
notes: string | null;
|
|
1692
|
-
createdAt?: string | undefined;
|
|
1693
1692
|
updatedAt?: string | undefined;
|
|
1693
|
+
createdAt?: string | undefined;
|
|
1694
1694
|
} | null;
|
|
1695
1695
|
memberCount: number;
|
|
1696
1696
|
maxMembers: number;
|
|
1697
|
-
createdAt?: string | undefined;
|
|
1698
1697
|
updatedAt?: string | undefined;
|
|
1698
|
+
createdAt?: string | undefined;
|
|
1699
1699
|
createdBy?: {
|
|
1700
1700
|
id: string;
|
|
1701
|
-
firstName: string;
|
|
1702
1701
|
lastName: string;
|
|
1702
|
+
firstName: string;
|
|
1703
1703
|
phoneNumbers?: {
|
|
1704
1704
|
id: string;
|
|
1705
1705
|
phoneNumber: string;
|
|
@@ -1710,8 +1710,8 @@ export declare const crewsContract: {
|
|
|
1710
1710
|
} | null | undefined;
|
|
1711
1711
|
members?: {
|
|
1712
1712
|
id: string;
|
|
1713
|
-
firstName: string;
|
|
1714
1713
|
lastName: string | null;
|
|
1714
|
+
firstName: string;
|
|
1715
1715
|
hasPhoneNumber: boolean;
|
|
1716
1716
|
primaryPhoneNumber: string | null;
|
|
1717
1717
|
}[] | undefined;
|
|
@@ -1850,14 +1850,14 @@ export declare const crewsContract: {
|
|
|
1850
1850
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
1851
1851
|
}, "strip", z.ZodTypeAny, {
|
|
1852
1852
|
id: string;
|
|
1853
|
-
firstName: string;
|
|
1854
1853
|
lastName: string | null;
|
|
1854
|
+
firstName: string;
|
|
1855
1855
|
hasPhoneNumber: boolean;
|
|
1856
1856
|
primaryPhoneNumber: string | null;
|
|
1857
1857
|
}, {
|
|
1858
1858
|
id: string;
|
|
1859
|
-
firstName: string;
|
|
1860
1859
|
lastName: string | null;
|
|
1860
|
+
firstName: string;
|
|
1861
1861
|
hasPhoneNumber: boolean;
|
|
1862
1862
|
primaryPhoneNumber: string | null;
|
|
1863
1863
|
}>>;
|
|
@@ -1872,22 +1872,22 @@ export declare const crewsContract: {
|
|
|
1872
1872
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1873
1873
|
}, "strip", z.ZodTypeAny, {
|
|
1874
1874
|
id: string;
|
|
1875
|
-
phoneNumber: string;
|
|
1876
1875
|
name: string;
|
|
1877
|
-
email: string | null;
|
|
1878
1876
|
company: string | null;
|
|
1877
|
+
email: string | null;
|
|
1878
|
+
phoneNumber: string;
|
|
1879
1879
|
notes: string | null;
|
|
1880
|
-
createdAt?: string | undefined;
|
|
1881
1880
|
updatedAt?: string | undefined;
|
|
1881
|
+
createdAt?: string | undefined;
|
|
1882
1882
|
}, {
|
|
1883
1883
|
id: string;
|
|
1884
|
-
phoneNumber: string;
|
|
1885
1884
|
name: string;
|
|
1886
|
-
email: string | null;
|
|
1887
1885
|
company: string | null;
|
|
1886
|
+
email: string | null;
|
|
1887
|
+
phoneNumber: string;
|
|
1888
1888
|
notes: string | null;
|
|
1889
|
-
createdAt?: string | undefined;
|
|
1890
1889
|
updatedAt?: string | undefined;
|
|
1890
|
+
createdAt?: string | undefined;
|
|
1891
1891
|
}>>;
|
|
1892
1892
|
memberCount: z.ZodNumber;
|
|
1893
1893
|
maxMembers: z.ZodNumber;
|
|
@@ -1899,14 +1899,14 @@ export declare const crewsContract: {
|
|
|
1899
1899
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
1900
1900
|
}, "strip", z.ZodTypeAny, {
|
|
1901
1901
|
id: string;
|
|
1902
|
-
firstName: string;
|
|
1903
1902
|
lastName: string | null;
|
|
1903
|
+
firstName: string;
|
|
1904
1904
|
hasPhoneNumber: boolean;
|
|
1905
1905
|
primaryPhoneNumber: string | null;
|
|
1906
1906
|
}, {
|
|
1907
1907
|
id: string;
|
|
1908
|
-
firstName: string;
|
|
1909
1908
|
lastName: string | null;
|
|
1909
|
+
firstName: string;
|
|
1910
1910
|
hasPhoneNumber: boolean;
|
|
1911
1911
|
primaryPhoneNumber: string | null;
|
|
1912
1912
|
}>, "many">>;
|
|
@@ -1933,8 +1933,8 @@ export declare const crewsContract: {
|
|
|
1933
1933
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1934
1934
|
}, "strip", z.ZodTypeAny, {
|
|
1935
1935
|
id: string;
|
|
1936
|
-
firstName: string;
|
|
1937
1936
|
lastName: string;
|
|
1937
|
+
firstName: string;
|
|
1938
1938
|
phoneNumbers: {
|
|
1939
1939
|
id: string;
|
|
1940
1940
|
phoneNumber: string;
|
|
@@ -1944,8 +1944,8 @@ export declare const crewsContract: {
|
|
|
1944
1944
|
deletedAt?: string | null | undefined;
|
|
1945
1945
|
}, {
|
|
1946
1946
|
id: string;
|
|
1947
|
-
firstName: string;
|
|
1948
1947
|
lastName: string;
|
|
1948
|
+
firstName: string;
|
|
1949
1949
|
phoneNumbers?: {
|
|
1950
1950
|
id: string;
|
|
1951
1951
|
phoneNumber: string;
|
|
@@ -1962,29 +1962,29 @@ export declare const crewsContract: {
|
|
|
1962
1962
|
leadType: "WORKER" | "SUPPLIER";
|
|
1963
1963
|
leadWorker: {
|
|
1964
1964
|
id: string;
|
|
1965
|
-
firstName: string;
|
|
1966
1965
|
lastName: string | null;
|
|
1966
|
+
firstName: string;
|
|
1967
1967
|
hasPhoneNumber: boolean;
|
|
1968
1968
|
primaryPhoneNumber: string | null;
|
|
1969
1969
|
} | null;
|
|
1970
1970
|
leadSupplier: {
|
|
1971
1971
|
id: string;
|
|
1972
|
-
phoneNumber: string;
|
|
1973
1972
|
name: string;
|
|
1974
|
-
email: string | null;
|
|
1975
1973
|
company: string | null;
|
|
1974
|
+
email: string | null;
|
|
1975
|
+
phoneNumber: string;
|
|
1976
1976
|
notes: string | null;
|
|
1977
|
-
createdAt?: string | undefined;
|
|
1978
1977
|
updatedAt?: string | undefined;
|
|
1978
|
+
createdAt?: string | undefined;
|
|
1979
1979
|
} | null;
|
|
1980
1980
|
memberCount: number;
|
|
1981
1981
|
maxMembers: number;
|
|
1982
|
-
createdAt?: string | undefined;
|
|
1983
1982
|
updatedAt?: string | undefined;
|
|
1983
|
+
createdAt?: string | undefined;
|
|
1984
1984
|
createdBy?: {
|
|
1985
1985
|
id: string;
|
|
1986
|
-
firstName: string;
|
|
1987
1986
|
lastName: string;
|
|
1987
|
+
firstName: string;
|
|
1988
1988
|
phoneNumbers: {
|
|
1989
1989
|
id: string;
|
|
1990
1990
|
phoneNumber: string;
|
|
@@ -1995,8 +1995,8 @@ export declare const crewsContract: {
|
|
|
1995
1995
|
} | null | undefined;
|
|
1996
1996
|
members?: {
|
|
1997
1997
|
id: string;
|
|
1998
|
-
firstName: string;
|
|
1999
1998
|
lastName: string | null;
|
|
1999
|
+
firstName: string;
|
|
2000
2000
|
hasPhoneNumber: boolean;
|
|
2001
2001
|
primaryPhoneNumber: string | null;
|
|
2002
2002
|
}[] | undefined;
|
|
@@ -2006,29 +2006,29 @@ export declare const crewsContract: {
|
|
|
2006
2006
|
leadType: "WORKER" | "SUPPLIER";
|
|
2007
2007
|
leadWorker: {
|
|
2008
2008
|
id: string;
|
|
2009
|
-
firstName: string;
|
|
2010
2009
|
lastName: string | null;
|
|
2010
|
+
firstName: string;
|
|
2011
2011
|
hasPhoneNumber: boolean;
|
|
2012
2012
|
primaryPhoneNumber: string | null;
|
|
2013
2013
|
} | null;
|
|
2014
2014
|
leadSupplier: {
|
|
2015
2015
|
id: string;
|
|
2016
|
-
phoneNumber: string;
|
|
2017
2016
|
name: string;
|
|
2018
|
-
email: string | null;
|
|
2019
2017
|
company: string | null;
|
|
2018
|
+
email: string | null;
|
|
2019
|
+
phoneNumber: string;
|
|
2020
2020
|
notes: string | null;
|
|
2021
|
-
createdAt?: string | undefined;
|
|
2022
2021
|
updatedAt?: string | undefined;
|
|
2022
|
+
createdAt?: string | undefined;
|
|
2023
2023
|
} | null;
|
|
2024
2024
|
memberCount: number;
|
|
2025
2025
|
maxMembers: number;
|
|
2026
|
-
createdAt?: string | undefined;
|
|
2027
2026
|
updatedAt?: string | undefined;
|
|
2027
|
+
createdAt?: string | undefined;
|
|
2028
2028
|
createdBy?: {
|
|
2029
2029
|
id: string;
|
|
2030
|
-
firstName: string;
|
|
2031
2030
|
lastName: string;
|
|
2031
|
+
firstName: string;
|
|
2032
2032
|
phoneNumbers?: {
|
|
2033
2033
|
id: string;
|
|
2034
2034
|
phoneNumber: string;
|
|
@@ -2039,8 +2039,8 @@ export declare const crewsContract: {
|
|
|
2039
2039
|
} | null | undefined;
|
|
2040
2040
|
members?: {
|
|
2041
2041
|
id: string;
|
|
2042
|
-
firstName: string;
|
|
2043
2042
|
lastName: string | null;
|
|
2043
|
+
firstName: string;
|
|
2044
2044
|
hasPhoneNumber: boolean;
|
|
2045
2045
|
primaryPhoneNumber: string | null;
|
|
2046
2046
|
}[] | undefined;
|
|
@@ -2209,14 +2209,14 @@ export declare const crewsContract: {
|
|
|
2209
2209
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
2210
2210
|
}, "strip", z.ZodTypeAny, {
|
|
2211
2211
|
id: string;
|
|
2212
|
-
firstName: string;
|
|
2213
2212
|
lastName: string | null;
|
|
2213
|
+
firstName: string;
|
|
2214
2214
|
hasPhoneNumber: boolean;
|
|
2215
2215
|
primaryPhoneNumber: string | null;
|
|
2216
2216
|
}, {
|
|
2217
2217
|
id: string;
|
|
2218
|
-
firstName: string;
|
|
2219
2218
|
lastName: string | null;
|
|
2219
|
+
firstName: string;
|
|
2220
2220
|
hasPhoneNumber: boolean;
|
|
2221
2221
|
primaryPhoneNumber: string | null;
|
|
2222
2222
|
}>>;
|
|
@@ -2231,22 +2231,22 @@ export declare const crewsContract: {
|
|
|
2231
2231
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2232
2232
|
}, "strip", z.ZodTypeAny, {
|
|
2233
2233
|
id: string;
|
|
2234
|
-
phoneNumber: string;
|
|
2235
2234
|
name: string;
|
|
2236
|
-
email: string | null;
|
|
2237
2235
|
company: string | null;
|
|
2236
|
+
email: string | null;
|
|
2237
|
+
phoneNumber: string;
|
|
2238
2238
|
notes: string | null;
|
|
2239
|
-
createdAt?: string | undefined;
|
|
2240
2239
|
updatedAt?: string | undefined;
|
|
2240
|
+
createdAt?: string | undefined;
|
|
2241
2241
|
}, {
|
|
2242
2242
|
id: string;
|
|
2243
|
-
phoneNumber: string;
|
|
2244
2243
|
name: string;
|
|
2245
|
-
email: string | null;
|
|
2246
2244
|
company: string | null;
|
|
2245
|
+
email: string | null;
|
|
2246
|
+
phoneNumber: string;
|
|
2247
2247
|
notes: string | null;
|
|
2248
|
-
createdAt?: string | undefined;
|
|
2249
2248
|
updatedAt?: string | undefined;
|
|
2249
|
+
createdAt?: string | undefined;
|
|
2250
2250
|
}>>;
|
|
2251
2251
|
memberCount: z.ZodNumber;
|
|
2252
2252
|
maxMembers: z.ZodNumber;
|
|
@@ -2258,14 +2258,14 @@ export declare const crewsContract: {
|
|
|
2258
2258
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
2259
2259
|
}, "strip", z.ZodTypeAny, {
|
|
2260
2260
|
id: string;
|
|
2261
|
-
firstName: string;
|
|
2262
2261
|
lastName: string | null;
|
|
2262
|
+
firstName: string;
|
|
2263
2263
|
hasPhoneNumber: boolean;
|
|
2264
2264
|
primaryPhoneNumber: string | null;
|
|
2265
2265
|
}, {
|
|
2266
2266
|
id: string;
|
|
2267
|
-
firstName: string;
|
|
2268
2267
|
lastName: string | null;
|
|
2268
|
+
firstName: string;
|
|
2269
2269
|
hasPhoneNumber: boolean;
|
|
2270
2270
|
primaryPhoneNumber: string | null;
|
|
2271
2271
|
}>, "many">>;
|
|
@@ -2292,8 +2292,8 @@ export declare const crewsContract: {
|
|
|
2292
2292
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2293
2293
|
}, "strip", z.ZodTypeAny, {
|
|
2294
2294
|
id: string;
|
|
2295
|
-
firstName: string;
|
|
2296
2295
|
lastName: string;
|
|
2296
|
+
firstName: string;
|
|
2297
2297
|
phoneNumbers: {
|
|
2298
2298
|
id: string;
|
|
2299
2299
|
phoneNumber: string;
|
|
@@ -2303,8 +2303,8 @@ export declare const crewsContract: {
|
|
|
2303
2303
|
deletedAt?: string | null | undefined;
|
|
2304
2304
|
}, {
|
|
2305
2305
|
id: string;
|
|
2306
|
-
firstName: string;
|
|
2307
2306
|
lastName: string;
|
|
2307
|
+
firstName: string;
|
|
2308
2308
|
phoneNumbers?: {
|
|
2309
2309
|
id: string;
|
|
2310
2310
|
phoneNumber: string;
|
|
@@ -2321,29 +2321,29 @@ export declare const crewsContract: {
|
|
|
2321
2321
|
leadType: "WORKER" | "SUPPLIER";
|
|
2322
2322
|
leadWorker: {
|
|
2323
2323
|
id: string;
|
|
2324
|
-
firstName: string;
|
|
2325
2324
|
lastName: string | null;
|
|
2325
|
+
firstName: string;
|
|
2326
2326
|
hasPhoneNumber: boolean;
|
|
2327
2327
|
primaryPhoneNumber: string | null;
|
|
2328
2328
|
} | null;
|
|
2329
2329
|
leadSupplier: {
|
|
2330
2330
|
id: string;
|
|
2331
|
-
phoneNumber: string;
|
|
2332
2331
|
name: string;
|
|
2333
|
-
email: string | null;
|
|
2334
2332
|
company: string | null;
|
|
2333
|
+
email: string | null;
|
|
2334
|
+
phoneNumber: string;
|
|
2335
2335
|
notes: string | null;
|
|
2336
|
-
createdAt?: string | undefined;
|
|
2337
2336
|
updatedAt?: string | undefined;
|
|
2337
|
+
createdAt?: string | undefined;
|
|
2338
2338
|
} | null;
|
|
2339
2339
|
memberCount: number;
|
|
2340
2340
|
maxMembers: number;
|
|
2341
|
-
createdAt?: string | undefined;
|
|
2342
2341
|
updatedAt?: string | undefined;
|
|
2342
|
+
createdAt?: string | undefined;
|
|
2343
2343
|
createdBy?: {
|
|
2344
2344
|
id: string;
|
|
2345
|
-
firstName: string;
|
|
2346
2345
|
lastName: string;
|
|
2346
|
+
firstName: string;
|
|
2347
2347
|
phoneNumbers: {
|
|
2348
2348
|
id: string;
|
|
2349
2349
|
phoneNumber: string;
|
|
@@ -2354,8 +2354,8 @@ export declare const crewsContract: {
|
|
|
2354
2354
|
} | null | undefined;
|
|
2355
2355
|
members?: {
|
|
2356
2356
|
id: string;
|
|
2357
|
-
firstName: string;
|
|
2358
2357
|
lastName: string | null;
|
|
2358
|
+
firstName: string;
|
|
2359
2359
|
hasPhoneNumber: boolean;
|
|
2360
2360
|
primaryPhoneNumber: string | null;
|
|
2361
2361
|
}[] | undefined;
|
|
@@ -2365,29 +2365,29 @@ export declare const crewsContract: {
|
|
|
2365
2365
|
leadType: "WORKER" | "SUPPLIER";
|
|
2366
2366
|
leadWorker: {
|
|
2367
2367
|
id: string;
|
|
2368
|
-
firstName: string;
|
|
2369
2368
|
lastName: string | null;
|
|
2369
|
+
firstName: string;
|
|
2370
2370
|
hasPhoneNumber: boolean;
|
|
2371
2371
|
primaryPhoneNumber: string | null;
|
|
2372
2372
|
} | null;
|
|
2373
2373
|
leadSupplier: {
|
|
2374
2374
|
id: string;
|
|
2375
|
-
phoneNumber: string;
|
|
2376
2375
|
name: string;
|
|
2377
|
-
email: string | null;
|
|
2378
2376
|
company: string | null;
|
|
2377
|
+
email: string | null;
|
|
2378
|
+
phoneNumber: string;
|
|
2379
2379
|
notes: string | null;
|
|
2380
|
-
createdAt?: string | undefined;
|
|
2381
2380
|
updatedAt?: string | undefined;
|
|
2381
|
+
createdAt?: string | undefined;
|
|
2382
2382
|
} | null;
|
|
2383
2383
|
memberCount: number;
|
|
2384
2384
|
maxMembers: number;
|
|
2385
|
-
createdAt?: string | undefined;
|
|
2386
2385
|
updatedAt?: string | undefined;
|
|
2386
|
+
createdAt?: string | undefined;
|
|
2387
2387
|
createdBy?: {
|
|
2388
2388
|
id: string;
|
|
2389
|
-
firstName: string;
|
|
2390
2389
|
lastName: string;
|
|
2390
|
+
firstName: string;
|
|
2391
2391
|
phoneNumbers?: {
|
|
2392
2392
|
id: string;
|
|
2393
2393
|
phoneNumber: string;
|
|
@@ -2398,8 +2398,8 @@ export declare const crewsContract: {
|
|
|
2398
2398
|
} | null | undefined;
|
|
2399
2399
|
members?: {
|
|
2400
2400
|
id: string;
|
|
2401
|
-
firstName: string;
|
|
2402
2401
|
lastName: string | null;
|
|
2402
|
+
firstName: string;
|
|
2403
2403
|
hasPhoneNumber: boolean;
|
|
2404
2404
|
primaryPhoneNumber: string | null;
|
|
2405
2405
|
}[] | undefined;
|
|
@@ -2734,14 +2734,14 @@ export declare const crewsContract: {
|
|
|
2734
2734
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
2735
2735
|
}, "strip", z.ZodTypeAny, {
|
|
2736
2736
|
id: string;
|
|
2737
|
-
firstName: string;
|
|
2738
2737
|
lastName: string | null;
|
|
2738
|
+
firstName: string;
|
|
2739
2739
|
hasPhoneNumber: boolean;
|
|
2740
2740
|
primaryPhoneNumber: string | null;
|
|
2741
2741
|
}, {
|
|
2742
2742
|
id: string;
|
|
2743
|
-
firstName: string;
|
|
2744
2743
|
lastName: string | null;
|
|
2744
|
+
firstName: string;
|
|
2745
2745
|
hasPhoneNumber: boolean;
|
|
2746
2746
|
primaryPhoneNumber: string | null;
|
|
2747
2747
|
}>>;
|
|
@@ -2756,22 +2756,22 @@ export declare const crewsContract: {
|
|
|
2756
2756
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2757
2757
|
}, "strip", z.ZodTypeAny, {
|
|
2758
2758
|
id: string;
|
|
2759
|
-
phoneNumber: string;
|
|
2760
2759
|
name: string;
|
|
2761
|
-
email: string | null;
|
|
2762
2760
|
company: string | null;
|
|
2761
|
+
email: string | null;
|
|
2762
|
+
phoneNumber: string;
|
|
2763
2763
|
notes: string | null;
|
|
2764
|
-
createdAt?: string | undefined;
|
|
2765
2764
|
updatedAt?: string | undefined;
|
|
2765
|
+
createdAt?: string | undefined;
|
|
2766
2766
|
}, {
|
|
2767
2767
|
id: string;
|
|
2768
|
-
phoneNumber: string;
|
|
2769
2768
|
name: string;
|
|
2770
|
-
email: string | null;
|
|
2771
2769
|
company: string | null;
|
|
2770
|
+
email: string | null;
|
|
2771
|
+
phoneNumber: string;
|
|
2772
2772
|
notes: string | null;
|
|
2773
|
-
createdAt?: string | undefined;
|
|
2774
2773
|
updatedAt?: string | undefined;
|
|
2774
|
+
createdAt?: string | undefined;
|
|
2775
2775
|
}>>;
|
|
2776
2776
|
memberCount: z.ZodNumber;
|
|
2777
2777
|
maxMembers: z.ZodNumber;
|
|
@@ -2783,14 +2783,14 @@ export declare const crewsContract: {
|
|
|
2783
2783
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
2784
2784
|
}, "strip", z.ZodTypeAny, {
|
|
2785
2785
|
id: string;
|
|
2786
|
-
firstName: string;
|
|
2787
2786
|
lastName: string | null;
|
|
2787
|
+
firstName: string;
|
|
2788
2788
|
hasPhoneNumber: boolean;
|
|
2789
2789
|
primaryPhoneNumber: string | null;
|
|
2790
2790
|
}, {
|
|
2791
2791
|
id: string;
|
|
2792
|
-
firstName: string;
|
|
2793
2792
|
lastName: string | null;
|
|
2793
|
+
firstName: string;
|
|
2794
2794
|
hasPhoneNumber: boolean;
|
|
2795
2795
|
primaryPhoneNumber: string | null;
|
|
2796
2796
|
}>, "many">>;
|
|
@@ -2817,8 +2817,8 @@ export declare const crewsContract: {
|
|
|
2817
2817
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2818
2818
|
}, "strip", z.ZodTypeAny, {
|
|
2819
2819
|
id: string;
|
|
2820
|
-
firstName: string;
|
|
2821
2820
|
lastName: string;
|
|
2821
|
+
firstName: string;
|
|
2822
2822
|
phoneNumbers: {
|
|
2823
2823
|
id: string;
|
|
2824
2824
|
phoneNumber: string;
|
|
@@ -2828,8 +2828,8 @@ export declare const crewsContract: {
|
|
|
2828
2828
|
deletedAt?: string | null | undefined;
|
|
2829
2829
|
}, {
|
|
2830
2830
|
id: string;
|
|
2831
|
-
firstName: string;
|
|
2832
2831
|
lastName: string;
|
|
2832
|
+
firstName: string;
|
|
2833
2833
|
phoneNumbers?: {
|
|
2834
2834
|
id: string;
|
|
2835
2835
|
phoneNumber: string;
|
|
@@ -2846,29 +2846,29 @@ export declare const crewsContract: {
|
|
|
2846
2846
|
leadType: "WORKER" | "SUPPLIER";
|
|
2847
2847
|
leadWorker: {
|
|
2848
2848
|
id: string;
|
|
2849
|
-
firstName: string;
|
|
2850
2849
|
lastName: string | null;
|
|
2850
|
+
firstName: string;
|
|
2851
2851
|
hasPhoneNumber: boolean;
|
|
2852
2852
|
primaryPhoneNumber: string | null;
|
|
2853
2853
|
} | null;
|
|
2854
2854
|
leadSupplier: {
|
|
2855
2855
|
id: string;
|
|
2856
|
-
phoneNumber: string;
|
|
2857
2856
|
name: string;
|
|
2858
|
-
email: string | null;
|
|
2859
2857
|
company: string | null;
|
|
2858
|
+
email: string | null;
|
|
2859
|
+
phoneNumber: string;
|
|
2860
2860
|
notes: string | null;
|
|
2861
|
-
createdAt?: string | undefined;
|
|
2862
2861
|
updatedAt?: string | undefined;
|
|
2862
|
+
createdAt?: string | undefined;
|
|
2863
2863
|
} | null;
|
|
2864
2864
|
memberCount: number;
|
|
2865
2865
|
maxMembers: number;
|
|
2866
|
-
createdAt?: string | undefined;
|
|
2867
2866
|
updatedAt?: string | undefined;
|
|
2867
|
+
createdAt?: string | undefined;
|
|
2868
2868
|
createdBy?: {
|
|
2869
2869
|
id: string;
|
|
2870
|
-
firstName: string;
|
|
2871
2870
|
lastName: string;
|
|
2871
|
+
firstName: string;
|
|
2872
2872
|
phoneNumbers: {
|
|
2873
2873
|
id: string;
|
|
2874
2874
|
phoneNumber: string;
|
|
@@ -2879,8 +2879,8 @@ export declare const crewsContract: {
|
|
|
2879
2879
|
} | null | undefined;
|
|
2880
2880
|
members?: {
|
|
2881
2881
|
id: string;
|
|
2882
|
-
firstName: string;
|
|
2883
2882
|
lastName: string | null;
|
|
2883
|
+
firstName: string;
|
|
2884
2884
|
hasPhoneNumber: boolean;
|
|
2885
2885
|
primaryPhoneNumber: string | null;
|
|
2886
2886
|
}[] | undefined;
|
|
@@ -2890,29 +2890,29 @@ export declare const crewsContract: {
|
|
|
2890
2890
|
leadType: "WORKER" | "SUPPLIER";
|
|
2891
2891
|
leadWorker: {
|
|
2892
2892
|
id: string;
|
|
2893
|
-
firstName: string;
|
|
2894
2893
|
lastName: string | null;
|
|
2894
|
+
firstName: string;
|
|
2895
2895
|
hasPhoneNumber: boolean;
|
|
2896
2896
|
primaryPhoneNumber: string | null;
|
|
2897
2897
|
} | null;
|
|
2898
2898
|
leadSupplier: {
|
|
2899
2899
|
id: string;
|
|
2900
|
-
phoneNumber: string;
|
|
2901
2900
|
name: string;
|
|
2902
|
-
email: string | null;
|
|
2903
2901
|
company: string | null;
|
|
2902
|
+
email: string | null;
|
|
2903
|
+
phoneNumber: string;
|
|
2904
2904
|
notes: string | null;
|
|
2905
|
-
createdAt?: string | undefined;
|
|
2906
2905
|
updatedAt?: string | undefined;
|
|
2906
|
+
createdAt?: string | undefined;
|
|
2907
2907
|
} | null;
|
|
2908
2908
|
memberCount: number;
|
|
2909
2909
|
maxMembers: number;
|
|
2910
|
-
createdAt?: string | undefined;
|
|
2911
2910
|
updatedAt?: string | undefined;
|
|
2911
|
+
createdAt?: string | undefined;
|
|
2912
2912
|
createdBy?: {
|
|
2913
2913
|
id: string;
|
|
2914
|
-
firstName: string;
|
|
2915
2914
|
lastName: string;
|
|
2915
|
+
firstName: string;
|
|
2916
2916
|
phoneNumbers?: {
|
|
2917
2917
|
id: string;
|
|
2918
2918
|
phoneNumber: string;
|
|
@@ -2923,8 +2923,8 @@ export declare const crewsContract: {
|
|
|
2923
2923
|
} | null | undefined;
|
|
2924
2924
|
members?: {
|
|
2925
2925
|
id: string;
|
|
2926
|
-
firstName: string;
|
|
2927
2926
|
lastName: string | null;
|
|
2927
|
+
firstName: string;
|
|
2928
2928
|
hasPhoneNumber: boolean;
|
|
2929
2929
|
primaryPhoneNumber: string | null;
|
|
2930
2930
|
}[] | undefined;
|
|
@@ -3112,14 +3112,14 @@ export declare const crewsContract: {
|
|
|
3112
3112
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
3113
3113
|
}, "strip", z.ZodTypeAny, {
|
|
3114
3114
|
id: string;
|
|
3115
|
-
firstName: string;
|
|
3116
3115
|
lastName: string | null;
|
|
3116
|
+
firstName: string;
|
|
3117
3117
|
hasPhoneNumber: boolean;
|
|
3118
3118
|
primaryPhoneNumber: string | null;
|
|
3119
3119
|
}, {
|
|
3120
3120
|
id: string;
|
|
3121
|
-
firstName: string;
|
|
3122
3121
|
lastName: string | null;
|
|
3122
|
+
firstName: string;
|
|
3123
3123
|
hasPhoneNumber: boolean;
|
|
3124
3124
|
primaryPhoneNumber: string | null;
|
|
3125
3125
|
}>>;
|
|
@@ -3134,22 +3134,22 @@ export declare const crewsContract: {
|
|
|
3134
3134
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3135
3135
|
}, "strip", z.ZodTypeAny, {
|
|
3136
3136
|
id: string;
|
|
3137
|
-
phoneNumber: string;
|
|
3138
3137
|
name: string;
|
|
3139
|
-
email: string | null;
|
|
3140
3138
|
company: string | null;
|
|
3139
|
+
email: string | null;
|
|
3140
|
+
phoneNumber: string;
|
|
3141
3141
|
notes: string | null;
|
|
3142
|
-
createdAt?: string | undefined;
|
|
3143
3142
|
updatedAt?: string | undefined;
|
|
3143
|
+
createdAt?: string | undefined;
|
|
3144
3144
|
}, {
|
|
3145
3145
|
id: string;
|
|
3146
|
-
phoneNumber: string;
|
|
3147
3146
|
name: string;
|
|
3148
|
-
email: string | null;
|
|
3149
3147
|
company: string | null;
|
|
3148
|
+
email: string | null;
|
|
3149
|
+
phoneNumber: string;
|
|
3150
3150
|
notes: string | null;
|
|
3151
|
-
createdAt?: string | undefined;
|
|
3152
3151
|
updatedAt?: string | undefined;
|
|
3152
|
+
createdAt?: string | undefined;
|
|
3153
3153
|
}>>;
|
|
3154
3154
|
memberCount: z.ZodNumber;
|
|
3155
3155
|
maxMembers: z.ZodNumber;
|
|
@@ -3161,14 +3161,14 @@ export declare const crewsContract: {
|
|
|
3161
3161
|
primaryPhoneNumber: z.ZodNullable<z.ZodString>;
|
|
3162
3162
|
}, "strip", z.ZodTypeAny, {
|
|
3163
3163
|
id: string;
|
|
3164
|
-
firstName: string;
|
|
3165
3164
|
lastName: string | null;
|
|
3165
|
+
firstName: string;
|
|
3166
3166
|
hasPhoneNumber: boolean;
|
|
3167
3167
|
primaryPhoneNumber: string | null;
|
|
3168
3168
|
}, {
|
|
3169
3169
|
id: string;
|
|
3170
|
-
firstName: string;
|
|
3171
3170
|
lastName: string | null;
|
|
3171
|
+
firstName: string;
|
|
3172
3172
|
hasPhoneNumber: boolean;
|
|
3173
3173
|
primaryPhoneNumber: string | null;
|
|
3174
3174
|
}>, "many">>;
|
|
@@ -3195,8 +3195,8 @@ export declare const crewsContract: {
|
|
|
3195
3195
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3196
3196
|
}, "strip", z.ZodTypeAny, {
|
|
3197
3197
|
id: string;
|
|
3198
|
-
firstName: string;
|
|
3199
3198
|
lastName: string;
|
|
3199
|
+
firstName: string;
|
|
3200
3200
|
phoneNumbers: {
|
|
3201
3201
|
id: string;
|
|
3202
3202
|
phoneNumber: string;
|
|
@@ -3206,8 +3206,8 @@ export declare const crewsContract: {
|
|
|
3206
3206
|
deletedAt?: string | null | undefined;
|
|
3207
3207
|
}, {
|
|
3208
3208
|
id: string;
|
|
3209
|
-
firstName: string;
|
|
3210
3209
|
lastName: string;
|
|
3210
|
+
firstName: string;
|
|
3211
3211
|
phoneNumbers?: {
|
|
3212
3212
|
id: string;
|
|
3213
3213
|
phoneNumber: string;
|
|
@@ -3224,29 +3224,29 @@ export declare const crewsContract: {
|
|
|
3224
3224
|
leadType: "WORKER" | "SUPPLIER";
|
|
3225
3225
|
leadWorker: {
|
|
3226
3226
|
id: string;
|
|
3227
|
-
firstName: string;
|
|
3228
3227
|
lastName: string | null;
|
|
3228
|
+
firstName: string;
|
|
3229
3229
|
hasPhoneNumber: boolean;
|
|
3230
3230
|
primaryPhoneNumber: string | null;
|
|
3231
3231
|
} | null;
|
|
3232
3232
|
leadSupplier: {
|
|
3233
3233
|
id: string;
|
|
3234
|
-
phoneNumber: string;
|
|
3235
3234
|
name: string;
|
|
3236
|
-
email: string | null;
|
|
3237
3235
|
company: string | null;
|
|
3236
|
+
email: string | null;
|
|
3237
|
+
phoneNumber: string;
|
|
3238
3238
|
notes: string | null;
|
|
3239
|
-
createdAt?: string | undefined;
|
|
3240
3239
|
updatedAt?: string | undefined;
|
|
3240
|
+
createdAt?: string | undefined;
|
|
3241
3241
|
} | null;
|
|
3242
3242
|
memberCount: number;
|
|
3243
3243
|
maxMembers: number;
|
|
3244
|
-
createdAt?: string | undefined;
|
|
3245
3244
|
updatedAt?: string | undefined;
|
|
3245
|
+
createdAt?: string | undefined;
|
|
3246
3246
|
createdBy?: {
|
|
3247
3247
|
id: string;
|
|
3248
|
-
firstName: string;
|
|
3249
3248
|
lastName: string;
|
|
3249
|
+
firstName: string;
|
|
3250
3250
|
phoneNumbers: {
|
|
3251
3251
|
id: string;
|
|
3252
3252
|
phoneNumber: string;
|
|
@@ -3257,8 +3257,8 @@ export declare const crewsContract: {
|
|
|
3257
3257
|
} | null | undefined;
|
|
3258
3258
|
members?: {
|
|
3259
3259
|
id: string;
|
|
3260
|
-
firstName: string;
|
|
3261
3260
|
lastName: string | null;
|
|
3261
|
+
firstName: string;
|
|
3262
3262
|
hasPhoneNumber: boolean;
|
|
3263
3263
|
primaryPhoneNumber: string | null;
|
|
3264
3264
|
}[] | undefined;
|
|
@@ -3268,29 +3268,29 @@ export declare const crewsContract: {
|
|
|
3268
3268
|
leadType: "WORKER" | "SUPPLIER";
|
|
3269
3269
|
leadWorker: {
|
|
3270
3270
|
id: string;
|
|
3271
|
-
firstName: string;
|
|
3272
3271
|
lastName: string | null;
|
|
3272
|
+
firstName: string;
|
|
3273
3273
|
hasPhoneNumber: boolean;
|
|
3274
3274
|
primaryPhoneNumber: string | null;
|
|
3275
3275
|
} | null;
|
|
3276
3276
|
leadSupplier: {
|
|
3277
3277
|
id: string;
|
|
3278
|
-
phoneNumber: string;
|
|
3279
3278
|
name: string;
|
|
3280
|
-
email: string | null;
|
|
3281
3279
|
company: string | null;
|
|
3280
|
+
email: string | null;
|
|
3281
|
+
phoneNumber: string;
|
|
3282
3282
|
notes: string | null;
|
|
3283
|
-
createdAt?: string | undefined;
|
|
3284
3283
|
updatedAt?: string | undefined;
|
|
3284
|
+
createdAt?: string | undefined;
|
|
3285
3285
|
} | null;
|
|
3286
3286
|
memberCount: number;
|
|
3287
3287
|
maxMembers: number;
|
|
3288
|
-
createdAt?: string | undefined;
|
|
3289
3288
|
updatedAt?: string | undefined;
|
|
3289
|
+
createdAt?: string | undefined;
|
|
3290
3290
|
createdBy?: {
|
|
3291
3291
|
id: string;
|
|
3292
|
-
firstName: string;
|
|
3293
3292
|
lastName: string;
|
|
3293
|
+
firstName: string;
|
|
3294
3294
|
phoneNumbers?: {
|
|
3295
3295
|
id: string;
|
|
3296
3296
|
phoneNumber: string;
|
|
@@ -3301,8 +3301,8 @@ export declare const crewsContract: {
|
|
|
3301
3301
|
} | null | undefined;
|
|
3302
3302
|
members?: {
|
|
3303
3303
|
id: string;
|
|
3304
|
-
firstName: string;
|
|
3305
3304
|
lastName: string | null;
|
|
3305
|
+
firstName: string;
|
|
3306
3306
|
hasPhoneNumber: boolean;
|
|
3307
3307
|
primaryPhoneNumber: string | null;
|
|
3308
3308
|
}[] | undefined;
|