@dakkitor/api-contracts 1.1.21 → 1.1.22

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.
@@ -94,7 +94,7 @@ export declare const BookingSchema: z.ZodObject<{
94
94
  firstName: z.ZodString;
95
95
  lastName: z.ZodString;
96
96
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
- phoneNumbers: z.ZodArray<z.ZodObject<{
97
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
98
98
  id: z.ZodOptional<z.ZodString>;
99
99
  phoneNumber: z.ZodString;
100
100
  description: z.ZodOptional<z.ZodString>;
@@ -109,7 +109,7 @@ export declare const BookingSchema: z.ZodObject<{
109
109
  description?: string | undefined;
110
110
  id?: string | undefined;
111
111
  isPrimary?: boolean | undefined;
112
- }>, "many">;
112
+ }>, "many">>>;
113
113
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
114
114
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
115
115
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -277,12 +277,6 @@ export declare const BookingSchema: z.ZodObject<{
277
277
  id: string;
278
278
  firstName: string;
279
279
  lastName: string;
280
- phoneNumbers: {
281
- phoneNumber: string;
282
- description?: string | undefined;
283
- id?: string | undefined;
284
- isPrimary?: boolean | undefined;
285
- }[];
286
280
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
287
281
  hasTools: boolean;
288
282
  hasPpe: boolean;
@@ -296,6 +290,12 @@ export declare const BookingSchema: z.ZodObject<{
296
290
  areaCovered?: string | null | undefined;
297
291
  } | null | undefined;
298
292
  email?: string | null | undefined;
293
+ phoneNumbers?: {
294
+ phoneNumber: string;
295
+ description?: string | undefined;
296
+ id?: string | undefined;
297
+ isPrimary?: boolean | undefined;
298
+ }[] | undefined;
299
299
  nino?: string | null | undefined;
300
300
  dateOfBirth?: string | Date | null | undefined;
301
301
  bio?: string | null | undefined;
@@ -376,7 +376,7 @@ export declare const BookingSchema: z.ZodObject<{
376
376
  pay: z.ZodObject<{
377
377
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
378
378
  rate: z.ZodNumber;
379
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
379
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
380
380
  receivedRate: z.ZodNumber;
381
381
  }, "strip", z.ZodTypeAny, {
382
382
  rateUnit: "DAILY" | "HOURLY";
@@ -415,7 +415,7 @@ export declare const BookingSchema: z.ZodObject<{
415
415
  areaCovered?: string | null | undefined;
416
416
  }>>>;
417
417
  tradeId: z.ZodString;
418
- jobQualifications: z.ZodArray<z.ZodObject<{
418
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
419
419
  id: z.ZodString;
420
420
  qualificationId: z.ZodString;
421
421
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -427,7 +427,7 @@ export declare const BookingSchema: z.ZodObject<{
427
427
  id: string;
428
428
  qualificationId: string;
429
429
  qualificationTypeId?: string | null | undefined;
430
- }>, "many">;
430
+ }>, "many">>>;
431
431
  currentCollaboration: z.ZodNullable<z.ZodObject<{
432
432
  id: z.ZodString;
433
433
  company: z.ZodObject<{
@@ -593,11 +593,6 @@ export declare const BookingSchema: z.ZodObject<{
593
593
  rateMax?: number | null | undefined;
594
594
  };
595
595
  tradeId: string;
596
- jobQualifications: {
597
- id: string;
598
- qualificationId: string;
599
- qualificationTypeId?: string | null | undefined;
600
- }[];
601
596
  currentCollaboration: {
602
597
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
603
598
  createdAt: string | Date;
@@ -632,6 +627,11 @@ export declare const BookingSchema: z.ZodObject<{
632
627
  postTown?: string | null | undefined;
633
628
  areaCovered?: string | null | undefined;
634
629
  } | null | undefined;
630
+ jobQualifications?: {
631
+ id: string;
632
+ qualificationId: string;
633
+ qualificationTypeId?: string | null | undefined;
634
+ }[] | undefined;
635
635
  }>;
636
636
  userId: z.ZodString;
637
637
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -797,12 +797,6 @@ export declare const BookingSchema: z.ZodObject<{
797
797
  id: string;
798
798
  firstName: string;
799
799
  lastName: string;
800
- phoneNumbers: {
801
- phoneNumber: string;
802
- description?: string | undefined;
803
- id?: string | undefined;
804
- isPrimary?: boolean | undefined;
805
- }[];
806
800
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
807
801
  hasTools: boolean;
808
802
  hasPpe: boolean;
@@ -816,6 +810,12 @@ export declare const BookingSchema: z.ZodObject<{
816
810
  areaCovered?: string | null | undefined;
817
811
  } | null | undefined;
818
812
  email?: string | null | undefined;
813
+ phoneNumbers?: {
814
+ phoneNumber: string;
815
+ description?: string | undefined;
816
+ id?: string | undefined;
817
+ isPrimary?: boolean | undefined;
818
+ }[] | undefined;
819
819
  nino?: string | null | undefined;
820
820
  dateOfBirth?: string | Date | null | undefined;
821
821
  bio?: string | null | undefined;
@@ -863,11 +863,6 @@ export declare const BookingSchema: z.ZodObject<{
863
863
  rateMax?: number | null | undefined;
864
864
  };
865
865
  tradeId: string;
866
- jobQualifications: {
867
- id: string;
868
- qualificationId: string;
869
- qualificationTypeId?: string | null | undefined;
870
- }[];
871
866
  currentCollaboration: {
872
867
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
873
868
  createdAt: string | Date;
@@ -902,6 +897,11 @@ export declare const BookingSchema: z.ZodObject<{
902
897
  postTown?: string | null | undefined;
903
898
  areaCovered?: string | null | undefined;
904
899
  } | null | undefined;
900
+ jobQualifications?: {
901
+ id: string;
902
+ qualificationId: string;
903
+ qualificationTypeId?: string | null | undefined;
904
+ }[] | undefined;
905
905
  };
906
906
  endDate?: string | Date | null | undefined;
907
907
  }>;
@@ -1128,7 +1128,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1128
1128
  firstName: z.ZodString;
1129
1129
  lastName: z.ZodString;
1130
1130
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1131
- phoneNumbers: z.ZodArray<z.ZodObject<{
1131
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1132
1132
  id: z.ZodOptional<z.ZodString>;
1133
1133
  phoneNumber: z.ZodString;
1134
1134
  description: z.ZodOptional<z.ZodString>;
@@ -1143,7 +1143,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1143
1143
  description?: string | undefined;
1144
1144
  id?: string | undefined;
1145
1145
  isPrimary?: boolean | undefined;
1146
- }>, "many">;
1146
+ }>, "many">>>;
1147
1147
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1148
1148
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
1149
1149
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1311,12 +1311,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1311
1311
  id: string;
1312
1312
  firstName: string;
1313
1313
  lastName: string;
1314
- phoneNumbers: {
1315
- phoneNumber: string;
1316
- description?: string | undefined;
1317
- id?: string | undefined;
1318
- isPrimary?: boolean | undefined;
1319
- }[];
1320
1314
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1321
1315
  hasTools: boolean;
1322
1316
  hasPpe: boolean;
@@ -1330,6 +1324,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1330
1324
  areaCovered?: string | null | undefined;
1331
1325
  } | null | undefined;
1332
1326
  email?: string | null | undefined;
1327
+ phoneNumbers?: {
1328
+ phoneNumber: string;
1329
+ description?: string | undefined;
1330
+ id?: string | undefined;
1331
+ isPrimary?: boolean | undefined;
1332
+ }[] | undefined;
1333
1333
  nino?: string | null | undefined;
1334
1334
  dateOfBirth?: string | Date | null | undefined;
1335
1335
  bio?: string | null | undefined;
@@ -1410,7 +1410,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1410
1410
  pay: z.ZodObject<{
1411
1411
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1412
1412
  rate: z.ZodNumber;
1413
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1413
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1414
1414
  receivedRate: z.ZodNumber;
1415
1415
  }, "strip", z.ZodTypeAny, {
1416
1416
  rateUnit: "DAILY" | "HOURLY";
@@ -1449,7 +1449,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1449
1449
  areaCovered?: string | null | undefined;
1450
1450
  }>>>;
1451
1451
  tradeId: z.ZodString;
1452
- jobQualifications: z.ZodArray<z.ZodObject<{
1452
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1453
1453
  id: z.ZodString;
1454
1454
  qualificationId: z.ZodString;
1455
1455
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1461,7 +1461,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1461
1461
  id: string;
1462
1462
  qualificationId: string;
1463
1463
  qualificationTypeId?: string | null | undefined;
1464
- }>, "many">;
1464
+ }>, "many">>>;
1465
1465
  currentCollaboration: z.ZodNullable<z.ZodObject<{
1466
1466
  id: z.ZodString;
1467
1467
  company: z.ZodObject<{
@@ -1627,11 +1627,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1627
1627
  rateMax?: number | null | undefined;
1628
1628
  };
1629
1629
  tradeId: string;
1630
- jobQualifications: {
1631
- id: string;
1632
- qualificationId: string;
1633
- qualificationTypeId?: string | null | undefined;
1634
- }[];
1635
1630
  currentCollaboration: {
1636
1631
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1637
1632
  createdAt: string | Date;
@@ -1666,6 +1661,11 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1666
1661
  postTown?: string | null | undefined;
1667
1662
  areaCovered?: string | null | undefined;
1668
1663
  } | null | undefined;
1664
+ jobQualifications?: {
1665
+ id: string;
1666
+ qualificationId: string;
1667
+ qualificationTypeId?: string | null | undefined;
1668
+ }[] | undefined;
1669
1669
  }>;
1670
1670
  userId: z.ZodString;
1671
1671
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1831,12 +1831,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1831
1831
  id: string;
1832
1832
  firstName: string;
1833
1833
  lastName: string;
1834
- phoneNumbers: {
1835
- phoneNumber: string;
1836
- description?: string | undefined;
1837
- id?: string | undefined;
1838
- isPrimary?: boolean | undefined;
1839
- }[];
1840
1834
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1841
1835
  hasTools: boolean;
1842
1836
  hasPpe: boolean;
@@ -1850,6 +1844,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1850
1844
  areaCovered?: string | null | undefined;
1851
1845
  } | null | undefined;
1852
1846
  email?: string | null | undefined;
1847
+ phoneNumbers?: {
1848
+ phoneNumber: string;
1849
+ description?: string | undefined;
1850
+ id?: string | undefined;
1851
+ isPrimary?: boolean | undefined;
1852
+ }[] | undefined;
1853
1853
  nino?: string | null | undefined;
1854
1854
  dateOfBirth?: string | Date | null | undefined;
1855
1855
  bio?: string | null | undefined;
@@ -1897,11 +1897,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1897
1897
  rateMax?: number | null | undefined;
1898
1898
  };
1899
1899
  tradeId: string;
1900
- jobQualifications: {
1901
- id: string;
1902
- qualificationId: string;
1903
- qualificationTypeId?: string | null | undefined;
1904
- }[];
1905
1900
  currentCollaboration: {
1906
1901
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1907
1902
  createdAt: string | Date;
@@ -1936,6 +1931,11 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1936
1931
  postTown?: string | null | undefined;
1937
1932
  areaCovered?: string | null | undefined;
1938
1933
  } | null | undefined;
1934
+ jobQualifications?: {
1935
+ id: string;
1936
+ qualificationId: string;
1937
+ qualificationTypeId?: string | null | undefined;
1938
+ }[] | undefined;
1939
1939
  };
1940
1940
  endDate?: string | Date | null | undefined;
1941
1941
  }>, "many">;
@@ -2114,12 +2114,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
2114
2114
  id: string;
2115
2115
  firstName: string;
2116
2116
  lastName: string;
2117
- phoneNumbers: {
2118
- phoneNumber: string;
2119
- description?: string | undefined;
2120
- id?: string | undefined;
2121
- isPrimary?: boolean | undefined;
2122
- }[];
2123
2117
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2124
2118
  hasTools: boolean;
2125
2119
  hasPpe: boolean;
@@ -2133,6 +2127,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
2133
2127
  areaCovered?: string | null | undefined;
2134
2128
  } | null | undefined;
2135
2129
  email?: string | null | undefined;
2130
+ phoneNumbers?: {
2131
+ phoneNumber: string;
2132
+ description?: string | undefined;
2133
+ id?: string | undefined;
2134
+ isPrimary?: boolean | undefined;
2135
+ }[] | undefined;
2136
2136
  nino?: string | null | undefined;
2137
2137
  dateOfBirth?: string | Date | null | undefined;
2138
2138
  bio?: string | null | undefined;
@@ -2180,11 +2180,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
2180
2180
  rateMax?: number | null | undefined;
2181
2181
  };
2182
2182
  tradeId: string;
2183
- jobQualifications: {
2184
- id: string;
2185
- qualificationId: string;
2186
- qualificationTypeId?: string | null | undefined;
2187
- }[];
2188
2183
  currentCollaboration: {
2189
2184
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2190
2185
  createdAt: string | Date;
@@ -2219,6 +2214,11 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
2219
2214
  postTown?: string | null | undefined;
2220
2215
  areaCovered?: string | null | undefined;
2221
2216
  } | null | undefined;
2217
+ jobQualifications?: {
2218
+ id: string;
2219
+ qualificationId: string;
2220
+ qualificationTypeId?: string | null | undefined;
2221
+ }[] | undefined;
2222
2222
  };
2223
2223
  endDate?: string | Date | null | undefined;
2224
2224
  }[];
@@ -2237,7 +2237,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2237
2237
  firstName: z.ZodString;
2238
2238
  lastName: z.ZodString;
2239
2239
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2240
- phoneNumbers: z.ZodArray<z.ZodObject<{
2240
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2241
2241
  id: z.ZodOptional<z.ZodString>;
2242
2242
  phoneNumber: z.ZodString;
2243
2243
  description: z.ZodOptional<z.ZodString>;
@@ -2252,7 +2252,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2252
2252
  description?: string | undefined;
2253
2253
  id?: string | undefined;
2254
2254
  isPrimary?: boolean | undefined;
2255
- }>, "many">;
2255
+ }>, "many">>>;
2256
2256
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2257
2257
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
2258
2258
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2420,12 +2420,6 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2420
2420
  id: string;
2421
2421
  firstName: string;
2422
2422
  lastName: string;
2423
- phoneNumbers: {
2424
- phoneNumber: string;
2425
- description?: string | undefined;
2426
- id?: string | undefined;
2427
- isPrimary?: boolean | undefined;
2428
- }[];
2429
2423
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2430
2424
  hasTools: boolean;
2431
2425
  hasPpe: boolean;
@@ -2439,6 +2433,12 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2439
2433
  areaCovered?: string | null | undefined;
2440
2434
  } | null | undefined;
2441
2435
  email?: string | null | undefined;
2436
+ phoneNumbers?: {
2437
+ phoneNumber: string;
2438
+ description?: string | undefined;
2439
+ id?: string | undefined;
2440
+ isPrimary?: boolean | undefined;
2441
+ }[] | undefined;
2442
2442
  nino?: string | null | undefined;
2443
2443
  dateOfBirth?: string | Date | null | undefined;
2444
2444
  bio?: string | null | undefined;
@@ -2519,7 +2519,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2519
2519
  pay: z.ZodObject<{
2520
2520
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
2521
2521
  rate: z.ZodNumber;
2522
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2522
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
2523
2523
  receivedRate: z.ZodNumber;
2524
2524
  }, "strip", z.ZodTypeAny, {
2525
2525
  rateUnit: "DAILY" | "HOURLY";
@@ -2558,7 +2558,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2558
2558
  areaCovered?: string | null | undefined;
2559
2559
  }>>>;
2560
2560
  tradeId: z.ZodString;
2561
- jobQualifications: z.ZodArray<z.ZodObject<{
2561
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2562
2562
  id: z.ZodString;
2563
2563
  qualificationId: z.ZodString;
2564
2564
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2570,7 +2570,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2570
2570
  id: string;
2571
2571
  qualificationId: string;
2572
2572
  qualificationTypeId?: string | null | undefined;
2573
- }>, "many">;
2573
+ }>, "many">>>;
2574
2574
  currentCollaboration: z.ZodNullable<z.ZodObject<{
2575
2575
  id: z.ZodString;
2576
2576
  company: z.ZodObject<{
@@ -2736,11 +2736,6 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2736
2736
  rateMax?: number | null | undefined;
2737
2737
  };
2738
2738
  tradeId: string;
2739
- jobQualifications: {
2740
- id: string;
2741
- qualificationId: string;
2742
- qualificationTypeId?: string | null | undefined;
2743
- }[];
2744
2739
  currentCollaboration: {
2745
2740
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2746
2741
  createdAt: string | Date;
@@ -2775,6 +2770,11 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2775
2770
  postTown?: string | null | undefined;
2776
2771
  areaCovered?: string | null | undefined;
2777
2772
  } | null | undefined;
2773
+ jobQualifications?: {
2774
+ id: string;
2775
+ qualificationId: string;
2776
+ qualificationTypeId?: string | null | undefined;
2777
+ }[] | undefined;
2778
2778
  }>;
2779
2779
  userId: z.ZodString;
2780
2780
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -2940,12 +2940,6 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2940
2940
  id: string;
2941
2941
  firstName: string;
2942
2942
  lastName: string;
2943
- phoneNumbers: {
2944
- phoneNumber: string;
2945
- description?: string | undefined;
2946
- id?: string | undefined;
2947
- isPrimary?: boolean | undefined;
2948
- }[];
2949
2943
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2950
2944
  hasTools: boolean;
2951
2945
  hasPpe: boolean;
@@ -2959,6 +2953,12 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
2959
2953
  areaCovered?: string | null | undefined;
2960
2954
  } | null | undefined;
2961
2955
  email?: string | null | undefined;
2956
+ phoneNumbers?: {
2957
+ phoneNumber: string;
2958
+ description?: string | undefined;
2959
+ id?: string | undefined;
2960
+ isPrimary?: boolean | undefined;
2961
+ }[] | undefined;
2962
2962
  nino?: string | null | undefined;
2963
2963
  dateOfBirth?: string | Date | null | undefined;
2964
2964
  bio?: string | null | undefined;
@@ -3006,11 +3006,6 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
3006
3006
  rateMax?: number | null | undefined;
3007
3007
  };
3008
3008
  tradeId: string;
3009
- jobQualifications: {
3010
- id: string;
3011
- qualificationId: string;
3012
- qualificationTypeId?: string | null | undefined;
3013
- }[];
3014
3009
  currentCollaboration: {
3015
3010
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3016
3011
  createdAt: string | Date;
@@ -3045,6 +3040,11 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
3045
3040
  postTown?: string | null | undefined;
3046
3041
  areaCovered?: string | null | undefined;
3047
3042
  } | null | undefined;
3043
+ jobQualifications?: {
3044
+ id: string;
3045
+ qualificationId: string;
3046
+ qualificationTypeId?: string | null | undefined;
3047
+ }[] | undefined;
3048
3048
  };
3049
3049
  endDate?: string | Date | null | undefined;
3050
3050
  }>, "many">;
@@ -3267,7 +3267,7 @@ export declare const bookingsContractRouter: {
3267
3267
  firstName: z.ZodString;
3268
3268
  lastName: z.ZodString;
3269
3269
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3270
- phoneNumbers: z.ZodArray<z.ZodObject<{
3270
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3271
3271
  id: z.ZodOptional<z.ZodString>;
3272
3272
  phoneNumber: z.ZodString;
3273
3273
  description: z.ZodOptional<z.ZodString>;
@@ -3282,7 +3282,7 @@ export declare const bookingsContractRouter: {
3282
3282
  description?: string | undefined;
3283
3283
  id?: string | undefined;
3284
3284
  isPrimary?: boolean | undefined;
3285
- }>, "many">;
3285
+ }>, "many">>>;
3286
3286
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3287
3287
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
3288
3288
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3450,12 +3450,6 @@ export declare const bookingsContractRouter: {
3450
3450
  id: string;
3451
3451
  firstName: string;
3452
3452
  lastName: string;
3453
- phoneNumbers: {
3454
- phoneNumber: string;
3455
- description?: string | undefined;
3456
- id?: string | undefined;
3457
- isPrimary?: boolean | undefined;
3458
- }[];
3459
3453
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3460
3454
  hasTools: boolean;
3461
3455
  hasPpe: boolean;
@@ -3469,6 +3463,12 @@ export declare const bookingsContractRouter: {
3469
3463
  areaCovered?: string | null | undefined;
3470
3464
  } | null | undefined;
3471
3465
  email?: string | null | undefined;
3466
+ phoneNumbers?: {
3467
+ phoneNumber: string;
3468
+ description?: string | undefined;
3469
+ id?: string | undefined;
3470
+ isPrimary?: boolean | undefined;
3471
+ }[] | undefined;
3472
3472
  nino?: string | null | undefined;
3473
3473
  dateOfBirth?: string | Date | null | undefined;
3474
3474
  bio?: string | null | undefined;
@@ -3549,7 +3549,7 @@ export declare const bookingsContractRouter: {
3549
3549
  pay: z.ZodObject<{
3550
3550
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
3551
3551
  rate: z.ZodNumber;
3552
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3552
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
3553
3553
  receivedRate: z.ZodNumber;
3554
3554
  }, "strip", z.ZodTypeAny, {
3555
3555
  rateUnit: "DAILY" | "HOURLY";
@@ -3588,7 +3588,7 @@ export declare const bookingsContractRouter: {
3588
3588
  areaCovered?: string | null | undefined;
3589
3589
  }>>>;
3590
3590
  tradeId: z.ZodString;
3591
- jobQualifications: z.ZodArray<z.ZodObject<{
3591
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3592
3592
  id: z.ZodString;
3593
3593
  qualificationId: z.ZodString;
3594
3594
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3600,7 +3600,7 @@ export declare const bookingsContractRouter: {
3600
3600
  id: string;
3601
3601
  qualificationId: string;
3602
3602
  qualificationTypeId?: string | null | undefined;
3603
- }>, "many">;
3603
+ }>, "many">>>;
3604
3604
  currentCollaboration: z.ZodNullable<z.ZodObject<{
3605
3605
  id: z.ZodString;
3606
3606
  company: z.ZodObject<{
@@ -3766,11 +3766,6 @@ export declare const bookingsContractRouter: {
3766
3766
  rateMax?: number | null | undefined;
3767
3767
  };
3768
3768
  tradeId: string;
3769
- jobQualifications: {
3770
- id: string;
3771
- qualificationId: string;
3772
- qualificationTypeId?: string | null | undefined;
3773
- }[];
3774
3769
  currentCollaboration: {
3775
3770
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3776
3771
  createdAt: string | Date;
@@ -3805,6 +3800,11 @@ export declare const bookingsContractRouter: {
3805
3800
  postTown?: string | null | undefined;
3806
3801
  areaCovered?: string | null | undefined;
3807
3802
  } | null | undefined;
3803
+ jobQualifications?: {
3804
+ id: string;
3805
+ qualificationId: string;
3806
+ qualificationTypeId?: string | null | undefined;
3807
+ }[] | undefined;
3808
3808
  }>;
3809
3809
  userId: z.ZodString;
3810
3810
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -3970,12 +3970,6 @@ export declare const bookingsContractRouter: {
3970
3970
  id: string;
3971
3971
  firstName: string;
3972
3972
  lastName: string;
3973
- phoneNumbers: {
3974
- phoneNumber: string;
3975
- description?: string | undefined;
3976
- id?: string | undefined;
3977
- isPrimary?: boolean | undefined;
3978
- }[];
3979
3973
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3980
3974
  hasTools: boolean;
3981
3975
  hasPpe: boolean;
@@ -3989,6 +3983,12 @@ export declare const bookingsContractRouter: {
3989
3983
  areaCovered?: string | null | undefined;
3990
3984
  } | null | undefined;
3991
3985
  email?: string | null | undefined;
3986
+ phoneNumbers?: {
3987
+ phoneNumber: string;
3988
+ description?: string | undefined;
3989
+ id?: string | undefined;
3990
+ isPrimary?: boolean | undefined;
3991
+ }[] | undefined;
3992
3992
  nino?: string | null | undefined;
3993
3993
  dateOfBirth?: string | Date | null | undefined;
3994
3994
  bio?: string | null | undefined;
@@ -4036,11 +4036,6 @@ export declare const bookingsContractRouter: {
4036
4036
  rateMax?: number | null | undefined;
4037
4037
  };
4038
4038
  tradeId: string;
4039
- jobQualifications: {
4040
- id: string;
4041
- qualificationId: string;
4042
- qualificationTypeId?: string | null | undefined;
4043
- }[];
4044
4039
  currentCollaboration: {
4045
4040
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4046
4041
  createdAt: string | Date;
@@ -4075,6 +4070,11 @@ export declare const bookingsContractRouter: {
4075
4070
  postTown?: string | null | undefined;
4076
4071
  areaCovered?: string | null | undefined;
4077
4072
  } | null | undefined;
4073
+ jobQualifications?: {
4074
+ id: string;
4075
+ qualificationId: string;
4076
+ qualificationTypeId?: string | null | undefined;
4077
+ }[] | undefined;
4078
4078
  };
4079
4079
  endDate?: string | Date | null | undefined;
4080
4080
  }>, "many">;
@@ -4341,7 +4341,7 @@ export declare const bookingsContractRouter: {
4341
4341
  firstName: z.ZodString;
4342
4342
  lastName: z.ZodString;
4343
4343
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4344
- phoneNumbers: z.ZodArray<z.ZodObject<{
4344
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4345
4345
  id: z.ZodOptional<z.ZodString>;
4346
4346
  phoneNumber: z.ZodString;
4347
4347
  description: z.ZodOptional<z.ZodString>;
@@ -4356,7 +4356,7 @@ export declare const bookingsContractRouter: {
4356
4356
  description?: string | undefined;
4357
4357
  id?: string | undefined;
4358
4358
  isPrimary?: boolean | undefined;
4359
- }>, "many">;
4359
+ }>, "many">>>;
4360
4360
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4361
4361
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
4362
4362
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4524,12 +4524,6 @@ export declare const bookingsContractRouter: {
4524
4524
  id: string;
4525
4525
  firstName: string;
4526
4526
  lastName: string;
4527
- phoneNumbers: {
4528
- phoneNumber: string;
4529
- description?: string | undefined;
4530
- id?: string | undefined;
4531
- isPrimary?: boolean | undefined;
4532
- }[];
4533
4527
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
4534
4528
  hasTools: boolean;
4535
4529
  hasPpe: boolean;
@@ -4543,6 +4537,12 @@ export declare const bookingsContractRouter: {
4543
4537
  areaCovered?: string | null | undefined;
4544
4538
  } | null | undefined;
4545
4539
  email?: string | null | undefined;
4540
+ phoneNumbers?: {
4541
+ phoneNumber: string;
4542
+ description?: string | undefined;
4543
+ id?: string | undefined;
4544
+ isPrimary?: boolean | undefined;
4545
+ }[] | undefined;
4546
4546
  nino?: string | null | undefined;
4547
4547
  dateOfBirth?: string | Date | null | undefined;
4548
4548
  bio?: string | null | undefined;
@@ -4623,7 +4623,7 @@ export declare const bookingsContractRouter: {
4623
4623
  pay: z.ZodObject<{
4624
4624
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
4625
4625
  rate: z.ZodNumber;
4626
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4626
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
4627
4627
  receivedRate: z.ZodNumber;
4628
4628
  }, "strip", z.ZodTypeAny, {
4629
4629
  rateUnit: "DAILY" | "HOURLY";
@@ -4662,7 +4662,7 @@ export declare const bookingsContractRouter: {
4662
4662
  areaCovered?: string | null | undefined;
4663
4663
  }>>>;
4664
4664
  tradeId: z.ZodString;
4665
- jobQualifications: z.ZodArray<z.ZodObject<{
4665
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4666
4666
  id: z.ZodString;
4667
4667
  qualificationId: z.ZodString;
4668
4668
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -4674,7 +4674,7 @@ export declare const bookingsContractRouter: {
4674
4674
  id: string;
4675
4675
  qualificationId: string;
4676
4676
  qualificationTypeId?: string | null | undefined;
4677
- }>, "many">;
4677
+ }>, "many">>>;
4678
4678
  currentCollaboration: z.ZodNullable<z.ZodObject<{
4679
4679
  id: z.ZodString;
4680
4680
  company: z.ZodObject<{
@@ -4840,11 +4840,6 @@ export declare const bookingsContractRouter: {
4840
4840
  rateMax?: number | null | undefined;
4841
4841
  };
4842
4842
  tradeId: string;
4843
- jobQualifications: {
4844
- id: string;
4845
- qualificationId: string;
4846
- qualificationTypeId?: string | null | undefined;
4847
- }[];
4848
4843
  currentCollaboration: {
4849
4844
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4850
4845
  createdAt: string | Date;
@@ -4879,6 +4874,11 @@ export declare const bookingsContractRouter: {
4879
4874
  postTown?: string | null | undefined;
4880
4875
  areaCovered?: string | null | undefined;
4881
4876
  } | null | undefined;
4877
+ jobQualifications?: {
4878
+ id: string;
4879
+ qualificationId: string;
4880
+ qualificationTypeId?: string | null | undefined;
4881
+ }[] | undefined;
4882
4882
  }>;
4883
4883
  userId: z.ZodString;
4884
4884
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -5044,12 +5044,6 @@ export declare const bookingsContractRouter: {
5044
5044
  id: string;
5045
5045
  firstName: string;
5046
5046
  lastName: string;
5047
- phoneNumbers: {
5048
- phoneNumber: string;
5049
- description?: string | undefined;
5050
- id?: string | undefined;
5051
- isPrimary?: boolean | undefined;
5052
- }[];
5053
5047
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5054
5048
  hasTools: boolean;
5055
5049
  hasPpe: boolean;
@@ -5063,6 +5057,12 @@ export declare const bookingsContractRouter: {
5063
5057
  areaCovered?: string | null | undefined;
5064
5058
  } | null | undefined;
5065
5059
  email?: string | null | undefined;
5060
+ phoneNumbers?: {
5061
+ phoneNumber: string;
5062
+ description?: string | undefined;
5063
+ id?: string | undefined;
5064
+ isPrimary?: boolean | undefined;
5065
+ }[] | undefined;
5066
5066
  nino?: string | null | undefined;
5067
5067
  dateOfBirth?: string | Date | null | undefined;
5068
5068
  bio?: string | null | undefined;
@@ -5110,11 +5110,6 @@ export declare const bookingsContractRouter: {
5110
5110
  rateMax?: number | null | undefined;
5111
5111
  };
5112
5112
  tradeId: string;
5113
- jobQualifications: {
5114
- id: string;
5115
- qualificationId: string;
5116
- qualificationTypeId?: string | null | undefined;
5117
- }[];
5118
5113
  currentCollaboration: {
5119
5114
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5120
5115
  createdAt: string | Date;
@@ -5149,6 +5144,11 @@ export declare const bookingsContractRouter: {
5149
5144
  postTown?: string | null | undefined;
5150
5145
  areaCovered?: string | null | undefined;
5151
5146
  } | null | undefined;
5147
+ jobQualifications?: {
5148
+ id: string;
5149
+ qualificationId: string;
5150
+ qualificationTypeId?: string | null | undefined;
5151
+ }[] | undefined;
5152
5152
  };
5153
5153
  endDate?: string | Date | null | undefined;
5154
5154
  }>, "many">;
@@ -5327,12 +5327,6 @@ export declare const bookingsContractRouter: {
5327
5327
  id: string;
5328
5328
  firstName: string;
5329
5329
  lastName: string;
5330
- phoneNumbers: {
5331
- phoneNumber: string;
5332
- description?: string | undefined;
5333
- id?: string | undefined;
5334
- isPrimary?: boolean | undefined;
5335
- }[];
5336
5330
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5337
5331
  hasTools: boolean;
5338
5332
  hasPpe: boolean;
@@ -5346,6 +5340,12 @@ export declare const bookingsContractRouter: {
5346
5340
  areaCovered?: string | null | undefined;
5347
5341
  } | null | undefined;
5348
5342
  email?: string | null | undefined;
5343
+ phoneNumbers?: {
5344
+ phoneNumber: string;
5345
+ description?: string | undefined;
5346
+ id?: string | undefined;
5347
+ isPrimary?: boolean | undefined;
5348
+ }[] | undefined;
5349
5349
  nino?: string | null | undefined;
5350
5350
  dateOfBirth?: string | Date | null | undefined;
5351
5351
  bio?: string | null | undefined;
@@ -5393,11 +5393,6 @@ export declare const bookingsContractRouter: {
5393
5393
  rateMax?: number | null | undefined;
5394
5394
  };
5395
5395
  tradeId: string;
5396
- jobQualifications: {
5397
- id: string;
5398
- qualificationId: string;
5399
- qualificationTypeId?: string | null | undefined;
5400
- }[];
5401
5396
  currentCollaboration: {
5402
5397
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5403
5398
  createdAt: string | Date;
@@ -5432,6 +5427,11 @@ export declare const bookingsContractRouter: {
5432
5427
  postTown?: string | null | undefined;
5433
5428
  areaCovered?: string | null | undefined;
5434
5429
  } | null | undefined;
5430
+ jobQualifications?: {
5431
+ id: string;
5432
+ qualificationId: string;
5433
+ qualificationTypeId?: string | null | undefined;
5434
+ }[] | undefined;
5435
5435
  };
5436
5436
  endDate?: string | Date | null | undefined;
5437
5437
  }[];
@@ -5570,7 +5570,7 @@ export declare const bookingsContractRouter: {
5570
5570
  firstName: z.ZodString;
5571
5571
  lastName: z.ZodString;
5572
5572
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5573
- phoneNumbers: z.ZodArray<z.ZodObject<{
5573
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5574
5574
  id: z.ZodOptional<z.ZodString>;
5575
5575
  phoneNumber: z.ZodString;
5576
5576
  description: z.ZodOptional<z.ZodString>;
@@ -5585,7 +5585,7 @@ export declare const bookingsContractRouter: {
5585
5585
  description?: string | undefined;
5586
5586
  id?: string | undefined;
5587
5587
  isPrimary?: boolean | undefined;
5588
- }>, "many">;
5588
+ }>, "many">>>;
5589
5589
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5590
5590
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
5591
5591
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5753,12 +5753,6 @@ export declare const bookingsContractRouter: {
5753
5753
  id: string;
5754
5754
  firstName: string;
5755
5755
  lastName: string;
5756
- phoneNumbers: {
5757
- phoneNumber: string;
5758
- description?: string | undefined;
5759
- id?: string | undefined;
5760
- isPrimary?: boolean | undefined;
5761
- }[];
5762
5756
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5763
5757
  hasTools: boolean;
5764
5758
  hasPpe: boolean;
@@ -5772,6 +5766,12 @@ export declare const bookingsContractRouter: {
5772
5766
  areaCovered?: string | null | undefined;
5773
5767
  } | null | undefined;
5774
5768
  email?: string | null | undefined;
5769
+ phoneNumbers?: {
5770
+ phoneNumber: string;
5771
+ description?: string | undefined;
5772
+ id?: string | undefined;
5773
+ isPrimary?: boolean | undefined;
5774
+ }[] | undefined;
5775
5775
  nino?: string | null | undefined;
5776
5776
  dateOfBirth?: string | Date | null | undefined;
5777
5777
  bio?: string | null | undefined;
@@ -5852,7 +5852,7 @@ export declare const bookingsContractRouter: {
5852
5852
  pay: z.ZodObject<{
5853
5853
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
5854
5854
  rate: z.ZodNumber;
5855
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5855
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
5856
5856
  receivedRate: z.ZodNumber;
5857
5857
  }, "strip", z.ZodTypeAny, {
5858
5858
  rateUnit: "DAILY" | "HOURLY";
@@ -5891,7 +5891,7 @@ export declare const bookingsContractRouter: {
5891
5891
  areaCovered?: string | null | undefined;
5892
5892
  }>>>;
5893
5893
  tradeId: z.ZodString;
5894
- jobQualifications: z.ZodArray<z.ZodObject<{
5894
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5895
5895
  id: z.ZodString;
5896
5896
  qualificationId: z.ZodString;
5897
5897
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -5903,7 +5903,7 @@ export declare const bookingsContractRouter: {
5903
5903
  id: string;
5904
5904
  qualificationId: string;
5905
5905
  qualificationTypeId?: string | null | undefined;
5906
- }>, "many">;
5906
+ }>, "many">>>;
5907
5907
  currentCollaboration: z.ZodNullable<z.ZodObject<{
5908
5908
  id: z.ZodString;
5909
5909
  company: z.ZodObject<{
@@ -6069,11 +6069,6 @@ export declare const bookingsContractRouter: {
6069
6069
  rateMax?: number | null | undefined;
6070
6070
  };
6071
6071
  tradeId: string;
6072
- jobQualifications: {
6073
- id: string;
6074
- qualificationId: string;
6075
- qualificationTypeId?: string | null | undefined;
6076
- }[];
6077
6072
  currentCollaboration: {
6078
6073
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6079
6074
  createdAt: string | Date;
@@ -6108,6 +6103,11 @@ export declare const bookingsContractRouter: {
6108
6103
  postTown?: string | null | undefined;
6109
6104
  areaCovered?: string | null | undefined;
6110
6105
  } | null | undefined;
6106
+ jobQualifications?: {
6107
+ id: string;
6108
+ qualificationId: string;
6109
+ qualificationTypeId?: string | null | undefined;
6110
+ }[] | undefined;
6111
6111
  }>;
6112
6112
  userId: z.ZodString;
6113
6113
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -6273,12 +6273,6 @@ export declare const bookingsContractRouter: {
6273
6273
  id: string;
6274
6274
  firstName: string;
6275
6275
  lastName: string;
6276
- phoneNumbers: {
6277
- phoneNumber: string;
6278
- description?: string | undefined;
6279
- id?: string | undefined;
6280
- isPrimary?: boolean | undefined;
6281
- }[];
6282
6276
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
6283
6277
  hasTools: boolean;
6284
6278
  hasPpe: boolean;
@@ -6292,6 +6286,12 @@ export declare const bookingsContractRouter: {
6292
6286
  areaCovered?: string | null | undefined;
6293
6287
  } | null | undefined;
6294
6288
  email?: string | null | undefined;
6289
+ phoneNumbers?: {
6290
+ phoneNumber: string;
6291
+ description?: string | undefined;
6292
+ id?: string | undefined;
6293
+ isPrimary?: boolean | undefined;
6294
+ }[] | undefined;
6295
6295
  nino?: string | null | undefined;
6296
6296
  dateOfBirth?: string | Date | null | undefined;
6297
6297
  bio?: string | null | undefined;
@@ -6339,11 +6339,6 @@ export declare const bookingsContractRouter: {
6339
6339
  rateMax?: number | null | undefined;
6340
6340
  };
6341
6341
  tradeId: string;
6342
- jobQualifications: {
6343
- id: string;
6344
- qualificationId: string;
6345
- qualificationTypeId?: string | null | undefined;
6346
- }[];
6347
6342
  currentCollaboration: {
6348
6343
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6349
6344
  createdAt: string | Date;
@@ -6378,6 +6373,11 @@ export declare const bookingsContractRouter: {
6378
6373
  postTown?: string | null | undefined;
6379
6374
  areaCovered?: string | null | undefined;
6380
6375
  } | null | undefined;
6376
+ jobQualifications?: {
6377
+ id: string;
6378
+ qualificationId: string;
6379
+ qualificationTypeId?: string | null | undefined;
6380
+ }[] | undefined;
6381
6381
  };
6382
6382
  endDate?: string | Date | null | undefined;
6383
6383
  }>;
@@ -6549,7 +6549,7 @@ export declare const bookingsContractRouter: {
6549
6549
  firstName: z.ZodString;
6550
6550
  lastName: z.ZodString;
6551
6551
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6552
- phoneNumbers: z.ZodArray<z.ZodObject<{
6552
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6553
6553
  id: z.ZodOptional<z.ZodString>;
6554
6554
  phoneNumber: z.ZodString;
6555
6555
  description: z.ZodOptional<z.ZodString>;
@@ -6564,7 +6564,7 @@ export declare const bookingsContractRouter: {
6564
6564
  description?: string | undefined;
6565
6565
  id?: string | undefined;
6566
6566
  isPrimary?: boolean | undefined;
6567
- }>, "many">;
6567
+ }>, "many">>>;
6568
6568
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6569
6569
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
6570
6570
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6732,12 +6732,6 @@ export declare const bookingsContractRouter: {
6732
6732
  id: string;
6733
6733
  firstName: string;
6734
6734
  lastName: string;
6735
- phoneNumbers: {
6736
- phoneNumber: string;
6737
- description?: string | undefined;
6738
- id?: string | undefined;
6739
- isPrimary?: boolean | undefined;
6740
- }[];
6741
6735
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
6742
6736
  hasTools: boolean;
6743
6737
  hasPpe: boolean;
@@ -6751,6 +6745,12 @@ export declare const bookingsContractRouter: {
6751
6745
  areaCovered?: string | null | undefined;
6752
6746
  } | null | undefined;
6753
6747
  email?: string | null | undefined;
6748
+ phoneNumbers?: {
6749
+ phoneNumber: string;
6750
+ description?: string | undefined;
6751
+ id?: string | undefined;
6752
+ isPrimary?: boolean | undefined;
6753
+ }[] | undefined;
6754
6754
  nino?: string | null | undefined;
6755
6755
  dateOfBirth?: string | Date | null | undefined;
6756
6756
  bio?: string | null | undefined;
@@ -6831,7 +6831,7 @@ export declare const bookingsContractRouter: {
6831
6831
  pay: z.ZodObject<{
6832
6832
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
6833
6833
  rate: z.ZodNumber;
6834
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6834
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
6835
6835
  receivedRate: z.ZodNumber;
6836
6836
  }, "strip", z.ZodTypeAny, {
6837
6837
  rateUnit: "DAILY" | "HOURLY";
@@ -6870,7 +6870,7 @@ export declare const bookingsContractRouter: {
6870
6870
  areaCovered?: string | null | undefined;
6871
6871
  }>>>;
6872
6872
  tradeId: z.ZodString;
6873
- jobQualifications: z.ZodArray<z.ZodObject<{
6873
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6874
6874
  id: z.ZodString;
6875
6875
  qualificationId: z.ZodString;
6876
6876
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -6882,7 +6882,7 @@ export declare const bookingsContractRouter: {
6882
6882
  id: string;
6883
6883
  qualificationId: string;
6884
6884
  qualificationTypeId?: string | null | undefined;
6885
- }>, "many">;
6885
+ }>, "many">>>;
6886
6886
  currentCollaboration: z.ZodNullable<z.ZodObject<{
6887
6887
  id: z.ZodString;
6888
6888
  company: z.ZodObject<{
@@ -7048,11 +7048,6 @@ export declare const bookingsContractRouter: {
7048
7048
  rateMax?: number | null | undefined;
7049
7049
  };
7050
7050
  tradeId: string;
7051
- jobQualifications: {
7052
- id: string;
7053
- qualificationId: string;
7054
- qualificationTypeId?: string | null | undefined;
7055
- }[];
7056
7051
  currentCollaboration: {
7057
7052
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
7058
7053
  createdAt: string | Date;
@@ -7087,6 +7082,11 @@ export declare const bookingsContractRouter: {
7087
7082
  postTown?: string | null | undefined;
7088
7083
  areaCovered?: string | null | undefined;
7089
7084
  } | null | undefined;
7085
+ jobQualifications?: {
7086
+ id: string;
7087
+ qualificationId: string;
7088
+ qualificationTypeId?: string | null | undefined;
7089
+ }[] | undefined;
7090
7090
  }>;
7091
7091
  userId: z.ZodString;
7092
7092
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -7252,12 +7252,6 @@ export declare const bookingsContractRouter: {
7252
7252
  id: string;
7253
7253
  firstName: string;
7254
7254
  lastName: string;
7255
- phoneNumbers: {
7256
- phoneNumber: string;
7257
- description?: string | undefined;
7258
- id?: string | undefined;
7259
- isPrimary?: boolean | undefined;
7260
- }[];
7261
7255
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
7262
7256
  hasTools: boolean;
7263
7257
  hasPpe: boolean;
@@ -7271,6 +7265,12 @@ export declare const bookingsContractRouter: {
7271
7265
  areaCovered?: string | null | undefined;
7272
7266
  } | null | undefined;
7273
7267
  email?: string | null | undefined;
7268
+ phoneNumbers?: {
7269
+ phoneNumber: string;
7270
+ description?: string | undefined;
7271
+ id?: string | undefined;
7272
+ isPrimary?: boolean | undefined;
7273
+ }[] | undefined;
7274
7274
  nino?: string | null | undefined;
7275
7275
  dateOfBirth?: string | Date | null | undefined;
7276
7276
  bio?: string | null | undefined;
@@ -7318,11 +7318,6 @@ export declare const bookingsContractRouter: {
7318
7318
  rateMax?: number | null | undefined;
7319
7319
  };
7320
7320
  tradeId: string;
7321
- jobQualifications: {
7322
- id: string;
7323
- qualificationId: string;
7324
- qualificationTypeId?: string | null | undefined;
7325
- }[];
7326
7321
  currentCollaboration: {
7327
7322
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
7328
7323
  createdAt: string | Date;
@@ -7357,6 +7352,11 @@ export declare const bookingsContractRouter: {
7357
7352
  postTown?: string | null | undefined;
7358
7353
  areaCovered?: string | null | undefined;
7359
7354
  } | null | undefined;
7355
+ jobQualifications?: {
7356
+ id: string;
7357
+ qualificationId: string;
7358
+ qualificationTypeId?: string | null | undefined;
7359
+ }[] | undefined;
7360
7360
  };
7361
7361
  endDate?: string | Date | null | undefined;
7362
7362
  }>;