@dakkitor/api-contracts 1.1.24 → 1.1.26

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.
@@ -366,7 +366,7 @@ export declare const ActiveSchema: z.ZodObject<{
366
366
  qualificationId: string;
367
367
  qualificationTypeId?: string | null | undefined;
368
368
  }>, "many">>>;
369
- currentCollaboration: z.ZodNullable<z.ZodObject<{
369
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
370
370
  id: z.ZodString;
371
371
  company: z.ZodOptional<z.ZodObject<{
372
372
  id: z.ZodString;
@@ -461,7 +461,7 @@ export declare const ActiveSchema: z.ZodObject<{
461
461
  newCollaboration?: {
462
462
  id: string;
463
463
  } | null | undefined;
464
- }>>;
464
+ }>>>;
465
465
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
466
466
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
467
467
  }, "strip", z.ZodTypeAny, {
@@ -483,7 +483,17 @@ export declare const ActiveSchema: z.ZodObject<{
483
483
  qualificationId: string;
484
484
  qualificationTypeId?: string | null | undefined;
485
485
  }[];
486
- currentCollaboration: {
486
+ location?: {
487
+ address?: string | null | undefined;
488
+ postcode?: string | null | undefined;
489
+ county?: string | null | undefined;
490
+ adminDistrict?: string | null | undefined;
491
+ builtUpArea?: string | null | undefined;
492
+ postTown?: string | null | undefined;
493
+ areaCovered?: string | null | undefined;
494
+ } | null | undefined;
495
+ workHours?: number | null | undefined;
496
+ currentCollaboration?: {
487
497
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
488
498
  createdAt: string;
489
499
  updatedAt: string;
@@ -506,17 +516,7 @@ export declare const ActiveSchema: z.ZodObject<{
506
516
  newCollaboration?: {
507
517
  id: string;
508
518
  } | null | undefined;
509
- } | null;
510
- location?: {
511
- address?: string | null | undefined;
512
- postcode?: string | null | undefined;
513
- county?: string | null | undefined;
514
- adminDistrict?: string | null | undefined;
515
- builtUpArea?: string | null | undefined;
516
- postTown?: string | null | undefined;
517
- areaCovered?: string | null | undefined;
518
519
  } | null | undefined;
519
- workHours?: number | null | undefined;
520
520
  }, {
521
521
  status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
522
522
  createdAt: string | Date;
@@ -531,7 +531,22 @@ export declare const ActiveSchema: z.ZodObject<{
531
531
  description: string;
532
532
  tradeId: string;
533
533
  numberOfPositions: number;
534
- currentCollaboration: {
534
+ location?: {
535
+ address?: string | null | undefined;
536
+ postcode?: string | null | undefined;
537
+ county?: string | null | undefined;
538
+ adminDistrict?: string | null | undefined;
539
+ builtUpArea?: string | null | undefined;
540
+ postTown?: string | null | undefined;
541
+ areaCovered?: string | null | undefined;
542
+ } | null | undefined;
543
+ workHours?: number | null | undefined;
544
+ jobQualifications?: {
545
+ id: string;
546
+ qualificationId: string;
547
+ qualificationTypeId?: string | null | undefined;
548
+ }[] | undefined;
549
+ currentCollaboration?: {
535
550
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
536
551
  createdAt: string | Date;
537
552
  updatedAt: string | Date;
@@ -554,22 +569,7 @@ export declare const ActiveSchema: z.ZodObject<{
554
569
  newCollaboration?: {
555
570
  id: string;
556
571
  } | null | undefined;
557
- } | null;
558
- location?: {
559
- address?: string | null | undefined;
560
- postcode?: string | null | undefined;
561
- county?: string | null | undefined;
562
- adminDistrict?: string | null | undefined;
563
- builtUpArea?: string | null | undefined;
564
- postTown?: string | null | undefined;
565
- areaCovered?: string | null | undefined;
566
572
  } | null | undefined;
567
- workHours?: number | null | undefined;
568
- jobQualifications?: {
569
- id: string;
570
- qualificationId: string;
571
- qualificationTypeId?: string | null | undefined;
572
- }[] | undefined;
573
573
  }>;
574
574
  userId: z.ZodString;
575
575
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -672,7 +672,17 @@ export declare const ActiveSchema: z.ZodObject<{
672
672
  qualificationId: string;
673
673
  qualificationTypeId?: string | null | undefined;
674
674
  }[];
675
- currentCollaboration: {
675
+ location?: {
676
+ address?: string | null | undefined;
677
+ postcode?: string | null | undefined;
678
+ county?: string | null | undefined;
679
+ adminDistrict?: string | null | undefined;
680
+ builtUpArea?: string | null | undefined;
681
+ postTown?: string | null | undefined;
682
+ areaCovered?: string | null | undefined;
683
+ } | null | undefined;
684
+ workHours?: number | null | undefined;
685
+ currentCollaboration?: {
676
686
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
677
687
  createdAt: string;
678
688
  updatedAt: string;
@@ -695,17 +705,7 @@ export declare const ActiveSchema: z.ZodObject<{
695
705
  newCollaboration?: {
696
706
  id: string;
697
707
  } | null | undefined;
698
- } | null;
699
- location?: {
700
- address?: string | null | undefined;
701
- postcode?: string | null | undefined;
702
- county?: string | null | undefined;
703
- adminDistrict?: string | null | undefined;
704
- builtUpArea?: string | null | undefined;
705
- postTown?: string | null | undefined;
706
- areaCovered?: string | null | undefined;
707
708
  } | null | undefined;
708
- workHours?: number | null | undefined;
709
709
  };
710
710
  endDate?: string | null | undefined;
711
711
  }, {
@@ -801,7 +801,22 @@ export declare const ActiveSchema: z.ZodObject<{
801
801
  description: string;
802
802
  tradeId: string;
803
803
  numberOfPositions: number;
804
- currentCollaboration: {
804
+ location?: {
805
+ address?: string | null | undefined;
806
+ postcode?: string | null | undefined;
807
+ county?: string | null | undefined;
808
+ adminDistrict?: string | null | undefined;
809
+ builtUpArea?: string | null | undefined;
810
+ postTown?: string | null | undefined;
811
+ areaCovered?: string | null | undefined;
812
+ } | null | undefined;
813
+ workHours?: number | null | undefined;
814
+ jobQualifications?: {
815
+ id: string;
816
+ qualificationId: string;
817
+ qualificationTypeId?: string | null | undefined;
818
+ }[] | undefined;
819
+ currentCollaboration?: {
805
820
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
806
821
  createdAt: string | Date;
807
822
  updatedAt: string | Date;
@@ -824,22 +839,7 @@ export declare const ActiveSchema: z.ZodObject<{
824
839
  newCollaboration?: {
825
840
  id: string;
826
841
  } | null | undefined;
827
- } | null;
828
- location?: {
829
- address?: string | null | undefined;
830
- postcode?: string | null | undefined;
831
- county?: string | null | undefined;
832
- adminDistrict?: string | null | undefined;
833
- builtUpArea?: string | null | undefined;
834
- postTown?: string | null | undefined;
835
- areaCovered?: string | null | undefined;
836
842
  } | null | undefined;
837
- workHours?: number | null | undefined;
838
- jobQualifications?: {
839
- id: string;
840
- qualificationId: string;
841
- qualificationTypeId?: string | null | undefined;
842
- }[] | undefined;
843
843
  };
844
844
  endDate?: string | Date | null | undefined;
845
845
  }>;
@@ -959,7 +959,17 @@ export declare const ActiveSchema: z.ZodObject<{
959
959
  qualificationId: string;
960
960
  qualificationTypeId?: string | null | undefined;
961
961
  }[];
962
- currentCollaboration: {
962
+ location?: {
963
+ address?: string | null | undefined;
964
+ postcode?: string | null | undefined;
965
+ county?: string | null | undefined;
966
+ adminDistrict?: string | null | undefined;
967
+ builtUpArea?: string | null | undefined;
968
+ postTown?: string | null | undefined;
969
+ areaCovered?: string | null | undefined;
970
+ } | null | undefined;
971
+ workHours?: number | null | undefined;
972
+ currentCollaboration?: {
963
973
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
964
974
  createdAt: string;
965
975
  updatedAt: string;
@@ -982,17 +992,7 @@ export declare const ActiveSchema: z.ZodObject<{
982
992
  newCollaboration?: {
983
993
  id: string;
984
994
  } | null | undefined;
985
- } | null;
986
- location?: {
987
- address?: string | null | undefined;
988
- postcode?: string | null | undefined;
989
- county?: string | null | undefined;
990
- adminDistrict?: string | null | undefined;
991
- builtUpArea?: string | null | undefined;
992
- postTown?: string | null | undefined;
993
- areaCovered?: string | null | undefined;
994
995
  } | null | undefined;
995
- workHours?: number | null | undefined;
996
996
  };
997
997
  endDate?: string | null | undefined;
998
998
  };
@@ -1105,7 +1105,22 @@ export declare const ActiveSchema: z.ZodObject<{
1105
1105
  description: string;
1106
1106
  tradeId: string;
1107
1107
  numberOfPositions: number;
1108
- currentCollaboration: {
1108
+ location?: {
1109
+ address?: string | null | undefined;
1110
+ postcode?: string | null | undefined;
1111
+ county?: string | null | undefined;
1112
+ adminDistrict?: string | null | undefined;
1113
+ builtUpArea?: string | null | undefined;
1114
+ postTown?: string | null | undefined;
1115
+ areaCovered?: string | null | undefined;
1116
+ } | null | undefined;
1117
+ workHours?: number | null | undefined;
1118
+ jobQualifications?: {
1119
+ id: string;
1120
+ qualificationId: string;
1121
+ qualificationTypeId?: string | null | undefined;
1122
+ }[] | undefined;
1123
+ currentCollaboration?: {
1109
1124
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1110
1125
  createdAt: string | Date;
1111
1126
  updatedAt: string | Date;
@@ -1128,22 +1143,7 @@ export declare const ActiveSchema: z.ZodObject<{
1128
1143
  newCollaboration?: {
1129
1144
  id: string;
1130
1145
  } | null | undefined;
1131
- } | null;
1132
- location?: {
1133
- address?: string | null | undefined;
1134
- postcode?: string | null | undefined;
1135
- county?: string | null | undefined;
1136
- adminDistrict?: string | null | undefined;
1137
- builtUpArea?: string | null | undefined;
1138
- postTown?: string | null | undefined;
1139
- areaCovered?: string | null | undefined;
1140
1146
  } | null | undefined;
1141
- workHours?: number | null | undefined;
1142
- jobQualifications?: {
1143
- id: string;
1144
- qualificationId: string;
1145
- qualificationTypeId?: string | null | undefined;
1146
- }[] | undefined;
1147
1147
  };
1148
1148
  endDate?: string | Date | null | undefined;
1149
1149
  };
@@ -1220,7 +1220,8 @@ export declare const FilterActiveSchema: z.ZodObject<{
1220
1220
  limit: z.ZodDefault<z.ZodNumber>;
1221
1221
  page: z.ZodDefault<z.ZodNumber>;
1222
1222
  } & {
1223
- bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1223
+ workerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1224
+ secondAgent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1224
1225
  date: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1225
1226
  from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1226
1227
  to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1282,7 +1283,8 @@ export declare const FilterActiveSchema: z.ZodObject<{
1282
1283
  minRate?: number | null | undefined;
1283
1284
  maxRate?: number | null | undefined;
1284
1285
  } | null | undefined;
1285
- bookingId?: string | null | undefined;
1286
+ workerName?: string | null | undefined;
1287
+ secondAgent?: string | null | undefined;
1286
1288
  sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
1287
1289
  sortOrder?: "ASC" | "DESC" | null | undefined;
1288
1290
  }, {
@@ -1304,7 +1306,8 @@ export declare const FilterActiveSchema: z.ZodObject<{
1304
1306
  } | null | undefined;
1305
1307
  limit?: number | undefined;
1306
1308
  page?: number | undefined;
1307
- bookingId?: string | null | undefined;
1309
+ workerName?: string | null | undefined;
1310
+ secondAgent?: string | null | undefined;
1308
1311
  sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
1309
1312
  sortOrder?: "ASC" | "DESC" | null | undefined;
1310
1313
  }>;
@@ -1673,7 +1676,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1673
1676
  qualificationId: string;
1674
1677
  qualificationTypeId?: string | null | undefined;
1675
1678
  }>, "many">>>;
1676
- currentCollaboration: z.ZodNullable<z.ZodObject<{
1679
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1677
1680
  id: z.ZodString;
1678
1681
  company: z.ZodOptional<z.ZodObject<{
1679
1682
  id: z.ZodString;
@@ -1768,7 +1771,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1768
1771
  newCollaboration?: {
1769
1772
  id: string;
1770
1773
  } | null | undefined;
1771
- }>>;
1774
+ }>>>;
1772
1775
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1773
1776
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1774
1777
  }, "strip", z.ZodTypeAny, {
@@ -1790,7 +1793,17 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1790
1793
  qualificationId: string;
1791
1794
  qualificationTypeId?: string | null | undefined;
1792
1795
  }[];
1793
- currentCollaboration: {
1796
+ location?: {
1797
+ address?: string | null | undefined;
1798
+ postcode?: string | null | undefined;
1799
+ county?: string | null | undefined;
1800
+ adminDistrict?: string | null | undefined;
1801
+ builtUpArea?: string | null | undefined;
1802
+ postTown?: string | null | undefined;
1803
+ areaCovered?: string | null | undefined;
1804
+ } | null | undefined;
1805
+ workHours?: number | null | undefined;
1806
+ currentCollaboration?: {
1794
1807
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1795
1808
  createdAt: string;
1796
1809
  updatedAt: string;
@@ -1813,17 +1826,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1813
1826
  newCollaboration?: {
1814
1827
  id: string;
1815
1828
  } | null | undefined;
1816
- } | null;
1817
- location?: {
1818
- address?: string | null | undefined;
1819
- postcode?: string | null | undefined;
1820
- county?: string | null | undefined;
1821
- adminDistrict?: string | null | undefined;
1822
- builtUpArea?: string | null | undefined;
1823
- postTown?: string | null | undefined;
1824
- areaCovered?: string | null | undefined;
1825
1829
  } | null | undefined;
1826
- workHours?: number | null | undefined;
1827
1830
  }, {
1828
1831
  status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
1829
1832
  createdAt: string | Date;
@@ -1838,7 +1841,22 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1838
1841
  description: string;
1839
1842
  tradeId: string;
1840
1843
  numberOfPositions: number;
1841
- currentCollaboration: {
1844
+ location?: {
1845
+ address?: string | null | undefined;
1846
+ postcode?: string | null | undefined;
1847
+ county?: string | null | undefined;
1848
+ adminDistrict?: string | null | undefined;
1849
+ builtUpArea?: string | null | undefined;
1850
+ postTown?: string | null | undefined;
1851
+ areaCovered?: string | null | undefined;
1852
+ } | null | undefined;
1853
+ workHours?: number | null | undefined;
1854
+ jobQualifications?: {
1855
+ id: string;
1856
+ qualificationId: string;
1857
+ qualificationTypeId?: string | null | undefined;
1858
+ }[] | undefined;
1859
+ currentCollaboration?: {
1842
1860
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1843
1861
  createdAt: string | Date;
1844
1862
  updatedAt: string | Date;
@@ -1861,22 +1879,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1861
1879
  newCollaboration?: {
1862
1880
  id: string;
1863
1881
  } | null | undefined;
1864
- } | null;
1865
- location?: {
1866
- address?: string | null | undefined;
1867
- postcode?: string | null | undefined;
1868
- county?: string | null | undefined;
1869
- adminDistrict?: string | null | undefined;
1870
- builtUpArea?: string | null | undefined;
1871
- postTown?: string | null | undefined;
1872
- areaCovered?: string | null | undefined;
1873
1882
  } | null | undefined;
1874
- workHours?: number | null | undefined;
1875
- jobQualifications?: {
1876
- id: string;
1877
- qualificationId: string;
1878
- qualificationTypeId?: string | null | undefined;
1879
- }[] | undefined;
1880
1883
  }>;
1881
1884
  userId: z.ZodString;
1882
1885
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1979,7 +1982,17 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1979
1982
  qualificationId: string;
1980
1983
  qualificationTypeId?: string | null | undefined;
1981
1984
  }[];
1982
- currentCollaboration: {
1985
+ location?: {
1986
+ address?: string | null | undefined;
1987
+ postcode?: string | null | undefined;
1988
+ county?: string | null | undefined;
1989
+ adminDistrict?: string | null | undefined;
1990
+ builtUpArea?: string | null | undefined;
1991
+ postTown?: string | null | undefined;
1992
+ areaCovered?: string | null | undefined;
1993
+ } | null | undefined;
1994
+ workHours?: number | null | undefined;
1995
+ currentCollaboration?: {
1983
1996
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1984
1997
  createdAt: string;
1985
1998
  updatedAt: string;
@@ -2002,17 +2015,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2002
2015
  newCollaboration?: {
2003
2016
  id: string;
2004
2017
  } | null | undefined;
2005
- } | null;
2006
- location?: {
2007
- address?: string | null | undefined;
2008
- postcode?: string | null | undefined;
2009
- county?: string | null | undefined;
2010
- adminDistrict?: string | null | undefined;
2011
- builtUpArea?: string | null | undefined;
2012
- postTown?: string | null | undefined;
2013
- areaCovered?: string | null | undefined;
2014
2018
  } | null | undefined;
2015
- workHours?: number | null | undefined;
2016
2019
  };
2017
2020
  endDate?: string | null | undefined;
2018
2021
  }, {
@@ -2108,7 +2111,22 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2108
2111
  description: string;
2109
2112
  tradeId: string;
2110
2113
  numberOfPositions: number;
2111
- currentCollaboration: {
2114
+ location?: {
2115
+ address?: string | null | undefined;
2116
+ postcode?: string | null | undefined;
2117
+ county?: string | null | undefined;
2118
+ adminDistrict?: string | null | undefined;
2119
+ builtUpArea?: string | null | undefined;
2120
+ postTown?: string | null | undefined;
2121
+ areaCovered?: string | null | undefined;
2122
+ } | null | undefined;
2123
+ workHours?: number | null | undefined;
2124
+ jobQualifications?: {
2125
+ id: string;
2126
+ qualificationId: string;
2127
+ qualificationTypeId?: string | null | undefined;
2128
+ }[] | undefined;
2129
+ currentCollaboration?: {
2112
2130
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2113
2131
  createdAt: string | Date;
2114
2132
  updatedAt: string | Date;
@@ -2131,22 +2149,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2131
2149
  newCollaboration?: {
2132
2150
  id: string;
2133
2151
  } | null | undefined;
2134
- } | null;
2135
- location?: {
2136
- address?: string | null | undefined;
2137
- postcode?: string | null | undefined;
2138
- county?: string | null | undefined;
2139
- adminDistrict?: string | null | undefined;
2140
- builtUpArea?: string | null | undefined;
2141
- postTown?: string | null | undefined;
2142
- areaCovered?: string | null | undefined;
2143
2152
  } | null | undefined;
2144
- workHours?: number | null | undefined;
2145
- jobQualifications?: {
2146
- id: string;
2147
- qualificationId: string;
2148
- qualificationTypeId?: string | null | undefined;
2149
- }[] | undefined;
2150
2153
  };
2151
2154
  endDate?: string | Date | null | undefined;
2152
2155
  }>;
@@ -2266,7 +2269,17 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2266
2269
  qualificationId: string;
2267
2270
  qualificationTypeId?: string | null | undefined;
2268
2271
  }[];
2269
- currentCollaboration: {
2272
+ location?: {
2273
+ address?: string | null | undefined;
2274
+ postcode?: string | null | undefined;
2275
+ county?: string | null | undefined;
2276
+ adminDistrict?: string | null | undefined;
2277
+ builtUpArea?: string | null | undefined;
2278
+ postTown?: string | null | undefined;
2279
+ areaCovered?: string | null | undefined;
2280
+ } | null | undefined;
2281
+ workHours?: number | null | undefined;
2282
+ currentCollaboration?: {
2270
2283
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2271
2284
  createdAt: string;
2272
2285
  updatedAt: string;
@@ -2289,17 +2302,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2289
2302
  newCollaboration?: {
2290
2303
  id: string;
2291
2304
  } | null | undefined;
2292
- } | null;
2293
- location?: {
2294
- address?: string | null | undefined;
2295
- postcode?: string | null | undefined;
2296
- county?: string | null | undefined;
2297
- adminDistrict?: string | null | undefined;
2298
- builtUpArea?: string | null | undefined;
2299
- postTown?: string | null | undefined;
2300
- areaCovered?: string | null | undefined;
2301
2305
  } | null | undefined;
2302
- workHours?: number | null | undefined;
2303
2306
  };
2304
2307
  endDate?: string | null | undefined;
2305
2308
  };
@@ -2412,7 +2415,22 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2412
2415
  description: string;
2413
2416
  tradeId: string;
2414
2417
  numberOfPositions: number;
2415
- currentCollaboration: {
2418
+ location?: {
2419
+ address?: string | null | undefined;
2420
+ postcode?: string | null | undefined;
2421
+ county?: string | null | undefined;
2422
+ adminDistrict?: string | null | undefined;
2423
+ builtUpArea?: string | null | undefined;
2424
+ postTown?: string | null | undefined;
2425
+ areaCovered?: string | null | undefined;
2426
+ } | null | undefined;
2427
+ workHours?: number | null | undefined;
2428
+ jobQualifications?: {
2429
+ id: string;
2430
+ qualificationId: string;
2431
+ qualificationTypeId?: string | null | undefined;
2432
+ }[] | undefined;
2433
+ currentCollaboration?: {
2416
2434
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2417
2435
  createdAt: string | Date;
2418
2436
  updatedAt: string | Date;
@@ -2435,22 +2453,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2435
2453
  newCollaboration?: {
2436
2454
  id: string;
2437
2455
  } | null | undefined;
2438
- } | null;
2439
- location?: {
2440
- address?: string | null | undefined;
2441
- postcode?: string | null | undefined;
2442
- county?: string | null | undefined;
2443
- adminDistrict?: string | null | undefined;
2444
- builtUpArea?: string | null | undefined;
2445
- postTown?: string | null | undefined;
2446
- areaCovered?: string | null | undefined;
2447
2456
  } | null | undefined;
2448
- workHours?: number | null | undefined;
2449
- jobQualifications?: {
2450
- id: string;
2451
- qualificationId: string;
2452
- qualificationTypeId?: string | null | undefined;
2453
- }[] | undefined;
2454
2457
  };
2455
2458
  endDate?: string | Date | null | undefined;
2456
2459
  };
@@ -2576,7 +2579,17 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2576
2579
  qualificationId: string;
2577
2580
  qualificationTypeId?: string | null | undefined;
2578
2581
  }[];
2579
- currentCollaboration: {
2582
+ location?: {
2583
+ address?: string | null | undefined;
2584
+ postcode?: string | null | undefined;
2585
+ county?: string | null | undefined;
2586
+ adminDistrict?: string | null | undefined;
2587
+ builtUpArea?: string | null | undefined;
2588
+ postTown?: string | null | undefined;
2589
+ areaCovered?: string | null | undefined;
2590
+ } | null | undefined;
2591
+ workHours?: number | null | undefined;
2592
+ currentCollaboration?: {
2580
2593
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2581
2594
  createdAt: string;
2582
2595
  updatedAt: string;
@@ -2599,17 +2612,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2599
2612
  newCollaboration?: {
2600
2613
  id: string;
2601
2614
  } | null | undefined;
2602
- } | null;
2603
- location?: {
2604
- address?: string | null | undefined;
2605
- postcode?: string | null | undefined;
2606
- county?: string | null | undefined;
2607
- adminDistrict?: string | null | undefined;
2608
- builtUpArea?: string | null | undefined;
2609
- postTown?: string | null | undefined;
2610
- areaCovered?: string | null | undefined;
2611
2615
  } | null | undefined;
2612
- workHours?: number | null | undefined;
2613
2616
  };
2614
2617
  endDate?: string | null | undefined;
2615
2618
  };
@@ -2729,7 +2732,22 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2729
2732
  description: string;
2730
2733
  tradeId: string;
2731
2734
  numberOfPositions: number;
2732
- currentCollaboration: {
2735
+ location?: {
2736
+ address?: string | null | undefined;
2737
+ postcode?: string | null | undefined;
2738
+ county?: string | null | undefined;
2739
+ adminDistrict?: string | null | undefined;
2740
+ builtUpArea?: string | null | undefined;
2741
+ postTown?: string | null | undefined;
2742
+ areaCovered?: string | null | undefined;
2743
+ } | null | undefined;
2744
+ workHours?: number | null | undefined;
2745
+ jobQualifications?: {
2746
+ id: string;
2747
+ qualificationId: string;
2748
+ qualificationTypeId?: string | null | undefined;
2749
+ }[] | undefined;
2750
+ currentCollaboration?: {
2733
2751
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2734
2752
  createdAt: string | Date;
2735
2753
  updatedAt: string | Date;
@@ -2752,22 +2770,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2752
2770
  newCollaboration?: {
2753
2771
  id: string;
2754
2772
  } | null | undefined;
2755
- } | null;
2756
- location?: {
2757
- address?: string | null | undefined;
2758
- postcode?: string | null | undefined;
2759
- county?: string | null | undefined;
2760
- adminDistrict?: string | null | undefined;
2761
- builtUpArea?: string | null | undefined;
2762
- postTown?: string | null | undefined;
2763
- areaCovered?: string | null | undefined;
2764
2773
  } | null | undefined;
2765
- workHours?: number | null | undefined;
2766
- jobQualifications?: {
2767
- id: string;
2768
- qualificationId: string;
2769
- qualificationTypeId?: string | null | undefined;
2770
- }[] | undefined;
2771
2774
  };
2772
2775
  endDate?: string | Date | null | undefined;
2773
2776
  };
@@ -3302,7 +3305,7 @@ export declare const activesContractRouter: {
3302
3305
  qualificationId: string;
3303
3306
  qualificationTypeId?: string | null | undefined;
3304
3307
  }>, "many">>>;
3305
- currentCollaboration: z.ZodNullable<z.ZodObject<{
3308
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3306
3309
  id: z.ZodString;
3307
3310
  company: z.ZodOptional<z.ZodObject<{
3308
3311
  id: z.ZodString;
@@ -3397,7 +3400,7 @@ export declare const activesContractRouter: {
3397
3400
  newCollaboration?: {
3398
3401
  id: string;
3399
3402
  } | null | undefined;
3400
- }>>;
3403
+ }>>>;
3401
3404
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3402
3405
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3403
3406
  }, "strip", z.ZodTypeAny, {
@@ -3419,7 +3422,17 @@ export declare const activesContractRouter: {
3419
3422
  qualificationId: string;
3420
3423
  qualificationTypeId?: string | null | undefined;
3421
3424
  }[];
3422
- currentCollaboration: {
3425
+ location?: {
3426
+ address?: string | null | undefined;
3427
+ postcode?: string | null | undefined;
3428
+ county?: string | null | undefined;
3429
+ adminDistrict?: string | null | undefined;
3430
+ builtUpArea?: string | null | undefined;
3431
+ postTown?: string | null | undefined;
3432
+ areaCovered?: string | null | undefined;
3433
+ } | null | undefined;
3434
+ workHours?: number | null | undefined;
3435
+ currentCollaboration?: {
3423
3436
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3424
3437
  createdAt: string;
3425
3438
  updatedAt: string;
@@ -3442,17 +3455,7 @@ export declare const activesContractRouter: {
3442
3455
  newCollaboration?: {
3443
3456
  id: string;
3444
3457
  } | null | undefined;
3445
- } | null;
3446
- location?: {
3447
- address?: string | null | undefined;
3448
- postcode?: string | null | undefined;
3449
- county?: string | null | undefined;
3450
- adminDistrict?: string | null | undefined;
3451
- builtUpArea?: string | null | undefined;
3452
- postTown?: string | null | undefined;
3453
- areaCovered?: string | null | undefined;
3454
3458
  } | null | undefined;
3455
- workHours?: number | null | undefined;
3456
3459
  }, {
3457
3460
  status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
3458
3461
  createdAt: string | Date;
@@ -3467,7 +3470,22 @@ export declare const activesContractRouter: {
3467
3470
  description: string;
3468
3471
  tradeId: string;
3469
3472
  numberOfPositions: number;
3470
- currentCollaboration: {
3473
+ location?: {
3474
+ address?: string | null | undefined;
3475
+ postcode?: string | null | undefined;
3476
+ county?: string | null | undefined;
3477
+ adminDistrict?: string | null | undefined;
3478
+ builtUpArea?: string | null | undefined;
3479
+ postTown?: string | null | undefined;
3480
+ areaCovered?: string | null | undefined;
3481
+ } | null | undefined;
3482
+ workHours?: number | null | undefined;
3483
+ jobQualifications?: {
3484
+ id: string;
3485
+ qualificationId: string;
3486
+ qualificationTypeId?: string | null | undefined;
3487
+ }[] | undefined;
3488
+ currentCollaboration?: {
3471
3489
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3472
3490
  createdAt: string | Date;
3473
3491
  updatedAt: string | Date;
@@ -3490,22 +3508,7 @@ export declare const activesContractRouter: {
3490
3508
  newCollaboration?: {
3491
3509
  id: string;
3492
3510
  } | null | undefined;
3493
- } | null;
3494
- location?: {
3495
- address?: string | null | undefined;
3496
- postcode?: string | null | undefined;
3497
- county?: string | null | undefined;
3498
- adminDistrict?: string | null | undefined;
3499
- builtUpArea?: string | null | undefined;
3500
- postTown?: string | null | undefined;
3501
- areaCovered?: string | null | undefined;
3502
3511
  } | null | undefined;
3503
- workHours?: number | null | undefined;
3504
- jobQualifications?: {
3505
- id: string;
3506
- qualificationId: string;
3507
- qualificationTypeId?: string | null | undefined;
3508
- }[] | undefined;
3509
3512
  }>;
3510
3513
  userId: z.ZodString;
3511
3514
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -3608,7 +3611,17 @@ export declare const activesContractRouter: {
3608
3611
  qualificationId: string;
3609
3612
  qualificationTypeId?: string | null | undefined;
3610
3613
  }[];
3611
- currentCollaboration: {
3614
+ location?: {
3615
+ address?: string | null | undefined;
3616
+ postcode?: string | null | undefined;
3617
+ county?: string | null | undefined;
3618
+ adminDistrict?: string | null | undefined;
3619
+ builtUpArea?: string | null | undefined;
3620
+ postTown?: string | null | undefined;
3621
+ areaCovered?: string | null | undefined;
3622
+ } | null | undefined;
3623
+ workHours?: number | null | undefined;
3624
+ currentCollaboration?: {
3612
3625
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3613
3626
  createdAt: string;
3614
3627
  updatedAt: string;
@@ -3631,17 +3644,7 @@ export declare const activesContractRouter: {
3631
3644
  newCollaboration?: {
3632
3645
  id: string;
3633
3646
  } | null | undefined;
3634
- } | null;
3635
- location?: {
3636
- address?: string | null | undefined;
3637
- postcode?: string | null | undefined;
3638
- county?: string | null | undefined;
3639
- adminDistrict?: string | null | undefined;
3640
- builtUpArea?: string | null | undefined;
3641
- postTown?: string | null | undefined;
3642
- areaCovered?: string | null | undefined;
3643
3647
  } | null | undefined;
3644
- workHours?: number | null | undefined;
3645
3648
  };
3646
3649
  endDate?: string | null | undefined;
3647
3650
  }, {
@@ -3737,7 +3740,22 @@ export declare const activesContractRouter: {
3737
3740
  description: string;
3738
3741
  tradeId: string;
3739
3742
  numberOfPositions: number;
3740
- currentCollaboration: {
3743
+ location?: {
3744
+ address?: string | null | undefined;
3745
+ postcode?: string | null | undefined;
3746
+ county?: string | null | undefined;
3747
+ adminDistrict?: string | null | undefined;
3748
+ builtUpArea?: string | null | undefined;
3749
+ postTown?: string | null | undefined;
3750
+ areaCovered?: string | null | undefined;
3751
+ } | null | undefined;
3752
+ workHours?: number | null | undefined;
3753
+ jobQualifications?: {
3754
+ id: string;
3755
+ qualificationId: string;
3756
+ qualificationTypeId?: string | null | undefined;
3757
+ }[] | undefined;
3758
+ currentCollaboration?: {
3741
3759
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3742
3760
  createdAt: string | Date;
3743
3761
  updatedAt: string | Date;
@@ -3760,22 +3778,7 @@ export declare const activesContractRouter: {
3760
3778
  newCollaboration?: {
3761
3779
  id: string;
3762
3780
  } | null | undefined;
3763
- } | null;
3764
- location?: {
3765
- address?: string | null | undefined;
3766
- postcode?: string | null | undefined;
3767
- county?: string | null | undefined;
3768
- adminDistrict?: string | null | undefined;
3769
- builtUpArea?: string | null | undefined;
3770
- postTown?: string | null | undefined;
3771
- areaCovered?: string | null | undefined;
3772
3781
  } | null | undefined;
3773
- workHours?: number | null | undefined;
3774
- jobQualifications?: {
3775
- id: string;
3776
- qualificationId: string;
3777
- qualificationTypeId?: string | null | undefined;
3778
- }[] | undefined;
3779
3782
  };
3780
3783
  endDate?: string | Date | null | undefined;
3781
3784
  }>;
@@ -3895,7 +3898,17 @@ export declare const activesContractRouter: {
3895
3898
  qualificationId: string;
3896
3899
  qualificationTypeId?: string | null | undefined;
3897
3900
  }[];
3898
- currentCollaboration: {
3901
+ location?: {
3902
+ address?: string | null | undefined;
3903
+ postcode?: string | null | undefined;
3904
+ county?: string | null | undefined;
3905
+ adminDistrict?: string | null | undefined;
3906
+ builtUpArea?: string | null | undefined;
3907
+ postTown?: string | null | undefined;
3908
+ areaCovered?: string | null | undefined;
3909
+ } | null | undefined;
3910
+ workHours?: number | null | undefined;
3911
+ currentCollaboration?: {
3899
3912
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3900
3913
  createdAt: string;
3901
3914
  updatedAt: string;
@@ -3918,17 +3931,7 @@ export declare const activesContractRouter: {
3918
3931
  newCollaboration?: {
3919
3932
  id: string;
3920
3933
  } | null | undefined;
3921
- } | null;
3922
- location?: {
3923
- address?: string | null | undefined;
3924
- postcode?: string | null | undefined;
3925
- county?: string | null | undefined;
3926
- adminDistrict?: string | null | undefined;
3927
- builtUpArea?: string | null | undefined;
3928
- postTown?: string | null | undefined;
3929
- areaCovered?: string | null | undefined;
3930
3934
  } | null | undefined;
3931
- workHours?: number | null | undefined;
3932
3935
  };
3933
3936
  endDate?: string | null | undefined;
3934
3937
  };
@@ -4041,7 +4044,22 @@ export declare const activesContractRouter: {
4041
4044
  description: string;
4042
4045
  tradeId: string;
4043
4046
  numberOfPositions: number;
4044
- currentCollaboration: {
4047
+ location?: {
4048
+ address?: string | null | undefined;
4049
+ postcode?: string | null | undefined;
4050
+ county?: string | null | undefined;
4051
+ adminDistrict?: string | null | undefined;
4052
+ builtUpArea?: string | null | undefined;
4053
+ postTown?: string | null | undefined;
4054
+ areaCovered?: string | null | undefined;
4055
+ } | null | undefined;
4056
+ workHours?: number | null | undefined;
4057
+ jobQualifications?: {
4058
+ id: string;
4059
+ qualificationId: string;
4060
+ qualificationTypeId?: string | null | undefined;
4061
+ }[] | undefined;
4062
+ currentCollaboration?: {
4045
4063
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4046
4064
  createdAt: string | Date;
4047
4065
  updatedAt: string | Date;
@@ -4064,22 +4082,7 @@ export declare const activesContractRouter: {
4064
4082
  newCollaboration?: {
4065
4083
  id: string;
4066
4084
  } | null | undefined;
4067
- } | null;
4068
- location?: {
4069
- address?: string | null | undefined;
4070
- postcode?: string | null | undefined;
4071
- county?: string | null | undefined;
4072
- adminDistrict?: string | null | undefined;
4073
- builtUpArea?: string | null | undefined;
4074
- postTown?: string | null | undefined;
4075
- areaCovered?: string | null | undefined;
4076
4085
  } | null | undefined;
4077
- workHours?: number | null | undefined;
4078
- jobQualifications?: {
4079
- id: string;
4080
- qualificationId: string;
4081
- qualificationTypeId?: string | null | undefined;
4082
- }[] | undefined;
4083
4086
  };
4084
4087
  endDate?: string | Date | null | undefined;
4085
4088
  };
@@ -4147,7 +4150,8 @@ export declare const activesContractRouter: {
4147
4150
  limit: z.ZodDefault<z.ZodNumber>;
4148
4151
  page: z.ZodDefault<z.ZodNumber>;
4149
4152
  } & {
4150
- bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4153
+ workerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4154
+ secondAgent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4151
4155
  date: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4152
4156
  from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4153
4157
  to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4209,7 +4213,8 @@ export declare const activesContractRouter: {
4209
4213
  minRate?: number | null | undefined;
4210
4214
  maxRate?: number | null | undefined;
4211
4215
  } | null | undefined;
4212
- bookingId?: string | null | undefined;
4216
+ workerName?: string | null | undefined;
4217
+ secondAgent?: string | null | undefined;
4213
4218
  sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
4214
4219
  sortOrder?: "ASC" | "DESC" | null | undefined;
4215
4220
  }, {
@@ -4231,7 +4236,8 @@ export declare const activesContractRouter: {
4231
4236
  } | null | undefined;
4232
4237
  limit?: number | undefined;
4233
4238
  page?: number | undefined;
4234
- bookingId?: string | null | undefined;
4239
+ workerName?: string | null | undefined;
4240
+ secondAgent?: string | null | undefined;
4235
4241
  sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
4236
4242
  sortOrder?: "ASC" | "DESC" | null | undefined;
4237
4243
  }>;
@@ -4704,7 +4710,7 @@ export declare const activesContractRouter: {
4704
4710
  qualificationId: string;
4705
4711
  qualificationTypeId?: string | null | undefined;
4706
4712
  }>, "many">>>;
4707
- currentCollaboration: z.ZodNullable<z.ZodObject<{
4713
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4708
4714
  id: z.ZodString;
4709
4715
  company: z.ZodOptional<z.ZodObject<{
4710
4716
  id: z.ZodString;
@@ -4799,7 +4805,7 @@ export declare const activesContractRouter: {
4799
4805
  newCollaboration?: {
4800
4806
  id: string;
4801
4807
  } | null | undefined;
4802
- }>>;
4808
+ }>>>;
4803
4809
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4804
4810
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4805
4811
  }, "strip", z.ZodTypeAny, {
@@ -4821,7 +4827,17 @@ export declare const activesContractRouter: {
4821
4827
  qualificationId: string;
4822
4828
  qualificationTypeId?: string | null | undefined;
4823
4829
  }[];
4824
- currentCollaboration: {
4830
+ location?: {
4831
+ address?: string | null | undefined;
4832
+ postcode?: string | null | undefined;
4833
+ county?: string | null | undefined;
4834
+ adminDistrict?: string | null | undefined;
4835
+ builtUpArea?: string | null | undefined;
4836
+ postTown?: string | null | undefined;
4837
+ areaCovered?: string | null | undefined;
4838
+ } | null | undefined;
4839
+ workHours?: number | null | undefined;
4840
+ currentCollaboration?: {
4825
4841
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4826
4842
  createdAt: string;
4827
4843
  updatedAt: string;
@@ -4844,17 +4860,7 @@ export declare const activesContractRouter: {
4844
4860
  newCollaboration?: {
4845
4861
  id: string;
4846
4862
  } | null | undefined;
4847
- } | null;
4848
- location?: {
4849
- address?: string | null | undefined;
4850
- postcode?: string | null | undefined;
4851
- county?: string | null | undefined;
4852
- adminDistrict?: string | null | undefined;
4853
- builtUpArea?: string | null | undefined;
4854
- postTown?: string | null | undefined;
4855
- areaCovered?: string | null | undefined;
4856
4863
  } | null | undefined;
4857
- workHours?: number | null | undefined;
4858
4864
  }, {
4859
4865
  status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
4860
4866
  createdAt: string | Date;
@@ -4869,7 +4875,22 @@ export declare const activesContractRouter: {
4869
4875
  description: string;
4870
4876
  tradeId: string;
4871
4877
  numberOfPositions: number;
4872
- currentCollaboration: {
4878
+ location?: {
4879
+ address?: string | null | undefined;
4880
+ postcode?: string | null | undefined;
4881
+ county?: string | null | undefined;
4882
+ adminDistrict?: string | null | undefined;
4883
+ builtUpArea?: string | null | undefined;
4884
+ postTown?: string | null | undefined;
4885
+ areaCovered?: string | null | undefined;
4886
+ } | null | undefined;
4887
+ workHours?: number | null | undefined;
4888
+ jobQualifications?: {
4889
+ id: string;
4890
+ qualificationId: string;
4891
+ qualificationTypeId?: string | null | undefined;
4892
+ }[] | undefined;
4893
+ currentCollaboration?: {
4873
4894
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4874
4895
  createdAt: string | Date;
4875
4896
  updatedAt: string | Date;
@@ -4892,22 +4913,7 @@ export declare const activesContractRouter: {
4892
4913
  newCollaboration?: {
4893
4914
  id: string;
4894
4915
  } | null | undefined;
4895
- } | null;
4896
- location?: {
4897
- address?: string | null | undefined;
4898
- postcode?: string | null | undefined;
4899
- county?: string | null | undefined;
4900
- adminDistrict?: string | null | undefined;
4901
- builtUpArea?: string | null | undefined;
4902
- postTown?: string | null | undefined;
4903
- areaCovered?: string | null | undefined;
4904
4916
  } | null | undefined;
4905
- workHours?: number | null | undefined;
4906
- jobQualifications?: {
4907
- id: string;
4908
- qualificationId: string;
4909
- qualificationTypeId?: string | null | undefined;
4910
- }[] | undefined;
4911
4917
  }>;
4912
4918
  userId: z.ZodString;
4913
4919
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -5010,7 +5016,17 @@ export declare const activesContractRouter: {
5010
5016
  qualificationId: string;
5011
5017
  qualificationTypeId?: string | null | undefined;
5012
5018
  }[];
5013
- currentCollaboration: {
5019
+ location?: {
5020
+ address?: string | null | undefined;
5021
+ postcode?: string | null | undefined;
5022
+ county?: string | null | undefined;
5023
+ adminDistrict?: string | null | undefined;
5024
+ builtUpArea?: string | null | undefined;
5025
+ postTown?: string | null | undefined;
5026
+ areaCovered?: string | null | undefined;
5027
+ } | null | undefined;
5028
+ workHours?: number | null | undefined;
5029
+ currentCollaboration?: {
5014
5030
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5015
5031
  createdAt: string;
5016
5032
  updatedAt: string;
@@ -5033,17 +5049,7 @@ export declare const activesContractRouter: {
5033
5049
  newCollaboration?: {
5034
5050
  id: string;
5035
5051
  } | null | undefined;
5036
- } | null;
5037
- location?: {
5038
- address?: string | null | undefined;
5039
- postcode?: string | null | undefined;
5040
- county?: string | null | undefined;
5041
- adminDistrict?: string | null | undefined;
5042
- builtUpArea?: string | null | undefined;
5043
- postTown?: string | null | undefined;
5044
- areaCovered?: string | null | undefined;
5045
5052
  } | null | undefined;
5046
- workHours?: number | null | undefined;
5047
5053
  };
5048
5054
  endDate?: string | null | undefined;
5049
5055
  }, {
@@ -5139,7 +5145,22 @@ export declare const activesContractRouter: {
5139
5145
  description: string;
5140
5146
  tradeId: string;
5141
5147
  numberOfPositions: number;
5142
- currentCollaboration: {
5148
+ location?: {
5149
+ address?: string | null | undefined;
5150
+ postcode?: string | null | undefined;
5151
+ county?: string | null | undefined;
5152
+ adminDistrict?: string | null | undefined;
5153
+ builtUpArea?: string | null | undefined;
5154
+ postTown?: string | null | undefined;
5155
+ areaCovered?: string | null | undefined;
5156
+ } | null | undefined;
5157
+ workHours?: number | null | undefined;
5158
+ jobQualifications?: {
5159
+ id: string;
5160
+ qualificationId: string;
5161
+ qualificationTypeId?: string | null | undefined;
5162
+ }[] | undefined;
5163
+ currentCollaboration?: {
5143
5164
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5144
5165
  createdAt: string | Date;
5145
5166
  updatedAt: string | Date;
@@ -5162,22 +5183,7 @@ export declare const activesContractRouter: {
5162
5183
  newCollaboration?: {
5163
5184
  id: string;
5164
5185
  } | null | undefined;
5165
- } | null;
5166
- location?: {
5167
- address?: string | null | undefined;
5168
- postcode?: string | null | undefined;
5169
- county?: string | null | undefined;
5170
- adminDistrict?: string | null | undefined;
5171
- builtUpArea?: string | null | undefined;
5172
- postTown?: string | null | undefined;
5173
- areaCovered?: string | null | undefined;
5174
5186
  } | null | undefined;
5175
- workHours?: number | null | undefined;
5176
- jobQualifications?: {
5177
- id: string;
5178
- qualificationId: string;
5179
- qualificationTypeId?: string | null | undefined;
5180
- }[] | undefined;
5181
5187
  };
5182
5188
  endDate?: string | Date | null | undefined;
5183
5189
  }>;
@@ -5297,7 +5303,17 @@ export declare const activesContractRouter: {
5297
5303
  qualificationId: string;
5298
5304
  qualificationTypeId?: string | null | undefined;
5299
5305
  }[];
5300
- currentCollaboration: {
5306
+ location?: {
5307
+ address?: string | null | undefined;
5308
+ postcode?: string | null | undefined;
5309
+ county?: string | null | undefined;
5310
+ adminDistrict?: string | null | undefined;
5311
+ builtUpArea?: string | null | undefined;
5312
+ postTown?: string | null | undefined;
5313
+ areaCovered?: string | null | undefined;
5314
+ } | null | undefined;
5315
+ workHours?: number | null | undefined;
5316
+ currentCollaboration?: {
5301
5317
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5302
5318
  createdAt: string;
5303
5319
  updatedAt: string;
@@ -5320,17 +5336,7 @@ export declare const activesContractRouter: {
5320
5336
  newCollaboration?: {
5321
5337
  id: string;
5322
5338
  } | null | undefined;
5323
- } | null;
5324
- location?: {
5325
- address?: string | null | undefined;
5326
- postcode?: string | null | undefined;
5327
- county?: string | null | undefined;
5328
- adminDistrict?: string | null | undefined;
5329
- builtUpArea?: string | null | undefined;
5330
- postTown?: string | null | undefined;
5331
- areaCovered?: string | null | undefined;
5332
5339
  } | null | undefined;
5333
- workHours?: number | null | undefined;
5334
5340
  };
5335
5341
  endDate?: string | null | undefined;
5336
5342
  };
@@ -5443,7 +5449,22 @@ export declare const activesContractRouter: {
5443
5449
  description: string;
5444
5450
  tradeId: string;
5445
5451
  numberOfPositions: number;
5446
- currentCollaboration: {
5452
+ location?: {
5453
+ address?: string | null | undefined;
5454
+ postcode?: string | null | undefined;
5455
+ county?: string | null | undefined;
5456
+ adminDistrict?: string | null | undefined;
5457
+ builtUpArea?: string | null | undefined;
5458
+ postTown?: string | null | undefined;
5459
+ areaCovered?: string | null | undefined;
5460
+ } | null | undefined;
5461
+ workHours?: number | null | undefined;
5462
+ jobQualifications?: {
5463
+ id: string;
5464
+ qualificationId: string;
5465
+ qualificationTypeId?: string | null | undefined;
5466
+ }[] | undefined;
5467
+ currentCollaboration?: {
5447
5468
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5448
5469
  createdAt: string | Date;
5449
5470
  updatedAt: string | Date;
@@ -5466,22 +5487,7 @@ export declare const activesContractRouter: {
5466
5487
  newCollaboration?: {
5467
5488
  id: string;
5468
5489
  } | null | undefined;
5469
- } | null;
5470
- location?: {
5471
- address?: string | null | undefined;
5472
- postcode?: string | null | undefined;
5473
- county?: string | null | undefined;
5474
- adminDistrict?: string | null | undefined;
5475
- builtUpArea?: string | null | undefined;
5476
- postTown?: string | null | undefined;
5477
- areaCovered?: string | null | undefined;
5478
5490
  } | null | undefined;
5479
- workHours?: number | null | undefined;
5480
- jobQualifications?: {
5481
- id: string;
5482
- qualificationId: string;
5483
- qualificationTypeId?: string | null | undefined;
5484
- }[] | undefined;
5485
5491
  };
5486
5492
  endDate?: string | Date | null | undefined;
5487
5493
  };
@@ -5607,7 +5613,17 @@ export declare const activesContractRouter: {
5607
5613
  qualificationId: string;
5608
5614
  qualificationTypeId?: string | null | undefined;
5609
5615
  }[];
5610
- currentCollaboration: {
5616
+ location?: {
5617
+ address?: string | null | undefined;
5618
+ postcode?: string | null | undefined;
5619
+ county?: string | null | undefined;
5620
+ adminDistrict?: string | null | undefined;
5621
+ builtUpArea?: string | null | undefined;
5622
+ postTown?: string | null | undefined;
5623
+ areaCovered?: string | null | undefined;
5624
+ } | null | undefined;
5625
+ workHours?: number | null | undefined;
5626
+ currentCollaboration?: {
5611
5627
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5612
5628
  createdAt: string;
5613
5629
  updatedAt: string;
@@ -5630,17 +5646,7 @@ export declare const activesContractRouter: {
5630
5646
  newCollaboration?: {
5631
5647
  id: string;
5632
5648
  } | null | undefined;
5633
- } | null;
5634
- location?: {
5635
- address?: string | null | undefined;
5636
- postcode?: string | null | undefined;
5637
- county?: string | null | undefined;
5638
- adminDistrict?: string | null | undefined;
5639
- builtUpArea?: string | null | undefined;
5640
- postTown?: string | null | undefined;
5641
- areaCovered?: string | null | undefined;
5642
5649
  } | null | undefined;
5643
- workHours?: number | null | undefined;
5644
5650
  };
5645
5651
  endDate?: string | null | undefined;
5646
5652
  };
@@ -5760,7 +5766,22 @@ export declare const activesContractRouter: {
5760
5766
  description: string;
5761
5767
  tradeId: string;
5762
5768
  numberOfPositions: number;
5763
- currentCollaboration: {
5769
+ location?: {
5770
+ address?: string | null | undefined;
5771
+ postcode?: string | null | undefined;
5772
+ county?: string | null | undefined;
5773
+ adminDistrict?: string | null | undefined;
5774
+ builtUpArea?: string | null | undefined;
5775
+ postTown?: string | null | undefined;
5776
+ areaCovered?: string | null | undefined;
5777
+ } | null | undefined;
5778
+ workHours?: number | null | undefined;
5779
+ jobQualifications?: {
5780
+ id: string;
5781
+ qualificationId: string;
5782
+ qualificationTypeId?: string | null | undefined;
5783
+ }[] | undefined;
5784
+ currentCollaboration?: {
5764
5785
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5765
5786
  createdAt: string | Date;
5766
5787
  updatedAt: string | Date;
@@ -5783,22 +5804,7 @@ export declare const activesContractRouter: {
5783
5804
  newCollaboration?: {
5784
5805
  id: string;
5785
5806
  } | null | undefined;
5786
- } | null;
5787
- location?: {
5788
- address?: string | null | undefined;
5789
- postcode?: string | null | undefined;
5790
- county?: string | null | undefined;
5791
- adminDistrict?: string | null | undefined;
5792
- builtUpArea?: string | null | undefined;
5793
- postTown?: string | null | undefined;
5794
- areaCovered?: string | null | undefined;
5795
5807
  } | null | undefined;
5796
- workHours?: number | null | undefined;
5797
- jobQualifications?: {
5798
- id: string;
5799
- qualificationId: string;
5800
- qualificationTypeId?: string | null | undefined;
5801
- }[] | undefined;
5802
5808
  };
5803
5809
  endDate?: string | Date | null | undefined;
5804
5810
  };
@@ -6292,7 +6298,7 @@ export declare const activesContractRouter: {
6292
6298
  qualificationId: string;
6293
6299
  qualificationTypeId?: string | null | undefined;
6294
6300
  }>, "many">>>;
6295
- currentCollaboration: z.ZodNullable<z.ZodObject<{
6301
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6296
6302
  id: z.ZodString;
6297
6303
  company: z.ZodOptional<z.ZodObject<{
6298
6304
  id: z.ZodString;
@@ -6387,7 +6393,7 @@ export declare const activesContractRouter: {
6387
6393
  newCollaboration?: {
6388
6394
  id: string;
6389
6395
  } | null | undefined;
6390
- }>>;
6396
+ }>>>;
6391
6397
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
6392
6398
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
6393
6399
  }, "strip", z.ZodTypeAny, {
@@ -6409,7 +6415,17 @@ export declare const activesContractRouter: {
6409
6415
  qualificationId: string;
6410
6416
  qualificationTypeId?: string | null | undefined;
6411
6417
  }[];
6412
- currentCollaboration: {
6418
+ location?: {
6419
+ address?: string | null | undefined;
6420
+ postcode?: string | null | undefined;
6421
+ county?: string | null | undefined;
6422
+ adminDistrict?: string | null | undefined;
6423
+ builtUpArea?: string | null | undefined;
6424
+ postTown?: string | null | undefined;
6425
+ areaCovered?: string | null | undefined;
6426
+ } | null | undefined;
6427
+ workHours?: number | null | undefined;
6428
+ currentCollaboration?: {
6413
6429
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6414
6430
  createdAt: string;
6415
6431
  updatedAt: string;
@@ -6432,17 +6448,7 @@ export declare const activesContractRouter: {
6432
6448
  newCollaboration?: {
6433
6449
  id: string;
6434
6450
  } | null | undefined;
6435
- } | null;
6436
- location?: {
6437
- address?: string | null | undefined;
6438
- postcode?: string | null | undefined;
6439
- county?: string | null | undefined;
6440
- adminDistrict?: string | null | undefined;
6441
- builtUpArea?: string | null | undefined;
6442
- postTown?: string | null | undefined;
6443
- areaCovered?: string | null | undefined;
6444
6451
  } | null | undefined;
6445
- workHours?: number | null | undefined;
6446
6452
  }, {
6447
6453
  status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
6448
6454
  createdAt: string | Date;
@@ -6457,7 +6463,22 @@ export declare const activesContractRouter: {
6457
6463
  description: string;
6458
6464
  tradeId: string;
6459
6465
  numberOfPositions: number;
6460
- currentCollaboration: {
6466
+ location?: {
6467
+ address?: string | null | undefined;
6468
+ postcode?: string | null | undefined;
6469
+ county?: string | null | undefined;
6470
+ adminDistrict?: string | null | undefined;
6471
+ builtUpArea?: string | null | undefined;
6472
+ postTown?: string | null | undefined;
6473
+ areaCovered?: string | null | undefined;
6474
+ } | null | undefined;
6475
+ workHours?: number | null | undefined;
6476
+ jobQualifications?: {
6477
+ id: string;
6478
+ qualificationId: string;
6479
+ qualificationTypeId?: string | null | undefined;
6480
+ }[] | undefined;
6481
+ currentCollaboration?: {
6461
6482
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6462
6483
  createdAt: string | Date;
6463
6484
  updatedAt: string | Date;
@@ -6480,22 +6501,7 @@ export declare const activesContractRouter: {
6480
6501
  newCollaboration?: {
6481
6502
  id: string;
6482
6503
  } | null | undefined;
6483
- } | null;
6484
- location?: {
6485
- address?: string | null | undefined;
6486
- postcode?: string | null | undefined;
6487
- county?: string | null | undefined;
6488
- adminDistrict?: string | null | undefined;
6489
- builtUpArea?: string | null | undefined;
6490
- postTown?: string | null | undefined;
6491
- areaCovered?: string | null | undefined;
6492
6504
  } | null | undefined;
6493
- workHours?: number | null | undefined;
6494
- jobQualifications?: {
6495
- id: string;
6496
- qualificationId: string;
6497
- qualificationTypeId?: string | null | undefined;
6498
- }[] | undefined;
6499
6505
  }>;
6500
6506
  userId: z.ZodString;
6501
6507
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -6598,7 +6604,17 @@ export declare const activesContractRouter: {
6598
6604
  qualificationId: string;
6599
6605
  qualificationTypeId?: string | null | undefined;
6600
6606
  }[];
6601
- currentCollaboration: {
6607
+ location?: {
6608
+ address?: string | null | undefined;
6609
+ postcode?: string | null | undefined;
6610
+ county?: string | null | undefined;
6611
+ adminDistrict?: string | null | undefined;
6612
+ builtUpArea?: string | null | undefined;
6613
+ postTown?: string | null | undefined;
6614
+ areaCovered?: string | null | undefined;
6615
+ } | null | undefined;
6616
+ workHours?: number | null | undefined;
6617
+ currentCollaboration?: {
6602
6618
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6603
6619
  createdAt: string;
6604
6620
  updatedAt: string;
@@ -6621,17 +6637,7 @@ export declare const activesContractRouter: {
6621
6637
  newCollaboration?: {
6622
6638
  id: string;
6623
6639
  } | null | undefined;
6624
- } | null;
6625
- location?: {
6626
- address?: string | null | undefined;
6627
- postcode?: string | null | undefined;
6628
- county?: string | null | undefined;
6629
- adminDistrict?: string | null | undefined;
6630
- builtUpArea?: string | null | undefined;
6631
- postTown?: string | null | undefined;
6632
- areaCovered?: string | null | undefined;
6633
6640
  } | null | undefined;
6634
- workHours?: number | null | undefined;
6635
6641
  };
6636
6642
  endDate?: string | null | undefined;
6637
6643
  }, {
@@ -6727,7 +6733,22 @@ export declare const activesContractRouter: {
6727
6733
  description: string;
6728
6734
  tradeId: string;
6729
6735
  numberOfPositions: number;
6730
- currentCollaboration: {
6736
+ location?: {
6737
+ address?: string | null | undefined;
6738
+ postcode?: string | null | undefined;
6739
+ county?: string | null | undefined;
6740
+ adminDistrict?: string | null | undefined;
6741
+ builtUpArea?: string | null | undefined;
6742
+ postTown?: string | null | undefined;
6743
+ areaCovered?: string | null | undefined;
6744
+ } | null | undefined;
6745
+ workHours?: number | null | undefined;
6746
+ jobQualifications?: {
6747
+ id: string;
6748
+ qualificationId: string;
6749
+ qualificationTypeId?: string | null | undefined;
6750
+ }[] | undefined;
6751
+ currentCollaboration?: {
6731
6752
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6732
6753
  createdAt: string | Date;
6733
6754
  updatedAt: string | Date;
@@ -6750,22 +6771,7 @@ export declare const activesContractRouter: {
6750
6771
  newCollaboration?: {
6751
6772
  id: string;
6752
6773
  } | null | undefined;
6753
- } | null;
6754
- location?: {
6755
- address?: string | null | undefined;
6756
- postcode?: string | null | undefined;
6757
- county?: string | null | undefined;
6758
- adminDistrict?: string | null | undefined;
6759
- builtUpArea?: string | null | undefined;
6760
- postTown?: string | null | undefined;
6761
- areaCovered?: string | null | undefined;
6762
6774
  } | null | undefined;
6763
- workHours?: number | null | undefined;
6764
- jobQualifications?: {
6765
- id: string;
6766
- qualificationId: string;
6767
- qualificationTypeId?: string | null | undefined;
6768
- }[] | undefined;
6769
6775
  };
6770
6776
  endDate?: string | Date | null | undefined;
6771
6777
  }>;
@@ -6885,7 +6891,17 @@ export declare const activesContractRouter: {
6885
6891
  qualificationId: string;
6886
6892
  qualificationTypeId?: string | null | undefined;
6887
6893
  }[];
6888
- currentCollaboration: {
6894
+ location?: {
6895
+ address?: string | null | undefined;
6896
+ postcode?: string | null | undefined;
6897
+ county?: string | null | undefined;
6898
+ adminDistrict?: string | null | undefined;
6899
+ builtUpArea?: string | null | undefined;
6900
+ postTown?: string | null | undefined;
6901
+ areaCovered?: string | null | undefined;
6902
+ } | null | undefined;
6903
+ workHours?: number | null | undefined;
6904
+ currentCollaboration?: {
6889
6905
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6890
6906
  createdAt: string;
6891
6907
  updatedAt: string;
@@ -6908,17 +6924,7 @@ export declare const activesContractRouter: {
6908
6924
  newCollaboration?: {
6909
6925
  id: string;
6910
6926
  } | null | undefined;
6911
- } | null;
6912
- location?: {
6913
- address?: string | null | undefined;
6914
- postcode?: string | null | undefined;
6915
- county?: string | null | undefined;
6916
- adminDistrict?: string | null | undefined;
6917
- builtUpArea?: string | null | undefined;
6918
- postTown?: string | null | undefined;
6919
- areaCovered?: string | null | undefined;
6920
6927
  } | null | undefined;
6921
- workHours?: number | null | undefined;
6922
6928
  };
6923
6929
  endDate?: string | null | undefined;
6924
6930
  };
@@ -7031,7 +7037,22 @@ export declare const activesContractRouter: {
7031
7037
  description: string;
7032
7038
  tradeId: string;
7033
7039
  numberOfPositions: number;
7034
- currentCollaboration: {
7040
+ location?: {
7041
+ address?: string | null | undefined;
7042
+ postcode?: string | null | undefined;
7043
+ county?: string | null | undefined;
7044
+ adminDistrict?: string | null | undefined;
7045
+ builtUpArea?: string | null | undefined;
7046
+ postTown?: string | null | undefined;
7047
+ areaCovered?: string | null | undefined;
7048
+ } | null | undefined;
7049
+ workHours?: number | null | undefined;
7050
+ jobQualifications?: {
7051
+ id: string;
7052
+ qualificationId: string;
7053
+ qualificationTypeId?: string | null | undefined;
7054
+ }[] | undefined;
7055
+ currentCollaboration?: {
7035
7056
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
7036
7057
  createdAt: string | Date;
7037
7058
  updatedAt: string | Date;
@@ -7054,22 +7075,7 @@ export declare const activesContractRouter: {
7054
7075
  newCollaboration?: {
7055
7076
  id: string;
7056
7077
  } | null | undefined;
7057
- } | null;
7058
- location?: {
7059
- address?: string | null | undefined;
7060
- postcode?: string | null | undefined;
7061
- county?: string | null | undefined;
7062
- adminDistrict?: string | null | undefined;
7063
- builtUpArea?: string | null | undefined;
7064
- postTown?: string | null | undefined;
7065
- areaCovered?: string | null | undefined;
7066
7078
  } | null | undefined;
7067
- workHours?: number | null | undefined;
7068
- jobQualifications?: {
7069
- id: string;
7070
- qualificationId: string;
7071
- qualificationTypeId?: string | null | undefined;
7072
- }[] | undefined;
7073
7079
  };
7074
7080
  endDate?: string | Date | null | undefined;
7075
7081
  };
@@ -7617,7 +7623,7 @@ export declare const activesContractRouter: {
7617
7623
  qualificationId: string;
7618
7624
  qualificationTypeId?: string | null | undefined;
7619
7625
  }>, "many">>>;
7620
- currentCollaboration: z.ZodNullable<z.ZodObject<{
7626
+ currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7621
7627
  id: z.ZodString;
7622
7628
  company: z.ZodOptional<z.ZodObject<{
7623
7629
  id: z.ZodString;
@@ -7712,7 +7718,7 @@ export declare const activesContractRouter: {
7712
7718
  newCollaboration?: {
7713
7719
  id: string;
7714
7720
  } | null | undefined;
7715
- }>>;
7721
+ }>>>;
7716
7722
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
7717
7723
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
7718
7724
  }, "strip", z.ZodTypeAny, {
@@ -7734,7 +7740,17 @@ export declare const activesContractRouter: {
7734
7740
  qualificationId: string;
7735
7741
  qualificationTypeId?: string | null | undefined;
7736
7742
  }[];
7737
- currentCollaboration: {
7743
+ location?: {
7744
+ address?: string | null | undefined;
7745
+ postcode?: string | null | undefined;
7746
+ county?: string | null | undefined;
7747
+ adminDistrict?: string | null | undefined;
7748
+ builtUpArea?: string | null | undefined;
7749
+ postTown?: string | null | undefined;
7750
+ areaCovered?: string | null | undefined;
7751
+ } | null | undefined;
7752
+ workHours?: number | null | undefined;
7753
+ currentCollaboration?: {
7738
7754
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
7739
7755
  createdAt: string;
7740
7756
  updatedAt: string;
@@ -7757,17 +7773,7 @@ export declare const activesContractRouter: {
7757
7773
  newCollaboration?: {
7758
7774
  id: string;
7759
7775
  } | null | undefined;
7760
- } | null;
7761
- location?: {
7762
- address?: string | null | undefined;
7763
- postcode?: string | null | undefined;
7764
- county?: string | null | undefined;
7765
- adminDistrict?: string | null | undefined;
7766
- builtUpArea?: string | null | undefined;
7767
- postTown?: string | null | undefined;
7768
- areaCovered?: string | null | undefined;
7769
7776
  } | null | undefined;
7770
- workHours?: number | null | undefined;
7771
7777
  }, {
7772
7778
  status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
7773
7779
  createdAt: string | Date;
@@ -7782,7 +7788,22 @@ export declare const activesContractRouter: {
7782
7788
  description: string;
7783
7789
  tradeId: string;
7784
7790
  numberOfPositions: number;
7785
- currentCollaboration: {
7791
+ location?: {
7792
+ address?: string | null | undefined;
7793
+ postcode?: string | null | undefined;
7794
+ county?: string | null | undefined;
7795
+ adminDistrict?: string | null | undefined;
7796
+ builtUpArea?: string | null | undefined;
7797
+ postTown?: string | null | undefined;
7798
+ areaCovered?: string | null | undefined;
7799
+ } | null | undefined;
7800
+ workHours?: number | null | undefined;
7801
+ jobQualifications?: {
7802
+ id: string;
7803
+ qualificationId: string;
7804
+ qualificationTypeId?: string | null | undefined;
7805
+ }[] | undefined;
7806
+ currentCollaboration?: {
7786
7807
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
7787
7808
  createdAt: string | Date;
7788
7809
  updatedAt: string | Date;
@@ -7805,22 +7826,7 @@ export declare const activesContractRouter: {
7805
7826
  newCollaboration?: {
7806
7827
  id: string;
7807
7828
  } | null | undefined;
7808
- } | null;
7809
- location?: {
7810
- address?: string | null | undefined;
7811
- postcode?: string | null | undefined;
7812
- county?: string | null | undefined;
7813
- adminDistrict?: string | null | undefined;
7814
- builtUpArea?: string | null | undefined;
7815
- postTown?: string | null | undefined;
7816
- areaCovered?: string | null | undefined;
7817
7829
  } | null | undefined;
7818
- workHours?: number | null | undefined;
7819
- jobQualifications?: {
7820
- id: string;
7821
- qualificationId: string;
7822
- qualificationTypeId?: string | null | undefined;
7823
- }[] | undefined;
7824
7830
  }>;
7825
7831
  userId: z.ZodString;
7826
7832
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -7923,7 +7929,17 @@ export declare const activesContractRouter: {
7923
7929
  qualificationId: string;
7924
7930
  qualificationTypeId?: string | null | undefined;
7925
7931
  }[];
7926
- currentCollaboration: {
7932
+ location?: {
7933
+ address?: string | null | undefined;
7934
+ postcode?: string | null | undefined;
7935
+ county?: string | null | undefined;
7936
+ adminDistrict?: string | null | undefined;
7937
+ builtUpArea?: string | null | undefined;
7938
+ postTown?: string | null | undefined;
7939
+ areaCovered?: string | null | undefined;
7940
+ } | null | undefined;
7941
+ workHours?: number | null | undefined;
7942
+ currentCollaboration?: {
7927
7943
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
7928
7944
  createdAt: string;
7929
7945
  updatedAt: string;
@@ -7946,17 +7962,7 @@ export declare const activesContractRouter: {
7946
7962
  newCollaboration?: {
7947
7963
  id: string;
7948
7964
  } | null | undefined;
7949
- } | null;
7950
- location?: {
7951
- address?: string | null | undefined;
7952
- postcode?: string | null | undefined;
7953
- county?: string | null | undefined;
7954
- adminDistrict?: string | null | undefined;
7955
- builtUpArea?: string | null | undefined;
7956
- postTown?: string | null | undefined;
7957
- areaCovered?: string | null | undefined;
7958
7965
  } | null | undefined;
7959
- workHours?: number | null | undefined;
7960
7966
  };
7961
7967
  endDate?: string | null | undefined;
7962
7968
  }, {
@@ -8052,7 +8058,22 @@ export declare const activesContractRouter: {
8052
8058
  description: string;
8053
8059
  tradeId: string;
8054
8060
  numberOfPositions: number;
8055
- currentCollaboration: {
8061
+ location?: {
8062
+ address?: string | null | undefined;
8063
+ postcode?: string | null | undefined;
8064
+ county?: string | null | undefined;
8065
+ adminDistrict?: string | null | undefined;
8066
+ builtUpArea?: string | null | undefined;
8067
+ postTown?: string | null | undefined;
8068
+ areaCovered?: string | null | undefined;
8069
+ } | null | undefined;
8070
+ workHours?: number | null | undefined;
8071
+ jobQualifications?: {
8072
+ id: string;
8073
+ qualificationId: string;
8074
+ qualificationTypeId?: string | null | undefined;
8075
+ }[] | undefined;
8076
+ currentCollaboration?: {
8056
8077
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
8057
8078
  createdAt: string | Date;
8058
8079
  updatedAt: string | Date;
@@ -8075,22 +8096,7 @@ export declare const activesContractRouter: {
8075
8096
  newCollaboration?: {
8076
8097
  id: string;
8077
8098
  } | null | undefined;
8078
- } | null;
8079
- location?: {
8080
- address?: string | null | undefined;
8081
- postcode?: string | null | undefined;
8082
- county?: string | null | undefined;
8083
- adminDistrict?: string | null | undefined;
8084
- builtUpArea?: string | null | undefined;
8085
- postTown?: string | null | undefined;
8086
- areaCovered?: string | null | undefined;
8087
8099
  } | null | undefined;
8088
- workHours?: number | null | undefined;
8089
- jobQualifications?: {
8090
- id: string;
8091
- qualificationId: string;
8092
- qualificationTypeId?: string | null | undefined;
8093
- }[] | undefined;
8094
8100
  };
8095
8101
  endDate?: string | Date | null | undefined;
8096
8102
  }>;
@@ -8210,7 +8216,17 @@ export declare const activesContractRouter: {
8210
8216
  qualificationId: string;
8211
8217
  qualificationTypeId?: string | null | undefined;
8212
8218
  }[];
8213
- currentCollaboration: {
8219
+ location?: {
8220
+ address?: string | null | undefined;
8221
+ postcode?: string | null | undefined;
8222
+ county?: string | null | undefined;
8223
+ adminDistrict?: string | null | undefined;
8224
+ builtUpArea?: string | null | undefined;
8225
+ postTown?: string | null | undefined;
8226
+ areaCovered?: string | null | undefined;
8227
+ } | null | undefined;
8228
+ workHours?: number | null | undefined;
8229
+ currentCollaboration?: {
8214
8230
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
8215
8231
  createdAt: string;
8216
8232
  updatedAt: string;
@@ -8233,17 +8249,7 @@ export declare const activesContractRouter: {
8233
8249
  newCollaboration?: {
8234
8250
  id: string;
8235
8251
  } | null | undefined;
8236
- } | null;
8237
- location?: {
8238
- address?: string | null | undefined;
8239
- postcode?: string | null | undefined;
8240
- county?: string | null | undefined;
8241
- adminDistrict?: string | null | undefined;
8242
- builtUpArea?: string | null | undefined;
8243
- postTown?: string | null | undefined;
8244
- areaCovered?: string | null | undefined;
8245
8252
  } | null | undefined;
8246
- workHours?: number | null | undefined;
8247
8253
  };
8248
8254
  endDate?: string | null | undefined;
8249
8255
  };
@@ -8356,7 +8362,22 @@ export declare const activesContractRouter: {
8356
8362
  description: string;
8357
8363
  tradeId: string;
8358
8364
  numberOfPositions: number;
8359
- currentCollaboration: {
8365
+ location?: {
8366
+ address?: string | null | undefined;
8367
+ postcode?: string | null | undefined;
8368
+ county?: string | null | undefined;
8369
+ adminDistrict?: string | null | undefined;
8370
+ builtUpArea?: string | null | undefined;
8371
+ postTown?: string | null | undefined;
8372
+ areaCovered?: string | null | undefined;
8373
+ } | null | undefined;
8374
+ workHours?: number | null | undefined;
8375
+ jobQualifications?: {
8376
+ id: string;
8377
+ qualificationId: string;
8378
+ qualificationTypeId?: string | null | undefined;
8379
+ }[] | undefined;
8380
+ currentCollaboration?: {
8360
8381
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
8361
8382
  createdAt: string | Date;
8362
8383
  updatedAt: string | Date;
@@ -8379,22 +8400,7 @@ export declare const activesContractRouter: {
8379
8400
  newCollaboration?: {
8380
8401
  id: string;
8381
8402
  } | null | undefined;
8382
- } | null;
8383
- location?: {
8384
- address?: string | null | undefined;
8385
- postcode?: string | null | undefined;
8386
- county?: string | null | undefined;
8387
- adminDistrict?: string | null | undefined;
8388
- builtUpArea?: string | null | undefined;
8389
- postTown?: string | null | undefined;
8390
- areaCovered?: string | null | undefined;
8391
8403
  } | null | undefined;
8392
- workHours?: number | null | undefined;
8393
- jobQualifications?: {
8394
- id: string;
8395
- qualificationId: string;
8396
- qualificationTypeId?: string | null | undefined;
8397
- }[] | undefined;
8398
8404
  };
8399
8405
  endDate?: string | Date | null | undefined;
8400
8406
  };