@dakkitor/api-contracts 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +31 -1
- package/dist/abilities/abilities.contract.spec.js +52 -3
- package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
- package/dist/abilities/automatic-caller.abilities.json +1 -0
- package/dist/abilities/first-agent.abilities.json +14 -0
- package/dist/abilities/interconnection.abilities.json +17 -1
- package/dist/abilities/office-manager.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +32 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +7200 -6919
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +137 -137
- package/dist/auth/auth.contract.d.ts +85 -85
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +10542 -10116
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +2 -16
- package/dist/call-history/call-history.contract.d.ts +315 -140
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +39 -6
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +6847 -1872
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.js +304 -16
- package/dist/candidate-calling/candidate-calling.contract.spec.js +164 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
- package/dist/clients/clients.contract.d.ts +289 -289
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +601 -601
- package/dist/collaborations/collaborations.contract.d.ts +538 -538
- package/dist/common/callback-slots.d.ts +4 -0
- package/dist/common/callback-slots.d.ts.map +1 -0
- package/dist/common/callback-slots.js +20 -0
- package/dist/common/common-schemas.d.ts +10 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +6 -0
- package/dist/companies/companies.contract.d.ts +120 -120
- package/dist/crews/crews.contract.d.ts +278 -278
- package/dist/cron-executions/cron-executions.contract.d.ts +238 -238
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2154 -1296
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +36 -3
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +300 -300
- package/dist/curated-worker-leads/contact-history.spec.js +86 -0
- package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
- package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8598 -2519
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
- package/dist/curated-workers/curated-workers.contract.d.ts +1213 -1131
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1278 -535
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +46 -1
- package/dist/dashboards/dashboard.contract.d.ts +8 -8
- package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
- package/dist/export-jobs/export-jobs.contract.d.ts +663 -663
- package/dist/exports-events/exports-events.schemas.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/jobs/jobs.contract.d.ts +5586 -3381
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +95 -2
- package/dist/jobs/jobs.contract.spec.js +231 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +123 -123
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1897 -122
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +102 -2
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +103 -103
- package/dist/leads/leads.contract.d.ts +210 -210
- package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
- package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
- package/dist/locations/location-enrichment.contract.spec.js +50 -0
- package/dist/locations/locations.contract.d.ts +132 -98
- package/dist/locations/locations.contract.d.ts.map +1 -1
- package/dist/locations/locations.contract.js +10 -0
- package/dist/notifications/notifications.contract.d.ts +512 -40
- package/dist/notifications/notifications.contract.d.ts.map +1 -1
- package/dist/notifications/notifications.contract.js +36 -2
- package/dist/notifications/notifications.contract.spec.d.ts +2 -0
- package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
- package/dist/notifications/notifications.contract.spec.js +39 -0
- package/dist/own-research/own-research.contract.d.ts +196 -130
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/proofs/proofs.contract.d.ts +356 -356
- package/dist/proofs/proofs.dtos.d.ts +148 -148
- package/dist/realtime/job-call-priority-updated.d.ts +18 -0
- package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
- package/dist/realtime/job-call-priority-updated.js +17 -0
- package/dist/shared/summary-schemas.d.ts +36 -27
- package/dist/shared/summary-schemas.d.ts.map +1 -1
- package/dist/shared/summary-schemas.js +7 -0
- package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
- package/dist/user-access-grants/user-access-grants.contract.d.ts +55 -55
- package/dist/users/users.contract.d.ts +236 -236
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +69 -69
- package/dist/workers/workers.contract.d.ts +2620 -2420
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -39,28 +39,28 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
39
39
|
verified?: boolean | undefined;
|
|
40
40
|
}>, "many">;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
type: "
|
|
42
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
43
43
|
photos: {
|
|
44
44
|
verified: boolean;
|
|
45
45
|
fileId: string;
|
|
46
46
|
comment?: string | undefined;
|
|
47
47
|
}[];
|
|
48
48
|
}, {
|
|
49
|
-
type: "
|
|
49
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
50
50
|
photos: {
|
|
51
51
|
fileId: string;
|
|
52
52
|
comment?: string | undefined;
|
|
53
53
|
verified?: boolean | undefined;
|
|
54
54
|
}[];
|
|
55
55
|
}>, "many">, {
|
|
56
|
-
type: "
|
|
56
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
57
57
|
photos: {
|
|
58
58
|
verified: boolean;
|
|
59
59
|
fileId: string;
|
|
60
60
|
comment?: string | undefined;
|
|
61
61
|
}[];
|
|
62
62
|
}[], {
|
|
63
|
-
type: "
|
|
63
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
64
64
|
photos: {
|
|
65
65
|
fileId: string;
|
|
66
66
|
comment?: string | undefined;
|
|
@@ -68,14 +68,14 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
68
68
|
}[];
|
|
69
69
|
}[]>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
forUserId: string;
|
|
72
71
|
category: "POST";
|
|
72
|
+
forUserId: string;
|
|
73
73
|
linkedEntities: {
|
|
74
74
|
entityType: "BOOKING" | "JOB";
|
|
75
75
|
entityId: string;
|
|
76
76
|
}[];
|
|
77
77
|
sections: {
|
|
78
|
-
type: "
|
|
78
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
79
79
|
photos: {
|
|
80
80
|
verified: boolean;
|
|
81
81
|
fileId: string;
|
|
@@ -84,10 +84,10 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
84
84
|
}[];
|
|
85
85
|
proofDate?: string | undefined;
|
|
86
86
|
}, {
|
|
87
|
-
forUserId: string;
|
|
88
87
|
category: "POST";
|
|
88
|
+
forUserId: string;
|
|
89
89
|
sections: {
|
|
90
|
-
type: "
|
|
90
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
91
91
|
photos: {
|
|
92
92
|
fileId: string;
|
|
93
93
|
comment?: string | undefined;
|
|
@@ -129,28 +129,28 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
129
129
|
verified?: boolean | undefined;
|
|
130
130
|
}>, "many">;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
type: "
|
|
132
|
+
type: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
133
133
|
photos: {
|
|
134
134
|
verified: boolean;
|
|
135
135
|
fileId: string;
|
|
136
136
|
comment?: string | undefined;
|
|
137
137
|
}[];
|
|
138
138
|
}, {
|
|
139
|
-
type: "
|
|
139
|
+
type: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
140
140
|
photos: {
|
|
141
141
|
fileId: string;
|
|
142
142
|
comment?: string | undefined;
|
|
143
143
|
verified?: boolean | undefined;
|
|
144
144
|
}[];
|
|
145
145
|
}>, "many">, {
|
|
146
|
-
type: "
|
|
146
|
+
type: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
147
147
|
photos: {
|
|
148
148
|
verified: boolean;
|
|
149
149
|
fileId: string;
|
|
150
150
|
comment?: string | undefined;
|
|
151
151
|
}[];
|
|
152
152
|
}[], {
|
|
153
|
-
type: "
|
|
153
|
+
type: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
154
154
|
photos: {
|
|
155
155
|
fileId: string;
|
|
156
156
|
comment?: string | undefined;
|
|
@@ -158,14 +158,14 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
158
158
|
}[];
|
|
159
159
|
}[]>;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
-
forUserId: string;
|
|
162
161
|
category: "BOOKING";
|
|
162
|
+
forUserId: string;
|
|
163
163
|
linkedEntities: {
|
|
164
164
|
entityType: "BOOKING" | "JOB";
|
|
165
165
|
entityId: string;
|
|
166
166
|
}[];
|
|
167
167
|
sections: {
|
|
168
|
-
type: "
|
|
168
|
+
type: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
169
169
|
photos: {
|
|
170
170
|
verified: boolean;
|
|
171
171
|
fileId: string;
|
|
@@ -174,14 +174,14 @@ export declare const CreateProofBatchSchema: z.ZodDiscriminatedUnion<"category",
|
|
|
174
174
|
}[];
|
|
175
175
|
proofDate?: string | undefined;
|
|
176
176
|
}, {
|
|
177
|
-
forUserId: string;
|
|
178
177
|
category: "BOOKING";
|
|
178
|
+
forUserId: string;
|
|
179
179
|
linkedEntities: {
|
|
180
180
|
entityType: "BOOKING" | "JOB";
|
|
181
181
|
entityId: string;
|
|
182
182
|
}[];
|
|
183
183
|
sections: {
|
|
184
|
-
type: "
|
|
184
|
+
type: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
185
185
|
photos: {
|
|
186
186
|
fileId: string;
|
|
187
187
|
comment?: string | undefined;
|
|
@@ -222,66 +222,66 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
222
222
|
comment: z.ZodNullable<z.ZodString>;
|
|
223
223
|
position: z.ZodNumber;
|
|
224
224
|
}, "strip", z.ZodTypeAny, {
|
|
225
|
-
position: number;
|
|
226
225
|
comment: string | null;
|
|
227
226
|
verified: boolean;
|
|
227
|
+
position: number;
|
|
228
228
|
id?: string | undefined;
|
|
229
229
|
fileId?: string | undefined;
|
|
230
230
|
}, {
|
|
231
|
-
position: number;
|
|
232
231
|
comment: string | null;
|
|
233
232
|
verified: boolean;
|
|
233
|
+
position: number;
|
|
234
234
|
id?: string | undefined;
|
|
235
235
|
fileId?: string | undefined;
|
|
236
236
|
}>, {
|
|
237
|
-
position: number;
|
|
238
237
|
comment: string | null;
|
|
239
238
|
verified: boolean;
|
|
239
|
+
position: number;
|
|
240
240
|
id?: string | undefined;
|
|
241
241
|
fileId?: string | undefined;
|
|
242
242
|
}, {
|
|
243
|
-
position: number;
|
|
244
243
|
comment: string | null;
|
|
245
244
|
verified: boolean;
|
|
245
|
+
position: number;
|
|
246
246
|
id?: string | undefined;
|
|
247
247
|
fileId?: string | undefined;
|
|
248
248
|
}>, "many">;
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
type: "
|
|
250
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
251
251
|
photos: {
|
|
252
|
-
position: number;
|
|
253
252
|
comment: string | null;
|
|
254
253
|
verified: boolean;
|
|
254
|
+
position: number;
|
|
255
255
|
id?: string | undefined;
|
|
256
256
|
fileId?: string | undefined;
|
|
257
257
|
}[];
|
|
258
258
|
id?: string | undefined;
|
|
259
259
|
}, {
|
|
260
|
-
type: "
|
|
260
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
261
261
|
photos: {
|
|
262
|
-
position: number;
|
|
263
262
|
comment: string | null;
|
|
264
263
|
verified: boolean;
|
|
264
|
+
position: number;
|
|
265
265
|
id?: string | undefined;
|
|
266
266
|
fileId?: string | undefined;
|
|
267
267
|
}[];
|
|
268
268
|
id?: string | undefined;
|
|
269
269
|
}>, "many">, {
|
|
270
|
-
type: "
|
|
270
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
271
271
|
photos: {
|
|
272
|
-
position: number;
|
|
273
272
|
comment: string | null;
|
|
274
273
|
verified: boolean;
|
|
274
|
+
position: number;
|
|
275
275
|
id?: string | undefined;
|
|
276
276
|
fileId?: string | undefined;
|
|
277
277
|
}[];
|
|
278
278
|
id?: string | undefined;
|
|
279
279
|
}[], {
|
|
280
|
-
type: "
|
|
280
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
281
281
|
photos: {
|
|
282
|
-
position: number;
|
|
283
282
|
comment: string | null;
|
|
284
283
|
verified: boolean;
|
|
284
|
+
position: number;
|
|
285
285
|
id?: string | undefined;
|
|
286
286
|
fileId?: string | undefined;
|
|
287
287
|
}[];
|
|
@@ -296,11 +296,11 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
296
296
|
entityId: string;
|
|
297
297
|
}[] | undefined;
|
|
298
298
|
sections?: {
|
|
299
|
-
type: "
|
|
299
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
300
300
|
photos: {
|
|
301
|
-
position: number;
|
|
302
301
|
comment: string | null;
|
|
303
302
|
verified: boolean;
|
|
303
|
+
position: number;
|
|
304
304
|
id?: string | undefined;
|
|
305
305
|
fileId?: string | undefined;
|
|
306
306
|
}[];
|
|
@@ -315,11 +315,11 @@ export declare const UpdateProofSchema: z.ZodObject<{
|
|
|
315
315
|
entityId: string;
|
|
316
316
|
}[] | undefined;
|
|
317
317
|
sections?: {
|
|
318
|
-
type: "
|
|
318
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
319
319
|
photos: {
|
|
320
|
-
position: number;
|
|
321
320
|
comment: string | null;
|
|
322
321
|
verified: boolean;
|
|
322
|
+
position: number;
|
|
323
323
|
id?: string | undefined;
|
|
324
324
|
fileId?: string | undefined;
|
|
325
325
|
}[];
|
|
@@ -341,31 +341,31 @@ export declare const ProofPhotoResponseSchema: z.ZodObject<{
|
|
|
341
341
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
342
342
|
fileName: z.ZodOptional<z.ZodString>;
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
id: string;
|
|
345
|
-
updatedAt: string;
|
|
346
344
|
createdAt: string;
|
|
347
|
-
|
|
345
|
+
updatedAt: string;
|
|
346
|
+
id: string;
|
|
348
347
|
comment: string | null;
|
|
349
348
|
verified: boolean;
|
|
350
349
|
fileId: string;
|
|
350
|
+
position: number;
|
|
351
351
|
sectionId: string;
|
|
352
352
|
verifiedAt: string | null;
|
|
353
353
|
verifiedById: string | null;
|
|
354
|
-
fileName?: string | undefined;
|
|
355
354
|
fileUrl?: string | undefined;
|
|
355
|
+
fileName?: string | undefined;
|
|
356
356
|
}, {
|
|
357
|
-
id: string;
|
|
358
|
-
updatedAt: string;
|
|
359
357
|
createdAt: string;
|
|
360
|
-
|
|
358
|
+
updatedAt: string;
|
|
359
|
+
id: string;
|
|
361
360
|
comment: string | null;
|
|
362
361
|
verified: boolean;
|
|
363
362
|
fileId: string;
|
|
363
|
+
position: number;
|
|
364
364
|
sectionId: string;
|
|
365
365
|
verifiedAt: string | null;
|
|
366
366
|
verifiedById: string | null;
|
|
367
|
-
fileName?: string | undefined;
|
|
368
367
|
fileUrl?: string | undefined;
|
|
368
|
+
fileName?: string | undefined;
|
|
369
369
|
}>;
|
|
370
370
|
export declare const ProofSectionResponseSchema: z.ZodObject<{
|
|
371
371
|
id: z.ZodString;
|
|
@@ -384,75 +384,75 @@ export declare const ProofSectionResponseSchema: z.ZodObject<{
|
|
|
384
384
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
385
385
|
fileName: z.ZodOptional<z.ZodString>;
|
|
386
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
id: string;
|
|
388
|
-
updatedAt: string;
|
|
389
387
|
createdAt: string;
|
|
390
|
-
|
|
388
|
+
updatedAt: string;
|
|
389
|
+
id: string;
|
|
391
390
|
comment: string | null;
|
|
392
391
|
verified: boolean;
|
|
393
392
|
fileId: string;
|
|
393
|
+
position: number;
|
|
394
394
|
sectionId: string;
|
|
395
395
|
verifiedAt: string | null;
|
|
396
396
|
verifiedById: string | null;
|
|
397
|
-
fileName?: string | undefined;
|
|
398
397
|
fileUrl?: string | undefined;
|
|
398
|
+
fileName?: string | undefined;
|
|
399
399
|
}, {
|
|
400
|
-
id: string;
|
|
401
|
-
updatedAt: string;
|
|
402
400
|
createdAt: string;
|
|
403
|
-
|
|
401
|
+
updatedAt: string;
|
|
402
|
+
id: string;
|
|
404
403
|
comment: string | null;
|
|
405
404
|
verified: boolean;
|
|
406
405
|
fileId: string;
|
|
406
|
+
position: number;
|
|
407
407
|
sectionId: string;
|
|
408
408
|
verifiedAt: string | null;
|
|
409
409
|
verifiedById: string | null;
|
|
410
|
-
fileName?: string | undefined;
|
|
411
410
|
fileUrl?: string | undefined;
|
|
411
|
+
fileName?: string | undefined;
|
|
412
412
|
}>, "many">;
|
|
413
413
|
photoCount: z.ZodNumber;
|
|
414
414
|
verifiedCount: z.ZodNumber;
|
|
415
415
|
createdAt: z.ZodString;
|
|
416
416
|
updatedAt: z.ZodString;
|
|
417
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
|
-
id: string;
|
|
419
|
-
updatedAt: string;
|
|
420
418
|
createdAt: string;
|
|
421
|
-
|
|
419
|
+
updatedAt: string;
|
|
420
|
+
id: string;
|
|
421
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
422
422
|
photos: {
|
|
423
|
-
id: string;
|
|
424
|
-
updatedAt: string;
|
|
425
423
|
createdAt: string;
|
|
426
|
-
|
|
424
|
+
updatedAt: string;
|
|
425
|
+
id: string;
|
|
427
426
|
comment: string | null;
|
|
428
427
|
verified: boolean;
|
|
429
428
|
fileId: string;
|
|
429
|
+
position: number;
|
|
430
430
|
sectionId: string;
|
|
431
431
|
verifiedAt: string | null;
|
|
432
432
|
verifiedById: string | null;
|
|
433
|
-
fileName?: string | undefined;
|
|
434
433
|
fileUrl?: string | undefined;
|
|
434
|
+
fileName?: string | undefined;
|
|
435
435
|
}[];
|
|
436
436
|
photoCount: number;
|
|
437
437
|
verifiedCount: number;
|
|
438
438
|
}, {
|
|
439
|
-
id: string;
|
|
440
|
-
updatedAt: string;
|
|
441
439
|
createdAt: string;
|
|
442
|
-
|
|
440
|
+
updatedAt: string;
|
|
441
|
+
id: string;
|
|
442
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
443
443
|
photos: {
|
|
444
|
-
id: string;
|
|
445
|
-
updatedAt: string;
|
|
446
444
|
createdAt: string;
|
|
447
|
-
|
|
445
|
+
updatedAt: string;
|
|
446
|
+
id: string;
|
|
448
447
|
comment: string | null;
|
|
449
448
|
verified: boolean;
|
|
450
449
|
fileId: string;
|
|
450
|
+
position: number;
|
|
451
451
|
sectionId: string;
|
|
452
452
|
verifiedAt: string | null;
|
|
453
453
|
verifiedById: string | null;
|
|
454
|
-
fileName?: string | undefined;
|
|
455
454
|
fileUrl?: string | undefined;
|
|
455
|
+
fileName?: string | undefined;
|
|
456
456
|
}[];
|
|
457
457
|
photoCount: number;
|
|
458
458
|
verifiedCount: number;
|
|
@@ -587,75 +587,75 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
587
587
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
588
588
|
fileName: z.ZodOptional<z.ZodString>;
|
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
|
-
id: string;
|
|
591
|
-
updatedAt: string;
|
|
592
590
|
createdAt: string;
|
|
593
|
-
|
|
591
|
+
updatedAt: string;
|
|
592
|
+
id: string;
|
|
594
593
|
comment: string | null;
|
|
595
594
|
verified: boolean;
|
|
596
595
|
fileId: string;
|
|
596
|
+
position: number;
|
|
597
597
|
sectionId: string;
|
|
598
598
|
verifiedAt: string | null;
|
|
599
599
|
verifiedById: string | null;
|
|
600
|
-
fileName?: string | undefined;
|
|
601
600
|
fileUrl?: string | undefined;
|
|
601
|
+
fileName?: string | undefined;
|
|
602
602
|
}, {
|
|
603
|
-
id: string;
|
|
604
|
-
updatedAt: string;
|
|
605
603
|
createdAt: string;
|
|
606
|
-
|
|
604
|
+
updatedAt: string;
|
|
605
|
+
id: string;
|
|
607
606
|
comment: string | null;
|
|
608
607
|
verified: boolean;
|
|
609
608
|
fileId: string;
|
|
609
|
+
position: number;
|
|
610
610
|
sectionId: string;
|
|
611
611
|
verifiedAt: string | null;
|
|
612
612
|
verifiedById: string | null;
|
|
613
|
-
fileName?: string | undefined;
|
|
614
613
|
fileUrl?: string | undefined;
|
|
614
|
+
fileName?: string | undefined;
|
|
615
615
|
}>, "many">;
|
|
616
616
|
photoCount: z.ZodNumber;
|
|
617
617
|
verifiedCount: z.ZodNumber;
|
|
618
618
|
createdAt: z.ZodString;
|
|
619
619
|
updatedAt: z.ZodString;
|
|
620
620
|
}, "strip", z.ZodTypeAny, {
|
|
621
|
-
id: string;
|
|
622
|
-
updatedAt: string;
|
|
623
621
|
createdAt: string;
|
|
624
|
-
|
|
622
|
+
updatedAt: string;
|
|
623
|
+
id: string;
|
|
624
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
625
625
|
photos: {
|
|
626
|
-
id: string;
|
|
627
|
-
updatedAt: string;
|
|
628
626
|
createdAt: string;
|
|
629
|
-
|
|
627
|
+
updatedAt: string;
|
|
628
|
+
id: string;
|
|
630
629
|
comment: string | null;
|
|
631
630
|
verified: boolean;
|
|
632
631
|
fileId: string;
|
|
632
|
+
position: number;
|
|
633
633
|
sectionId: string;
|
|
634
634
|
verifiedAt: string | null;
|
|
635
635
|
verifiedById: string | null;
|
|
636
|
-
fileName?: string | undefined;
|
|
637
636
|
fileUrl?: string | undefined;
|
|
637
|
+
fileName?: string | undefined;
|
|
638
638
|
}[];
|
|
639
639
|
photoCount: number;
|
|
640
640
|
verifiedCount: number;
|
|
641
641
|
}, {
|
|
642
|
-
id: string;
|
|
643
|
-
updatedAt: string;
|
|
644
642
|
createdAt: string;
|
|
645
|
-
|
|
643
|
+
updatedAt: string;
|
|
644
|
+
id: string;
|
|
645
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
646
646
|
photos: {
|
|
647
|
-
id: string;
|
|
648
|
-
updatedAt: string;
|
|
649
647
|
createdAt: string;
|
|
650
|
-
|
|
648
|
+
updatedAt: string;
|
|
649
|
+
id: string;
|
|
651
650
|
comment: string | null;
|
|
652
651
|
verified: boolean;
|
|
653
652
|
fileId: string;
|
|
653
|
+
position: number;
|
|
654
654
|
sectionId: string;
|
|
655
655
|
verifiedAt: string | null;
|
|
656
656
|
verifiedById: string | null;
|
|
657
|
-
fileName?: string | undefined;
|
|
658
657
|
fileUrl?: string | undefined;
|
|
658
|
+
fileName?: string | undefined;
|
|
659
659
|
}[];
|
|
660
660
|
photoCount: number;
|
|
661
661
|
verifiedCount: number;
|
|
@@ -679,12 +679,8 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
679
679
|
verifiedCount: z.ZodNumber;
|
|
680
680
|
totalPhotos: z.ZodNumber;
|
|
681
681
|
}, "strip", z.ZodTypeAny, {
|
|
682
|
-
id: string;
|
|
683
|
-
updatedAt: string;
|
|
684
682
|
createdAt: string;
|
|
685
|
-
|
|
686
|
-
createdById: string;
|
|
687
|
-
forUserId: string;
|
|
683
|
+
updatedAt: string;
|
|
688
684
|
createdBy: {
|
|
689
685
|
id: string;
|
|
690
686
|
lastName: string;
|
|
@@ -697,26 +693,30 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
697
693
|
}[];
|
|
698
694
|
deletedAt?: string | null | undefined;
|
|
699
695
|
};
|
|
696
|
+
id: string;
|
|
697
|
+
description: string | null;
|
|
698
|
+
createdById: string;
|
|
700
699
|
category: "POST" | "BOOKING";
|
|
700
|
+
forUserId: string;
|
|
701
701
|
proofDate: string;
|
|
702
702
|
sections: {
|
|
703
|
-
id: string;
|
|
704
|
-
updatedAt: string;
|
|
705
703
|
createdAt: string;
|
|
706
|
-
|
|
704
|
+
updatedAt: string;
|
|
705
|
+
id: string;
|
|
706
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
707
707
|
photos: {
|
|
708
|
-
id: string;
|
|
709
|
-
updatedAt: string;
|
|
710
708
|
createdAt: string;
|
|
711
|
-
|
|
709
|
+
updatedAt: string;
|
|
710
|
+
id: string;
|
|
712
711
|
comment: string | null;
|
|
713
712
|
verified: boolean;
|
|
714
713
|
fileId: string;
|
|
714
|
+
position: number;
|
|
715
715
|
sectionId: string;
|
|
716
716
|
verifiedAt: string | null;
|
|
717
717
|
verifiedById: string | null;
|
|
718
|
-
fileName?: string | undefined;
|
|
719
718
|
fileUrl?: string | undefined;
|
|
719
|
+
fileName?: string | undefined;
|
|
720
720
|
}[];
|
|
721
721
|
photoCount: number;
|
|
722
722
|
verifiedCount: number;
|
|
@@ -742,12 +742,8 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
742
742
|
}[];
|
|
743
743
|
totalPhotos: number;
|
|
744
744
|
}, {
|
|
745
|
-
id: string;
|
|
746
|
-
updatedAt: string;
|
|
747
745
|
createdAt: string;
|
|
748
|
-
|
|
749
|
-
createdById: string;
|
|
750
|
-
forUserId: string;
|
|
746
|
+
updatedAt: string;
|
|
751
747
|
createdBy: {
|
|
752
748
|
id: string;
|
|
753
749
|
lastName: string;
|
|
@@ -760,26 +756,30 @@ export declare const ProofResponseSchema: z.ZodObject<{
|
|
|
760
756
|
}[] | undefined;
|
|
761
757
|
deletedAt?: string | Date | null | undefined;
|
|
762
758
|
};
|
|
759
|
+
id: string;
|
|
760
|
+
description: string | null;
|
|
761
|
+
createdById: string;
|
|
763
762
|
category: "POST" | "BOOKING";
|
|
763
|
+
forUserId: string;
|
|
764
764
|
proofDate: string;
|
|
765
765
|
sections: {
|
|
766
|
-
id: string;
|
|
767
|
-
updatedAt: string;
|
|
768
766
|
createdAt: string;
|
|
769
|
-
|
|
767
|
+
updatedAt: string;
|
|
768
|
+
id: string;
|
|
769
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
770
770
|
photos: {
|
|
771
|
-
id: string;
|
|
772
|
-
updatedAt: string;
|
|
773
771
|
createdAt: string;
|
|
774
|
-
|
|
772
|
+
updatedAt: string;
|
|
773
|
+
id: string;
|
|
775
774
|
comment: string | null;
|
|
776
775
|
verified: boolean;
|
|
777
776
|
fileId: string;
|
|
777
|
+
position: number;
|
|
778
778
|
sectionId: string;
|
|
779
779
|
verifiedAt: string | null;
|
|
780
780
|
verifiedById: string | null;
|
|
781
|
-
fileName?: string | undefined;
|
|
782
781
|
fileUrl?: string | undefined;
|
|
782
|
+
fileName?: string | undefined;
|
|
783
783
|
}[];
|
|
784
784
|
photoCount: number;
|
|
785
785
|
verifiedCount: number;
|
|
@@ -849,27 +849,27 @@ export declare const FilterProofsSchema: z.ZodObject<{
|
|
|
849
849
|
to?: string | null | undefined;
|
|
850
850
|
} | undefined;
|
|
851
851
|
createdById?: string | undefined;
|
|
852
|
-
forUserId?: string | undefined;
|
|
853
852
|
category?: "POST" | "BOOKING" | undefined;
|
|
854
|
-
type?: "
|
|
855
|
-
verified?: "all" | "
|
|
853
|
+
type?: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS" | undefined;
|
|
854
|
+
verified?: "all" | "partial" | "none" | undefined;
|
|
855
|
+
forUserId?: string | undefined;
|
|
856
856
|
linkedBookingId?: string | undefined;
|
|
857
857
|
}, {
|
|
858
858
|
sort?: {
|
|
859
859
|
field: "createdAt";
|
|
860
860
|
order: "ASC" | "DESC";
|
|
861
861
|
}[] | null | undefined;
|
|
862
|
-
page?: number | undefined;
|
|
863
|
-
limit?: number | undefined;
|
|
864
862
|
createdAt?: {
|
|
865
863
|
from?: string | null | undefined;
|
|
866
864
|
to?: string | null | undefined;
|
|
867
865
|
} | undefined;
|
|
866
|
+
page?: number | undefined;
|
|
867
|
+
limit?: number | undefined;
|
|
868
868
|
createdById?: string | undefined;
|
|
869
|
-
forUserId?: string | undefined;
|
|
870
869
|
category?: "POST" | "BOOKING" | undefined;
|
|
871
|
-
type?: "
|
|
872
|
-
verified?: "all" | "
|
|
870
|
+
type?: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS" | undefined;
|
|
871
|
+
verified?: "all" | "partial" | "none" | undefined;
|
|
872
|
+
forUserId?: string | undefined;
|
|
873
873
|
linkedBookingId?: string | undefined;
|
|
874
874
|
}>;
|
|
875
875
|
export type FilterProofs = z.infer<typeof FilterProofsSchema>;
|
|
@@ -893,8 +893,8 @@ export declare const LinkedBookingSummarySchema: z.ZodObject<{
|
|
|
893
893
|
startDate: z.ZodNullable<z.ZodString>;
|
|
894
894
|
createdAt: z.ZodString;
|
|
895
895
|
}, "strip", z.ZodTypeAny, {
|
|
896
|
-
id: string;
|
|
897
896
|
createdAt: string;
|
|
897
|
+
id: string;
|
|
898
898
|
startDate: string | null;
|
|
899
899
|
worker: {
|
|
900
900
|
id: string;
|
|
@@ -903,8 +903,8 @@ export declare const LinkedBookingSummarySchema: z.ZodObject<{
|
|
|
903
903
|
};
|
|
904
904
|
type: "BOOKING";
|
|
905
905
|
}, {
|
|
906
|
-
id: string;
|
|
907
906
|
createdAt: string;
|
|
907
|
+
id: string;
|
|
908
908
|
startDate: string | null;
|
|
909
909
|
worker: {
|
|
910
910
|
id: string;
|
|
@@ -964,10 +964,8 @@ export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
|
964
964
|
}>;
|
|
965
965
|
createdAt: z.ZodString;
|
|
966
966
|
}, "strip", z.ZodTypeAny, {
|
|
967
|
-
id: string;
|
|
968
|
-
createdAt: string;
|
|
969
967
|
postcode: string | null;
|
|
970
|
-
|
|
968
|
+
createdAt: string;
|
|
971
969
|
createdBy: {
|
|
972
970
|
id: string;
|
|
973
971
|
lastName: string;
|
|
@@ -980,12 +978,12 @@ export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
|
980
978
|
}[];
|
|
981
979
|
deletedAt?: string | null | undefined;
|
|
982
980
|
};
|
|
981
|
+
id: string;
|
|
982
|
+
tradeId: string;
|
|
983
983
|
type: "JOB";
|
|
984
984
|
}, {
|
|
985
|
-
id: string;
|
|
986
|
-
createdAt: string;
|
|
987
985
|
postcode: string | null;
|
|
988
|
-
|
|
986
|
+
createdAt: string;
|
|
989
987
|
createdBy: {
|
|
990
988
|
id: string;
|
|
991
989
|
lastName: string;
|
|
@@ -998,6 +996,8 @@ export declare const LinkedJobSummarySchema: z.ZodObject<{
|
|
|
998
996
|
}[] | undefined;
|
|
999
997
|
deletedAt?: string | Date | null | undefined;
|
|
1000
998
|
};
|
|
999
|
+
id: string;
|
|
1000
|
+
tradeId: string;
|
|
1001
1001
|
type: "JOB";
|
|
1002
1002
|
}>;
|
|
1003
1003
|
export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -1019,8 +1019,8 @@ 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
|
-
id: string;
|
|
1023
1022
|
createdAt: string;
|
|
1023
|
+
id: string;
|
|
1024
1024
|
startDate: string | null;
|
|
1025
1025
|
worker: {
|
|
1026
1026
|
id: string;
|
|
@@ -1029,8 +1029,8 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1029
1029
|
};
|
|
1030
1030
|
type: "BOOKING";
|
|
1031
1031
|
}, {
|
|
1032
|
-
id: string;
|
|
1033
1032
|
createdAt: string;
|
|
1033
|
+
id: string;
|
|
1034
1034
|
startDate: string | null;
|
|
1035
1035
|
worker: {
|
|
1036
1036
|
id: string;
|
|
@@ -1089,10 +1089,8 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1089
1089
|
}>;
|
|
1090
1090
|
createdAt: z.ZodString;
|
|
1091
1091
|
}, "strip", z.ZodTypeAny, {
|
|
1092
|
-
id: string;
|
|
1093
|
-
createdAt: string;
|
|
1094
1092
|
postcode: string | null;
|
|
1095
|
-
|
|
1093
|
+
createdAt: string;
|
|
1096
1094
|
createdBy: {
|
|
1097
1095
|
id: string;
|
|
1098
1096
|
lastName: string;
|
|
@@ -1105,12 +1103,12 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1105
1103
|
}[];
|
|
1106
1104
|
deletedAt?: string | null | undefined;
|
|
1107
1105
|
};
|
|
1106
|
+
id: string;
|
|
1107
|
+
tradeId: string;
|
|
1108
1108
|
type: "JOB";
|
|
1109
1109
|
}, {
|
|
1110
|
-
id: string;
|
|
1111
|
-
createdAt: string;
|
|
1112
1110
|
postcode: string | null;
|
|
1113
|
-
|
|
1111
|
+
createdAt: string;
|
|
1114
1112
|
createdBy: {
|
|
1115
1113
|
id: string;
|
|
1116
1114
|
lastName: string;
|
|
@@ -1123,6 +1121,8 @@ export declare const LinkedEntitySummarySchema: z.ZodDiscriminatedUnion<"type",
|
|
|
1123
1121
|
}[] | undefined;
|
|
1124
1122
|
deletedAt?: string | Date | null | undefined;
|
|
1125
1123
|
};
|
|
1124
|
+
id: string;
|
|
1125
|
+
tradeId: string;
|
|
1126
1126
|
type: "JOB";
|
|
1127
1127
|
}>]>;
|
|
1128
1128
|
export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
@@ -1145,8 +1145,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1145
1145
|
startDate: z.ZodNullable<z.ZodString>;
|
|
1146
1146
|
createdAt: z.ZodString;
|
|
1147
1147
|
}, "strip", z.ZodTypeAny, {
|
|
1148
|
-
id: string;
|
|
1149
1148
|
createdAt: string;
|
|
1149
|
+
id: string;
|
|
1150
1150
|
startDate: string | null;
|
|
1151
1151
|
worker: {
|
|
1152
1152
|
id: string;
|
|
@@ -1155,8 +1155,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1155
1155
|
};
|
|
1156
1156
|
type: "BOOKING";
|
|
1157
1157
|
}, {
|
|
1158
|
-
id: string;
|
|
1159
1158
|
createdAt: string;
|
|
1159
|
+
id: string;
|
|
1160
1160
|
startDate: string | null;
|
|
1161
1161
|
worker: {
|
|
1162
1162
|
id: string;
|
|
@@ -1215,10 +1215,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1215
1215
|
}>;
|
|
1216
1216
|
createdAt: z.ZodString;
|
|
1217
1217
|
}, "strip", z.ZodTypeAny, {
|
|
1218
|
-
id: string;
|
|
1219
|
-
createdAt: string;
|
|
1220
1218
|
postcode: string | null;
|
|
1221
|
-
|
|
1219
|
+
createdAt: string;
|
|
1222
1220
|
createdBy: {
|
|
1223
1221
|
id: string;
|
|
1224
1222
|
lastName: string;
|
|
@@ -1231,12 +1229,12 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1231
1229
|
}[];
|
|
1232
1230
|
deletedAt?: string | null | undefined;
|
|
1233
1231
|
};
|
|
1232
|
+
id: string;
|
|
1233
|
+
tradeId: string;
|
|
1234
1234
|
type: "JOB";
|
|
1235
1235
|
}, {
|
|
1236
|
-
id: string;
|
|
1237
|
-
createdAt: string;
|
|
1238
1236
|
postcode: string | null;
|
|
1239
|
-
|
|
1237
|
+
createdAt: string;
|
|
1240
1238
|
createdBy: {
|
|
1241
1239
|
id: string;
|
|
1242
1240
|
lastName: string;
|
|
@@ -1249,12 +1247,14 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1249
1247
|
}[] | undefined;
|
|
1250
1248
|
deletedAt?: string | Date | null | undefined;
|
|
1251
1249
|
};
|
|
1250
|
+
id: string;
|
|
1251
|
+
tradeId: string;
|
|
1252
1252
|
type: "JOB";
|
|
1253
1253
|
}>]>, "many">;
|
|
1254
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1255
1255
|
items: ({
|
|
1256
|
-
id: string;
|
|
1257
1256
|
createdAt: string;
|
|
1257
|
+
id: string;
|
|
1258
1258
|
startDate: string | null;
|
|
1259
1259
|
worker: {
|
|
1260
1260
|
id: string;
|
|
@@ -1263,10 +1263,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1263
1263
|
};
|
|
1264
1264
|
type: "BOOKING";
|
|
1265
1265
|
} | {
|
|
1266
|
-
id: string;
|
|
1267
|
-
createdAt: string;
|
|
1268
1266
|
postcode: string | null;
|
|
1269
|
-
|
|
1267
|
+
createdAt: string;
|
|
1270
1268
|
createdBy: {
|
|
1271
1269
|
id: string;
|
|
1272
1270
|
lastName: string;
|
|
@@ -1279,12 +1277,14 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1279
1277
|
}[];
|
|
1280
1278
|
deletedAt?: string | null | undefined;
|
|
1281
1279
|
};
|
|
1280
|
+
id: string;
|
|
1281
|
+
tradeId: string;
|
|
1282
1282
|
type: "JOB";
|
|
1283
1283
|
})[];
|
|
1284
1284
|
}, {
|
|
1285
1285
|
items: ({
|
|
1286
|
-
id: string;
|
|
1287
1286
|
createdAt: string;
|
|
1287
|
+
id: string;
|
|
1288
1288
|
startDate: string | null;
|
|
1289
1289
|
worker: {
|
|
1290
1290
|
id: string;
|
|
@@ -1293,10 +1293,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1293
1293
|
};
|
|
1294
1294
|
type: "BOOKING";
|
|
1295
1295
|
} | {
|
|
1296
|
-
id: string;
|
|
1297
|
-
createdAt: string;
|
|
1298
1296
|
postcode: string | null;
|
|
1299
|
-
|
|
1297
|
+
createdAt: string;
|
|
1300
1298
|
createdBy: {
|
|
1301
1299
|
id: string;
|
|
1302
1300
|
lastName: string;
|
|
@@ -1309,6 +1307,8 @@ export declare const LinkedEntitiesResponseSchema: z.ZodObject<{
|
|
|
1309
1307
|
}[] | undefined;
|
|
1310
1308
|
deletedAt?: string | Date | null | undefined;
|
|
1311
1309
|
};
|
|
1310
|
+
id: string;
|
|
1311
|
+
tradeId: string;
|
|
1312
1312
|
type: "JOB";
|
|
1313
1313
|
})[];
|
|
1314
1314
|
}>;
|