@dakkitor/api-contracts 1.1.14 → 1.1.16

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.
@@ -38,22 +38,22 @@ export declare const BookingItemSchema: z.ZodObject<{
38
38
  id: string;
39
39
  };
40
40
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
41
+ endDate?: string | null | undefined;
41
42
  pay?: {
42
43
  rate: number;
43
44
  unit: "DAILY" | "HOURLY";
44
45
  } | undefined;
45
- endDate?: string | null | undefined;
46
46
  }, {
47
47
  startDate: string;
48
48
  worker: {
49
49
  id: string;
50
50
  };
51
51
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
52
+ endDate?: string | null | undefined;
52
53
  pay?: {
53
54
  rate: number;
54
55
  unit: "DAILY" | "HOURLY";
55
56
  } | undefined;
56
- endDate?: string | null | undefined;
57
57
  }>;
58
58
  export declare const FilterJobInBookingSchema: z.ZodObject<{
59
59
  userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -61,13 +61,13 @@ export declare const FilterJobInBookingSchema: z.ZodObject<{
61
61
  companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
62
62
  tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- clientId?: string | null | undefined;
65
64
  userId?: string | null | undefined;
65
+ clientId?: string | null | undefined;
66
66
  companyId?: string | null | undefined;
67
67
  tradeId?: string | null | undefined;
68
68
  }, {
69
- clientId?: string | null | undefined;
70
69
  userId?: string | null | undefined;
70
+ clientId?: string | null | undefined;
71
71
  companyId?: string | null | undefined;
72
72
  tradeId?: string | null | undefined;
73
73
  }>;
@@ -86,13 +86,102 @@ export declare const BookingWorkerSchema: z.ZodObject<{
86
86
  }>;
87
87
  export declare const BookingJobSchema: z.ZodObject<{
88
88
  id: z.ZodString;
89
- title: z.ZodString;
89
+ description: z.ZodString;
90
+ numberOfPositions: z.ZodNumber;
91
+ workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
92
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
93
+ pay: z.ZodObject<{
94
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
95
+ rate: z.ZodNumber;
96
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
97
+ receivedRate: z.ZodNumber;
98
+ }, "strip", z.ZodTypeAny, {
99
+ rate: number;
100
+ rateUnit: "DAILY" | "HOURLY";
101
+ receivedRate: number;
102
+ rateMax?: number | null | undefined;
103
+ }, {
104
+ rate: number;
105
+ rateUnit: "DAILY" | "HOURLY";
106
+ receivedRate: number;
107
+ rateMax?: number | null | undefined;
108
+ }>;
109
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
110
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
111
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
113
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
114
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
115
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
116
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ address?: string | null | undefined;
119
+ postcode?: string | null | undefined;
120
+ county?: string | null | undefined;
121
+ adminDistrict?: string | null | undefined;
122
+ builtUpArea?: string | null | undefined;
123
+ postTown?: string | null | undefined;
124
+ areaCovered?: string | null | undefined;
125
+ }, {
126
+ address?: string | null | undefined;
127
+ postcode?: string | null | undefined;
128
+ county?: string | null | undefined;
129
+ adminDistrict?: string | null | undefined;
130
+ builtUpArea?: string | null | undefined;
131
+ postTown?: string | null | undefined;
132
+ areaCovered?: string | null | undefined;
133
+ }>>>;
134
+ tradeId: z.ZodString;
135
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
136
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
90
137
  }, "strip", z.ZodTypeAny, {
138
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
139
+ createdAt: string;
140
+ updatedAt: string;
91
141
  id: string;
92
- title: string;
142
+ pay: {
143
+ rate: number;
144
+ rateUnit: "DAILY" | "HOURLY";
145
+ receivedRate: number;
146
+ rateMax?: number | null | undefined;
147
+ };
148
+ tradeId: string;
149
+ description: string;
150
+ numberOfPositions: number;
151
+ workHours?: number | null | undefined;
152
+ location?: {
153
+ address?: string | null | undefined;
154
+ postcode?: string | null | undefined;
155
+ county?: string | null | undefined;
156
+ adminDistrict?: string | null | undefined;
157
+ builtUpArea?: string | null | undefined;
158
+ postTown?: string | null | undefined;
159
+ areaCovered?: string | null | undefined;
160
+ } | null | undefined;
93
161
  }, {
162
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
163
+ createdAt: string | Date;
164
+ updatedAt: string | Date;
94
165
  id: string;
95
- title: string;
166
+ pay: {
167
+ rate: number;
168
+ rateUnit: "DAILY" | "HOURLY";
169
+ receivedRate: number;
170
+ rateMax?: number | null | undefined;
171
+ };
172
+ tradeId: string;
173
+ description: string;
174
+ numberOfPositions: number;
175
+ workHours?: number | null | undefined;
176
+ location?: {
177
+ address?: string | null | undefined;
178
+ postcode?: string | null | undefined;
179
+ county?: string | null | undefined;
180
+ adminDistrict?: string | null | undefined;
181
+ builtUpArea?: string | null | undefined;
182
+ postTown?: string | null | undefined;
183
+ areaCovered?: string | null | undefined;
184
+ } | null | undefined;
96
185
  }>;
97
186
  export declare const BookingSchema: z.ZodObject<{
98
187
  id: z.ZodString;
@@ -140,32 +229,122 @@ export declare const BookingSchema: z.ZodObject<{
140
229
  }>;
141
230
  job: z.ZodObject<{
142
231
  id: z.ZodString;
143
- title: z.ZodString;
232
+ description: z.ZodString;
233
+ numberOfPositions: z.ZodNumber;
234
+ workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
235
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
236
+ pay: z.ZodObject<{
237
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
238
+ rate: z.ZodNumber;
239
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
240
+ receivedRate: z.ZodNumber;
241
+ }, "strip", z.ZodTypeAny, {
242
+ rate: number;
243
+ rateUnit: "DAILY" | "HOURLY";
244
+ receivedRate: number;
245
+ rateMax?: number | null | undefined;
246
+ }, {
247
+ rate: number;
248
+ rateUnit: "DAILY" | "HOURLY";
249
+ receivedRate: number;
250
+ rateMax?: number | null | undefined;
251
+ }>;
252
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
253
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
254
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
255
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
256
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
257
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
258
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
259
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
260
+ }, "strip", z.ZodTypeAny, {
261
+ address?: string | null | undefined;
262
+ postcode?: string | null | undefined;
263
+ county?: string | null | undefined;
264
+ adminDistrict?: string | null | undefined;
265
+ builtUpArea?: string | null | undefined;
266
+ postTown?: string | null | undefined;
267
+ areaCovered?: string | null | undefined;
268
+ }, {
269
+ address?: string | null | undefined;
270
+ postcode?: string | null | undefined;
271
+ county?: string | null | undefined;
272
+ adminDistrict?: string | null | undefined;
273
+ builtUpArea?: string | null | undefined;
274
+ postTown?: string | null | undefined;
275
+ areaCovered?: string | null | undefined;
276
+ }>>>;
277
+ tradeId: z.ZodString;
278
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
279
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
144
280
  }, "strip", z.ZodTypeAny, {
281
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
282
+ createdAt: string;
283
+ updatedAt: string;
145
284
  id: string;
146
- title: string;
285
+ pay: {
286
+ rate: number;
287
+ rateUnit: "DAILY" | "HOURLY";
288
+ receivedRate: number;
289
+ rateMax?: number | null | undefined;
290
+ };
291
+ tradeId: string;
292
+ description: string;
293
+ numberOfPositions: number;
294
+ workHours?: number | null | undefined;
295
+ location?: {
296
+ address?: string | null | undefined;
297
+ postcode?: string | null | undefined;
298
+ county?: string | null | undefined;
299
+ adminDistrict?: string | null | undefined;
300
+ builtUpArea?: string | null | undefined;
301
+ postTown?: string | null | undefined;
302
+ areaCovered?: string | null | undefined;
303
+ } | null | undefined;
147
304
  }, {
305
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
306
+ createdAt: string | Date;
307
+ updatedAt: string | Date;
148
308
  id: string;
149
- title: string;
309
+ pay: {
310
+ rate: number;
311
+ rateUnit: "DAILY" | "HOURLY";
312
+ receivedRate: number;
313
+ rateMax?: number | null | undefined;
314
+ };
315
+ tradeId: string;
316
+ description: string;
317
+ numberOfPositions: number;
318
+ workHours?: number | null | undefined;
319
+ location?: {
320
+ address?: string | null | undefined;
321
+ postcode?: string | null | undefined;
322
+ county?: string | null | undefined;
323
+ adminDistrict?: string | null | undefined;
324
+ builtUpArea?: string | null | undefined;
325
+ postTown?: string | null | undefined;
326
+ areaCovered?: string | null | undefined;
327
+ } | null | undefined;
150
328
  }>;
151
329
  userId: z.ZodString;
152
330
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
153
331
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
154
332
  }, "strip", z.ZodTypeAny, {
155
333
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
156
- id: string;
334
+ startDate: string;
157
335
  createdAt: string;
158
336
  updatedAt: string;
159
- pay: {
160
- rate: number;
161
- unit: "DAILY" | "HOURLY";
162
- };
163
- startDate: string;
337
+ id: string;
164
338
  worker: {
165
339
  id: string;
166
340
  firstName: string;
167
341
  lastName: string;
168
342
  };
343
+ pay: {
344
+ rate: number;
345
+ unit: "DAILY" | "HOURLY";
346
+ };
347
+ userId: string;
169
348
  user: {
170
349
  id: string;
171
350
  firstName: string;
@@ -173,26 +352,47 @@ export declare const BookingSchema: z.ZodObject<{
173
352
  email: string;
174
353
  };
175
354
  job: {
355
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
356
+ createdAt: string;
357
+ updatedAt: string;
176
358
  id: string;
177
- title: string;
359
+ pay: {
360
+ rate: number;
361
+ rateUnit: "DAILY" | "HOURLY";
362
+ receivedRate: number;
363
+ rateMax?: number | null | undefined;
364
+ };
365
+ tradeId: string;
366
+ description: string;
367
+ numberOfPositions: number;
368
+ workHours?: number | null | undefined;
369
+ location?: {
370
+ address?: string | null | undefined;
371
+ postcode?: string | null | undefined;
372
+ county?: string | null | undefined;
373
+ adminDistrict?: string | null | undefined;
374
+ builtUpArea?: string | null | undefined;
375
+ postTown?: string | null | undefined;
376
+ areaCovered?: string | null | undefined;
377
+ } | null | undefined;
178
378
  };
179
- userId: string;
180
379
  endDate?: string | null | undefined;
181
380
  }, {
182
381
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
183
- id: string;
382
+ startDate: string | Date;
184
383
  createdAt: string | Date;
185
384
  updatedAt: string | Date;
186
- pay: {
187
- rate: number;
188
- unit: "DAILY" | "HOURLY";
189
- };
190
- startDate: string | Date;
385
+ id: string;
191
386
  worker: {
192
387
  id: string;
193
388
  firstName: string;
194
389
  lastName: string;
195
390
  };
391
+ pay: {
392
+ rate: number;
393
+ unit: "DAILY" | "HOURLY";
394
+ };
395
+ userId: string;
196
396
  user: {
197
397
  id: string;
198
398
  firstName: string;
@@ -200,10 +400,30 @@ export declare const BookingSchema: z.ZodObject<{
200
400
  email: string;
201
401
  };
202
402
  job: {
403
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
404
+ createdAt: string | Date;
405
+ updatedAt: string | Date;
203
406
  id: string;
204
- title: string;
407
+ pay: {
408
+ rate: number;
409
+ rateUnit: "DAILY" | "HOURLY";
410
+ receivedRate: number;
411
+ rateMax?: number | null | undefined;
412
+ };
413
+ tradeId: string;
414
+ description: string;
415
+ numberOfPositions: number;
416
+ workHours?: number | null | undefined;
417
+ location?: {
418
+ address?: string | null | undefined;
419
+ postcode?: string | null | undefined;
420
+ county?: string | null | undefined;
421
+ adminDistrict?: string | null | undefined;
422
+ builtUpArea?: string | null | undefined;
423
+ postTown?: string | null | undefined;
424
+ areaCovered?: string | null | undefined;
425
+ } | null | undefined;
205
426
  };
206
- userId: string;
207
427
  endDate?: string | Date | null | undefined;
208
428
  }>;
209
429
  export declare const CreateBookingSchema: z.ZodObject<{
@@ -241,22 +461,22 @@ export declare const CreateBookingSchema: z.ZodObject<{
241
461
  id: string;
242
462
  };
243
463
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
464
+ endDate?: string | null | undefined;
244
465
  pay?: {
245
466
  rate: number;
246
467
  unit: "DAILY" | "HOURLY";
247
468
  } | undefined;
248
- endDate?: string | null | undefined;
249
469
  }, {
250
470
  startDate: string;
251
471
  worker: {
252
472
  id: string;
253
473
  };
254
474
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
475
+ endDate?: string | null | undefined;
255
476
  pay?: {
256
477
  rate: number;
257
478
  unit: "DAILY" | "HOURLY";
258
479
  } | undefined;
259
- endDate?: string | null | undefined;
260
480
  }>, "many">;
261
481
  }, "strip", z.ZodTypeAny, {
262
482
  job: {
@@ -268,11 +488,11 @@ export declare const CreateBookingSchema: z.ZodObject<{
268
488
  id: string;
269
489
  };
270
490
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
491
+ endDate?: string | null | undefined;
271
492
  pay?: {
272
493
  rate: number;
273
494
  unit: "DAILY" | "HOURLY";
274
495
  } | undefined;
275
- endDate?: string | null | undefined;
276
496
  }[];
277
497
  }, {
278
498
  job: {
@@ -284,11 +504,11 @@ export declare const CreateBookingSchema: z.ZodObject<{
284
504
  id: string;
285
505
  };
286
506
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
507
+ endDate?: string | null | undefined;
287
508
  pay?: {
288
509
  rate: number;
289
510
  unit: "DAILY" | "HOURLY";
290
511
  } | undefined;
291
- endDate?: string | null | undefined;
292
512
  }[];
293
513
  }>;
294
514
  export declare const UpdateBookingSchema: z.ZodObject<{
@@ -315,13 +535,13 @@ export declare const FilterBookingSchema: z.ZodObject<{
315
535
  companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
316
536
  tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
317
537
  }, "strip", z.ZodTypeAny, {
318
- clientId?: string | null | undefined;
319
538
  userId?: string | null | undefined;
539
+ clientId?: string | null | undefined;
320
540
  companyId?: string | null | undefined;
321
541
  tradeId?: string | null | undefined;
322
542
  }, {
323
- clientId?: string | null | undefined;
324
543
  userId?: string | null | undefined;
544
+ clientId?: string | null | undefined;
325
545
  companyId?: string | null | undefined;
326
546
  tradeId?: string | null | undefined;
327
547
  }>>>;
@@ -365,14 +585,11 @@ export declare const FilterBookingSchema: z.ZodObject<{
365
585
  limit: number;
366
586
  page: number;
367
587
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
368
- clientId?: string | null | undefined;
369
- createdAt?: {
588
+ startDate?: {
370
589
  from?: string | null | undefined;
371
590
  to?: string | null | undefined;
372
591
  } | null | undefined;
373
- sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
374
- sortOrder?: "ASC" | "DESC" | null | undefined;
375
- startDate?: {
592
+ createdAt?: {
376
593
  from?: string | null | undefined;
377
594
  to?: string | null | undefined;
378
595
  } | null | undefined;
@@ -380,27 +597,25 @@ export declare const FilterBookingSchema: z.ZodObject<{
380
597
  from?: string | null | undefined;
381
598
  to?: string | null | undefined;
382
599
  } | null | undefined;
600
+ clientId?: string | null | undefined;
601
+ companyId?: string | null | undefined;
383
602
  job?: {
384
- clientId?: string | null | undefined;
385
603
  userId?: string | null | undefined;
604
+ clientId?: string | null | undefined;
386
605
  companyId?: string | null | undefined;
387
606
  tradeId?: string | null | undefined;
388
607
  } | null | undefined;
389
608
  workerName?: string | null | undefined;
390
- companyId?: string | null | undefined;
609
+ sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
610
+ sortOrder?: "ASC" | "DESC" | null | undefined;
391
611
  agentName?: string | null | undefined;
392
612
  }, {
393
613
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
394
- clientId?: string | null | undefined;
395
- createdAt?: {
614
+ startDate?: {
396
615
  from?: string | null | undefined;
397
616
  to?: string | null | undefined;
398
617
  } | null | undefined;
399
- limit?: number | undefined;
400
- page?: number | undefined;
401
- sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
402
- sortOrder?: "ASC" | "DESC" | null | undefined;
403
- startDate?: {
618
+ createdAt?: {
404
619
  from?: string | null | undefined;
405
620
  to?: string | null | undefined;
406
621
  } | null | undefined;
@@ -408,14 +623,19 @@ export declare const FilterBookingSchema: z.ZodObject<{
408
623
  from?: string | null | undefined;
409
624
  to?: string | null | undefined;
410
625
  } | null | undefined;
626
+ clientId?: string | null | undefined;
627
+ companyId?: string | null | undefined;
411
628
  job?: {
412
- clientId?: string | null | undefined;
413
629
  userId?: string | null | undefined;
630
+ clientId?: string | null | undefined;
414
631
  companyId?: string | null | undefined;
415
632
  tradeId?: string | null | undefined;
416
633
  } | null | undefined;
634
+ limit?: number | undefined;
635
+ page?: number | undefined;
417
636
  workerName?: string | null | undefined;
418
- companyId?: string | null | undefined;
637
+ sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
638
+ sortOrder?: "ASC" | "DESC" | null | undefined;
419
639
  agentName?: string | null | undefined;
420
640
  }>;
421
641
  export declare const PaginatedBookingResponseSchema: z.ZodObject<{
@@ -465,32 +685,122 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
465
685
  }>;
466
686
  job: z.ZodObject<{
467
687
  id: z.ZodString;
468
- title: z.ZodString;
688
+ description: z.ZodString;
689
+ numberOfPositions: z.ZodNumber;
690
+ workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
691
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
692
+ pay: z.ZodObject<{
693
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
694
+ rate: z.ZodNumber;
695
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
696
+ receivedRate: z.ZodNumber;
697
+ }, "strip", z.ZodTypeAny, {
698
+ rate: number;
699
+ rateUnit: "DAILY" | "HOURLY";
700
+ receivedRate: number;
701
+ rateMax?: number | null | undefined;
702
+ }, {
703
+ rate: number;
704
+ rateUnit: "DAILY" | "HOURLY";
705
+ receivedRate: number;
706
+ rateMax?: number | null | undefined;
707
+ }>;
708
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
709
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
710
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
711
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
712
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
713
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
714
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
715
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ address?: string | null | undefined;
718
+ postcode?: string | null | undefined;
719
+ county?: string | null | undefined;
720
+ adminDistrict?: string | null | undefined;
721
+ builtUpArea?: string | null | undefined;
722
+ postTown?: string | null | undefined;
723
+ areaCovered?: string | null | undefined;
724
+ }, {
725
+ address?: string | null | undefined;
726
+ postcode?: string | null | undefined;
727
+ county?: string | null | undefined;
728
+ adminDistrict?: string | null | undefined;
729
+ builtUpArea?: string | null | undefined;
730
+ postTown?: string | null | undefined;
731
+ areaCovered?: string | null | undefined;
732
+ }>>>;
733
+ tradeId: z.ZodString;
734
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
735
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
469
736
  }, "strip", z.ZodTypeAny, {
737
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
738
+ createdAt: string;
739
+ updatedAt: string;
470
740
  id: string;
471
- title: string;
741
+ pay: {
742
+ rate: number;
743
+ rateUnit: "DAILY" | "HOURLY";
744
+ receivedRate: number;
745
+ rateMax?: number | null | undefined;
746
+ };
747
+ tradeId: string;
748
+ description: string;
749
+ numberOfPositions: number;
750
+ workHours?: number | null | undefined;
751
+ location?: {
752
+ address?: string | null | undefined;
753
+ postcode?: string | null | undefined;
754
+ county?: string | null | undefined;
755
+ adminDistrict?: string | null | undefined;
756
+ builtUpArea?: string | null | undefined;
757
+ postTown?: string | null | undefined;
758
+ areaCovered?: string | null | undefined;
759
+ } | null | undefined;
472
760
  }, {
761
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
762
+ createdAt: string | Date;
763
+ updatedAt: string | Date;
473
764
  id: string;
474
- title: string;
765
+ pay: {
766
+ rate: number;
767
+ rateUnit: "DAILY" | "HOURLY";
768
+ receivedRate: number;
769
+ rateMax?: number | null | undefined;
770
+ };
771
+ tradeId: string;
772
+ description: string;
773
+ numberOfPositions: number;
774
+ workHours?: number | null | undefined;
775
+ location?: {
776
+ address?: string | null | undefined;
777
+ postcode?: string | null | undefined;
778
+ county?: string | null | undefined;
779
+ adminDistrict?: string | null | undefined;
780
+ builtUpArea?: string | null | undefined;
781
+ postTown?: string | null | undefined;
782
+ areaCovered?: string | null | undefined;
783
+ } | null | undefined;
475
784
  }>;
476
785
  userId: z.ZodString;
477
786
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
478
787
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
479
788
  }, "strip", z.ZodTypeAny, {
480
789
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
481
- id: string;
790
+ startDate: string;
482
791
  createdAt: string;
483
792
  updatedAt: string;
484
- pay: {
485
- rate: number;
486
- unit: "DAILY" | "HOURLY";
487
- };
488
- startDate: string;
793
+ id: string;
489
794
  worker: {
490
795
  id: string;
491
796
  firstName: string;
492
797
  lastName: string;
493
798
  };
799
+ pay: {
800
+ rate: number;
801
+ unit: "DAILY" | "HOURLY";
802
+ };
803
+ userId: string;
494
804
  user: {
495
805
  id: string;
496
806
  firstName: string;
@@ -498,26 +808,47 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
498
808
  email: string;
499
809
  };
500
810
  job: {
811
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
812
+ createdAt: string;
813
+ updatedAt: string;
501
814
  id: string;
502
- title: string;
815
+ pay: {
816
+ rate: number;
817
+ rateUnit: "DAILY" | "HOURLY";
818
+ receivedRate: number;
819
+ rateMax?: number | null | undefined;
820
+ };
821
+ tradeId: string;
822
+ description: string;
823
+ numberOfPositions: number;
824
+ workHours?: number | null | undefined;
825
+ location?: {
826
+ address?: string | null | undefined;
827
+ postcode?: string | null | undefined;
828
+ county?: string | null | undefined;
829
+ adminDistrict?: string | null | undefined;
830
+ builtUpArea?: string | null | undefined;
831
+ postTown?: string | null | undefined;
832
+ areaCovered?: string | null | undefined;
833
+ } | null | undefined;
503
834
  };
504
- userId: string;
505
835
  endDate?: string | null | undefined;
506
836
  }, {
507
837
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
508
- id: string;
838
+ startDate: string | Date;
509
839
  createdAt: string | Date;
510
840
  updatedAt: string | Date;
511
- pay: {
512
- rate: number;
513
- unit: "DAILY" | "HOURLY";
514
- };
515
- startDate: string | Date;
841
+ id: string;
516
842
  worker: {
517
843
  id: string;
518
844
  firstName: string;
519
845
  lastName: string;
520
846
  };
847
+ pay: {
848
+ rate: number;
849
+ unit: "DAILY" | "HOURLY";
850
+ };
851
+ userId: string;
521
852
  user: {
522
853
  id: string;
523
854
  firstName: string;
@@ -525,10 +856,30 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
525
856
  email: string;
526
857
  };
527
858
  job: {
859
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
860
+ createdAt: string | Date;
861
+ updatedAt: string | Date;
528
862
  id: string;
529
- title: string;
863
+ pay: {
864
+ rate: number;
865
+ rateUnit: "DAILY" | "HOURLY";
866
+ receivedRate: number;
867
+ rateMax?: number | null | undefined;
868
+ };
869
+ tradeId: string;
870
+ description: string;
871
+ numberOfPositions: number;
872
+ workHours?: number | null | undefined;
873
+ location?: {
874
+ address?: string | null | undefined;
875
+ postcode?: string | null | undefined;
876
+ county?: string | null | undefined;
877
+ adminDistrict?: string | null | undefined;
878
+ builtUpArea?: string | null | undefined;
879
+ postTown?: string | null | undefined;
880
+ areaCovered?: string | null | undefined;
881
+ } | null | undefined;
530
882
  };
531
- userId: string;
532
883
  endDate?: string | Date | null | undefined;
533
884
  }>, "many">;
534
885
  totalCount: z.ZodNumber;
@@ -537,21 +888,23 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
537
888
  currentPage: z.ZodNumber;
538
889
  totalPages: z.ZodNumber;
539
890
  }, "strip", z.ZodTypeAny, {
891
+ limit: number;
540
892
  items: {
541
893
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
542
- id: string;
894
+ startDate: string;
543
895
  createdAt: string;
544
896
  updatedAt: string;
545
- pay: {
546
- rate: number;
547
- unit: "DAILY" | "HOURLY";
548
- };
549
- startDate: string;
897
+ id: string;
550
898
  worker: {
551
899
  id: string;
552
900
  firstName: string;
553
901
  lastName: string;
554
902
  };
903
+ pay: {
904
+ rate: number;
905
+ unit: "DAILY" | "HOURLY";
906
+ };
907
+ userId: string;
555
908
  user: {
556
909
  id: string;
557
910
  firstName: string;
@@ -559,33 +912,54 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
559
912
  email: string;
560
913
  };
561
914
  job: {
915
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
916
+ createdAt: string;
917
+ updatedAt: string;
562
918
  id: string;
563
- title: string;
919
+ pay: {
920
+ rate: number;
921
+ rateUnit: "DAILY" | "HOURLY";
922
+ receivedRate: number;
923
+ rateMax?: number | null | undefined;
924
+ };
925
+ tradeId: string;
926
+ description: string;
927
+ numberOfPositions: number;
928
+ workHours?: number | null | undefined;
929
+ location?: {
930
+ address?: string | null | undefined;
931
+ postcode?: string | null | undefined;
932
+ county?: string | null | undefined;
933
+ adminDistrict?: string | null | undefined;
934
+ builtUpArea?: string | null | undefined;
935
+ postTown?: string | null | undefined;
936
+ areaCovered?: string | null | undefined;
937
+ } | null | undefined;
564
938
  };
565
- userId: string;
566
939
  endDate?: string | null | undefined;
567
940
  }[];
568
941
  totalCount: number;
569
- limit: number;
570
942
  skip: number;
571
943
  currentPage: number;
572
944
  totalPages: number;
573
945
  }, {
946
+ limit: number;
574
947
  items: {
575
948
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
576
- id: string;
949
+ startDate: string | Date;
577
950
  createdAt: string | Date;
578
951
  updatedAt: string | Date;
579
- pay: {
580
- rate: number;
581
- unit: "DAILY" | "HOURLY";
582
- };
583
- startDate: string | Date;
952
+ id: string;
584
953
  worker: {
585
954
  id: string;
586
955
  firstName: string;
587
956
  lastName: string;
588
957
  };
958
+ pay: {
959
+ rate: number;
960
+ unit: "DAILY" | "HOURLY";
961
+ };
962
+ userId: string;
589
963
  user: {
590
964
  id: string;
591
965
  firstName: string;
@@ -593,14 +967,33 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
593
967
  email: string;
594
968
  };
595
969
  job: {
970
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
971
+ createdAt: string | Date;
972
+ updatedAt: string | Date;
596
973
  id: string;
597
- title: string;
974
+ pay: {
975
+ rate: number;
976
+ rateUnit: "DAILY" | "HOURLY";
977
+ receivedRate: number;
978
+ rateMax?: number | null | undefined;
979
+ };
980
+ tradeId: string;
981
+ description: string;
982
+ numberOfPositions: number;
983
+ workHours?: number | null | undefined;
984
+ location?: {
985
+ address?: string | null | undefined;
986
+ postcode?: string | null | undefined;
987
+ county?: string | null | undefined;
988
+ adminDistrict?: string | null | undefined;
989
+ builtUpArea?: string | null | undefined;
990
+ postTown?: string | null | undefined;
991
+ areaCovered?: string | null | undefined;
992
+ } | null | undefined;
598
993
  };
599
- userId: string;
600
994
  endDate?: string | Date | null | undefined;
601
995
  }[];
602
996
  totalCount: number;
603
- limit: number;
604
997
  skip: number;
605
998
  currentPage: number;
606
999
  totalPages: number;
@@ -651,32 +1044,122 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
651
1044
  }>;
652
1045
  job: z.ZodObject<{
653
1046
  id: z.ZodString;
654
- title: z.ZodString;
1047
+ description: z.ZodString;
1048
+ numberOfPositions: z.ZodNumber;
1049
+ workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1050
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
1051
+ pay: z.ZodObject<{
1052
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1053
+ rate: z.ZodNumber;
1054
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1055
+ receivedRate: z.ZodNumber;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ rate: number;
1058
+ rateUnit: "DAILY" | "HOURLY";
1059
+ receivedRate: number;
1060
+ rateMax?: number | null | undefined;
1061
+ }, {
1062
+ rate: number;
1063
+ rateUnit: "DAILY" | "HOURLY";
1064
+ receivedRate: number;
1065
+ rateMax?: number | null | undefined;
1066
+ }>;
1067
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1068
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1069
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1070
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1071
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1072
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1073
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1074
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1075
+ }, "strip", z.ZodTypeAny, {
1076
+ address?: string | null | undefined;
1077
+ postcode?: string | null | undefined;
1078
+ county?: string | null | undefined;
1079
+ adminDistrict?: string | null | undefined;
1080
+ builtUpArea?: string | null | undefined;
1081
+ postTown?: string | null | undefined;
1082
+ areaCovered?: string | null | undefined;
1083
+ }, {
1084
+ address?: string | null | undefined;
1085
+ postcode?: string | null | undefined;
1086
+ county?: string | null | undefined;
1087
+ adminDistrict?: string | null | undefined;
1088
+ builtUpArea?: string | null | undefined;
1089
+ postTown?: string | null | undefined;
1090
+ areaCovered?: string | null | undefined;
1091
+ }>>>;
1092
+ tradeId: z.ZodString;
1093
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1094
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
655
1095
  }, "strip", z.ZodTypeAny, {
1096
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1097
+ createdAt: string;
1098
+ updatedAt: string;
656
1099
  id: string;
657
- title: string;
1100
+ pay: {
1101
+ rate: number;
1102
+ rateUnit: "DAILY" | "HOURLY";
1103
+ receivedRate: number;
1104
+ rateMax?: number | null | undefined;
1105
+ };
1106
+ tradeId: string;
1107
+ description: string;
1108
+ numberOfPositions: number;
1109
+ workHours?: number | null | undefined;
1110
+ location?: {
1111
+ address?: string | null | undefined;
1112
+ postcode?: string | null | undefined;
1113
+ county?: string | null | undefined;
1114
+ adminDistrict?: string | null | undefined;
1115
+ builtUpArea?: string | null | undefined;
1116
+ postTown?: string | null | undefined;
1117
+ areaCovered?: string | null | undefined;
1118
+ } | null | undefined;
658
1119
  }, {
1120
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1121
+ createdAt: string | Date;
1122
+ updatedAt: string | Date;
659
1123
  id: string;
660
- title: string;
1124
+ pay: {
1125
+ rate: number;
1126
+ rateUnit: "DAILY" | "HOURLY";
1127
+ receivedRate: number;
1128
+ rateMax?: number | null | undefined;
1129
+ };
1130
+ tradeId: string;
1131
+ description: string;
1132
+ numberOfPositions: number;
1133
+ workHours?: number | null | undefined;
1134
+ location?: {
1135
+ address?: string | null | undefined;
1136
+ postcode?: string | null | undefined;
1137
+ county?: string | null | undefined;
1138
+ adminDistrict?: string | null | undefined;
1139
+ builtUpArea?: string | null | undefined;
1140
+ postTown?: string | null | undefined;
1141
+ areaCovered?: string | null | undefined;
1142
+ } | null | undefined;
661
1143
  }>;
662
1144
  userId: z.ZodString;
663
1145
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
664
1146
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
665
1147
  }, "strip", z.ZodTypeAny, {
666
1148
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
667
- id: string;
1149
+ startDate: string;
668
1150
  createdAt: string;
669
1151
  updatedAt: string;
670
- pay: {
671
- rate: number;
672
- unit: "DAILY" | "HOURLY";
673
- };
674
- startDate: string;
1152
+ id: string;
675
1153
  worker: {
676
1154
  id: string;
677
1155
  firstName: string;
678
1156
  lastName: string;
679
1157
  };
1158
+ pay: {
1159
+ rate: number;
1160
+ unit: "DAILY" | "HOURLY";
1161
+ };
1162
+ userId: string;
680
1163
  user: {
681
1164
  id: string;
682
1165
  firstName: string;
@@ -684,26 +1167,47 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
684
1167
  email: string;
685
1168
  };
686
1169
  job: {
1170
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1171
+ createdAt: string;
1172
+ updatedAt: string;
687
1173
  id: string;
688
- title: string;
1174
+ pay: {
1175
+ rate: number;
1176
+ rateUnit: "DAILY" | "HOURLY";
1177
+ receivedRate: number;
1178
+ rateMax?: number | null | undefined;
1179
+ };
1180
+ tradeId: string;
1181
+ description: string;
1182
+ numberOfPositions: number;
1183
+ workHours?: number | null | undefined;
1184
+ location?: {
1185
+ address?: string | null | undefined;
1186
+ postcode?: string | null | undefined;
1187
+ county?: string | null | undefined;
1188
+ adminDistrict?: string | null | undefined;
1189
+ builtUpArea?: string | null | undefined;
1190
+ postTown?: string | null | undefined;
1191
+ areaCovered?: string | null | undefined;
1192
+ } | null | undefined;
689
1193
  };
690
- userId: string;
691
1194
  endDate?: string | null | undefined;
692
1195
  }, {
693
1196
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
694
- id: string;
1197
+ startDate: string | Date;
695
1198
  createdAt: string | Date;
696
1199
  updatedAt: string | Date;
697
- pay: {
698
- rate: number;
699
- unit: "DAILY" | "HOURLY";
700
- };
701
- startDate: string | Date;
1200
+ id: string;
702
1201
  worker: {
703
1202
  id: string;
704
1203
  firstName: string;
705
1204
  lastName: string;
706
1205
  };
1206
+ pay: {
1207
+ rate: number;
1208
+ unit: "DAILY" | "HOURLY";
1209
+ };
1210
+ userId: string;
707
1211
  user: {
708
1212
  id: string;
709
1213
  firstName: string;
@@ -711,10 +1215,30 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
711
1215
  email: string;
712
1216
  };
713
1217
  job: {
1218
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1219
+ createdAt: string | Date;
1220
+ updatedAt: string | Date;
714
1221
  id: string;
715
- title: string;
1222
+ pay: {
1223
+ rate: number;
1224
+ rateUnit: "DAILY" | "HOURLY";
1225
+ receivedRate: number;
1226
+ rateMax?: number | null | undefined;
1227
+ };
1228
+ tradeId: string;
1229
+ description: string;
1230
+ numberOfPositions: number;
1231
+ workHours?: number | null | undefined;
1232
+ location?: {
1233
+ address?: string | null | undefined;
1234
+ postcode?: string | null | undefined;
1235
+ county?: string | null | undefined;
1236
+ adminDistrict?: string | null | undefined;
1237
+ builtUpArea?: string | null | undefined;
1238
+ postTown?: string | null | undefined;
1239
+ areaCovered?: string | null | undefined;
1240
+ } | null | undefined;
716
1241
  };
717
- userId: string;
718
1242
  endDate?: string | Date | null | undefined;
719
1243
  }>, "many">;
720
1244
  export type BookingStatus = z.infer<typeof BookingStatusSchema>;
@@ -775,22 +1299,22 @@ export declare const bookingsContractRouter: {
775
1299
  id: string;
776
1300
  };
777
1301
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
1302
+ endDate?: string | null | undefined;
778
1303
  pay?: {
779
1304
  rate: number;
780
1305
  unit: "DAILY" | "HOURLY";
781
1306
  } | undefined;
782
- endDate?: string | null | undefined;
783
1307
  }, {
784
1308
  startDate: string;
785
1309
  worker: {
786
1310
  id: string;
787
1311
  };
788
1312
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
1313
+ endDate?: string | null | undefined;
789
1314
  pay?: {
790
1315
  rate: number;
791
1316
  unit: "DAILY" | "HOURLY";
792
1317
  } | undefined;
793
- endDate?: string | null | undefined;
794
1318
  }>, "many">;
795
1319
  }, "strip", z.ZodTypeAny, {
796
1320
  job: {
@@ -802,11 +1326,11 @@ export declare const bookingsContractRouter: {
802
1326
  id: string;
803
1327
  };
804
1328
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
1329
+ endDate?: string | null | undefined;
805
1330
  pay?: {
806
1331
  rate: number;
807
1332
  unit: "DAILY" | "HOURLY";
808
1333
  } | undefined;
809
- endDate?: string | null | undefined;
810
1334
  }[];
811
1335
  }, {
812
1336
  job: {
@@ -818,11 +1342,11 @@ export declare const bookingsContractRouter: {
818
1342
  id: string;
819
1343
  };
820
1344
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
1345
+ endDate?: string | null | undefined;
821
1346
  pay?: {
822
1347
  rate: number;
823
1348
  unit: "DAILY" | "HOURLY";
824
1349
  } | undefined;
825
- endDate?: string | null | undefined;
826
1350
  }[];
827
1351
  }>;
828
1352
  path: "/v2/bookings";
@@ -836,19 +1360,19 @@ export declare const bookingsContractRouter: {
836
1360
  path: z.ZodString;
837
1361
  correlationId: z.ZodOptional<z.ZodString>;
838
1362
  }, "strip", z.ZodTypeAny, {
839
- statusCode: number;
840
- message: string;
841
1363
  code: string;
842
- timestamp: string;
843
1364
  path: string;
1365
+ message: string;
1366
+ statusCode: number;
1367
+ timestamp: string;
844
1368
  details?: unknown;
845
1369
  correlationId?: string | undefined;
846
1370
  }, {
847
- statusCode: number;
848
- message: string;
849
1371
  code: string;
850
- timestamp: string;
851
1372
  path: string;
1373
+ message: string;
1374
+ statusCode: number;
1375
+ timestamp: string;
852
1376
  details?: unknown;
853
1377
  correlationId?: string | undefined;
854
1378
  }>;
@@ -861,19 +1385,19 @@ export declare const bookingsContractRouter: {
861
1385
  path: z.ZodString;
862
1386
  correlationId: z.ZodOptional<z.ZodString>;
863
1387
  }, "strip", z.ZodTypeAny, {
864
- statusCode: number;
865
- message: string;
866
1388
  code: string;
867
- timestamp: string;
868
1389
  path: string;
1390
+ message: string;
1391
+ statusCode: number;
1392
+ timestamp: string;
869
1393
  details?: unknown;
870
1394
  correlationId?: string | undefined;
871
1395
  }, {
872
- statusCode: number;
873
- message: string;
874
1396
  code: string;
875
- timestamp: string;
876
1397
  path: string;
1398
+ message: string;
1399
+ statusCode: number;
1400
+ timestamp: string;
877
1401
  details?: unknown;
878
1402
  correlationId?: string | undefined;
879
1403
  }>;
@@ -886,19 +1410,19 @@ export declare const bookingsContractRouter: {
886
1410
  path: z.ZodString;
887
1411
  correlationId: z.ZodOptional<z.ZodString>;
888
1412
  }, "strip", z.ZodTypeAny, {
889
- statusCode: number;
890
- message: string;
891
1413
  code: string;
892
- timestamp: string;
893
1414
  path: string;
1415
+ message: string;
1416
+ statusCode: number;
1417
+ timestamp: string;
894
1418
  details?: unknown;
895
1419
  correlationId?: string | undefined;
896
1420
  }, {
897
- statusCode: number;
898
- message: string;
899
1421
  code: string;
900
- timestamp: string;
901
1422
  path: string;
1423
+ message: string;
1424
+ statusCode: number;
1425
+ timestamp: string;
902
1426
  details?: unknown;
903
1427
  correlationId?: string | undefined;
904
1428
  }>;
@@ -911,19 +1435,19 @@ export declare const bookingsContractRouter: {
911
1435
  path: z.ZodString;
912
1436
  correlationId: z.ZodOptional<z.ZodString>;
913
1437
  }, "strip", z.ZodTypeAny, {
914
- statusCode: number;
915
- message: string;
916
1438
  code: string;
917
- timestamp: string;
918
1439
  path: string;
1440
+ message: string;
1441
+ statusCode: number;
1442
+ timestamp: string;
919
1443
  details?: unknown;
920
1444
  correlationId?: string | undefined;
921
1445
  }, {
922
- statusCode: number;
923
- message: string;
924
1446
  code: string;
925
- timestamp: string;
926
1447
  path: string;
1448
+ message: string;
1449
+ statusCode: number;
1450
+ timestamp: string;
927
1451
  details?: unknown;
928
1452
  correlationId?: string | undefined;
929
1453
  }>;
@@ -973,32 +1497,122 @@ export declare const bookingsContractRouter: {
973
1497
  }>;
974
1498
  job: z.ZodObject<{
975
1499
  id: z.ZodString;
976
- title: z.ZodString;
1500
+ description: z.ZodString;
1501
+ numberOfPositions: z.ZodNumber;
1502
+ workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1503
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
1504
+ pay: z.ZodObject<{
1505
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1506
+ rate: z.ZodNumber;
1507
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1508
+ receivedRate: z.ZodNumber;
1509
+ }, "strip", z.ZodTypeAny, {
1510
+ rate: number;
1511
+ rateUnit: "DAILY" | "HOURLY";
1512
+ receivedRate: number;
1513
+ rateMax?: number | null | undefined;
1514
+ }, {
1515
+ rate: number;
1516
+ rateUnit: "DAILY" | "HOURLY";
1517
+ receivedRate: number;
1518
+ rateMax?: number | null | undefined;
1519
+ }>;
1520
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1521
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1522
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1523
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1524
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1525
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1526
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1527
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ address?: string | null | undefined;
1530
+ postcode?: string | null | undefined;
1531
+ county?: string | null | undefined;
1532
+ adminDistrict?: string | null | undefined;
1533
+ builtUpArea?: string | null | undefined;
1534
+ postTown?: string | null | undefined;
1535
+ areaCovered?: string | null | undefined;
1536
+ }, {
1537
+ address?: string | null | undefined;
1538
+ postcode?: string | null | undefined;
1539
+ county?: string | null | undefined;
1540
+ adminDistrict?: string | null | undefined;
1541
+ builtUpArea?: string | null | undefined;
1542
+ postTown?: string | null | undefined;
1543
+ areaCovered?: string | null | undefined;
1544
+ }>>>;
1545
+ tradeId: z.ZodString;
1546
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1547
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
977
1548
  }, "strip", z.ZodTypeAny, {
1549
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1550
+ createdAt: string;
1551
+ updatedAt: string;
978
1552
  id: string;
979
- title: string;
1553
+ pay: {
1554
+ rate: number;
1555
+ rateUnit: "DAILY" | "HOURLY";
1556
+ receivedRate: number;
1557
+ rateMax?: number | null | undefined;
1558
+ };
1559
+ tradeId: string;
1560
+ description: string;
1561
+ numberOfPositions: number;
1562
+ workHours?: number | null | undefined;
1563
+ location?: {
1564
+ address?: string | null | undefined;
1565
+ postcode?: string | null | undefined;
1566
+ county?: string | null | undefined;
1567
+ adminDistrict?: string | null | undefined;
1568
+ builtUpArea?: string | null | undefined;
1569
+ postTown?: string | null | undefined;
1570
+ areaCovered?: string | null | undefined;
1571
+ } | null | undefined;
980
1572
  }, {
1573
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1574
+ createdAt: string | Date;
1575
+ updatedAt: string | Date;
981
1576
  id: string;
982
- title: string;
1577
+ pay: {
1578
+ rate: number;
1579
+ rateUnit: "DAILY" | "HOURLY";
1580
+ receivedRate: number;
1581
+ rateMax?: number | null | undefined;
1582
+ };
1583
+ tradeId: string;
1584
+ description: string;
1585
+ numberOfPositions: number;
1586
+ workHours?: number | null | undefined;
1587
+ location?: {
1588
+ address?: string | null | undefined;
1589
+ postcode?: string | null | undefined;
1590
+ county?: string | null | undefined;
1591
+ adminDistrict?: string | null | undefined;
1592
+ builtUpArea?: string | null | undefined;
1593
+ postTown?: string | null | undefined;
1594
+ areaCovered?: string | null | undefined;
1595
+ } | null | undefined;
983
1596
  }>;
984
1597
  userId: z.ZodString;
985
1598
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
986
1599
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
987
1600
  }, "strip", z.ZodTypeAny, {
988
1601
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
989
- id: string;
1602
+ startDate: string;
990
1603
  createdAt: string;
991
1604
  updatedAt: string;
992
- pay: {
993
- rate: number;
994
- unit: "DAILY" | "HOURLY";
995
- };
996
- startDate: string;
1605
+ id: string;
997
1606
  worker: {
998
1607
  id: string;
999
1608
  firstName: string;
1000
1609
  lastName: string;
1001
1610
  };
1611
+ pay: {
1612
+ rate: number;
1613
+ unit: "DAILY" | "HOURLY";
1614
+ };
1615
+ userId: string;
1002
1616
  user: {
1003
1617
  id: string;
1004
1618
  firstName: string;
@@ -1006,26 +1620,47 @@ export declare const bookingsContractRouter: {
1006
1620
  email: string;
1007
1621
  };
1008
1622
  job: {
1623
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1624
+ createdAt: string;
1625
+ updatedAt: string;
1009
1626
  id: string;
1010
- title: string;
1627
+ pay: {
1628
+ rate: number;
1629
+ rateUnit: "DAILY" | "HOURLY";
1630
+ receivedRate: number;
1631
+ rateMax?: number | null | undefined;
1632
+ };
1633
+ tradeId: string;
1634
+ description: string;
1635
+ numberOfPositions: number;
1636
+ workHours?: number | null | undefined;
1637
+ location?: {
1638
+ address?: string | null | undefined;
1639
+ postcode?: string | null | undefined;
1640
+ county?: string | null | undefined;
1641
+ adminDistrict?: string | null | undefined;
1642
+ builtUpArea?: string | null | undefined;
1643
+ postTown?: string | null | undefined;
1644
+ areaCovered?: string | null | undefined;
1645
+ } | null | undefined;
1011
1646
  };
1012
- userId: string;
1013
1647
  endDate?: string | null | undefined;
1014
1648
  }, {
1015
1649
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1016
- id: string;
1650
+ startDate: string | Date;
1017
1651
  createdAt: string | Date;
1018
1652
  updatedAt: string | Date;
1019
- pay: {
1020
- rate: number;
1021
- unit: "DAILY" | "HOURLY";
1022
- };
1023
- startDate: string | Date;
1653
+ id: string;
1024
1654
  worker: {
1025
1655
  id: string;
1026
1656
  firstName: string;
1027
1657
  lastName: string;
1028
1658
  };
1659
+ pay: {
1660
+ rate: number;
1661
+ unit: "DAILY" | "HOURLY";
1662
+ };
1663
+ userId: string;
1029
1664
  user: {
1030
1665
  id: string;
1031
1666
  firstName: string;
@@ -1033,10 +1668,30 @@ export declare const bookingsContractRouter: {
1033
1668
  email: string;
1034
1669
  };
1035
1670
  job: {
1671
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1672
+ createdAt: string | Date;
1673
+ updatedAt: string | Date;
1036
1674
  id: string;
1037
- title: string;
1675
+ pay: {
1676
+ rate: number;
1677
+ rateUnit: "DAILY" | "HOURLY";
1678
+ receivedRate: number;
1679
+ rateMax?: number | null | undefined;
1680
+ };
1681
+ tradeId: string;
1682
+ description: string;
1683
+ numberOfPositions: number;
1684
+ workHours?: number | null | undefined;
1685
+ location?: {
1686
+ address?: string | null | undefined;
1687
+ postcode?: string | null | undefined;
1688
+ county?: string | null | undefined;
1689
+ adminDistrict?: string | null | undefined;
1690
+ builtUpArea?: string | null | undefined;
1691
+ postTown?: string | null | undefined;
1692
+ areaCovered?: string | null | undefined;
1693
+ } | null | undefined;
1038
1694
  };
1039
- userId: string;
1040
1695
  endDate?: string | Date | null | undefined;
1041
1696
  }>, "many">;
1042
1697
  409: z.ZodObject<{
@@ -1048,19 +1703,19 @@ export declare const bookingsContractRouter: {
1048
1703
  path: z.ZodString;
1049
1704
  correlationId: z.ZodOptional<z.ZodString>;
1050
1705
  }, "strip", z.ZodTypeAny, {
1051
- statusCode: number;
1052
- message: string;
1053
1706
  code: string;
1054
- timestamp: string;
1055
1707
  path: string;
1708
+ message: string;
1709
+ statusCode: number;
1710
+ timestamp: string;
1056
1711
  details?: unknown;
1057
1712
  correlationId?: string | undefined;
1058
1713
  }, {
1059
- statusCode: number;
1060
- message: string;
1061
1714
  code: string;
1062
- timestamp: string;
1063
1715
  path: string;
1716
+ message: string;
1717
+ statusCode: number;
1718
+ timestamp: string;
1064
1719
  details?: unknown;
1065
1720
  correlationId?: string | undefined;
1066
1721
  }>;
@@ -1084,13 +1739,13 @@ export declare const bookingsContractRouter: {
1084
1739
  companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1085
1740
  tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1086
1741
  }, "strip", z.ZodTypeAny, {
1087
- clientId?: string | null | undefined;
1088
1742
  userId?: string | null | undefined;
1743
+ clientId?: string | null | undefined;
1089
1744
  companyId?: string | null | undefined;
1090
1745
  tradeId?: string | null | undefined;
1091
1746
  }, {
1092
- clientId?: string | null | undefined;
1093
1747
  userId?: string | null | undefined;
1748
+ clientId?: string | null | undefined;
1094
1749
  companyId?: string | null | undefined;
1095
1750
  tradeId?: string | null | undefined;
1096
1751
  }>>>;
@@ -1134,14 +1789,11 @@ export declare const bookingsContractRouter: {
1134
1789
  limit: number;
1135
1790
  page: number;
1136
1791
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
1137
- clientId?: string | null | undefined;
1138
- createdAt?: {
1792
+ startDate?: {
1139
1793
  from?: string | null | undefined;
1140
1794
  to?: string | null | undefined;
1141
1795
  } | null | undefined;
1142
- sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
1143
- sortOrder?: "ASC" | "DESC" | null | undefined;
1144
- startDate?: {
1796
+ createdAt?: {
1145
1797
  from?: string | null | undefined;
1146
1798
  to?: string | null | undefined;
1147
1799
  } | null | undefined;
@@ -1149,27 +1801,25 @@ export declare const bookingsContractRouter: {
1149
1801
  from?: string | null | undefined;
1150
1802
  to?: string | null | undefined;
1151
1803
  } | null | undefined;
1804
+ clientId?: string | null | undefined;
1805
+ companyId?: string | null | undefined;
1152
1806
  job?: {
1153
- clientId?: string | null | undefined;
1154
1807
  userId?: string | null | undefined;
1808
+ clientId?: string | null | undefined;
1155
1809
  companyId?: string | null | undefined;
1156
1810
  tradeId?: string | null | undefined;
1157
1811
  } | null | undefined;
1158
1812
  workerName?: string | null | undefined;
1159
- companyId?: string | null | undefined;
1813
+ sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
1814
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1160
1815
  agentName?: string | null | undefined;
1161
1816
  }, {
1162
1817
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
1163
- clientId?: string | null | undefined;
1164
- createdAt?: {
1818
+ startDate?: {
1165
1819
  from?: string | null | undefined;
1166
1820
  to?: string | null | undefined;
1167
1821
  } | null | undefined;
1168
- limit?: number | undefined;
1169
- page?: number | undefined;
1170
- sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
1171
- sortOrder?: "ASC" | "DESC" | null | undefined;
1172
- startDate?: {
1822
+ createdAt?: {
1173
1823
  from?: string | null | undefined;
1174
1824
  to?: string | null | undefined;
1175
1825
  } | null | undefined;
@@ -1177,14 +1827,19 @@ export declare const bookingsContractRouter: {
1177
1827
  from?: string | null | undefined;
1178
1828
  to?: string | null | undefined;
1179
1829
  } | null | undefined;
1830
+ clientId?: string | null | undefined;
1831
+ companyId?: string | null | undefined;
1180
1832
  job?: {
1181
- clientId?: string | null | undefined;
1182
1833
  userId?: string | null | undefined;
1834
+ clientId?: string | null | undefined;
1183
1835
  companyId?: string | null | undefined;
1184
1836
  tradeId?: string | null | undefined;
1185
1837
  } | null | undefined;
1838
+ limit?: number | undefined;
1839
+ page?: number | undefined;
1186
1840
  workerName?: string | null | undefined;
1187
- companyId?: string | null | undefined;
1841
+ sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
1842
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1188
1843
  agentName?: string | null | undefined;
1189
1844
  }>;
1190
1845
  summary: "Get all bookings";
@@ -1200,19 +1855,19 @@ export declare const bookingsContractRouter: {
1200
1855
  path: z.ZodString;
1201
1856
  correlationId: z.ZodOptional<z.ZodString>;
1202
1857
  }, "strip", z.ZodTypeAny, {
1203
- statusCode: number;
1204
- message: string;
1205
1858
  code: string;
1206
- timestamp: string;
1207
1859
  path: string;
1860
+ message: string;
1861
+ statusCode: number;
1862
+ timestamp: string;
1208
1863
  details?: unknown;
1209
1864
  correlationId?: string | undefined;
1210
1865
  }, {
1211
- statusCode: number;
1212
- message: string;
1213
1866
  code: string;
1214
- timestamp: string;
1215
1867
  path: string;
1868
+ message: string;
1869
+ statusCode: number;
1870
+ timestamp: string;
1216
1871
  details?: unknown;
1217
1872
  correlationId?: string | undefined;
1218
1873
  }>;
@@ -1225,19 +1880,19 @@ export declare const bookingsContractRouter: {
1225
1880
  path: z.ZodString;
1226
1881
  correlationId: z.ZodOptional<z.ZodString>;
1227
1882
  }, "strip", z.ZodTypeAny, {
1228
- statusCode: number;
1229
- message: string;
1230
1883
  code: string;
1231
- timestamp: string;
1232
1884
  path: string;
1885
+ message: string;
1886
+ statusCode: number;
1887
+ timestamp: string;
1233
1888
  details?: unknown;
1234
1889
  correlationId?: string | undefined;
1235
1890
  }, {
1236
- statusCode: number;
1237
- message: string;
1238
1891
  code: string;
1239
- timestamp: string;
1240
1892
  path: string;
1893
+ message: string;
1894
+ statusCode: number;
1895
+ timestamp: string;
1241
1896
  details?: unknown;
1242
1897
  correlationId?: string | undefined;
1243
1898
  }>;
@@ -1250,19 +1905,19 @@ export declare const bookingsContractRouter: {
1250
1905
  path: z.ZodString;
1251
1906
  correlationId: z.ZodOptional<z.ZodString>;
1252
1907
  }, "strip", z.ZodTypeAny, {
1253
- statusCode: number;
1254
- message: string;
1255
1908
  code: string;
1256
- timestamp: string;
1257
1909
  path: string;
1910
+ message: string;
1911
+ statusCode: number;
1912
+ timestamp: string;
1258
1913
  details?: unknown;
1259
1914
  correlationId?: string | undefined;
1260
1915
  }, {
1261
- statusCode: number;
1262
- message: string;
1263
1916
  code: string;
1264
- timestamp: string;
1265
1917
  path: string;
1918
+ message: string;
1919
+ statusCode: number;
1920
+ timestamp: string;
1266
1921
  details?: unknown;
1267
1922
  correlationId?: string | undefined;
1268
1923
  }>;
@@ -1275,19 +1930,19 @@ export declare const bookingsContractRouter: {
1275
1930
  path: z.ZodString;
1276
1931
  correlationId: z.ZodOptional<z.ZodString>;
1277
1932
  }, "strip", z.ZodTypeAny, {
1278
- statusCode: number;
1279
- message: string;
1280
1933
  code: string;
1281
- timestamp: string;
1282
1934
  path: string;
1935
+ message: string;
1936
+ statusCode: number;
1937
+ timestamp: string;
1283
1938
  details?: unknown;
1284
1939
  correlationId?: string | undefined;
1285
1940
  }, {
1286
- statusCode: number;
1287
- message: string;
1288
1941
  code: string;
1289
- timestamp: string;
1290
1942
  path: string;
1943
+ message: string;
1944
+ statusCode: number;
1945
+ timestamp: string;
1291
1946
  details?: unknown;
1292
1947
  correlationId?: string | undefined;
1293
1948
  }>;
@@ -1338,32 +1993,122 @@ export declare const bookingsContractRouter: {
1338
1993
  }>;
1339
1994
  job: z.ZodObject<{
1340
1995
  id: z.ZodString;
1341
- title: z.ZodString;
1996
+ description: z.ZodString;
1997
+ numberOfPositions: z.ZodNumber;
1998
+ workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1999
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
2000
+ pay: z.ZodObject<{
2001
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
2002
+ rate: z.ZodNumber;
2003
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2004
+ receivedRate: z.ZodNumber;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ rate: number;
2007
+ rateUnit: "DAILY" | "HOURLY";
2008
+ receivedRate: number;
2009
+ rateMax?: number | null | undefined;
2010
+ }, {
2011
+ rate: number;
2012
+ rateUnit: "DAILY" | "HOURLY";
2013
+ receivedRate: number;
2014
+ rateMax?: number | null | undefined;
2015
+ }>;
2016
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2017
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2018
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2019
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2020
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2021
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2022
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2023
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ address?: string | null | undefined;
2026
+ postcode?: string | null | undefined;
2027
+ county?: string | null | undefined;
2028
+ adminDistrict?: string | null | undefined;
2029
+ builtUpArea?: string | null | undefined;
2030
+ postTown?: string | null | undefined;
2031
+ areaCovered?: string | null | undefined;
2032
+ }, {
2033
+ address?: string | null | undefined;
2034
+ postcode?: string | null | undefined;
2035
+ county?: string | null | undefined;
2036
+ adminDistrict?: string | null | undefined;
2037
+ builtUpArea?: string | null | undefined;
2038
+ postTown?: string | null | undefined;
2039
+ areaCovered?: string | null | undefined;
2040
+ }>>>;
2041
+ tradeId: z.ZodString;
2042
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2043
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1342
2044
  }, "strip", z.ZodTypeAny, {
2045
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2046
+ createdAt: string;
2047
+ updatedAt: string;
1343
2048
  id: string;
1344
- title: string;
2049
+ pay: {
2050
+ rate: number;
2051
+ rateUnit: "DAILY" | "HOURLY";
2052
+ receivedRate: number;
2053
+ rateMax?: number | null | undefined;
2054
+ };
2055
+ tradeId: string;
2056
+ description: string;
2057
+ numberOfPositions: number;
2058
+ workHours?: number | null | undefined;
2059
+ location?: {
2060
+ address?: string | null | undefined;
2061
+ postcode?: string | null | undefined;
2062
+ county?: string | null | undefined;
2063
+ adminDistrict?: string | null | undefined;
2064
+ builtUpArea?: string | null | undefined;
2065
+ postTown?: string | null | undefined;
2066
+ areaCovered?: string | null | undefined;
2067
+ } | null | undefined;
1345
2068
  }, {
2069
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2070
+ createdAt: string | Date;
2071
+ updatedAt: string | Date;
1346
2072
  id: string;
1347
- title: string;
2073
+ pay: {
2074
+ rate: number;
2075
+ rateUnit: "DAILY" | "HOURLY";
2076
+ receivedRate: number;
2077
+ rateMax?: number | null | undefined;
2078
+ };
2079
+ tradeId: string;
2080
+ description: string;
2081
+ numberOfPositions: number;
2082
+ workHours?: number | null | undefined;
2083
+ location?: {
2084
+ address?: string | null | undefined;
2085
+ postcode?: string | null | undefined;
2086
+ county?: string | null | undefined;
2087
+ adminDistrict?: string | null | undefined;
2088
+ builtUpArea?: string | null | undefined;
2089
+ postTown?: string | null | undefined;
2090
+ areaCovered?: string | null | undefined;
2091
+ } | null | undefined;
1348
2092
  }>;
1349
2093
  userId: z.ZodString;
1350
2094
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1351
2095
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1352
2096
  }, "strip", z.ZodTypeAny, {
1353
2097
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1354
- id: string;
2098
+ startDate: string;
1355
2099
  createdAt: string;
1356
2100
  updatedAt: string;
1357
- pay: {
1358
- rate: number;
1359
- unit: "DAILY" | "HOURLY";
1360
- };
1361
- startDate: string;
2101
+ id: string;
1362
2102
  worker: {
1363
2103
  id: string;
1364
2104
  firstName: string;
1365
2105
  lastName: string;
1366
2106
  };
2107
+ pay: {
2108
+ rate: number;
2109
+ unit: "DAILY" | "HOURLY";
2110
+ };
2111
+ userId: string;
1367
2112
  user: {
1368
2113
  id: string;
1369
2114
  firstName: string;
@@ -1371,26 +2116,47 @@ export declare const bookingsContractRouter: {
1371
2116
  email: string;
1372
2117
  };
1373
2118
  job: {
2119
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2120
+ createdAt: string;
2121
+ updatedAt: string;
1374
2122
  id: string;
1375
- title: string;
2123
+ pay: {
2124
+ rate: number;
2125
+ rateUnit: "DAILY" | "HOURLY";
2126
+ receivedRate: number;
2127
+ rateMax?: number | null | undefined;
2128
+ };
2129
+ tradeId: string;
2130
+ description: string;
2131
+ numberOfPositions: number;
2132
+ workHours?: number | null | undefined;
2133
+ location?: {
2134
+ address?: string | null | undefined;
2135
+ postcode?: string | null | undefined;
2136
+ county?: string | null | undefined;
2137
+ adminDistrict?: string | null | undefined;
2138
+ builtUpArea?: string | null | undefined;
2139
+ postTown?: string | null | undefined;
2140
+ areaCovered?: string | null | undefined;
2141
+ } | null | undefined;
1376
2142
  };
1377
- userId: string;
1378
2143
  endDate?: string | null | undefined;
1379
2144
  }, {
1380
2145
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1381
- id: string;
2146
+ startDate: string | Date;
1382
2147
  createdAt: string | Date;
1383
2148
  updatedAt: string | Date;
1384
- pay: {
1385
- rate: number;
1386
- unit: "DAILY" | "HOURLY";
1387
- };
1388
- startDate: string | Date;
2149
+ id: string;
1389
2150
  worker: {
1390
2151
  id: string;
1391
2152
  firstName: string;
1392
2153
  lastName: string;
1393
2154
  };
2155
+ pay: {
2156
+ rate: number;
2157
+ unit: "DAILY" | "HOURLY";
2158
+ };
2159
+ userId: string;
1394
2160
  user: {
1395
2161
  id: string;
1396
2162
  firstName: string;
@@ -1398,10 +2164,30 @@ export declare const bookingsContractRouter: {
1398
2164
  email: string;
1399
2165
  };
1400
2166
  job: {
2167
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2168
+ createdAt: string | Date;
2169
+ updatedAt: string | Date;
1401
2170
  id: string;
1402
- title: string;
2171
+ pay: {
2172
+ rate: number;
2173
+ rateUnit: "DAILY" | "HOURLY";
2174
+ receivedRate: number;
2175
+ rateMax?: number | null | undefined;
2176
+ };
2177
+ tradeId: string;
2178
+ description: string;
2179
+ numberOfPositions: number;
2180
+ workHours?: number | null | undefined;
2181
+ location?: {
2182
+ address?: string | null | undefined;
2183
+ postcode?: string | null | undefined;
2184
+ county?: string | null | undefined;
2185
+ adminDistrict?: string | null | undefined;
2186
+ builtUpArea?: string | null | undefined;
2187
+ postTown?: string | null | undefined;
2188
+ areaCovered?: string | null | undefined;
2189
+ } | null | undefined;
1403
2190
  };
1404
- userId: string;
1405
2191
  endDate?: string | Date | null | undefined;
1406
2192
  }>, "many">;
1407
2193
  totalCount: z.ZodNumber;
@@ -1410,21 +2196,23 @@ export declare const bookingsContractRouter: {
1410
2196
  currentPage: z.ZodNumber;
1411
2197
  totalPages: z.ZodNumber;
1412
2198
  }, "strip", z.ZodTypeAny, {
2199
+ limit: number;
1413
2200
  items: {
1414
2201
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1415
- id: string;
2202
+ startDate: string;
1416
2203
  createdAt: string;
1417
2204
  updatedAt: string;
1418
- pay: {
1419
- rate: number;
1420
- unit: "DAILY" | "HOURLY";
1421
- };
1422
- startDate: string;
2205
+ id: string;
1423
2206
  worker: {
1424
2207
  id: string;
1425
2208
  firstName: string;
1426
2209
  lastName: string;
1427
2210
  };
2211
+ pay: {
2212
+ rate: number;
2213
+ unit: "DAILY" | "HOURLY";
2214
+ };
2215
+ userId: string;
1428
2216
  user: {
1429
2217
  id: string;
1430
2218
  firstName: string;
@@ -1432,33 +2220,54 @@ export declare const bookingsContractRouter: {
1432
2220
  email: string;
1433
2221
  };
1434
2222
  job: {
2223
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2224
+ createdAt: string;
2225
+ updatedAt: string;
1435
2226
  id: string;
1436
- title: string;
2227
+ pay: {
2228
+ rate: number;
2229
+ rateUnit: "DAILY" | "HOURLY";
2230
+ receivedRate: number;
2231
+ rateMax?: number | null | undefined;
2232
+ };
2233
+ tradeId: string;
2234
+ description: string;
2235
+ numberOfPositions: number;
2236
+ workHours?: number | null | undefined;
2237
+ location?: {
2238
+ address?: string | null | undefined;
2239
+ postcode?: string | null | undefined;
2240
+ county?: string | null | undefined;
2241
+ adminDistrict?: string | null | undefined;
2242
+ builtUpArea?: string | null | undefined;
2243
+ postTown?: string | null | undefined;
2244
+ areaCovered?: string | null | undefined;
2245
+ } | null | undefined;
1437
2246
  };
1438
- userId: string;
1439
2247
  endDate?: string | null | undefined;
1440
2248
  }[];
1441
2249
  totalCount: number;
1442
- limit: number;
1443
2250
  skip: number;
1444
2251
  currentPage: number;
1445
2252
  totalPages: number;
1446
2253
  }, {
2254
+ limit: number;
1447
2255
  items: {
1448
2256
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1449
- id: string;
2257
+ startDate: string | Date;
1450
2258
  createdAt: string | Date;
1451
2259
  updatedAt: string | Date;
1452
- pay: {
1453
- rate: number;
1454
- unit: "DAILY" | "HOURLY";
1455
- };
1456
- startDate: string | Date;
2260
+ id: string;
1457
2261
  worker: {
1458
2262
  id: string;
1459
2263
  firstName: string;
1460
2264
  lastName: string;
1461
2265
  };
2266
+ pay: {
2267
+ rate: number;
2268
+ unit: "DAILY" | "HOURLY";
2269
+ };
2270
+ userId: string;
1462
2271
  user: {
1463
2272
  id: string;
1464
2273
  firstName: string;
@@ -1466,14 +2275,33 @@ export declare const bookingsContractRouter: {
1466
2275
  email: string;
1467
2276
  };
1468
2277
  job: {
2278
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2279
+ createdAt: string | Date;
2280
+ updatedAt: string | Date;
1469
2281
  id: string;
1470
- title: string;
2282
+ pay: {
2283
+ rate: number;
2284
+ rateUnit: "DAILY" | "HOURLY";
2285
+ receivedRate: number;
2286
+ rateMax?: number | null | undefined;
2287
+ };
2288
+ tradeId: string;
2289
+ description: string;
2290
+ numberOfPositions: number;
2291
+ workHours?: number | null | undefined;
2292
+ location?: {
2293
+ address?: string | null | undefined;
2294
+ postcode?: string | null | undefined;
2295
+ county?: string | null | undefined;
2296
+ adminDistrict?: string | null | undefined;
2297
+ builtUpArea?: string | null | undefined;
2298
+ postTown?: string | null | undefined;
2299
+ areaCovered?: string | null | undefined;
2300
+ } | null | undefined;
1471
2301
  };
1472
- userId: string;
1473
2302
  endDate?: string | Date | null | undefined;
1474
2303
  }[];
1475
2304
  totalCount: number;
1476
- limit: number;
1477
2305
  skip: number;
1478
2306
  currentPage: number;
1479
2307
  totalPages: number;
@@ -1507,19 +2335,19 @@ export declare const bookingsContractRouter: {
1507
2335
  path: z.ZodString;
1508
2336
  correlationId: z.ZodOptional<z.ZodString>;
1509
2337
  }, "strip", z.ZodTypeAny, {
1510
- statusCode: number;
1511
- message: string;
1512
2338
  code: string;
1513
- timestamp: string;
1514
2339
  path: string;
2340
+ message: string;
2341
+ statusCode: number;
2342
+ timestamp: string;
1515
2343
  details?: unknown;
1516
2344
  correlationId?: string | undefined;
1517
2345
  }, {
1518
- statusCode: number;
1519
- message: string;
1520
2346
  code: string;
1521
- timestamp: string;
1522
2347
  path: string;
2348
+ message: string;
2349
+ statusCode: number;
2350
+ timestamp: string;
1523
2351
  details?: unknown;
1524
2352
  correlationId?: string | undefined;
1525
2353
  }>;
@@ -1532,19 +2360,19 @@ export declare const bookingsContractRouter: {
1532
2360
  path: z.ZodString;
1533
2361
  correlationId: z.ZodOptional<z.ZodString>;
1534
2362
  }, "strip", z.ZodTypeAny, {
1535
- statusCode: number;
1536
- message: string;
1537
2363
  code: string;
1538
- timestamp: string;
1539
2364
  path: string;
2365
+ message: string;
2366
+ statusCode: number;
2367
+ timestamp: string;
1540
2368
  details?: unknown;
1541
2369
  correlationId?: string | undefined;
1542
2370
  }, {
1543
- statusCode: number;
1544
- message: string;
1545
2371
  code: string;
1546
- timestamp: string;
1547
2372
  path: string;
2373
+ message: string;
2374
+ statusCode: number;
2375
+ timestamp: string;
1548
2376
  details?: unknown;
1549
2377
  correlationId?: string | undefined;
1550
2378
  }>;
@@ -1557,19 +2385,19 @@ export declare const bookingsContractRouter: {
1557
2385
  path: z.ZodString;
1558
2386
  correlationId: z.ZodOptional<z.ZodString>;
1559
2387
  }, "strip", z.ZodTypeAny, {
1560
- statusCode: number;
1561
- message: string;
1562
2388
  code: string;
1563
- timestamp: string;
1564
2389
  path: string;
2390
+ message: string;
2391
+ statusCode: number;
2392
+ timestamp: string;
1565
2393
  details?: unknown;
1566
2394
  correlationId?: string | undefined;
1567
2395
  }, {
1568
- statusCode: number;
1569
- message: string;
1570
2396
  code: string;
1571
- timestamp: string;
1572
2397
  path: string;
2398
+ message: string;
2399
+ statusCode: number;
2400
+ timestamp: string;
1573
2401
  details?: unknown;
1574
2402
  correlationId?: string | undefined;
1575
2403
  }>;
@@ -1582,19 +2410,19 @@ export declare const bookingsContractRouter: {
1582
2410
  path: z.ZodString;
1583
2411
  correlationId: z.ZodOptional<z.ZodString>;
1584
2412
  }, "strip", z.ZodTypeAny, {
1585
- statusCode: number;
1586
- message: string;
1587
2413
  code: string;
1588
- timestamp: string;
1589
2414
  path: string;
2415
+ message: string;
2416
+ statusCode: number;
2417
+ timestamp: string;
1590
2418
  details?: unknown;
1591
2419
  correlationId?: string | undefined;
1592
2420
  }, {
1593
- statusCode: number;
1594
- message: string;
1595
2421
  code: string;
1596
- timestamp: string;
1597
2422
  path: string;
2423
+ message: string;
2424
+ statusCode: number;
2425
+ timestamp: string;
1598
2426
  details?: unknown;
1599
2427
  correlationId?: string | undefined;
1600
2428
  }>;
@@ -1644,32 +2472,122 @@ export declare const bookingsContractRouter: {
1644
2472
  }>;
1645
2473
  job: z.ZodObject<{
1646
2474
  id: z.ZodString;
1647
- title: z.ZodString;
2475
+ description: z.ZodString;
2476
+ numberOfPositions: z.ZodNumber;
2477
+ workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2478
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
2479
+ pay: z.ZodObject<{
2480
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
2481
+ rate: z.ZodNumber;
2482
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2483
+ receivedRate: z.ZodNumber;
2484
+ }, "strip", z.ZodTypeAny, {
2485
+ rate: number;
2486
+ rateUnit: "DAILY" | "HOURLY";
2487
+ receivedRate: number;
2488
+ rateMax?: number | null | undefined;
2489
+ }, {
2490
+ rate: number;
2491
+ rateUnit: "DAILY" | "HOURLY";
2492
+ receivedRate: number;
2493
+ rateMax?: number | null | undefined;
2494
+ }>;
2495
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2496
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2497
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2498
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2499
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2500
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2501
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2502
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2503
+ }, "strip", z.ZodTypeAny, {
2504
+ address?: string | null | undefined;
2505
+ postcode?: string | null | undefined;
2506
+ county?: string | null | undefined;
2507
+ adminDistrict?: string | null | undefined;
2508
+ builtUpArea?: string | null | undefined;
2509
+ postTown?: string | null | undefined;
2510
+ areaCovered?: string | null | undefined;
2511
+ }, {
2512
+ address?: string | null | undefined;
2513
+ postcode?: string | null | undefined;
2514
+ county?: string | null | undefined;
2515
+ adminDistrict?: string | null | undefined;
2516
+ builtUpArea?: string | null | undefined;
2517
+ postTown?: string | null | undefined;
2518
+ areaCovered?: string | null | undefined;
2519
+ }>>>;
2520
+ tradeId: z.ZodString;
2521
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2522
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1648
2523
  }, "strip", z.ZodTypeAny, {
2524
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2525
+ createdAt: string;
2526
+ updatedAt: string;
1649
2527
  id: string;
1650
- title: string;
2528
+ pay: {
2529
+ rate: number;
2530
+ rateUnit: "DAILY" | "HOURLY";
2531
+ receivedRate: number;
2532
+ rateMax?: number | null | undefined;
2533
+ };
2534
+ tradeId: string;
2535
+ description: string;
2536
+ numberOfPositions: number;
2537
+ workHours?: number | null | undefined;
2538
+ location?: {
2539
+ address?: string | null | undefined;
2540
+ postcode?: string | null | undefined;
2541
+ county?: string | null | undefined;
2542
+ adminDistrict?: string | null | undefined;
2543
+ builtUpArea?: string | null | undefined;
2544
+ postTown?: string | null | undefined;
2545
+ areaCovered?: string | null | undefined;
2546
+ } | null | undefined;
1651
2547
  }, {
2548
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2549
+ createdAt: string | Date;
2550
+ updatedAt: string | Date;
1652
2551
  id: string;
1653
- title: string;
2552
+ pay: {
2553
+ rate: number;
2554
+ rateUnit: "DAILY" | "HOURLY";
2555
+ receivedRate: number;
2556
+ rateMax?: number | null | undefined;
2557
+ };
2558
+ tradeId: string;
2559
+ description: string;
2560
+ numberOfPositions: number;
2561
+ workHours?: number | null | undefined;
2562
+ location?: {
2563
+ address?: string | null | undefined;
2564
+ postcode?: string | null | undefined;
2565
+ county?: string | null | undefined;
2566
+ adminDistrict?: string | null | undefined;
2567
+ builtUpArea?: string | null | undefined;
2568
+ postTown?: string | null | undefined;
2569
+ areaCovered?: string | null | undefined;
2570
+ } | null | undefined;
1654
2571
  }>;
1655
2572
  userId: z.ZodString;
1656
2573
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1657
2574
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1658
2575
  }, "strip", z.ZodTypeAny, {
1659
2576
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1660
- id: string;
2577
+ startDate: string;
1661
2578
  createdAt: string;
1662
2579
  updatedAt: string;
1663
- pay: {
1664
- rate: number;
1665
- unit: "DAILY" | "HOURLY";
1666
- };
1667
- startDate: string;
2580
+ id: string;
1668
2581
  worker: {
1669
2582
  id: string;
1670
2583
  firstName: string;
1671
2584
  lastName: string;
1672
2585
  };
2586
+ pay: {
2587
+ rate: number;
2588
+ unit: "DAILY" | "HOURLY";
2589
+ };
2590
+ userId: string;
1673
2591
  user: {
1674
2592
  id: string;
1675
2593
  firstName: string;
@@ -1677,26 +2595,47 @@ export declare const bookingsContractRouter: {
1677
2595
  email: string;
1678
2596
  };
1679
2597
  job: {
2598
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2599
+ createdAt: string;
2600
+ updatedAt: string;
1680
2601
  id: string;
1681
- title: string;
2602
+ pay: {
2603
+ rate: number;
2604
+ rateUnit: "DAILY" | "HOURLY";
2605
+ receivedRate: number;
2606
+ rateMax?: number | null | undefined;
2607
+ };
2608
+ tradeId: string;
2609
+ description: string;
2610
+ numberOfPositions: number;
2611
+ workHours?: number | null | undefined;
2612
+ location?: {
2613
+ address?: string | null | undefined;
2614
+ postcode?: string | null | undefined;
2615
+ county?: string | null | undefined;
2616
+ adminDistrict?: string | null | undefined;
2617
+ builtUpArea?: string | null | undefined;
2618
+ postTown?: string | null | undefined;
2619
+ areaCovered?: string | null | undefined;
2620
+ } | null | undefined;
1682
2621
  };
1683
- userId: string;
1684
2622
  endDate?: string | null | undefined;
1685
2623
  }, {
1686
2624
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1687
- id: string;
2625
+ startDate: string | Date;
1688
2626
  createdAt: string | Date;
1689
2627
  updatedAt: string | Date;
1690
- pay: {
1691
- rate: number;
1692
- unit: "DAILY" | "HOURLY";
1693
- };
1694
- startDate: string | Date;
2628
+ id: string;
1695
2629
  worker: {
1696
2630
  id: string;
1697
2631
  firstName: string;
1698
2632
  lastName: string;
1699
2633
  };
2634
+ pay: {
2635
+ rate: number;
2636
+ unit: "DAILY" | "HOURLY";
2637
+ };
2638
+ userId: string;
1700
2639
  user: {
1701
2640
  id: string;
1702
2641
  firstName: string;
@@ -1704,10 +2643,30 @@ export declare const bookingsContractRouter: {
1704
2643
  email: string;
1705
2644
  };
1706
2645
  job: {
2646
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2647
+ createdAt: string | Date;
2648
+ updatedAt: string | Date;
1707
2649
  id: string;
1708
- title: string;
2650
+ pay: {
2651
+ rate: number;
2652
+ rateUnit: "DAILY" | "HOURLY";
2653
+ receivedRate: number;
2654
+ rateMax?: number | null | undefined;
2655
+ };
2656
+ tradeId: string;
2657
+ description: string;
2658
+ numberOfPositions: number;
2659
+ workHours?: number | null | undefined;
2660
+ location?: {
2661
+ address?: string | null | undefined;
2662
+ postcode?: string | null | undefined;
2663
+ county?: string | null | undefined;
2664
+ adminDistrict?: string | null | undefined;
2665
+ builtUpArea?: string | null | undefined;
2666
+ postTown?: string | null | undefined;
2667
+ areaCovered?: string | null | undefined;
2668
+ } | null | undefined;
1709
2669
  };
1710
- userId: string;
1711
2670
  endDate?: string | Date | null | undefined;
1712
2671
  }>;
1713
2672
  404: z.ZodObject<{
@@ -1719,19 +2678,19 @@ export declare const bookingsContractRouter: {
1719
2678
  path: z.ZodString;
1720
2679
  correlationId: z.ZodOptional<z.ZodString>;
1721
2680
  }, "strip", z.ZodTypeAny, {
1722
- statusCode: number;
1723
- message: string;
1724
2681
  code: string;
1725
- timestamp: string;
1726
2682
  path: string;
2683
+ message: string;
2684
+ statusCode: number;
2685
+ timestamp: string;
1727
2686
  details?: unknown;
1728
2687
  correlationId?: string | undefined;
1729
2688
  }, {
1730
- statusCode: number;
1731
- message: string;
1732
2689
  code: string;
1733
- timestamp: string;
1734
2690
  path: string;
2691
+ message: string;
2692
+ statusCode: number;
2693
+ timestamp: string;
1735
2694
  details?: unknown;
1736
2695
  correlationId?: string | undefined;
1737
2696
  }>;
@@ -1777,19 +2736,19 @@ export declare const bookingsContractRouter: {
1777
2736
  path: z.ZodString;
1778
2737
  correlationId: z.ZodOptional<z.ZodString>;
1779
2738
  }, "strip", z.ZodTypeAny, {
1780
- statusCode: number;
1781
- message: string;
1782
2739
  code: string;
1783
- timestamp: string;
1784
2740
  path: string;
2741
+ message: string;
2742
+ statusCode: number;
2743
+ timestamp: string;
1785
2744
  details?: unknown;
1786
2745
  correlationId?: string | undefined;
1787
2746
  }, {
1788
- statusCode: number;
1789
- message: string;
1790
2747
  code: string;
1791
- timestamp: string;
1792
2748
  path: string;
2749
+ message: string;
2750
+ statusCode: number;
2751
+ timestamp: string;
1793
2752
  details?: unknown;
1794
2753
  correlationId?: string | undefined;
1795
2754
  }>;
@@ -1802,19 +2761,19 @@ export declare const bookingsContractRouter: {
1802
2761
  path: z.ZodString;
1803
2762
  correlationId: z.ZodOptional<z.ZodString>;
1804
2763
  }, "strip", z.ZodTypeAny, {
1805
- statusCode: number;
1806
- message: string;
1807
2764
  code: string;
1808
- timestamp: string;
1809
2765
  path: string;
2766
+ message: string;
2767
+ statusCode: number;
2768
+ timestamp: string;
1810
2769
  details?: unknown;
1811
2770
  correlationId?: string | undefined;
1812
2771
  }, {
1813
- statusCode: number;
1814
- message: string;
1815
2772
  code: string;
1816
- timestamp: string;
1817
2773
  path: string;
2774
+ message: string;
2775
+ statusCode: number;
2776
+ timestamp: string;
1818
2777
  details?: unknown;
1819
2778
  correlationId?: string | undefined;
1820
2779
  }>;
@@ -1827,19 +2786,19 @@ export declare const bookingsContractRouter: {
1827
2786
  path: z.ZodString;
1828
2787
  correlationId: z.ZodOptional<z.ZodString>;
1829
2788
  }, "strip", z.ZodTypeAny, {
1830
- statusCode: number;
1831
- message: string;
1832
2789
  code: string;
1833
- timestamp: string;
1834
2790
  path: string;
2791
+ message: string;
2792
+ statusCode: number;
2793
+ timestamp: string;
1835
2794
  details?: unknown;
1836
2795
  correlationId?: string | undefined;
1837
2796
  }, {
1838
- statusCode: number;
1839
- message: string;
1840
2797
  code: string;
1841
- timestamp: string;
1842
2798
  path: string;
2799
+ message: string;
2800
+ statusCode: number;
2801
+ timestamp: string;
1843
2802
  details?: unknown;
1844
2803
  correlationId?: string | undefined;
1845
2804
  }>;
@@ -1852,19 +2811,19 @@ export declare const bookingsContractRouter: {
1852
2811
  path: z.ZodString;
1853
2812
  correlationId: z.ZodOptional<z.ZodString>;
1854
2813
  }, "strip", z.ZodTypeAny, {
1855
- statusCode: number;
1856
- message: string;
1857
2814
  code: string;
1858
- timestamp: string;
1859
2815
  path: string;
2816
+ message: string;
2817
+ statusCode: number;
2818
+ timestamp: string;
1860
2819
  details?: unknown;
1861
2820
  correlationId?: string | undefined;
1862
2821
  }, {
1863
- statusCode: number;
1864
- message: string;
1865
2822
  code: string;
1866
- timestamp: string;
1867
2823
  path: string;
2824
+ message: string;
2825
+ statusCode: number;
2826
+ timestamp: string;
1868
2827
  details?: unknown;
1869
2828
  correlationId?: string | undefined;
1870
2829
  }>;
@@ -1914,32 +2873,122 @@ export declare const bookingsContractRouter: {
1914
2873
  }>;
1915
2874
  job: z.ZodObject<{
1916
2875
  id: z.ZodString;
1917
- title: z.ZodString;
2876
+ description: z.ZodString;
2877
+ numberOfPositions: z.ZodNumber;
2878
+ workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2879
+ status: z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>;
2880
+ pay: z.ZodObject<{
2881
+ rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
2882
+ rate: z.ZodNumber;
2883
+ rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2884
+ receivedRate: z.ZodNumber;
2885
+ }, "strip", z.ZodTypeAny, {
2886
+ rate: number;
2887
+ rateUnit: "DAILY" | "HOURLY";
2888
+ receivedRate: number;
2889
+ rateMax?: number | null | undefined;
2890
+ }, {
2891
+ rate: number;
2892
+ rateUnit: "DAILY" | "HOURLY";
2893
+ receivedRate: number;
2894
+ rateMax?: number | null | undefined;
2895
+ }>;
2896
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2897
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2898
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2899
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2900
+ adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2901
+ builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2902
+ postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2903
+ areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2904
+ }, "strip", z.ZodTypeAny, {
2905
+ address?: string | null | undefined;
2906
+ postcode?: string | null | undefined;
2907
+ county?: string | null | undefined;
2908
+ adminDistrict?: string | null | undefined;
2909
+ builtUpArea?: string | null | undefined;
2910
+ postTown?: string | null | undefined;
2911
+ areaCovered?: string | null | undefined;
2912
+ }, {
2913
+ address?: string | null | undefined;
2914
+ postcode?: string | null | undefined;
2915
+ county?: string | null | undefined;
2916
+ adminDistrict?: string | null | undefined;
2917
+ builtUpArea?: string | null | undefined;
2918
+ postTown?: string | null | undefined;
2919
+ areaCovered?: string | null | undefined;
2920
+ }>>>;
2921
+ tradeId: z.ZodString;
2922
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2923
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1918
2924
  }, "strip", z.ZodTypeAny, {
2925
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2926
+ createdAt: string;
2927
+ updatedAt: string;
1919
2928
  id: string;
1920
- title: string;
2929
+ pay: {
2930
+ rate: number;
2931
+ rateUnit: "DAILY" | "HOURLY";
2932
+ receivedRate: number;
2933
+ rateMax?: number | null | undefined;
2934
+ };
2935
+ tradeId: string;
2936
+ description: string;
2937
+ numberOfPositions: number;
2938
+ workHours?: number | null | undefined;
2939
+ location?: {
2940
+ address?: string | null | undefined;
2941
+ postcode?: string | null | undefined;
2942
+ county?: string | null | undefined;
2943
+ adminDistrict?: string | null | undefined;
2944
+ builtUpArea?: string | null | undefined;
2945
+ postTown?: string | null | undefined;
2946
+ areaCovered?: string | null | undefined;
2947
+ } | null | undefined;
1921
2948
  }, {
2949
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2950
+ createdAt: string | Date;
2951
+ updatedAt: string | Date;
1922
2952
  id: string;
1923
- title: string;
2953
+ pay: {
2954
+ rate: number;
2955
+ rateUnit: "DAILY" | "HOURLY";
2956
+ receivedRate: number;
2957
+ rateMax?: number | null | undefined;
2958
+ };
2959
+ tradeId: string;
2960
+ description: string;
2961
+ numberOfPositions: number;
2962
+ workHours?: number | null | undefined;
2963
+ location?: {
2964
+ address?: string | null | undefined;
2965
+ postcode?: string | null | undefined;
2966
+ county?: string | null | undefined;
2967
+ adminDistrict?: string | null | undefined;
2968
+ builtUpArea?: string | null | undefined;
2969
+ postTown?: string | null | undefined;
2970
+ areaCovered?: string | null | undefined;
2971
+ } | null | undefined;
1924
2972
  }>;
1925
2973
  userId: z.ZodString;
1926
2974
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1927
2975
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1928
2976
  }, "strip", z.ZodTypeAny, {
1929
2977
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1930
- id: string;
2978
+ startDate: string;
1931
2979
  createdAt: string;
1932
2980
  updatedAt: string;
1933
- pay: {
1934
- rate: number;
1935
- unit: "DAILY" | "HOURLY";
1936
- };
1937
- startDate: string;
2981
+ id: string;
1938
2982
  worker: {
1939
2983
  id: string;
1940
2984
  firstName: string;
1941
2985
  lastName: string;
1942
2986
  };
2987
+ pay: {
2988
+ rate: number;
2989
+ unit: "DAILY" | "HOURLY";
2990
+ };
2991
+ userId: string;
1943
2992
  user: {
1944
2993
  id: string;
1945
2994
  firstName: string;
@@ -1947,26 +2996,47 @@ export declare const bookingsContractRouter: {
1947
2996
  email: string;
1948
2997
  };
1949
2998
  job: {
2999
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3000
+ createdAt: string;
3001
+ updatedAt: string;
1950
3002
  id: string;
1951
- title: string;
3003
+ pay: {
3004
+ rate: number;
3005
+ rateUnit: "DAILY" | "HOURLY";
3006
+ receivedRate: number;
3007
+ rateMax?: number | null | undefined;
3008
+ };
3009
+ tradeId: string;
3010
+ description: string;
3011
+ numberOfPositions: number;
3012
+ workHours?: number | null | undefined;
3013
+ location?: {
3014
+ address?: string | null | undefined;
3015
+ postcode?: string | null | undefined;
3016
+ county?: string | null | undefined;
3017
+ adminDistrict?: string | null | undefined;
3018
+ builtUpArea?: string | null | undefined;
3019
+ postTown?: string | null | undefined;
3020
+ areaCovered?: string | null | undefined;
3021
+ } | null | undefined;
1952
3022
  };
1953
- userId: string;
1954
3023
  endDate?: string | null | undefined;
1955
3024
  }, {
1956
3025
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
1957
- id: string;
3026
+ startDate: string | Date;
1958
3027
  createdAt: string | Date;
1959
3028
  updatedAt: string | Date;
1960
- pay: {
1961
- rate: number;
1962
- unit: "DAILY" | "HOURLY";
1963
- };
1964
- startDate: string | Date;
3029
+ id: string;
1965
3030
  worker: {
1966
3031
  id: string;
1967
3032
  firstName: string;
1968
3033
  lastName: string;
1969
3034
  };
3035
+ pay: {
3036
+ rate: number;
3037
+ unit: "DAILY" | "HOURLY";
3038
+ };
3039
+ userId: string;
1970
3040
  user: {
1971
3041
  id: string;
1972
3042
  firstName: string;
@@ -1974,10 +3044,30 @@ export declare const bookingsContractRouter: {
1974
3044
  email: string;
1975
3045
  };
1976
3046
  job: {
3047
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3048
+ createdAt: string | Date;
3049
+ updatedAt: string | Date;
1977
3050
  id: string;
1978
- title: string;
3051
+ pay: {
3052
+ rate: number;
3053
+ rateUnit: "DAILY" | "HOURLY";
3054
+ receivedRate: number;
3055
+ rateMax?: number | null | undefined;
3056
+ };
3057
+ tradeId: string;
3058
+ description: string;
3059
+ numberOfPositions: number;
3060
+ workHours?: number | null | undefined;
3061
+ location?: {
3062
+ address?: string | null | undefined;
3063
+ postcode?: string | null | undefined;
3064
+ county?: string | null | undefined;
3065
+ adminDistrict?: string | null | undefined;
3066
+ builtUpArea?: string | null | undefined;
3067
+ postTown?: string | null | undefined;
3068
+ areaCovered?: string | null | undefined;
3069
+ } | null | undefined;
1979
3070
  };
1980
- userId: string;
1981
3071
  endDate?: string | Date | null | undefined;
1982
3072
  }>;
1983
3073
  404: z.ZodObject<{
@@ -1989,19 +3079,19 @@ export declare const bookingsContractRouter: {
1989
3079
  path: z.ZodString;
1990
3080
  correlationId: z.ZodOptional<z.ZodString>;
1991
3081
  }, "strip", z.ZodTypeAny, {
1992
- statusCode: number;
1993
- message: string;
1994
3082
  code: string;
1995
- timestamp: string;
1996
3083
  path: string;
3084
+ message: string;
3085
+ statusCode: number;
3086
+ timestamp: string;
1997
3087
  details?: unknown;
1998
3088
  correlationId?: string | undefined;
1999
3089
  }, {
2000
- statusCode: number;
2001
- message: string;
2002
3090
  code: string;
2003
- timestamp: string;
2004
3091
  path: string;
3092
+ message: string;
3093
+ statusCode: number;
3094
+ timestamp: string;
2005
3095
  details?: unknown;
2006
3096
  correlationId?: string | undefined;
2007
3097
  }>;
@@ -2014,19 +3104,19 @@ export declare const bookingsContractRouter: {
2014
3104
  path: z.ZodString;
2015
3105
  correlationId: z.ZodOptional<z.ZodString>;
2016
3106
  }, "strip", z.ZodTypeAny, {
2017
- statusCode: number;
2018
- message: string;
2019
3107
  code: string;
2020
- timestamp: string;
2021
3108
  path: string;
3109
+ message: string;
3110
+ statusCode: number;
3111
+ timestamp: string;
2022
3112
  details?: unknown;
2023
3113
  correlationId?: string | undefined;
2024
3114
  }, {
2025
- statusCode: number;
2026
- message: string;
2027
3115
  code: string;
2028
- timestamp: string;
2029
3116
  path: string;
3117
+ message: string;
3118
+ statusCode: number;
3119
+ timestamp: string;
2030
3120
  details?: unknown;
2031
3121
  correlationId?: string | undefined;
2032
3122
  }>;
@@ -2060,19 +3150,19 @@ export declare const bookingsContractRouter: {
2060
3150
  path: z.ZodString;
2061
3151
  correlationId: z.ZodOptional<z.ZodString>;
2062
3152
  }, "strip", z.ZodTypeAny, {
2063
- statusCode: number;
2064
- message: string;
2065
3153
  code: string;
2066
- timestamp: string;
2067
3154
  path: string;
3155
+ message: string;
3156
+ statusCode: number;
3157
+ timestamp: string;
2068
3158
  details?: unknown;
2069
3159
  correlationId?: string | undefined;
2070
3160
  }, {
2071
- statusCode: number;
2072
- message: string;
2073
3161
  code: string;
2074
- timestamp: string;
2075
3162
  path: string;
3163
+ message: string;
3164
+ statusCode: number;
3165
+ timestamp: string;
2076
3166
  details?: unknown;
2077
3167
  correlationId?: string | undefined;
2078
3168
  }>;
@@ -2085,19 +3175,19 @@ export declare const bookingsContractRouter: {
2085
3175
  path: z.ZodString;
2086
3176
  correlationId: z.ZodOptional<z.ZodString>;
2087
3177
  }, "strip", z.ZodTypeAny, {
2088
- statusCode: number;
2089
- message: string;
2090
3178
  code: string;
2091
- timestamp: string;
2092
3179
  path: string;
3180
+ message: string;
3181
+ statusCode: number;
3182
+ timestamp: string;
2093
3183
  details?: unknown;
2094
3184
  correlationId?: string | undefined;
2095
3185
  }, {
2096
- statusCode: number;
2097
- message: string;
2098
3186
  code: string;
2099
- timestamp: string;
2100
3187
  path: string;
3188
+ message: string;
3189
+ statusCode: number;
3190
+ timestamp: string;
2101
3191
  details?: unknown;
2102
3192
  correlationId?: string | undefined;
2103
3193
  }>;
@@ -2110,19 +3200,19 @@ export declare const bookingsContractRouter: {
2110
3200
  path: z.ZodString;
2111
3201
  correlationId: z.ZodOptional<z.ZodString>;
2112
3202
  }, "strip", z.ZodTypeAny, {
2113
- statusCode: number;
2114
- message: string;
2115
3203
  code: string;
2116
- timestamp: string;
2117
3204
  path: string;
3205
+ message: string;
3206
+ statusCode: number;
3207
+ timestamp: string;
2118
3208
  details?: unknown;
2119
3209
  correlationId?: string | undefined;
2120
3210
  }, {
2121
- statusCode: number;
2122
- message: string;
2123
3211
  code: string;
2124
- timestamp: string;
2125
3212
  path: string;
3213
+ message: string;
3214
+ statusCode: number;
3215
+ timestamp: string;
2126
3216
  details?: unknown;
2127
3217
  correlationId?: string | undefined;
2128
3218
  }>;
@@ -2135,19 +3225,19 @@ export declare const bookingsContractRouter: {
2135
3225
  path: z.ZodString;
2136
3226
  correlationId: z.ZodOptional<z.ZodString>;
2137
3227
  }, "strip", z.ZodTypeAny, {
2138
- statusCode: number;
2139
- message: string;
2140
3228
  code: string;
2141
- timestamp: string;
2142
3229
  path: string;
3230
+ message: string;
3231
+ statusCode: number;
3232
+ timestamp: string;
2143
3233
  details?: unknown;
2144
3234
  correlationId?: string | undefined;
2145
3235
  }, {
2146
- statusCode: number;
2147
- message: string;
2148
3236
  code: string;
2149
- timestamp: string;
2150
3237
  path: string;
3238
+ message: string;
3239
+ statusCode: number;
3240
+ timestamp: string;
2151
3241
  details?: unknown;
2152
3242
  correlationId?: string | undefined;
2153
3243
  }>;
@@ -2161,19 +3251,19 @@ export declare const bookingsContractRouter: {
2161
3251
  path: z.ZodString;
2162
3252
  correlationId: z.ZodOptional<z.ZodString>;
2163
3253
  }, "strip", z.ZodTypeAny, {
2164
- statusCode: number;
2165
- message: string;
2166
3254
  code: string;
2167
- timestamp: string;
2168
3255
  path: string;
3256
+ message: string;
3257
+ statusCode: number;
3258
+ timestamp: string;
2169
3259
  details?: unknown;
2170
3260
  correlationId?: string | undefined;
2171
3261
  }, {
2172
- statusCode: number;
2173
- message: string;
2174
3262
  code: string;
2175
- timestamp: string;
2176
3263
  path: string;
3264
+ message: string;
3265
+ statusCode: number;
3266
+ timestamp: string;
2177
3267
  details?: unknown;
2178
3268
  correlationId?: string | undefined;
2179
3269
  }>;