@dakkitor/api-contracts 1.7.1 → 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 +81 -81
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +53 -53
- 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
|
@@ -30,8 +30,8 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
30
30
|
comment: z.ZodOptional<z.ZodString>;
|
|
31
31
|
verified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
fileId: string;
|
|
34
33
|
verified: boolean;
|
|
34
|
+
fileId: string;
|
|
35
35
|
comment?: string | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
fileId: string;
|
|
@@ -41,8 +41,8 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
43
43
|
photos: {
|
|
44
|
-
fileId: string;
|
|
45
44
|
verified: boolean;
|
|
45
|
+
fileId: string;
|
|
46
46
|
comment?: string | undefined;
|
|
47
47
|
}[];
|
|
48
48
|
}, {
|
|
@@ -55,8 +55,8 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
55
55
|
}>, "many">, {
|
|
56
56
|
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
57
57
|
photos: {
|
|
58
|
-
fileId: string;
|
|
59
58
|
verified: boolean;
|
|
59
|
+
fileId: string;
|
|
60
60
|
comment?: string | undefined;
|
|
61
61
|
}[];
|
|
62
62
|
}[], {
|
|
@@ -77,8 +77,8 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
77
77
|
sections: {
|
|
78
78
|
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
79
79
|
photos: {
|
|
80
|
-
fileId: string;
|
|
81
80
|
verified: boolean;
|
|
81
|
+
fileId: string;
|
|
82
82
|
comment?: string | undefined;
|
|
83
83
|
}[];
|
|
84
84
|
}[];
|
|
@@ -120,8 +120,8 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
120
120
|
comment: z.ZodOptional<z.ZodString>;
|
|
121
121
|
verified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
fileId: string;
|
|
124
123
|
verified: boolean;
|
|
124
|
+
fileId: string;
|
|
125
125
|
comment?: string | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
fileId: string;
|
|
@@ -131,8 +131,8 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
133
133
|
photos: {
|
|
134
|
-
fileId: string;
|
|
135
134
|
verified: boolean;
|
|
135
|
+
fileId: string;
|
|
136
136
|
comment?: string | undefined;
|
|
137
137
|
}[];
|
|
138
138
|
}, {
|
|
@@ -145,8 +145,8 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
145
145
|
}>, "many">, {
|
|
146
146
|
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
147
147
|
photos: {
|
|
148
|
-
fileId: string;
|
|
149
148
|
verified: boolean;
|
|
149
|
+
fileId: string;
|
|
150
150
|
comment?: string | undefined;
|
|
151
151
|
}[];
|
|
152
152
|
}[], {
|
|
@@ -167,8 +167,8 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
167
167
|
sections: {
|
|
168
168
|
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
169
169
|
photos: {
|
|
170
|
-
fileId: string;
|
|
171
170
|
verified: boolean;
|
|
171
|
+
fileId: string;
|
|
172
172
|
comment?: string | undefined;
|
|
173
173
|
}[];
|
|
174
174
|
}[];
|
|
@@ -247,7 +247,7 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
247
247
|
fileId?: string | undefined;
|
|
248
248
|
}>, "many">;
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
type: "WHATSAPP" | "
|
|
250
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
251
251
|
photos: {
|
|
252
252
|
position: number;
|
|
253
253
|
comment: string | null;
|
|
@@ -257,7 +257,7 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
257
257
|
}[];
|
|
258
258
|
id?: string | undefined;
|
|
259
259
|
}, {
|
|
260
|
-
type: "WHATSAPP" | "
|
|
260
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
261
261
|
photos: {
|
|
262
262
|
position: number;
|
|
263
263
|
comment: string | null;
|
|
@@ -267,7 +267,7 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
267
267
|
}[];
|
|
268
268
|
id?: string | undefined;
|
|
269
269
|
}>, "many">, {
|
|
270
|
-
type: "WHATSAPP" | "
|
|
270
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
271
271
|
photos: {
|
|
272
272
|
position: number;
|
|
273
273
|
comment: string | null;
|
|
@@ -277,7 +277,7 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
277
277
|
}[];
|
|
278
278
|
id?: string | undefined;
|
|
279
279
|
}[], {
|
|
280
|
-
type: "WHATSAPP" | "
|
|
280
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
281
281
|
photos: {
|
|
282
282
|
position: number;
|
|
283
283
|
comment: string | null;
|
|
@@ -296,7 +296,7 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
296
296
|
entityId: string;
|
|
297
297
|
}[] | undefined;
|
|
298
298
|
sections?: {
|
|
299
|
-
type: "WHATSAPP" | "
|
|
299
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
300
300
|
photos: {
|
|
301
301
|
position: number;
|
|
302
302
|
comment: string | null;
|
|
@@ -315,7 +315,7 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
315
315
|
entityId: string;
|
|
316
316
|
}[] | undefined;
|
|
317
317
|
sections?: {
|
|
318
|
-
type: "WHATSAPP" | "
|
|
318
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
319
319
|
photos: {
|
|
320
320
|
position: number;
|
|
321
321
|
comment: string | null;
|
|
@@ -342,12 +342,12 @@ export declare const ProofPhotoResponseSchema: z.ZodObject<{
|
|
|
342
342
|
fileName: z.ZodOptional<z.ZodString>;
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
344
|
id: string;
|
|
345
|
-
createdAt: string;
|
|
346
345
|
updatedAt: string;
|
|
347
|
-
|
|
346
|
+
createdAt: string;
|
|
348
347
|
position: number;
|
|
349
348
|
comment: string | null;
|
|
350
349
|
verified: boolean;
|
|
350
|
+
fileId: string;
|
|
351
351
|
sectionId: string;
|
|
352
352
|
verifiedAt: string | null;
|
|
353
353
|
verifiedById: string | null;
|
|
@@ -355,12 +355,12 @@ export declare const ProofPhotoResponseSchema: z.ZodObject<{
|
|
|
355
355
|
fileUrl?: string | undefined;
|
|
356
356
|
}, {
|
|
357
357
|
id: string;
|
|
358
|
-
createdAt: string;
|
|
359
358
|
updatedAt: string;
|
|
360
|
-
|
|
359
|
+
createdAt: string;
|
|
361
360
|
position: number;
|
|
362
361
|
comment: string | null;
|
|
363
362
|
verified: boolean;
|
|
363
|
+
fileId: string;
|
|
364
364
|
sectionId: string;
|
|
365
365
|
verifiedAt: string | null;
|
|
366
366
|
verifiedById: string | null;
|
|
@@ -385,12 +385,12 @@ export declare const ProofSectionResponseSchema: z.ZodObject<{
|
|
|
385
385
|
fileName: z.ZodOptional<z.ZodString>;
|
|
386
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
387
|
id: string;
|
|
388
|
-
createdAt: string;
|
|
389
388
|
updatedAt: string;
|
|
390
|
-
|
|
389
|
+
createdAt: string;
|
|
391
390
|
position: number;
|
|
392
391
|
comment: string | null;
|
|
393
392
|
verified: boolean;
|
|
393
|
+
fileId: string;
|
|
394
394
|
sectionId: string;
|
|
395
395
|
verifiedAt: string | null;
|
|
396
396
|
verifiedById: string | null;
|
|
@@ -398,12 +398,12 @@ export declare const ProofSectionResponseSchema: z.ZodObject<{
|
|
|
398
398
|
fileUrl?: string | undefined;
|
|
399
399
|
}, {
|
|
400
400
|
id: string;
|
|
401
|
-
createdAt: string;
|
|
402
401
|
updatedAt: string;
|
|
403
|
-
|
|
402
|
+
createdAt: string;
|
|
404
403
|
position: number;
|
|
405
404
|
comment: string | null;
|
|
406
405
|
verified: boolean;
|
|
406
|
+
fileId: string;
|
|
407
407
|
sectionId: string;
|
|
408
408
|
verifiedAt: string | null;
|
|
409
409
|
verifiedById: string | null;
|
|
@@ -415,18 +415,18 @@ export declare const ProofSectionResponseSchema: z.ZodObject<{
|
|
|
415
415
|
createdAt: z.ZodString;
|
|
416
416
|
updatedAt: z.ZodString;
|
|
417
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
|
-
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
419
418
|
id: string;
|
|
420
|
-
createdAt: string;
|
|
421
419
|
updatedAt: string;
|
|
420
|
+
createdAt: string;
|
|
421
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
422
422
|
photos: {
|
|
423
423
|
id: string;
|
|
424
|
-
createdAt: string;
|
|
425
424
|
updatedAt: string;
|
|
426
|
-
|
|
425
|
+
createdAt: string;
|
|
427
426
|
position: number;
|
|
428
427
|
comment: string | null;
|
|
429
428
|
verified: boolean;
|
|
429
|
+
fileId: string;
|
|
430
430
|
sectionId: string;
|
|
431
431
|
verifiedAt: string | null;
|
|
432
432
|
verifiedById: string | null;
|
|
@@ -436,18 +436,18 @@ export declare const ProofSectionResponseSchema: z.ZodObject<{
|
|
|
436
436
|
photoCount: number;
|
|
437
437
|
verifiedCount: number;
|
|
438
438
|
}, {
|
|
439
|
-
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
440
439
|
id: string;
|
|
441
|
-
createdAt: string;
|
|
442
440
|
updatedAt: string;
|
|
441
|
+
createdAt: string;
|
|
442
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
443
443
|
photos: {
|
|
444
444
|
id: string;
|
|
445
|
-
createdAt: string;
|
|
446
445
|
updatedAt: string;
|
|
447
|
-
|
|
446
|
+
createdAt: string;
|
|
448
447
|
position: number;
|
|
449
448
|
comment: string | null;
|
|
450
449
|
verified: boolean;
|
|
450
|
+
fileId: string;
|
|
451
451
|
sectionId: string;
|
|
452
452
|
verifiedAt: string | null;
|
|
453
453
|
verifiedById: string | null;
|
|
@@ -500,8 +500,8 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
500
500
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
501
501
|
}, "strip", z.ZodTypeAny, {
|
|
502
502
|
id: string;
|
|
503
|
-
firstName: string;
|
|
504
503
|
lastName: string;
|
|
504
|
+
firstName: string;
|
|
505
505
|
phoneNumbers: {
|
|
506
506
|
id: string;
|
|
507
507
|
phoneNumber: string;
|
|
@@ -511,8 +511,8 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
511
511
|
deletedAt?: string | null | undefined;
|
|
512
512
|
}, {
|
|
513
513
|
id: string;
|
|
514
|
-
firstName: string;
|
|
515
514
|
lastName: string;
|
|
515
|
+
firstName: string;
|
|
516
516
|
phoneNumbers?: {
|
|
517
517
|
id: string;
|
|
518
518
|
phoneNumber: string;
|
|
@@ -547,8 +547,8 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
547
547
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
548
548
|
}, "strip", z.ZodTypeAny, {
|
|
549
549
|
id: string;
|
|
550
|
-
firstName: string;
|
|
551
550
|
lastName: string;
|
|
551
|
+
firstName: string;
|
|
552
552
|
phoneNumbers: {
|
|
553
553
|
id: string;
|
|
554
554
|
phoneNumber: string;
|
|
@@ -558,8 +558,8 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
558
558
|
deletedAt?: string | null | undefined;
|
|
559
559
|
}, {
|
|
560
560
|
id: string;
|
|
561
|
-
firstName: string;
|
|
562
561
|
lastName: string;
|
|
562
|
+
firstName: string;
|
|
563
563
|
phoneNumbers?: {
|
|
564
564
|
id: string;
|
|
565
565
|
phoneNumber: string;
|
|
@@ -588,12 +588,12 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
588
588
|
fileName: z.ZodOptional<z.ZodString>;
|
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
590
|
id: string;
|
|
591
|
-
createdAt: string;
|
|
592
591
|
updatedAt: string;
|
|
593
|
-
|
|
592
|
+
createdAt: string;
|
|
594
593
|
position: number;
|
|
595
594
|
comment: string | null;
|
|
596
595
|
verified: boolean;
|
|
596
|
+
fileId: string;
|
|
597
597
|
sectionId: string;
|
|
598
598
|
verifiedAt: string | null;
|
|
599
599
|
verifiedById: string | null;
|
|
@@ -601,12 +601,12 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
601
601
|
fileUrl?: string | undefined;
|
|
602
602
|
}, {
|
|
603
603
|
id: string;
|
|
604
|
-
createdAt: string;
|
|
605
604
|
updatedAt: string;
|
|
606
|
-
|
|
605
|
+
createdAt: string;
|
|
607
606
|
position: number;
|
|
608
607
|
comment: string | null;
|
|
609
608
|
verified: boolean;
|
|
609
|
+
fileId: string;
|
|
610
610
|
sectionId: string;
|
|
611
611
|
verifiedAt: string | null;
|
|
612
612
|
verifiedById: string | null;
|
|
@@ -618,18 +618,18 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
618
618
|
createdAt: z.ZodString;
|
|
619
619
|
updatedAt: z.ZodString;
|
|
620
620
|
}, "strip", z.ZodTypeAny, {
|
|
621
|
-
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
622
621
|
id: string;
|
|
623
|
-
createdAt: string;
|
|
624
622
|
updatedAt: string;
|
|
623
|
+
createdAt: string;
|
|
624
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
625
625
|
photos: {
|
|
626
626
|
id: string;
|
|
627
|
-
createdAt: string;
|
|
628
627
|
updatedAt: string;
|
|
629
|
-
|
|
628
|
+
createdAt: string;
|
|
630
629
|
position: number;
|
|
631
630
|
comment: string | null;
|
|
632
631
|
verified: boolean;
|
|
632
|
+
fileId: string;
|
|
633
633
|
sectionId: string;
|
|
634
634
|
verifiedAt: string | null;
|
|
635
635
|
verifiedById: string | null;
|
|
@@ -639,18 +639,18 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
639
639
|
photoCount: number;
|
|
640
640
|
verifiedCount: number;
|
|
641
641
|
}, {
|
|
642
|
-
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
643
642
|
id: string;
|
|
644
|
-
createdAt: string;
|
|
645
643
|
updatedAt: string;
|
|
644
|
+
createdAt: string;
|
|
645
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
646
646
|
photos: {
|
|
647
647
|
id: string;
|
|
648
|
-
createdAt: string;
|
|
649
648
|
updatedAt: string;
|
|
650
|
-
|
|
649
|
+
createdAt: string;
|
|
651
650
|
position: number;
|
|
652
651
|
comment: string | null;
|
|
653
652
|
verified: boolean;
|
|
653
|
+
fileId: string;
|
|
654
654
|
sectionId: string;
|
|
655
655
|
verifiedAt: string | null;
|
|
656
656
|
verifiedById: string | null;
|
|
@@ -680,15 +680,15 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
680
680
|
totalPhotos: z.ZodNumber;
|
|
681
681
|
}, "strip", z.ZodTypeAny, {
|
|
682
682
|
id: string;
|
|
683
|
-
description: string | null;
|
|
684
|
-
createdAt: string;
|
|
685
683
|
updatedAt: string;
|
|
684
|
+
createdAt: string;
|
|
685
|
+
description: string | null;
|
|
686
686
|
createdById: string;
|
|
687
687
|
forUserId: string;
|
|
688
688
|
createdBy: {
|
|
689
689
|
id: string;
|
|
690
|
-
firstName: string;
|
|
691
690
|
lastName: string;
|
|
691
|
+
firstName: string;
|
|
692
692
|
phoneNumbers: {
|
|
693
693
|
id: string;
|
|
694
694
|
phoneNumber: string;
|
|
@@ -700,18 +700,18 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
700
700
|
category: "POST" | "BOOKING";
|
|
701
701
|
proofDate: string;
|
|
702
702
|
sections: {
|
|
703
|
-
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
704
703
|
id: string;
|
|
705
|
-
createdAt: string;
|
|
706
704
|
updatedAt: string;
|
|
705
|
+
createdAt: string;
|
|
706
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
707
707
|
photos: {
|
|
708
708
|
id: string;
|
|
709
|
-
createdAt: string;
|
|
710
709
|
updatedAt: string;
|
|
711
|
-
|
|
710
|
+
createdAt: string;
|
|
712
711
|
position: number;
|
|
713
712
|
comment: string | null;
|
|
714
713
|
verified: boolean;
|
|
714
|
+
fileId: string;
|
|
715
715
|
sectionId: string;
|
|
716
716
|
verifiedAt: string | null;
|
|
717
717
|
verifiedById: string | null;
|
|
@@ -724,8 +724,8 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
724
724
|
verifiedCount: number;
|
|
725
725
|
forUser: {
|
|
726
726
|
id: string;
|
|
727
|
-
firstName: string;
|
|
728
727
|
lastName: string;
|
|
728
|
+
firstName: string;
|
|
729
729
|
phoneNumbers: {
|
|
730
730
|
id: string;
|
|
731
731
|
phoneNumber: string;
|
|
@@ -743,15 +743,15 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
743
743
|
totalPhotos: number;
|
|
744
744
|
}, {
|
|
745
745
|
id: string;
|
|
746
|
-
description: string | null;
|
|
747
|
-
createdAt: string;
|
|
748
746
|
updatedAt: string;
|
|
747
|
+
createdAt: string;
|
|
748
|
+
description: string | null;
|
|
749
749
|
createdById: string;
|
|
750
750
|
forUserId: string;
|
|
751
751
|
createdBy: {
|
|
752
752
|
id: string;
|
|
753
|
-
firstName: string;
|
|
754
753
|
lastName: string;
|
|
754
|
+
firstName: string;
|
|
755
755
|
phoneNumbers?: {
|
|
756
756
|
id: string;
|
|
757
757
|
phoneNumber: string;
|
|
@@ -763,18 +763,18 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
763
763
|
category: "POST" | "BOOKING";
|
|
764
764
|
proofDate: string;
|
|
765
765
|
sections: {
|
|
766
|
-
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
767
766
|
id: string;
|
|
768
|
-
createdAt: string;
|
|
769
767
|
updatedAt: string;
|
|
768
|
+
createdAt: string;
|
|
769
|
+
type: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
770
770
|
photos: {
|
|
771
771
|
id: string;
|
|
772
|
-
createdAt: string;
|
|
773
772
|
updatedAt: string;
|
|
774
|
-
|
|
773
|
+
createdAt: string;
|
|
775
774
|
position: number;
|
|
776
775
|
comment: string | null;
|
|
777
776
|
verified: boolean;
|
|
777
|
+
fileId: string;
|
|
778
778
|
sectionId: string;
|
|
779
779
|
verifiedAt: string | null;
|
|
780
780
|
verifiedById: string | null;
|
|
@@ -787,8 +787,8 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
787
787
|
verifiedCount: number;
|
|
788
788
|
forUser: {
|
|
789
789
|
id: string;
|
|
790
|
-
firstName: string;
|
|
791
790
|
lastName: string;
|
|
791
|
+
firstName: string;
|
|
792
792
|
phoneNumbers?: {
|
|
793
793
|
id: string;
|
|
794
794
|
phoneNumber: string;
|
|
@@ -838,13 +838,12 @@ export declare const FilterProofsSchema: z.ZodObject<{
|
|
|
838
838
|
order: "ASC" | "DESC";
|
|
839
839
|
}>, "many">>>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
|
-
limit: number;
|
|
842
841
|
page: number;
|
|
842
|
+
limit: number;
|
|
843
843
|
sort?: {
|
|
844
844
|
field: "createdAt";
|
|
845
845
|
order: "ASC" | "DESC";
|
|
846
846
|
}[] | null | undefined;
|
|
847
|
-
type?: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS" | undefined;
|
|
848
847
|
createdAt?: {
|
|
849
848
|
from?: string | null | undefined;
|
|
850
849
|
to?: string | null | undefined;
|
|
@@ -852,6 +851,7 @@ export declare const FilterProofsSchema: z.ZodObject<{
|
|
|
852
851
|
createdById?: string | undefined;
|
|
853
852
|
forUserId?: string | undefined;
|
|
854
853
|
category?: "POST" | "BOOKING" | undefined;
|
|
854
|
+
type?: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS" | undefined;
|
|
855
855
|
verified?: "all" | "none" | "partial" | undefined;
|
|
856
856
|
linkedBookingId?: string | undefined;
|
|
857
857
|
}, {
|
|
@@ -859,9 +859,8 @@ export declare const FilterProofsSchema: z.ZodObject<{
|
|
|
859
859
|
field: "createdAt";
|
|
860
860
|
order: "ASC" | "DESC";
|
|
861
861
|
}[] | null | undefined;
|
|
862
|
-
type?: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS" | undefined;
|
|
863
|
-
limit?: number | undefined;
|
|
864
862
|
page?: number | undefined;
|
|
863
|
+
limit?: number | undefined;
|
|
865
864
|
createdAt?: {
|
|
866
865
|
from?: string | null | undefined;
|
|
867
866
|
to?: string | null | undefined;
|
|
@@ -869,6 +868,7 @@ export declare const FilterProofsSchema: z.ZodObject<{
|
|
|
869
868
|
createdById?: string | undefined;
|
|
870
869
|
forUserId?: string | undefined;
|
|
871
870
|
category?: "POST" | "BOOKING" | undefined;
|
|
871
|
+
type?: "WHATSAPP" | "DISTANCE" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS" | undefined;
|
|
872
872
|
verified?: "all" | "none" | "partial" | undefined;
|
|
873
873
|
linkedBookingId?: string | undefined;
|
|
874
874
|
}>;
|
|
@@ -893,7 +893,6 @@ export declare const LinkedBookingSummarySchema: z.ZodObject<{
|
|
|
893
893
|
startDate: z.ZodNullable<z.ZodString>;
|
|
894
894
|
createdAt: z.ZodString;
|
|
895
895
|
}, "strip", z.ZodTypeAny, {
|
|
896
|
-
type: "BOOKING";
|
|
897
896
|
id: string;
|
|
898
897
|
createdAt: string;
|
|
899
898
|
startDate: string | null;
|
|
@@ -902,8 +901,8 @@ export declare const LinkedBookingSummarySchema: z.ZodObject<{
|
|
|
902
901
|
firstName: string;
|
|
903
902
|
lastName?: string | null | undefined;
|
|
904
903
|
};
|
|
905
|
-
}, {
|
|
906
904
|
type: "BOOKING";
|
|
905
|
+
}, {
|
|
907
906
|
id: string;
|
|
908
907
|
createdAt: string;
|
|
909
908
|
startDate: string | null;
|
|
@@ -912,6 +911,7 @@ export declare const LinkedBookingSummarySchema: z.ZodObject<{
|
|
|
912
911
|
firstName: string;
|
|
913
912
|
lastName?: string | null | undefined;
|
|
914
913
|
};
|
|
914
|
+
type: "BOOKING";
|
|
915
915
|
}>;
|
|
916
916
|
export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
917
917
|
type: z.ZodLiteral<"JOB">;
|
|
@@ -941,8 +941,8 @@ export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
|
941
941
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
942
942
|
}, "strip", z.ZodTypeAny, {
|
|
943
943
|
id: string;
|
|
944
|
-
firstName: string;
|
|
945
944
|
lastName: string;
|
|
945
|
+
firstName: string;
|
|
946
946
|
phoneNumbers: {
|
|
947
947
|
id: string;
|
|
948
948
|
phoneNumber: string;
|
|
@@ -952,8 +952,8 @@ export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
|
952
952
|
deletedAt?: string | null | undefined;
|
|
953
953
|
}, {
|
|
954
954
|
id: string;
|
|
955
|
-
firstName: string;
|
|
956
955
|
lastName: string;
|
|
956
|
+
firstName: string;
|
|
957
957
|
phoneNumbers?: {
|
|
958
958
|
id: string;
|
|
959
959
|
phoneNumber: string;
|
|
@@ -964,15 +964,14 @@ export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
|
964
964
|
}>;
|
|
965
965
|
createdAt: z.ZodString;
|
|
966
966
|
}, "strip", z.ZodTypeAny, {
|
|
967
|
-
type: "JOB";
|
|
968
967
|
id: string;
|
|
969
|
-
postcode: string | null;
|
|
970
968
|
createdAt: string;
|
|
969
|
+
postcode: string | null;
|
|
971
970
|
tradeId: string;
|
|
972
971
|
createdBy: {
|
|
973
972
|
id: string;
|
|
974
|
-
firstName: string;
|
|
975
973
|
lastName: string;
|
|
974
|
+
firstName: string;
|
|
976
975
|
phoneNumbers: {
|
|
977
976
|
id: string;
|
|
978
977
|
phoneNumber: string;
|
|
@@ -981,16 +980,16 @@ export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
|
981
980
|
}[];
|
|
982
981
|
deletedAt?: string | null | undefined;
|
|
983
982
|
};
|
|
984
|
-
}, {
|
|
985
983
|
type: "JOB";
|
|
984
|
+
}, {
|
|
986
985
|
id: string;
|
|
987
|
-
postcode: string | null;
|
|
988
986
|
createdAt: string;
|
|
987
|
+
postcode: string | null;
|
|
989
988
|
tradeId: string;
|
|
990
989
|
createdBy: {
|
|
991
990
|
id: string;
|
|
992
|
-
firstName: string;
|
|
993
991
|
lastName: string;
|
|
992
|
+
firstName: string;
|
|
994
993
|
phoneNumbers?: {
|
|
995
994
|
id: string;
|
|
996
995
|
phoneNumber: string;
|
|
@@ -999,6 +998,7 @@ export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
|
999
998
|
}[] | undefined;
|
|
1000
999
|
deletedAt?: string | Date | null | undefined;
|
|
1001
1000
|
};
|
|
1001
|
+
type: "JOB";
|
|
1002
1002
|
}>;
|
|
1003
1003
|
export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1004
1004
|
type: z.ZodLiteral<"BOOKING">;
|
|
@@ -1019,7 +1019,6 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1019
1019
|
startDate: z.ZodNullable<z.ZodString>;
|
|
1020
1020
|
createdAt: z.ZodString;
|
|
1021
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1022
|
-
type: "BOOKING";
|
|
1023
1022
|
id: string;
|
|
1024
1023
|
createdAt: string;
|
|
1025
1024
|
startDate: string | null;
|
|
@@ -1028,8 +1027,8 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1028
1027
|
firstName: string;
|
|
1029
1028
|
lastName?: string | null | undefined;
|
|
1030
1029
|
};
|
|
1031
|
-
}, {
|
|
1032
1030
|
type: "BOOKING";
|
|
1031
|
+
}, {
|
|
1033
1032
|
id: string;
|
|
1034
1033
|
createdAt: string;
|
|
1035
1034
|
startDate: string | null;
|
|
@@ -1038,6 +1037,7 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1038
1037
|
firstName: string;
|
|
1039
1038
|
lastName?: string | null | undefined;
|
|
1040
1039
|
};
|
|
1040
|
+
type: "BOOKING";
|
|
1041
1041
|
}>, z.ZodObject<{
|
|
1042
1042
|
type: z.ZodLiteral<"JOB">;
|
|
1043
1043
|
id: z.ZodString;
|
|
@@ -1066,8 +1066,8 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1066
1066
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1067
1067
|
}, "strip", z.ZodTypeAny, {
|
|
1068
1068
|
id: string;
|
|
1069
|
-
firstName: string;
|
|
1070
1069
|
lastName: string;
|
|
1070
|
+
firstName: string;
|
|
1071
1071
|
phoneNumbers: {
|
|
1072
1072
|
id: string;
|
|
1073
1073
|
phoneNumber: string;
|
|
@@ -1077,8 +1077,8 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1077
1077
|
deletedAt?: string | null | undefined;
|
|
1078
1078
|
}, {
|
|
1079
1079
|
id: string;
|
|
1080
|
-
firstName: string;
|
|
1081
1080
|
lastName: string;
|
|
1081
|
+
firstName: string;
|
|
1082
1082
|
phoneNumbers?: {
|
|
1083
1083
|
id: string;
|
|
1084
1084
|
phoneNumber: string;
|
|
@@ -1089,15 +1089,14 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1089
1089
|
}>;
|
|
1090
1090
|
createdAt: z.ZodString;
|
|
1091
1091
|
}, "strip", z.ZodTypeAny, {
|
|
1092
|
-
type: "JOB";
|
|
1093
1092
|
id: string;
|
|
1094
|
-
postcode: string | null;
|
|
1095
1093
|
createdAt: string;
|
|
1094
|
+
postcode: string | null;
|
|
1096
1095
|
tradeId: string;
|
|
1097
1096
|
createdBy: {
|
|
1098
1097
|
id: string;
|
|
1099
|
-
firstName: string;
|
|
1100
1098
|
lastName: string;
|
|
1099
|
+
firstName: string;
|
|
1101
1100
|
phoneNumbers: {
|
|
1102
1101
|
id: string;
|
|
1103
1102
|
phoneNumber: string;
|
|
@@ -1106,16 +1105,16 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1106
1105
|
}[];
|
|
1107
1106
|
deletedAt?: string | null | undefined;
|
|
1108
1107
|
};
|
|
1109
|
-
}, {
|
|
1110
1108
|
type: "JOB";
|
|
1109
|
+
}, {
|
|
1111
1110
|
id: string;
|
|
1112
|
-
postcode: string | null;
|
|
1113
1111
|
createdAt: string;
|
|
1112
|
+
postcode: string | null;
|
|
1114
1113
|
tradeId: string;
|
|
1115
1114
|
createdBy: {
|
|
1116
1115
|
id: string;
|
|
1117
|
-
firstName: string;
|
|
1118
1116
|
lastName: string;
|
|
1117
|
+
firstName: string;
|
|
1119
1118
|
phoneNumbers?: {
|
|
1120
1119
|
id: string;
|
|
1121
1120
|
phoneNumber: string;
|
|
@@ -1124,6 +1123,7 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1124
1123
|
}[] | undefined;
|
|
1125
1124
|
deletedAt?: string | Date | null | undefined;
|
|
1126
1125
|
};
|
|
1126
|
+
type: "JOB";
|
|
1127
1127
|
}>]>;
|
|
1128
1128
|
export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
1129
1129
|
items: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -1145,7 +1145,6 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1145
1145
|
startDate: z.ZodNullable<z.ZodString>;
|
|
1146
1146
|
createdAt: z.ZodString;
|
|
1147
1147
|
}, "strip", z.ZodTypeAny, {
|
|
1148
|
-
type: "BOOKING";
|
|
1149
1148
|
id: string;
|
|
1150
1149
|
createdAt: string;
|
|
1151
1150
|
startDate: string | null;
|
|
@@ -1154,8 +1153,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1154
1153
|
firstName: string;
|
|
1155
1154
|
lastName?: string | null | undefined;
|
|
1156
1155
|
};
|
|
1157
|
-
}, {
|
|
1158
1156
|
type: "BOOKING";
|
|
1157
|
+
}, {
|
|
1159
1158
|
id: string;
|
|
1160
1159
|
createdAt: string;
|
|
1161
1160
|
startDate: string | null;
|
|
@@ -1164,6 +1163,7 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1164
1163
|
firstName: string;
|
|
1165
1164
|
lastName?: string | null | undefined;
|
|
1166
1165
|
};
|
|
1166
|
+
type: "BOOKING";
|
|
1167
1167
|
}>, z.ZodObject<{
|
|
1168
1168
|
type: z.ZodLiteral<"JOB">;
|
|
1169
1169
|
id: z.ZodString;
|
|
@@ -1192,8 +1192,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1192
1192
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1193
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1194
|
id: string;
|
|
1195
|
-
firstName: string;
|
|
1196
1195
|
lastName: string;
|
|
1196
|
+
firstName: string;
|
|
1197
1197
|
phoneNumbers: {
|
|
1198
1198
|
id: string;
|
|
1199
1199
|
phoneNumber: string;
|
|
@@ -1203,8 +1203,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1203
1203
|
deletedAt?: string | null | undefined;
|
|
1204
1204
|
}, {
|
|
1205
1205
|
id: string;
|
|
1206
|
-
firstName: string;
|
|
1207
1206
|
lastName: string;
|
|
1207
|
+
firstName: string;
|
|
1208
1208
|
phoneNumbers?: {
|
|
1209
1209
|
id: string;
|
|
1210
1210
|
phoneNumber: string;
|
|
@@ -1215,15 +1215,14 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1215
1215
|
}>;
|
|
1216
1216
|
createdAt: z.ZodString;
|
|
1217
1217
|
}, "strip", z.ZodTypeAny, {
|
|
1218
|
-
type: "JOB";
|
|
1219
1218
|
id: string;
|
|
1220
|
-
postcode: string | null;
|
|
1221
1219
|
createdAt: string;
|
|
1220
|
+
postcode: string | null;
|
|
1222
1221
|
tradeId: string;
|
|
1223
1222
|
createdBy: {
|
|
1224
1223
|
id: string;
|
|
1225
|
-
firstName: string;
|
|
1226
1224
|
lastName: string;
|
|
1225
|
+
firstName: string;
|
|
1227
1226
|
phoneNumbers: {
|
|
1228
1227
|
id: string;
|
|
1229
1228
|
phoneNumber: string;
|
|
@@ -1232,16 +1231,16 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1232
1231
|
}[];
|
|
1233
1232
|
deletedAt?: string | null | undefined;
|
|
1234
1233
|
};
|
|
1235
|
-
}, {
|
|
1236
1234
|
type: "JOB";
|
|
1235
|
+
}, {
|
|
1237
1236
|
id: string;
|
|
1238
|
-
postcode: string | null;
|
|
1239
1237
|
createdAt: string;
|
|
1238
|
+
postcode: string | null;
|
|
1240
1239
|
tradeId: string;
|
|
1241
1240
|
createdBy: {
|
|
1242
1241
|
id: string;
|
|
1243
|
-
firstName: string;
|
|
1244
1242
|
lastName: string;
|
|
1243
|
+
firstName: string;
|
|
1245
1244
|
phoneNumbers?: {
|
|
1246
1245
|
id: string;
|
|
1247
1246
|
phoneNumber: string;
|
|
@@ -1250,10 +1249,10 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1250
1249
|
}[] | undefined;
|
|
1251
1250
|
deletedAt?: string | Date | null | undefined;
|
|
1252
1251
|
};
|
|
1252
|
+
type: "JOB";
|
|
1253
1253
|
}>]>, "many">;
|
|
1254
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1255
1255
|
items: ({
|
|
1256
|
-
type: "BOOKING";
|
|
1257
1256
|
id: string;
|
|
1258
1257
|
createdAt: string;
|
|
1259
1258
|
startDate: string | null;
|
|
@@ -1262,16 +1261,16 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1262
1261
|
firstName: string;
|
|
1263
1262
|
lastName?: string | null | undefined;
|
|
1264
1263
|
};
|
|
1264
|
+
type: "BOOKING";
|
|
1265
1265
|
} | {
|
|
1266
|
-
type: "JOB";
|
|
1267
1266
|
id: string;
|
|
1268
|
-
postcode: string | null;
|
|
1269
1267
|
createdAt: string;
|
|
1268
|
+
postcode: string | null;
|
|
1270
1269
|
tradeId: string;
|
|
1271
1270
|
createdBy: {
|
|
1272
1271
|
id: string;
|
|
1273
|
-
firstName: string;
|
|
1274
1272
|
lastName: string;
|
|
1273
|
+
firstName: string;
|
|
1275
1274
|
phoneNumbers: {
|
|
1276
1275
|
id: string;
|
|
1277
1276
|
phoneNumber: string;
|
|
@@ -1280,10 +1279,10 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1280
1279
|
}[];
|
|
1281
1280
|
deletedAt?: string | null | undefined;
|
|
1282
1281
|
};
|
|
1282
|
+
type: "JOB";
|
|
1283
1283
|
})[];
|
|
1284
1284
|
}, {
|
|
1285
1285
|
items: ({
|
|
1286
|
-
type: "BOOKING";
|
|
1287
1286
|
id: string;
|
|
1288
1287
|
createdAt: string;
|
|
1289
1288
|
startDate: string | null;
|
|
@@ -1292,16 +1291,16 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1292
1291
|
firstName: string;
|
|
1293
1292
|
lastName?: string | null | undefined;
|
|
1294
1293
|
};
|
|
1294
|
+
type: "BOOKING";
|
|
1295
1295
|
} | {
|
|
1296
|
-
type: "JOB";
|
|
1297
1296
|
id: string;
|
|
1298
|
-
postcode: string | null;
|
|
1299
1297
|
createdAt: string;
|
|
1298
|
+
postcode: string | null;
|
|
1300
1299
|
tradeId: string;
|
|
1301
1300
|
createdBy: {
|
|
1302
1301
|
id: string;
|
|
1303
|
-
firstName: string;
|
|
1304
1302
|
lastName: string;
|
|
1303
|
+
firstName: string;
|
|
1305
1304
|
phoneNumbers?: {
|
|
1306
1305
|
id: string;
|
|
1307
1306
|
phoneNumber: string;
|
|
@@ -1310,6 +1309,7 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1310
1309
|
}[] | undefined;
|
|
1311
1310
|
deletedAt?: string | Date | null | undefined;
|
|
1312
1311
|
};
|
|
1312
|
+
type: "JOB";
|
|
1313
1313
|
})[];
|
|
1314
1314
|
}>;
|
|
1315
1315
|
export type LinkedBookingSummary = z.infer<typeof LinkedBookingSummarySchema>;
|