@dakkitor/api-contracts 1.1.22 → 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.
@@ -140,7 +140,7 @@ export declare const JobSchema: z.ZodObject<{
140
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;
@@ -304,25 +304,25 @@ export declare const JobSchema: z.ZodObject<{
304
304
  };
305
305
  tradeId: string;
306
306
  currentCollaboration: {
307
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
308
307
  createdAt: string | Date;
309
308
  updatedAt: string | Date;
309
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
310
310
  id: string;
311
- company: {
311
+ userId: string;
312
+ company?: {
312
313
  id: string;
313
314
  name: string;
314
- };
315
- client: {
315
+ } | undefined;
316
+ client?: {
316
317
  id: string;
317
318
  name: string;
318
- };
319
- user: {
319
+ } | undefined;
320
+ user?: {
320
321
  id: string;
321
322
  firstName: string;
322
323
  lastName: string;
323
324
  email: string;
324
- };
325
- userId: string;
325
+ } | undefined;
326
326
  newCollaboration?: {
327
327
  id: string;
328
328
  } | null | undefined;
@@ -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<{
@@ -673,7 +673,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
673
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;
@@ -837,25 +837,25 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
837
837
  };
838
838
  tradeId: string;
839
839
  currentCollaboration: {
840
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
841
840
  createdAt: string | Date;
842
841
  updatedAt: string | Date;
842
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
843
843
  id: string;
844
- company: {
844
+ userId: string;
845
+ company?: {
845
846
  id: string;
846
847
  name: string;
847
- };
848
- client: {
848
+ } | undefined;
849
+ client?: {
849
850
  id: string;
850
851
  name: string;
851
- };
852
- user: {
852
+ } | undefined;
853
+ user?: {
853
854
  id: string;
854
855
  firstName: string;
855
856
  lastName: string;
856
857
  email: string;
857
- };
858
- userId: string;
858
+ } | undefined;
859
859
  newCollaboration?: {
860
860
  id: string;
861
861
  } | null | undefined;
@@ -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;
@@ -958,25 +958,25 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
958
958
  };
959
959
  tradeId: string;
960
960
  currentCollaboration: {
961
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
962
961
  createdAt: string | Date;
963
962
  updatedAt: string | Date;
963
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
964
964
  id: string;
965
- company: {
965
+ userId: string;
966
+ company?: {
966
967
  id: string;
967
968
  name: string;
968
- };
969
- client: {
969
+ } | undefined;
970
+ client?: {
970
971
  id: string;
971
972
  name: string;
972
- };
973
- user: {
973
+ } | undefined;
974
+ user?: {
974
975
  id: string;
975
976
  firstName: string;
976
977
  lastName: string;
977
978
  email: string;
978
- };
979
- userId: string;
979
+ } | undefined;
980
980
  newCollaboration?: {
981
981
  id: string;
982
982
  } | null | undefined;
@@ -1278,7 +1278,7 @@ export declare const jobsContractRouter: {
1278
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;
@@ -1442,25 +1442,25 @@ export declare const jobsContractRouter: {
1442
1442
  };
1443
1443
  tradeId: string;
1444
1444
  currentCollaboration: {
1445
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1446
1445
  createdAt: string | Date;
1447
1446
  updatedAt: string | Date;
1447
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1448
1448
  id: string;
1449
- company: {
1449
+ userId: string;
1450
+ company?: {
1450
1451
  id: string;
1451
1452
  name: string;
1452
- };
1453
- client: {
1453
+ } | undefined;
1454
+ client?: {
1454
1455
  id: string;
1455
1456
  name: string;
1456
- };
1457
- user: {
1457
+ } | undefined;
1458
+ user?: {
1458
1459
  id: string;
1459
1460
  firstName: string;
1460
1461
  lastName: string;
1461
1462
  email: string;
1462
- };
1463
- userId: string;
1463
+ } | undefined;
1464
1464
  newCollaboration?: {
1465
1465
  id: string;
1466
1466
  } | null | undefined;
@@ -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";
@@ -1748,7 +1748,7 @@ export declare const jobsContractRouter: {
1748
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;
@@ -1912,25 +1912,25 @@ export declare const jobsContractRouter: {
1912
1912
  };
1913
1913
  tradeId: string;
1914
1914
  currentCollaboration: {
1915
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1916
1915
  createdAt: string | Date;
1917
1916
  updatedAt: string | Date;
1917
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1918
1918
  id: string;
1919
- company: {
1919
+ userId: string;
1920
+ company?: {
1920
1921
  id: string;
1921
1922
  name: string;
1922
- };
1923
- client: {
1923
+ } | undefined;
1924
+ client?: {
1924
1925
  id: string;
1925
1926
  name: string;
1926
- };
1927
- user: {
1927
+ } | undefined;
1928
+ user?: {
1928
1929
  id: string;
1929
1930
  firstName: string;
1930
1931
  lastName: string;
1931
1932
  email: string;
1932
- };
1933
- userId: string;
1933
+ } | undefined;
1934
1934
  newCollaboration?: {
1935
1935
  id: string;
1936
1936
  } | null | undefined;
@@ -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;
@@ -2033,25 +2033,25 @@ export declare const jobsContractRouter: {
2033
2033
  };
2034
2034
  tradeId: string;
2035
2035
  currentCollaboration: {
2036
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2037
2036
  createdAt: string | Date;
2038
2037
  updatedAt: string | Date;
2038
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2039
2039
  id: string;
2040
- company: {
2040
+ userId: string;
2041
+ company?: {
2041
2042
  id: string;
2042
2043
  name: string;
2043
- };
2044
- client: {
2044
+ } | undefined;
2045
+ client?: {
2045
2046
  id: string;
2046
2047
  name: string;
2047
- };
2048
- user: {
2048
+ } | undefined;
2049
+ user?: {
2049
2050
  id: string;
2050
2051
  firstName: string;
2051
2052
  lastName: string;
2052
2053
  email: string;
2053
- };
2054
- userId: string;
2054
+ } | undefined;
2055
2055
  newCollaboration?: {
2056
2056
  id: string;
2057
2057
  } | null | undefined;
@@ -2260,7 +2260,7 @@ export declare const jobsContractRouter: {
2260
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;
@@ -2424,25 +2424,25 @@ export declare const jobsContractRouter: {
2424
2424
  };
2425
2425
  tradeId: string;
2426
2426
  currentCollaboration: {
2427
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2428
2427
  createdAt: string | Date;
2429
2428
  updatedAt: string | Date;
2429
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2430
2430
  id: string;
2431
- company: {
2431
+ userId: string;
2432
+ company?: {
2432
2433
  id: string;
2433
2434
  name: string;
2434
- };
2435
- client: {
2435
+ } | undefined;
2436
+ client?: {
2436
2437
  id: string;
2437
2438
  name: string;
2438
- };
2439
- user: {
2439
+ } | undefined;
2440
+ user?: {
2440
2441
  id: string;
2441
2442
  firstName: string;
2442
2443
  lastName: string;
2443
2444
  email: string;
2444
- };
2445
- userId: string;
2445
+ } | undefined;
2446
2446
  newCollaboration?: {
2447
2447
  id: string;
2448
2448
  } | null | undefined;
@@ -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;
@@ -2767,7 +2767,7 @@ export declare const jobsContractRouter: {
2767
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;
@@ -2931,25 +2931,25 @@ export declare const jobsContractRouter: {
2931
2931
  };
2932
2932
  tradeId: string;
2933
2933
  currentCollaboration: {
2934
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2935
2934
  createdAt: string | Date;
2936
2935
  updatedAt: string | Date;
2936
+ status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2937
2937
  id: string;
2938
- company: {
2938
+ userId: string;
2939
+ company?: {
2939
2940
  id: string;
2940
2941
  name: string;
2941
- };
2942
- client: {
2942
+ } | undefined;
2943
+ client?: {
2943
2944
  id: string;
2944
2945
  name: string;
2945
- };
2946
- user: {
2946
+ } | undefined;
2947
+ user?: {
2947
2948
  id: string;
2948
2949
  firstName: string;
2949
2950
  lastName: string;
2950
2951
  email: string;
2951
- };
2952
- userId: string;
2952
+ } | undefined;
2953
2953
  newCollaboration?: {
2954
2954
  id: string;
2955
2955
  } | null | undefined;