@dakkitor/api-contracts 1.1.15 → 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.
@@ -87,12 +87,101 @@ export declare const BookingWorkerSchema: z.ZodObject<{
87
87
  export declare const BookingJobSchema: z.ZodObject<{
88
88
  id: z.ZodString;
89
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;
142
+ pay: {
143
+ rate: number;
144
+ rateUnit: "DAILY" | "HOURLY";
145
+ receivedRate: number;
146
+ rateMax?: number | null | undefined;
147
+ };
148
+ tradeId: string;
92
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;
166
+ pay: {
167
+ rate: number;
168
+ rateUnit: "DAILY" | "HOURLY";
169
+ receivedRate: number;
170
+ rateMax?: number | null | undefined;
171
+ };
172
+ tradeId: string;
95
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;
@@ -141,12 +230,101 @@ export declare const BookingSchema: z.ZodObject<{
141
230
  job: z.ZodObject<{
142
231
  id: z.ZodString;
143
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;
285
+ pay: {
286
+ rate: number;
287
+ rateUnit: "DAILY" | "HOURLY";
288
+ receivedRate: number;
289
+ rateMax?: number | null | undefined;
290
+ };
291
+ tradeId: string;
146
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;
309
+ pay: {
310
+ rate: number;
311
+ rateUnit: "DAILY" | "HOURLY";
312
+ receivedRate: number;
313
+ rateMax?: number | null | undefined;
314
+ };
315
+ tradeId: string;
149
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>;
@@ -174,8 +352,29 @@ export declare const BookingSchema: z.ZodObject<{
174
352
  email: string;
175
353
  };
176
354
  job: {
355
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
356
+ createdAt: string;
357
+ updatedAt: string;
177
358
  id: string;
359
+ pay: {
360
+ rate: number;
361
+ rateUnit: "DAILY" | "HOURLY";
362
+ receivedRate: number;
363
+ rateMax?: number | null | undefined;
364
+ };
365
+ tradeId: string;
178
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;
179
378
  };
180
379
  endDate?: string | null | undefined;
181
380
  }, {
@@ -201,8 +400,29 @@ export declare const BookingSchema: z.ZodObject<{
201
400
  email: string;
202
401
  };
203
402
  job: {
403
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
404
+ createdAt: string | Date;
405
+ updatedAt: string | Date;
204
406
  id: string;
407
+ pay: {
408
+ rate: number;
409
+ rateUnit: "DAILY" | "HOURLY";
410
+ receivedRate: number;
411
+ rateMax?: number | null | undefined;
412
+ };
413
+ tradeId: string;
205
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;
206
426
  };
207
427
  endDate?: string | Date | null | undefined;
208
428
  }>;
@@ -466,12 +686,101 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
466
686
  job: z.ZodObject<{
467
687
  id: z.ZodString;
468
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;
741
+ pay: {
742
+ rate: number;
743
+ rateUnit: "DAILY" | "HOURLY";
744
+ receivedRate: number;
745
+ rateMax?: number | null | undefined;
746
+ };
747
+ tradeId: string;
471
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;
765
+ pay: {
766
+ rate: number;
767
+ rateUnit: "DAILY" | "HOURLY";
768
+ receivedRate: number;
769
+ rateMax?: number | null | undefined;
770
+ };
771
+ tradeId: string;
474
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>;
@@ -499,8 +808,29 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
499
808
  email: string;
500
809
  };
501
810
  job: {
811
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
812
+ createdAt: string;
813
+ updatedAt: string;
502
814
  id: string;
815
+ pay: {
816
+ rate: number;
817
+ rateUnit: "DAILY" | "HOURLY";
818
+ receivedRate: number;
819
+ rateMax?: number | null | undefined;
820
+ };
821
+ tradeId: string;
503
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;
504
834
  };
505
835
  endDate?: string | null | undefined;
506
836
  }, {
@@ -526,8 +856,29 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
526
856
  email: string;
527
857
  };
528
858
  job: {
859
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
860
+ createdAt: string | Date;
861
+ updatedAt: string | Date;
529
862
  id: string;
863
+ pay: {
864
+ rate: number;
865
+ rateUnit: "DAILY" | "HOURLY";
866
+ receivedRate: number;
867
+ rateMax?: number | null | undefined;
868
+ };
869
+ tradeId: string;
530
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;
531
882
  };
532
883
  endDate?: string | Date | null | undefined;
533
884
  }>, "many">;
@@ -561,8 +912,29 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
561
912
  email: string;
562
913
  };
563
914
  job: {
915
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
916
+ createdAt: string;
917
+ updatedAt: string;
564
918
  id: string;
919
+ pay: {
920
+ rate: number;
921
+ rateUnit: "DAILY" | "HOURLY";
922
+ receivedRate: number;
923
+ rateMax?: number | null | undefined;
924
+ };
925
+ tradeId: string;
565
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;
566
938
  };
567
939
  endDate?: string | null | undefined;
568
940
  }[];
@@ -595,8 +967,29 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
595
967
  email: string;
596
968
  };
597
969
  job: {
970
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
971
+ createdAt: string | Date;
972
+ updatedAt: string | Date;
598
973
  id: string;
974
+ pay: {
975
+ rate: number;
976
+ rateUnit: "DAILY" | "HOURLY";
977
+ receivedRate: number;
978
+ rateMax?: number | null | undefined;
979
+ };
980
+ tradeId: string;
599
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;
600
993
  };
601
994
  endDate?: string | Date | null | undefined;
602
995
  }[];
@@ -652,12 +1045,101 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
652
1045
  job: z.ZodObject<{
653
1046
  id: z.ZodString;
654
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;
1100
+ pay: {
1101
+ rate: number;
1102
+ rateUnit: "DAILY" | "HOURLY";
1103
+ receivedRate: number;
1104
+ rateMax?: number | null | undefined;
1105
+ };
1106
+ tradeId: string;
657
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;
1124
+ pay: {
1125
+ rate: number;
1126
+ rateUnit: "DAILY" | "HOURLY";
1127
+ receivedRate: number;
1128
+ rateMax?: number | null | undefined;
1129
+ };
1130
+ tradeId: string;
660
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>;
@@ -685,8 +1167,29 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
685
1167
  email: string;
686
1168
  };
687
1169
  job: {
1170
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1171
+ createdAt: string;
1172
+ updatedAt: string;
688
1173
  id: string;
1174
+ pay: {
1175
+ rate: number;
1176
+ rateUnit: "DAILY" | "HOURLY";
1177
+ receivedRate: number;
1178
+ rateMax?: number | null | undefined;
1179
+ };
1180
+ tradeId: string;
689
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;
690
1193
  };
691
1194
  endDate?: string | null | undefined;
692
1195
  }, {
@@ -712,8 +1215,29 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
712
1215
  email: string;
713
1216
  };
714
1217
  job: {
1218
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1219
+ createdAt: string | Date;
1220
+ updatedAt: string | Date;
715
1221
  id: string;
1222
+ pay: {
1223
+ rate: number;
1224
+ rateUnit: "DAILY" | "HOURLY";
1225
+ receivedRate: number;
1226
+ rateMax?: number | null | undefined;
1227
+ };
1228
+ tradeId: string;
716
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;
717
1241
  };
718
1242
  endDate?: string | Date | null | undefined;
719
1243
  }>, "many">;
@@ -974,12 +1498,101 @@ export declare const bookingsContractRouter: {
974
1498
  job: z.ZodObject<{
975
1499
  id: z.ZodString;
976
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;
1553
+ pay: {
1554
+ rate: number;
1555
+ rateUnit: "DAILY" | "HOURLY";
1556
+ receivedRate: number;
1557
+ rateMax?: number | null | undefined;
1558
+ };
1559
+ tradeId: string;
979
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;
1577
+ pay: {
1578
+ rate: number;
1579
+ rateUnit: "DAILY" | "HOURLY";
1580
+ receivedRate: number;
1581
+ rateMax?: number | null | undefined;
1582
+ };
1583
+ tradeId: string;
982
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>;
@@ -1007,8 +1620,29 @@ export declare const bookingsContractRouter: {
1007
1620
  email: string;
1008
1621
  };
1009
1622
  job: {
1623
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1624
+ createdAt: string;
1625
+ updatedAt: string;
1010
1626
  id: string;
1627
+ pay: {
1628
+ rate: number;
1629
+ rateUnit: "DAILY" | "HOURLY";
1630
+ receivedRate: number;
1631
+ rateMax?: number | null | undefined;
1632
+ };
1633
+ tradeId: string;
1011
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;
1012
1646
  };
1013
1647
  endDate?: string | null | undefined;
1014
1648
  }, {
@@ -1034,8 +1668,29 @@ export declare const bookingsContractRouter: {
1034
1668
  email: string;
1035
1669
  };
1036
1670
  job: {
1671
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1672
+ createdAt: string | Date;
1673
+ updatedAt: string | Date;
1037
1674
  id: string;
1675
+ pay: {
1676
+ rate: number;
1677
+ rateUnit: "DAILY" | "HOURLY";
1678
+ receivedRate: number;
1679
+ rateMax?: number | null | undefined;
1680
+ };
1681
+ tradeId: string;
1038
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;
1039
1694
  };
1040
1695
  endDate?: string | Date | null | undefined;
1041
1696
  }>, "many">;
@@ -1339,12 +1994,101 @@ export declare const bookingsContractRouter: {
1339
1994
  job: z.ZodObject<{
1340
1995
  id: z.ZodString;
1341
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;
2049
+ pay: {
2050
+ rate: number;
2051
+ rateUnit: "DAILY" | "HOURLY";
2052
+ receivedRate: number;
2053
+ rateMax?: number | null | undefined;
2054
+ };
2055
+ tradeId: string;
1344
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;
2073
+ pay: {
2074
+ rate: number;
2075
+ rateUnit: "DAILY" | "HOURLY";
2076
+ receivedRate: number;
2077
+ rateMax?: number | null | undefined;
2078
+ };
2079
+ tradeId: string;
1347
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>;
@@ -1372,8 +2116,29 @@ export declare const bookingsContractRouter: {
1372
2116
  email: string;
1373
2117
  };
1374
2118
  job: {
2119
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2120
+ createdAt: string;
2121
+ updatedAt: string;
1375
2122
  id: string;
2123
+ pay: {
2124
+ rate: number;
2125
+ rateUnit: "DAILY" | "HOURLY";
2126
+ receivedRate: number;
2127
+ rateMax?: number | null | undefined;
2128
+ };
2129
+ tradeId: string;
1376
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;
1377
2142
  };
1378
2143
  endDate?: string | null | undefined;
1379
2144
  }, {
@@ -1399,8 +2164,29 @@ export declare const bookingsContractRouter: {
1399
2164
  email: string;
1400
2165
  };
1401
2166
  job: {
2167
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2168
+ createdAt: string | Date;
2169
+ updatedAt: string | Date;
1402
2170
  id: string;
2171
+ pay: {
2172
+ rate: number;
2173
+ rateUnit: "DAILY" | "HOURLY";
2174
+ receivedRate: number;
2175
+ rateMax?: number | null | undefined;
2176
+ };
2177
+ tradeId: string;
1403
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;
1404
2190
  };
1405
2191
  endDate?: string | Date | null | undefined;
1406
2192
  }>, "many">;
@@ -1434,8 +2220,29 @@ export declare const bookingsContractRouter: {
1434
2220
  email: string;
1435
2221
  };
1436
2222
  job: {
2223
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2224
+ createdAt: string;
2225
+ updatedAt: string;
1437
2226
  id: string;
2227
+ pay: {
2228
+ rate: number;
2229
+ rateUnit: "DAILY" | "HOURLY";
2230
+ receivedRate: number;
2231
+ rateMax?: number | null | undefined;
2232
+ };
2233
+ tradeId: string;
1438
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;
1439
2246
  };
1440
2247
  endDate?: string | null | undefined;
1441
2248
  }[];
@@ -1468,8 +2275,29 @@ export declare const bookingsContractRouter: {
1468
2275
  email: string;
1469
2276
  };
1470
2277
  job: {
2278
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2279
+ createdAt: string | Date;
2280
+ updatedAt: string | Date;
1471
2281
  id: string;
2282
+ pay: {
2283
+ rate: number;
2284
+ rateUnit: "DAILY" | "HOURLY";
2285
+ receivedRate: number;
2286
+ rateMax?: number | null | undefined;
2287
+ };
2288
+ tradeId: string;
1472
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;
1473
2301
  };
1474
2302
  endDate?: string | Date | null | undefined;
1475
2303
  }[];
@@ -1645,12 +2473,101 @@ export declare const bookingsContractRouter: {
1645
2473
  job: z.ZodObject<{
1646
2474
  id: z.ZodString;
1647
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;
2528
+ pay: {
2529
+ rate: number;
2530
+ rateUnit: "DAILY" | "HOURLY";
2531
+ receivedRate: number;
2532
+ rateMax?: number | null | undefined;
2533
+ };
2534
+ tradeId: string;
1650
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;
2552
+ pay: {
2553
+ rate: number;
2554
+ rateUnit: "DAILY" | "HOURLY";
2555
+ receivedRate: number;
2556
+ rateMax?: number | null | undefined;
2557
+ };
2558
+ tradeId: string;
1653
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>;
@@ -1678,8 +2595,29 @@ export declare const bookingsContractRouter: {
1678
2595
  email: string;
1679
2596
  };
1680
2597
  job: {
2598
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2599
+ createdAt: string;
2600
+ updatedAt: string;
1681
2601
  id: string;
2602
+ pay: {
2603
+ rate: number;
2604
+ rateUnit: "DAILY" | "HOURLY";
2605
+ receivedRate: number;
2606
+ rateMax?: number | null | undefined;
2607
+ };
2608
+ tradeId: string;
1682
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;
1683
2621
  };
1684
2622
  endDate?: string | null | undefined;
1685
2623
  }, {
@@ -1705,8 +2643,29 @@ export declare const bookingsContractRouter: {
1705
2643
  email: string;
1706
2644
  };
1707
2645
  job: {
2646
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2647
+ createdAt: string | Date;
2648
+ updatedAt: string | Date;
1708
2649
  id: string;
2650
+ pay: {
2651
+ rate: number;
2652
+ rateUnit: "DAILY" | "HOURLY";
2653
+ receivedRate: number;
2654
+ rateMax?: number | null | undefined;
2655
+ };
2656
+ tradeId: string;
1709
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;
1710
2669
  };
1711
2670
  endDate?: string | Date | null | undefined;
1712
2671
  }>;
@@ -1915,12 +2874,101 @@ export declare const bookingsContractRouter: {
1915
2874
  job: z.ZodObject<{
1916
2875
  id: z.ZodString;
1917
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;
2929
+ pay: {
2930
+ rate: number;
2931
+ rateUnit: "DAILY" | "HOURLY";
2932
+ receivedRate: number;
2933
+ rateMax?: number | null | undefined;
2934
+ };
2935
+ tradeId: string;
1920
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;
2953
+ pay: {
2954
+ rate: number;
2955
+ rateUnit: "DAILY" | "HOURLY";
2956
+ receivedRate: number;
2957
+ rateMax?: number | null | undefined;
2958
+ };
2959
+ tradeId: string;
1923
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>;
@@ -1948,8 +2996,29 @@ export declare const bookingsContractRouter: {
1948
2996
  email: string;
1949
2997
  };
1950
2998
  job: {
2999
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3000
+ createdAt: string;
3001
+ updatedAt: string;
1951
3002
  id: string;
3003
+ pay: {
3004
+ rate: number;
3005
+ rateUnit: "DAILY" | "HOURLY";
3006
+ receivedRate: number;
3007
+ rateMax?: number | null | undefined;
3008
+ };
3009
+ tradeId: string;
1952
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;
1953
3022
  };
1954
3023
  endDate?: string | null | undefined;
1955
3024
  }, {
@@ -1975,8 +3044,29 @@ export declare const bookingsContractRouter: {
1975
3044
  email: string;
1976
3045
  };
1977
3046
  job: {
3047
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3048
+ createdAt: string | Date;
3049
+ updatedAt: string | Date;
1978
3050
  id: string;
3051
+ pay: {
3052
+ rate: number;
3053
+ rateUnit: "DAILY" | "HOURLY";
3054
+ receivedRate: number;
3055
+ rateMax?: number | null | undefined;
3056
+ };
3057
+ tradeId: string;
1979
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;
1980
3070
  };
1981
3071
  endDate?: string | Date | null | undefined;
1982
3072
  }>;