@dakkitor/api-contracts 1.1.21 → 1.1.23

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.
@@ -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,10 +137,10 @@ 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
- company: z.ZodObject<{
143
+ company: z.ZodOptional<z.ZodObject<{
144
144
  id: z.ZodString;
145
145
  name: z.ZodString;
146
146
  }, "strip", z.ZodTypeAny, {
@@ -149,8 +149,8 @@ export declare const JobSchema: z.ZodObject<{
149
149
  }, {
150
150
  id: string;
151
151
  name: string;
152
- }>;
153
- client: z.ZodObject<{
152
+ }>>;
153
+ client: z.ZodOptional<z.ZodObject<{
154
154
  id: z.ZodString;
155
155
  name: z.ZodString;
156
156
  }, "strip", z.ZodTypeAny, {
@@ -159,8 +159,8 @@ export declare const JobSchema: z.ZodObject<{
159
159
  }, {
160
160
  id: string;
161
161
  name: string;
162
- }>;
163
- user: z.ZodObject<{
162
+ }>>;
163
+ user: z.ZodOptional<z.ZodObject<{
164
164
  id: z.ZodString;
165
165
  firstName: z.ZodString;
166
166
  lastName: z.ZodString;
@@ -175,7 +175,7 @@ export declare const JobSchema: z.ZodObject<{
175
175
  firstName: string;
176
176
  lastName: string;
177
177
  email: string;
178
- }>;
178
+ }>>;
179
179
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
180
180
  userId: z.ZodString;
181
181
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -188,48 +188,48 @@ export declare const JobSchema: z.ZodObject<{
188
188
  id: string;
189
189
  }>>>;
190
190
  }, "strip", z.ZodTypeAny, {
191
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
192
191
  createdAt: string;
193
192
  updatedAt: string;
193
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
194
194
  id: string;
195
- company: {
195
+ userId: string;
196
+ company?: {
196
197
  id: string;
197
198
  name: string;
198
- };
199
- client: {
199
+ } | undefined;
200
+ client?: {
200
201
  id: string;
201
202
  name: string;
202
- };
203
- user: {
203
+ } | undefined;
204
+ user?: {
204
205
  id: string;
205
206
  firstName: string;
206
207
  lastName: string;
207
208
  email: string;
208
- };
209
- userId: string;
209
+ } | undefined;
210
210
  newCollaboration?: {
211
211
  id: string;
212
212
  } | null | undefined;
213
213
  }, {
214
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
215
214
  createdAt: string | Date;
216
215
  updatedAt: string | Date;
216
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
217
217
  id: string;
218
- company: {
218
+ userId: string;
219
+ company?: {
219
220
  id: string;
220
221
  name: string;
221
- };
222
- client: {
222
+ } | undefined;
223
+ client?: {
223
224
  id: string;
224
225
  name: string;
225
- };
226
- user: {
226
+ } | undefined;
227
+ user?: {
227
228
  id: string;
228
229
  firstName: string;
229
230
  lastName: string;
230
231
  email: string;
231
- };
232
- userId: string;
232
+ } | undefined;
233
233
  newCollaboration?: {
234
234
  id: string;
235
235
  } | null | undefined;
@@ -237,12 +237,12 @@ export declare const JobSchema: z.ZodObject<{
237
237
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
238
238
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
239
239
  }, "strip", z.ZodTypeAny, {
240
- description: string;
241
- numberOfPositions: number;
242
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
243
240
  createdAt: string;
244
241
  updatedAt: string;
242
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
245
243
  id: string;
244
+ description: string;
245
+ numberOfPositions: number;
246
246
  pay: {
247
247
  rateUnit: "DAILY" | "HOURLY";
248
248
  rate: number;
@@ -256,25 +256,25 @@ export declare const JobSchema: z.ZodObject<{
256
256
  qualificationTypeId?: string | null | undefined;
257
257
  }[];
258
258
  currentCollaboration: {
259
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
260
259
  createdAt: string;
261
260
  updatedAt: string;
261
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
262
262
  id: string;
263
- company: {
263
+ userId: string;
264
+ company?: {
264
265
  id: string;
265
266
  name: string;
266
- };
267
- client: {
267
+ } | undefined;
268
+ client?: {
268
269
  id: string;
269
270
  name: string;
270
- };
271
- user: {
271
+ } | undefined;
272
+ user?: {
272
273
  id: string;
273
274
  firstName: string;
274
275
  lastName: string;
275
276
  email: string;
276
- };
277
- userId: string;
277
+ } | undefined;
278
278
  newCollaboration?: {
279
279
  id: string;
280
280
  } | null | undefined;
@@ -290,12 +290,12 @@ export declare const JobSchema: z.ZodObject<{
290
290
  areaCovered?: string | null | undefined;
291
291
  } | null | undefined;
292
292
  }, {
293
- description: string;
294
- numberOfPositions: number;
295
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
296
293
  createdAt: string | Date;
297
294
  updatedAt: string | Date;
295
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
298
296
  id: string;
297
+ description: string;
298
+ numberOfPositions: number;
299
299
  pay: {
300
300
  rateUnit: "DAILY" | "HOURLY";
301
301
  rate: number;
@@ -303,31 +303,26 @@ 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
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
313
307
  createdAt: string | Date;
314
308
  updatedAt: string | Date;
309
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
315
310
  id: string;
316
- company: {
311
+ userId: string;
312
+ company?: {
317
313
  id: string;
318
314
  name: string;
319
- };
320
- client: {
315
+ } | undefined;
316
+ client?: {
321
317
  id: string;
322
318
  name: string;
323
- };
324
- user: {
319
+ } | undefined;
320
+ user?: {
325
321
  id: string;
326
322
  firstName: string;
327
323
  lastName: string;
328
324
  email: string;
329
- };
330
- userId: string;
325
+ } | undefined;
331
326
  newCollaboration?: {
332
327
  id: string;
333
328
  } | null | undefined;
@@ -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
@@ -495,9 +495,9 @@ export declare const UpdateJobSchema: z.ZodObject<{
495
495
  }>, "many">>;
496
496
  status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
497
497
  }, "strip", z.ZodTypeAny, {
498
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
498
499
  description?: string | undefined;
499
500
  numberOfPositions?: number | undefined;
500
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
501
501
  workHours?: number | undefined;
502
502
  pay?: {
503
503
  rate: number;
@@ -518,9 +518,9 @@ export declare const UpdateJobSchema: z.ZodObject<{
518
518
  id: string;
519
519
  } | undefined;
520
520
  }, {
521
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
521
522
  description?: string | undefined;
522
523
  numberOfPositions?: number | undefined;
523
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
524
524
  workHours?: number | undefined;
525
525
  pay?: {
526
526
  rate: number;
@@ -577,11 +577,13 @@ export declare const FilterJobSchema: z.ZodObject<{
577
577
  }, "strip", z.ZodTypeAny, {
578
578
  limit: number;
579
579
  page: number;
580
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
581
580
  createdAt?: {
582
581
  from?: string | null | undefined;
583
582
  to?: string | null | undefined;
584
583
  } | null | undefined;
584
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
585
+ sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
586
+ sortOrder?: "ASC" | "DESC" | null | undefined;
585
587
  pay?: {
586
588
  minRate?: number | null | undefined;
587
589
  maxRate?: number | null | undefined;
@@ -589,25 +591,23 @@ export declare const FilterJobSchema: z.ZodObject<{
589
591
  postcode?: string | null | undefined;
590
592
  tradeId?: string | null | undefined;
591
593
  distance?: number | null | undefined;
592
- sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
593
- sortOrder?: "ASC" | "DESC" | null | undefined;
594
594
  }, {
595
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
596
595
  createdAt?: {
597
596
  from?: string | null | undefined;
598
597
  to?: string | null | undefined;
599
598
  } | null | undefined;
599
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
600
+ limit?: number | undefined;
601
+ page?: number | undefined;
602
+ sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
603
+ sortOrder?: "ASC" | "DESC" | null | undefined;
600
604
  pay?: {
601
605
  minRate?: number | null | undefined;
602
606
  maxRate?: number | null | undefined;
603
607
  } | null | undefined;
604
608
  postcode?: string | null | undefined;
605
609
  tradeId?: string | null | undefined;
606
- limit?: number | undefined;
607
- page?: number | undefined;
608
610
  distance?: number | null | undefined;
609
- sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
610
- sortOrder?: "ASC" | "DESC" | null | undefined;
611
611
  }>;
612
612
  export declare const PaginatedJobResponseSchema: z.ZodObject<{
613
613
  items: z.ZodArray<z.ZodObject<{
@@ -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,10 +670,10 @@ 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
- company: z.ZodObject<{
676
+ company: z.ZodOptional<z.ZodObject<{
677
677
  id: z.ZodString;
678
678
  name: z.ZodString;
679
679
  }, "strip", z.ZodTypeAny, {
@@ -682,8 +682,8 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
682
682
  }, {
683
683
  id: string;
684
684
  name: string;
685
- }>;
686
- client: z.ZodObject<{
685
+ }>>;
686
+ client: z.ZodOptional<z.ZodObject<{
687
687
  id: z.ZodString;
688
688
  name: z.ZodString;
689
689
  }, "strip", z.ZodTypeAny, {
@@ -692,8 +692,8 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
692
692
  }, {
693
693
  id: string;
694
694
  name: string;
695
- }>;
696
- user: z.ZodObject<{
695
+ }>>;
696
+ user: z.ZodOptional<z.ZodObject<{
697
697
  id: z.ZodString;
698
698
  firstName: z.ZodString;
699
699
  lastName: z.ZodString;
@@ -708,7 +708,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
708
708
  firstName: string;
709
709
  lastName: string;
710
710
  email: string;
711
- }>;
711
+ }>>;
712
712
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
713
713
  userId: z.ZodString;
714
714
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -721,48 +721,48 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
721
721
  id: string;
722
722
  }>>>;
723
723
  }, "strip", z.ZodTypeAny, {
724
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
725
724
  createdAt: string;
726
725
  updatedAt: string;
726
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
727
727
  id: string;
728
- company: {
728
+ userId: string;
729
+ company?: {
729
730
  id: string;
730
731
  name: string;
731
- };
732
- client: {
732
+ } | undefined;
733
+ client?: {
733
734
  id: string;
734
735
  name: string;
735
- };
736
- user: {
736
+ } | undefined;
737
+ user?: {
737
738
  id: string;
738
739
  firstName: string;
739
740
  lastName: string;
740
741
  email: string;
741
- };
742
- userId: string;
742
+ } | undefined;
743
743
  newCollaboration?: {
744
744
  id: string;
745
745
  } | null | undefined;
746
746
  }, {
747
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
748
747
  createdAt: string | Date;
749
748
  updatedAt: string | Date;
749
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
750
750
  id: string;
751
- company: {
751
+ userId: string;
752
+ company?: {
752
753
  id: string;
753
754
  name: string;
754
- };
755
- client: {
755
+ } | undefined;
756
+ client?: {
756
757
  id: string;
757
758
  name: string;
758
- };
759
- user: {
759
+ } | undefined;
760
+ user?: {
760
761
  id: string;
761
762
  firstName: string;
762
763
  lastName: string;
763
764
  email: string;
764
- };
765
- userId: string;
765
+ } | undefined;
766
766
  newCollaboration?: {
767
767
  id: string;
768
768
  } | null | undefined;
@@ -770,12 +770,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
770
770
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
771
771
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
772
772
  }, "strip", z.ZodTypeAny, {
773
- description: string;
774
- numberOfPositions: number;
775
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
776
773
  createdAt: string;
777
774
  updatedAt: string;
775
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
778
776
  id: string;
777
+ description: string;
778
+ numberOfPositions: number;
779
779
  pay: {
780
780
  rateUnit: "DAILY" | "HOURLY";
781
781
  rate: number;
@@ -789,25 +789,25 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
789
789
  qualificationTypeId?: string | null | undefined;
790
790
  }[];
791
791
  currentCollaboration: {
792
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
793
792
  createdAt: string;
794
793
  updatedAt: string;
794
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
795
795
  id: string;
796
- company: {
796
+ userId: string;
797
+ company?: {
797
798
  id: string;
798
799
  name: string;
799
- };
800
- client: {
800
+ } | undefined;
801
+ client?: {
801
802
  id: string;
802
803
  name: string;
803
- };
804
- user: {
804
+ } | undefined;
805
+ user?: {
805
806
  id: string;
806
807
  firstName: string;
807
808
  lastName: string;
808
809
  email: string;
809
- };
810
- userId: string;
810
+ } | undefined;
811
811
  newCollaboration?: {
812
812
  id: string;
813
813
  } | null | undefined;
@@ -823,12 +823,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
823
823
  areaCovered?: string | null | undefined;
824
824
  } | null | undefined;
825
825
  }, {
826
- description: string;
827
- numberOfPositions: number;
828
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
829
826
  createdAt: string | Date;
830
827
  updatedAt: string | Date;
828
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
831
829
  id: string;
830
+ description: string;
831
+ numberOfPositions: number;
832
832
  pay: {
833
833
  rateUnit: "DAILY" | "HOURLY";
834
834
  rate: number;
@@ -836,31 +836,26 @@ 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
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
846
840
  createdAt: string | Date;
847
841
  updatedAt: string | Date;
842
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
848
843
  id: string;
849
- company: {
844
+ userId: string;
845
+ company?: {
850
846
  id: string;
851
847
  name: string;
852
- };
853
- client: {
848
+ } | undefined;
849
+ client?: {
854
850
  id: string;
855
851
  name: string;
856
- };
857
- user: {
852
+ } | undefined;
853
+ user?: {
858
854
  id: string;
859
855
  firstName: string;
860
856
  lastName: string;
861
857
  email: string;
862
- };
863
- userId: string;
858
+ } | undefined;
864
859
  newCollaboration?: {
865
860
  id: string;
866
861
  } | null | undefined;
@@ -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;
@@ -884,12 +884,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
884
884
  }, "strip", z.ZodTypeAny, {
885
885
  limit: number;
886
886
  items: {
887
- description: string;
888
- numberOfPositions: number;
889
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
890
887
  createdAt: string;
891
888
  updatedAt: string;
889
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
892
890
  id: string;
891
+ description: string;
892
+ numberOfPositions: number;
893
893
  pay: {
894
894
  rateUnit: "DAILY" | "HOURLY";
895
895
  rate: number;
@@ -903,25 +903,25 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
903
903
  qualificationTypeId?: string | null | undefined;
904
904
  }[];
905
905
  currentCollaboration: {
906
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
907
906
  createdAt: string;
908
907
  updatedAt: string;
908
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
909
909
  id: string;
910
- company: {
910
+ userId: string;
911
+ company?: {
911
912
  id: string;
912
913
  name: string;
913
- };
914
- client: {
914
+ } | undefined;
915
+ client?: {
915
916
  id: string;
916
917
  name: string;
917
- };
918
- user: {
918
+ } | undefined;
919
+ user?: {
919
920
  id: string;
920
921
  firstName: string;
921
922
  lastName: string;
922
923
  email: string;
923
- };
924
- userId: string;
924
+ } | undefined;
925
925
  newCollaboration?: {
926
926
  id: string;
927
927
  } | null | undefined;
@@ -944,12 +944,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
944
944
  }, {
945
945
  limit: number;
946
946
  items: {
947
- description: string;
948
- numberOfPositions: number;
949
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
950
947
  createdAt: string | Date;
951
948
  updatedAt: string | Date;
949
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
952
950
  id: string;
951
+ description: string;
952
+ numberOfPositions: number;
953
953
  pay: {
954
954
  rateUnit: "DAILY" | "HOURLY";
955
955
  rate: number;
@@ -957,31 +957,26 @@ 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
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
967
961
  createdAt: string | Date;
968
962
  updatedAt: string | Date;
963
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
969
964
  id: string;
970
- company: {
965
+ userId: string;
966
+ company?: {
971
967
  id: string;
972
968
  name: string;
973
- };
974
- client: {
969
+ } | undefined;
970
+ client?: {
975
971
  id: string;
976
972
  name: string;
977
- };
978
- user: {
973
+ } | undefined;
974
+ user?: {
979
975
  id: string;
980
976
  firstName: string;
981
977
  lastName: string;
982
978
  email: string;
983
- };
984
- userId: string;
979
+ } | undefined;
985
980
  newCollaboration?: {
986
981
  id: string;
987
982
  } | null | undefined;
@@ -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,10 +1275,10 @@ 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
- company: z.ZodObject<{
1281
+ company: z.ZodOptional<z.ZodObject<{
1282
1282
  id: z.ZodString;
1283
1283
  name: z.ZodString;
1284
1284
  }, "strip", z.ZodTypeAny, {
@@ -1287,8 +1287,8 @@ export declare const jobsContractRouter: {
1287
1287
  }, {
1288
1288
  id: string;
1289
1289
  name: string;
1290
- }>;
1291
- client: z.ZodObject<{
1290
+ }>>;
1291
+ client: z.ZodOptional<z.ZodObject<{
1292
1292
  id: z.ZodString;
1293
1293
  name: z.ZodString;
1294
1294
  }, "strip", z.ZodTypeAny, {
@@ -1297,8 +1297,8 @@ export declare const jobsContractRouter: {
1297
1297
  }, {
1298
1298
  id: string;
1299
1299
  name: string;
1300
- }>;
1301
- user: z.ZodObject<{
1300
+ }>>;
1301
+ user: z.ZodOptional<z.ZodObject<{
1302
1302
  id: z.ZodString;
1303
1303
  firstName: z.ZodString;
1304
1304
  lastName: z.ZodString;
@@ -1313,7 +1313,7 @@ export declare const jobsContractRouter: {
1313
1313
  firstName: string;
1314
1314
  lastName: string;
1315
1315
  email: string;
1316
- }>;
1316
+ }>>;
1317
1317
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
1318
1318
  userId: z.ZodString;
1319
1319
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1326,48 +1326,48 @@ export declare const jobsContractRouter: {
1326
1326
  id: string;
1327
1327
  }>>>;
1328
1328
  }, "strip", z.ZodTypeAny, {
1329
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1330
1329
  createdAt: string;
1331
1330
  updatedAt: string;
1331
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1332
1332
  id: string;
1333
- company: {
1333
+ userId: string;
1334
+ company?: {
1334
1335
  id: string;
1335
1336
  name: string;
1336
- };
1337
- client: {
1337
+ } | undefined;
1338
+ client?: {
1338
1339
  id: string;
1339
1340
  name: string;
1340
- };
1341
- user: {
1341
+ } | undefined;
1342
+ user?: {
1342
1343
  id: string;
1343
1344
  firstName: string;
1344
1345
  lastName: string;
1345
1346
  email: string;
1346
- };
1347
- userId: string;
1347
+ } | undefined;
1348
1348
  newCollaboration?: {
1349
1349
  id: string;
1350
1350
  } | null | undefined;
1351
1351
  }, {
1352
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1353
1352
  createdAt: string | Date;
1354
1353
  updatedAt: string | Date;
1354
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1355
1355
  id: string;
1356
- company: {
1356
+ userId: string;
1357
+ company?: {
1357
1358
  id: string;
1358
1359
  name: string;
1359
- };
1360
- client: {
1360
+ } | undefined;
1361
+ client?: {
1361
1362
  id: string;
1362
1363
  name: string;
1363
- };
1364
- user: {
1364
+ } | undefined;
1365
+ user?: {
1365
1366
  id: string;
1366
1367
  firstName: string;
1367
1368
  lastName: string;
1368
1369
  email: string;
1369
- };
1370
- userId: string;
1370
+ } | undefined;
1371
1371
  newCollaboration?: {
1372
1372
  id: string;
1373
1373
  } | null | undefined;
@@ -1375,12 +1375,12 @@ export declare const jobsContractRouter: {
1375
1375
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1376
1376
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1377
1377
  }, "strip", z.ZodTypeAny, {
1378
- description: string;
1379
- numberOfPositions: number;
1380
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1381
1378
  createdAt: string;
1382
1379
  updatedAt: string;
1380
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1383
1381
  id: string;
1382
+ description: string;
1383
+ numberOfPositions: number;
1384
1384
  pay: {
1385
1385
  rateUnit: "DAILY" | "HOURLY";
1386
1386
  rate: number;
@@ -1394,25 +1394,25 @@ export declare const jobsContractRouter: {
1394
1394
  qualificationTypeId?: string | null | undefined;
1395
1395
  }[];
1396
1396
  currentCollaboration: {
1397
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1398
1397
  createdAt: string;
1399
1398
  updatedAt: string;
1399
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1400
1400
  id: string;
1401
- company: {
1401
+ userId: string;
1402
+ company?: {
1402
1403
  id: string;
1403
1404
  name: string;
1404
- };
1405
- client: {
1405
+ } | undefined;
1406
+ client?: {
1406
1407
  id: string;
1407
1408
  name: string;
1408
- };
1409
- user: {
1409
+ } | undefined;
1410
+ user?: {
1410
1411
  id: string;
1411
1412
  firstName: string;
1412
1413
  lastName: string;
1413
1414
  email: string;
1414
- };
1415
- userId: string;
1415
+ } | undefined;
1416
1416
  newCollaboration?: {
1417
1417
  id: string;
1418
1418
  } | null | undefined;
@@ -1428,12 +1428,12 @@ export declare const jobsContractRouter: {
1428
1428
  areaCovered?: string | null | undefined;
1429
1429
  } | null | undefined;
1430
1430
  }, {
1431
- description: string;
1432
- numberOfPositions: number;
1433
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1434
1431
  createdAt: string | Date;
1435
1432
  updatedAt: string | Date;
1433
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1436
1434
  id: string;
1435
+ description: string;
1436
+ numberOfPositions: number;
1437
1437
  pay: {
1438
1438
  rateUnit: "DAILY" | "HOURLY";
1439
1439
  rate: number;
@@ -1441,31 +1441,26 @@ 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
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1451
1445
  createdAt: string | Date;
1452
1446
  updatedAt: string | Date;
1447
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1453
1448
  id: string;
1454
- company: {
1449
+ userId: string;
1450
+ company?: {
1455
1451
  id: string;
1456
1452
  name: string;
1457
- };
1458
- client: {
1453
+ } | undefined;
1454
+ client?: {
1459
1455
  id: string;
1460
1456
  name: string;
1461
- };
1462
- user: {
1457
+ } | undefined;
1458
+ user?: {
1463
1459
  id: string;
1464
1460
  firstName: string;
1465
1461
  lastName: string;
1466
1462
  email: string;
1467
- };
1468
- userId: string;
1463
+ } | undefined;
1469
1464
  newCollaboration?: {
1470
1465
  id: string;
1471
1466
  } | null | undefined;
@@ -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;
@@ -1548,11 +1548,13 @@ export declare const jobsContractRouter: {
1548
1548
  }, "strip", z.ZodTypeAny, {
1549
1549
  limit: number;
1550
1550
  page: number;
1551
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
1552
1551
  createdAt?: {
1553
1552
  from?: string | null | undefined;
1554
1553
  to?: string | null | undefined;
1555
1554
  } | null | undefined;
1555
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
1556
+ sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
1557
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1556
1558
  pay?: {
1557
1559
  minRate?: number | null | undefined;
1558
1560
  maxRate?: number | null | undefined;
@@ -1560,25 +1562,23 @@ export declare const jobsContractRouter: {
1560
1562
  postcode?: string | null | undefined;
1561
1563
  tradeId?: string | null | undefined;
1562
1564
  distance?: number | null | undefined;
1563
- sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
1564
- sortOrder?: "ASC" | "DESC" | null | undefined;
1565
1565
  }, {
1566
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
1567
1566
  createdAt?: {
1568
1567
  from?: string | null | undefined;
1569
1568
  to?: string | null | undefined;
1570
1569
  } | null | undefined;
1570
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
1571
+ limit?: number | undefined;
1572
+ page?: number | undefined;
1573
+ sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
1574
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1571
1575
  pay?: {
1572
1576
  minRate?: number | null | undefined;
1573
1577
  maxRate?: number | null | undefined;
1574
1578
  } | null | undefined;
1575
1579
  postcode?: string | null | undefined;
1576
1580
  tradeId?: string | null | undefined;
1577
- limit?: number | undefined;
1578
- page?: number | undefined;
1579
1581
  distance?: number | null | undefined;
1580
- sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
1581
- sortOrder?: "ASC" | "DESC" | null | undefined;
1582
1582
  }>;
1583
1583
  summary: "Get all jobs";
1584
1584
  method: "GET";
@@ -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,10 +1745,10 @@ 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
- company: z.ZodObject<{
1751
+ company: z.ZodOptional<z.ZodObject<{
1752
1752
  id: z.ZodString;
1753
1753
  name: z.ZodString;
1754
1754
  }, "strip", z.ZodTypeAny, {
@@ -1757,8 +1757,8 @@ export declare const jobsContractRouter: {
1757
1757
  }, {
1758
1758
  id: string;
1759
1759
  name: string;
1760
- }>;
1761
- client: z.ZodObject<{
1760
+ }>>;
1761
+ client: z.ZodOptional<z.ZodObject<{
1762
1762
  id: z.ZodString;
1763
1763
  name: z.ZodString;
1764
1764
  }, "strip", z.ZodTypeAny, {
@@ -1767,8 +1767,8 @@ export declare const jobsContractRouter: {
1767
1767
  }, {
1768
1768
  id: string;
1769
1769
  name: string;
1770
- }>;
1771
- user: z.ZodObject<{
1770
+ }>>;
1771
+ user: z.ZodOptional<z.ZodObject<{
1772
1772
  id: z.ZodString;
1773
1773
  firstName: z.ZodString;
1774
1774
  lastName: z.ZodString;
@@ -1783,7 +1783,7 @@ export declare const jobsContractRouter: {
1783
1783
  firstName: string;
1784
1784
  lastName: string;
1785
1785
  email: string;
1786
- }>;
1786
+ }>>;
1787
1787
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
1788
1788
  userId: z.ZodString;
1789
1789
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1796,48 +1796,48 @@ export declare const jobsContractRouter: {
1796
1796
  id: string;
1797
1797
  }>>>;
1798
1798
  }, "strip", z.ZodTypeAny, {
1799
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1800
1799
  createdAt: string;
1801
1800
  updatedAt: string;
1801
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1802
1802
  id: string;
1803
- company: {
1803
+ userId: string;
1804
+ company?: {
1804
1805
  id: string;
1805
1806
  name: string;
1806
- };
1807
- client: {
1807
+ } | undefined;
1808
+ client?: {
1808
1809
  id: string;
1809
1810
  name: string;
1810
- };
1811
- user: {
1811
+ } | undefined;
1812
+ user?: {
1812
1813
  id: string;
1813
1814
  firstName: string;
1814
1815
  lastName: string;
1815
1816
  email: string;
1816
- };
1817
- userId: string;
1817
+ } | undefined;
1818
1818
  newCollaboration?: {
1819
1819
  id: string;
1820
1820
  } | null | undefined;
1821
1821
  }, {
1822
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1823
1822
  createdAt: string | Date;
1824
1823
  updatedAt: string | Date;
1824
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1825
1825
  id: string;
1826
- company: {
1826
+ userId: string;
1827
+ company?: {
1827
1828
  id: string;
1828
1829
  name: string;
1829
- };
1830
- client: {
1830
+ } | undefined;
1831
+ client?: {
1831
1832
  id: string;
1832
1833
  name: string;
1833
- };
1834
- user: {
1834
+ } | undefined;
1835
+ user?: {
1835
1836
  id: string;
1836
1837
  firstName: string;
1837
1838
  lastName: string;
1838
1839
  email: string;
1839
- };
1840
- userId: string;
1840
+ } | undefined;
1841
1841
  newCollaboration?: {
1842
1842
  id: string;
1843
1843
  } | null | undefined;
@@ -1845,12 +1845,12 @@ export declare const jobsContractRouter: {
1845
1845
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1846
1846
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1847
1847
  }, "strip", z.ZodTypeAny, {
1848
- description: string;
1849
- numberOfPositions: number;
1850
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1851
1848
  createdAt: string;
1852
1849
  updatedAt: string;
1850
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1853
1851
  id: string;
1852
+ description: string;
1853
+ numberOfPositions: number;
1854
1854
  pay: {
1855
1855
  rateUnit: "DAILY" | "HOURLY";
1856
1856
  rate: number;
@@ -1864,25 +1864,25 @@ export declare const jobsContractRouter: {
1864
1864
  qualificationTypeId?: string | null | undefined;
1865
1865
  }[];
1866
1866
  currentCollaboration: {
1867
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1868
1867
  createdAt: string;
1869
1868
  updatedAt: string;
1869
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1870
1870
  id: string;
1871
- company: {
1871
+ userId: string;
1872
+ company?: {
1872
1873
  id: string;
1873
1874
  name: string;
1874
- };
1875
- client: {
1875
+ } | undefined;
1876
+ client?: {
1876
1877
  id: string;
1877
1878
  name: string;
1878
- };
1879
- user: {
1879
+ } | undefined;
1880
+ user?: {
1880
1881
  id: string;
1881
1882
  firstName: string;
1882
1883
  lastName: string;
1883
1884
  email: string;
1884
- };
1885
- userId: string;
1885
+ } | undefined;
1886
1886
  newCollaboration?: {
1887
1887
  id: string;
1888
1888
  } | null | undefined;
@@ -1898,12 +1898,12 @@ export declare const jobsContractRouter: {
1898
1898
  areaCovered?: string | null | undefined;
1899
1899
  } | null | undefined;
1900
1900
  }, {
1901
- description: string;
1902
- numberOfPositions: number;
1903
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1904
1901
  createdAt: string | Date;
1905
1902
  updatedAt: string | Date;
1903
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1906
1904
  id: string;
1905
+ description: string;
1906
+ numberOfPositions: number;
1907
1907
  pay: {
1908
1908
  rateUnit: "DAILY" | "HOURLY";
1909
1909
  rate: number;
@@ -1911,31 +1911,26 @@ 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
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1921
1915
  createdAt: string | Date;
1922
1916
  updatedAt: string | Date;
1917
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1923
1918
  id: string;
1924
- company: {
1919
+ userId: string;
1920
+ company?: {
1925
1921
  id: string;
1926
1922
  name: string;
1927
- };
1928
- client: {
1923
+ } | undefined;
1924
+ client?: {
1929
1925
  id: string;
1930
1926
  name: string;
1931
- };
1932
- user: {
1927
+ } | undefined;
1928
+ user?: {
1933
1929
  id: string;
1934
1930
  firstName: string;
1935
1931
  lastName: string;
1936
1932
  email: string;
1937
- };
1938
- userId: string;
1933
+ } | undefined;
1939
1934
  newCollaboration?: {
1940
1935
  id: string;
1941
1936
  } | null | undefined;
@@ -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;
@@ -1959,12 +1959,12 @@ export declare const jobsContractRouter: {
1959
1959
  }, "strip", z.ZodTypeAny, {
1960
1960
  limit: number;
1961
1961
  items: {
1962
- description: string;
1963
- numberOfPositions: number;
1964
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1965
1962
  createdAt: string;
1966
1963
  updatedAt: string;
1964
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1967
1965
  id: string;
1966
+ description: string;
1967
+ numberOfPositions: number;
1968
1968
  pay: {
1969
1969
  rateUnit: "DAILY" | "HOURLY";
1970
1970
  rate: number;
@@ -1978,25 +1978,25 @@ export declare const jobsContractRouter: {
1978
1978
  qualificationTypeId?: string | null | undefined;
1979
1979
  }[];
1980
1980
  currentCollaboration: {
1981
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1982
1981
  createdAt: string;
1983
1982
  updatedAt: string;
1983
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1984
1984
  id: string;
1985
- company: {
1985
+ userId: string;
1986
+ company?: {
1986
1987
  id: string;
1987
1988
  name: string;
1988
- };
1989
- client: {
1989
+ } | undefined;
1990
+ client?: {
1990
1991
  id: string;
1991
1992
  name: string;
1992
- };
1993
- user: {
1993
+ } | undefined;
1994
+ user?: {
1994
1995
  id: string;
1995
1996
  firstName: string;
1996
1997
  lastName: string;
1997
1998
  email: string;
1998
- };
1999
- userId: string;
1999
+ } | undefined;
2000
2000
  newCollaboration?: {
2001
2001
  id: string;
2002
2002
  } | null | undefined;
@@ -2019,12 +2019,12 @@ export declare const jobsContractRouter: {
2019
2019
  }, {
2020
2020
  limit: number;
2021
2021
  items: {
2022
- description: string;
2023
- numberOfPositions: number;
2024
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2025
2022
  createdAt: string | Date;
2026
2023
  updatedAt: string | Date;
2024
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2027
2025
  id: string;
2026
+ description: string;
2027
+ numberOfPositions: number;
2028
2028
  pay: {
2029
2029
  rateUnit: "DAILY" | "HOURLY";
2030
2030
  rate: number;
@@ -2032,31 +2032,26 @@ 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
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2042
2036
  createdAt: string | Date;
2043
2037
  updatedAt: string | Date;
2038
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2044
2039
  id: string;
2045
- company: {
2040
+ userId: string;
2041
+ company?: {
2046
2042
  id: string;
2047
2043
  name: string;
2048
- };
2049
- client: {
2044
+ } | undefined;
2045
+ client?: {
2050
2046
  id: string;
2051
2047
  name: string;
2052
- };
2053
- user: {
2048
+ } | undefined;
2049
+ user?: {
2054
2050
  id: string;
2055
2051
  firstName: string;
2056
2052
  lastName: string;
2057
2053
  email: string;
2058
- };
2059
- userId: string;
2054
+ } | undefined;
2060
2055
  newCollaboration?: {
2061
2056
  id: string;
2062
2057
  } | null | undefined;
@@ -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,10 +2257,10 @@ 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
- company: z.ZodObject<{
2263
+ company: z.ZodOptional<z.ZodObject<{
2264
2264
  id: z.ZodString;
2265
2265
  name: z.ZodString;
2266
2266
  }, "strip", z.ZodTypeAny, {
@@ -2269,8 +2269,8 @@ export declare const jobsContractRouter: {
2269
2269
  }, {
2270
2270
  id: string;
2271
2271
  name: string;
2272
- }>;
2273
- client: z.ZodObject<{
2272
+ }>>;
2273
+ client: z.ZodOptional<z.ZodObject<{
2274
2274
  id: z.ZodString;
2275
2275
  name: z.ZodString;
2276
2276
  }, "strip", z.ZodTypeAny, {
@@ -2279,8 +2279,8 @@ export declare const jobsContractRouter: {
2279
2279
  }, {
2280
2280
  id: string;
2281
2281
  name: string;
2282
- }>;
2283
- user: z.ZodObject<{
2282
+ }>>;
2283
+ user: z.ZodOptional<z.ZodObject<{
2284
2284
  id: z.ZodString;
2285
2285
  firstName: z.ZodString;
2286
2286
  lastName: z.ZodString;
@@ -2295,7 +2295,7 @@ export declare const jobsContractRouter: {
2295
2295
  firstName: string;
2296
2296
  lastName: string;
2297
2297
  email: string;
2298
- }>;
2298
+ }>>;
2299
2299
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
2300
2300
  userId: z.ZodString;
2301
2301
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -2308,48 +2308,48 @@ export declare const jobsContractRouter: {
2308
2308
  id: string;
2309
2309
  }>>>;
2310
2310
  }, "strip", z.ZodTypeAny, {
2311
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2312
2311
  createdAt: string;
2313
2312
  updatedAt: string;
2313
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2314
2314
  id: string;
2315
- company: {
2315
+ userId: string;
2316
+ company?: {
2316
2317
  id: string;
2317
2318
  name: string;
2318
- };
2319
- client: {
2319
+ } | undefined;
2320
+ client?: {
2320
2321
  id: string;
2321
2322
  name: string;
2322
- };
2323
- user: {
2323
+ } | undefined;
2324
+ user?: {
2324
2325
  id: string;
2325
2326
  firstName: string;
2326
2327
  lastName: string;
2327
2328
  email: string;
2328
- };
2329
- userId: string;
2329
+ } | undefined;
2330
2330
  newCollaboration?: {
2331
2331
  id: string;
2332
2332
  } | null | undefined;
2333
2333
  }, {
2334
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2335
2334
  createdAt: string | Date;
2336
2335
  updatedAt: string | Date;
2336
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2337
2337
  id: string;
2338
- company: {
2338
+ userId: string;
2339
+ company?: {
2339
2340
  id: string;
2340
2341
  name: string;
2341
- };
2342
- client: {
2342
+ } | undefined;
2343
+ client?: {
2343
2344
  id: string;
2344
2345
  name: string;
2345
- };
2346
- user: {
2346
+ } | undefined;
2347
+ user?: {
2347
2348
  id: string;
2348
2349
  firstName: string;
2349
2350
  lastName: string;
2350
2351
  email: string;
2351
- };
2352
- userId: string;
2352
+ } | undefined;
2353
2353
  newCollaboration?: {
2354
2354
  id: string;
2355
2355
  } | null | undefined;
@@ -2357,12 +2357,12 @@ export declare const jobsContractRouter: {
2357
2357
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2358
2358
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2359
2359
  }, "strip", z.ZodTypeAny, {
2360
- description: string;
2361
- numberOfPositions: number;
2362
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2363
2360
  createdAt: string;
2364
2361
  updatedAt: string;
2362
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2365
2363
  id: string;
2364
+ description: string;
2365
+ numberOfPositions: number;
2366
2366
  pay: {
2367
2367
  rateUnit: "DAILY" | "HOURLY";
2368
2368
  rate: number;
@@ -2376,25 +2376,25 @@ export declare const jobsContractRouter: {
2376
2376
  qualificationTypeId?: string | null | undefined;
2377
2377
  }[];
2378
2378
  currentCollaboration: {
2379
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2380
2379
  createdAt: string;
2381
2380
  updatedAt: string;
2381
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2382
2382
  id: string;
2383
- company: {
2383
+ userId: string;
2384
+ company?: {
2384
2385
  id: string;
2385
2386
  name: string;
2386
- };
2387
- client: {
2387
+ } | undefined;
2388
+ client?: {
2388
2389
  id: string;
2389
2390
  name: string;
2390
- };
2391
- user: {
2391
+ } | undefined;
2392
+ user?: {
2392
2393
  id: string;
2393
2394
  firstName: string;
2394
2395
  lastName: string;
2395
2396
  email: string;
2396
- };
2397
- userId: string;
2397
+ } | undefined;
2398
2398
  newCollaboration?: {
2399
2399
  id: string;
2400
2400
  } | null | undefined;
@@ -2410,12 +2410,12 @@ export declare const jobsContractRouter: {
2410
2410
  areaCovered?: string | null | undefined;
2411
2411
  } | null | undefined;
2412
2412
  }, {
2413
- description: string;
2414
- numberOfPositions: number;
2415
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2416
2413
  createdAt: string | Date;
2417
2414
  updatedAt: string | Date;
2415
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2418
2416
  id: string;
2417
+ description: string;
2418
+ numberOfPositions: number;
2419
2419
  pay: {
2420
2420
  rateUnit: "DAILY" | "HOURLY";
2421
2421
  rate: number;
@@ -2423,31 +2423,26 @@ 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
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2433
2427
  createdAt: string | Date;
2434
2428
  updatedAt: string | Date;
2429
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2435
2430
  id: string;
2436
- company: {
2431
+ userId: string;
2432
+ company?: {
2437
2433
  id: string;
2438
2434
  name: string;
2439
- };
2440
- client: {
2435
+ } | undefined;
2436
+ client?: {
2441
2437
  id: string;
2442
2438
  name: string;
2443
- };
2444
- user: {
2439
+ } | undefined;
2440
+ user?: {
2445
2441
  id: string;
2446
2442
  firstName: string;
2447
2443
  lastName: string;
2448
2444
  email: string;
2449
- };
2450
- userId: string;
2445
+ } | undefined;
2451
2446
  newCollaboration?: {
2452
2447
  id: string;
2453
2448
  } | null | undefined;
@@ -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;
@@ -2556,9 +2556,9 @@ export declare const jobsContractRouter: {
2556
2556
  }>, "many">>;
2557
2557
  status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
2558
2558
  }, "strip", z.ZodTypeAny, {
2559
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
2559
2560
  description?: string | undefined;
2560
2561
  numberOfPositions?: number | undefined;
2561
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
2562
2562
  workHours?: number | undefined;
2563
2563
  pay?: {
2564
2564
  rate: number;
@@ -2579,9 +2579,9 @@ export declare const jobsContractRouter: {
2579
2579
  id: string;
2580
2580
  } | undefined;
2581
2581
  }, {
2582
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
2582
2583
  description?: string | undefined;
2583
2584
  numberOfPositions?: number | undefined;
2584
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
2585
2585
  workHours?: number | undefined;
2586
2586
  pay?: {
2587
2587
  rate: number;
@@ -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,10 +2764,10 @@ 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
- company: z.ZodObject<{
2770
+ company: z.ZodOptional<z.ZodObject<{
2771
2771
  id: z.ZodString;
2772
2772
  name: z.ZodString;
2773
2773
  }, "strip", z.ZodTypeAny, {
@@ -2776,8 +2776,8 @@ export declare const jobsContractRouter: {
2776
2776
  }, {
2777
2777
  id: string;
2778
2778
  name: string;
2779
- }>;
2780
- client: z.ZodObject<{
2779
+ }>>;
2780
+ client: z.ZodOptional<z.ZodObject<{
2781
2781
  id: z.ZodString;
2782
2782
  name: z.ZodString;
2783
2783
  }, "strip", z.ZodTypeAny, {
@@ -2786,8 +2786,8 @@ export declare const jobsContractRouter: {
2786
2786
  }, {
2787
2787
  id: string;
2788
2788
  name: string;
2789
- }>;
2790
- user: z.ZodObject<{
2789
+ }>>;
2790
+ user: z.ZodOptional<z.ZodObject<{
2791
2791
  id: z.ZodString;
2792
2792
  firstName: z.ZodString;
2793
2793
  lastName: z.ZodString;
@@ -2802,7 +2802,7 @@ export declare const jobsContractRouter: {
2802
2802
  firstName: string;
2803
2803
  lastName: string;
2804
2804
  email: string;
2805
- }>;
2805
+ }>>;
2806
2806
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
2807
2807
  userId: z.ZodString;
2808
2808
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -2815,48 +2815,48 @@ export declare const jobsContractRouter: {
2815
2815
  id: string;
2816
2816
  }>>>;
2817
2817
  }, "strip", z.ZodTypeAny, {
2818
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2819
2818
  createdAt: string;
2820
2819
  updatedAt: string;
2820
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2821
2821
  id: string;
2822
- company: {
2822
+ userId: string;
2823
+ company?: {
2823
2824
  id: string;
2824
2825
  name: string;
2825
- };
2826
- client: {
2826
+ } | undefined;
2827
+ client?: {
2827
2828
  id: string;
2828
2829
  name: string;
2829
- };
2830
- user: {
2830
+ } | undefined;
2831
+ user?: {
2831
2832
  id: string;
2832
2833
  firstName: string;
2833
2834
  lastName: string;
2834
2835
  email: string;
2835
- };
2836
- userId: string;
2836
+ } | undefined;
2837
2837
  newCollaboration?: {
2838
2838
  id: string;
2839
2839
  } | null | undefined;
2840
2840
  }, {
2841
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2842
2841
  createdAt: string | Date;
2843
2842
  updatedAt: string | Date;
2843
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2844
2844
  id: string;
2845
- company: {
2845
+ userId: string;
2846
+ company?: {
2846
2847
  id: string;
2847
2848
  name: string;
2848
- };
2849
- client: {
2849
+ } | undefined;
2850
+ client?: {
2850
2851
  id: string;
2851
2852
  name: string;
2852
- };
2853
- user: {
2853
+ } | undefined;
2854
+ user?: {
2854
2855
  id: string;
2855
2856
  firstName: string;
2856
2857
  lastName: string;
2857
2858
  email: string;
2858
- };
2859
- userId: string;
2859
+ } | undefined;
2860
2860
  newCollaboration?: {
2861
2861
  id: string;
2862
2862
  } | null | undefined;
@@ -2864,12 +2864,12 @@ export declare const jobsContractRouter: {
2864
2864
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2865
2865
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2866
2866
  }, "strip", z.ZodTypeAny, {
2867
- description: string;
2868
- numberOfPositions: number;
2869
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2870
2867
  createdAt: string;
2871
2868
  updatedAt: string;
2869
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2872
2870
  id: string;
2871
+ description: string;
2872
+ numberOfPositions: number;
2873
2873
  pay: {
2874
2874
  rateUnit: "DAILY" | "HOURLY";
2875
2875
  rate: number;
@@ -2883,25 +2883,25 @@ export declare const jobsContractRouter: {
2883
2883
  qualificationTypeId?: string | null | undefined;
2884
2884
  }[];
2885
2885
  currentCollaboration: {
2886
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2887
2886
  createdAt: string;
2888
2887
  updatedAt: string;
2888
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2889
2889
  id: string;
2890
- company: {
2890
+ userId: string;
2891
+ company?: {
2891
2892
  id: string;
2892
2893
  name: string;
2893
- };
2894
- client: {
2894
+ } | undefined;
2895
+ client?: {
2895
2896
  id: string;
2896
2897
  name: string;
2897
- };
2898
- user: {
2898
+ } | undefined;
2899
+ user?: {
2899
2900
  id: string;
2900
2901
  firstName: string;
2901
2902
  lastName: string;
2902
2903
  email: string;
2903
- };
2904
- userId: string;
2904
+ } | undefined;
2905
2905
  newCollaboration?: {
2906
2906
  id: string;
2907
2907
  } | null | undefined;
@@ -2917,12 +2917,12 @@ export declare const jobsContractRouter: {
2917
2917
  areaCovered?: string | null | undefined;
2918
2918
  } | null | undefined;
2919
2919
  }, {
2920
- description: string;
2921
- numberOfPositions: number;
2922
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2923
2920
  createdAt: string | Date;
2924
2921
  updatedAt: string | Date;
2922
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2925
2923
  id: string;
2924
+ description: string;
2925
+ numberOfPositions: number;
2926
2926
  pay: {
2927
2927
  rateUnit: "DAILY" | "HOURLY";
2928
2928
  rate: number;
@@ -2930,31 +2930,26 @@ 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
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2940
2934
  createdAt: string | Date;
2941
2935
  updatedAt: string | Date;
2936
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2942
2937
  id: string;
2943
- company: {
2938
+ userId: string;
2939
+ company?: {
2944
2940
  id: string;
2945
2941
  name: string;
2946
- };
2947
- client: {
2942
+ } | undefined;
2943
+ client?: {
2948
2944
  id: string;
2949
2945
  name: string;
2950
- };
2951
- user: {
2946
+ } | undefined;
2947
+ user?: {
2952
2948
  id: string;
2953
2949
  firstName: string;
2954
2950
  lastName: string;
2955
2951
  email: string;
2956
- };
2957
- userId: string;
2952
+ } | undefined;
2958
2953
  newCollaboration?: {
2959
2954
  id: string;
2960
2955
  } | null | undefined;
@@ -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;