@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
|
@@ -61,15 +61,15 @@ export declare const FilterJobInBookingSchema: z.ZodObject<{
|
|
|
61
61
|
companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
62
62
|
tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
tradeId?: string | null | undefined;
|
|
64
65
|
userId?: string | null | undefined;
|
|
65
|
-
companyId?: string | null | undefined;
|
|
66
66
|
clientId?: string | null | undefined;
|
|
67
|
-
|
|
67
|
+
companyId?: string | null | undefined;
|
|
68
68
|
}, {
|
|
69
|
+
tradeId?: string | null | undefined;
|
|
69
70
|
userId?: string | null | undefined;
|
|
70
|
-
companyId?: string | null | undefined;
|
|
71
71
|
clientId?: string | null | undefined;
|
|
72
|
-
|
|
72
|
+
companyId?: string | null | undefined;
|
|
73
73
|
}>;
|
|
74
74
|
export declare const BookingWorkerSchema: z.ZodObject<{
|
|
75
75
|
id: z.ZodString;
|
|
@@ -102,12 +102,12 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
phoneNumber: string;
|
|
104
104
|
isPrimary: boolean;
|
|
105
|
-
id?: string | undefined;
|
|
106
105
|
description?: string | undefined;
|
|
106
|
+
id?: string | undefined;
|
|
107
107
|
}, {
|
|
108
108
|
phoneNumber: string;
|
|
109
|
-
id?: string | undefined;
|
|
110
109
|
description?: string | undefined;
|
|
110
|
+
id?: string | undefined;
|
|
111
111
|
isPrimary?: boolean | undefined;
|
|
112
112
|
}>, "many">>>;
|
|
113
113
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -223,13 +223,12 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
223
223
|
phoneNumbers: {
|
|
224
224
|
phoneNumber: string;
|
|
225
225
|
isPrimary: boolean;
|
|
226
|
-
id?: string | undefined;
|
|
227
226
|
description?: string | undefined;
|
|
227
|
+
id?: string | undefined;
|
|
228
228
|
}[];
|
|
229
229
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
230
230
|
hasTools: boolean;
|
|
231
231
|
hasPpe: boolean;
|
|
232
|
-
email?: string | null | undefined;
|
|
233
232
|
location?: {
|
|
234
233
|
address?: string | null | undefined;
|
|
235
234
|
postcode?: string | null | undefined;
|
|
@@ -239,6 +238,7 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
239
238
|
postTown?: string | null | undefined;
|
|
240
239
|
areaCovered?: string | null | undefined;
|
|
241
240
|
} | null | undefined;
|
|
241
|
+
email?: string | null | undefined;
|
|
242
242
|
nino?: string | null | undefined;
|
|
243
243
|
dateOfBirth?: string | null | undefined;
|
|
244
244
|
bio?: string | null | undefined;
|
|
@@ -280,7 +280,6 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
280
280
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
281
281
|
hasTools: boolean;
|
|
282
282
|
hasPpe: boolean;
|
|
283
|
-
email?: string | null | undefined;
|
|
284
283
|
location?: {
|
|
285
284
|
address?: string | null | undefined;
|
|
286
285
|
postcode?: string | null | undefined;
|
|
@@ -290,10 +289,11 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
290
289
|
postTown?: string | null | undefined;
|
|
291
290
|
areaCovered?: string | null | undefined;
|
|
292
291
|
} | null | undefined;
|
|
292
|
+
email?: string | null | undefined;
|
|
293
293
|
phoneNumbers?: {
|
|
294
294
|
phoneNumber: string;
|
|
295
|
-
id?: string | undefined;
|
|
296
295
|
description?: string | undefined;
|
|
296
|
+
id?: string | undefined;
|
|
297
297
|
isPrimary?: boolean | undefined;
|
|
298
298
|
}[] | undefined;
|
|
299
299
|
nino?: string | null | undefined;
|
|
@@ -428,7 +428,7 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
428
428
|
qualificationId: string;
|
|
429
429
|
qualificationTypeId?: string | null | undefined;
|
|
430
430
|
}>, "many">>>;
|
|
431
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
431
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
432
432
|
id: z.ZodString;
|
|
433
433
|
company: z.ZodOptional<z.ZodObject<{
|
|
434
434
|
id: z.ZodString;
|
|
@@ -478,9 +478,9 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
478
478
|
id: string;
|
|
479
479
|
}>>>;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
481
482
|
createdAt: string;
|
|
482
483
|
updatedAt: string;
|
|
483
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
484
484
|
id: string;
|
|
485
485
|
userId: string;
|
|
486
486
|
company?: {
|
|
@@ -501,9 +501,9 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
501
501
|
id: string;
|
|
502
502
|
} | null | undefined;
|
|
503
503
|
}, {
|
|
504
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
504
505
|
createdAt: string | Date;
|
|
505
506
|
updatedAt: string | Date;
|
|
506
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
507
507
|
id: string;
|
|
508
508
|
userId: string;
|
|
509
509
|
company?: {
|
|
@@ -523,16 +523,16 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
523
523
|
newCollaboration?: {
|
|
524
524
|
id: string;
|
|
525
525
|
} | null | undefined;
|
|
526
|
-
}
|
|
526
|
+
}>>>;
|
|
527
527
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
528
528
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
529
529
|
}, "strip", z.ZodTypeAny, {
|
|
530
|
+
description: string;
|
|
531
|
+
numberOfPositions: number;
|
|
532
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
530
533
|
createdAt: string;
|
|
531
534
|
updatedAt: string;
|
|
532
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
533
535
|
id: string;
|
|
534
|
-
description: string;
|
|
535
|
-
numberOfPositions: number;
|
|
536
536
|
pay: {
|
|
537
537
|
rateUnit: "DAILY" | "HOURLY";
|
|
538
538
|
rate: number;
|
|
@@ -545,10 +545,20 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
545
545
|
qualificationId: string;
|
|
546
546
|
qualificationTypeId?: string | null | undefined;
|
|
547
547
|
}[];
|
|
548
|
-
|
|
548
|
+
workHours?: number | null | undefined;
|
|
549
|
+
location?: {
|
|
550
|
+
address?: string | null | undefined;
|
|
551
|
+
postcode?: string | null | undefined;
|
|
552
|
+
county?: string | null | undefined;
|
|
553
|
+
adminDistrict?: string | null | undefined;
|
|
554
|
+
builtUpArea?: string | null | undefined;
|
|
555
|
+
postTown?: string | null | undefined;
|
|
556
|
+
areaCovered?: string | null | undefined;
|
|
557
|
+
} | null | undefined;
|
|
558
|
+
currentCollaboration?: {
|
|
559
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
549
560
|
createdAt: string;
|
|
550
561
|
updatedAt: string;
|
|
551
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
552
562
|
id: string;
|
|
553
563
|
userId: string;
|
|
554
564
|
company?: {
|
|
@@ -568,24 +578,14 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
568
578
|
newCollaboration?: {
|
|
569
579
|
id: string;
|
|
570
580
|
} | null | undefined;
|
|
571
|
-
} | null;
|
|
572
|
-
workHours?: number | null | undefined;
|
|
573
|
-
location?: {
|
|
574
|
-
address?: string | null | undefined;
|
|
575
|
-
postcode?: string | null | undefined;
|
|
576
|
-
county?: string | null | undefined;
|
|
577
|
-
adminDistrict?: string | null | undefined;
|
|
578
|
-
builtUpArea?: string | null | undefined;
|
|
579
|
-
postTown?: string | null | undefined;
|
|
580
|
-
areaCovered?: string | null | undefined;
|
|
581
581
|
} | null | undefined;
|
|
582
582
|
}, {
|
|
583
|
+
description: string;
|
|
584
|
+
numberOfPositions: number;
|
|
585
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
583
586
|
createdAt: string | Date;
|
|
584
587
|
updatedAt: string | Date;
|
|
585
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
586
588
|
id: string;
|
|
587
|
-
description: string;
|
|
588
|
-
numberOfPositions: number;
|
|
589
589
|
pay: {
|
|
590
590
|
rateUnit: "DAILY" | "HOURLY";
|
|
591
591
|
rate: number;
|
|
@@ -593,10 +593,25 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
593
593
|
rateMax?: number | null | undefined;
|
|
594
594
|
};
|
|
595
595
|
tradeId: string;
|
|
596
|
-
|
|
596
|
+
workHours?: number | null | undefined;
|
|
597
|
+
location?: {
|
|
598
|
+
address?: string | null | undefined;
|
|
599
|
+
postcode?: string | null | undefined;
|
|
600
|
+
county?: string | null | undefined;
|
|
601
|
+
adminDistrict?: string | null | undefined;
|
|
602
|
+
builtUpArea?: string | null | undefined;
|
|
603
|
+
postTown?: string | null | undefined;
|
|
604
|
+
areaCovered?: string | null | undefined;
|
|
605
|
+
} | null | undefined;
|
|
606
|
+
jobQualifications?: {
|
|
607
|
+
id: string;
|
|
608
|
+
qualificationId: string;
|
|
609
|
+
qualificationTypeId?: string | null | undefined;
|
|
610
|
+
}[] | undefined;
|
|
611
|
+
currentCollaboration?: {
|
|
612
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
597
613
|
createdAt: string | Date;
|
|
598
614
|
updatedAt: string | Date;
|
|
599
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
600
615
|
id: string;
|
|
601
616
|
userId: string;
|
|
602
617
|
company?: {
|
|
@@ -616,31 +631,20 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
616
631
|
newCollaboration?: {
|
|
617
632
|
id: string;
|
|
618
633
|
} | null | undefined;
|
|
619
|
-
} | null;
|
|
620
|
-
workHours?: number | null | undefined;
|
|
621
|
-
location?: {
|
|
622
|
-
address?: string | null | undefined;
|
|
623
|
-
postcode?: string | null | undefined;
|
|
624
|
-
county?: string | null | undefined;
|
|
625
|
-
adminDistrict?: string | null | undefined;
|
|
626
|
-
builtUpArea?: string | null | undefined;
|
|
627
|
-
postTown?: string | null | undefined;
|
|
628
|
-
areaCovered?: string | null | undefined;
|
|
629
634
|
} | null | undefined;
|
|
630
|
-
jobQualifications?: {
|
|
631
|
-
id: string;
|
|
632
|
-
qualificationId: string;
|
|
633
|
-
qualificationTypeId?: string | null | undefined;
|
|
634
|
-
}[] | undefined;
|
|
635
635
|
}>;
|
|
636
636
|
userId: z.ZodString;
|
|
637
637
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
638
638
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
639
639
|
}, "strip", z.ZodTypeAny, {
|
|
640
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
640
641
|
createdAt: string;
|
|
641
642
|
updatedAt: string;
|
|
642
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
643
643
|
id: string;
|
|
644
|
+
pay: {
|
|
645
|
+
rate: number;
|
|
646
|
+
unit: "DAILY" | "HOURLY";
|
|
647
|
+
};
|
|
644
648
|
user: {
|
|
645
649
|
createdAt: string;
|
|
646
650
|
updatedAt: string;
|
|
@@ -652,10 +656,6 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
652
656
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
653
657
|
};
|
|
654
658
|
userId: string;
|
|
655
|
-
pay: {
|
|
656
|
-
rate: number;
|
|
657
|
-
unit: "DAILY" | "HOURLY";
|
|
658
|
-
};
|
|
659
659
|
startDate: string;
|
|
660
660
|
worker: {
|
|
661
661
|
createdAt: string;
|
|
@@ -666,13 +666,12 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
666
666
|
phoneNumbers: {
|
|
667
667
|
phoneNumber: string;
|
|
668
668
|
isPrimary: boolean;
|
|
669
|
-
id?: string | undefined;
|
|
670
669
|
description?: string | undefined;
|
|
670
|
+
id?: string | undefined;
|
|
671
671
|
}[];
|
|
672
672
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
673
673
|
hasTools: boolean;
|
|
674
674
|
hasPpe: boolean;
|
|
675
|
-
email?: string | null | undefined;
|
|
676
675
|
location?: {
|
|
677
676
|
address?: string | null | undefined;
|
|
678
677
|
postcode?: string | null | undefined;
|
|
@@ -682,6 +681,7 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
682
681
|
postTown?: string | null | undefined;
|
|
683
682
|
areaCovered?: string | null | undefined;
|
|
684
683
|
} | null | undefined;
|
|
684
|
+
email?: string | null | undefined;
|
|
685
685
|
nino?: string | null | undefined;
|
|
686
686
|
dateOfBirth?: string | null | undefined;
|
|
687
687
|
bio?: string | null | undefined;
|
|
@@ -716,12 +716,12 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
716
716
|
distanceKm?: number | null | undefined;
|
|
717
717
|
};
|
|
718
718
|
job: {
|
|
719
|
+
description: string;
|
|
720
|
+
numberOfPositions: number;
|
|
721
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
719
722
|
createdAt: string;
|
|
720
723
|
updatedAt: string;
|
|
721
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
722
724
|
id: string;
|
|
723
|
-
description: string;
|
|
724
|
-
numberOfPositions: number;
|
|
725
725
|
pay: {
|
|
726
726
|
rateUnit: "DAILY" | "HOURLY";
|
|
727
727
|
rate: number;
|
|
@@ -734,10 +734,20 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
734
734
|
qualificationId: string;
|
|
735
735
|
qualificationTypeId?: string | null | undefined;
|
|
736
736
|
}[];
|
|
737
|
-
|
|
737
|
+
workHours?: number | null | undefined;
|
|
738
|
+
location?: {
|
|
739
|
+
address?: string | null | undefined;
|
|
740
|
+
postcode?: string | null | undefined;
|
|
741
|
+
county?: string | null | undefined;
|
|
742
|
+
adminDistrict?: string | null | undefined;
|
|
743
|
+
builtUpArea?: string | null | undefined;
|
|
744
|
+
postTown?: string | null | undefined;
|
|
745
|
+
areaCovered?: string | null | undefined;
|
|
746
|
+
} | null | undefined;
|
|
747
|
+
currentCollaboration?: {
|
|
748
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
738
749
|
createdAt: string;
|
|
739
750
|
updatedAt: string;
|
|
740
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
741
751
|
id: string;
|
|
742
752
|
userId: string;
|
|
743
753
|
company?: {
|
|
@@ -757,24 +767,18 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
757
767
|
newCollaboration?: {
|
|
758
768
|
id: string;
|
|
759
769
|
} | null | undefined;
|
|
760
|
-
} | null;
|
|
761
|
-
workHours?: number | null | undefined;
|
|
762
|
-
location?: {
|
|
763
|
-
address?: string | null | undefined;
|
|
764
|
-
postcode?: string | null | undefined;
|
|
765
|
-
county?: string | null | undefined;
|
|
766
|
-
adminDistrict?: string | null | undefined;
|
|
767
|
-
builtUpArea?: string | null | undefined;
|
|
768
|
-
postTown?: string | null | undefined;
|
|
769
|
-
areaCovered?: string | null | undefined;
|
|
770
770
|
} | null | undefined;
|
|
771
771
|
};
|
|
772
772
|
endDate?: string | null | undefined;
|
|
773
773
|
}, {
|
|
774
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
774
775
|
createdAt: string | Date;
|
|
775
776
|
updatedAt: string | Date;
|
|
776
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
777
777
|
id: string;
|
|
778
|
+
pay: {
|
|
779
|
+
rate: number;
|
|
780
|
+
unit: "DAILY" | "HOURLY";
|
|
781
|
+
};
|
|
778
782
|
user: {
|
|
779
783
|
createdAt: string | Date;
|
|
780
784
|
updatedAt: string | Date;
|
|
@@ -786,10 +790,6 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
786
790
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
787
791
|
};
|
|
788
792
|
userId: string;
|
|
789
|
-
pay: {
|
|
790
|
-
rate: number;
|
|
791
|
-
unit: "DAILY" | "HOURLY";
|
|
792
|
-
};
|
|
793
793
|
startDate: string | Date;
|
|
794
794
|
worker: {
|
|
795
795
|
createdAt: string | Date;
|
|
@@ -800,7 +800,6 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
800
800
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
801
801
|
hasTools: boolean;
|
|
802
802
|
hasPpe: boolean;
|
|
803
|
-
email?: string | null | undefined;
|
|
804
803
|
location?: {
|
|
805
804
|
address?: string | null | undefined;
|
|
806
805
|
postcode?: string | null | undefined;
|
|
@@ -810,10 +809,11 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
810
809
|
postTown?: string | null | undefined;
|
|
811
810
|
areaCovered?: string | null | undefined;
|
|
812
811
|
} | null | undefined;
|
|
812
|
+
email?: string | null | undefined;
|
|
813
813
|
phoneNumbers?: {
|
|
814
814
|
phoneNumber: string;
|
|
815
|
-
id?: string | undefined;
|
|
816
815
|
description?: string | undefined;
|
|
816
|
+
id?: string | undefined;
|
|
817
817
|
isPrimary?: boolean | undefined;
|
|
818
818
|
}[] | undefined;
|
|
819
819
|
nino?: string | null | undefined;
|
|
@@ -850,12 +850,12 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
850
850
|
distanceKm?: number | null | undefined;
|
|
851
851
|
};
|
|
852
852
|
job: {
|
|
853
|
+
description: string;
|
|
854
|
+
numberOfPositions: number;
|
|
855
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
853
856
|
createdAt: string | Date;
|
|
854
857
|
updatedAt: string | Date;
|
|
855
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
856
858
|
id: string;
|
|
857
|
-
description: string;
|
|
858
|
-
numberOfPositions: number;
|
|
859
859
|
pay: {
|
|
860
860
|
rateUnit: "DAILY" | "HOURLY";
|
|
861
861
|
rate: number;
|
|
@@ -863,10 +863,25 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
863
863
|
rateMax?: number | null | undefined;
|
|
864
864
|
};
|
|
865
865
|
tradeId: string;
|
|
866
|
-
|
|
866
|
+
workHours?: number | null | undefined;
|
|
867
|
+
location?: {
|
|
868
|
+
address?: string | null | undefined;
|
|
869
|
+
postcode?: string | null | undefined;
|
|
870
|
+
county?: string | null | undefined;
|
|
871
|
+
adminDistrict?: string | null | undefined;
|
|
872
|
+
builtUpArea?: string | null | undefined;
|
|
873
|
+
postTown?: string | null | undefined;
|
|
874
|
+
areaCovered?: string | null | undefined;
|
|
875
|
+
} | null | undefined;
|
|
876
|
+
jobQualifications?: {
|
|
877
|
+
id: string;
|
|
878
|
+
qualificationId: string;
|
|
879
|
+
qualificationTypeId?: string | null | undefined;
|
|
880
|
+
}[] | undefined;
|
|
881
|
+
currentCollaboration?: {
|
|
882
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
867
883
|
createdAt: string | Date;
|
|
868
884
|
updatedAt: string | Date;
|
|
869
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
870
885
|
id: string;
|
|
871
886
|
userId: string;
|
|
872
887
|
company?: {
|
|
@@ -886,22 +901,7 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
886
901
|
newCollaboration?: {
|
|
887
902
|
id: string;
|
|
888
903
|
} | null | undefined;
|
|
889
|
-
} | null;
|
|
890
|
-
workHours?: number | null | undefined;
|
|
891
|
-
location?: {
|
|
892
|
-
address?: string | null | undefined;
|
|
893
|
-
postcode?: string | null | undefined;
|
|
894
|
-
county?: string | null | undefined;
|
|
895
|
-
adminDistrict?: string | null | undefined;
|
|
896
|
-
builtUpArea?: string | null | undefined;
|
|
897
|
-
postTown?: string | null | undefined;
|
|
898
|
-
areaCovered?: string | null | undefined;
|
|
899
904
|
} | null | undefined;
|
|
900
|
-
jobQualifications?: {
|
|
901
|
-
id: string;
|
|
902
|
-
qualificationId: string;
|
|
903
|
-
qualificationTypeId?: string | null | undefined;
|
|
904
|
-
}[] | undefined;
|
|
905
905
|
};
|
|
906
906
|
endDate?: string | Date | null | undefined;
|
|
907
907
|
}>;
|
|
@@ -1014,15 +1014,15 @@ export declare const FilterBookingSchema: z.ZodObject<{
|
|
|
1014
1014
|
companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1015
1015
|
tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1016
1016
|
}, "strip", z.ZodTypeAny, {
|
|
1017
|
+
tradeId?: string | null | undefined;
|
|
1017
1018
|
userId?: string | null | undefined;
|
|
1018
|
-
companyId?: string | null | undefined;
|
|
1019
1019
|
clientId?: string | null | undefined;
|
|
1020
|
-
|
|
1020
|
+
companyId?: string | null | undefined;
|
|
1021
1021
|
}, {
|
|
1022
|
+
tradeId?: string | null | undefined;
|
|
1022
1023
|
userId?: string | null | undefined;
|
|
1023
|
-
companyId?: string | null | undefined;
|
|
1024
1024
|
clientId?: string | null | undefined;
|
|
1025
|
-
|
|
1025
|
+
companyId?: string | null | undefined;
|
|
1026
1026
|
}>>>;
|
|
1027
1027
|
createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1028
1028
|
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1063,14 +1063,12 @@ export declare const FilterBookingSchema: z.ZodObject<{
|
|
|
1063
1063
|
}, "strip", z.ZodTypeAny, {
|
|
1064
1064
|
limit: number;
|
|
1065
1065
|
page: number;
|
|
1066
|
+
status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
|
|
1066
1067
|
createdAt?: {
|
|
1067
1068
|
from?: string | null | undefined;
|
|
1068
1069
|
to?: string | null | undefined;
|
|
1069
1070
|
} | null | undefined;
|
|
1070
|
-
|
|
1071
|
-
companyId?: string | null | undefined;
|
|
1072
|
-
clientId?: string | null | undefined;
|
|
1073
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | "startDate" | null | undefined;
|
|
1071
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
1074
1072
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1075
1073
|
startDate?: {
|
|
1076
1074
|
from?: string | null | undefined;
|
|
@@ -1080,25 +1078,25 @@ export declare const FilterBookingSchema: z.ZodObject<{
|
|
|
1080
1078
|
from?: string | null | undefined;
|
|
1081
1079
|
to?: string | null | undefined;
|
|
1082
1080
|
} | null | undefined;
|
|
1081
|
+
clientId?: string | null | undefined;
|
|
1082
|
+
companyId?: string | null | undefined;
|
|
1083
1083
|
job?: {
|
|
1084
|
+
tradeId?: string | null | undefined;
|
|
1084
1085
|
userId?: string | null | undefined;
|
|
1085
|
-
companyId?: string | null | undefined;
|
|
1086
1086
|
clientId?: string | null | undefined;
|
|
1087
|
-
|
|
1087
|
+
companyId?: string | null | undefined;
|
|
1088
1088
|
} | null | undefined;
|
|
1089
1089
|
workerName?: string | null | undefined;
|
|
1090
1090
|
agentName?: string | null | undefined;
|
|
1091
1091
|
}, {
|
|
1092
|
+
status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
|
|
1092
1093
|
createdAt?: {
|
|
1093
1094
|
from?: string | null | undefined;
|
|
1094
1095
|
to?: string | null | undefined;
|
|
1095
1096
|
} | null | undefined;
|
|
1096
|
-
status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
|
|
1097
1097
|
limit?: number | undefined;
|
|
1098
1098
|
page?: number | undefined;
|
|
1099
|
-
|
|
1100
|
-
clientId?: string | null | undefined;
|
|
1101
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | "startDate" | null | undefined;
|
|
1099
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
1102
1100
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1103
1101
|
startDate?: {
|
|
1104
1102
|
from?: string | null | undefined;
|
|
@@ -1108,11 +1106,13 @@ export declare const FilterBookingSchema: z.ZodObject<{
|
|
|
1108
1106
|
from?: string | null | undefined;
|
|
1109
1107
|
to?: string | null | undefined;
|
|
1110
1108
|
} | null | undefined;
|
|
1109
|
+
clientId?: string | null | undefined;
|
|
1110
|
+
companyId?: string | null | undefined;
|
|
1111
1111
|
job?: {
|
|
1112
|
+
tradeId?: string | null | undefined;
|
|
1112
1113
|
userId?: string | null | undefined;
|
|
1113
|
-
companyId?: string | null | undefined;
|
|
1114
1114
|
clientId?: string | null | undefined;
|
|
1115
|
-
|
|
1115
|
+
companyId?: string | null | undefined;
|
|
1116
1116
|
} | null | undefined;
|
|
1117
1117
|
workerName?: string | null | undefined;
|
|
1118
1118
|
agentName?: string | null | undefined;
|
|
@@ -1136,12 +1136,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1136
1136
|
}, "strip", z.ZodTypeAny, {
|
|
1137
1137
|
phoneNumber: string;
|
|
1138
1138
|
isPrimary: boolean;
|
|
1139
|
-
id?: string | undefined;
|
|
1140
1139
|
description?: string | undefined;
|
|
1140
|
+
id?: string | undefined;
|
|
1141
1141
|
}, {
|
|
1142
1142
|
phoneNumber: string;
|
|
1143
|
-
id?: string | undefined;
|
|
1144
1143
|
description?: string | undefined;
|
|
1144
|
+
id?: string | undefined;
|
|
1145
1145
|
isPrimary?: boolean | undefined;
|
|
1146
1146
|
}>, "many">>>;
|
|
1147
1147
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1257,13 +1257,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1257
1257
|
phoneNumbers: {
|
|
1258
1258
|
phoneNumber: string;
|
|
1259
1259
|
isPrimary: boolean;
|
|
1260
|
-
id?: string | undefined;
|
|
1261
1260
|
description?: string | undefined;
|
|
1261
|
+
id?: string | undefined;
|
|
1262
1262
|
}[];
|
|
1263
1263
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1264
1264
|
hasTools: boolean;
|
|
1265
1265
|
hasPpe: boolean;
|
|
1266
|
-
email?: string | null | undefined;
|
|
1267
1266
|
location?: {
|
|
1268
1267
|
address?: string | null | undefined;
|
|
1269
1268
|
postcode?: string | null | undefined;
|
|
@@ -1273,6 +1272,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1273
1272
|
postTown?: string | null | undefined;
|
|
1274
1273
|
areaCovered?: string | null | undefined;
|
|
1275
1274
|
} | null | undefined;
|
|
1275
|
+
email?: string | null | undefined;
|
|
1276
1276
|
nino?: string | null | undefined;
|
|
1277
1277
|
dateOfBirth?: string | null | undefined;
|
|
1278
1278
|
bio?: string | null | undefined;
|
|
@@ -1314,7 +1314,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1314
1314
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1315
1315
|
hasTools: boolean;
|
|
1316
1316
|
hasPpe: boolean;
|
|
1317
|
-
email?: string | null | undefined;
|
|
1318
1317
|
location?: {
|
|
1319
1318
|
address?: string | null | undefined;
|
|
1320
1319
|
postcode?: string | null | undefined;
|
|
@@ -1324,10 +1323,11 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1324
1323
|
postTown?: string | null | undefined;
|
|
1325
1324
|
areaCovered?: string | null | undefined;
|
|
1326
1325
|
} | null | undefined;
|
|
1326
|
+
email?: string | null | undefined;
|
|
1327
1327
|
phoneNumbers?: {
|
|
1328
1328
|
phoneNumber: string;
|
|
1329
|
-
id?: string | undefined;
|
|
1330
1329
|
description?: string | undefined;
|
|
1330
|
+
id?: string | undefined;
|
|
1331
1331
|
isPrimary?: boolean | undefined;
|
|
1332
1332
|
}[] | undefined;
|
|
1333
1333
|
nino?: string | null | undefined;
|
|
@@ -1462,7 +1462,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1462
1462
|
qualificationId: string;
|
|
1463
1463
|
qualificationTypeId?: string | null | undefined;
|
|
1464
1464
|
}>, "many">>>;
|
|
1465
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
1465
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1466
1466
|
id: z.ZodString;
|
|
1467
1467
|
company: z.ZodOptional<z.ZodObject<{
|
|
1468
1468
|
id: z.ZodString;
|
|
@@ -1512,9 +1512,9 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1512
1512
|
id: string;
|
|
1513
1513
|
}>>>;
|
|
1514
1514
|
}, "strip", z.ZodTypeAny, {
|
|
1515
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1515
1516
|
createdAt: string;
|
|
1516
1517
|
updatedAt: string;
|
|
1517
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1518
1518
|
id: string;
|
|
1519
1519
|
userId: string;
|
|
1520
1520
|
company?: {
|
|
@@ -1535,9 +1535,9 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1535
1535
|
id: string;
|
|
1536
1536
|
} | null | undefined;
|
|
1537
1537
|
}, {
|
|
1538
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1538
1539
|
createdAt: string | Date;
|
|
1539
1540
|
updatedAt: string | Date;
|
|
1540
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1541
1541
|
id: string;
|
|
1542
1542
|
userId: string;
|
|
1543
1543
|
company?: {
|
|
@@ -1557,16 +1557,16 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1557
1557
|
newCollaboration?: {
|
|
1558
1558
|
id: string;
|
|
1559
1559
|
} | null | undefined;
|
|
1560
|
-
}
|
|
1560
|
+
}>>>;
|
|
1561
1561
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1562
1562
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1563
1563
|
}, "strip", z.ZodTypeAny, {
|
|
1564
|
+
description: string;
|
|
1565
|
+
numberOfPositions: number;
|
|
1566
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1564
1567
|
createdAt: string;
|
|
1565
1568
|
updatedAt: string;
|
|
1566
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1567
1569
|
id: string;
|
|
1568
|
-
description: string;
|
|
1569
|
-
numberOfPositions: number;
|
|
1570
1570
|
pay: {
|
|
1571
1571
|
rateUnit: "DAILY" | "HOURLY";
|
|
1572
1572
|
rate: number;
|
|
@@ -1579,10 +1579,20 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1579
1579
|
qualificationId: string;
|
|
1580
1580
|
qualificationTypeId?: string | null | undefined;
|
|
1581
1581
|
}[];
|
|
1582
|
-
|
|
1582
|
+
workHours?: number | null | undefined;
|
|
1583
|
+
location?: {
|
|
1584
|
+
address?: string | null | undefined;
|
|
1585
|
+
postcode?: string | null | undefined;
|
|
1586
|
+
county?: string | null | undefined;
|
|
1587
|
+
adminDistrict?: string | null | undefined;
|
|
1588
|
+
builtUpArea?: string | null | undefined;
|
|
1589
|
+
postTown?: string | null | undefined;
|
|
1590
|
+
areaCovered?: string | null | undefined;
|
|
1591
|
+
} | null | undefined;
|
|
1592
|
+
currentCollaboration?: {
|
|
1593
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1583
1594
|
createdAt: string;
|
|
1584
1595
|
updatedAt: string;
|
|
1585
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1586
1596
|
id: string;
|
|
1587
1597
|
userId: string;
|
|
1588
1598
|
company?: {
|
|
@@ -1602,24 +1612,14 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1602
1612
|
newCollaboration?: {
|
|
1603
1613
|
id: string;
|
|
1604
1614
|
} | null | undefined;
|
|
1605
|
-
} | null;
|
|
1606
|
-
workHours?: number | null | undefined;
|
|
1607
|
-
location?: {
|
|
1608
|
-
address?: string | null | undefined;
|
|
1609
|
-
postcode?: string | null | undefined;
|
|
1610
|
-
county?: string | null | undefined;
|
|
1611
|
-
adminDistrict?: string | null | undefined;
|
|
1612
|
-
builtUpArea?: string | null | undefined;
|
|
1613
|
-
postTown?: string | null | undefined;
|
|
1614
|
-
areaCovered?: string | null | undefined;
|
|
1615
1615
|
} | null | undefined;
|
|
1616
1616
|
}, {
|
|
1617
|
-
createdAt: string | Date;
|
|
1618
|
-
updatedAt: string | Date;
|
|
1619
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1620
|
-
id: string;
|
|
1621
1617
|
description: string;
|
|
1622
1618
|
numberOfPositions: number;
|
|
1619
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1620
|
+
createdAt: string | Date;
|
|
1621
|
+
updatedAt: string | Date;
|
|
1622
|
+
id: string;
|
|
1623
1623
|
pay: {
|
|
1624
1624
|
rateUnit: "DAILY" | "HOURLY";
|
|
1625
1625
|
rate: number;
|
|
@@ -1627,10 +1627,25 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1627
1627
|
rateMax?: number | null | undefined;
|
|
1628
1628
|
};
|
|
1629
1629
|
tradeId: string;
|
|
1630
|
-
|
|
1630
|
+
workHours?: number | null | undefined;
|
|
1631
|
+
location?: {
|
|
1632
|
+
address?: string | null | undefined;
|
|
1633
|
+
postcode?: string | null | undefined;
|
|
1634
|
+
county?: string | null | undefined;
|
|
1635
|
+
adminDistrict?: string | null | undefined;
|
|
1636
|
+
builtUpArea?: string | null | undefined;
|
|
1637
|
+
postTown?: string | null | undefined;
|
|
1638
|
+
areaCovered?: string | null | undefined;
|
|
1639
|
+
} | null | undefined;
|
|
1640
|
+
jobQualifications?: {
|
|
1641
|
+
id: string;
|
|
1642
|
+
qualificationId: string;
|
|
1643
|
+
qualificationTypeId?: string | null | undefined;
|
|
1644
|
+
}[] | undefined;
|
|
1645
|
+
currentCollaboration?: {
|
|
1646
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1631
1647
|
createdAt: string | Date;
|
|
1632
1648
|
updatedAt: string | Date;
|
|
1633
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1634
1649
|
id: string;
|
|
1635
1650
|
userId: string;
|
|
1636
1651
|
company?: {
|
|
@@ -1650,31 +1665,20 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1650
1665
|
newCollaboration?: {
|
|
1651
1666
|
id: string;
|
|
1652
1667
|
} | null | undefined;
|
|
1653
|
-
} | null;
|
|
1654
|
-
workHours?: number | null | undefined;
|
|
1655
|
-
location?: {
|
|
1656
|
-
address?: string | null | undefined;
|
|
1657
|
-
postcode?: string | null | undefined;
|
|
1658
|
-
county?: string | null | undefined;
|
|
1659
|
-
adminDistrict?: string | null | undefined;
|
|
1660
|
-
builtUpArea?: string | null | undefined;
|
|
1661
|
-
postTown?: string | null | undefined;
|
|
1662
|
-
areaCovered?: string | null | undefined;
|
|
1663
1668
|
} | null | undefined;
|
|
1664
|
-
jobQualifications?: {
|
|
1665
|
-
id: string;
|
|
1666
|
-
qualificationId: string;
|
|
1667
|
-
qualificationTypeId?: string | null | undefined;
|
|
1668
|
-
}[] | undefined;
|
|
1669
1669
|
}>;
|
|
1670
1670
|
userId: z.ZodString;
|
|
1671
1671
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1672
1672
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1673
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1674
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1674
1675
|
createdAt: string;
|
|
1675
1676
|
updatedAt: string;
|
|
1676
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1677
1677
|
id: string;
|
|
1678
|
+
pay: {
|
|
1679
|
+
rate: number;
|
|
1680
|
+
unit: "DAILY" | "HOURLY";
|
|
1681
|
+
};
|
|
1678
1682
|
user: {
|
|
1679
1683
|
createdAt: string;
|
|
1680
1684
|
updatedAt: string;
|
|
@@ -1686,10 +1690,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1686
1690
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1687
1691
|
};
|
|
1688
1692
|
userId: string;
|
|
1689
|
-
pay: {
|
|
1690
|
-
rate: number;
|
|
1691
|
-
unit: "DAILY" | "HOURLY";
|
|
1692
|
-
};
|
|
1693
1693
|
startDate: string;
|
|
1694
1694
|
worker: {
|
|
1695
1695
|
createdAt: string;
|
|
@@ -1700,13 +1700,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1700
1700
|
phoneNumbers: {
|
|
1701
1701
|
phoneNumber: string;
|
|
1702
1702
|
isPrimary: boolean;
|
|
1703
|
-
id?: string | undefined;
|
|
1704
1703
|
description?: string | undefined;
|
|
1704
|
+
id?: string | undefined;
|
|
1705
1705
|
}[];
|
|
1706
1706
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1707
1707
|
hasTools: boolean;
|
|
1708
1708
|
hasPpe: boolean;
|
|
1709
|
-
email?: string | null | undefined;
|
|
1710
1709
|
location?: {
|
|
1711
1710
|
address?: string | null | undefined;
|
|
1712
1711
|
postcode?: string | null | undefined;
|
|
@@ -1716,6 +1715,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1716
1715
|
postTown?: string | null | undefined;
|
|
1717
1716
|
areaCovered?: string | null | undefined;
|
|
1718
1717
|
} | null | undefined;
|
|
1718
|
+
email?: string | null | undefined;
|
|
1719
1719
|
nino?: string | null | undefined;
|
|
1720
1720
|
dateOfBirth?: string | null | undefined;
|
|
1721
1721
|
bio?: string | null | undefined;
|
|
@@ -1750,12 +1750,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1750
1750
|
distanceKm?: number | null | undefined;
|
|
1751
1751
|
};
|
|
1752
1752
|
job: {
|
|
1753
|
+
description: string;
|
|
1754
|
+
numberOfPositions: number;
|
|
1755
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1753
1756
|
createdAt: string;
|
|
1754
1757
|
updatedAt: string;
|
|
1755
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1756
1758
|
id: string;
|
|
1757
|
-
description: string;
|
|
1758
|
-
numberOfPositions: number;
|
|
1759
1759
|
pay: {
|
|
1760
1760
|
rateUnit: "DAILY" | "HOURLY";
|
|
1761
1761
|
rate: number;
|
|
@@ -1768,10 +1768,20 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1768
1768
|
qualificationId: string;
|
|
1769
1769
|
qualificationTypeId?: string | null | undefined;
|
|
1770
1770
|
}[];
|
|
1771
|
-
|
|
1771
|
+
workHours?: number | null | undefined;
|
|
1772
|
+
location?: {
|
|
1773
|
+
address?: string | null | undefined;
|
|
1774
|
+
postcode?: string | null | undefined;
|
|
1775
|
+
county?: string | null | undefined;
|
|
1776
|
+
adminDistrict?: string | null | undefined;
|
|
1777
|
+
builtUpArea?: string | null | undefined;
|
|
1778
|
+
postTown?: string | null | undefined;
|
|
1779
|
+
areaCovered?: string | null | undefined;
|
|
1780
|
+
} | null | undefined;
|
|
1781
|
+
currentCollaboration?: {
|
|
1782
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1772
1783
|
createdAt: string;
|
|
1773
1784
|
updatedAt: string;
|
|
1774
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1775
1785
|
id: string;
|
|
1776
1786
|
userId: string;
|
|
1777
1787
|
company?: {
|
|
@@ -1791,24 +1801,18 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1791
1801
|
newCollaboration?: {
|
|
1792
1802
|
id: string;
|
|
1793
1803
|
} | null | undefined;
|
|
1794
|
-
} | null;
|
|
1795
|
-
workHours?: number | null | undefined;
|
|
1796
|
-
location?: {
|
|
1797
|
-
address?: string | null | undefined;
|
|
1798
|
-
postcode?: string | null | undefined;
|
|
1799
|
-
county?: string | null | undefined;
|
|
1800
|
-
adminDistrict?: string | null | undefined;
|
|
1801
|
-
builtUpArea?: string | null | undefined;
|
|
1802
|
-
postTown?: string | null | undefined;
|
|
1803
|
-
areaCovered?: string | null | undefined;
|
|
1804
1804
|
} | null | undefined;
|
|
1805
1805
|
};
|
|
1806
1806
|
endDate?: string | null | undefined;
|
|
1807
1807
|
}, {
|
|
1808
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1808
1809
|
createdAt: string | Date;
|
|
1809
1810
|
updatedAt: string | Date;
|
|
1810
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1811
1811
|
id: string;
|
|
1812
|
+
pay: {
|
|
1813
|
+
rate: number;
|
|
1814
|
+
unit: "DAILY" | "HOURLY";
|
|
1815
|
+
};
|
|
1812
1816
|
user: {
|
|
1813
1817
|
createdAt: string | Date;
|
|
1814
1818
|
updatedAt: string | Date;
|
|
@@ -1820,10 +1824,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1820
1824
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1821
1825
|
};
|
|
1822
1826
|
userId: string;
|
|
1823
|
-
pay: {
|
|
1824
|
-
rate: number;
|
|
1825
|
-
unit: "DAILY" | "HOURLY";
|
|
1826
|
-
};
|
|
1827
1827
|
startDate: string | Date;
|
|
1828
1828
|
worker: {
|
|
1829
1829
|
createdAt: string | Date;
|
|
@@ -1834,7 +1834,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1834
1834
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1835
1835
|
hasTools: boolean;
|
|
1836
1836
|
hasPpe: boolean;
|
|
1837
|
-
email?: string | null | undefined;
|
|
1838
1837
|
location?: {
|
|
1839
1838
|
address?: string | null | undefined;
|
|
1840
1839
|
postcode?: string | null | undefined;
|
|
@@ -1844,10 +1843,11 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1844
1843
|
postTown?: string | null | undefined;
|
|
1845
1844
|
areaCovered?: string | null | undefined;
|
|
1846
1845
|
} | null | undefined;
|
|
1846
|
+
email?: string | null | undefined;
|
|
1847
1847
|
phoneNumbers?: {
|
|
1848
1848
|
phoneNumber: string;
|
|
1849
|
-
id?: string | undefined;
|
|
1850
1849
|
description?: string | undefined;
|
|
1850
|
+
id?: string | undefined;
|
|
1851
1851
|
isPrimary?: boolean | undefined;
|
|
1852
1852
|
}[] | undefined;
|
|
1853
1853
|
nino?: string | null | undefined;
|
|
@@ -1884,12 +1884,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1884
1884
|
distanceKm?: number | null | undefined;
|
|
1885
1885
|
};
|
|
1886
1886
|
job: {
|
|
1887
|
+
description: string;
|
|
1888
|
+
numberOfPositions: number;
|
|
1889
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1887
1890
|
createdAt: string | Date;
|
|
1888
1891
|
updatedAt: string | Date;
|
|
1889
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1890
1892
|
id: string;
|
|
1891
|
-
description: string;
|
|
1892
|
-
numberOfPositions: number;
|
|
1893
1893
|
pay: {
|
|
1894
1894
|
rateUnit: "DAILY" | "HOURLY";
|
|
1895
1895
|
rate: number;
|
|
@@ -1897,10 +1897,25 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1897
1897
|
rateMax?: number | null | undefined;
|
|
1898
1898
|
};
|
|
1899
1899
|
tradeId: string;
|
|
1900
|
-
|
|
1900
|
+
workHours?: number | null | undefined;
|
|
1901
|
+
location?: {
|
|
1902
|
+
address?: string | null | undefined;
|
|
1903
|
+
postcode?: string | null | undefined;
|
|
1904
|
+
county?: string | null | undefined;
|
|
1905
|
+
adminDistrict?: string | null | undefined;
|
|
1906
|
+
builtUpArea?: string | null | undefined;
|
|
1907
|
+
postTown?: string | null | undefined;
|
|
1908
|
+
areaCovered?: string | null | undefined;
|
|
1909
|
+
} | null | undefined;
|
|
1910
|
+
jobQualifications?: {
|
|
1911
|
+
id: string;
|
|
1912
|
+
qualificationId: string;
|
|
1913
|
+
qualificationTypeId?: string | null | undefined;
|
|
1914
|
+
}[] | undefined;
|
|
1915
|
+
currentCollaboration?: {
|
|
1916
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1901
1917
|
createdAt: string | Date;
|
|
1902
1918
|
updatedAt: string | Date;
|
|
1903
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1904
1919
|
id: string;
|
|
1905
1920
|
userId: string;
|
|
1906
1921
|
company?: {
|
|
@@ -1920,22 +1935,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1920
1935
|
newCollaboration?: {
|
|
1921
1936
|
id: string;
|
|
1922
1937
|
} | null | undefined;
|
|
1923
|
-
} | null;
|
|
1924
|
-
workHours?: number | null | undefined;
|
|
1925
|
-
location?: {
|
|
1926
|
-
address?: string | null | undefined;
|
|
1927
|
-
postcode?: string | null | undefined;
|
|
1928
|
-
county?: string | null | undefined;
|
|
1929
|
-
adminDistrict?: string | null | undefined;
|
|
1930
|
-
builtUpArea?: string | null | undefined;
|
|
1931
|
-
postTown?: string | null | undefined;
|
|
1932
|
-
areaCovered?: string | null | undefined;
|
|
1933
1938
|
} | null | undefined;
|
|
1934
|
-
jobQualifications?: {
|
|
1935
|
-
id: string;
|
|
1936
|
-
qualificationId: string;
|
|
1937
|
-
qualificationTypeId?: string | null | undefined;
|
|
1938
|
-
}[] | undefined;
|
|
1939
1939
|
};
|
|
1940
1940
|
endDate?: string | Date | null | undefined;
|
|
1941
1941
|
}>, "many">;
|
|
@@ -1947,10 +1947,14 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1947
1947
|
}, "strip", z.ZodTypeAny, {
|
|
1948
1948
|
limit: number;
|
|
1949
1949
|
items: {
|
|
1950
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1950
1951
|
createdAt: string;
|
|
1951
1952
|
updatedAt: string;
|
|
1952
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
1953
1953
|
id: string;
|
|
1954
|
+
pay: {
|
|
1955
|
+
rate: number;
|
|
1956
|
+
unit: "DAILY" | "HOURLY";
|
|
1957
|
+
};
|
|
1954
1958
|
user: {
|
|
1955
1959
|
createdAt: string;
|
|
1956
1960
|
updatedAt: string;
|
|
@@ -1962,10 +1966,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1962
1966
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1963
1967
|
};
|
|
1964
1968
|
userId: string;
|
|
1965
|
-
pay: {
|
|
1966
|
-
rate: number;
|
|
1967
|
-
unit: "DAILY" | "HOURLY";
|
|
1968
|
-
};
|
|
1969
1969
|
startDate: string;
|
|
1970
1970
|
worker: {
|
|
1971
1971
|
createdAt: string;
|
|
@@ -1976,13 +1976,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1976
1976
|
phoneNumbers: {
|
|
1977
1977
|
phoneNumber: string;
|
|
1978
1978
|
isPrimary: boolean;
|
|
1979
|
-
id?: string | undefined;
|
|
1980
1979
|
description?: string | undefined;
|
|
1980
|
+
id?: string | undefined;
|
|
1981
1981
|
}[];
|
|
1982
1982
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1983
1983
|
hasTools: boolean;
|
|
1984
1984
|
hasPpe: boolean;
|
|
1985
|
-
email?: string | null | undefined;
|
|
1986
1985
|
location?: {
|
|
1987
1986
|
address?: string | null | undefined;
|
|
1988
1987
|
postcode?: string | null | undefined;
|
|
@@ -1992,6 +1991,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1992
1991
|
postTown?: string | null | undefined;
|
|
1993
1992
|
areaCovered?: string | null | undefined;
|
|
1994
1993
|
} | null | undefined;
|
|
1994
|
+
email?: string | null | undefined;
|
|
1995
1995
|
nino?: string | null | undefined;
|
|
1996
1996
|
dateOfBirth?: string | null | undefined;
|
|
1997
1997
|
bio?: string | null | undefined;
|
|
@@ -2026,12 +2026,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2026
2026
|
distanceKm?: number | null | undefined;
|
|
2027
2027
|
};
|
|
2028
2028
|
job: {
|
|
2029
|
+
description: string;
|
|
2030
|
+
numberOfPositions: number;
|
|
2031
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2029
2032
|
createdAt: string;
|
|
2030
2033
|
updatedAt: string;
|
|
2031
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2032
2034
|
id: string;
|
|
2033
|
-
description: string;
|
|
2034
|
-
numberOfPositions: number;
|
|
2035
2035
|
pay: {
|
|
2036
2036
|
rateUnit: "DAILY" | "HOURLY";
|
|
2037
2037
|
rate: number;
|
|
@@ -2044,10 +2044,20 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2044
2044
|
qualificationId: string;
|
|
2045
2045
|
qualificationTypeId?: string | null | undefined;
|
|
2046
2046
|
}[];
|
|
2047
|
-
|
|
2047
|
+
workHours?: number | null | undefined;
|
|
2048
|
+
location?: {
|
|
2049
|
+
address?: string | null | undefined;
|
|
2050
|
+
postcode?: string | null | undefined;
|
|
2051
|
+
county?: string | null | undefined;
|
|
2052
|
+
adminDistrict?: string | null | undefined;
|
|
2053
|
+
builtUpArea?: string | null | undefined;
|
|
2054
|
+
postTown?: string | null | undefined;
|
|
2055
|
+
areaCovered?: string | null | undefined;
|
|
2056
|
+
} | null | undefined;
|
|
2057
|
+
currentCollaboration?: {
|
|
2058
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2048
2059
|
createdAt: string;
|
|
2049
2060
|
updatedAt: string;
|
|
2050
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2051
2061
|
id: string;
|
|
2052
2062
|
userId: string;
|
|
2053
2063
|
company?: {
|
|
@@ -2067,16 +2077,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2067
2077
|
newCollaboration?: {
|
|
2068
2078
|
id: string;
|
|
2069
2079
|
} | null | undefined;
|
|
2070
|
-
} | null;
|
|
2071
|
-
workHours?: number | null | undefined;
|
|
2072
|
-
location?: {
|
|
2073
|
-
address?: string | null | undefined;
|
|
2074
|
-
postcode?: string | null | undefined;
|
|
2075
|
-
county?: string | null | undefined;
|
|
2076
|
-
adminDistrict?: string | null | undefined;
|
|
2077
|
-
builtUpArea?: string | null | undefined;
|
|
2078
|
-
postTown?: string | null | undefined;
|
|
2079
|
-
areaCovered?: string | null | undefined;
|
|
2080
2080
|
} | null | undefined;
|
|
2081
2081
|
};
|
|
2082
2082
|
endDate?: string | null | undefined;
|
|
@@ -2088,10 +2088,14 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2088
2088
|
}, {
|
|
2089
2089
|
limit: number;
|
|
2090
2090
|
items: {
|
|
2091
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2091
2092
|
createdAt: string | Date;
|
|
2092
2093
|
updatedAt: string | Date;
|
|
2093
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2094
2094
|
id: string;
|
|
2095
|
+
pay: {
|
|
2096
|
+
rate: number;
|
|
2097
|
+
unit: "DAILY" | "HOURLY";
|
|
2098
|
+
};
|
|
2095
2099
|
user: {
|
|
2096
2100
|
createdAt: string | Date;
|
|
2097
2101
|
updatedAt: string | Date;
|
|
@@ -2103,10 +2107,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2103
2107
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
2104
2108
|
};
|
|
2105
2109
|
userId: string;
|
|
2106
|
-
pay: {
|
|
2107
|
-
rate: number;
|
|
2108
|
-
unit: "DAILY" | "HOURLY";
|
|
2109
|
-
};
|
|
2110
2110
|
startDate: string | Date;
|
|
2111
2111
|
worker: {
|
|
2112
2112
|
createdAt: string | Date;
|
|
@@ -2117,7 +2117,6 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2117
2117
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2118
2118
|
hasTools: boolean;
|
|
2119
2119
|
hasPpe: boolean;
|
|
2120
|
-
email?: string | null | undefined;
|
|
2121
2120
|
location?: {
|
|
2122
2121
|
address?: string | null | undefined;
|
|
2123
2122
|
postcode?: string | null | undefined;
|
|
@@ -2127,10 +2126,11 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2127
2126
|
postTown?: string | null | undefined;
|
|
2128
2127
|
areaCovered?: string | null | undefined;
|
|
2129
2128
|
} | null | undefined;
|
|
2129
|
+
email?: string | null | undefined;
|
|
2130
2130
|
phoneNumbers?: {
|
|
2131
2131
|
phoneNumber: string;
|
|
2132
|
-
id?: string | undefined;
|
|
2133
2132
|
description?: string | undefined;
|
|
2133
|
+
id?: string | undefined;
|
|
2134
2134
|
isPrimary?: boolean | undefined;
|
|
2135
2135
|
}[] | undefined;
|
|
2136
2136
|
nino?: string | null | undefined;
|
|
@@ -2167,12 +2167,12 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2167
2167
|
distanceKm?: number | null | undefined;
|
|
2168
2168
|
};
|
|
2169
2169
|
job: {
|
|
2170
|
+
description: string;
|
|
2171
|
+
numberOfPositions: number;
|
|
2172
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2170
2173
|
createdAt: string | Date;
|
|
2171
2174
|
updatedAt: string | Date;
|
|
2172
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2173
2175
|
id: string;
|
|
2174
|
-
description: string;
|
|
2175
|
-
numberOfPositions: number;
|
|
2176
2176
|
pay: {
|
|
2177
2177
|
rateUnit: "DAILY" | "HOURLY";
|
|
2178
2178
|
rate: number;
|
|
@@ -2180,10 +2180,25 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2180
2180
|
rateMax?: number | null | undefined;
|
|
2181
2181
|
};
|
|
2182
2182
|
tradeId: string;
|
|
2183
|
-
|
|
2183
|
+
workHours?: number | null | undefined;
|
|
2184
|
+
location?: {
|
|
2185
|
+
address?: string | null | undefined;
|
|
2186
|
+
postcode?: string | null | undefined;
|
|
2187
|
+
county?: string | null | undefined;
|
|
2188
|
+
adminDistrict?: string | null | undefined;
|
|
2189
|
+
builtUpArea?: string | null | undefined;
|
|
2190
|
+
postTown?: string | null | undefined;
|
|
2191
|
+
areaCovered?: string | null | undefined;
|
|
2192
|
+
} | null | undefined;
|
|
2193
|
+
jobQualifications?: {
|
|
2194
|
+
id: string;
|
|
2195
|
+
qualificationId: string;
|
|
2196
|
+
qualificationTypeId?: string | null | undefined;
|
|
2197
|
+
}[] | undefined;
|
|
2198
|
+
currentCollaboration?: {
|
|
2199
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2184
2200
|
createdAt: string | Date;
|
|
2185
2201
|
updatedAt: string | Date;
|
|
2186
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2187
2202
|
id: string;
|
|
2188
2203
|
userId: string;
|
|
2189
2204
|
company?: {
|
|
@@ -2203,22 +2218,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2203
2218
|
newCollaboration?: {
|
|
2204
2219
|
id: string;
|
|
2205
2220
|
} | null | undefined;
|
|
2206
|
-
} | null;
|
|
2207
|
-
workHours?: number | null | undefined;
|
|
2208
|
-
location?: {
|
|
2209
|
-
address?: string | null | undefined;
|
|
2210
|
-
postcode?: string | null | undefined;
|
|
2211
|
-
county?: string | null | undefined;
|
|
2212
|
-
adminDistrict?: string | null | undefined;
|
|
2213
|
-
builtUpArea?: string | null | undefined;
|
|
2214
|
-
postTown?: string | null | undefined;
|
|
2215
|
-
areaCovered?: string | null | undefined;
|
|
2216
2221
|
} | null | undefined;
|
|
2217
|
-
jobQualifications?: {
|
|
2218
|
-
id: string;
|
|
2219
|
-
qualificationId: string;
|
|
2220
|
-
qualificationTypeId?: string | null | undefined;
|
|
2221
|
-
}[] | undefined;
|
|
2222
2222
|
};
|
|
2223
2223
|
endDate?: string | Date | null | undefined;
|
|
2224
2224
|
}[];
|
|
@@ -2245,12 +2245,12 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2245
2245
|
}, "strip", z.ZodTypeAny, {
|
|
2246
2246
|
phoneNumber: string;
|
|
2247
2247
|
isPrimary: boolean;
|
|
2248
|
-
id?: string | undefined;
|
|
2249
2248
|
description?: string | undefined;
|
|
2249
|
+
id?: string | undefined;
|
|
2250
2250
|
}, {
|
|
2251
2251
|
phoneNumber: string;
|
|
2252
|
-
id?: string | undefined;
|
|
2253
2252
|
description?: string | undefined;
|
|
2253
|
+
id?: string | undefined;
|
|
2254
2254
|
isPrimary?: boolean | undefined;
|
|
2255
2255
|
}>, "many">>>;
|
|
2256
2256
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2366,13 +2366,12 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2366
2366
|
phoneNumbers: {
|
|
2367
2367
|
phoneNumber: string;
|
|
2368
2368
|
isPrimary: boolean;
|
|
2369
|
-
id?: string | undefined;
|
|
2370
2369
|
description?: string | undefined;
|
|
2370
|
+
id?: string | undefined;
|
|
2371
2371
|
}[];
|
|
2372
2372
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2373
2373
|
hasTools: boolean;
|
|
2374
2374
|
hasPpe: boolean;
|
|
2375
|
-
email?: string | null | undefined;
|
|
2376
2375
|
location?: {
|
|
2377
2376
|
address?: string | null | undefined;
|
|
2378
2377
|
postcode?: string | null | undefined;
|
|
@@ -2382,6 +2381,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2382
2381
|
postTown?: string | null | undefined;
|
|
2383
2382
|
areaCovered?: string | null | undefined;
|
|
2384
2383
|
} | null | undefined;
|
|
2384
|
+
email?: string | null | undefined;
|
|
2385
2385
|
nino?: string | null | undefined;
|
|
2386
2386
|
dateOfBirth?: string | null | undefined;
|
|
2387
2387
|
bio?: string | null | undefined;
|
|
@@ -2423,7 +2423,6 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2423
2423
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2424
2424
|
hasTools: boolean;
|
|
2425
2425
|
hasPpe: boolean;
|
|
2426
|
-
email?: string | null | undefined;
|
|
2427
2426
|
location?: {
|
|
2428
2427
|
address?: string | null | undefined;
|
|
2429
2428
|
postcode?: string | null | undefined;
|
|
@@ -2433,10 +2432,11 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2433
2432
|
postTown?: string | null | undefined;
|
|
2434
2433
|
areaCovered?: string | null | undefined;
|
|
2435
2434
|
} | null | undefined;
|
|
2435
|
+
email?: string | null | undefined;
|
|
2436
2436
|
phoneNumbers?: {
|
|
2437
2437
|
phoneNumber: string;
|
|
2438
|
-
id?: string | undefined;
|
|
2439
2438
|
description?: string | undefined;
|
|
2439
|
+
id?: string | undefined;
|
|
2440
2440
|
isPrimary?: boolean | undefined;
|
|
2441
2441
|
}[] | undefined;
|
|
2442
2442
|
nino?: string | null | undefined;
|
|
@@ -2571,7 +2571,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2571
2571
|
qualificationId: string;
|
|
2572
2572
|
qualificationTypeId?: string | null | undefined;
|
|
2573
2573
|
}>, "many">>>;
|
|
2574
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
2574
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2575
2575
|
id: z.ZodString;
|
|
2576
2576
|
company: z.ZodOptional<z.ZodObject<{
|
|
2577
2577
|
id: z.ZodString;
|
|
@@ -2621,9 +2621,9 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2621
2621
|
id: string;
|
|
2622
2622
|
}>>>;
|
|
2623
2623
|
}, "strip", z.ZodTypeAny, {
|
|
2624
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2624
2625
|
createdAt: string;
|
|
2625
2626
|
updatedAt: string;
|
|
2626
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2627
2627
|
id: string;
|
|
2628
2628
|
userId: string;
|
|
2629
2629
|
company?: {
|
|
@@ -2644,9 +2644,9 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2644
2644
|
id: string;
|
|
2645
2645
|
} | null | undefined;
|
|
2646
2646
|
}, {
|
|
2647
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2647
2648
|
createdAt: string | Date;
|
|
2648
2649
|
updatedAt: string | Date;
|
|
2649
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2650
2650
|
id: string;
|
|
2651
2651
|
userId: string;
|
|
2652
2652
|
company?: {
|
|
@@ -2666,16 +2666,16 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2666
2666
|
newCollaboration?: {
|
|
2667
2667
|
id: string;
|
|
2668
2668
|
} | null | undefined;
|
|
2669
|
-
}
|
|
2669
|
+
}>>>;
|
|
2670
2670
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2671
2671
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2672
2672
|
}, "strip", z.ZodTypeAny, {
|
|
2673
|
+
description: string;
|
|
2674
|
+
numberOfPositions: number;
|
|
2675
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2673
2676
|
createdAt: string;
|
|
2674
2677
|
updatedAt: string;
|
|
2675
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2676
2678
|
id: string;
|
|
2677
|
-
description: string;
|
|
2678
|
-
numberOfPositions: number;
|
|
2679
2679
|
pay: {
|
|
2680
2680
|
rateUnit: "DAILY" | "HOURLY";
|
|
2681
2681
|
rate: number;
|
|
@@ -2688,10 +2688,20 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2688
2688
|
qualificationId: string;
|
|
2689
2689
|
qualificationTypeId?: string | null | undefined;
|
|
2690
2690
|
}[];
|
|
2691
|
-
|
|
2691
|
+
workHours?: number | null | undefined;
|
|
2692
|
+
location?: {
|
|
2693
|
+
address?: string | null | undefined;
|
|
2694
|
+
postcode?: string | null | undefined;
|
|
2695
|
+
county?: string | null | undefined;
|
|
2696
|
+
adminDistrict?: string | null | undefined;
|
|
2697
|
+
builtUpArea?: string | null | undefined;
|
|
2698
|
+
postTown?: string | null | undefined;
|
|
2699
|
+
areaCovered?: string | null | undefined;
|
|
2700
|
+
} | null | undefined;
|
|
2701
|
+
currentCollaboration?: {
|
|
2702
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2692
2703
|
createdAt: string;
|
|
2693
2704
|
updatedAt: string;
|
|
2694
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2695
2705
|
id: string;
|
|
2696
2706
|
userId: string;
|
|
2697
2707
|
company?: {
|
|
@@ -2711,24 +2721,14 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2711
2721
|
newCollaboration?: {
|
|
2712
2722
|
id: string;
|
|
2713
2723
|
} | null | undefined;
|
|
2714
|
-
} | null;
|
|
2715
|
-
workHours?: number | null | undefined;
|
|
2716
|
-
location?: {
|
|
2717
|
-
address?: string | null | undefined;
|
|
2718
|
-
postcode?: string | null | undefined;
|
|
2719
|
-
county?: string | null | undefined;
|
|
2720
|
-
adminDistrict?: string | null | undefined;
|
|
2721
|
-
builtUpArea?: string | null | undefined;
|
|
2722
|
-
postTown?: string | null | undefined;
|
|
2723
|
-
areaCovered?: string | null | undefined;
|
|
2724
2724
|
} | null | undefined;
|
|
2725
2725
|
}, {
|
|
2726
|
+
description: string;
|
|
2727
|
+
numberOfPositions: number;
|
|
2728
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2726
2729
|
createdAt: string | Date;
|
|
2727
2730
|
updatedAt: string | Date;
|
|
2728
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2729
2731
|
id: string;
|
|
2730
|
-
description: string;
|
|
2731
|
-
numberOfPositions: number;
|
|
2732
2732
|
pay: {
|
|
2733
2733
|
rateUnit: "DAILY" | "HOURLY";
|
|
2734
2734
|
rate: number;
|
|
@@ -2736,10 +2736,25 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2736
2736
|
rateMax?: number | null | undefined;
|
|
2737
2737
|
};
|
|
2738
2738
|
tradeId: string;
|
|
2739
|
-
|
|
2739
|
+
workHours?: number | null | undefined;
|
|
2740
|
+
location?: {
|
|
2741
|
+
address?: string | null | undefined;
|
|
2742
|
+
postcode?: string | null | undefined;
|
|
2743
|
+
county?: string | null | undefined;
|
|
2744
|
+
adminDistrict?: string | null | undefined;
|
|
2745
|
+
builtUpArea?: string | null | undefined;
|
|
2746
|
+
postTown?: string | null | undefined;
|
|
2747
|
+
areaCovered?: string | null | undefined;
|
|
2748
|
+
} | null | undefined;
|
|
2749
|
+
jobQualifications?: {
|
|
2750
|
+
id: string;
|
|
2751
|
+
qualificationId: string;
|
|
2752
|
+
qualificationTypeId?: string | null | undefined;
|
|
2753
|
+
}[] | undefined;
|
|
2754
|
+
currentCollaboration?: {
|
|
2755
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2740
2756
|
createdAt: string | Date;
|
|
2741
2757
|
updatedAt: string | Date;
|
|
2742
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2743
2758
|
id: string;
|
|
2744
2759
|
userId: string;
|
|
2745
2760
|
company?: {
|
|
@@ -2759,31 +2774,20 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2759
2774
|
newCollaboration?: {
|
|
2760
2775
|
id: string;
|
|
2761
2776
|
} | null | undefined;
|
|
2762
|
-
} | null;
|
|
2763
|
-
workHours?: number | null | undefined;
|
|
2764
|
-
location?: {
|
|
2765
|
-
address?: string | null | undefined;
|
|
2766
|
-
postcode?: string | null | undefined;
|
|
2767
|
-
county?: string | null | undefined;
|
|
2768
|
-
adminDistrict?: string | null | undefined;
|
|
2769
|
-
builtUpArea?: string | null | undefined;
|
|
2770
|
-
postTown?: string | null | undefined;
|
|
2771
|
-
areaCovered?: string | null | undefined;
|
|
2772
2777
|
} | null | undefined;
|
|
2773
|
-
jobQualifications?: {
|
|
2774
|
-
id: string;
|
|
2775
|
-
qualificationId: string;
|
|
2776
|
-
qualificationTypeId?: string | null | undefined;
|
|
2777
|
-
}[] | undefined;
|
|
2778
2778
|
}>;
|
|
2779
2779
|
userId: z.ZodString;
|
|
2780
2780
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2781
2781
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2782
2782
|
}, "strip", z.ZodTypeAny, {
|
|
2783
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2783
2784
|
createdAt: string;
|
|
2784
2785
|
updatedAt: string;
|
|
2785
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2786
2786
|
id: string;
|
|
2787
|
+
pay: {
|
|
2788
|
+
rate: number;
|
|
2789
|
+
unit: "DAILY" | "HOURLY";
|
|
2790
|
+
};
|
|
2787
2791
|
user: {
|
|
2788
2792
|
createdAt: string;
|
|
2789
2793
|
updatedAt: string;
|
|
@@ -2795,10 +2799,6 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2795
2799
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
2796
2800
|
};
|
|
2797
2801
|
userId: string;
|
|
2798
|
-
pay: {
|
|
2799
|
-
rate: number;
|
|
2800
|
-
unit: "DAILY" | "HOURLY";
|
|
2801
|
-
};
|
|
2802
2802
|
startDate: string;
|
|
2803
2803
|
worker: {
|
|
2804
2804
|
createdAt: string;
|
|
@@ -2809,13 +2809,12 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2809
2809
|
phoneNumbers: {
|
|
2810
2810
|
phoneNumber: string;
|
|
2811
2811
|
isPrimary: boolean;
|
|
2812
|
-
id?: string | undefined;
|
|
2813
2812
|
description?: string | undefined;
|
|
2813
|
+
id?: string | undefined;
|
|
2814
2814
|
}[];
|
|
2815
2815
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2816
2816
|
hasTools: boolean;
|
|
2817
2817
|
hasPpe: boolean;
|
|
2818
|
-
email?: string | null | undefined;
|
|
2819
2818
|
location?: {
|
|
2820
2819
|
address?: string | null | undefined;
|
|
2821
2820
|
postcode?: string | null | undefined;
|
|
@@ -2825,6 +2824,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2825
2824
|
postTown?: string | null | undefined;
|
|
2826
2825
|
areaCovered?: string | null | undefined;
|
|
2827
2826
|
} | null | undefined;
|
|
2827
|
+
email?: string | null | undefined;
|
|
2828
2828
|
nino?: string | null | undefined;
|
|
2829
2829
|
dateOfBirth?: string | null | undefined;
|
|
2830
2830
|
bio?: string | null | undefined;
|
|
@@ -2859,12 +2859,12 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2859
2859
|
distanceKm?: number | null | undefined;
|
|
2860
2860
|
};
|
|
2861
2861
|
job: {
|
|
2862
|
+
description: string;
|
|
2863
|
+
numberOfPositions: number;
|
|
2864
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2862
2865
|
createdAt: string;
|
|
2863
2866
|
updatedAt: string;
|
|
2864
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2865
2867
|
id: string;
|
|
2866
|
-
description: string;
|
|
2867
|
-
numberOfPositions: number;
|
|
2868
2868
|
pay: {
|
|
2869
2869
|
rateUnit: "DAILY" | "HOURLY";
|
|
2870
2870
|
rate: number;
|
|
@@ -2877,10 +2877,20 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2877
2877
|
qualificationId: string;
|
|
2878
2878
|
qualificationTypeId?: string | null | undefined;
|
|
2879
2879
|
}[];
|
|
2880
|
-
|
|
2880
|
+
workHours?: number | null | undefined;
|
|
2881
|
+
location?: {
|
|
2882
|
+
address?: string | null | undefined;
|
|
2883
|
+
postcode?: string | null | undefined;
|
|
2884
|
+
county?: string | null | undefined;
|
|
2885
|
+
adminDistrict?: string | null | undefined;
|
|
2886
|
+
builtUpArea?: string | null | undefined;
|
|
2887
|
+
postTown?: string | null | undefined;
|
|
2888
|
+
areaCovered?: string | null | undefined;
|
|
2889
|
+
} | null | undefined;
|
|
2890
|
+
currentCollaboration?: {
|
|
2891
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2881
2892
|
createdAt: string;
|
|
2882
2893
|
updatedAt: string;
|
|
2883
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2884
2894
|
id: string;
|
|
2885
2895
|
userId: string;
|
|
2886
2896
|
company?: {
|
|
@@ -2900,24 +2910,18 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2900
2910
|
newCollaboration?: {
|
|
2901
2911
|
id: string;
|
|
2902
2912
|
} | null | undefined;
|
|
2903
|
-
} | null;
|
|
2904
|
-
workHours?: number | null | undefined;
|
|
2905
|
-
location?: {
|
|
2906
|
-
address?: string | null | undefined;
|
|
2907
|
-
postcode?: string | null | undefined;
|
|
2908
|
-
county?: string | null | undefined;
|
|
2909
|
-
adminDistrict?: string | null | undefined;
|
|
2910
|
-
builtUpArea?: string | null | undefined;
|
|
2911
|
-
postTown?: string | null | undefined;
|
|
2912
|
-
areaCovered?: string | null | undefined;
|
|
2913
2913
|
} | null | undefined;
|
|
2914
2914
|
};
|
|
2915
2915
|
endDate?: string | null | undefined;
|
|
2916
2916
|
}, {
|
|
2917
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2917
2918
|
createdAt: string | Date;
|
|
2918
2919
|
updatedAt: string | Date;
|
|
2919
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2920
2920
|
id: string;
|
|
2921
|
+
pay: {
|
|
2922
|
+
rate: number;
|
|
2923
|
+
unit: "DAILY" | "HOURLY";
|
|
2924
|
+
};
|
|
2921
2925
|
user: {
|
|
2922
2926
|
createdAt: string | Date;
|
|
2923
2927
|
updatedAt: string | Date;
|
|
@@ -2929,10 +2933,6 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2929
2933
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
2930
2934
|
};
|
|
2931
2935
|
userId: string;
|
|
2932
|
-
pay: {
|
|
2933
|
-
rate: number;
|
|
2934
|
-
unit: "DAILY" | "HOURLY";
|
|
2935
|
-
};
|
|
2936
2936
|
startDate: string | Date;
|
|
2937
2937
|
worker: {
|
|
2938
2938
|
createdAt: string | Date;
|
|
@@ -2943,7 +2943,6 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2943
2943
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2944
2944
|
hasTools: boolean;
|
|
2945
2945
|
hasPpe: boolean;
|
|
2946
|
-
email?: string | null | undefined;
|
|
2947
2946
|
location?: {
|
|
2948
2947
|
address?: string | null | undefined;
|
|
2949
2948
|
postcode?: string | null | undefined;
|
|
@@ -2953,10 +2952,11 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2953
2952
|
postTown?: string | null | undefined;
|
|
2954
2953
|
areaCovered?: string | null | undefined;
|
|
2955
2954
|
} | null | undefined;
|
|
2955
|
+
email?: string | null | undefined;
|
|
2956
2956
|
phoneNumbers?: {
|
|
2957
2957
|
phoneNumber: string;
|
|
2958
|
-
id?: string | undefined;
|
|
2959
2958
|
description?: string | undefined;
|
|
2959
|
+
id?: string | undefined;
|
|
2960
2960
|
isPrimary?: boolean | undefined;
|
|
2961
2961
|
}[] | undefined;
|
|
2962
2962
|
nino?: string | null | undefined;
|
|
@@ -2993,12 +2993,12 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
2993
2993
|
distanceKm?: number | null | undefined;
|
|
2994
2994
|
};
|
|
2995
2995
|
job: {
|
|
2996
|
+
description: string;
|
|
2997
|
+
numberOfPositions: number;
|
|
2998
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2996
2999
|
createdAt: string | Date;
|
|
2997
3000
|
updatedAt: string | Date;
|
|
2998
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2999
3001
|
id: string;
|
|
3000
|
-
description: string;
|
|
3001
|
-
numberOfPositions: number;
|
|
3002
3002
|
pay: {
|
|
3003
3003
|
rateUnit: "DAILY" | "HOURLY";
|
|
3004
3004
|
rate: number;
|
|
@@ -3006,10 +3006,25 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
3006
3006
|
rateMax?: number | null | undefined;
|
|
3007
3007
|
};
|
|
3008
3008
|
tradeId: string;
|
|
3009
|
-
|
|
3009
|
+
workHours?: number | null | undefined;
|
|
3010
|
+
location?: {
|
|
3011
|
+
address?: string | null | undefined;
|
|
3012
|
+
postcode?: string | null | undefined;
|
|
3013
|
+
county?: string | null | undefined;
|
|
3014
|
+
adminDistrict?: string | null | undefined;
|
|
3015
|
+
builtUpArea?: string | null | undefined;
|
|
3016
|
+
postTown?: string | null | undefined;
|
|
3017
|
+
areaCovered?: string | null | undefined;
|
|
3018
|
+
} | null | undefined;
|
|
3019
|
+
jobQualifications?: {
|
|
3020
|
+
id: string;
|
|
3021
|
+
qualificationId: string;
|
|
3022
|
+
qualificationTypeId?: string | null | undefined;
|
|
3023
|
+
}[] | undefined;
|
|
3024
|
+
currentCollaboration?: {
|
|
3025
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3010
3026
|
createdAt: string | Date;
|
|
3011
3027
|
updatedAt: string | Date;
|
|
3012
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3013
3028
|
id: string;
|
|
3014
3029
|
userId: string;
|
|
3015
3030
|
company?: {
|
|
@@ -3029,22 +3044,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
3029
3044
|
newCollaboration?: {
|
|
3030
3045
|
id: string;
|
|
3031
3046
|
} | null | undefined;
|
|
3032
|
-
} | null;
|
|
3033
|
-
workHours?: number | null | undefined;
|
|
3034
|
-
location?: {
|
|
3035
|
-
address?: string | null | undefined;
|
|
3036
|
-
postcode?: string | null | undefined;
|
|
3037
|
-
county?: string | null | undefined;
|
|
3038
|
-
adminDistrict?: string | null | undefined;
|
|
3039
|
-
builtUpArea?: string | null | undefined;
|
|
3040
|
-
postTown?: string | null | undefined;
|
|
3041
|
-
areaCovered?: string | null | undefined;
|
|
3042
3047
|
} | null | undefined;
|
|
3043
|
-
jobQualifications?: {
|
|
3044
|
-
id: string;
|
|
3045
|
-
qualificationId: string;
|
|
3046
|
-
qualificationTypeId?: string | null | undefined;
|
|
3047
|
-
}[] | undefined;
|
|
3048
3048
|
};
|
|
3049
3049
|
endDate?: string | Date | null | undefined;
|
|
3050
3050
|
}>, "many">;
|
|
@@ -3275,12 +3275,12 @@ export declare const bookingsContractRouter: {
|
|
|
3275
3275
|
}, "strip", z.ZodTypeAny, {
|
|
3276
3276
|
phoneNumber: string;
|
|
3277
3277
|
isPrimary: boolean;
|
|
3278
|
-
id?: string | undefined;
|
|
3279
3278
|
description?: string | undefined;
|
|
3279
|
+
id?: string | undefined;
|
|
3280
3280
|
}, {
|
|
3281
3281
|
phoneNumber: string;
|
|
3282
|
-
id?: string | undefined;
|
|
3283
3282
|
description?: string | undefined;
|
|
3283
|
+
id?: string | undefined;
|
|
3284
3284
|
isPrimary?: boolean | undefined;
|
|
3285
3285
|
}>, "many">>>;
|
|
3286
3286
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3396,13 +3396,12 @@ export declare const bookingsContractRouter: {
|
|
|
3396
3396
|
phoneNumbers: {
|
|
3397
3397
|
phoneNumber: string;
|
|
3398
3398
|
isPrimary: boolean;
|
|
3399
|
-
id?: string | undefined;
|
|
3400
3399
|
description?: string | undefined;
|
|
3400
|
+
id?: string | undefined;
|
|
3401
3401
|
}[];
|
|
3402
3402
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
3403
3403
|
hasTools: boolean;
|
|
3404
3404
|
hasPpe: boolean;
|
|
3405
|
-
email?: string | null | undefined;
|
|
3406
3405
|
location?: {
|
|
3407
3406
|
address?: string | null | undefined;
|
|
3408
3407
|
postcode?: string | null | undefined;
|
|
@@ -3412,6 +3411,7 @@ export declare const bookingsContractRouter: {
|
|
|
3412
3411
|
postTown?: string | null | undefined;
|
|
3413
3412
|
areaCovered?: string | null | undefined;
|
|
3414
3413
|
} | null | undefined;
|
|
3414
|
+
email?: string | null | undefined;
|
|
3415
3415
|
nino?: string | null | undefined;
|
|
3416
3416
|
dateOfBirth?: string | null | undefined;
|
|
3417
3417
|
bio?: string | null | undefined;
|
|
@@ -3453,7 +3453,6 @@ export declare const bookingsContractRouter: {
|
|
|
3453
3453
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
3454
3454
|
hasTools: boolean;
|
|
3455
3455
|
hasPpe: boolean;
|
|
3456
|
-
email?: string | null | undefined;
|
|
3457
3456
|
location?: {
|
|
3458
3457
|
address?: string | null | undefined;
|
|
3459
3458
|
postcode?: string | null | undefined;
|
|
@@ -3463,10 +3462,11 @@ export declare const bookingsContractRouter: {
|
|
|
3463
3462
|
postTown?: string | null | undefined;
|
|
3464
3463
|
areaCovered?: string | null | undefined;
|
|
3465
3464
|
} | null | undefined;
|
|
3465
|
+
email?: string | null | undefined;
|
|
3466
3466
|
phoneNumbers?: {
|
|
3467
3467
|
phoneNumber: string;
|
|
3468
|
-
id?: string | undefined;
|
|
3469
3468
|
description?: string | undefined;
|
|
3469
|
+
id?: string | undefined;
|
|
3470
3470
|
isPrimary?: boolean | undefined;
|
|
3471
3471
|
}[] | undefined;
|
|
3472
3472
|
nino?: string | null | undefined;
|
|
@@ -3601,7 +3601,7 @@ export declare const bookingsContractRouter: {
|
|
|
3601
3601
|
qualificationId: string;
|
|
3602
3602
|
qualificationTypeId?: string | null | undefined;
|
|
3603
3603
|
}>, "many">>>;
|
|
3604
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
3604
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3605
3605
|
id: z.ZodString;
|
|
3606
3606
|
company: z.ZodOptional<z.ZodObject<{
|
|
3607
3607
|
id: z.ZodString;
|
|
@@ -3651,9 +3651,9 @@ export declare const bookingsContractRouter: {
|
|
|
3651
3651
|
id: string;
|
|
3652
3652
|
}>>>;
|
|
3653
3653
|
}, "strip", z.ZodTypeAny, {
|
|
3654
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3654
3655
|
createdAt: string;
|
|
3655
3656
|
updatedAt: string;
|
|
3656
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3657
3657
|
id: string;
|
|
3658
3658
|
userId: string;
|
|
3659
3659
|
company?: {
|
|
@@ -3674,9 +3674,9 @@ export declare const bookingsContractRouter: {
|
|
|
3674
3674
|
id: string;
|
|
3675
3675
|
} | null | undefined;
|
|
3676
3676
|
}, {
|
|
3677
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3677
3678
|
createdAt: string | Date;
|
|
3678
3679
|
updatedAt: string | Date;
|
|
3679
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3680
3680
|
id: string;
|
|
3681
3681
|
userId: string;
|
|
3682
3682
|
company?: {
|
|
@@ -3696,16 +3696,16 @@ export declare const bookingsContractRouter: {
|
|
|
3696
3696
|
newCollaboration?: {
|
|
3697
3697
|
id: string;
|
|
3698
3698
|
} | null | undefined;
|
|
3699
|
-
}
|
|
3699
|
+
}>>>;
|
|
3700
3700
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3701
3701
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3702
3702
|
}, "strip", z.ZodTypeAny, {
|
|
3703
|
+
description: string;
|
|
3704
|
+
numberOfPositions: number;
|
|
3705
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3703
3706
|
createdAt: string;
|
|
3704
3707
|
updatedAt: string;
|
|
3705
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3706
3708
|
id: string;
|
|
3707
|
-
description: string;
|
|
3708
|
-
numberOfPositions: number;
|
|
3709
3709
|
pay: {
|
|
3710
3710
|
rateUnit: "DAILY" | "HOURLY";
|
|
3711
3711
|
rate: number;
|
|
@@ -3718,10 +3718,20 @@ export declare const bookingsContractRouter: {
|
|
|
3718
3718
|
qualificationId: string;
|
|
3719
3719
|
qualificationTypeId?: string | null | undefined;
|
|
3720
3720
|
}[];
|
|
3721
|
-
|
|
3721
|
+
workHours?: number | null | undefined;
|
|
3722
|
+
location?: {
|
|
3723
|
+
address?: string | null | undefined;
|
|
3724
|
+
postcode?: string | null | undefined;
|
|
3725
|
+
county?: string | null | undefined;
|
|
3726
|
+
adminDistrict?: string | null | undefined;
|
|
3727
|
+
builtUpArea?: string | null | undefined;
|
|
3728
|
+
postTown?: string | null | undefined;
|
|
3729
|
+
areaCovered?: string | null | undefined;
|
|
3730
|
+
} | null | undefined;
|
|
3731
|
+
currentCollaboration?: {
|
|
3732
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3722
3733
|
createdAt: string;
|
|
3723
3734
|
updatedAt: string;
|
|
3724
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3725
3735
|
id: string;
|
|
3726
3736
|
userId: string;
|
|
3727
3737
|
company?: {
|
|
@@ -3741,24 +3751,14 @@ export declare const bookingsContractRouter: {
|
|
|
3741
3751
|
newCollaboration?: {
|
|
3742
3752
|
id: string;
|
|
3743
3753
|
} | null | undefined;
|
|
3744
|
-
} | null;
|
|
3745
|
-
workHours?: number | null | undefined;
|
|
3746
|
-
location?: {
|
|
3747
|
-
address?: string | null | undefined;
|
|
3748
|
-
postcode?: string | null | undefined;
|
|
3749
|
-
county?: string | null | undefined;
|
|
3750
|
-
adminDistrict?: string | null | undefined;
|
|
3751
|
-
builtUpArea?: string | null | undefined;
|
|
3752
|
-
postTown?: string | null | undefined;
|
|
3753
|
-
areaCovered?: string | null | undefined;
|
|
3754
3754
|
} | null | undefined;
|
|
3755
3755
|
}, {
|
|
3756
|
+
description: string;
|
|
3757
|
+
numberOfPositions: number;
|
|
3758
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3756
3759
|
createdAt: string | Date;
|
|
3757
3760
|
updatedAt: string | Date;
|
|
3758
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3759
3761
|
id: string;
|
|
3760
|
-
description: string;
|
|
3761
|
-
numberOfPositions: number;
|
|
3762
3762
|
pay: {
|
|
3763
3763
|
rateUnit: "DAILY" | "HOURLY";
|
|
3764
3764
|
rate: number;
|
|
@@ -3766,10 +3766,25 @@ export declare const bookingsContractRouter: {
|
|
|
3766
3766
|
rateMax?: number | null | undefined;
|
|
3767
3767
|
};
|
|
3768
3768
|
tradeId: string;
|
|
3769
|
-
|
|
3769
|
+
workHours?: number | null | undefined;
|
|
3770
|
+
location?: {
|
|
3771
|
+
address?: string | null | undefined;
|
|
3772
|
+
postcode?: string | null | undefined;
|
|
3773
|
+
county?: string | null | undefined;
|
|
3774
|
+
adminDistrict?: string | null | undefined;
|
|
3775
|
+
builtUpArea?: string | null | undefined;
|
|
3776
|
+
postTown?: string | null | undefined;
|
|
3777
|
+
areaCovered?: string | null | undefined;
|
|
3778
|
+
} | null | undefined;
|
|
3779
|
+
jobQualifications?: {
|
|
3780
|
+
id: string;
|
|
3781
|
+
qualificationId: string;
|
|
3782
|
+
qualificationTypeId?: string | null | undefined;
|
|
3783
|
+
}[] | undefined;
|
|
3784
|
+
currentCollaboration?: {
|
|
3785
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3770
3786
|
createdAt: string | Date;
|
|
3771
3787
|
updatedAt: string | Date;
|
|
3772
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3773
3788
|
id: string;
|
|
3774
3789
|
userId: string;
|
|
3775
3790
|
company?: {
|
|
@@ -3789,31 +3804,20 @@ export declare const bookingsContractRouter: {
|
|
|
3789
3804
|
newCollaboration?: {
|
|
3790
3805
|
id: string;
|
|
3791
3806
|
} | null | undefined;
|
|
3792
|
-
} | null;
|
|
3793
|
-
workHours?: number | null | undefined;
|
|
3794
|
-
location?: {
|
|
3795
|
-
address?: string | null | undefined;
|
|
3796
|
-
postcode?: string | null | undefined;
|
|
3797
|
-
county?: string | null | undefined;
|
|
3798
|
-
adminDistrict?: string | null | undefined;
|
|
3799
|
-
builtUpArea?: string | null | undefined;
|
|
3800
|
-
postTown?: string | null | undefined;
|
|
3801
|
-
areaCovered?: string | null | undefined;
|
|
3802
3807
|
} | null | undefined;
|
|
3803
|
-
jobQualifications?: {
|
|
3804
|
-
id: string;
|
|
3805
|
-
qualificationId: string;
|
|
3806
|
-
qualificationTypeId?: string | null | undefined;
|
|
3807
|
-
}[] | undefined;
|
|
3808
3808
|
}>;
|
|
3809
3809
|
userId: z.ZodString;
|
|
3810
3810
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3811
3811
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3812
3812
|
}, "strip", z.ZodTypeAny, {
|
|
3813
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3813
3814
|
createdAt: string;
|
|
3814
3815
|
updatedAt: string;
|
|
3815
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3816
3816
|
id: string;
|
|
3817
|
+
pay: {
|
|
3818
|
+
rate: number;
|
|
3819
|
+
unit: "DAILY" | "HOURLY";
|
|
3820
|
+
};
|
|
3817
3821
|
user: {
|
|
3818
3822
|
createdAt: string;
|
|
3819
3823
|
updatedAt: string;
|
|
@@ -3825,10 +3829,6 @@ export declare const bookingsContractRouter: {
|
|
|
3825
3829
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
3826
3830
|
};
|
|
3827
3831
|
userId: string;
|
|
3828
|
-
pay: {
|
|
3829
|
-
rate: number;
|
|
3830
|
-
unit: "DAILY" | "HOURLY";
|
|
3831
|
-
};
|
|
3832
3832
|
startDate: string;
|
|
3833
3833
|
worker: {
|
|
3834
3834
|
createdAt: string;
|
|
@@ -3839,13 +3839,12 @@ export declare const bookingsContractRouter: {
|
|
|
3839
3839
|
phoneNumbers: {
|
|
3840
3840
|
phoneNumber: string;
|
|
3841
3841
|
isPrimary: boolean;
|
|
3842
|
-
id?: string | undefined;
|
|
3843
3842
|
description?: string | undefined;
|
|
3843
|
+
id?: string | undefined;
|
|
3844
3844
|
}[];
|
|
3845
3845
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
3846
3846
|
hasTools: boolean;
|
|
3847
3847
|
hasPpe: boolean;
|
|
3848
|
-
email?: string | null | undefined;
|
|
3849
3848
|
location?: {
|
|
3850
3849
|
address?: string | null | undefined;
|
|
3851
3850
|
postcode?: string | null | undefined;
|
|
@@ -3855,6 +3854,7 @@ export declare const bookingsContractRouter: {
|
|
|
3855
3854
|
postTown?: string | null | undefined;
|
|
3856
3855
|
areaCovered?: string | null | undefined;
|
|
3857
3856
|
} | null | undefined;
|
|
3857
|
+
email?: string | null | undefined;
|
|
3858
3858
|
nino?: string | null | undefined;
|
|
3859
3859
|
dateOfBirth?: string | null | undefined;
|
|
3860
3860
|
bio?: string | null | undefined;
|
|
@@ -3889,12 +3889,12 @@ export declare const bookingsContractRouter: {
|
|
|
3889
3889
|
distanceKm?: number | null | undefined;
|
|
3890
3890
|
};
|
|
3891
3891
|
job: {
|
|
3892
|
+
description: string;
|
|
3893
|
+
numberOfPositions: number;
|
|
3894
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3892
3895
|
createdAt: string;
|
|
3893
3896
|
updatedAt: string;
|
|
3894
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3895
3897
|
id: string;
|
|
3896
|
-
description: string;
|
|
3897
|
-
numberOfPositions: number;
|
|
3898
3898
|
pay: {
|
|
3899
3899
|
rateUnit: "DAILY" | "HOURLY";
|
|
3900
3900
|
rate: number;
|
|
@@ -3907,10 +3907,20 @@ export declare const bookingsContractRouter: {
|
|
|
3907
3907
|
qualificationId: string;
|
|
3908
3908
|
qualificationTypeId?: string | null | undefined;
|
|
3909
3909
|
}[];
|
|
3910
|
-
|
|
3910
|
+
workHours?: number | null | undefined;
|
|
3911
|
+
location?: {
|
|
3912
|
+
address?: string | null | undefined;
|
|
3913
|
+
postcode?: string | null | undefined;
|
|
3914
|
+
county?: string | null | undefined;
|
|
3915
|
+
adminDistrict?: string | null | undefined;
|
|
3916
|
+
builtUpArea?: string | null | undefined;
|
|
3917
|
+
postTown?: string | null | undefined;
|
|
3918
|
+
areaCovered?: string | null | undefined;
|
|
3919
|
+
} | null | undefined;
|
|
3920
|
+
currentCollaboration?: {
|
|
3921
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3911
3922
|
createdAt: string;
|
|
3912
3923
|
updatedAt: string;
|
|
3913
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3914
3924
|
id: string;
|
|
3915
3925
|
userId: string;
|
|
3916
3926
|
company?: {
|
|
@@ -3930,24 +3940,18 @@ export declare const bookingsContractRouter: {
|
|
|
3930
3940
|
newCollaboration?: {
|
|
3931
3941
|
id: string;
|
|
3932
3942
|
} | null | undefined;
|
|
3933
|
-
} | null;
|
|
3934
|
-
workHours?: number | null | undefined;
|
|
3935
|
-
location?: {
|
|
3936
|
-
address?: string | null | undefined;
|
|
3937
|
-
postcode?: string | null | undefined;
|
|
3938
|
-
county?: string | null | undefined;
|
|
3939
|
-
adminDistrict?: string | null | undefined;
|
|
3940
|
-
builtUpArea?: string | null | undefined;
|
|
3941
|
-
postTown?: string | null | undefined;
|
|
3942
|
-
areaCovered?: string | null | undefined;
|
|
3943
3943
|
} | null | undefined;
|
|
3944
3944
|
};
|
|
3945
3945
|
endDate?: string | null | undefined;
|
|
3946
3946
|
}, {
|
|
3947
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3947
3948
|
createdAt: string | Date;
|
|
3948
3949
|
updatedAt: string | Date;
|
|
3949
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3950
3950
|
id: string;
|
|
3951
|
+
pay: {
|
|
3952
|
+
rate: number;
|
|
3953
|
+
unit: "DAILY" | "HOURLY";
|
|
3954
|
+
};
|
|
3951
3955
|
user: {
|
|
3952
3956
|
createdAt: string | Date;
|
|
3953
3957
|
updatedAt: string | Date;
|
|
@@ -3959,10 +3963,6 @@ export declare const bookingsContractRouter: {
|
|
|
3959
3963
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
3960
3964
|
};
|
|
3961
3965
|
userId: string;
|
|
3962
|
-
pay: {
|
|
3963
|
-
rate: number;
|
|
3964
|
-
unit: "DAILY" | "HOURLY";
|
|
3965
|
-
};
|
|
3966
3966
|
startDate: string | Date;
|
|
3967
3967
|
worker: {
|
|
3968
3968
|
createdAt: string | Date;
|
|
@@ -3973,7 +3973,6 @@ export declare const bookingsContractRouter: {
|
|
|
3973
3973
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
3974
3974
|
hasTools: boolean;
|
|
3975
3975
|
hasPpe: boolean;
|
|
3976
|
-
email?: string | null | undefined;
|
|
3977
3976
|
location?: {
|
|
3978
3977
|
address?: string | null | undefined;
|
|
3979
3978
|
postcode?: string | null | undefined;
|
|
@@ -3983,10 +3982,11 @@ export declare const bookingsContractRouter: {
|
|
|
3983
3982
|
postTown?: string | null | undefined;
|
|
3984
3983
|
areaCovered?: string | null | undefined;
|
|
3985
3984
|
} | null | undefined;
|
|
3985
|
+
email?: string | null | undefined;
|
|
3986
3986
|
phoneNumbers?: {
|
|
3987
3987
|
phoneNumber: string;
|
|
3988
|
-
id?: string | undefined;
|
|
3989
3988
|
description?: string | undefined;
|
|
3989
|
+
id?: string | undefined;
|
|
3990
3990
|
isPrimary?: boolean | undefined;
|
|
3991
3991
|
}[] | undefined;
|
|
3992
3992
|
nino?: string | null | undefined;
|
|
@@ -4023,12 +4023,12 @@ export declare const bookingsContractRouter: {
|
|
|
4023
4023
|
distanceKm?: number | null | undefined;
|
|
4024
4024
|
};
|
|
4025
4025
|
job: {
|
|
4026
|
+
description: string;
|
|
4027
|
+
numberOfPositions: number;
|
|
4028
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4026
4029
|
createdAt: string | Date;
|
|
4027
4030
|
updatedAt: string | Date;
|
|
4028
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4029
4031
|
id: string;
|
|
4030
|
-
description: string;
|
|
4031
|
-
numberOfPositions: number;
|
|
4032
4032
|
pay: {
|
|
4033
4033
|
rateUnit: "DAILY" | "HOURLY";
|
|
4034
4034
|
rate: number;
|
|
@@ -4036,10 +4036,25 @@ export declare const bookingsContractRouter: {
|
|
|
4036
4036
|
rateMax?: number | null | undefined;
|
|
4037
4037
|
};
|
|
4038
4038
|
tradeId: string;
|
|
4039
|
-
|
|
4039
|
+
workHours?: number | null | undefined;
|
|
4040
|
+
location?: {
|
|
4041
|
+
address?: string | null | undefined;
|
|
4042
|
+
postcode?: string | null | undefined;
|
|
4043
|
+
county?: string | null | undefined;
|
|
4044
|
+
adminDistrict?: string | null | undefined;
|
|
4045
|
+
builtUpArea?: string | null | undefined;
|
|
4046
|
+
postTown?: string | null | undefined;
|
|
4047
|
+
areaCovered?: string | null | undefined;
|
|
4048
|
+
} | null | undefined;
|
|
4049
|
+
jobQualifications?: {
|
|
4050
|
+
id: string;
|
|
4051
|
+
qualificationId: string;
|
|
4052
|
+
qualificationTypeId?: string | null | undefined;
|
|
4053
|
+
}[] | undefined;
|
|
4054
|
+
currentCollaboration?: {
|
|
4055
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4040
4056
|
createdAt: string | Date;
|
|
4041
4057
|
updatedAt: string | Date;
|
|
4042
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4043
4058
|
id: string;
|
|
4044
4059
|
userId: string;
|
|
4045
4060
|
company?: {
|
|
@@ -4059,22 +4074,7 @@ export declare const bookingsContractRouter: {
|
|
|
4059
4074
|
newCollaboration?: {
|
|
4060
4075
|
id: string;
|
|
4061
4076
|
} | null | undefined;
|
|
4062
|
-
} | null;
|
|
4063
|
-
workHours?: number | null | undefined;
|
|
4064
|
-
location?: {
|
|
4065
|
-
address?: string | null | undefined;
|
|
4066
|
-
postcode?: string | null | undefined;
|
|
4067
|
-
county?: string | null | undefined;
|
|
4068
|
-
adminDistrict?: string | null | undefined;
|
|
4069
|
-
builtUpArea?: string | null | undefined;
|
|
4070
|
-
postTown?: string | null | undefined;
|
|
4071
|
-
areaCovered?: string | null | undefined;
|
|
4072
4077
|
} | null | undefined;
|
|
4073
|
-
jobQualifications?: {
|
|
4074
|
-
id: string;
|
|
4075
|
-
qualificationId: string;
|
|
4076
|
-
qualificationTypeId?: string | null | undefined;
|
|
4077
|
-
}[] | undefined;
|
|
4078
4078
|
};
|
|
4079
4079
|
endDate?: string | Date | null | undefined;
|
|
4080
4080
|
}>, "many">;
|
|
@@ -4123,15 +4123,15 @@ export declare const bookingsContractRouter: {
|
|
|
4123
4123
|
companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4124
4124
|
tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4125
4125
|
}, "strip", z.ZodTypeAny, {
|
|
4126
|
+
tradeId?: string | null | undefined;
|
|
4126
4127
|
userId?: string | null | undefined;
|
|
4127
|
-
companyId?: string | null | undefined;
|
|
4128
4128
|
clientId?: string | null | undefined;
|
|
4129
|
-
|
|
4129
|
+
companyId?: string | null | undefined;
|
|
4130
4130
|
}, {
|
|
4131
|
+
tradeId?: string | null | undefined;
|
|
4131
4132
|
userId?: string | null | undefined;
|
|
4132
|
-
companyId?: string | null | undefined;
|
|
4133
4133
|
clientId?: string | null | undefined;
|
|
4134
|
-
|
|
4134
|
+
companyId?: string | null | undefined;
|
|
4135
4135
|
}>>>;
|
|
4136
4136
|
createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4137
4137
|
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4172,14 +4172,12 @@ export declare const bookingsContractRouter: {
|
|
|
4172
4172
|
}, "strip", z.ZodTypeAny, {
|
|
4173
4173
|
limit: number;
|
|
4174
4174
|
page: number;
|
|
4175
|
+
status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
|
|
4175
4176
|
createdAt?: {
|
|
4176
4177
|
from?: string | null | undefined;
|
|
4177
4178
|
to?: string | null | undefined;
|
|
4178
4179
|
} | null | undefined;
|
|
4179
|
-
|
|
4180
|
-
companyId?: string | null | undefined;
|
|
4181
|
-
clientId?: string | null | undefined;
|
|
4182
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | "startDate" | null | undefined;
|
|
4180
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
4183
4181
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
4184
4182
|
startDate?: {
|
|
4185
4183
|
from?: string | null | undefined;
|
|
@@ -4189,25 +4187,25 @@ export declare const bookingsContractRouter: {
|
|
|
4189
4187
|
from?: string | null | undefined;
|
|
4190
4188
|
to?: string | null | undefined;
|
|
4191
4189
|
} | null | undefined;
|
|
4190
|
+
clientId?: string | null | undefined;
|
|
4191
|
+
companyId?: string | null | undefined;
|
|
4192
4192
|
job?: {
|
|
4193
|
+
tradeId?: string | null | undefined;
|
|
4193
4194
|
userId?: string | null | undefined;
|
|
4194
|
-
companyId?: string | null | undefined;
|
|
4195
4195
|
clientId?: string | null | undefined;
|
|
4196
|
-
|
|
4196
|
+
companyId?: string | null | undefined;
|
|
4197
4197
|
} | null | undefined;
|
|
4198
4198
|
workerName?: string | null | undefined;
|
|
4199
4199
|
agentName?: string | null | undefined;
|
|
4200
4200
|
}, {
|
|
4201
|
+
status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
|
|
4201
4202
|
createdAt?: {
|
|
4202
4203
|
from?: string | null | undefined;
|
|
4203
4204
|
to?: string | null | undefined;
|
|
4204
4205
|
} | null | undefined;
|
|
4205
|
-
status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
|
|
4206
4206
|
limit?: number | undefined;
|
|
4207
4207
|
page?: number | undefined;
|
|
4208
|
-
|
|
4209
|
-
clientId?: string | null | undefined;
|
|
4210
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | "startDate" | null | undefined;
|
|
4208
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
4211
4209
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
4212
4210
|
startDate?: {
|
|
4213
4211
|
from?: string | null | undefined;
|
|
@@ -4217,11 +4215,13 @@ export declare const bookingsContractRouter: {
|
|
|
4217
4215
|
from?: string | null | undefined;
|
|
4218
4216
|
to?: string | null | undefined;
|
|
4219
4217
|
} | null | undefined;
|
|
4218
|
+
clientId?: string | null | undefined;
|
|
4219
|
+
companyId?: string | null | undefined;
|
|
4220
4220
|
job?: {
|
|
4221
|
+
tradeId?: string | null | undefined;
|
|
4221
4222
|
userId?: string | null | undefined;
|
|
4222
|
-
companyId?: string | null | undefined;
|
|
4223
4223
|
clientId?: string | null | undefined;
|
|
4224
|
-
|
|
4224
|
+
companyId?: string | null | undefined;
|
|
4225
4225
|
} | null | undefined;
|
|
4226
4226
|
workerName?: string | null | undefined;
|
|
4227
4227
|
agentName?: string | null | undefined;
|
|
@@ -4349,12 +4349,12 @@ export declare const bookingsContractRouter: {
|
|
|
4349
4349
|
}, "strip", z.ZodTypeAny, {
|
|
4350
4350
|
phoneNumber: string;
|
|
4351
4351
|
isPrimary: boolean;
|
|
4352
|
-
id?: string | undefined;
|
|
4353
4352
|
description?: string | undefined;
|
|
4353
|
+
id?: string | undefined;
|
|
4354
4354
|
}, {
|
|
4355
4355
|
phoneNumber: string;
|
|
4356
|
-
id?: string | undefined;
|
|
4357
4356
|
description?: string | undefined;
|
|
4357
|
+
id?: string | undefined;
|
|
4358
4358
|
isPrimary?: boolean | undefined;
|
|
4359
4359
|
}>, "many">>>;
|
|
4360
4360
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4470,13 +4470,12 @@ export declare const bookingsContractRouter: {
|
|
|
4470
4470
|
phoneNumbers: {
|
|
4471
4471
|
phoneNumber: string;
|
|
4472
4472
|
isPrimary: boolean;
|
|
4473
|
-
id?: string | undefined;
|
|
4474
4473
|
description?: string | undefined;
|
|
4474
|
+
id?: string | undefined;
|
|
4475
4475
|
}[];
|
|
4476
4476
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
4477
4477
|
hasTools: boolean;
|
|
4478
4478
|
hasPpe: boolean;
|
|
4479
|
-
email?: string | null | undefined;
|
|
4480
4479
|
location?: {
|
|
4481
4480
|
address?: string | null | undefined;
|
|
4482
4481
|
postcode?: string | null | undefined;
|
|
@@ -4486,6 +4485,7 @@ export declare const bookingsContractRouter: {
|
|
|
4486
4485
|
postTown?: string | null | undefined;
|
|
4487
4486
|
areaCovered?: string | null | undefined;
|
|
4488
4487
|
} | null | undefined;
|
|
4488
|
+
email?: string | null | undefined;
|
|
4489
4489
|
nino?: string | null | undefined;
|
|
4490
4490
|
dateOfBirth?: string | null | undefined;
|
|
4491
4491
|
bio?: string | null | undefined;
|
|
@@ -4527,7 +4527,6 @@ export declare const bookingsContractRouter: {
|
|
|
4527
4527
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
4528
4528
|
hasTools: boolean;
|
|
4529
4529
|
hasPpe: boolean;
|
|
4530
|
-
email?: string | null | undefined;
|
|
4531
4530
|
location?: {
|
|
4532
4531
|
address?: string | null | undefined;
|
|
4533
4532
|
postcode?: string | null | undefined;
|
|
@@ -4537,10 +4536,11 @@ export declare const bookingsContractRouter: {
|
|
|
4537
4536
|
postTown?: string | null | undefined;
|
|
4538
4537
|
areaCovered?: string | null | undefined;
|
|
4539
4538
|
} | null | undefined;
|
|
4539
|
+
email?: string | null | undefined;
|
|
4540
4540
|
phoneNumbers?: {
|
|
4541
4541
|
phoneNumber: string;
|
|
4542
|
-
id?: string | undefined;
|
|
4543
4542
|
description?: string | undefined;
|
|
4543
|
+
id?: string | undefined;
|
|
4544
4544
|
isPrimary?: boolean | undefined;
|
|
4545
4545
|
}[] | undefined;
|
|
4546
4546
|
nino?: string | null | undefined;
|
|
@@ -4675,7 +4675,7 @@ export declare const bookingsContractRouter: {
|
|
|
4675
4675
|
qualificationId: string;
|
|
4676
4676
|
qualificationTypeId?: string | null | undefined;
|
|
4677
4677
|
}>, "many">>>;
|
|
4678
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
4678
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4679
4679
|
id: z.ZodString;
|
|
4680
4680
|
company: z.ZodOptional<z.ZodObject<{
|
|
4681
4681
|
id: z.ZodString;
|
|
@@ -4725,9 +4725,9 @@ export declare const bookingsContractRouter: {
|
|
|
4725
4725
|
id: string;
|
|
4726
4726
|
}>>>;
|
|
4727
4727
|
}, "strip", z.ZodTypeAny, {
|
|
4728
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4728
4729
|
createdAt: string;
|
|
4729
4730
|
updatedAt: string;
|
|
4730
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4731
4731
|
id: string;
|
|
4732
4732
|
userId: string;
|
|
4733
4733
|
company?: {
|
|
@@ -4748,9 +4748,9 @@ export declare const bookingsContractRouter: {
|
|
|
4748
4748
|
id: string;
|
|
4749
4749
|
} | null | undefined;
|
|
4750
4750
|
}, {
|
|
4751
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4751
4752
|
createdAt: string | Date;
|
|
4752
4753
|
updatedAt: string | Date;
|
|
4753
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4754
4754
|
id: string;
|
|
4755
4755
|
userId: string;
|
|
4756
4756
|
company?: {
|
|
@@ -4770,16 +4770,16 @@ export declare const bookingsContractRouter: {
|
|
|
4770
4770
|
newCollaboration?: {
|
|
4771
4771
|
id: string;
|
|
4772
4772
|
} | null | undefined;
|
|
4773
|
-
}
|
|
4773
|
+
}>>>;
|
|
4774
4774
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4775
4775
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4776
4776
|
}, "strip", z.ZodTypeAny, {
|
|
4777
|
+
description: string;
|
|
4778
|
+
numberOfPositions: number;
|
|
4779
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4777
4780
|
createdAt: string;
|
|
4778
4781
|
updatedAt: string;
|
|
4779
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4780
4782
|
id: string;
|
|
4781
|
-
description: string;
|
|
4782
|
-
numberOfPositions: number;
|
|
4783
4783
|
pay: {
|
|
4784
4784
|
rateUnit: "DAILY" | "HOURLY";
|
|
4785
4785
|
rate: number;
|
|
@@ -4792,10 +4792,20 @@ export declare const bookingsContractRouter: {
|
|
|
4792
4792
|
qualificationId: string;
|
|
4793
4793
|
qualificationTypeId?: string | null | undefined;
|
|
4794
4794
|
}[];
|
|
4795
|
-
|
|
4795
|
+
workHours?: number | null | undefined;
|
|
4796
|
+
location?: {
|
|
4797
|
+
address?: string | null | undefined;
|
|
4798
|
+
postcode?: string | null | undefined;
|
|
4799
|
+
county?: string | null | undefined;
|
|
4800
|
+
adminDistrict?: string | null | undefined;
|
|
4801
|
+
builtUpArea?: string | null | undefined;
|
|
4802
|
+
postTown?: string | null | undefined;
|
|
4803
|
+
areaCovered?: string | null | undefined;
|
|
4804
|
+
} | null | undefined;
|
|
4805
|
+
currentCollaboration?: {
|
|
4806
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4796
4807
|
createdAt: string;
|
|
4797
4808
|
updatedAt: string;
|
|
4798
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4799
4809
|
id: string;
|
|
4800
4810
|
userId: string;
|
|
4801
4811
|
company?: {
|
|
@@ -4815,24 +4825,14 @@ export declare const bookingsContractRouter: {
|
|
|
4815
4825
|
newCollaboration?: {
|
|
4816
4826
|
id: string;
|
|
4817
4827
|
} | null | undefined;
|
|
4818
|
-
} | null;
|
|
4819
|
-
workHours?: number | null | undefined;
|
|
4820
|
-
location?: {
|
|
4821
|
-
address?: string | null | undefined;
|
|
4822
|
-
postcode?: string | null | undefined;
|
|
4823
|
-
county?: string | null | undefined;
|
|
4824
|
-
adminDistrict?: string | null | undefined;
|
|
4825
|
-
builtUpArea?: string | null | undefined;
|
|
4826
|
-
postTown?: string | null | undefined;
|
|
4827
|
-
areaCovered?: string | null | undefined;
|
|
4828
4828
|
} | null | undefined;
|
|
4829
4829
|
}, {
|
|
4830
|
+
description: string;
|
|
4831
|
+
numberOfPositions: number;
|
|
4832
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4830
4833
|
createdAt: string | Date;
|
|
4831
4834
|
updatedAt: string | Date;
|
|
4832
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4833
4835
|
id: string;
|
|
4834
|
-
description: string;
|
|
4835
|
-
numberOfPositions: number;
|
|
4836
4836
|
pay: {
|
|
4837
4837
|
rateUnit: "DAILY" | "HOURLY";
|
|
4838
4838
|
rate: number;
|
|
@@ -4840,10 +4840,25 @@ export declare const bookingsContractRouter: {
|
|
|
4840
4840
|
rateMax?: number | null | undefined;
|
|
4841
4841
|
};
|
|
4842
4842
|
tradeId: string;
|
|
4843
|
-
|
|
4843
|
+
workHours?: number | null | undefined;
|
|
4844
|
+
location?: {
|
|
4845
|
+
address?: string | null | undefined;
|
|
4846
|
+
postcode?: string | null | undefined;
|
|
4847
|
+
county?: string | null | undefined;
|
|
4848
|
+
adminDistrict?: string | null | undefined;
|
|
4849
|
+
builtUpArea?: string | null | undefined;
|
|
4850
|
+
postTown?: string | null | undefined;
|
|
4851
|
+
areaCovered?: string | null | undefined;
|
|
4852
|
+
} | null | undefined;
|
|
4853
|
+
jobQualifications?: {
|
|
4854
|
+
id: string;
|
|
4855
|
+
qualificationId: string;
|
|
4856
|
+
qualificationTypeId?: string | null | undefined;
|
|
4857
|
+
}[] | undefined;
|
|
4858
|
+
currentCollaboration?: {
|
|
4859
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4844
4860
|
createdAt: string | Date;
|
|
4845
4861
|
updatedAt: string | Date;
|
|
4846
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4847
4862
|
id: string;
|
|
4848
4863
|
userId: string;
|
|
4849
4864
|
company?: {
|
|
@@ -4863,31 +4878,20 @@ export declare const bookingsContractRouter: {
|
|
|
4863
4878
|
newCollaboration?: {
|
|
4864
4879
|
id: string;
|
|
4865
4880
|
} | null | undefined;
|
|
4866
|
-
} | null;
|
|
4867
|
-
workHours?: number | null | undefined;
|
|
4868
|
-
location?: {
|
|
4869
|
-
address?: string | null | undefined;
|
|
4870
|
-
postcode?: string | null | undefined;
|
|
4871
|
-
county?: string | null | undefined;
|
|
4872
|
-
adminDistrict?: string | null | undefined;
|
|
4873
|
-
builtUpArea?: string | null | undefined;
|
|
4874
|
-
postTown?: string | null | undefined;
|
|
4875
|
-
areaCovered?: string | null | undefined;
|
|
4876
4881
|
} | null | undefined;
|
|
4877
|
-
jobQualifications?: {
|
|
4878
|
-
id: string;
|
|
4879
|
-
qualificationId: string;
|
|
4880
|
-
qualificationTypeId?: string | null | undefined;
|
|
4881
|
-
}[] | undefined;
|
|
4882
4882
|
}>;
|
|
4883
4883
|
userId: z.ZodString;
|
|
4884
4884
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4885
4885
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4886
4886
|
}, "strip", z.ZodTypeAny, {
|
|
4887
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
4887
4888
|
createdAt: string;
|
|
4888
4889
|
updatedAt: string;
|
|
4889
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
4890
4890
|
id: string;
|
|
4891
|
+
pay: {
|
|
4892
|
+
rate: number;
|
|
4893
|
+
unit: "DAILY" | "HOURLY";
|
|
4894
|
+
};
|
|
4891
4895
|
user: {
|
|
4892
4896
|
createdAt: string;
|
|
4893
4897
|
updatedAt: string;
|
|
@@ -4899,10 +4903,6 @@ export declare const bookingsContractRouter: {
|
|
|
4899
4903
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
4900
4904
|
};
|
|
4901
4905
|
userId: string;
|
|
4902
|
-
pay: {
|
|
4903
|
-
rate: number;
|
|
4904
|
-
unit: "DAILY" | "HOURLY";
|
|
4905
|
-
};
|
|
4906
4906
|
startDate: string;
|
|
4907
4907
|
worker: {
|
|
4908
4908
|
createdAt: string;
|
|
@@ -4913,13 +4913,12 @@ export declare const bookingsContractRouter: {
|
|
|
4913
4913
|
phoneNumbers: {
|
|
4914
4914
|
phoneNumber: string;
|
|
4915
4915
|
isPrimary: boolean;
|
|
4916
|
-
id?: string | undefined;
|
|
4917
4916
|
description?: string | undefined;
|
|
4917
|
+
id?: string | undefined;
|
|
4918
4918
|
}[];
|
|
4919
4919
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
4920
4920
|
hasTools: boolean;
|
|
4921
4921
|
hasPpe: boolean;
|
|
4922
|
-
email?: string | null | undefined;
|
|
4923
4922
|
location?: {
|
|
4924
4923
|
address?: string | null | undefined;
|
|
4925
4924
|
postcode?: string | null | undefined;
|
|
@@ -4929,6 +4928,7 @@ export declare const bookingsContractRouter: {
|
|
|
4929
4928
|
postTown?: string | null | undefined;
|
|
4930
4929
|
areaCovered?: string | null | undefined;
|
|
4931
4930
|
} | null | undefined;
|
|
4931
|
+
email?: string | null | undefined;
|
|
4932
4932
|
nino?: string | null | undefined;
|
|
4933
4933
|
dateOfBirth?: string | null | undefined;
|
|
4934
4934
|
bio?: string | null | undefined;
|
|
@@ -4963,12 +4963,12 @@ export declare const bookingsContractRouter: {
|
|
|
4963
4963
|
distanceKm?: number | null | undefined;
|
|
4964
4964
|
};
|
|
4965
4965
|
job: {
|
|
4966
|
+
description: string;
|
|
4967
|
+
numberOfPositions: number;
|
|
4968
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4966
4969
|
createdAt: string;
|
|
4967
4970
|
updatedAt: string;
|
|
4968
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4969
4971
|
id: string;
|
|
4970
|
-
description: string;
|
|
4971
|
-
numberOfPositions: number;
|
|
4972
4972
|
pay: {
|
|
4973
4973
|
rateUnit: "DAILY" | "HOURLY";
|
|
4974
4974
|
rate: number;
|
|
@@ -4981,10 +4981,20 @@ export declare const bookingsContractRouter: {
|
|
|
4981
4981
|
qualificationId: string;
|
|
4982
4982
|
qualificationTypeId?: string | null | undefined;
|
|
4983
4983
|
}[];
|
|
4984
|
-
|
|
4984
|
+
workHours?: number | null | undefined;
|
|
4985
|
+
location?: {
|
|
4986
|
+
address?: string | null | undefined;
|
|
4987
|
+
postcode?: string | null | undefined;
|
|
4988
|
+
county?: string | null | undefined;
|
|
4989
|
+
adminDistrict?: string | null | undefined;
|
|
4990
|
+
builtUpArea?: string | null | undefined;
|
|
4991
|
+
postTown?: string | null | undefined;
|
|
4992
|
+
areaCovered?: string | null | undefined;
|
|
4993
|
+
} | null | undefined;
|
|
4994
|
+
currentCollaboration?: {
|
|
4995
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4985
4996
|
createdAt: string;
|
|
4986
4997
|
updatedAt: string;
|
|
4987
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4988
4998
|
id: string;
|
|
4989
4999
|
userId: string;
|
|
4990
5000
|
company?: {
|
|
@@ -5004,24 +5014,18 @@ export declare const bookingsContractRouter: {
|
|
|
5004
5014
|
newCollaboration?: {
|
|
5005
5015
|
id: string;
|
|
5006
5016
|
} | null | undefined;
|
|
5007
|
-
} | null;
|
|
5008
|
-
workHours?: number | null | undefined;
|
|
5009
|
-
location?: {
|
|
5010
|
-
address?: string | null | undefined;
|
|
5011
|
-
postcode?: string | null | undefined;
|
|
5012
|
-
county?: string | null | undefined;
|
|
5013
|
-
adminDistrict?: string | null | undefined;
|
|
5014
|
-
builtUpArea?: string | null | undefined;
|
|
5015
|
-
postTown?: string | null | undefined;
|
|
5016
|
-
areaCovered?: string | null | undefined;
|
|
5017
5017
|
} | null | undefined;
|
|
5018
5018
|
};
|
|
5019
5019
|
endDate?: string | null | undefined;
|
|
5020
5020
|
}, {
|
|
5021
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
5021
5022
|
createdAt: string | Date;
|
|
5022
5023
|
updatedAt: string | Date;
|
|
5023
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
5024
5024
|
id: string;
|
|
5025
|
+
pay: {
|
|
5026
|
+
rate: number;
|
|
5027
|
+
unit: "DAILY" | "HOURLY";
|
|
5028
|
+
};
|
|
5025
5029
|
user: {
|
|
5026
5030
|
createdAt: string | Date;
|
|
5027
5031
|
updatedAt: string | Date;
|
|
@@ -5033,10 +5037,6 @@ export declare const bookingsContractRouter: {
|
|
|
5033
5037
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
5034
5038
|
};
|
|
5035
5039
|
userId: string;
|
|
5036
|
-
pay: {
|
|
5037
|
-
rate: number;
|
|
5038
|
-
unit: "DAILY" | "HOURLY";
|
|
5039
|
-
};
|
|
5040
5040
|
startDate: string | Date;
|
|
5041
5041
|
worker: {
|
|
5042
5042
|
createdAt: string | Date;
|
|
@@ -5047,7 +5047,6 @@ export declare const bookingsContractRouter: {
|
|
|
5047
5047
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
5048
5048
|
hasTools: boolean;
|
|
5049
5049
|
hasPpe: boolean;
|
|
5050
|
-
email?: string | null | undefined;
|
|
5051
5050
|
location?: {
|
|
5052
5051
|
address?: string | null | undefined;
|
|
5053
5052
|
postcode?: string | null | undefined;
|
|
@@ -5057,10 +5056,11 @@ export declare const bookingsContractRouter: {
|
|
|
5057
5056
|
postTown?: string | null | undefined;
|
|
5058
5057
|
areaCovered?: string | null | undefined;
|
|
5059
5058
|
} | null | undefined;
|
|
5059
|
+
email?: string | null | undefined;
|
|
5060
5060
|
phoneNumbers?: {
|
|
5061
5061
|
phoneNumber: string;
|
|
5062
|
-
id?: string | undefined;
|
|
5063
5062
|
description?: string | undefined;
|
|
5063
|
+
id?: string | undefined;
|
|
5064
5064
|
isPrimary?: boolean | undefined;
|
|
5065
5065
|
}[] | undefined;
|
|
5066
5066
|
nino?: string | null | undefined;
|
|
@@ -5097,12 +5097,12 @@ export declare const bookingsContractRouter: {
|
|
|
5097
5097
|
distanceKm?: number | null | undefined;
|
|
5098
5098
|
};
|
|
5099
5099
|
job: {
|
|
5100
|
+
description: string;
|
|
5101
|
+
numberOfPositions: number;
|
|
5102
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5100
5103
|
createdAt: string | Date;
|
|
5101
5104
|
updatedAt: string | Date;
|
|
5102
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5103
5105
|
id: string;
|
|
5104
|
-
description: string;
|
|
5105
|
-
numberOfPositions: number;
|
|
5106
5106
|
pay: {
|
|
5107
5107
|
rateUnit: "DAILY" | "HOURLY";
|
|
5108
5108
|
rate: number;
|
|
@@ -5110,10 +5110,25 @@ export declare const bookingsContractRouter: {
|
|
|
5110
5110
|
rateMax?: number | null | undefined;
|
|
5111
5111
|
};
|
|
5112
5112
|
tradeId: string;
|
|
5113
|
-
|
|
5113
|
+
workHours?: number | null | undefined;
|
|
5114
|
+
location?: {
|
|
5115
|
+
address?: string | null | undefined;
|
|
5116
|
+
postcode?: string | null | undefined;
|
|
5117
|
+
county?: string | null | undefined;
|
|
5118
|
+
adminDistrict?: string | null | undefined;
|
|
5119
|
+
builtUpArea?: string | null | undefined;
|
|
5120
|
+
postTown?: string | null | undefined;
|
|
5121
|
+
areaCovered?: string | null | undefined;
|
|
5122
|
+
} | null | undefined;
|
|
5123
|
+
jobQualifications?: {
|
|
5124
|
+
id: string;
|
|
5125
|
+
qualificationId: string;
|
|
5126
|
+
qualificationTypeId?: string | null | undefined;
|
|
5127
|
+
}[] | undefined;
|
|
5128
|
+
currentCollaboration?: {
|
|
5129
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5114
5130
|
createdAt: string | Date;
|
|
5115
5131
|
updatedAt: string | Date;
|
|
5116
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5117
5132
|
id: string;
|
|
5118
5133
|
userId: string;
|
|
5119
5134
|
company?: {
|
|
@@ -5133,22 +5148,7 @@ export declare const bookingsContractRouter: {
|
|
|
5133
5148
|
newCollaboration?: {
|
|
5134
5149
|
id: string;
|
|
5135
5150
|
} | null | undefined;
|
|
5136
|
-
} | null;
|
|
5137
|
-
workHours?: number | null | undefined;
|
|
5138
|
-
location?: {
|
|
5139
|
-
address?: string | null | undefined;
|
|
5140
|
-
postcode?: string | null | undefined;
|
|
5141
|
-
county?: string | null | undefined;
|
|
5142
|
-
adminDistrict?: string | null | undefined;
|
|
5143
|
-
builtUpArea?: string | null | undefined;
|
|
5144
|
-
postTown?: string | null | undefined;
|
|
5145
|
-
areaCovered?: string | null | undefined;
|
|
5146
5151
|
} | null | undefined;
|
|
5147
|
-
jobQualifications?: {
|
|
5148
|
-
id: string;
|
|
5149
|
-
qualificationId: string;
|
|
5150
|
-
qualificationTypeId?: string | null | undefined;
|
|
5151
|
-
}[] | undefined;
|
|
5152
5152
|
};
|
|
5153
5153
|
endDate?: string | Date | null | undefined;
|
|
5154
5154
|
}>, "many">;
|
|
@@ -5160,10 +5160,14 @@ export declare const bookingsContractRouter: {
|
|
|
5160
5160
|
}, "strip", z.ZodTypeAny, {
|
|
5161
5161
|
limit: number;
|
|
5162
5162
|
items: {
|
|
5163
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
5163
5164
|
createdAt: string;
|
|
5164
5165
|
updatedAt: string;
|
|
5165
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
5166
5166
|
id: string;
|
|
5167
|
+
pay: {
|
|
5168
|
+
rate: number;
|
|
5169
|
+
unit: "DAILY" | "HOURLY";
|
|
5170
|
+
};
|
|
5167
5171
|
user: {
|
|
5168
5172
|
createdAt: string;
|
|
5169
5173
|
updatedAt: string;
|
|
@@ -5175,10 +5179,6 @@ export declare const bookingsContractRouter: {
|
|
|
5175
5179
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
5176
5180
|
};
|
|
5177
5181
|
userId: string;
|
|
5178
|
-
pay: {
|
|
5179
|
-
rate: number;
|
|
5180
|
-
unit: "DAILY" | "HOURLY";
|
|
5181
|
-
};
|
|
5182
5182
|
startDate: string;
|
|
5183
5183
|
worker: {
|
|
5184
5184
|
createdAt: string;
|
|
@@ -5189,13 +5189,12 @@ export declare const bookingsContractRouter: {
|
|
|
5189
5189
|
phoneNumbers: {
|
|
5190
5190
|
phoneNumber: string;
|
|
5191
5191
|
isPrimary: boolean;
|
|
5192
|
-
id?: string | undefined;
|
|
5193
5192
|
description?: string | undefined;
|
|
5193
|
+
id?: string | undefined;
|
|
5194
5194
|
}[];
|
|
5195
5195
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
5196
5196
|
hasTools: boolean;
|
|
5197
5197
|
hasPpe: boolean;
|
|
5198
|
-
email?: string | null | undefined;
|
|
5199
5198
|
location?: {
|
|
5200
5199
|
address?: string | null | undefined;
|
|
5201
5200
|
postcode?: string | null | undefined;
|
|
@@ -5205,6 +5204,7 @@ export declare const bookingsContractRouter: {
|
|
|
5205
5204
|
postTown?: string | null | undefined;
|
|
5206
5205
|
areaCovered?: string | null | undefined;
|
|
5207
5206
|
} | null | undefined;
|
|
5207
|
+
email?: string | null | undefined;
|
|
5208
5208
|
nino?: string | null | undefined;
|
|
5209
5209
|
dateOfBirth?: string | null | undefined;
|
|
5210
5210
|
bio?: string | null | undefined;
|
|
@@ -5239,12 +5239,12 @@ export declare const bookingsContractRouter: {
|
|
|
5239
5239
|
distanceKm?: number | null | undefined;
|
|
5240
5240
|
};
|
|
5241
5241
|
job: {
|
|
5242
|
+
description: string;
|
|
5243
|
+
numberOfPositions: number;
|
|
5244
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5242
5245
|
createdAt: string;
|
|
5243
5246
|
updatedAt: string;
|
|
5244
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5245
5247
|
id: string;
|
|
5246
|
-
description: string;
|
|
5247
|
-
numberOfPositions: number;
|
|
5248
5248
|
pay: {
|
|
5249
5249
|
rateUnit: "DAILY" | "HOURLY";
|
|
5250
5250
|
rate: number;
|
|
@@ -5257,10 +5257,20 @@ export declare const bookingsContractRouter: {
|
|
|
5257
5257
|
qualificationId: string;
|
|
5258
5258
|
qualificationTypeId?: string | null | undefined;
|
|
5259
5259
|
}[];
|
|
5260
|
-
|
|
5260
|
+
workHours?: number | null | undefined;
|
|
5261
|
+
location?: {
|
|
5262
|
+
address?: string | null | undefined;
|
|
5263
|
+
postcode?: string | null | undefined;
|
|
5264
|
+
county?: string | null | undefined;
|
|
5265
|
+
adminDistrict?: string | null | undefined;
|
|
5266
|
+
builtUpArea?: string | null | undefined;
|
|
5267
|
+
postTown?: string | null | undefined;
|
|
5268
|
+
areaCovered?: string | null | undefined;
|
|
5269
|
+
} | null | undefined;
|
|
5270
|
+
currentCollaboration?: {
|
|
5271
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5261
5272
|
createdAt: string;
|
|
5262
5273
|
updatedAt: string;
|
|
5263
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5264
5274
|
id: string;
|
|
5265
5275
|
userId: string;
|
|
5266
5276
|
company?: {
|
|
@@ -5280,16 +5290,6 @@ export declare const bookingsContractRouter: {
|
|
|
5280
5290
|
newCollaboration?: {
|
|
5281
5291
|
id: string;
|
|
5282
5292
|
} | null | undefined;
|
|
5283
|
-
} | null;
|
|
5284
|
-
workHours?: number | null | undefined;
|
|
5285
|
-
location?: {
|
|
5286
|
-
address?: string | null | undefined;
|
|
5287
|
-
postcode?: string | null | undefined;
|
|
5288
|
-
county?: string | null | undefined;
|
|
5289
|
-
adminDistrict?: string | null | undefined;
|
|
5290
|
-
builtUpArea?: string | null | undefined;
|
|
5291
|
-
postTown?: string | null | undefined;
|
|
5292
|
-
areaCovered?: string | null | undefined;
|
|
5293
5293
|
} | null | undefined;
|
|
5294
5294
|
};
|
|
5295
5295
|
endDate?: string | null | undefined;
|
|
@@ -5301,10 +5301,14 @@ export declare const bookingsContractRouter: {
|
|
|
5301
5301
|
}, {
|
|
5302
5302
|
limit: number;
|
|
5303
5303
|
items: {
|
|
5304
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
5304
5305
|
createdAt: string | Date;
|
|
5305
5306
|
updatedAt: string | Date;
|
|
5306
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
5307
5307
|
id: string;
|
|
5308
|
+
pay: {
|
|
5309
|
+
rate: number;
|
|
5310
|
+
unit: "DAILY" | "HOURLY";
|
|
5311
|
+
};
|
|
5308
5312
|
user: {
|
|
5309
5313
|
createdAt: string | Date;
|
|
5310
5314
|
updatedAt: string | Date;
|
|
@@ -5316,10 +5320,6 @@ export declare const bookingsContractRouter: {
|
|
|
5316
5320
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
5317
5321
|
};
|
|
5318
5322
|
userId: string;
|
|
5319
|
-
pay: {
|
|
5320
|
-
rate: number;
|
|
5321
|
-
unit: "DAILY" | "HOURLY";
|
|
5322
|
-
};
|
|
5323
5323
|
startDate: string | Date;
|
|
5324
5324
|
worker: {
|
|
5325
5325
|
createdAt: string | Date;
|
|
@@ -5330,7 +5330,6 @@ export declare const bookingsContractRouter: {
|
|
|
5330
5330
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
5331
5331
|
hasTools: boolean;
|
|
5332
5332
|
hasPpe: boolean;
|
|
5333
|
-
email?: string | null | undefined;
|
|
5334
5333
|
location?: {
|
|
5335
5334
|
address?: string | null | undefined;
|
|
5336
5335
|
postcode?: string | null | undefined;
|
|
@@ -5340,10 +5339,11 @@ export declare const bookingsContractRouter: {
|
|
|
5340
5339
|
postTown?: string | null | undefined;
|
|
5341
5340
|
areaCovered?: string | null | undefined;
|
|
5342
5341
|
} | null | undefined;
|
|
5342
|
+
email?: string | null | undefined;
|
|
5343
5343
|
phoneNumbers?: {
|
|
5344
5344
|
phoneNumber: string;
|
|
5345
|
-
id?: string | undefined;
|
|
5346
5345
|
description?: string | undefined;
|
|
5346
|
+
id?: string | undefined;
|
|
5347
5347
|
isPrimary?: boolean | undefined;
|
|
5348
5348
|
}[] | undefined;
|
|
5349
5349
|
nino?: string | null | undefined;
|
|
@@ -5380,12 +5380,12 @@ export declare const bookingsContractRouter: {
|
|
|
5380
5380
|
distanceKm?: number | null | undefined;
|
|
5381
5381
|
};
|
|
5382
5382
|
job: {
|
|
5383
|
+
description: string;
|
|
5384
|
+
numberOfPositions: number;
|
|
5385
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5383
5386
|
createdAt: string | Date;
|
|
5384
5387
|
updatedAt: string | Date;
|
|
5385
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5386
5388
|
id: string;
|
|
5387
|
-
description: string;
|
|
5388
|
-
numberOfPositions: number;
|
|
5389
5389
|
pay: {
|
|
5390
5390
|
rateUnit: "DAILY" | "HOURLY";
|
|
5391
5391
|
rate: number;
|
|
@@ -5393,10 +5393,25 @@ export declare const bookingsContractRouter: {
|
|
|
5393
5393
|
rateMax?: number | null | undefined;
|
|
5394
5394
|
};
|
|
5395
5395
|
tradeId: string;
|
|
5396
|
-
|
|
5396
|
+
workHours?: number | null | undefined;
|
|
5397
|
+
location?: {
|
|
5398
|
+
address?: string | null | undefined;
|
|
5399
|
+
postcode?: string | null | undefined;
|
|
5400
|
+
county?: string | null | undefined;
|
|
5401
|
+
adminDistrict?: string | null | undefined;
|
|
5402
|
+
builtUpArea?: string | null | undefined;
|
|
5403
|
+
postTown?: string | null | undefined;
|
|
5404
|
+
areaCovered?: string | null | undefined;
|
|
5405
|
+
} | null | undefined;
|
|
5406
|
+
jobQualifications?: {
|
|
5407
|
+
id: string;
|
|
5408
|
+
qualificationId: string;
|
|
5409
|
+
qualificationTypeId?: string | null | undefined;
|
|
5410
|
+
}[] | undefined;
|
|
5411
|
+
currentCollaboration?: {
|
|
5412
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5397
5413
|
createdAt: string | Date;
|
|
5398
5414
|
updatedAt: string | Date;
|
|
5399
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5400
5415
|
id: string;
|
|
5401
5416
|
userId: string;
|
|
5402
5417
|
company?: {
|
|
@@ -5416,22 +5431,7 @@ export declare const bookingsContractRouter: {
|
|
|
5416
5431
|
newCollaboration?: {
|
|
5417
5432
|
id: string;
|
|
5418
5433
|
} | null | undefined;
|
|
5419
|
-
} | null;
|
|
5420
|
-
workHours?: number | null | undefined;
|
|
5421
|
-
location?: {
|
|
5422
|
-
address?: string | null | undefined;
|
|
5423
|
-
postcode?: string | null | undefined;
|
|
5424
|
-
county?: string | null | undefined;
|
|
5425
|
-
adminDistrict?: string | null | undefined;
|
|
5426
|
-
builtUpArea?: string | null | undefined;
|
|
5427
|
-
postTown?: string | null | undefined;
|
|
5428
|
-
areaCovered?: string | null | undefined;
|
|
5429
5434
|
} | null | undefined;
|
|
5430
|
-
jobQualifications?: {
|
|
5431
|
-
id: string;
|
|
5432
|
-
qualificationId: string;
|
|
5433
|
-
qualificationTypeId?: string | null | undefined;
|
|
5434
|
-
}[] | undefined;
|
|
5435
5435
|
};
|
|
5436
5436
|
endDate?: string | Date | null | undefined;
|
|
5437
5437
|
}[];
|
|
@@ -5578,12 +5578,12 @@ export declare const bookingsContractRouter: {
|
|
|
5578
5578
|
}, "strip", z.ZodTypeAny, {
|
|
5579
5579
|
phoneNumber: string;
|
|
5580
5580
|
isPrimary: boolean;
|
|
5581
|
-
id?: string | undefined;
|
|
5582
5581
|
description?: string | undefined;
|
|
5582
|
+
id?: string | undefined;
|
|
5583
5583
|
}, {
|
|
5584
5584
|
phoneNumber: string;
|
|
5585
|
-
id?: string | undefined;
|
|
5586
5585
|
description?: string | undefined;
|
|
5586
|
+
id?: string | undefined;
|
|
5587
5587
|
isPrimary?: boolean | undefined;
|
|
5588
5588
|
}>, "many">>>;
|
|
5589
5589
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5699,13 +5699,12 @@ export declare const bookingsContractRouter: {
|
|
|
5699
5699
|
phoneNumbers: {
|
|
5700
5700
|
phoneNumber: string;
|
|
5701
5701
|
isPrimary: boolean;
|
|
5702
|
-
id?: string | undefined;
|
|
5703
5702
|
description?: string | undefined;
|
|
5703
|
+
id?: string | undefined;
|
|
5704
5704
|
}[];
|
|
5705
5705
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
5706
5706
|
hasTools: boolean;
|
|
5707
5707
|
hasPpe: boolean;
|
|
5708
|
-
email?: string | null | undefined;
|
|
5709
5708
|
location?: {
|
|
5710
5709
|
address?: string | null | undefined;
|
|
5711
5710
|
postcode?: string | null | undefined;
|
|
@@ -5715,6 +5714,7 @@ export declare const bookingsContractRouter: {
|
|
|
5715
5714
|
postTown?: string | null | undefined;
|
|
5716
5715
|
areaCovered?: string | null | undefined;
|
|
5717
5716
|
} | null | undefined;
|
|
5717
|
+
email?: string | null | undefined;
|
|
5718
5718
|
nino?: string | null | undefined;
|
|
5719
5719
|
dateOfBirth?: string | null | undefined;
|
|
5720
5720
|
bio?: string | null | undefined;
|
|
@@ -5756,7 +5756,6 @@ export declare const bookingsContractRouter: {
|
|
|
5756
5756
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
5757
5757
|
hasTools: boolean;
|
|
5758
5758
|
hasPpe: boolean;
|
|
5759
|
-
email?: string | null | undefined;
|
|
5760
5759
|
location?: {
|
|
5761
5760
|
address?: string | null | undefined;
|
|
5762
5761
|
postcode?: string | null | undefined;
|
|
@@ -5766,10 +5765,11 @@ export declare const bookingsContractRouter: {
|
|
|
5766
5765
|
postTown?: string | null | undefined;
|
|
5767
5766
|
areaCovered?: string | null | undefined;
|
|
5768
5767
|
} | null | undefined;
|
|
5768
|
+
email?: string | null | undefined;
|
|
5769
5769
|
phoneNumbers?: {
|
|
5770
5770
|
phoneNumber: string;
|
|
5771
|
-
id?: string | undefined;
|
|
5772
5771
|
description?: string | undefined;
|
|
5772
|
+
id?: string | undefined;
|
|
5773
5773
|
isPrimary?: boolean | undefined;
|
|
5774
5774
|
}[] | undefined;
|
|
5775
5775
|
nino?: string | null | undefined;
|
|
@@ -5904,7 +5904,7 @@ export declare const bookingsContractRouter: {
|
|
|
5904
5904
|
qualificationId: string;
|
|
5905
5905
|
qualificationTypeId?: string | null | undefined;
|
|
5906
5906
|
}>, "many">>>;
|
|
5907
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
5907
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5908
5908
|
id: z.ZodString;
|
|
5909
5909
|
company: z.ZodOptional<z.ZodObject<{
|
|
5910
5910
|
id: z.ZodString;
|
|
@@ -5954,9 +5954,9 @@ export declare const bookingsContractRouter: {
|
|
|
5954
5954
|
id: string;
|
|
5955
5955
|
}>>>;
|
|
5956
5956
|
}, "strip", z.ZodTypeAny, {
|
|
5957
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5957
5958
|
createdAt: string;
|
|
5958
5959
|
updatedAt: string;
|
|
5959
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5960
5960
|
id: string;
|
|
5961
5961
|
userId: string;
|
|
5962
5962
|
company?: {
|
|
@@ -5977,9 +5977,9 @@ export declare const bookingsContractRouter: {
|
|
|
5977
5977
|
id: string;
|
|
5978
5978
|
} | null | undefined;
|
|
5979
5979
|
}, {
|
|
5980
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5980
5981
|
createdAt: string | Date;
|
|
5981
5982
|
updatedAt: string | Date;
|
|
5982
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5983
5983
|
id: string;
|
|
5984
5984
|
userId: string;
|
|
5985
5985
|
company?: {
|
|
@@ -5999,16 +5999,16 @@ export declare const bookingsContractRouter: {
|
|
|
5999
5999
|
newCollaboration?: {
|
|
6000
6000
|
id: string;
|
|
6001
6001
|
} | null | undefined;
|
|
6002
|
-
}
|
|
6002
|
+
}>>>;
|
|
6003
6003
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6004
6004
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6005
6005
|
}, "strip", z.ZodTypeAny, {
|
|
6006
|
+
description: string;
|
|
6007
|
+
numberOfPositions: number;
|
|
6008
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6006
6009
|
createdAt: string;
|
|
6007
6010
|
updatedAt: string;
|
|
6008
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6009
6011
|
id: string;
|
|
6010
|
-
description: string;
|
|
6011
|
-
numberOfPositions: number;
|
|
6012
6012
|
pay: {
|
|
6013
6013
|
rateUnit: "DAILY" | "HOURLY";
|
|
6014
6014
|
rate: number;
|
|
@@ -6021,10 +6021,20 @@ export declare const bookingsContractRouter: {
|
|
|
6021
6021
|
qualificationId: string;
|
|
6022
6022
|
qualificationTypeId?: string | null | undefined;
|
|
6023
6023
|
}[];
|
|
6024
|
-
|
|
6024
|
+
workHours?: number | null | undefined;
|
|
6025
|
+
location?: {
|
|
6026
|
+
address?: string | null | undefined;
|
|
6027
|
+
postcode?: string | null | undefined;
|
|
6028
|
+
county?: string | null | undefined;
|
|
6029
|
+
adminDistrict?: string | null | undefined;
|
|
6030
|
+
builtUpArea?: string | null | undefined;
|
|
6031
|
+
postTown?: string | null | undefined;
|
|
6032
|
+
areaCovered?: string | null | undefined;
|
|
6033
|
+
} | null | undefined;
|
|
6034
|
+
currentCollaboration?: {
|
|
6035
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6025
6036
|
createdAt: string;
|
|
6026
6037
|
updatedAt: string;
|
|
6027
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6028
6038
|
id: string;
|
|
6029
6039
|
userId: string;
|
|
6030
6040
|
company?: {
|
|
@@ -6044,24 +6054,14 @@ export declare const bookingsContractRouter: {
|
|
|
6044
6054
|
newCollaboration?: {
|
|
6045
6055
|
id: string;
|
|
6046
6056
|
} | null | undefined;
|
|
6047
|
-
} | null;
|
|
6048
|
-
workHours?: number | null | undefined;
|
|
6049
|
-
location?: {
|
|
6050
|
-
address?: string | null | undefined;
|
|
6051
|
-
postcode?: string | null | undefined;
|
|
6052
|
-
county?: string | null | undefined;
|
|
6053
|
-
adminDistrict?: string | null | undefined;
|
|
6054
|
-
builtUpArea?: string | null | undefined;
|
|
6055
|
-
postTown?: string | null | undefined;
|
|
6056
|
-
areaCovered?: string | null | undefined;
|
|
6057
6057
|
} | null | undefined;
|
|
6058
6058
|
}, {
|
|
6059
|
+
description: string;
|
|
6060
|
+
numberOfPositions: number;
|
|
6061
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6059
6062
|
createdAt: string | Date;
|
|
6060
6063
|
updatedAt: string | Date;
|
|
6061
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6062
6064
|
id: string;
|
|
6063
|
-
description: string;
|
|
6064
|
-
numberOfPositions: number;
|
|
6065
6065
|
pay: {
|
|
6066
6066
|
rateUnit: "DAILY" | "HOURLY";
|
|
6067
6067
|
rate: number;
|
|
@@ -6069,10 +6069,25 @@ export declare const bookingsContractRouter: {
|
|
|
6069
6069
|
rateMax?: number | null | undefined;
|
|
6070
6070
|
};
|
|
6071
6071
|
tradeId: string;
|
|
6072
|
-
|
|
6072
|
+
workHours?: number | null | undefined;
|
|
6073
|
+
location?: {
|
|
6074
|
+
address?: string | null | undefined;
|
|
6075
|
+
postcode?: string | null | undefined;
|
|
6076
|
+
county?: string | null | undefined;
|
|
6077
|
+
adminDistrict?: string | null | undefined;
|
|
6078
|
+
builtUpArea?: string | null | undefined;
|
|
6079
|
+
postTown?: string | null | undefined;
|
|
6080
|
+
areaCovered?: string | null | undefined;
|
|
6081
|
+
} | null | undefined;
|
|
6082
|
+
jobQualifications?: {
|
|
6083
|
+
id: string;
|
|
6084
|
+
qualificationId: string;
|
|
6085
|
+
qualificationTypeId?: string | null | undefined;
|
|
6086
|
+
}[] | undefined;
|
|
6087
|
+
currentCollaboration?: {
|
|
6088
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6073
6089
|
createdAt: string | Date;
|
|
6074
6090
|
updatedAt: string | Date;
|
|
6075
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6076
6091
|
id: string;
|
|
6077
6092
|
userId: string;
|
|
6078
6093
|
company?: {
|
|
@@ -6092,31 +6107,20 @@ export declare const bookingsContractRouter: {
|
|
|
6092
6107
|
newCollaboration?: {
|
|
6093
6108
|
id: string;
|
|
6094
6109
|
} | null | undefined;
|
|
6095
|
-
} | null;
|
|
6096
|
-
workHours?: number | null | undefined;
|
|
6097
|
-
location?: {
|
|
6098
|
-
address?: string | null | undefined;
|
|
6099
|
-
postcode?: string | null | undefined;
|
|
6100
|
-
county?: string | null | undefined;
|
|
6101
|
-
adminDistrict?: string | null | undefined;
|
|
6102
|
-
builtUpArea?: string | null | undefined;
|
|
6103
|
-
postTown?: string | null | undefined;
|
|
6104
|
-
areaCovered?: string | null | undefined;
|
|
6105
6110
|
} | null | undefined;
|
|
6106
|
-
jobQualifications?: {
|
|
6107
|
-
id: string;
|
|
6108
|
-
qualificationId: string;
|
|
6109
|
-
qualificationTypeId?: string | null | undefined;
|
|
6110
|
-
}[] | undefined;
|
|
6111
6111
|
}>;
|
|
6112
6112
|
userId: z.ZodString;
|
|
6113
6113
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6114
6114
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6115
6115
|
}, "strip", z.ZodTypeAny, {
|
|
6116
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
6116
6117
|
createdAt: string;
|
|
6117
6118
|
updatedAt: string;
|
|
6118
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
6119
6119
|
id: string;
|
|
6120
|
+
pay: {
|
|
6121
|
+
rate: number;
|
|
6122
|
+
unit: "DAILY" | "HOURLY";
|
|
6123
|
+
};
|
|
6120
6124
|
user: {
|
|
6121
6125
|
createdAt: string;
|
|
6122
6126
|
updatedAt: string;
|
|
@@ -6127,11 +6131,7 @@ export declare const bookingsContractRouter: {
|
|
|
6127
6131
|
phone: string;
|
|
6128
6132
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
6129
6133
|
};
|
|
6130
|
-
userId: string;
|
|
6131
|
-
pay: {
|
|
6132
|
-
rate: number;
|
|
6133
|
-
unit: "DAILY" | "HOURLY";
|
|
6134
|
-
};
|
|
6134
|
+
userId: string;
|
|
6135
6135
|
startDate: string;
|
|
6136
6136
|
worker: {
|
|
6137
6137
|
createdAt: string;
|
|
@@ -6142,13 +6142,12 @@ export declare const bookingsContractRouter: {
|
|
|
6142
6142
|
phoneNumbers: {
|
|
6143
6143
|
phoneNumber: string;
|
|
6144
6144
|
isPrimary: boolean;
|
|
6145
|
-
id?: string | undefined;
|
|
6146
6145
|
description?: string | undefined;
|
|
6146
|
+
id?: string | undefined;
|
|
6147
6147
|
}[];
|
|
6148
6148
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
6149
6149
|
hasTools: boolean;
|
|
6150
6150
|
hasPpe: boolean;
|
|
6151
|
-
email?: string | null | undefined;
|
|
6152
6151
|
location?: {
|
|
6153
6152
|
address?: string | null | undefined;
|
|
6154
6153
|
postcode?: string | null | undefined;
|
|
@@ -6158,6 +6157,7 @@ export declare const bookingsContractRouter: {
|
|
|
6158
6157
|
postTown?: string | null | undefined;
|
|
6159
6158
|
areaCovered?: string | null | undefined;
|
|
6160
6159
|
} | null | undefined;
|
|
6160
|
+
email?: string | null | undefined;
|
|
6161
6161
|
nino?: string | null | undefined;
|
|
6162
6162
|
dateOfBirth?: string | null | undefined;
|
|
6163
6163
|
bio?: string | null | undefined;
|
|
@@ -6192,12 +6192,12 @@ export declare const bookingsContractRouter: {
|
|
|
6192
6192
|
distanceKm?: number | null | undefined;
|
|
6193
6193
|
};
|
|
6194
6194
|
job: {
|
|
6195
|
+
description: string;
|
|
6196
|
+
numberOfPositions: number;
|
|
6197
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6195
6198
|
createdAt: string;
|
|
6196
6199
|
updatedAt: string;
|
|
6197
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6198
6200
|
id: string;
|
|
6199
|
-
description: string;
|
|
6200
|
-
numberOfPositions: number;
|
|
6201
6201
|
pay: {
|
|
6202
6202
|
rateUnit: "DAILY" | "HOURLY";
|
|
6203
6203
|
rate: number;
|
|
@@ -6210,10 +6210,20 @@ export declare const bookingsContractRouter: {
|
|
|
6210
6210
|
qualificationId: string;
|
|
6211
6211
|
qualificationTypeId?: string | null | undefined;
|
|
6212
6212
|
}[];
|
|
6213
|
-
|
|
6213
|
+
workHours?: number | null | undefined;
|
|
6214
|
+
location?: {
|
|
6215
|
+
address?: string | null | undefined;
|
|
6216
|
+
postcode?: string | null | undefined;
|
|
6217
|
+
county?: string | null | undefined;
|
|
6218
|
+
adminDistrict?: string | null | undefined;
|
|
6219
|
+
builtUpArea?: string | null | undefined;
|
|
6220
|
+
postTown?: string | null | undefined;
|
|
6221
|
+
areaCovered?: string | null | undefined;
|
|
6222
|
+
} | null | undefined;
|
|
6223
|
+
currentCollaboration?: {
|
|
6224
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6214
6225
|
createdAt: string;
|
|
6215
6226
|
updatedAt: string;
|
|
6216
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6217
6227
|
id: string;
|
|
6218
6228
|
userId: string;
|
|
6219
6229
|
company?: {
|
|
@@ -6233,24 +6243,18 @@ export declare const bookingsContractRouter: {
|
|
|
6233
6243
|
newCollaboration?: {
|
|
6234
6244
|
id: string;
|
|
6235
6245
|
} | null | undefined;
|
|
6236
|
-
} | null;
|
|
6237
|
-
workHours?: number | null | undefined;
|
|
6238
|
-
location?: {
|
|
6239
|
-
address?: string | null | undefined;
|
|
6240
|
-
postcode?: string | null | undefined;
|
|
6241
|
-
county?: string | null | undefined;
|
|
6242
|
-
adminDistrict?: string | null | undefined;
|
|
6243
|
-
builtUpArea?: string | null | undefined;
|
|
6244
|
-
postTown?: string | null | undefined;
|
|
6245
|
-
areaCovered?: string | null | undefined;
|
|
6246
6246
|
} | null | undefined;
|
|
6247
6247
|
};
|
|
6248
6248
|
endDate?: string | null | undefined;
|
|
6249
6249
|
}, {
|
|
6250
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
6250
6251
|
createdAt: string | Date;
|
|
6251
6252
|
updatedAt: string | Date;
|
|
6252
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
6253
6253
|
id: string;
|
|
6254
|
+
pay: {
|
|
6255
|
+
rate: number;
|
|
6256
|
+
unit: "DAILY" | "HOURLY";
|
|
6257
|
+
};
|
|
6254
6258
|
user: {
|
|
6255
6259
|
createdAt: string | Date;
|
|
6256
6260
|
updatedAt: string | Date;
|
|
@@ -6262,10 +6266,6 @@ export declare const bookingsContractRouter: {
|
|
|
6262
6266
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
6263
6267
|
};
|
|
6264
6268
|
userId: string;
|
|
6265
|
-
pay: {
|
|
6266
|
-
rate: number;
|
|
6267
|
-
unit: "DAILY" | "HOURLY";
|
|
6268
|
-
};
|
|
6269
6269
|
startDate: string | Date;
|
|
6270
6270
|
worker: {
|
|
6271
6271
|
createdAt: string | Date;
|
|
@@ -6276,7 +6276,6 @@ export declare const bookingsContractRouter: {
|
|
|
6276
6276
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
6277
6277
|
hasTools: boolean;
|
|
6278
6278
|
hasPpe: boolean;
|
|
6279
|
-
email?: string | null | undefined;
|
|
6280
6279
|
location?: {
|
|
6281
6280
|
address?: string | null | undefined;
|
|
6282
6281
|
postcode?: string | null | undefined;
|
|
@@ -6286,10 +6285,11 @@ export declare const bookingsContractRouter: {
|
|
|
6286
6285
|
postTown?: string | null | undefined;
|
|
6287
6286
|
areaCovered?: string | null | undefined;
|
|
6288
6287
|
} | null | undefined;
|
|
6288
|
+
email?: string | null | undefined;
|
|
6289
6289
|
phoneNumbers?: {
|
|
6290
6290
|
phoneNumber: string;
|
|
6291
|
-
id?: string | undefined;
|
|
6292
6291
|
description?: string | undefined;
|
|
6292
|
+
id?: string | undefined;
|
|
6293
6293
|
isPrimary?: boolean | undefined;
|
|
6294
6294
|
}[] | undefined;
|
|
6295
6295
|
nino?: string | null | undefined;
|
|
@@ -6326,12 +6326,12 @@ export declare const bookingsContractRouter: {
|
|
|
6326
6326
|
distanceKm?: number | null | undefined;
|
|
6327
6327
|
};
|
|
6328
6328
|
job: {
|
|
6329
|
+
description: string;
|
|
6330
|
+
numberOfPositions: number;
|
|
6331
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6329
6332
|
createdAt: string | Date;
|
|
6330
6333
|
updatedAt: string | Date;
|
|
6331
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6332
6334
|
id: string;
|
|
6333
|
-
description: string;
|
|
6334
|
-
numberOfPositions: number;
|
|
6335
6335
|
pay: {
|
|
6336
6336
|
rateUnit: "DAILY" | "HOURLY";
|
|
6337
6337
|
rate: number;
|
|
@@ -6339,10 +6339,25 @@ export declare const bookingsContractRouter: {
|
|
|
6339
6339
|
rateMax?: number | null | undefined;
|
|
6340
6340
|
};
|
|
6341
6341
|
tradeId: string;
|
|
6342
|
-
|
|
6342
|
+
workHours?: number | null | undefined;
|
|
6343
|
+
location?: {
|
|
6344
|
+
address?: string | null | undefined;
|
|
6345
|
+
postcode?: string | null | undefined;
|
|
6346
|
+
county?: string | null | undefined;
|
|
6347
|
+
adminDistrict?: string | null | undefined;
|
|
6348
|
+
builtUpArea?: string | null | undefined;
|
|
6349
|
+
postTown?: string | null | undefined;
|
|
6350
|
+
areaCovered?: string | null | undefined;
|
|
6351
|
+
} | null | undefined;
|
|
6352
|
+
jobQualifications?: {
|
|
6353
|
+
id: string;
|
|
6354
|
+
qualificationId: string;
|
|
6355
|
+
qualificationTypeId?: string | null | undefined;
|
|
6356
|
+
}[] | undefined;
|
|
6357
|
+
currentCollaboration?: {
|
|
6358
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6343
6359
|
createdAt: string | Date;
|
|
6344
6360
|
updatedAt: string | Date;
|
|
6345
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6346
6361
|
id: string;
|
|
6347
6362
|
userId: string;
|
|
6348
6363
|
company?: {
|
|
@@ -6362,22 +6377,7 @@ export declare const bookingsContractRouter: {
|
|
|
6362
6377
|
newCollaboration?: {
|
|
6363
6378
|
id: string;
|
|
6364
6379
|
} | null | undefined;
|
|
6365
|
-
} | null;
|
|
6366
|
-
workHours?: number | null | undefined;
|
|
6367
|
-
location?: {
|
|
6368
|
-
address?: string | null | undefined;
|
|
6369
|
-
postcode?: string | null | undefined;
|
|
6370
|
-
county?: string | null | undefined;
|
|
6371
|
-
adminDistrict?: string | null | undefined;
|
|
6372
|
-
builtUpArea?: string | null | undefined;
|
|
6373
|
-
postTown?: string | null | undefined;
|
|
6374
|
-
areaCovered?: string | null | undefined;
|
|
6375
6380
|
} | null | undefined;
|
|
6376
|
-
jobQualifications?: {
|
|
6377
|
-
id: string;
|
|
6378
|
-
qualificationId: string;
|
|
6379
|
-
qualificationTypeId?: string | null | undefined;
|
|
6380
|
-
}[] | undefined;
|
|
6381
6381
|
};
|
|
6382
6382
|
endDate?: string | Date | null | undefined;
|
|
6383
6383
|
}>;
|
|
@@ -6557,12 +6557,12 @@ export declare const bookingsContractRouter: {
|
|
|
6557
6557
|
}, "strip", z.ZodTypeAny, {
|
|
6558
6558
|
phoneNumber: string;
|
|
6559
6559
|
isPrimary: boolean;
|
|
6560
|
-
id?: string | undefined;
|
|
6561
6560
|
description?: string | undefined;
|
|
6561
|
+
id?: string | undefined;
|
|
6562
6562
|
}, {
|
|
6563
6563
|
phoneNumber: string;
|
|
6564
|
-
id?: string | undefined;
|
|
6565
6564
|
description?: string | undefined;
|
|
6565
|
+
id?: string | undefined;
|
|
6566
6566
|
isPrimary?: boolean | undefined;
|
|
6567
6567
|
}>, "many">>>;
|
|
6568
6568
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6678,13 +6678,12 @@ export declare const bookingsContractRouter: {
|
|
|
6678
6678
|
phoneNumbers: {
|
|
6679
6679
|
phoneNumber: string;
|
|
6680
6680
|
isPrimary: boolean;
|
|
6681
|
-
id?: string | undefined;
|
|
6682
6681
|
description?: string | undefined;
|
|
6682
|
+
id?: string | undefined;
|
|
6683
6683
|
}[];
|
|
6684
6684
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
6685
6685
|
hasTools: boolean;
|
|
6686
6686
|
hasPpe: boolean;
|
|
6687
|
-
email?: string | null | undefined;
|
|
6688
6687
|
location?: {
|
|
6689
6688
|
address?: string | null | undefined;
|
|
6690
6689
|
postcode?: string | null | undefined;
|
|
@@ -6694,6 +6693,7 @@ export declare const bookingsContractRouter: {
|
|
|
6694
6693
|
postTown?: string | null | undefined;
|
|
6695
6694
|
areaCovered?: string | null | undefined;
|
|
6696
6695
|
} | null | undefined;
|
|
6696
|
+
email?: string | null | undefined;
|
|
6697
6697
|
nino?: string | null | undefined;
|
|
6698
6698
|
dateOfBirth?: string | null | undefined;
|
|
6699
6699
|
bio?: string | null | undefined;
|
|
@@ -6735,7 +6735,6 @@ export declare const bookingsContractRouter: {
|
|
|
6735
6735
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
6736
6736
|
hasTools: boolean;
|
|
6737
6737
|
hasPpe: boolean;
|
|
6738
|
-
email?: string | null | undefined;
|
|
6739
6738
|
location?: {
|
|
6740
6739
|
address?: string | null | undefined;
|
|
6741
6740
|
postcode?: string | null | undefined;
|
|
@@ -6745,10 +6744,11 @@ export declare const bookingsContractRouter: {
|
|
|
6745
6744
|
postTown?: string | null | undefined;
|
|
6746
6745
|
areaCovered?: string | null | undefined;
|
|
6747
6746
|
} | null | undefined;
|
|
6747
|
+
email?: string | null | undefined;
|
|
6748
6748
|
phoneNumbers?: {
|
|
6749
6749
|
phoneNumber: string;
|
|
6750
|
-
id?: string | undefined;
|
|
6751
6750
|
description?: string | undefined;
|
|
6751
|
+
id?: string | undefined;
|
|
6752
6752
|
isPrimary?: boolean | undefined;
|
|
6753
6753
|
}[] | undefined;
|
|
6754
6754
|
nino?: string | null | undefined;
|
|
@@ -6883,7 +6883,7 @@ export declare const bookingsContractRouter: {
|
|
|
6883
6883
|
qualificationId: string;
|
|
6884
6884
|
qualificationTypeId?: string | null | undefined;
|
|
6885
6885
|
}>, "many">>>;
|
|
6886
|
-
currentCollaboration: z.ZodNullable<z.ZodObject<{
|
|
6886
|
+
currentCollaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6887
6887
|
id: z.ZodString;
|
|
6888
6888
|
company: z.ZodOptional<z.ZodObject<{
|
|
6889
6889
|
id: z.ZodString;
|
|
@@ -6933,9 +6933,9 @@ export declare const bookingsContractRouter: {
|
|
|
6933
6933
|
id: string;
|
|
6934
6934
|
}>>>;
|
|
6935
6935
|
}, "strip", z.ZodTypeAny, {
|
|
6936
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6936
6937
|
createdAt: string;
|
|
6937
6938
|
updatedAt: string;
|
|
6938
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6939
6939
|
id: string;
|
|
6940
6940
|
userId: string;
|
|
6941
6941
|
company?: {
|
|
@@ -6956,9 +6956,9 @@ export declare const bookingsContractRouter: {
|
|
|
6956
6956
|
id: string;
|
|
6957
6957
|
} | null | undefined;
|
|
6958
6958
|
}, {
|
|
6959
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6959
6960
|
createdAt: string | Date;
|
|
6960
6961
|
updatedAt: string | Date;
|
|
6961
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6962
6962
|
id: string;
|
|
6963
6963
|
userId: string;
|
|
6964
6964
|
company?: {
|
|
@@ -6978,16 +6978,16 @@ export declare const bookingsContractRouter: {
|
|
|
6978
6978
|
newCollaboration?: {
|
|
6979
6979
|
id: string;
|
|
6980
6980
|
} | null | undefined;
|
|
6981
|
-
}
|
|
6981
|
+
}>>>;
|
|
6982
6982
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6983
6983
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6984
6984
|
}, "strip", z.ZodTypeAny, {
|
|
6985
|
+
description: string;
|
|
6986
|
+
numberOfPositions: number;
|
|
6987
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6985
6988
|
createdAt: string;
|
|
6986
6989
|
updatedAt: string;
|
|
6987
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6988
6990
|
id: string;
|
|
6989
|
-
description: string;
|
|
6990
|
-
numberOfPositions: number;
|
|
6991
6991
|
pay: {
|
|
6992
6992
|
rateUnit: "DAILY" | "HOURLY";
|
|
6993
6993
|
rate: number;
|
|
@@ -7000,10 +7000,20 @@ export declare const bookingsContractRouter: {
|
|
|
7000
7000
|
qualificationId: string;
|
|
7001
7001
|
qualificationTypeId?: string | null | undefined;
|
|
7002
7002
|
}[];
|
|
7003
|
-
|
|
7003
|
+
workHours?: number | null | undefined;
|
|
7004
|
+
location?: {
|
|
7005
|
+
address?: string | null | undefined;
|
|
7006
|
+
postcode?: string | null | undefined;
|
|
7007
|
+
county?: string | null | undefined;
|
|
7008
|
+
adminDistrict?: string | null | undefined;
|
|
7009
|
+
builtUpArea?: string | null | undefined;
|
|
7010
|
+
postTown?: string | null | undefined;
|
|
7011
|
+
areaCovered?: string | null | undefined;
|
|
7012
|
+
} | null | undefined;
|
|
7013
|
+
currentCollaboration?: {
|
|
7014
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
7004
7015
|
createdAt: string;
|
|
7005
7016
|
updatedAt: string;
|
|
7006
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
7007
7017
|
id: string;
|
|
7008
7018
|
userId: string;
|
|
7009
7019
|
company?: {
|
|
@@ -7023,24 +7033,14 @@ export declare const bookingsContractRouter: {
|
|
|
7023
7033
|
newCollaboration?: {
|
|
7024
7034
|
id: string;
|
|
7025
7035
|
} | null | undefined;
|
|
7026
|
-
} | null;
|
|
7027
|
-
workHours?: number | null | undefined;
|
|
7028
|
-
location?: {
|
|
7029
|
-
address?: string | null | undefined;
|
|
7030
|
-
postcode?: string | null | undefined;
|
|
7031
|
-
county?: string | null | undefined;
|
|
7032
|
-
adminDistrict?: string | null | undefined;
|
|
7033
|
-
builtUpArea?: string | null | undefined;
|
|
7034
|
-
postTown?: string | null | undefined;
|
|
7035
|
-
areaCovered?: string | null | undefined;
|
|
7036
7036
|
} | null | undefined;
|
|
7037
7037
|
}, {
|
|
7038
|
+
description: string;
|
|
7039
|
+
numberOfPositions: number;
|
|
7040
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
7038
7041
|
createdAt: string | Date;
|
|
7039
7042
|
updatedAt: string | Date;
|
|
7040
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
7041
7043
|
id: string;
|
|
7042
|
-
description: string;
|
|
7043
|
-
numberOfPositions: number;
|
|
7044
7044
|
pay: {
|
|
7045
7045
|
rateUnit: "DAILY" | "HOURLY";
|
|
7046
7046
|
rate: number;
|
|
@@ -7048,10 +7048,25 @@ export declare const bookingsContractRouter: {
|
|
|
7048
7048
|
rateMax?: number | null | undefined;
|
|
7049
7049
|
};
|
|
7050
7050
|
tradeId: string;
|
|
7051
|
-
|
|
7051
|
+
workHours?: number | null | undefined;
|
|
7052
|
+
location?: {
|
|
7053
|
+
address?: string | null | undefined;
|
|
7054
|
+
postcode?: string | null | undefined;
|
|
7055
|
+
county?: string | null | undefined;
|
|
7056
|
+
adminDistrict?: string | null | undefined;
|
|
7057
|
+
builtUpArea?: string | null | undefined;
|
|
7058
|
+
postTown?: string | null | undefined;
|
|
7059
|
+
areaCovered?: string | null | undefined;
|
|
7060
|
+
} | null | undefined;
|
|
7061
|
+
jobQualifications?: {
|
|
7062
|
+
id: string;
|
|
7063
|
+
qualificationId: string;
|
|
7064
|
+
qualificationTypeId?: string | null | undefined;
|
|
7065
|
+
}[] | undefined;
|
|
7066
|
+
currentCollaboration?: {
|
|
7067
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
7052
7068
|
createdAt: string | Date;
|
|
7053
7069
|
updatedAt: string | Date;
|
|
7054
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
7055
7070
|
id: string;
|
|
7056
7071
|
userId: string;
|
|
7057
7072
|
company?: {
|
|
@@ -7071,31 +7086,20 @@ export declare const bookingsContractRouter: {
|
|
|
7071
7086
|
newCollaboration?: {
|
|
7072
7087
|
id: string;
|
|
7073
7088
|
} | null | undefined;
|
|
7074
|
-
} | null;
|
|
7075
|
-
workHours?: number | null | undefined;
|
|
7076
|
-
location?: {
|
|
7077
|
-
address?: string | null | undefined;
|
|
7078
|
-
postcode?: string | null | undefined;
|
|
7079
|
-
county?: string | null | undefined;
|
|
7080
|
-
adminDistrict?: string | null | undefined;
|
|
7081
|
-
builtUpArea?: string | null | undefined;
|
|
7082
|
-
postTown?: string | null | undefined;
|
|
7083
|
-
areaCovered?: string | null | undefined;
|
|
7084
7089
|
} | null | undefined;
|
|
7085
|
-
jobQualifications?: {
|
|
7086
|
-
id: string;
|
|
7087
|
-
qualificationId: string;
|
|
7088
|
-
qualificationTypeId?: string | null | undefined;
|
|
7089
|
-
}[] | undefined;
|
|
7090
7090
|
}>;
|
|
7091
7091
|
userId: z.ZodString;
|
|
7092
7092
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
7093
7093
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
7094
7094
|
}, "strip", z.ZodTypeAny, {
|
|
7095
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
7095
7096
|
createdAt: string;
|
|
7096
7097
|
updatedAt: string;
|
|
7097
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
7098
7098
|
id: string;
|
|
7099
|
+
pay: {
|
|
7100
|
+
rate: number;
|
|
7101
|
+
unit: "DAILY" | "HOURLY";
|
|
7102
|
+
};
|
|
7099
7103
|
user: {
|
|
7100
7104
|
createdAt: string;
|
|
7101
7105
|
updatedAt: string;
|
|
@@ -7107,10 +7111,6 @@ export declare const bookingsContractRouter: {
|
|
|
7107
7111
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
7108
7112
|
};
|
|
7109
7113
|
userId: string;
|
|
7110
|
-
pay: {
|
|
7111
|
-
rate: number;
|
|
7112
|
-
unit: "DAILY" | "HOURLY";
|
|
7113
|
-
};
|
|
7114
7114
|
startDate: string;
|
|
7115
7115
|
worker: {
|
|
7116
7116
|
createdAt: string;
|
|
@@ -7121,13 +7121,12 @@ export declare const bookingsContractRouter: {
|
|
|
7121
7121
|
phoneNumbers: {
|
|
7122
7122
|
phoneNumber: string;
|
|
7123
7123
|
isPrimary: boolean;
|
|
7124
|
-
id?: string | undefined;
|
|
7125
7124
|
description?: string | undefined;
|
|
7125
|
+
id?: string | undefined;
|
|
7126
7126
|
}[];
|
|
7127
7127
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
7128
7128
|
hasTools: boolean;
|
|
7129
7129
|
hasPpe: boolean;
|
|
7130
|
-
email?: string | null | undefined;
|
|
7131
7130
|
location?: {
|
|
7132
7131
|
address?: string | null | undefined;
|
|
7133
7132
|
postcode?: string | null | undefined;
|
|
@@ -7137,6 +7136,7 @@ export declare const bookingsContractRouter: {
|
|
|
7137
7136
|
postTown?: string | null | undefined;
|
|
7138
7137
|
areaCovered?: string | null | undefined;
|
|
7139
7138
|
} | null | undefined;
|
|
7139
|
+
email?: string | null | undefined;
|
|
7140
7140
|
nino?: string | null | undefined;
|
|
7141
7141
|
dateOfBirth?: string | null | undefined;
|
|
7142
7142
|
bio?: string | null | undefined;
|
|
@@ -7171,12 +7171,12 @@ export declare const bookingsContractRouter: {
|
|
|
7171
7171
|
distanceKm?: number | null | undefined;
|
|
7172
7172
|
};
|
|
7173
7173
|
job: {
|
|
7174
|
+
description: string;
|
|
7175
|
+
numberOfPositions: number;
|
|
7176
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
7174
7177
|
createdAt: string;
|
|
7175
7178
|
updatedAt: string;
|
|
7176
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
7177
7179
|
id: string;
|
|
7178
|
-
description: string;
|
|
7179
|
-
numberOfPositions: number;
|
|
7180
7180
|
pay: {
|
|
7181
7181
|
rateUnit: "DAILY" | "HOURLY";
|
|
7182
7182
|
rate: number;
|
|
@@ -7189,10 +7189,20 @@ export declare const bookingsContractRouter: {
|
|
|
7189
7189
|
qualificationId: string;
|
|
7190
7190
|
qualificationTypeId?: string | null | undefined;
|
|
7191
7191
|
}[];
|
|
7192
|
-
|
|
7192
|
+
workHours?: number | null | undefined;
|
|
7193
|
+
location?: {
|
|
7194
|
+
address?: string | null | undefined;
|
|
7195
|
+
postcode?: string | null | undefined;
|
|
7196
|
+
county?: string | null | undefined;
|
|
7197
|
+
adminDistrict?: string | null | undefined;
|
|
7198
|
+
builtUpArea?: string | null | undefined;
|
|
7199
|
+
postTown?: string | null | undefined;
|
|
7200
|
+
areaCovered?: string | null | undefined;
|
|
7201
|
+
} | null | undefined;
|
|
7202
|
+
currentCollaboration?: {
|
|
7203
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
7193
7204
|
createdAt: string;
|
|
7194
7205
|
updatedAt: string;
|
|
7195
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
7196
7206
|
id: string;
|
|
7197
7207
|
userId: string;
|
|
7198
7208
|
company?: {
|
|
@@ -7212,24 +7222,18 @@ export declare const bookingsContractRouter: {
|
|
|
7212
7222
|
newCollaboration?: {
|
|
7213
7223
|
id: string;
|
|
7214
7224
|
} | null | undefined;
|
|
7215
|
-
} | null;
|
|
7216
|
-
workHours?: number | null | undefined;
|
|
7217
|
-
location?: {
|
|
7218
|
-
address?: string | null | undefined;
|
|
7219
|
-
postcode?: string | null | undefined;
|
|
7220
|
-
county?: string | null | undefined;
|
|
7221
|
-
adminDistrict?: string | null | undefined;
|
|
7222
|
-
builtUpArea?: string | null | undefined;
|
|
7223
|
-
postTown?: string | null | undefined;
|
|
7224
|
-
areaCovered?: string | null | undefined;
|
|
7225
7225
|
} | null | undefined;
|
|
7226
7226
|
};
|
|
7227
7227
|
endDate?: string | null | undefined;
|
|
7228
7228
|
}, {
|
|
7229
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
7229
7230
|
createdAt: string | Date;
|
|
7230
7231
|
updatedAt: string | Date;
|
|
7231
|
-
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
7232
7232
|
id: string;
|
|
7233
|
+
pay: {
|
|
7234
|
+
rate: number;
|
|
7235
|
+
unit: "DAILY" | "HOURLY";
|
|
7236
|
+
};
|
|
7233
7237
|
user: {
|
|
7234
7238
|
createdAt: string | Date;
|
|
7235
7239
|
updatedAt: string | Date;
|
|
@@ -7241,10 +7245,6 @@ export declare const bookingsContractRouter: {
|
|
|
7241
7245
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
7242
7246
|
};
|
|
7243
7247
|
userId: string;
|
|
7244
|
-
pay: {
|
|
7245
|
-
rate: number;
|
|
7246
|
-
unit: "DAILY" | "HOURLY";
|
|
7247
|
-
};
|
|
7248
7248
|
startDate: string | Date;
|
|
7249
7249
|
worker: {
|
|
7250
7250
|
createdAt: string | Date;
|
|
@@ -7255,7 +7255,6 @@ export declare const bookingsContractRouter: {
|
|
|
7255
7255
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
7256
7256
|
hasTools: boolean;
|
|
7257
7257
|
hasPpe: boolean;
|
|
7258
|
-
email?: string | null | undefined;
|
|
7259
7258
|
location?: {
|
|
7260
7259
|
address?: string | null | undefined;
|
|
7261
7260
|
postcode?: string | null | undefined;
|
|
@@ -7265,10 +7264,11 @@ export declare const bookingsContractRouter: {
|
|
|
7265
7264
|
postTown?: string | null | undefined;
|
|
7266
7265
|
areaCovered?: string | null | undefined;
|
|
7267
7266
|
} | null | undefined;
|
|
7267
|
+
email?: string | null | undefined;
|
|
7268
7268
|
phoneNumbers?: {
|
|
7269
7269
|
phoneNumber: string;
|
|
7270
|
-
id?: string | undefined;
|
|
7271
7270
|
description?: string | undefined;
|
|
7271
|
+
id?: string | undefined;
|
|
7272
7272
|
isPrimary?: boolean | undefined;
|
|
7273
7273
|
}[] | undefined;
|
|
7274
7274
|
nino?: string | null | undefined;
|
|
@@ -7305,12 +7305,12 @@ export declare const bookingsContractRouter: {
|
|
|
7305
7305
|
distanceKm?: number | null | undefined;
|
|
7306
7306
|
};
|
|
7307
7307
|
job: {
|
|
7308
|
+
description: string;
|
|
7309
|
+
numberOfPositions: number;
|
|
7310
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
7308
7311
|
createdAt: string | Date;
|
|
7309
7312
|
updatedAt: string | Date;
|
|
7310
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
7311
7313
|
id: string;
|
|
7312
|
-
description: string;
|
|
7313
|
-
numberOfPositions: number;
|
|
7314
7314
|
pay: {
|
|
7315
7315
|
rateUnit: "DAILY" | "HOURLY";
|
|
7316
7316
|
rate: number;
|
|
@@ -7318,10 +7318,25 @@ export declare const bookingsContractRouter: {
|
|
|
7318
7318
|
rateMax?: number | null | undefined;
|
|
7319
7319
|
};
|
|
7320
7320
|
tradeId: string;
|
|
7321
|
-
|
|
7321
|
+
workHours?: number | null | undefined;
|
|
7322
|
+
location?: {
|
|
7323
|
+
address?: string | null | undefined;
|
|
7324
|
+
postcode?: string | null | undefined;
|
|
7325
|
+
county?: string | null | undefined;
|
|
7326
|
+
adminDistrict?: string | null | undefined;
|
|
7327
|
+
builtUpArea?: string | null | undefined;
|
|
7328
|
+
postTown?: string | null | undefined;
|
|
7329
|
+
areaCovered?: string | null | undefined;
|
|
7330
|
+
} | null | undefined;
|
|
7331
|
+
jobQualifications?: {
|
|
7332
|
+
id: string;
|
|
7333
|
+
qualificationId: string;
|
|
7334
|
+
qualificationTypeId?: string | null | undefined;
|
|
7335
|
+
}[] | undefined;
|
|
7336
|
+
currentCollaboration?: {
|
|
7337
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
7322
7338
|
createdAt: string | Date;
|
|
7323
7339
|
updatedAt: string | Date;
|
|
7324
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
7325
7340
|
id: string;
|
|
7326
7341
|
userId: string;
|
|
7327
7342
|
company?: {
|
|
@@ -7341,22 +7356,7 @@ export declare const bookingsContractRouter: {
|
|
|
7341
7356
|
newCollaboration?: {
|
|
7342
7357
|
id: string;
|
|
7343
7358
|
} | null | undefined;
|
|
7344
|
-
} | null;
|
|
7345
|
-
workHours?: number | null | undefined;
|
|
7346
|
-
location?: {
|
|
7347
|
-
address?: string | null | undefined;
|
|
7348
|
-
postcode?: string | null | undefined;
|
|
7349
|
-
county?: string | null | undefined;
|
|
7350
|
-
adminDistrict?: string | null | undefined;
|
|
7351
|
-
builtUpArea?: string | null | undefined;
|
|
7352
|
-
postTown?: string | null | undefined;
|
|
7353
|
-
areaCovered?: string | null | undefined;
|
|
7354
7359
|
} | null | undefined;
|
|
7355
|
-
jobQualifications?: {
|
|
7356
|
-
id: string;
|
|
7357
|
-
qualificationId: string;
|
|
7358
|
-
qualificationTypeId?: string | null | undefined;
|
|
7359
|
-
}[] | undefined;
|
|
7360
7360
|
};
|
|
7361
7361
|
endDate?: string | Date | null | undefined;
|
|
7362
7362
|
}>;
|