@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.
@@ -1 +1 @@
1
- {"version":3,"file":"collaborations.contract.d.ts","sourceRoot":"","sources":["../../contracts/collaborations/collaborations.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB;;GAEG;AACH,eAAO,MAAM,yBAAyB,mHAUM,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,iCAAiC,iDAEM,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AA4BF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BM,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASM,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;EAMM,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASM,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBF,CAAC;AAEnD,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHxC,CAAC"}
@@ -55,8 +55,7 @@ const UserSummaryForCollaborationSchema = zod_1.z
55
55
  /**
56
56
  * Main Collaboration Schema
57
57
  */
58
- exports.CollaborationSchema = zod_1.z
59
- .object({
58
+ exports.CollaborationSchema = zod_1.z.object({
60
59
  id: zod_1.z.string().uuid().describe('Collaboration ID'),
61
60
  company: CompanySummarySchema.describe('Company'),
62
61
  client: ClientSummarySchema.describe('Client'),
@@ -78,8 +77,7 @@ exports.CollaborationSchema = zod_1.z
78
77
  .optional()
79
78
  .nullable()
80
79
  .describe('New Collaboration (when status is CHANGED_COMPANY or CHANGED_AGENT)'),
81
- })
82
- .openapi({ title: 'Collaboration' });
80
+ });
83
81
  /**
84
82
  * Create Collaboration Schema
85
83
  */
@@ -15,7 +15,7 @@ export type JobSortableFields = z.infer<typeof JobSortableFieldsSchema>;
15
15
  export declare const PaySchema: z.ZodObject<{
16
16
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
17
17
  rate: z.ZodNumber;
18
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
18
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
19
19
  receivedRate: z.ZodNumber;
20
20
  }, "strip", z.ZodTypeAny, {
21
21
  rateUnit: "DAILY" | "HOURLY";
@@ -86,7 +86,7 @@ export declare const JobSchema: z.ZodObject<{
86
86
  pay: z.ZodObject<{
87
87
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
88
88
  rate: z.ZodNumber;
89
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
89
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
90
90
  receivedRate: z.ZodNumber;
91
91
  }, "strip", z.ZodTypeAny, {
92
92
  rateUnit: "DAILY" | "HOURLY";
@@ -125,7 +125,7 @@ export declare const JobSchema: z.ZodObject<{
125
125
  areaCovered?: string | null | undefined;
126
126
  }>>>;
127
127
  tradeId: z.ZodString;
128
- jobQualifications: z.ZodArray<z.ZodObject<{
128
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
129
129
  id: z.ZodString;
130
130
  qualificationId: z.ZodString;
131
131
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -137,7 +137,7 @@ export declare const JobSchema: z.ZodObject<{
137
137
  id: string;
138
138
  qualificationId: string;
139
139
  qualificationTypeId?: string | null | undefined;
140
- }>, "many">;
140
+ }>, "many">>>;
141
141
  currentCollaboration: z.ZodNullable<z.ZodObject<{
142
142
  id: z.ZodString;
143
143
  company: z.ZodObject<{
@@ -303,11 +303,6 @@ export declare const JobSchema: z.ZodObject<{
303
303
  rateMax?: number | null | undefined;
304
304
  };
305
305
  tradeId: string;
306
- jobQualifications: {
307
- id: string;
308
- qualificationId: string;
309
- qualificationTypeId?: string | null | undefined;
310
- }[];
311
306
  currentCollaboration: {
312
307
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
313
308
  createdAt: string | Date;
@@ -342,6 +337,11 @@ export declare const JobSchema: z.ZodObject<{
342
337
  postTown?: string | null | undefined;
343
338
  areaCovered?: string | null | undefined;
344
339
  } | null | undefined;
340
+ jobQualifications?: {
341
+ id: string;
342
+ qualificationId: string;
343
+ qualificationTypeId?: string | null | undefined;
344
+ }[] | undefined;
345
345
  }>;
346
346
  /**
347
347
  * Create Job Schema
@@ -619,7 +619,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
619
619
  pay: z.ZodObject<{
620
620
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
621
621
  rate: z.ZodNumber;
622
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
622
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
623
623
  receivedRate: z.ZodNumber;
624
624
  }, "strip", z.ZodTypeAny, {
625
625
  rateUnit: "DAILY" | "HOURLY";
@@ -658,7 +658,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
658
658
  areaCovered?: string | null | undefined;
659
659
  }>>>;
660
660
  tradeId: z.ZodString;
661
- jobQualifications: z.ZodArray<z.ZodObject<{
661
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
662
662
  id: z.ZodString;
663
663
  qualificationId: z.ZodString;
664
664
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -670,7 +670,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
670
670
  id: string;
671
671
  qualificationId: string;
672
672
  qualificationTypeId?: string | null | undefined;
673
- }>, "many">;
673
+ }>, "many">>>;
674
674
  currentCollaboration: z.ZodNullable<z.ZodObject<{
675
675
  id: z.ZodString;
676
676
  company: z.ZodObject<{
@@ -836,11 +836,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
836
836
  rateMax?: number | null | undefined;
837
837
  };
838
838
  tradeId: string;
839
- jobQualifications: {
840
- id: string;
841
- qualificationId: string;
842
- qualificationTypeId?: string | null | undefined;
843
- }[];
844
839
  currentCollaboration: {
845
840
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
846
841
  createdAt: string | Date;
@@ -875,6 +870,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
875
870
  postTown?: string | null | undefined;
876
871
  areaCovered?: string | null | undefined;
877
872
  } | null | undefined;
873
+ jobQualifications?: {
874
+ id: string;
875
+ qualificationId: string;
876
+ qualificationTypeId?: string | null | undefined;
877
+ }[] | undefined;
878
878
  }>, "many">;
879
879
  totalCount: z.ZodNumber;
880
880
  limit: z.ZodNumber;
@@ -957,11 +957,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
957
957
  rateMax?: number | null | undefined;
958
958
  };
959
959
  tradeId: string;
960
- jobQualifications: {
961
- id: string;
962
- qualificationId: string;
963
- qualificationTypeId?: string | null | undefined;
964
- }[];
965
960
  currentCollaboration: {
966
961
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
967
962
  createdAt: string | Date;
@@ -996,6 +991,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
996
991
  postTown?: string | null | undefined;
997
992
  areaCovered?: string | null | undefined;
998
993
  } | null | undefined;
994
+ jobQualifications?: {
995
+ id: string;
996
+ qualificationId: string;
997
+ qualificationTypeId?: string | null | undefined;
998
+ }[] | undefined;
999
999
  }[];
1000
1000
  totalCount: number;
1001
1001
  skip: number;
@@ -1224,7 +1224,7 @@ export declare const jobsContractRouter: {
1224
1224
  pay: z.ZodObject<{
1225
1225
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1226
1226
  rate: z.ZodNumber;
1227
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1227
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1228
1228
  receivedRate: z.ZodNumber;
1229
1229
  }, "strip", z.ZodTypeAny, {
1230
1230
  rateUnit: "DAILY" | "HOURLY";
@@ -1263,7 +1263,7 @@ export declare const jobsContractRouter: {
1263
1263
  areaCovered?: string | null | undefined;
1264
1264
  }>>>;
1265
1265
  tradeId: z.ZodString;
1266
- jobQualifications: z.ZodArray<z.ZodObject<{
1266
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1267
1267
  id: z.ZodString;
1268
1268
  qualificationId: z.ZodString;
1269
1269
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1275,7 +1275,7 @@ export declare const jobsContractRouter: {
1275
1275
  id: string;
1276
1276
  qualificationId: string;
1277
1277
  qualificationTypeId?: string | null | undefined;
1278
- }>, "many">;
1278
+ }>, "many">>>;
1279
1279
  currentCollaboration: z.ZodNullable<z.ZodObject<{
1280
1280
  id: z.ZodString;
1281
1281
  company: z.ZodObject<{
@@ -1441,11 +1441,6 @@ export declare const jobsContractRouter: {
1441
1441
  rateMax?: number | null | undefined;
1442
1442
  };
1443
1443
  tradeId: string;
1444
- jobQualifications: {
1445
- id: string;
1446
- qualificationId: string;
1447
- qualificationTypeId?: string | null | undefined;
1448
- }[];
1449
1444
  currentCollaboration: {
1450
1445
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1451
1446
  createdAt: string | Date;
@@ -1480,6 +1475,11 @@ export declare const jobsContractRouter: {
1480
1475
  postTown?: string | null | undefined;
1481
1476
  areaCovered?: string | null | undefined;
1482
1477
  } | null | undefined;
1478
+ jobQualifications?: {
1479
+ id: string;
1480
+ qualificationId: string;
1481
+ qualificationTypeId?: string | null | undefined;
1482
+ }[] | undefined;
1483
1483
  }>;
1484
1484
  409: z.ZodObject<{
1485
1485
  statusCode: z.ZodNumber;
@@ -1694,7 +1694,7 @@ export declare const jobsContractRouter: {
1694
1694
  pay: z.ZodObject<{
1695
1695
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
1696
1696
  rate: z.ZodNumber;
1697
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1697
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1698
1698
  receivedRate: z.ZodNumber;
1699
1699
  }, "strip", z.ZodTypeAny, {
1700
1700
  rateUnit: "DAILY" | "HOURLY";
@@ -1733,7 +1733,7 @@ export declare const jobsContractRouter: {
1733
1733
  areaCovered?: string | null | undefined;
1734
1734
  }>>>;
1735
1735
  tradeId: z.ZodString;
1736
- jobQualifications: z.ZodArray<z.ZodObject<{
1736
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1737
1737
  id: z.ZodString;
1738
1738
  qualificationId: z.ZodString;
1739
1739
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1745,7 +1745,7 @@ export declare const jobsContractRouter: {
1745
1745
  id: string;
1746
1746
  qualificationId: string;
1747
1747
  qualificationTypeId?: string | null | undefined;
1748
- }>, "many">;
1748
+ }>, "many">>>;
1749
1749
  currentCollaboration: z.ZodNullable<z.ZodObject<{
1750
1750
  id: z.ZodString;
1751
1751
  company: z.ZodObject<{
@@ -1911,11 +1911,6 @@ export declare const jobsContractRouter: {
1911
1911
  rateMax?: number | null | undefined;
1912
1912
  };
1913
1913
  tradeId: string;
1914
- jobQualifications: {
1915
- id: string;
1916
- qualificationId: string;
1917
- qualificationTypeId?: string | null | undefined;
1918
- }[];
1919
1914
  currentCollaboration: {
1920
1915
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1921
1916
  createdAt: string | Date;
@@ -1950,6 +1945,11 @@ export declare const jobsContractRouter: {
1950
1945
  postTown?: string | null | undefined;
1951
1946
  areaCovered?: string | null | undefined;
1952
1947
  } | null | undefined;
1948
+ jobQualifications?: {
1949
+ id: string;
1950
+ qualificationId: string;
1951
+ qualificationTypeId?: string | null | undefined;
1952
+ }[] | undefined;
1953
1953
  }>, "many">;
1954
1954
  totalCount: z.ZodNumber;
1955
1955
  limit: z.ZodNumber;
@@ -2032,11 +2032,6 @@ export declare const jobsContractRouter: {
2032
2032
  rateMax?: number | null | undefined;
2033
2033
  };
2034
2034
  tradeId: string;
2035
- jobQualifications: {
2036
- id: string;
2037
- qualificationId: string;
2038
- qualificationTypeId?: string | null | undefined;
2039
- }[];
2040
2035
  currentCollaboration: {
2041
2036
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2042
2037
  createdAt: string | Date;
@@ -2071,6 +2066,11 @@ export declare const jobsContractRouter: {
2071
2066
  postTown?: string | null | undefined;
2072
2067
  areaCovered?: string | null | undefined;
2073
2068
  } | null | undefined;
2069
+ jobQualifications?: {
2070
+ id: string;
2071
+ qualificationId: string;
2072
+ qualificationTypeId?: string | null | undefined;
2073
+ }[] | undefined;
2074
2074
  }[];
2075
2075
  totalCount: number;
2076
2076
  skip: number;
@@ -2206,7 +2206,7 @@ export declare const jobsContractRouter: {
2206
2206
  pay: z.ZodObject<{
2207
2207
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
2208
2208
  rate: z.ZodNumber;
2209
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2209
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
2210
2210
  receivedRate: z.ZodNumber;
2211
2211
  }, "strip", z.ZodTypeAny, {
2212
2212
  rateUnit: "DAILY" | "HOURLY";
@@ -2245,7 +2245,7 @@ export declare const jobsContractRouter: {
2245
2245
  areaCovered?: string | null | undefined;
2246
2246
  }>>>;
2247
2247
  tradeId: z.ZodString;
2248
- jobQualifications: z.ZodArray<z.ZodObject<{
2248
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2249
2249
  id: z.ZodString;
2250
2250
  qualificationId: z.ZodString;
2251
2251
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2257,7 +2257,7 @@ export declare const jobsContractRouter: {
2257
2257
  id: string;
2258
2258
  qualificationId: string;
2259
2259
  qualificationTypeId?: string | null | undefined;
2260
- }>, "many">;
2260
+ }>, "many">>>;
2261
2261
  currentCollaboration: z.ZodNullable<z.ZodObject<{
2262
2262
  id: z.ZodString;
2263
2263
  company: z.ZodObject<{
@@ -2423,11 +2423,6 @@ export declare const jobsContractRouter: {
2423
2423
  rateMax?: number | null | undefined;
2424
2424
  };
2425
2425
  tradeId: string;
2426
- jobQualifications: {
2427
- id: string;
2428
- qualificationId: string;
2429
- qualificationTypeId?: string | null | undefined;
2430
- }[];
2431
2426
  currentCollaboration: {
2432
2427
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2433
2428
  createdAt: string | Date;
@@ -2462,6 +2457,11 @@ export declare const jobsContractRouter: {
2462
2457
  postTown?: string | null | undefined;
2463
2458
  areaCovered?: string | null | undefined;
2464
2459
  } | null | undefined;
2460
+ jobQualifications?: {
2461
+ id: string;
2462
+ qualificationId: string;
2463
+ qualificationTypeId?: string | null | undefined;
2464
+ }[] | undefined;
2465
2465
  }>;
2466
2466
  404: z.ZodObject<{
2467
2467
  statusCode: z.ZodNumber;
@@ -2713,7 +2713,7 @@ export declare const jobsContractRouter: {
2713
2713
  pay: z.ZodObject<{
2714
2714
  rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
2715
2715
  rate: z.ZodNumber;
2716
- rateMax: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2716
+ rateMax: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
2717
2717
  receivedRate: z.ZodNumber;
2718
2718
  }, "strip", z.ZodTypeAny, {
2719
2719
  rateUnit: "DAILY" | "HOURLY";
@@ -2752,7 +2752,7 @@ export declare const jobsContractRouter: {
2752
2752
  areaCovered?: string | null | undefined;
2753
2753
  }>>>;
2754
2754
  tradeId: z.ZodString;
2755
- jobQualifications: z.ZodArray<z.ZodObject<{
2755
+ jobQualifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2756
2756
  id: z.ZodString;
2757
2757
  qualificationId: z.ZodString;
2758
2758
  qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2764,7 +2764,7 @@ export declare const jobsContractRouter: {
2764
2764
  id: string;
2765
2765
  qualificationId: string;
2766
2766
  qualificationTypeId?: string | null | undefined;
2767
- }>, "many">;
2767
+ }>, "many">>>;
2768
2768
  currentCollaboration: z.ZodNullable<z.ZodObject<{
2769
2769
  id: z.ZodString;
2770
2770
  company: z.ZodObject<{
@@ -2930,11 +2930,6 @@ export declare const jobsContractRouter: {
2930
2930
  rateMax?: number | null | undefined;
2931
2931
  };
2932
2932
  tradeId: string;
2933
- jobQualifications: {
2934
- id: string;
2935
- qualificationId: string;
2936
- qualificationTypeId?: string | null | undefined;
2937
- }[];
2938
2933
  currentCollaboration: {
2939
2934
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2940
2935
  createdAt: string | Date;
@@ -2969,6 +2964,11 @@ export declare const jobsContractRouter: {
2969
2964
  postTown?: string | null | undefined;
2970
2965
  areaCovered?: string | null | undefined;
2971
2966
  } | null | undefined;
2967
+ jobQualifications?: {
2968
+ id: string;
2969
+ qualificationId: string;
2970
+ qualificationTypeId?: string | null | undefined;
2971
+ }[] | undefined;
2972
2972
  }>;
2973
2973
  404: z.ZodObject<{
2974
2974
  statusCode: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"jobs.contract.d.ts","sourceRoot":"","sources":["../../contracts/jobs/jobs.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB;;GAEG;AACH,eAAO,MAAM,eAAe,iEAEM,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,uBAAuB,qFAQM,CAAC;AAE3C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;EAYM,CAAC;AAE7B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAWM,CAAC;AAEnC,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAC5C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAWM,CAAC;AAE1C,eAAO,MAAM,4BAA4B;;;;;;;;;EASM,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAs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  exports.PaySchema = zod_1.z
35
35
  .object({
36
36
  rateUnit: common_schemas_1.RateUnitSchema.describe('The unit for the pay rate'),
37
- rate: zod_1.z.number().min(1).describe('The pay rate'),
37
+ rate: zod_1.z.coerce.number().min(1).describe('The pay rate'),
38
38
  rateMax: zod_1.z
39
- .number()
40
- .min(1)
39
+ .union([zod_1.z.coerce.number().min(1), zod_1.z.null()])
41
40
  .optional()
42
- .nullable()
43
41
  .describe('The maximum pay rate (for a range)'),
44
- receivedRate: zod_1.z.number().min(1).describe('The received pay rate'),
42
+ receivedRate: zod_1.z.coerce.number().min(1).describe('The received pay rate'),
45
43
  })
46
44
  .openapi({ title: 'Pay' });
47
45
  exports.CreatePaySchema = zod_1.z
@@ -93,7 +91,7 @@ exports.JobSchema = zod_1.z
93
91
  .int()
94
92
  .min(1)
95
93
  .describe('Number of Positions Available'),
96
- workHours: zod_1.z
94
+ workHours: zod_1.z.coerce
97
95
  .number()
98
96
  .min(0.01)
99
97
  .max(24)
@@ -108,6 +106,8 @@ exports.JobSchema = zod_1.z
108
106
  tradeId: zod_1.z.string().uuid().describe('Trade ID'),
109
107
  jobQualifications: zod_1.z
110
108
  .array(exports.JobQualificationSchema)
109
+ .optional()
110
+ .default([])
111
111
  .describe('Job Qualifications'),
112
112
  currentCollaboration: collaborations_contract_1.CollaborationSchema.nullable().describe('Current Collaboration'),
113
113
  createdAt: zod_1.z