@dakkitor/api-contracts 1.1.23 → 1.1.25
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.
- package/dist/actives/actives.contract.d.ts +1917 -1911
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +4 -4
- package/dist/bookings/bookings.contract.d.ts +794 -794
- package/dist/jobs/jobs.contract.d.ts +324 -324
- package/dist/jobs/jobs.contract.js +3 -1
- package/package.json +1 -1
|
@@ -138,7 +138,7 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
138
138
|
qualificationId: string;
|
|
139
139
|
qualificationTypeId?: string | null | undefined;
|
|
140
140
|
}>, "many">>>;
|
|
141
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
141
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
142
142
|
id: z.ZodString;
|
|
143
143
|
company: z.ZodOptional<z.ZodObject<{
|
|
144
144
|
id: z.ZodString;
|
|
@@ -188,9 +188,9 @@ 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";
|
|
191
192
|
createdAt: string;
|
|
192
193
|
updatedAt: string;
|
|
193
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
194
194
|
id: string;
|
|
195
195
|
userId: string;
|
|
196
196
|
company?: {
|
|
@@ -211,9 +211,9 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
211
211
|
id: string;
|
|
212
212
|
} | null | undefined;
|
|
213
213
|
}, {
|
|
214
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
214
215
|
createdAt: string | Date;
|
|
215
216
|
updatedAt: string | Date;
|
|
216
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
217
217
|
id: string;
|
|
218
218
|
userId: string;
|
|
219
219
|
company?: {
|
|
@@ -233,16 +233,16 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
233
233
|
newCollaboration?: {
|
|
234
234
|
id: string;
|
|
235
235
|
} | null | undefined;
|
|
236
|
-
}
|
|
236
|
+
}>>>;
|
|
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";
|
|
240
243
|
createdAt: string;
|
|
241
244
|
updatedAt: string;
|
|
242
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
243
245
|
id: string;
|
|
244
|
-
description: string;
|
|
245
|
-
numberOfPositions: number;
|
|
246
246
|
pay: {
|
|
247
247
|
rateUnit: "DAILY" | "HOURLY";
|
|
248
248
|
rate: number;
|
|
@@ -255,10 +255,20 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
255
255
|
qualificationId: string;
|
|
256
256
|
qualificationTypeId?: string | null | undefined;
|
|
257
257
|
}[];
|
|
258
|
-
|
|
258
|
+
workHours?: number | null | undefined;
|
|
259
|
+
location?: {
|
|
260
|
+
address?: string | null | undefined;
|
|
261
|
+
postcode?: string | null | undefined;
|
|
262
|
+
county?: string | null | undefined;
|
|
263
|
+
adminDistrict?: string | null | undefined;
|
|
264
|
+
builtUpArea?: string | null | undefined;
|
|
265
|
+
postTown?: string | null | undefined;
|
|
266
|
+
areaCovered?: string | null | undefined;
|
|
267
|
+
} | null | undefined;
|
|
268
|
+
currentCollaboration?: {
|
|
269
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
259
270
|
createdAt: string;
|
|
260
271
|
updatedAt: string;
|
|
261
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
262
272
|
id: string;
|
|
263
273
|
userId: string;
|
|
264
274
|
company?: {
|
|
@@ -278,24 +288,14 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
278
288
|
newCollaboration?: {
|
|
279
289
|
id: string;
|
|
280
290
|
} | null | undefined;
|
|
281
|
-
} | null;
|
|
282
|
-
workHours?: number | null | undefined;
|
|
283
|
-
location?: {
|
|
284
|
-
address?: string | null | undefined;
|
|
285
|
-
postcode?: string | null | undefined;
|
|
286
|
-
county?: string | null | undefined;
|
|
287
|
-
adminDistrict?: string | null | undefined;
|
|
288
|
-
builtUpArea?: string | null | undefined;
|
|
289
|
-
postTown?: string | null | undefined;
|
|
290
|
-
areaCovered?: string | null | undefined;
|
|
291
291
|
} | null | undefined;
|
|
292
292
|
}, {
|
|
293
|
+
description: string;
|
|
294
|
+
numberOfPositions: number;
|
|
295
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
293
296
|
createdAt: string | Date;
|
|
294
297
|
updatedAt: string | Date;
|
|
295
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
296
298
|
id: string;
|
|
297
|
-
description: string;
|
|
298
|
-
numberOfPositions: number;
|
|
299
299
|
pay: {
|
|
300
300
|
rateUnit: "DAILY" | "HOURLY";
|
|
301
301
|
rate: number;
|
|
@@ -303,10 +303,25 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
303
303
|
rateMax?: number | null | undefined;
|
|
304
304
|
};
|
|
305
305
|
tradeId: string;
|
|
306
|
-
|
|
306
|
+
workHours?: number | null | undefined;
|
|
307
|
+
location?: {
|
|
308
|
+
address?: string | null | undefined;
|
|
309
|
+
postcode?: string | null | undefined;
|
|
310
|
+
county?: string | null | undefined;
|
|
311
|
+
adminDistrict?: string | null | undefined;
|
|
312
|
+
builtUpArea?: string | null | undefined;
|
|
313
|
+
postTown?: string | null | undefined;
|
|
314
|
+
areaCovered?: string | null | undefined;
|
|
315
|
+
} | null | undefined;
|
|
316
|
+
jobQualifications?: {
|
|
317
|
+
id: string;
|
|
318
|
+
qualificationId: string;
|
|
319
|
+
qualificationTypeId?: string | null | undefined;
|
|
320
|
+
}[] | undefined;
|
|
321
|
+
currentCollaboration?: {
|
|
322
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
307
323
|
createdAt: string | Date;
|
|
308
324
|
updatedAt: string | Date;
|
|
309
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
310
325
|
id: string;
|
|
311
326
|
userId: string;
|
|
312
327
|
company?: {
|
|
@@ -326,22 +341,7 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
326
341
|
newCollaboration?: {
|
|
327
342
|
id: string;
|
|
328
343
|
} | null | undefined;
|
|
329
|
-
} | null;
|
|
330
|
-
workHours?: number | null | undefined;
|
|
331
|
-
location?: {
|
|
332
|
-
address?: string | null | undefined;
|
|
333
|
-
postcode?: string | null | undefined;
|
|
334
|
-
county?: string | null | undefined;
|
|
335
|
-
adminDistrict?: string | null | undefined;
|
|
336
|
-
builtUpArea?: string | null | undefined;
|
|
337
|
-
postTown?: string | null | undefined;
|
|
338
|
-
areaCovered?: string | null | undefined;
|
|
339
344
|
} | 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;
|
|
499
498
|
description?: string | undefined;
|
|
500
499
|
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;
|
|
522
521
|
description?: string | undefined;
|
|
523
522
|
numberOfPositions?: number | undefined;
|
|
523
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
524
524
|
workHours?: number | undefined;
|
|
525
525
|
pay?: {
|
|
526
526
|
rate: number;
|
|
@@ -577,13 +577,11 @@ 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;
|
|
580
581
|
createdAt?: {
|
|
581
582
|
from?: string | null | undefined;
|
|
582
583
|
to?: string | null | undefined;
|
|
583
584
|
} | 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;
|
|
587
585
|
pay?: {
|
|
588
586
|
minRate?: number | null | undefined;
|
|
589
587
|
maxRate?: number | null | undefined;
|
|
@@ -591,23 +589,25 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
591
589
|
postcode?: string | null | undefined;
|
|
592
590
|
tradeId?: string | null | undefined;
|
|
593
591
|
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;
|
|
595
596
|
createdAt?: {
|
|
596
597
|
from?: string | null | undefined;
|
|
597
598
|
to?: string | null | undefined;
|
|
598
599
|
} | 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;
|
|
604
600
|
pay?: {
|
|
605
601
|
minRate?: number | null | undefined;
|
|
606
602
|
maxRate?: number | null | undefined;
|
|
607
603
|
} | null | undefined;
|
|
608
604
|
postcode?: string | null | undefined;
|
|
609
605
|
tradeId?: string | null | undefined;
|
|
606
|
+
limit?: number | undefined;
|
|
607
|
+
page?: number | undefined;
|
|
610
608
|
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<{
|
|
@@ -671,7 +671,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
671
671
|
qualificationId: string;
|
|
672
672
|
qualificationTypeId?: string | null | undefined;
|
|
673
673
|
}>, "many">>>;
|
|
674
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
674
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
675
675
|
id: z.ZodString;
|
|
676
676
|
company: z.ZodOptional<z.ZodObject<{
|
|
677
677
|
id: z.ZodString;
|
|
@@ -721,9 +721,9 @@ 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";
|
|
724
725
|
createdAt: string;
|
|
725
726
|
updatedAt: string;
|
|
726
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
727
727
|
id: string;
|
|
728
728
|
userId: string;
|
|
729
729
|
company?: {
|
|
@@ -744,9 +744,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
744
744
|
id: string;
|
|
745
745
|
} | null | undefined;
|
|
746
746
|
}, {
|
|
747
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
747
748
|
createdAt: string | Date;
|
|
748
749
|
updatedAt: string | Date;
|
|
749
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
750
750
|
id: string;
|
|
751
751
|
userId: string;
|
|
752
752
|
company?: {
|
|
@@ -766,16 +766,16 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
766
766
|
newCollaboration?: {
|
|
767
767
|
id: string;
|
|
768
768
|
} | null | undefined;
|
|
769
|
-
}
|
|
769
|
+
}>>>;
|
|
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";
|
|
773
776
|
createdAt: string;
|
|
774
777
|
updatedAt: string;
|
|
775
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
776
778
|
id: string;
|
|
777
|
-
description: string;
|
|
778
|
-
numberOfPositions: number;
|
|
779
779
|
pay: {
|
|
780
780
|
rateUnit: "DAILY" | "HOURLY";
|
|
781
781
|
rate: number;
|
|
@@ -788,10 +788,20 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
788
788
|
qualificationId: string;
|
|
789
789
|
qualificationTypeId?: string | null | undefined;
|
|
790
790
|
}[];
|
|
791
|
-
|
|
791
|
+
workHours?: number | null | undefined;
|
|
792
|
+
location?: {
|
|
793
|
+
address?: string | null | undefined;
|
|
794
|
+
postcode?: string | null | undefined;
|
|
795
|
+
county?: string | null | undefined;
|
|
796
|
+
adminDistrict?: string | null | undefined;
|
|
797
|
+
builtUpArea?: string | null | undefined;
|
|
798
|
+
postTown?: string | null | undefined;
|
|
799
|
+
areaCovered?: string | null | undefined;
|
|
800
|
+
} | null | undefined;
|
|
801
|
+
currentCollaboration?: {
|
|
802
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
792
803
|
createdAt: string;
|
|
793
804
|
updatedAt: string;
|
|
794
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
795
805
|
id: string;
|
|
796
806
|
userId: string;
|
|
797
807
|
company?: {
|
|
@@ -811,24 +821,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
811
821
|
newCollaboration?: {
|
|
812
822
|
id: string;
|
|
813
823
|
} | null | undefined;
|
|
814
|
-
} | null;
|
|
815
|
-
workHours?: number | null | undefined;
|
|
816
|
-
location?: {
|
|
817
|
-
address?: string | null | undefined;
|
|
818
|
-
postcode?: string | null | undefined;
|
|
819
|
-
county?: string | null | undefined;
|
|
820
|
-
adminDistrict?: string | null | undefined;
|
|
821
|
-
builtUpArea?: string | null | undefined;
|
|
822
|
-
postTown?: string | null | undefined;
|
|
823
|
-
areaCovered?: string | null | undefined;
|
|
824
824
|
} | null | undefined;
|
|
825
825
|
}, {
|
|
826
|
+
description: string;
|
|
827
|
+
numberOfPositions: number;
|
|
828
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
826
829
|
createdAt: string | Date;
|
|
827
830
|
updatedAt: string | Date;
|
|
828
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
829
831
|
id: string;
|
|
830
|
-
description: string;
|
|
831
|
-
numberOfPositions: number;
|
|
832
832
|
pay: {
|
|
833
833
|
rateUnit: "DAILY" | "HOURLY";
|
|
834
834
|
rate: number;
|
|
@@ -836,10 +836,25 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
836
836
|
rateMax?: number | null | undefined;
|
|
837
837
|
};
|
|
838
838
|
tradeId: string;
|
|
839
|
-
|
|
839
|
+
workHours?: number | null | undefined;
|
|
840
|
+
location?: {
|
|
841
|
+
address?: string | null | undefined;
|
|
842
|
+
postcode?: string | null | undefined;
|
|
843
|
+
county?: string | null | undefined;
|
|
844
|
+
adminDistrict?: string | null | undefined;
|
|
845
|
+
builtUpArea?: string | null | undefined;
|
|
846
|
+
postTown?: string | null | undefined;
|
|
847
|
+
areaCovered?: string | null | undefined;
|
|
848
|
+
} | null | undefined;
|
|
849
|
+
jobQualifications?: {
|
|
850
|
+
id: string;
|
|
851
|
+
qualificationId: string;
|
|
852
|
+
qualificationTypeId?: string | null | undefined;
|
|
853
|
+
}[] | undefined;
|
|
854
|
+
currentCollaboration?: {
|
|
855
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
840
856
|
createdAt: string | Date;
|
|
841
857
|
updatedAt: string | Date;
|
|
842
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
843
858
|
id: string;
|
|
844
859
|
userId: string;
|
|
845
860
|
company?: {
|
|
@@ -859,22 +874,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
859
874
|
newCollaboration?: {
|
|
860
875
|
id: string;
|
|
861
876
|
} | null | undefined;
|
|
862
|
-
} | null;
|
|
863
|
-
workHours?: number | null | undefined;
|
|
864
|
-
location?: {
|
|
865
|
-
address?: string | null | undefined;
|
|
866
|
-
postcode?: string | null | undefined;
|
|
867
|
-
county?: string | null | undefined;
|
|
868
|
-
adminDistrict?: string | null | undefined;
|
|
869
|
-
builtUpArea?: string | null | undefined;
|
|
870
|
-
postTown?: string | null | undefined;
|
|
871
|
-
areaCovered?: string | null | undefined;
|
|
872
877
|
} | 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";
|
|
887
890
|
createdAt: string;
|
|
888
891
|
updatedAt: string;
|
|
889
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
890
892
|
id: string;
|
|
891
|
-
description: string;
|
|
892
|
-
numberOfPositions: number;
|
|
893
893
|
pay: {
|
|
894
894
|
rateUnit: "DAILY" | "HOURLY";
|
|
895
895
|
rate: number;
|
|
@@ -902,10 +902,20 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
902
902
|
qualificationId: string;
|
|
903
903
|
qualificationTypeId?: string | null | undefined;
|
|
904
904
|
}[];
|
|
905
|
-
|
|
905
|
+
workHours?: number | null | undefined;
|
|
906
|
+
location?: {
|
|
907
|
+
address?: string | null | undefined;
|
|
908
|
+
postcode?: string | null | undefined;
|
|
909
|
+
county?: string | null | undefined;
|
|
910
|
+
adminDistrict?: string | null | undefined;
|
|
911
|
+
builtUpArea?: string | null | undefined;
|
|
912
|
+
postTown?: string | null | undefined;
|
|
913
|
+
areaCovered?: string | null | undefined;
|
|
914
|
+
} | null | undefined;
|
|
915
|
+
currentCollaboration?: {
|
|
916
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
906
917
|
createdAt: string;
|
|
907
918
|
updatedAt: string;
|
|
908
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
909
919
|
id: string;
|
|
910
920
|
userId: string;
|
|
911
921
|
company?: {
|
|
@@ -925,16 +935,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
925
935
|
newCollaboration?: {
|
|
926
936
|
id: string;
|
|
927
937
|
} | null | undefined;
|
|
928
|
-
} | null;
|
|
929
|
-
workHours?: number | null | undefined;
|
|
930
|
-
location?: {
|
|
931
|
-
address?: string | null | undefined;
|
|
932
|
-
postcode?: string | null | undefined;
|
|
933
|
-
county?: string | null | undefined;
|
|
934
|
-
adminDistrict?: string | null | undefined;
|
|
935
|
-
builtUpArea?: string | null | undefined;
|
|
936
|
-
postTown?: string | null | undefined;
|
|
937
|
-
areaCovered?: string | null | undefined;
|
|
938
938
|
} | null | undefined;
|
|
939
939
|
}[];
|
|
940
940
|
totalCount: number;
|
|
@@ -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";
|
|
947
950
|
createdAt: string | Date;
|
|
948
951
|
updatedAt: string | Date;
|
|
949
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
950
952
|
id: string;
|
|
951
|
-
description: string;
|
|
952
|
-
numberOfPositions: number;
|
|
953
953
|
pay: {
|
|
954
954
|
rateUnit: "DAILY" | "HOURLY";
|
|
955
955
|
rate: number;
|
|
@@ -957,10 +957,25 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
957
957
|
rateMax?: number | null | undefined;
|
|
958
958
|
};
|
|
959
959
|
tradeId: string;
|
|
960
|
-
|
|
960
|
+
workHours?: number | null | undefined;
|
|
961
|
+
location?: {
|
|
962
|
+
address?: string | null | undefined;
|
|
963
|
+
postcode?: string | null | undefined;
|
|
964
|
+
county?: string | null | undefined;
|
|
965
|
+
adminDistrict?: string | null | undefined;
|
|
966
|
+
builtUpArea?: string | null | undefined;
|
|
967
|
+
postTown?: string | null | undefined;
|
|
968
|
+
areaCovered?: string | null | undefined;
|
|
969
|
+
} | null | undefined;
|
|
970
|
+
jobQualifications?: {
|
|
971
|
+
id: string;
|
|
972
|
+
qualificationId: string;
|
|
973
|
+
qualificationTypeId?: string | null | undefined;
|
|
974
|
+
}[] | undefined;
|
|
975
|
+
currentCollaboration?: {
|
|
976
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
961
977
|
createdAt: string | Date;
|
|
962
978
|
updatedAt: string | Date;
|
|
963
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
964
979
|
id: string;
|
|
965
980
|
userId: string;
|
|
966
981
|
company?: {
|
|
@@ -980,22 +995,7 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
980
995
|
newCollaboration?: {
|
|
981
996
|
id: string;
|
|
982
997
|
} | null | undefined;
|
|
983
|
-
} | null;
|
|
984
|
-
workHours?: number | null | undefined;
|
|
985
|
-
location?: {
|
|
986
|
-
address?: string | null | undefined;
|
|
987
|
-
postcode?: string | null | undefined;
|
|
988
|
-
county?: string | null | undefined;
|
|
989
|
-
adminDistrict?: string | null | undefined;
|
|
990
|
-
builtUpArea?: string | null | undefined;
|
|
991
|
-
postTown?: string | null | undefined;
|
|
992
|
-
areaCovered?: string | null | undefined;
|
|
993
998
|
} | 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;
|
|
@@ -1276,7 +1276,7 @@ export declare const jobsContractRouter: {
|
|
|
1276
1276
|
qualificationId: string;
|
|
1277
1277
|
qualificationTypeId?: string | null | undefined;
|
|
1278
1278
|
}>, "many">>>;
|
|
1279
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
1279
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1280
1280
|
id: z.ZodString;
|
|
1281
1281
|
company: z.ZodOptional<z.ZodObject<{
|
|
1282
1282
|
id: z.ZodString;
|
|
@@ -1326,9 +1326,9 @@ 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";
|
|
1329
1330
|
createdAt: string;
|
|
1330
1331
|
updatedAt: string;
|
|
1331
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1332
1332
|
id: string;
|
|
1333
1333
|
userId: string;
|
|
1334
1334
|
company?: {
|
|
@@ -1349,9 +1349,9 @@ export declare const jobsContractRouter: {
|
|
|
1349
1349
|
id: string;
|
|
1350
1350
|
} | null | undefined;
|
|
1351
1351
|
}, {
|
|
1352
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1352
1353
|
createdAt: string | Date;
|
|
1353
1354
|
updatedAt: string | Date;
|
|
1354
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1355
1355
|
id: string;
|
|
1356
1356
|
userId: string;
|
|
1357
1357
|
company?: {
|
|
@@ -1371,16 +1371,16 @@ export declare const jobsContractRouter: {
|
|
|
1371
1371
|
newCollaboration?: {
|
|
1372
1372
|
id: string;
|
|
1373
1373
|
} | null | undefined;
|
|
1374
|
-
}
|
|
1374
|
+
}>>>;
|
|
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";
|
|
1378
1381
|
createdAt: string;
|
|
1379
1382
|
updatedAt: string;
|
|
1380
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1381
1383
|
id: string;
|
|
1382
|
-
description: string;
|
|
1383
|
-
numberOfPositions: number;
|
|
1384
1384
|
pay: {
|
|
1385
1385
|
rateUnit: "DAILY" | "HOURLY";
|
|
1386
1386
|
rate: number;
|
|
@@ -1393,10 +1393,20 @@ export declare const jobsContractRouter: {
|
|
|
1393
1393
|
qualificationId: string;
|
|
1394
1394
|
qualificationTypeId?: string | null | undefined;
|
|
1395
1395
|
}[];
|
|
1396
|
-
|
|
1396
|
+
workHours?: number | null | undefined;
|
|
1397
|
+
location?: {
|
|
1398
|
+
address?: string | null | undefined;
|
|
1399
|
+
postcode?: string | null | undefined;
|
|
1400
|
+
county?: string | null | undefined;
|
|
1401
|
+
adminDistrict?: string | null | undefined;
|
|
1402
|
+
builtUpArea?: string | null | undefined;
|
|
1403
|
+
postTown?: string | null | undefined;
|
|
1404
|
+
areaCovered?: string | null | undefined;
|
|
1405
|
+
} | null | undefined;
|
|
1406
|
+
currentCollaboration?: {
|
|
1407
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1397
1408
|
createdAt: string;
|
|
1398
1409
|
updatedAt: string;
|
|
1399
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1400
1410
|
id: string;
|
|
1401
1411
|
userId: string;
|
|
1402
1412
|
company?: {
|
|
@@ -1416,24 +1426,14 @@ export declare const jobsContractRouter: {
|
|
|
1416
1426
|
newCollaboration?: {
|
|
1417
1427
|
id: string;
|
|
1418
1428
|
} | null | undefined;
|
|
1419
|
-
} | null;
|
|
1420
|
-
workHours?: number | null | undefined;
|
|
1421
|
-
location?: {
|
|
1422
|
-
address?: string | null | undefined;
|
|
1423
|
-
postcode?: string | null | undefined;
|
|
1424
|
-
county?: string | null | undefined;
|
|
1425
|
-
adminDistrict?: string | null | undefined;
|
|
1426
|
-
builtUpArea?: string | null | undefined;
|
|
1427
|
-
postTown?: string | null | undefined;
|
|
1428
|
-
areaCovered?: string | null | undefined;
|
|
1429
1429
|
} | null | undefined;
|
|
1430
1430
|
}, {
|
|
1431
|
+
description: string;
|
|
1432
|
+
numberOfPositions: number;
|
|
1433
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1431
1434
|
createdAt: string | Date;
|
|
1432
1435
|
updatedAt: string | Date;
|
|
1433
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1434
1436
|
id: string;
|
|
1435
|
-
description: string;
|
|
1436
|
-
numberOfPositions: number;
|
|
1437
1437
|
pay: {
|
|
1438
1438
|
rateUnit: "DAILY" | "HOURLY";
|
|
1439
1439
|
rate: number;
|
|
@@ -1441,10 +1441,25 @@ export declare const jobsContractRouter: {
|
|
|
1441
1441
|
rateMax?: number | null | undefined;
|
|
1442
1442
|
};
|
|
1443
1443
|
tradeId: string;
|
|
1444
|
-
|
|
1444
|
+
workHours?: number | null | undefined;
|
|
1445
|
+
location?: {
|
|
1446
|
+
address?: string | null | undefined;
|
|
1447
|
+
postcode?: string | null | undefined;
|
|
1448
|
+
county?: string | null | undefined;
|
|
1449
|
+
adminDistrict?: string | null | undefined;
|
|
1450
|
+
builtUpArea?: string | null | undefined;
|
|
1451
|
+
postTown?: string | null | undefined;
|
|
1452
|
+
areaCovered?: string | null | undefined;
|
|
1453
|
+
} | null | undefined;
|
|
1454
|
+
jobQualifications?: {
|
|
1455
|
+
id: string;
|
|
1456
|
+
qualificationId: string;
|
|
1457
|
+
qualificationTypeId?: string | null | undefined;
|
|
1458
|
+
}[] | undefined;
|
|
1459
|
+
currentCollaboration?: {
|
|
1460
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1445
1461
|
createdAt: string | Date;
|
|
1446
1462
|
updatedAt: string | Date;
|
|
1447
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1448
1463
|
id: string;
|
|
1449
1464
|
userId: string;
|
|
1450
1465
|
company?: {
|
|
@@ -1464,22 +1479,7 @@ export declare const jobsContractRouter: {
|
|
|
1464
1479
|
newCollaboration?: {
|
|
1465
1480
|
id: string;
|
|
1466
1481
|
} | null | undefined;
|
|
1467
|
-
} | null;
|
|
1468
|
-
workHours?: number | null | undefined;
|
|
1469
|
-
location?: {
|
|
1470
|
-
address?: string | null | undefined;
|
|
1471
|
-
postcode?: string | null | undefined;
|
|
1472
|
-
county?: string | null | undefined;
|
|
1473
|
-
adminDistrict?: string | null | undefined;
|
|
1474
|
-
builtUpArea?: string | null | undefined;
|
|
1475
|
-
postTown?: string | null | undefined;
|
|
1476
|
-
areaCovered?: string | null | undefined;
|
|
1477
1482
|
} | 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,13 +1548,11 @@ 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;
|
|
1551
1552
|
createdAt?: {
|
|
1552
1553
|
from?: string | null | undefined;
|
|
1553
1554
|
to?: string | null | undefined;
|
|
1554
1555
|
} | 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;
|
|
1558
1556
|
pay?: {
|
|
1559
1557
|
minRate?: number | null | undefined;
|
|
1560
1558
|
maxRate?: number | null | undefined;
|
|
@@ -1562,23 +1560,25 @@ export declare const jobsContractRouter: {
|
|
|
1562
1560
|
postcode?: string | null | undefined;
|
|
1563
1561
|
tradeId?: string | null | undefined;
|
|
1564
1562
|
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;
|
|
1566
1567
|
createdAt?: {
|
|
1567
1568
|
from?: string | null | undefined;
|
|
1568
1569
|
to?: string | null | undefined;
|
|
1569
1570
|
} | 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;
|
|
1575
1571
|
pay?: {
|
|
1576
1572
|
minRate?: number | null | undefined;
|
|
1577
1573
|
maxRate?: number | null | undefined;
|
|
1578
1574
|
} | null | undefined;
|
|
1579
1575
|
postcode?: string | null | undefined;
|
|
1580
1576
|
tradeId?: string | null | undefined;
|
|
1577
|
+
limit?: number | undefined;
|
|
1578
|
+
page?: number | undefined;
|
|
1581
1579
|
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";
|
|
@@ -1746,7 +1746,7 @@ export declare const jobsContractRouter: {
|
|
|
1746
1746
|
qualificationId: string;
|
|
1747
1747
|
qualificationTypeId?: string | null | undefined;
|
|
1748
1748
|
}>, "many">>>;
|
|
1749
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
1749
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1750
1750
|
id: z.ZodString;
|
|
1751
1751
|
company: z.ZodOptional<z.ZodObject<{
|
|
1752
1752
|
id: z.ZodString;
|
|
@@ -1796,9 +1796,9 @@ 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";
|
|
1799
1800
|
createdAt: string;
|
|
1800
1801
|
updatedAt: string;
|
|
1801
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1802
1802
|
id: string;
|
|
1803
1803
|
userId: string;
|
|
1804
1804
|
company?: {
|
|
@@ -1819,9 +1819,9 @@ export declare const jobsContractRouter: {
|
|
|
1819
1819
|
id: string;
|
|
1820
1820
|
} | null | undefined;
|
|
1821
1821
|
}, {
|
|
1822
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1822
1823
|
createdAt: string | Date;
|
|
1823
1824
|
updatedAt: string | Date;
|
|
1824
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1825
1825
|
id: string;
|
|
1826
1826
|
userId: string;
|
|
1827
1827
|
company?: {
|
|
@@ -1841,16 +1841,16 @@ export declare const jobsContractRouter: {
|
|
|
1841
1841
|
newCollaboration?: {
|
|
1842
1842
|
id: string;
|
|
1843
1843
|
} | null | undefined;
|
|
1844
|
-
}
|
|
1844
|
+
}>>>;
|
|
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";
|
|
1848
1851
|
createdAt: string;
|
|
1849
1852
|
updatedAt: string;
|
|
1850
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1851
1853
|
id: string;
|
|
1852
|
-
description: string;
|
|
1853
|
-
numberOfPositions: number;
|
|
1854
1854
|
pay: {
|
|
1855
1855
|
rateUnit: "DAILY" | "HOURLY";
|
|
1856
1856
|
rate: number;
|
|
@@ -1863,10 +1863,20 @@ export declare const jobsContractRouter: {
|
|
|
1863
1863
|
qualificationId: string;
|
|
1864
1864
|
qualificationTypeId?: string | null | undefined;
|
|
1865
1865
|
}[];
|
|
1866
|
-
|
|
1866
|
+
workHours?: number | null | undefined;
|
|
1867
|
+
location?: {
|
|
1868
|
+
address?: string | null | undefined;
|
|
1869
|
+
postcode?: string | null | undefined;
|
|
1870
|
+
county?: string | null | undefined;
|
|
1871
|
+
adminDistrict?: string | null | undefined;
|
|
1872
|
+
builtUpArea?: string | null | undefined;
|
|
1873
|
+
postTown?: string | null | undefined;
|
|
1874
|
+
areaCovered?: string | null | undefined;
|
|
1875
|
+
} | null | undefined;
|
|
1876
|
+
currentCollaboration?: {
|
|
1877
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1867
1878
|
createdAt: string;
|
|
1868
1879
|
updatedAt: string;
|
|
1869
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1870
1880
|
id: string;
|
|
1871
1881
|
userId: string;
|
|
1872
1882
|
company?: {
|
|
@@ -1886,24 +1896,14 @@ export declare const jobsContractRouter: {
|
|
|
1886
1896
|
newCollaboration?: {
|
|
1887
1897
|
id: string;
|
|
1888
1898
|
} | null | undefined;
|
|
1889
|
-
} | null;
|
|
1890
|
-
workHours?: number | null | undefined;
|
|
1891
|
-
location?: {
|
|
1892
|
-
address?: string | null | undefined;
|
|
1893
|
-
postcode?: string | null | undefined;
|
|
1894
|
-
county?: string | null | undefined;
|
|
1895
|
-
adminDistrict?: string | null | undefined;
|
|
1896
|
-
builtUpArea?: string | null | undefined;
|
|
1897
|
-
postTown?: string | null | undefined;
|
|
1898
|
-
areaCovered?: string | null | undefined;
|
|
1899
1899
|
} | null | undefined;
|
|
1900
1900
|
}, {
|
|
1901
|
+
description: string;
|
|
1902
|
+
numberOfPositions: number;
|
|
1903
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1901
1904
|
createdAt: string | Date;
|
|
1902
1905
|
updatedAt: string | Date;
|
|
1903
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1904
1906
|
id: string;
|
|
1905
|
-
description: string;
|
|
1906
|
-
numberOfPositions: number;
|
|
1907
1907
|
pay: {
|
|
1908
1908
|
rateUnit: "DAILY" | "HOURLY";
|
|
1909
1909
|
rate: number;
|
|
@@ -1911,10 +1911,25 @@ export declare const jobsContractRouter: {
|
|
|
1911
1911
|
rateMax?: number | null | undefined;
|
|
1912
1912
|
};
|
|
1913
1913
|
tradeId: string;
|
|
1914
|
-
|
|
1914
|
+
workHours?: number | null | undefined;
|
|
1915
|
+
location?: {
|
|
1916
|
+
address?: string | null | undefined;
|
|
1917
|
+
postcode?: string | null | undefined;
|
|
1918
|
+
county?: string | null | undefined;
|
|
1919
|
+
adminDistrict?: string | null | undefined;
|
|
1920
|
+
builtUpArea?: string | null | undefined;
|
|
1921
|
+
postTown?: string | null | undefined;
|
|
1922
|
+
areaCovered?: string | null | undefined;
|
|
1923
|
+
} | null | undefined;
|
|
1924
|
+
jobQualifications?: {
|
|
1925
|
+
id: string;
|
|
1926
|
+
qualificationId: string;
|
|
1927
|
+
qualificationTypeId?: string | null | undefined;
|
|
1928
|
+
}[] | undefined;
|
|
1929
|
+
currentCollaboration?: {
|
|
1930
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1915
1931
|
createdAt: string | Date;
|
|
1916
1932
|
updatedAt: string | Date;
|
|
1917
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1918
1933
|
id: string;
|
|
1919
1934
|
userId: string;
|
|
1920
1935
|
company?: {
|
|
@@ -1934,22 +1949,7 @@ export declare const jobsContractRouter: {
|
|
|
1934
1949
|
newCollaboration?: {
|
|
1935
1950
|
id: string;
|
|
1936
1951
|
} | null | undefined;
|
|
1937
|
-
} | null;
|
|
1938
|
-
workHours?: number | null | undefined;
|
|
1939
|
-
location?: {
|
|
1940
|
-
address?: string | null | undefined;
|
|
1941
|
-
postcode?: string | null | undefined;
|
|
1942
|
-
county?: string | null | undefined;
|
|
1943
|
-
adminDistrict?: string | null | undefined;
|
|
1944
|
-
builtUpArea?: string | null | undefined;
|
|
1945
|
-
postTown?: string | null | undefined;
|
|
1946
|
-
areaCovered?: string | null | undefined;
|
|
1947
1952
|
} | 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";
|
|
1962
1965
|
createdAt: string;
|
|
1963
1966
|
updatedAt: string;
|
|
1964
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1965
1967
|
id: string;
|
|
1966
|
-
description: string;
|
|
1967
|
-
numberOfPositions: number;
|
|
1968
1968
|
pay: {
|
|
1969
1969
|
rateUnit: "DAILY" | "HOURLY";
|
|
1970
1970
|
rate: number;
|
|
@@ -1977,10 +1977,20 @@ export declare const jobsContractRouter: {
|
|
|
1977
1977
|
qualificationId: string;
|
|
1978
1978
|
qualificationTypeId?: string | null | undefined;
|
|
1979
1979
|
}[];
|
|
1980
|
-
|
|
1980
|
+
workHours?: number | null | undefined;
|
|
1981
|
+
location?: {
|
|
1982
|
+
address?: string | null | undefined;
|
|
1983
|
+
postcode?: string | null | undefined;
|
|
1984
|
+
county?: string | null | undefined;
|
|
1985
|
+
adminDistrict?: string | null | undefined;
|
|
1986
|
+
builtUpArea?: string | null | undefined;
|
|
1987
|
+
postTown?: string | null | undefined;
|
|
1988
|
+
areaCovered?: string | null | undefined;
|
|
1989
|
+
} | null | undefined;
|
|
1990
|
+
currentCollaboration?: {
|
|
1991
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1981
1992
|
createdAt: string;
|
|
1982
1993
|
updatedAt: string;
|
|
1983
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1984
1994
|
id: string;
|
|
1985
1995
|
userId: string;
|
|
1986
1996
|
company?: {
|
|
@@ -2000,16 +2010,6 @@ export declare const jobsContractRouter: {
|
|
|
2000
2010
|
newCollaboration?: {
|
|
2001
2011
|
id: string;
|
|
2002
2012
|
} | null | undefined;
|
|
2003
|
-
} | null;
|
|
2004
|
-
workHours?: number | null | undefined;
|
|
2005
|
-
location?: {
|
|
2006
|
-
address?: string | null | undefined;
|
|
2007
|
-
postcode?: string | null | undefined;
|
|
2008
|
-
county?: string | null | undefined;
|
|
2009
|
-
adminDistrict?: string | null | undefined;
|
|
2010
|
-
builtUpArea?: string | null | undefined;
|
|
2011
|
-
postTown?: string | null | undefined;
|
|
2012
|
-
areaCovered?: string | null | undefined;
|
|
2013
2013
|
} | null | undefined;
|
|
2014
2014
|
}[];
|
|
2015
2015
|
totalCount: number;
|
|
@@ -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";
|
|
2022
2025
|
createdAt: string | Date;
|
|
2023
2026
|
updatedAt: string | Date;
|
|
2024
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2025
2027
|
id: string;
|
|
2026
|
-
description: string;
|
|
2027
|
-
numberOfPositions: number;
|
|
2028
2028
|
pay: {
|
|
2029
2029
|
rateUnit: "DAILY" | "HOURLY";
|
|
2030
2030
|
rate: number;
|
|
@@ -2032,10 +2032,25 @@ export declare const jobsContractRouter: {
|
|
|
2032
2032
|
rateMax?: number | null | undefined;
|
|
2033
2033
|
};
|
|
2034
2034
|
tradeId: string;
|
|
2035
|
-
|
|
2035
|
+
workHours?: number | null | undefined;
|
|
2036
|
+
location?: {
|
|
2037
|
+
address?: string | null | undefined;
|
|
2038
|
+
postcode?: string | null | undefined;
|
|
2039
|
+
county?: string | null | undefined;
|
|
2040
|
+
adminDistrict?: string | null | undefined;
|
|
2041
|
+
builtUpArea?: string | null | undefined;
|
|
2042
|
+
postTown?: string | null | undefined;
|
|
2043
|
+
areaCovered?: string | null | undefined;
|
|
2044
|
+
} | null | undefined;
|
|
2045
|
+
jobQualifications?: {
|
|
2046
|
+
id: string;
|
|
2047
|
+
qualificationId: string;
|
|
2048
|
+
qualificationTypeId?: string | null | undefined;
|
|
2049
|
+
}[] | undefined;
|
|
2050
|
+
currentCollaboration?: {
|
|
2051
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2036
2052
|
createdAt: string | Date;
|
|
2037
2053
|
updatedAt: string | Date;
|
|
2038
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2039
2054
|
id: string;
|
|
2040
2055
|
userId: string;
|
|
2041
2056
|
company?: {
|
|
@@ -2055,22 +2070,7 @@ export declare const jobsContractRouter: {
|
|
|
2055
2070
|
newCollaboration?: {
|
|
2056
2071
|
id: string;
|
|
2057
2072
|
} | null | undefined;
|
|
2058
|
-
} | null;
|
|
2059
|
-
workHours?: number | null | undefined;
|
|
2060
|
-
location?: {
|
|
2061
|
-
address?: string | null | undefined;
|
|
2062
|
-
postcode?: string | null | undefined;
|
|
2063
|
-
county?: string | null | undefined;
|
|
2064
|
-
adminDistrict?: string | null | undefined;
|
|
2065
|
-
builtUpArea?: string | null | undefined;
|
|
2066
|
-
postTown?: string | null | undefined;
|
|
2067
|
-
areaCovered?: string | null | undefined;
|
|
2068
2073
|
} | 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;
|
|
@@ -2258,7 +2258,7 @@ export declare const jobsContractRouter: {
|
|
|
2258
2258
|
qualificationId: string;
|
|
2259
2259
|
qualificationTypeId?: string | null | undefined;
|
|
2260
2260
|
}>, "many">>>;
|
|
2261
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
2261
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2262
2262
|
id: z.ZodString;
|
|
2263
2263
|
company: z.ZodOptional<z.ZodObject<{
|
|
2264
2264
|
id: z.ZodString;
|
|
@@ -2308,9 +2308,9 @@ 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";
|
|
2311
2312
|
createdAt: string;
|
|
2312
2313
|
updatedAt: string;
|
|
2313
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2314
2314
|
id: string;
|
|
2315
2315
|
userId: string;
|
|
2316
2316
|
company?: {
|
|
@@ -2331,9 +2331,9 @@ export declare const jobsContractRouter: {
|
|
|
2331
2331
|
id: string;
|
|
2332
2332
|
} | null | undefined;
|
|
2333
2333
|
}, {
|
|
2334
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2334
2335
|
createdAt: string | Date;
|
|
2335
2336
|
updatedAt: string | Date;
|
|
2336
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2337
2337
|
id: string;
|
|
2338
2338
|
userId: string;
|
|
2339
2339
|
company?: {
|
|
@@ -2353,16 +2353,16 @@ export declare const jobsContractRouter: {
|
|
|
2353
2353
|
newCollaboration?: {
|
|
2354
2354
|
id: string;
|
|
2355
2355
|
} | null | undefined;
|
|
2356
|
-
}
|
|
2356
|
+
}>>>;
|
|
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";
|
|
2360
2363
|
createdAt: string;
|
|
2361
2364
|
updatedAt: string;
|
|
2362
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2363
2365
|
id: string;
|
|
2364
|
-
description: string;
|
|
2365
|
-
numberOfPositions: number;
|
|
2366
2366
|
pay: {
|
|
2367
2367
|
rateUnit: "DAILY" | "HOURLY";
|
|
2368
2368
|
rate: number;
|
|
@@ -2375,10 +2375,20 @@ export declare const jobsContractRouter: {
|
|
|
2375
2375
|
qualificationId: string;
|
|
2376
2376
|
qualificationTypeId?: string | null | undefined;
|
|
2377
2377
|
}[];
|
|
2378
|
-
|
|
2378
|
+
workHours?: number | null | undefined;
|
|
2379
|
+
location?: {
|
|
2380
|
+
address?: string | null | undefined;
|
|
2381
|
+
postcode?: string | null | undefined;
|
|
2382
|
+
county?: string | null | undefined;
|
|
2383
|
+
adminDistrict?: string | null | undefined;
|
|
2384
|
+
builtUpArea?: string | null | undefined;
|
|
2385
|
+
postTown?: string | null | undefined;
|
|
2386
|
+
areaCovered?: string | null | undefined;
|
|
2387
|
+
} | null | undefined;
|
|
2388
|
+
currentCollaboration?: {
|
|
2389
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2379
2390
|
createdAt: string;
|
|
2380
2391
|
updatedAt: string;
|
|
2381
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2382
2392
|
id: string;
|
|
2383
2393
|
userId: string;
|
|
2384
2394
|
company?: {
|
|
@@ -2398,24 +2408,14 @@ export declare const jobsContractRouter: {
|
|
|
2398
2408
|
newCollaboration?: {
|
|
2399
2409
|
id: string;
|
|
2400
2410
|
} | null | undefined;
|
|
2401
|
-
} | null;
|
|
2402
|
-
workHours?: number | null | undefined;
|
|
2403
|
-
location?: {
|
|
2404
|
-
address?: string | null | undefined;
|
|
2405
|
-
postcode?: string | null | undefined;
|
|
2406
|
-
county?: string | null | undefined;
|
|
2407
|
-
adminDistrict?: string | null | undefined;
|
|
2408
|
-
builtUpArea?: string | null | undefined;
|
|
2409
|
-
postTown?: string | null | undefined;
|
|
2410
|
-
areaCovered?: string | null | undefined;
|
|
2411
2411
|
} | null | undefined;
|
|
2412
2412
|
}, {
|
|
2413
|
+
description: string;
|
|
2414
|
+
numberOfPositions: number;
|
|
2415
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2413
2416
|
createdAt: string | Date;
|
|
2414
2417
|
updatedAt: string | Date;
|
|
2415
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2416
2418
|
id: string;
|
|
2417
|
-
description: string;
|
|
2418
|
-
numberOfPositions: number;
|
|
2419
2419
|
pay: {
|
|
2420
2420
|
rateUnit: "DAILY" | "HOURLY";
|
|
2421
2421
|
rate: number;
|
|
@@ -2423,10 +2423,25 @@ export declare const jobsContractRouter: {
|
|
|
2423
2423
|
rateMax?: number | null | undefined;
|
|
2424
2424
|
};
|
|
2425
2425
|
tradeId: string;
|
|
2426
|
-
|
|
2426
|
+
workHours?: number | null | undefined;
|
|
2427
|
+
location?: {
|
|
2428
|
+
address?: string | null | undefined;
|
|
2429
|
+
postcode?: string | null | undefined;
|
|
2430
|
+
county?: string | null | undefined;
|
|
2431
|
+
adminDistrict?: string | null | undefined;
|
|
2432
|
+
builtUpArea?: string | null | undefined;
|
|
2433
|
+
postTown?: string | null | undefined;
|
|
2434
|
+
areaCovered?: string | null | undefined;
|
|
2435
|
+
} | null | undefined;
|
|
2436
|
+
jobQualifications?: {
|
|
2437
|
+
id: string;
|
|
2438
|
+
qualificationId: string;
|
|
2439
|
+
qualificationTypeId?: string | null | undefined;
|
|
2440
|
+
}[] | undefined;
|
|
2441
|
+
currentCollaboration?: {
|
|
2442
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2427
2443
|
createdAt: string | Date;
|
|
2428
2444
|
updatedAt: string | Date;
|
|
2429
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2430
2445
|
id: string;
|
|
2431
2446
|
userId: string;
|
|
2432
2447
|
company?: {
|
|
@@ -2446,22 +2461,7 @@ export declare const jobsContractRouter: {
|
|
|
2446
2461
|
newCollaboration?: {
|
|
2447
2462
|
id: string;
|
|
2448
2463
|
} | null | undefined;
|
|
2449
|
-
} | null;
|
|
2450
|
-
workHours?: number | null | undefined;
|
|
2451
|
-
location?: {
|
|
2452
|
-
address?: string | null | undefined;
|
|
2453
|
-
postcode?: string | null | undefined;
|
|
2454
|
-
county?: string | null | undefined;
|
|
2455
|
-
adminDistrict?: string | null | undefined;
|
|
2456
|
-
builtUpArea?: string | null | undefined;
|
|
2457
|
-
postTown?: string | null | undefined;
|
|
2458
|
-
areaCovered?: string | null | undefined;
|
|
2459
2464
|
} | 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;
|
|
2560
2559
|
description?: string | undefined;
|
|
2561
2560
|
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;
|
|
2583
2582
|
description?: string | undefined;
|
|
2584
2583
|
numberOfPositions?: number | undefined;
|
|
2584
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
2585
2585
|
workHours?: number | undefined;
|
|
2586
2586
|
pay?: {
|
|
2587
2587
|
rate: number;
|
|
@@ -2765,7 +2765,7 @@ export declare const jobsContractRouter: {
|
|
|
2765
2765
|
qualificationId: string;
|
|
2766
2766
|
qualificationTypeId?: string | null | undefined;
|
|
2767
2767
|
}>, "many">>>;
|
|
2768
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
2768
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2769
2769
|
id: z.ZodString;
|
|
2770
2770
|
company: z.ZodOptional<z.ZodObject<{
|
|
2771
2771
|
id: z.ZodString;
|
|
@@ -2815,9 +2815,9 @@ 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";
|
|
2818
2819
|
createdAt: string;
|
|
2819
2820
|
updatedAt: string;
|
|
2820
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2821
2821
|
id: string;
|
|
2822
2822
|
userId: string;
|
|
2823
2823
|
company?: {
|
|
@@ -2838,9 +2838,9 @@ export declare const jobsContractRouter: {
|
|
|
2838
2838
|
id: string;
|
|
2839
2839
|
} | null | undefined;
|
|
2840
2840
|
}, {
|
|
2841
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2841
2842
|
createdAt: string | Date;
|
|
2842
2843
|
updatedAt: string | Date;
|
|
2843
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2844
2844
|
id: string;
|
|
2845
2845
|
userId: string;
|
|
2846
2846
|
company?: {
|
|
@@ -2860,16 +2860,16 @@ export declare const jobsContractRouter: {
|
|
|
2860
2860
|
newCollaboration?: {
|
|
2861
2861
|
id: string;
|
|
2862
2862
|
} | null | undefined;
|
|
2863
|
-
}
|
|
2863
|
+
}>>>;
|
|
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";
|
|
2867
2870
|
createdAt: string;
|
|
2868
2871
|
updatedAt: string;
|
|
2869
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2870
2872
|
id: string;
|
|
2871
|
-
description: string;
|
|
2872
|
-
numberOfPositions: number;
|
|
2873
2873
|
pay: {
|
|
2874
2874
|
rateUnit: "DAILY" | "HOURLY";
|
|
2875
2875
|
rate: number;
|
|
@@ -2882,10 +2882,20 @@ export declare const jobsContractRouter: {
|
|
|
2882
2882
|
qualificationId: string;
|
|
2883
2883
|
qualificationTypeId?: string | null | undefined;
|
|
2884
2884
|
}[];
|
|
2885
|
-
|
|
2885
|
+
workHours?: number | null | undefined;
|
|
2886
|
+
location?: {
|
|
2887
|
+
address?: string | null | undefined;
|
|
2888
|
+
postcode?: string | null | undefined;
|
|
2889
|
+
county?: string | null | undefined;
|
|
2890
|
+
adminDistrict?: string | null | undefined;
|
|
2891
|
+
builtUpArea?: string | null | undefined;
|
|
2892
|
+
postTown?: string | null | undefined;
|
|
2893
|
+
areaCovered?: string | null | undefined;
|
|
2894
|
+
} | null | undefined;
|
|
2895
|
+
currentCollaboration?: {
|
|
2896
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2886
2897
|
createdAt: string;
|
|
2887
2898
|
updatedAt: string;
|
|
2888
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2889
2899
|
id: string;
|
|
2890
2900
|
userId: string;
|
|
2891
2901
|
company?: {
|
|
@@ -2905,24 +2915,14 @@ export declare const jobsContractRouter: {
|
|
|
2905
2915
|
newCollaboration?: {
|
|
2906
2916
|
id: string;
|
|
2907
2917
|
} | null | undefined;
|
|
2908
|
-
} | null;
|
|
2909
|
-
workHours?: number | null | undefined;
|
|
2910
|
-
location?: {
|
|
2911
|
-
address?: string | null | undefined;
|
|
2912
|
-
postcode?: string | null | undefined;
|
|
2913
|
-
county?: string | null | undefined;
|
|
2914
|
-
adminDistrict?: string | null | undefined;
|
|
2915
|
-
builtUpArea?: string | null | undefined;
|
|
2916
|
-
postTown?: string | null | undefined;
|
|
2917
|
-
areaCovered?: string | null | undefined;
|
|
2918
2918
|
} | null | undefined;
|
|
2919
2919
|
}, {
|
|
2920
|
+
description: string;
|
|
2921
|
+
numberOfPositions: number;
|
|
2922
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2920
2923
|
createdAt: string | Date;
|
|
2921
2924
|
updatedAt: string | Date;
|
|
2922
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2923
2925
|
id: string;
|
|
2924
|
-
description: string;
|
|
2925
|
-
numberOfPositions: number;
|
|
2926
2926
|
pay: {
|
|
2927
2927
|
rateUnit: "DAILY" | "HOURLY";
|
|
2928
2928
|
rate: number;
|
|
@@ -2930,10 +2930,25 @@ export declare const jobsContractRouter: {
|
|
|
2930
2930
|
rateMax?: number | null | undefined;
|
|
2931
2931
|
};
|
|
2932
2932
|
tradeId: string;
|
|
2933
|
-
|
|
2933
|
+
workHours?: number | null | undefined;
|
|
2934
|
+
location?: {
|
|
2935
|
+
address?: string | null | undefined;
|
|
2936
|
+
postcode?: string | null | undefined;
|
|
2937
|
+
county?: string | null | undefined;
|
|
2938
|
+
adminDistrict?: string | null | undefined;
|
|
2939
|
+
builtUpArea?: string | null | undefined;
|
|
2940
|
+
postTown?: string | null | undefined;
|
|
2941
|
+
areaCovered?: string | null | undefined;
|
|
2942
|
+
} | null | undefined;
|
|
2943
|
+
jobQualifications?: {
|
|
2944
|
+
id: string;
|
|
2945
|
+
qualificationId: string;
|
|
2946
|
+
qualificationTypeId?: string | null | undefined;
|
|
2947
|
+
}[] | undefined;
|
|
2948
|
+
currentCollaboration?: {
|
|
2949
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2934
2950
|
createdAt: string | Date;
|
|
2935
2951
|
updatedAt: string | Date;
|
|
2936
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2937
2952
|
id: string;
|
|
2938
2953
|
userId: string;
|
|
2939
2954
|
company?: {
|
|
@@ -2953,22 +2968,7 @@ export declare const jobsContractRouter: {
|
|
|
2953
2968
|
newCollaboration?: {
|
|
2954
2969
|
id: string;
|
|
2955
2970
|
} | null | undefined;
|
|
2956
|
-
} | null;
|
|
2957
|
-
workHours?: number | null | undefined;
|
|
2958
|
-
location?: {
|
|
2959
|
-
address?: string | null | undefined;
|
|
2960
|
-
postcode?: string | null | undefined;
|
|
2961
|
-
county?: string | null | undefined;
|
|
2962
|
-
adminDistrict?: string | null | undefined;
|
|
2963
|
-
builtUpArea?: string | null | undefined;
|
|
2964
|
-
postTown?: string | null | undefined;
|
|
2965
|
-
areaCovered?: string | null | undefined;
|
|
2966
2971
|
} | 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;
|