@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.
@@ -32,7 +32,7 @@ export declare const ActiveSchema: z.ZodObject<{
32
32
  firstName: z.ZodString;
33
33
  lastName: z.ZodString;
34
34
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- phoneNumbers: z.ZodArray<z.ZodObject<{
35
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
36
36
  id: z.ZodOptional<z.ZodString>;
37
37
  phoneNumber: z.ZodString;
38
38
  description: z.ZodOptional<z.ZodString>;
@@ -47,7 +47,7 @@ export declare const ActiveSchema: z.ZodObject<{
47
47
  description?: string | undefined;
48
48
  id?: string | undefined;
49
49
  isPrimary?: boolean | undefined;
50
- }>, "many">;
50
+ }>, "many">>>;
51
51
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
52
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
53
53
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -215,12 +215,6 @@ export declare const ActiveSchema: z.ZodObject<{
215
215
  id: string;
216
216
  firstName: string;
217
217
  lastName: string;
218
- phoneNumbers: {
219
- phoneNumber: string;
220
- description?: string | undefined;
221
- id?: string | undefined;
222
- isPrimary?: boolean | undefined;
223
- }[];
224
218
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
225
219
  hasTools: boolean;
226
220
  hasPpe: boolean;
@@ -234,6 +228,12 @@ export declare const ActiveSchema: z.ZodObject<{
234
228
  areaCovered?: string | null | undefined;
235
229
  } | null | undefined;
236
230
  email?: string | null | undefined;
231
+ phoneNumbers?: {
232
+ phoneNumber: string;
233
+ description?: string | undefined;
234
+ id?: string | undefined;
235
+ isPrimary?: boolean | undefined;
236
+ }[] | undefined;
237
237
  nino?: string | null | undefined;
238
238
  dateOfBirth?: string | Date | null | undefined;
239
239
  bio?: string | null | undefined;
@@ -314,7 +314,7 @@ export declare const ActiveSchema: z.ZodObject<{
314
314
  pay: z.ZodObject<{
315
315
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
316
316
  rate: z.ZodNumber;
317
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
317
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
318
318
  receivedRate: z.ZodNumber;
319
319
  }, "strip", z.ZodTypeAny, {
320
320
  rateUnit: "DAILY" | "HOURLY";
@@ -353,7 +353,7 @@ export declare const ActiveSchema: z.ZodObject<{
353
353
  areaCovered?: string | null | undefined;
354
354
  }>>>;
355
355
  tradeId: z.ZodString;
356
- jobQualifications: z.ZodArray<z.ZodObject<{
356
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
357
357
  id: z.ZodString;
358
358
  qualificationId: z.ZodString;
359
359
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -365,7 +365,7 @@ export declare const ActiveSchema: z.ZodObject<{
365
365
  id: string;
366
366
  qualificationId: string;
367
367
  qualificationTypeId?: string | null | undefined;
368
- }>, "many">;
368
+ }>, "many">>>;
369
369
  currentCollaboration: z.ZodNullable<z.ZodObject<{
370
370
  id: z.ZodString;
371
371
  company: z.ZodObject<{
@@ -531,11 +531,6 @@ export declare const ActiveSchema: z.ZodObject<{
531
531
  rateMax?: number | null | undefined;
532
532
  };
533
533
  tradeId: string;
534
- jobQualifications: {
535
- id: string;
536
- qualificationId: string;
537
- qualificationTypeId?: string | null | undefined;
538
- }[];
539
534
  currentCollaboration: {
540
535
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
541
536
  createdAt: string | Date;
@@ -570,6 +565,11 @@ export declare const ActiveSchema: z.ZodObject<{
570
565
  postTown?: string | null | undefined;
571
566
  areaCovered?: string | null | undefined;
572
567
  } | 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>;
@@ -735,12 +735,6 @@ export declare const ActiveSchema: z.ZodObject<{
735
735
  id: string;
736
736
  firstName: string;
737
737
  lastName: string;
738
- phoneNumbers: {
739
- phoneNumber: string;
740
- description?: string | undefined;
741
- id?: string | undefined;
742
- isPrimary?: boolean | undefined;
743
- }[];
744
738
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
745
739
  hasTools: boolean;
746
740
  hasPpe: boolean;
@@ -754,6 +748,12 @@ export declare const ActiveSchema: z.ZodObject<{
754
748
  areaCovered?: string | null | undefined;
755
749
  } | null | undefined;
756
750
  email?: string | null | undefined;
751
+ phoneNumbers?: {
752
+ phoneNumber: string;
753
+ description?: string | undefined;
754
+ id?: string | undefined;
755
+ isPrimary?: boolean | undefined;
756
+ }[] | undefined;
757
757
  nino?: string | null | undefined;
758
758
  dateOfBirth?: string | Date | null | undefined;
759
759
  bio?: string | null | undefined;
@@ -801,11 +801,6 @@ export declare const ActiveSchema: z.ZodObject<{
801
801
  rateMax?: number | null | undefined;
802
802
  };
803
803
  tradeId: string;
804
- jobQualifications: {
805
- id: string;
806
- qualificationId: string;
807
- qualificationTypeId?: string | null | undefined;
808
- }[];
809
804
  currentCollaboration: {
810
805
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
811
806
  createdAt: string | Date;
@@ -840,6 +835,11 @@ export declare const ActiveSchema: z.ZodObject<{
840
835
  postTown?: string | null | undefined;
841
836
  areaCovered?: string | null | undefined;
842
837
  } | 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
  }>;
@@ -1039,12 +1039,6 @@ export declare const ActiveSchema: z.ZodObject<{
1039
1039
  id: string;
1040
1040
  firstName: string;
1041
1041
  lastName: string;
1042
- phoneNumbers: {
1043
- phoneNumber: string;
1044
- description?: string | undefined;
1045
- id?: string | undefined;
1046
- isPrimary?: boolean | undefined;
1047
- }[];
1048
1042
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1049
1043
  hasTools: boolean;
1050
1044
  hasPpe: boolean;
@@ -1058,6 +1052,12 @@ export declare const ActiveSchema: z.ZodObject<{
1058
1052
  areaCovered?: string | null | undefined;
1059
1053
  } | null | undefined;
1060
1054
  email?: string | null | undefined;
1055
+ phoneNumbers?: {
1056
+ phoneNumber: string;
1057
+ description?: string | undefined;
1058
+ id?: string | undefined;
1059
+ isPrimary?: boolean | undefined;
1060
+ }[] | undefined;
1061
1061
  nino?: string | null | undefined;
1062
1062
  dateOfBirth?: string | Date | null | undefined;
1063
1063
  bio?: string | null | undefined;
@@ -1105,11 +1105,6 @@ export declare const ActiveSchema: z.ZodObject<{
1105
1105
  rateMax?: number | null | undefined;
1106
1106
  };
1107
1107
  tradeId: string;
1108
- jobQualifications: {
1109
- id: string;
1110
- qualificationId: string;
1111
- qualificationTypeId?: string | null | undefined;
1112
- }[];
1113
1108
  currentCollaboration: {
1114
1109
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1115
1110
  createdAt: string | Date;
@@ -1144,6 +1139,11 @@ export declare const ActiveSchema: z.ZodObject<{
1144
1139
  postTown?: string | null | undefined;
1145
1140
  areaCovered?: string | null | undefined;
1146
1141
  } | 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
  };
@@ -1339,7 +1339,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1339
1339
  firstName: z.ZodString;
1340
1340
  lastName: z.ZodString;
1341
1341
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1342
- phoneNumbers: z.ZodArray<z.ZodObject<{
1342
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1343
1343
  id: z.ZodOptional<z.ZodString>;
1344
1344
  phoneNumber: z.ZodString;
1345
1345
  description: z.ZodOptional<z.ZodString>;
@@ -1354,7 +1354,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1354
1354
  description?: string | undefined;
1355
1355
  id?: string | undefined;
1356
1356
  isPrimary?: boolean | undefined;
1357
- }>, "many">;
1357
+ }>, "many">>>;
1358
1358
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1359
1359
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
1360
1360
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1522,12 +1522,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1522
1522
  id: string;
1523
1523
  firstName: string;
1524
1524
  lastName: string;
1525
- phoneNumbers: {
1526
- phoneNumber: string;
1527
- description?: string | undefined;
1528
- id?: string | undefined;
1529
- isPrimary?: boolean | undefined;
1530
- }[];
1531
1525
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1532
1526
  hasTools: boolean;
1533
1527
  hasPpe: boolean;
@@ -1541,6 +1535,12 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1541
1535
  areaCovered?: string | null | undefined;
1542
1536
  } | null | undefined;
1543
1537
  email?: string | null | undefined;
1538
+ phoneNumbers?: {
1539
+ phoneNumber: string;
1540
+ description?: string | undefined;
1541
+ id?: string | undefined;
1542
+ isPrimary?: boolean | undefined;
1543
+ }[] | undefined;
1544
1544
  nino?: string | null | undefined;
1545
1545
  dateOfBirth?: string | Date | null | undefined;
1546
1546
  bio?: string | null | undefined;
@@ -1621,7 +1621,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1621
1621
  pay: z.ZodObject<{
1622
1622
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1623
1623
  rate: z.ZodNumber;
1624
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1624
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1625
1625
  receivedRate: z.ZodNumber;
1626
1626
  }, "strip", z.ZodTypeAny, {
1627
1627
  rateUnit: "DAILY" | "HOURLY";
@@ -1660,7 +1660,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1660
1660
  areaCovered?: string | null | undefined;
1661
1661
  }>>>;
1662
1662
  tradeId: z.ZodString;
1663
- jobQualifications: z.ZodArray<z.ZodObject<{
1663
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1664
1664
  id: z.ZodString;
1665
1665
  qualificationId: z.ZodString;
1666
1666
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1672,7 +1672,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1672
1672
  id: string;
1673
1673
  qualificationId: string;
1674
1674
  qualificationTypeId?: string | null | undefined;
1675
- }>, "many">;
1675
+ }>, "many">>>;
1676
1676
  currentCollaboration: z.ZodNullable<z.ZodObject<{
1677
1677
  id: z.ZodString;
1678
1678
  company: z.ZodObject<{
@@ -1838,11 +1838,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1838
1838
  rateMax?: number | null | undefined;
1839
1839
  };
1840
1840
  tradeId: string;
1841
- jobQualifications: {
1842
- id: string;
1843
- qualificationId: string;
1844
- qualificationTypeId?: string | null | undefined;
1845
- }[];
1846
1841
  currentCollaboration: {
1847
1842
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1848
1843
  createdAt: string | Date;
@@ -1877,6 +1872,11 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
1877
1872
  postTown?: string | null | undefined;
1878
1873
  areaCovered?: string | null | undefined;
1879
1874
  } | null | undefined;
1875
+ jobQualifications?: {
1876
+ id: string;
1877
+ qualificationId: string;
1878
+ qualificationTypeId?: string | null | undefined;
1879
+ }[] | undefined;
1880
1880
  }>;
1881
1881
  userId: z.ZodString;
1882
1882
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -2042,12 +2042,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2042
2042
  id: string;
2043
2043
  firstName: string;
2044
2044
  lastName: string;
2045
- phoneNumbers: {
2046
- phoneNumber: string;
2047
- description?: string | undefined;
2048
- id?: string | undefined;
2049
- isPrimary?: boolean | undefined;
2050
- }[];
2051
2045
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2052
2046
  hasTools: boolean;
2053
2047
  hasPpe: boolean;
@@ -2061,6 +2055,12 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2061
2055
  areaCovered?: string | null | undefined;
2062
2056
  } | null | undefined;
2063
2057
  email?: string | null | undefined;
2058
+ phoneNumbers?: {
2059
+ phoneNumber: string;
2060
+ description?: string | undefined;
2061
+ id?: string | undefined;
2062
+ isPrimary?: boolean | undefined;
2063
+ }[] | undefined;
2064
2064
  nino?: string | null | undefined;
2065
2065
  dateOfBirth?: string | Date | null | undefined;
2066
2066
  bio?: string | null | undefined;
@@ -2108,11 +2108,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2108
2108
  rateMax?: number | null | undefined;
2109
2109
  };
2110
2110
  tradeId: string;
2111
- jobQualifications: {
2112
- id: string;
2113
- qualificationId: string;
2114
- qualificationTypeId?: string | null | undefined;
2115
- }[];
2116
2111
  currentCollaboration: {
2117
2112
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2118
2113
  createdAt: string | Date;
@@ -2147,6 +2142,11 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2147
2142
  postTown?: string | null | undefined;
2148
2143
  areaCovered?: string | null | undefined;
2149
2144
  } | null | undefined;
2145
+ jobQualifications?: {
2146
+ id: string;
2147
+ qualificationId: string;
2148
+ qualificationTypeId?: string | null | undefined;
2149
+ }[] | undefined;
2150
2150
  };
2151
2151
  endDate?: string | Date | null | undefined;
2152
2152
  }>;
@@ -2346,12 +2346,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2346
2346
  id: string;
2347
2347
  firstName: string;
2348
2348
  lastName: string;
2349
- phoneNumbers: {
2350
- phoneNumber: string;
2351
- description?: string | undefined;
2352
- id?: string | undefined;
2353
- isPrimary?: boolean | undefined;
2354
- }[];
2355
2349
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2356
2350
  hasTools: boolean;
2357
2351
  hasPpe: boolean;
@@ -2365,6 +2359,12 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2365
2359
  areaCovered?: string | null | undefined;
2366
2360
  } | null | undefined;
2367
2361
  email?: string | null | undefined;
2362
+ phoneNumbers?: {
2363
+ phoneNumber: string;
2364
+ description?: string | undefined;
2365
+ id?: string | undefined;
2366
+ isPrimary?: boolean | undefined;
2367
+ }[] | undefined;
2368
2368
  nino?: string | null | undefined;
2369
2369
  dateOfBirth?: string | Date | null | undefined;
2370
2370
  bio?: string | null | undefined;
@@ -2412,11 +2412,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2412
2412
  rateMax?: number | null | undefined;
2413
2413
  };
2414
2414
  tradeId: string;
2415
- jobQualifications: {
2416
- id: string;
2417
- qualificationId: string;
2418
- qualificationTypeId?: string | null | undefined;
2419
- }[];
2420
2415
  currentCollaboration: {
2421
2416
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2422
2417
  createdAt: string | Date;
@@ -2451,6 +2446,11 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2451
2446
  postTown?: string | null | undefined;
2452
2447
  areaCovered?: string | null | undefined;
2453
2448
  } | null | undefined;
2449
+ jobQualifications?: {
2450
+ id: string;
2451
+ qualificationId: string;
2452
+ qualificationTypeId?: string | null | undefined;
2453
+ }[] | undefined;
2454
2454
  };
2455
2455
  endDate?: string | Date | null | undefined;
2456
2456
  };
@@ -2663,12 +2663,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2663
2663
  id: string;
2664
2664
  firstName: string;
2665
2665
  lastName: string;
2666
- phoneNumbers: {
2667
- phoneNumber: string;
2668
- description?: string | undefined;
2669
- id?: string | undefined;
2670
- isPrimary?: boolean | undefined;
2671
- }[];
2672
2666
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2673
2667
  hasTools: boolean;
2674
2668
  hasPpe: boolean;
@@ -2682,6 +2676,12 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2682
2676
  areaCovered?: string | null | undefined;
2683
2677
  } | null | undefined;
2684
2678
  email?: string | null | undefined;
2679
+ phoneNumbers?: {
2680
+ phoneNumber: string;
2681
+ description?: string | undefined;
2682
+ id?: string | undefined;
2683
+ isPrimary?: boolean | undefined;
2684
+ }[] | undefined;
2685
2685
  nino?: string | null | undefined;
2686
2686
  dateOfBirth?: string | Date | null | undefined;
2687
2687
  bio?: string | null | undefined;
@@ -2729,11 +2729,6 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2729
2729
  rateMax?: number | null | undefined;
2730
2730
  };
2731
2731
  tradeId: string;
2732
- jobQualifications: {
2733
- id: string;
2734
- qualificationId: string;
2735
- qualificationTypeId?: string | null | undefined;
2736
- }[];
2737
2732
  currentCollaboration: {
2738
2733
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2739
2734
  createdAt: string | Date;
@@ -2768,6 +2763,11 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2768
2763
  postTown?: string | null | undefined;
2769
2764
  areaCovered?: string | null | undefined;
2770
2765
  } | null | undefined;
2766
+ jobQualifications?: {
2767
+ id: string;
2768
+ qualificationId: string;
2769
+ qualificationTypeId?: string | null | undefined;
2770
+ }[] | undefined;
2771
2771
  };
2772
2772
  endDate?: string | Date | null | undefined;
2773
2773
  };
@@ -2968,7 +2968,7 @@ export declare const activesContractRouter: {
2968
2968
  firstName: z.ZodString;
2969
2969
  lastName: z.ZodString;
2970
2970
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2971
- phoneNumbers: z.ZodArray<z.ZodObject<{
2971
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2972
2972
  id: z.ZodOptional<z.ZodString>;
2973
2973
  phoneNumber: z.ZodString;
2974
2974
  description: z.ZodOptional<z.ZodString>;
@@ -2983,7 +2983,7 @@ export declare const activesContractRouter: {
2983
2983
  description?: string | undefined;
2984
2984
  id?: string | undefined;
2985
2985
  isPrimary?: boolean | undefined;
2986
- }>, "many">;
2986
+ }>, "many">>>;
2987
2987
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2988
2988
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
2989
2989
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3151,12 +3151,6 @@ export declare const activesContractRouter: {
3151
3151
  id: string;
3152
3152
  firstName: string;
3153
3153
  lastName: string;
3154
- phoneNumbers: {
3155
- phoneNumber: string;
3156
- description?: string | undefined;
3157
- id?: string | undefined;
3158
- isPrimary?: boolean | undefined;
3159
- }[];
3160
3154
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3161
3155
  hasTools: boolean;
3162
3156
  hasPpe: boolean;
@@ -3170,6 +3164,12 @@ export declare const activesContractRouter: {
3170
3164
  areaCovered?: string | null | undefined;
3171
3165
  } | null | undefined;
3172
3166
  email?: string | null | undefined;
3167
+ phoneNumbers?: {
3168
+ phoneNumber: string;
3169
+ description?: string | undefined;
3170
+ id?: string | undefined;
3171
+ isPrimary?: boolean | undefined;
3172
+ }[] | undefined;
3173
3173
  nino?: string | null | undefined;
3174
3174
  dateOfBirth?: string | Date | null | undefined;
3175
3175
  bio?: string | null | undefined;
@@ -3250,7 +3250,7 @@ export declare const activesContractRouter: {
3250
3250
  pay: z.ZodObject<{
3251
3251
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
3252
3252
  rate: z.ZodNumber;
3253
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3253
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
3254
3254
  receivedRate: z.ZodNumber;
3255
3255
  }, "strip", z.ZodTypeAny, {
3256
3256
  rateUnit: "DAILY" | "HOURLY";
@@ -3289,7 +3289,7 @@ export declare const activesContractRouter: {
3289
3289
  areaCovered?: string | null | undefined;
3290
3290
  }>>>;
3291
3291
  tradeId: z.ZodString;
3292
- jobQualifications: z.ZodArray<z.ZodObject<{
3292
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3293
3293
  id: z.ZodString;
3294
3294
  qualificationId: z.ZodString;
3295
3295
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3301,7 +3301,7 @@ export declare const activesContractRouter: {
3301
3301
  id: string;
3302
3302
  qualificationId: string;
3303
3303
  qualificationTypeId?: string | null | undefined;
3304
- }>, "many">;
3304
+ }>, "many">>>;
3305
3305
  currentCollaboration: z.ZodNullable<z.ZodObject<{
3306
3306
  id: z.ZodString;
3307
3307
  company: z.ZodObject<{
@@ -3467,11 +3467,6 @@ export declare const activesContractRouter: {
3467
3467
  rateMax?: number | null | undefined;
3468
3468
  };
3469
3469
  tradeId: string;
3470
- jobQualifications: {
3471
- id: string;
3472
- qualificationId: string;
3473
- qualificationTypeId?: string | null | undefined;
3474
- }[];
3475
3470
  currentCollaboration: {
3476
3471
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3477
3472
  createdAt: string | Date;
@@ -3506,6 +3501,11 @@ export declare const activesContractRouter: {
3506
3501
  postTown?: string | null | undefined;
3507
3502
  areaCovered?: string | null | undefined;
3508
3503
  } | null | undefined;
3504
+ jobQualifications?: {
3505
+ id: string;
3506
+ qualificationId: string;
3507
+ qualificationTypeId?: string | null | undefined;
3508
+ }[] | undefined;
3509
3509
  }>;
3510
3510
  userId: z.ZodString;
3511
3511
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -3671,12 +3671,6 @@ export declare const activesContractRouter: {
3671
3671
  id: string;
3672
3672
  firstName: string;
3673
3673
  lastName: string;
3674
- phoneNumbers: {
3675
- phoneNumber: string;
3676
- description?: string | undefined;
3677
- id?: string | undefined;
3678
- isPrimary?: boolean | undefined;
3679
- }[];
3680
3674
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3681
3675
  hasTools: boolean;
3682
3676
  hasPpe: boolean;
@@ -3690,6 +3684,12 @@ export declare const activesContractRouter: {
3690
3684
  areaCovered?: string | null | undefined;
3691
3685
  } | null | undefined;
3692
3686
  email?: string | null | undefined;
3687
+ phoneNumbers?: {
3688
+ phoneNumber: string;
3689
+ description?: string | undefined;
3690
+ id?: string | undefined;
3691
+ isPrimary?: boolean | undefined;
3692
+ }[] | undefined;
3693
3693
  nino?: string | null | undefined;
3694
3694
  dateOfBirth?: string | Date | null | undefined;
3695
3695
  bio?: string | null | undefined;
@@ -3737,11 +3737,6 @@ export declare const activesContractRouter: {
3737
3737
  rateMax?: number | null | undefined;
3738
3738
  };
3739
3739
  tradeId: string;
3740
- jobQualifications: {
3741
- id: string;
3742
- qualificationId: string;
3743
- qualificationTypeId?: string | null | undefined;
3744
- }[];
3745
3740
  currentCollaboration: {
3746
3741
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3747
3742
  createdAt: string | Date;
@@ -3776,6 +3771,11 @@ export declare const activesContractRouter: {
3776
3771
  postTown?: string | null | undefined;
3777
3772
  areaCovered?: string | null | undefined;
3778
3773
  } | null | undefined;
3774
+ jobQualifications?: {
3775
+ id: string;
3776
+ qualificationId: string;
3777
+ qualificationTypeId?: string | null | undefined;
3778
+ }[] | undefined;
3779
3779
  };
3780
3780
  endDate?: string | Date | null | undefined;
3781
3781
  }>;
@@ -3975,12 +3975,6 @@ export declare const activesContractRouter: {
3975
3975
  id: string;
3976
3976
  firstName: string;
3977
3977
  lastName: string;
3978
- phoneNumbers: {
3979
- phoneNumber: string;
3980
- description?: string | undefined;
3981
- id?: string | undefined;
3982
- isPrimary?: boolean | undefined;
3983
- }[];
3984
3978
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3985
3979
  hasTools: boolean;
3986
3980
  hasPpe: boolean;
@@ -3994,6 +3988,12 @@ export declare const activesContractRouter: {
3994
3988
  areaCovered?: string | null | undefined;
3995
3989
  } | null | undefined;
3996
3990
  email?: string | null | undefined;
3991
+ phoneNumbers?: {
3992
+ phoneNumber: string;
3993
+ description?: string | undefined;
3994
+ id?: string | undefined;
3995
+ isPrimary?: boolean | undefined;
3996
+ }[] | undefined;
3997
3997
  nino?: string | null | undefined;
3998
3998
  dateOfBirth?: string | Date | null | undefined;
3999
3999
  bio?: string | null | undefined;
@@ -4041,11 +4041,6 @@ export declare const activesContractRouter: {
4041
4041
  rateMax?: number | null | undefined;
4042
4042
  };
4043
4043
  tradeId: string;
4044
- jobQualifications: {
4045
- id: string;
4046
- qualificationId: string;
4047
- qualificationTypeId?: string | null | undefined;
4048
- }[];
4049
4044
  currentCollaboration: {
4050
4045
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4051
4046
  createdAt: string | Date;
@@ -4080,6 +4075,11 @@ export declare const activesContractRouter: {
4080
4075
  postTown?: string | null | undefined;
4081
4076
  areaCovered?: string | null | undefined;
4082
4077
  } | null | undefined;
4078
+ jobQualifications?: {
4079
+ id: string;
4080
+ qualificationId: string;
4081
+ qualificationTypeId?: string | null | undefined;
4082
+ }[] | undefined;
4083
4083
  };
4084
4084
  endDate?: string | Date | null | undefined;
4085
4085
  };
@@ -4370,7 +4370,7 @@ export declare const activesContractRouter: {
4370
4370
  firstName: z.ZodString;
4371
4371
  lastName: z.ZodString;
4372
4372
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4373
- phoneNumbers: z.ZodArray<z.ZodObject<{
4373
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4374
4374
  id: z.ZodOptional<z.ZodString>;
4375
4375
  phoneNumber: z.ZodString;
4376
4376
  description: z.ZodOptional<z.ZodString>;
@@ -4385,7 +4385,7 @@ export declare const activesContractRouter: {
4385
4385
  description?: string | undefined;
4386
4386
  id?: string | undefined;
4387
4387
  isPrimary?: boolean | undefined;
4388
- }>, "many">;
4388
+ }>, "many">>>;
4389
4389
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4390
4390
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
4391
4391
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4553,12 +4553,6 @@ export declare const activesContractRouter: {
4553
4553
  id: string;
4554
4554
  firstName: string;
4555
4555
  lastName: string;
4556
- phoneNumbers: {
4557
- phoneNumber: string;
4558
- description?: string | undefined;
4559
- id?: string | undefined;
4560
- isPrimary?: boolean | undefined;
4561
- }[];
4562
4556
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
4563
4557
  hasTools: boolean;
4564
4558
  hasPpe: boolean;
@@ -4572,6 +4566,12 @@ export declare const activesContractRouter: {
4572
4566
  areaCovered?: string | null | undefined;
4573
4567
  } | null | undefined;
4574
4568
  email?: string | null | undefined;
4569
+ phoneNumbers?: {
4570
+ phoneNumber: string;
4571
+ description?: string | undefined;
4572
+ id?: string | undefined;
4573
+ isPrimary?: boolean | undefined;
4574
+ }[] | undefined;
4575
4575
  nino?: string | null | undefined;
4576
4576
  dateOfBirth?: string | Date | null | undefined;
4577
4577
  bio?: string | null | undefined;
@@ -4652,7 +4652,7 @@ export declare const activesContractRouter: {
4652
4652
  pay: z.ZodObject<{
4653
4653
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
4654
4654
  rate: z.ZodNumber;
4655
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4655
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
4656
4656
  receivedRate: z.ZodNumber;
4657
4657
  }, "strip", z.ZodTypeAny, {
4658
4658
  rateUnit: "DAILY" | "HOURLY";
@@ -4691,7 +4691,7 @@ export declare const activesContractRouter: {
4691
4691
  areaCovered?: string | null | undefined;
4692
4692
  }>>>;
4693
4693
  tradeId: z.ZodString;
4694
- jobQualifications: z.ZodArray<z.ZodObject<{
4694
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4695
4695
  id: z.ZodString;
4696
4696
  qualificationId: z.ZodString;
4697
4697
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -4703,7 +4703,7 @@ export declare const activesContractRouter: {
4703
4703
  id: string;
4704
4704
  qualificationId: string;
4705
4705
  qualificationTypeId?: string | null | undefined;
4706
- }>, "many">;
4706
+ }>, "many">>>;
4707
4707
  currentCollaboration: z.ZodNullable<z.ZodObject<{
4708
4708
  id: z.ZodString;
4709
4709
  company: z.ZodObject<{
@@ -4869,11 +4869,6 @@ export declare const activesContractRouter: {
4869
4869
  rateMax?: number | null | undefined;
4870
4870
  };
4871
4871
  tradeId: string;
4872
- jobQualifications: {
4873
- id: string;
4874
- qualificationId: string;
4875
- qualificationTypeId?: string | null | undefined;
4876
- }[];
4877
4872
  currentCollaboration: {
4878
4873
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4879
4874
  createdAt: string | Date;
@@ -4908,6 +4903,11 @@ export declare const activesContractRouter: {
4908
4903
  postTown?: string | null | undefined;
4909
4904
  areaCovered?: string | null | undefined;
4910
4905
  } | null | undefined;
4906
+ jobQualifications?: {
4907
+ id: string;
4908
+ qualificationId: string;
4909
+ qualificationTypeId?: string | null | undefined;
4910
+ }[] | undefined;
4911
4911
  }>;
4912
4912
  userId: z.ZodString;
4913
4913
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -5073,12 +5073,6 @@ export declare const activesContractRouter: {
5073
5073
  id: string;
5074
5074
  firstName: string;
5075
5075
  lastName: string;
5076
- phoneNumbers: {
5077
- phoneNumber: string;
5078
- description?: string | undefined;
5079
- id?: string | undefined;
5080
- isPrimary?: boolean | undefined;
5081
- }[];
5082
5076
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5083
5077
  hasTools: boolean;
5084
5078
  hasPpe: boolean;
@@ -5092,6 +5086,12 @@ export declare const activesContractRouter: {
5092
5086
  areaCovered?: string | null | undefined;
5093
5087
  } | null | undefined;
5094
5088
  email?: string | null | undefined;
5089
+ phoneNumbers?: {
5090
+ phoneNumber: string;
5091
+ description?: string | undefined;
5092
+ id?: string | undefined;
5093
+ isPrimary?: boolean | undefined;
5094
+ }[] | undefined;
5095
5095
  nino?: string | null | undefined;
5096
5096
  dateOfBirth?: string | Date | null | undefined;
5097
5097
  bio?: string | null | undefined;
@@ -5139,11 +5139,6 @@ export declare const activesContractRouter: {
5139
5139
  rateMax?: number | null | undefined;
5140
5140
  };
5141
5141
  tradeId: string;
5142
- jobQualifications: {
5143
- id: string;
5144
- qualificationId: string;
5145
- qualificationTypeId?: string | null | undefined;
5146
- }[];
5147
5142
  currentCollaboration: {
5148
5143
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5149
5144
  createdAt: string | Date;
@@ -5178,6 +5173,11 @@ export declare const activesContractRouter: {
5178
5173
  postTown?: string | null | undefined;
5179
5174
  areaCovered?: string | null | undefined;
5180
5175
  } | null | undefined;
5176
+ jobQualifications?: {
5177
+ id: string;
5178
+ qualificationId: string;
5179
+ qualificationTypeId?: string | null | undefined;
5180
+ }[] | undefined;
5181
5181
  };
5182
5182
  endDate?: string | Date | null | undefined;
5183
5183
  }>;
@@ -5377,12 +5377,6 @@ export declare const activesContractRouter: {
5377
5377
  id: string;
5378
5378
  firstName: string;
5379
5379
  lastName: string;
5380
- phoneNumbers: {
5381
- phoneNumber: string;
5382
- description?: string | undefined;
5383
- id?: string | undefined;
5384
- isPrimary?: boolean | undefined;
5385
- }[];
5386
5380
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5387
5381
  hasTools: boolean;
5388
5382
  hasPpe: boolean;
@@ -5396,6 +5390,12 @@ export declare const activesContractRouter: {
5396
5390
  areaCovered?: string | null | undefined;
5397
5391
  } | null | undefined;
5398
5392
  email?: string | null | undefined;
5393
+ phoneNumbers?: {
5394
+ phoneNumber: string;
5395
+ description?: string | undefined;
5396
+ id?: string | undefined;
5397
+ isPrimary?: boolean | undefined;
5398
+ }[] | undefined;
5399
5399
  nino?: string | null | undefined;
5400
5400
  dateOfBirth?: string | Date | null | undefined;
5401
5401
  bio?: string | null | undefined;
@@ -5443,11 +5443,6 @@ export declare const activesContractRouter: {
5443
5443
  rateMax?: number | null | undefined;
5444
5444
  };
5445
5445
  tradeId: string;
5446
- jobQualifications: {
5447
- id: string;
5448
- qualificationId: string;
5449
- qualificationTypeId?: string | null | undefined;
5450
- }[];
5451
5446
  currentCollaboration: {
5452
5447
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5453
5448
  createdAt: string | Date;
@@ -5482,6 +5477,11 @@ export declare const activesContractRouter: {
5482
5477
  postTown?: string | null | undefined;
5483
5478
  areaCovered?: string | null | undefined;
5484
5479
  } | null | undefined;
5480
+ jobQualifications?: {
5481
+ id: string;
5482
+ qualificationId: string;
5483
+ qualificationTypeId?: string | null | undefined;
5484
+ }[] | undefined;
5485
5485
  };
5486
5486
  endDate?: string | Date | null | undefined;
5487
5487
  };
@@ -5694,12 +5694,6 @@ export declare const activesContractRouter: {
5694
5694
  id: string;
5695
5695
  firstName: string;
5696
5696
  lastName: string;
5697
- phoneNumbers: {
5698
- phoneNumber: string;
5699
- description?: string | undefined;
5700
- id?: string | undefined;
5701
- isPrimary?: boolean | undefined;
5702
- }[];
5703
5697
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5704
5698
  hasTools: boolean;
5705
5699
  hasPpe: boolean;
@@ -5713,6 +5707,12 @@ export declare const activesContractRouter: {
5713
5707
  areaCovered?: string | null | undefined;
5714
5708
  } | null | undefined;
5715
5709
  email?: string | null | undefined;
5710
+ phoneNumbers?: {
5711
+ phoneNumber: string;
5712
+ description?: string | undefined;
5713
+ id?: string | undefined;
5714
+ isPrimary?: boolean | undefined;
5715
+ }[] | undefined;
5716
5716
  nino?: string | null | undefined;
5717
5717
  dateOfBirth?: string | Date | null | undefined;
5718
5718
  bio?: string | null | undefined;
@@ -5760,11 +5760,6 @@ export declare const activesContractRouter: {
5760
5760
  rateMax?: number | null | undefined;
5761
5761
  };
5762
5762
  tradeId: string;
5763
- jobQualifications: {
5764
- id: string;
5765
- qualificationId: string;
5766
- qualificationTypeId?: string | null | undefined;
5767
- }[];
5768
5763
  currentCollaboration: {
5769
5764
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5770
5765
  createdAt: string | Date;
@@ -5799,6 +5794,11 @@ export declare const activesContractRouter: {
5799
5794
  postTown?: string | null | undefined;
5800
5795
  areaCovered?: string | null | undefined;
5801
5796
  } | null | undefined;
5797
+ jobQualifications?: {
5798
+ id: string;
5799
+ qualificationId: string;
5800
+ qualificationTypeId?: string | null | undefined;
5801
+ }[] | undefined;
5802
5802
  };
5803
5803
  endDate?: string | Date | null | undefined;
5804
5804
  };
@@ -5958,7 +5958,7 @@ export declare const activesContractRouter: {
5958
5958
  firstName: z.ZodString;
5959
5959
  lastName: z.ZodString;
5960
5960
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5961
- phoneNumbers: z.ZodArray<z.ZodObject<{
5961
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5962
5962
  id: z.ZodOptional<z.ZodString>;
5963
5963
  phoneNumber: z.ZodString;
5964
5964
  description: z.ZodOptional<z.ZodString>;
@@ -5973,7 +5973,7 @@ export declare const activesContractRouter: {
5973
5973
  description?: string | undefined;
5974
5974
  id?: string | undefined;
5975
5975
  isPrimary?: boolean | undefined;
5976
- }>, "many">;
5976
+ }>, "many">>>;
5977
5977
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5978
5978
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
5979
5979
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6141,12 +6141,6 @@ export declare const activesContractRouter: {
6141
6141
  id: string;
6142
6142
  firstName: string;
6143
6143
  lastName: string;
6144
- phoneNumbers: {
6145
- phoneNumber: string;
6146
- description?: string | undefined;
6147
- id?: string | undefined;
6148
- isPrimary?: boolean | undefined;
6149
- }[];
6150
6144
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
6151
6145
  hasTools: boolean;
6152
6146
  hasPpe: boolean;
@@ -6160,6 +6154,12 @@ export declare const activesContractRouter: {
6160
6154
  areaCovered?: string | null | undefined;
6161
6155
  } | null | undefined;
6162
6156
  email?: string | null | undefined;
6157
+ phoneNumbers?: {
6158
+ phoneNumber: string;
6159
+ description?: string | undefined;
6160
+ id?: string | undefined;
6161
+ isPrimary?: boolean | undefined;
6162
+ }[] | undefined;
6163
6163
  nino?: string | null | undefined;
6164
6164
  dateOfBirth?: string | Date | null | undefined;
6165
6165
  bio?: string | null | undefined;
@@ -6240,7 +6240,7 @@ export declare const activesContractRouter: {
6240
6240
  pay: z.ZodObject<{
6241
6241
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
6242
6242
  rate: z.ZodNumber;
6243
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6243
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
6244
6244
  receivedRate: z.ZodNumber;
6245
6245
  }, "strip", z.ZodTypeAny, {
6246
6246
  rateUnit: "DAILY" | "HOURLY";
@@ -6279,7 +6279,7 @@ export declare const activesContractRouter: {
6279
6279
  areaCovered?: string | null | undefined;
6280
6280
  }>>>;
6281
6281
  tradeId: z.ZodString;
6282
- jobQualifications: z.ZodArray<z.ZodObject<{
6282
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6283
6283
  id: z.ZodString;
6284
6284
  qualificationId: z.ZodString;
6285
6285
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -6291,7 +6291,7 @@ export declare const activesContractRouter: {
6291
6291
  id: string;
6292
6292
  qualificationId: string;
6293
6293
  qualificationTypeId?: string | null | undefined;
6294
- }>, "many">;
6294
+ }>, "many">>>;
6295
6295
  currentCollaboration: z.ZodNullable<z.ZodObject<{
6296
6296
  id: z.ZodString;
6297
6297
  company: z.ZodObject<{
@@ -6457,11 +6457,6 @@ export declare const activesContractRouter: {
6457
6457
  rateMax?: number | null | undefined;
6458
6458
  };
6459
6459
  tradeId: string;
6460
- jobQualifications: {
6461
- id: string;
6462
- qualificationId: string;
6463
- qualificationTypeId?: string | null | undefined;
6464
- }[];
6465
6460
  currentCollaboration: {
6466
6461
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6467
6462
  createdAt: string | Date;
@@ -6496,6 +6491,11 @@ export declare const activesContractRouter: {
6496
6491
  postTown?: string | null | undefined;
6497
6492
  areaCovered?: string | null | undefined;
6498
6493
  } | null | undefined;
6494
+ jobQualifications?: {
6495
+ id: string;
6496
+ qualificationId: string;
6497
+ qualificationTypeId?: string | null | undefined;
6498
+ }[] | undefined;
6499
6499
  }>;
6500
6500
  userId: z.ZodString;
6501
6501
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -6661,12 +6661,6 @@ export declare const activesContractRouter: {
6661
6661
  id: string;
6662
6662
  firstName: string;
6663
6663
  lastName: string;
6664
- phoneNumbers: {
6665
- phoneNumber: string;
6666
- description?: string | undefined;
6667
- id?: string | undefined;
6668
- isPrimary?: boolean | undefined;
6669
- }[];
6670
6664
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
6671
6665
  hasTools: boolean;
6672
6666
  hasPpe: boolean;
@@ -6680,6 +6674,12 @@ export declare const activesContractRouter: {
6680
6674
  areaCovered?: string | null | undefined;
6681
6675
  } | null | undefined;
6682
6676
  email?: string | null | undefined;
6677
+ phoneNumbers?: {
6678
+ phoneNumber: string;
6679
+ description?: string | undefined;
6680
+ id?: string | undefined;
6681
+ isPrimary?: boolean | undefined;
6682
+ }[] | undefined;
6683
6683
  nino?: string | null | undefined;
6684
6684
  dateOfBirth?: string | Date | null | undefined;
6685
6685
  bio?: string | null | undefined;
@@ -6727,11 +6727,6 @@ export declare const activesContractRouter: {
6727
6727
  rateMax?: number | null | undefined;
6728
6728
  };
6729
6729
  tradeId: string;
6730
- jobQualifications: {
6731
- id: string;
6732
- qualificationId: string;
6733
- qualificationTypeId?: string | null | undefined;
6734
- }[];
6735
6730
  currentCollaboration: {
6736
6731
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
6737
6732
  createdAt: string | Date;
@@ -6766,6 +6761,11 @@ export declare const activesContractRouter: {
6766
6761
  postTown?: string | null | undefined;
6767
6762
  areaCovered?: string | null | undefined;
6768
6763
  } | null | undefined;
6764
+ jobQualifications?: {
6765
+ id: string;
6766
+ qualificationId: string;
6767
+ qualificationTypeId?: string | null | undefined;
6768
+ }[] | undefined;
6769
6769
  };
6770
6770
  endDate?: string | Date | null | undefined;
6771
6771
  }>;
@@ -6965,12 +6965,6 @@ export declare const activesContractRouter: {
6965
6965
  id: string;
6966
6966
  firstName: string;
6967
6967
  lastName: string;
6968
- phoneNumbers: {
6969
- phoneNumber: string;
6970
- description?: string | undefined;
6971
- id?: string | undefined;
6972
- isPrimary?: boolean | undefined;
6973
- }[];
6974
6968
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
6975
6969
  hasTools: boolean;
6976
6970
  hasPpe: boolean;
@@ -6984,6 +6978,12 @@ export declare const activesContractRouter: {
6984
6978
  areaCovered?: string | null | undefined;
6985
6979
  } | null | undefined;
6986
6980
  email?: string | null | undefined;
6981
+ phoneNumbers?: {
6982
+ phoneNumber: string;
6983
+ description?: string | undefined;
6984
+ id?: string | undefined;
6985
+ isPrimary?: boolean | undefined;
6986
+ }[] | undefined;
6987
6987
  nino?: string | null | undefined;
6988
6988
  dateOfBirth?: string | Date | null | undefined;
6989
6989
  bio?: string | null | undefined;
@@ -7031,11 +7031,6 @@ export declare const activesContractRouter: {
7031
7031
  rateMax?: number | null | undefined;
7032
7032
  };
7033
7033
  tradeId: string;
7034
- jobQualifications: {
7035
- id: string;
7036
- qualificationId: string;
7037
- qualificationTypeId?: string | null | undefined;
7038
- }[];
7039
7034
  currentCollaboration: {
7040
7035
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
7041
7036
  createdAt: string | Date;
@@ -7070,6 +7065,11 @@ export declare const activesContractRouter: {
7070
7065
  postTown?: string | null | undefined;
7071
7066
  areaCovered?: string | null | undefined;
7072
7067
  } | null | undefined;
7068
+ jobQualifications?: {
7069
+ id: string;
7070
+ qualificationId: string;
7071
+ qualificationTypeId?: string | null | undefined;
7072
+ }[] | undefined;
7073
7073
  };
7074
7074
  endDate?: string | Date | null | undefined;
7075
7075
  };
@@ -7283,7 +7283,7 @@ export declare const activesContractRouter: {
7283
7283
  firstName: z.ZodString;
7284
7284
  lastName: z.ZodString;
7285
7285
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7286
- phoneNumbers: z.ZodArray<z.ZodObject<{
7286
+ phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
7287
7287
  id: z.ZodOptional<z.ZodString>;
7288
7288
  phoneNumber: z.ZodString;
7289
7289
  description: z.ZodOptional<z.ZodString>;
@@ -7298,7 +7298,7 @@ export declare const activesContractRouter: {
7298
7298
  description?: string | undefined;
7299
7299
  id?: string | undefined;
7300
7300
  isPrimary?: boolean | undefined;
7301
- }>, "many">;
7301
+ }>, "many">>>;
7302
7302
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7303
7303
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
7304
7304
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7466,12 +7466,6 @@ export declare const activesContractRouter: {
7466
7466
  id: string;
7467
7467
  firstName: string;
7468
7468
  lastName: string;
7469
- phoneNumbers: {
7470
- phoneNumber: string;
7471
- description?: string | undefined;
7472
- id?: string | undefined;
7473
- isPrimary?: boolean | undefined;
7474
- }[];
7475
7469
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
7476
7470
  hasTools: boolean;
7477
7471
  hasPpe: boolean;
@@ -7485,6 +7479,12 @@ export declare const activesContractRouter: {
7485
7479
  areaCovered?: string | null | undefined;
7486
7480
  } | null | undefined;
7487
7481
  email?: string | null | undefined;
7482
+ phoneNumbers?: {
7483
+ phoneNumber: string;
7484
+ description?: string | undefined;
7485
+ id?: string | undefined;
7486
+ isPrimary?: boolean | undefined;
7487
+ }[] | undefined;
7488
7488
  nino?: string | null | undefined;
7489
7489
  dateOfBirth?: string | Date | null | undefined;
7490
7490
  bio?: string | null | undefined;
@@ -7565,7 +7565,7 @@ export declare const activesContractRouter: {
7565
7565
  pay: z.ZodObject<{
7566
7566
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
7567
7567
  rate: z.ZodNumber;
7568
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
7568
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
7569
7569
  receivedRate: z.ZodNumber;
7570
7570
  }, "strip", z.ZodTypeAny, {
7571
7571
  rateUnit: "DAILY" | "HOURLY";
@@ -7604,7 +7604,7 @@ export declare const activesContractRouter: {
7604
7604
  areaCovered?: string | null | undefined;
7605
7605
  }>>>;
7606
7606
  tradeId: z.ZodString;
7607
- jobQualifications: z.ZodArray<z.ZodObject<{
7607
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
7608
7608
  id: z.ZodString;
7609
7609
  qualificationId: z.ZodString;
7610
7610
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -7616,7 +7616,7 @@ export declare const activesContractRouter: {
7616
7616
  id: string;
7617
7617
  qualificationId: string;
7618
7618
  qualificationTypeId?: string | null | undefined;
7619
- }>, "many">;
7619
+ }>, "many">>>;
7620
7620
  currentCollaboration: z.ZodNullable<z.ZodObject<{
7621
7621
  id: z.ZodString;
7622
7622
  company: z.ZodObject<{
@@ -7782,11 +7782,6 @@ export declare const activesContractRouter: {
7782
7782
  rateMax?: number | null | undefined;
7783
7783
  };
7784
7784
  tradeId: string;
7785
- jobQualifications: {
7786
- id: string;
7787
- qualificationId: string;
7788
- qualificationTypeId?: string | null | undefined;
7789
- }[];
7790
7785
  currentCollaboration: {
7791
7786
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
7792
7787
  createdAt: string | Date;
@@ -7821,6 +7816,11 @@ export declare const activesContractRouter: {
7821
7816
  postTown?: string | null | undefined;
7822
7817
  areaCovered?: string | null | undefined;
7823
7818
  } | null | undefined;
7819
+ jobQualifications?: {
7820
+ id: string;
7821
+ qualificationId: string;
7822
+ qualificationTypeId?: string | null | undefined;
7823
+ }[] | undefined;
7824
7824
  }>;
7825
7825
  userId: z.ZodString;
7826
7826
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -7986,12 +7986,6 @@ export declare const activesContractRouter: {
7986
7986
  id: string;
7987
7987
  firstName: string;
7988
7988
  lastName: string;
7989
- phoneNumbers: {
7990
- phoneNumber: string;
7991
- description?: string | undefined;
7992
- id?: string | undefined;
7993
- isPrimary?: boolean | undefined;
7994
- }[];
7995
7989
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
7996
7990
  hasTools: boolean;
7997
7991
  hasPpe: boolean;
@@ -8005,6 +7999,12 @@ export declare const activesContractRouter: {
8005
7999
  areaCovered?: string | null | undefined;
8006
8000
  } | null | undefined;
8007
8001
  email?: string | null | undefined;
8002
+ phoneNumbers?: {
8003
+ phoneNumber: string;
8004
+ description?: string | undefined;
8005
+ id?: string | undefined;
8006
+ isPrimary?: boolean | undefined;
8007
+ }[] | undefined;
8008
8008
  nino?: string | null | undefined;
8009
8009
  dateOfBirth?: string | Date | null | undefined;
8010
8010
  bio?: string | null | undefined;
@@ -8052,11 +8052,6 @@ export declare const activesContractRouter: {
8052
8052
  rateMax?: number | null | undefined;
8053
8053
  };
8054
8054
  tradeId: string;
8055
- jobQualifications: {
8056
- id: string;
8057
- qualificationId: string;
8058
- qualificationTypeId?: string | null | undefined;
8059
- }[];
8060
8055
  currentCollaboration: {
8061
8056
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
8062
8057
  createdAt: string | Date;
@@ -8091,6 +8086,11 @@ export declare const activesContractRouter: {
8091
8086
  postTown?: string | null | undefined;
8092
8087
  areaCovered?: string | null | undefined;
8093
8088
  } | null | undefined;
8089
+ jobQualifications?: {
8090
+ id: string;
8091
+ qualificationId: string;
8092
+ qualificationTypeId?: string | null | undefined;
8093
+ }[] | undefined;
8094
8094
  };
8095
8095
  endDate?: string | Date | null | undefined;
8096
8096
  }>;
@@ -8290,12 +8290,6 @@ export declare const activesContractRouter: {
8290
8290
  id: string;
8291
8291
  firstName: string;
8292
8292
  lastName: string;
8293
- phoneNumbers: {
8294
- phoneNumber: string;
8295
- description?: string | undefined;
8296
- id?: string | undefined;
8297
- isPrimary?: boolean | undefined;
8298
- }[];
8299
8293
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
8300
8294
  hasTools: boolean;
8301
8295
  hasPpe: boolean;
@@ -8309,6 +8303,12 @@ export declare const activesContractRouter: {
8309
8303
  areaCovered?: string | null | undefined;
8310
8304
  } | null | undefined;
8311
8305
  email?: string | null | undefined;
8306
+ phoneNumbers?: {
8307
+ phoneNumber: string;
8308
+ description?: string | undefined;
8309
+ id?: string | undefined;
8310
+ isPrimary?: boolean | undefined;
8311
+ }[] | undefined;
8312
8312
  nino?: string | null | undefined;
8313
8313
  dateOfBirth?: string | Date | null | undefined;
8314
8314
  bio?: string | null | undefined;
@@ -8356,11 +8356,6 @@ export declare const activesContractRouter: {
8356
8356
  rateMax?: number | null | undefined;
8357
8357
  };
8358
8358
  tradeId: string;
8359
- jobQualifications: {
8360
- id: string;
8361
- qualificationId: string;
8362
- qualificationTypeId?: string | null | undefined;
8363
- }[];
8364
8359
  currentCollaboration: {
8365
8360
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
8366
8361
  createdAt: string | Date;
@@ -8395,6 +8390,11 @@ export declare const activesContractRouter: {
8395
8390
  postTown?: string | null | undefined;
8396
8391
  areaCovered?: string | null | undefined;
8397
8392
  } | null | undefined;
8393
+ jobQualifications?: {
8394
+ id: string;
8395
+ qualificationId: string;
8396
+ qualificationTypeId?: string | null | undefined;
8397
+ }[] | undefined;
8398
8398
  };
8399
8399
  endDate?: string | Date | null | undefined;
8400
8400
  };