@dakkitor/api-contracts 1.1.101 → 1.1.103

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.
@@ -22,25 +22,25 @@ export declare const UpdateCuratedWorkerPhoneNumberSchema: z.ZodEffects<z.ZodObj
22
22
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  isPrimary: z.ZodOptional<z.ZodBoolean>;
24
24
  }, "strip", z.ZodTypeAny, {
25
+ id?: string | undefined;
25
26
  phoneNumber?: string | undefined;
26
27
  description?: string | null | undefined;
27
28
  isPrimary?: boolean | undefined;
28
- id?: string | undefined;
29
29
  }, {
30
+ id?: string | undefined;
30
31
  phoneNumber?: string | undefined;
31
32
  description?: string | null | undefined;
32
33
  isPrimary?: boolean | undefined;
33
- id?: string | undefined;
34
34
  }>, {
35
+ id?: string | undefined;
35
36
  phoneNumber?: string | undefined;
36
37
  description?: string | null | undefined;
37
38
  isPrimary?: boolean | undefined;
38
- id?: string | undefined;
39
39
  }, {
40
+ id?: string | undefined;
40
41
  phoneNumber?: string | undefined;
41
42
  description?: string | null | undefined;
42
43
  isPrimary?: boolean | undefined;
43
- id?: string | undefined;
44
44
  }>;
45
45
  export declare const CuratedWorkerPhoneNumberSchema: z.ZodObject<{
46
46
  phoneNumber: z.ZodEffects<z.ZodString, string, string>;
@@ -51,17 +51,17 @@ export declare const CuratedWorkerPhoneNumberSchema: z.ZodObject<{
51
51
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
52
52
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
53
53
  }, "strip", z.ZodTypeAny, {
54
- createdAt: string;
55
- updatedAt: string;
54
+ id: string;
56
55
  phoneNumber: string;
57
56
  isPrimary: boolean;
58
- id: string;
57
+ createdAt: string;
58
+ updatedAt: string;
59
59
  description?: string | null | undefined;
60
60
  }, {
61
+ id: string;
62
+ phoneNumber: string;
61
63
  createdAt: string | Date;
62
64
  updatedAt: string | Date;
63
- phoneNumber: string;
64
- id: string;
65
65
  description?: string | null | undefined;
66
66
  isPrimary?: boolean | undefined;
67
67
  }>;
@@ -82,15 +82,15 @@ export declare const CuratedWorkerTradeResponseSchema: z.ZodObject<{
82
82
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
83
83
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
84
84
  }, "strip", z.ZodTypeAny, {
85
+ id: string;
85
86
  createdAt: string;
86
87
  updatedAt: string;
87
- id: string;
88
88
  tradeId: string;
89
89
  mainTrade: boolean;
90
90
  }, {
91
+ id: string;
91
92
  createdAt: string | Date;
92
93
  updatedAt: string | Date;
93
- id: string;
94
94
  tradeId: string;
95
95
  mainTrade: boolean;
96
96
  }>;
@@ -153,9 +153,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
153
153
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
154
154
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
155
155
  }, "strip", z.ZodTypeAny, {
156
+ id: string;
156
157
  createdAt: string;
157
158
  updatedAt: string;
158
- id: string;
159
159
  qualificationId: string;
160
160
  qualificationTypeId: string | null;
161
161
  issueDate: string | null;
@@ -163,9 +163,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
163
163
  referenceNumber: string | null;
164
164
  proofDocumentFileId: string | null;
165
165
  }, {
166
+ id: string;
166
167
  createdAt: string | Date;
167
168
  updatedAt: string | Date;
168
- id: string;
169
169
  qualificationId: string;
170
170
  qualificationTypeId: string | null;
171
171
  issueDate: string | Date | null;
@@ -262,7 +262,7 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
262
262
  postcode?: string | null | undefined;
263
263
  }>>>;
264
264
  }, "strip", z.ZodTypeAny, {
265
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
265
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
266
266
  firstName: string;
267
267
  lastName: string;
268
268
  phoneNumbers: {
@@ -276,8 +276,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
276
276
  }[];
277
277
  hasTools: boolean;
278
278
  hasPpe: boolean;
279
- email?: string | null | undefined;
280
279
  rating?: number | null | undefined;
280
+ email?: string | null | undefined;
281
281
  nino?: string | null | undefined;
282
282
  dateOfBirth?: string | null | undefined;
283
283
  bio?: string | null | undefined;
@@ -309,9 +309,9 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
309
309
  }[];
310
310
  hasTools: boolean;
311
311
  hasPpe: boolean;
312
- email?: string | null | undefined;
313
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
312
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
314
313
  rating?: number | null | undefined;
314
+ email?: string | null | undefined;
315
315
  nino?: string | null | undefined;
316
316
  dateOfBirth?: string | Date | null | undefined;
317
317
  bio?: string | null | undefined;
@@ -396,37 +396,37 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
396
396
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
397
397
  isPrimary: z.ZodOptional<z.ZodBoolean>;
398
398
  }, "strip", z.ZodTypeAny, {
399
+ id?: string | undefined;
399
400
  phoneNumber?: string | undefined;
400
401
  description?: string | null | undefined;
401
402
  isPrimary?: boolean | undefined;
402
- id?: string | undefined;
403
403
  }, {
404
+ id?: string | undefined;
404
405
  phoneNumber?: string | undefined;
405
406
  description?: string | null | undefined;
406
407
  isPrimary?: boolean | undefined;
407
- id?: string | undefined;
408
408
  }>, {
409
+ id?: string | undefined;
409
410
  phoneNumber?: string | undefined;
410
411
  description?: string | null | undefined;
411
412
  isPrimary?: boolean | undefined;
412
- id?: string | undefined;
413
413
  }, {
414
+ id?: string | undefined;
414
415
  phoneNumber?: string | undefined;
415
416
  description?: string | null | undefined;
416
417
  isPrimary?: boolean | undefined;
417
- id?: string | undefined;
418
418
  }>, "many">>>;
419
419
  }, "strip", z.ZodTypeAny, {
420
- email?: string | null | undefined;
421
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
420
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
422
421
  rating?: number | null | undefined;
423
422
  firstName?: string | undefined;
424
423
  lastName?: string | undefined;
424
+ email?: string | null | undefined;
425
425
  phoneNumbers?: {
426
+ id?: string | undefined;
426
427
  phoneNumber?: string | undefined;
427
428
  description?: string | null | undefined;
428
429
  isPrimary?: boolean | undefined;
429
- id?: string | undefined;
430
430
  }[] | null | undefined;
431
431
  nino?: string | null | undefined;
432
432
  dateOfBirth?: string | null | undefined;
@@ -453,16 +453,16 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
453
453
  postcode?: string | null | undefined;
454
454
  } | null | undefined;
455
455
  }, {
456
- email?: string | null | undefined;
457
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
456
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
458
457
  rating?: number | null | undefined;
459
458
  firstName?: string | undefined;
460
459
  lastName?: string | undefined;
460
+ email?: string | null | undefined;
461
461
  phoneNumbers?: {
462
+ id?: string | undefined;
462
463
  phoneNumber?: string | undefined;
463
464
  description?: string | null | undefined;
464
465
  isPrimary?: boolean | undefined;
465
- id?: string | undefined;
466
466
  }[] | null | undefined;
467
467
  nino?: string | null | undefined;
468
468
  dateOfBirth?: string | Date | null | undefined;
@@ -537,15 +537,15 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
537
537
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
538
538
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
539
539
  }, "strip", z.ZodTypeAny, {
540
+ id: string;
540
541
  createdAt: string;
541
542
  updatedAt: string;
542
- id: string;
543
543
  tradeId: string;
544
544
  mainTrade: boolean;
545
545
  }, {
546
+ id: string;
546
547
  createdAt: string | Date;
547
548
  updatedAt: string | Date;
548
- id: string;
549
549
  tradeId: string;
550
550
  mainTrade: boolean;
551
551
  }>, "many">>>;
@@ -560,9 +560,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
560
560
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
561
561
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
562
562
  }, "strip", z.ZodTypeAny, {
563
+ id: string;
563
564
  createdAt: string;
564
565
  updatedAt: string;
565
- id: string;
566
566
  qualificationId: string;
567
567
  qualificationTypeId: string | null;
568
568
  issueDate: string | null;
@@ -570,9 +570,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
570
570
  referenceNumber: string | null;
571
571
  proofDocumentFileId: string | null;
572
572
  }, {
573
+ id: string;
573
574
  createdAt: string | Date;
574
575
  updatedAt: string | Date;
575
- id: string;
576
576
  qualificationId: string;
577
577
  qualificationTypeId: string | null;
578
578
  issueDate: string | Date | null;
@@ -589,53 +589,53 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
589
589
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
590
590
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
591
591
  }, "strip", z.ZodTypeAny, {
592
- createdAt: string;
593
- updatedAt: string;
592
+ id: string;
594
593
  phoneNumber: string;
595
594
  isPrimary: boolean;
596
- id: string;
595
+ createdAt: string;
596
+ updatedAt: string;
597
597
  description?: string | null | undefined;
598
598
  }, {
599
+ id: string;
600
+ phoneNumber: string;
599
601
  createdAt: string | Date;
600
602
  updatedAt: string | Date;
601
- phoneNumber: string;
602
- id: string;
603
603
  description?: string | null | undefined;
604
604
  isPrimary?: boolean | undefined;
605
605
  }>, "many">>>;
606
606
  }, "strip", z.ZodTypeAny, {
607
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
607
+ id: string;
608
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
608
609
  createdAt: string;
609
610
  updatedAt: string;
610
- id: string;
611
611
  firstName: string;
612
612
  lastName: string;
613
613
  hasTools: boolean;
614
614
  hasPpe: boolean;
615
- email?: string | null | undefined;
616
615
  rating?: number | null | undefined;
616
+ email?: string | null | undefined;
617
617
  phoneNumbers?: {
618
- createdAt: string;
619
- updatedAt: string;
618
+ id: string;
620
619
  phoneNumber: string;
621
620
  isPrimary: boolean;
622
- id: string;
621
+ createdAt: string;
622
+ updatedAt: string;
623
623
  description?: string | null | undefined;
624
624
  }[] | null | undefined;
625
625
  nino?: string | null | undefined;
626
626
  dateOfBirth?: string | null | undefined;
627
627
  bio?: string | null | undefined;
628
628
  trades?: {
629
+ id: string;
629
630
  createdAt: string;
630
631
  updatedAt: string;
631
- id: string;
632
632
  tradeId: string;
633
633
  mainTrade: boolean;
634
634
  }[] | null | undefined;
635
635
  qualifications?: {
636
+ id: string;
636
637
  createdAt: string;
637
638
  updatedAt: string;
638
- id: string;
639
639
  qualificationId: string;
640
640
  qualificationTypeId: string | null;
641
641
  issueDate: string | null;
@@ -655,21 +655,21 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
655
655
  areaCovered?: string | null | undefined;
656
656
  } | null | undefined;
657
657
  }, {
658
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
658
+ id: string;
659
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
659
660
  createdAt: string | Date;
660
661
  updatedAt: string | Date;
661
- id: string;
662
662
  firstName: string;
663
663
  lastName: string;
664
664
  hasTools: boolean;
665
665
  hasPpe: boolean;
666
- email?: string | null | undefined;
667
666
  rating?: number | null | undefined;
667
+ email?: string | null | undefined;
668
668
  phoneNumbers?: {
669
+ id: string;
670
+ phoneNumber: string;
669
671
  createdAt: string | Date;
670
672
  updatedAt: string | Date;
671
- phoneNumber: string;
672
- id: string;
673
673
  description?: string | null | undefined;
674
674
  isPrimary?: boolean | undefined;
675
675
  }[] | null | undefined;
@@ -677,16 +677,16 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
677
677
  dateOfBirth?: string | Date | null | undefined;
678
678
  bio?: string | null | undefined;
679
679
  trades?: {
680
+ id: string;
680
681
  createdAt: string | Date;
681
682
  updatedAt: string | Date;
682
- id: string;
683
683
  tradeId: string;
684
684
  mainTrade: boolean;
685
685
  }[] | null | undefined;
686
686
  qualifications?: {
687
+ id: string;
687
688
  createdAt: string | Date;
688
689
  updatedAt: string | Date;
689
- id: string;
690
690
  qualificationId: string;
691
691
  qualificationTypeId: string | null;
692
692
  issueDate: string | Date | null;
@@ -755,15 +755,15 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
755
755
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
756
756
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
757
757
  }, "strip", z.ZodTypeAny, {
758
+ id: string;
758
759
  createdAt: string;
759
760
  updatedAt: string;
760
- id: string;
761
761
  tradeId: string;
762
762
  mainTrade: boolean;
763
763
  }, {
764
+ id: string;
764
765
  createdAt: string | Date;
765
766
  updatedAt: string | Date;
766
- id: string;
767
767
  tradeId: string;
768
768
  mainTrade: boolean;
769
769
  }>, "many">>>;
@@ -778,9 +778,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
778
778
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
779
779
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
780
780
  }, "strip", z.ZodTypeAny, {
781
+ id: string;
781
782
  createdAt: string;
782
783
  updatedAt: string;
783
- id: string;
784
784
  qualificationId: string;
785
785
  qualificationTypeId: string | null;
786
786
  issueDate: string | null;
@@ -788,9 +788,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
788
788
  referenceNumber: string | null;
789
789
  proofDocumentFileId: string | null;
790
790
  }, {
791
+ id: string;
791
792
  createdAt: string | Date;
792
793
  updatedAt: string | Date;
793
- id: string;
794
794
  qualificationId: string;
795
795
  qualificationTypeId: string | null;
796
796
  issueDate: string | Date | null;
@@ -807,53 +807,53 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
807
807
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
808
808
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
809
809
  }, "strip", z.ZodTypeAny, {
810
- createdAt: string;
811
- updatedAt: string;
810
+ id: string;
812
811
  phoneNumber: string;
813
812
  isPrimary: boolean;
814
- id: string;
813
+ createdAt: string;
814
+ updatedAt: string;
815
815
  description?: string | null | undefined;
816
816
  }, {
817
+ id: string;
818
+ phoneNumber: string;
817
819
  createdAt: string | Date;
818
820
  updatedAt: string | Date;
819
- phoneNumber: string;
820
- id: string;
821
821
  description?: string | null | undefined;
822
822
  isPrimary?: boolean | undefined;
823
823
  }>, "many">>>;
824
824
  }, "strip", z.ZodTypeAny, {
825
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
825
+ id: string;
826
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
826
827
  createdAt: string;
827
828
  updatedAt: string;
828
- id: string;
829
829
  firstName: string;
830
830
  lastName: string;
831
831
  hasTools: boolean;
832
832
  hasPpe: boolean;
833
- email?: string | null | undefined;
834
833
  rating?: number | null | undefined;
834
+ email?: string | null | undefined;
835
835
  phoneNumbers?: {
836
- createdAt: string;
837
- updatedAt: string;
836
+ id: string;
838
837
  phoneNumber: string;
839
838
  isPrimary: boolean;
840
- id: string;
839
+ createdAt: string;
840
+ updatedAt: string;
841
841
  description?: string | null | undefined;
842
842
  }[] | null | undefined;
843
843
  nino?: string | null | undefined;
844
844
  dateOfBirth?: string | null | undefined;
845
845
  bio?: string | null | undefined;
846
846
  trades?: {
847
+ id: string;
847
848
  createdAt: string;
848
849
  updatedAt: string;
849
- id: string;
850
850
  tradeId: string;
851
851
  mainTrade: boolean;
852
852
  }[] | null | undefined;
853
853
  qualifications?: {
854
+ id: string;
854
855
  createdAt: string;
855
856
  updatedAt: string;
856
- id: string;
857
857
  qualificationId: string;
858
858
  qualificationTypeId: string | null;
859
859
  issueDate: string | null;
@@ -873,21 +873,21 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
873
873
  areaCovered?: string | null | undefined;
874
874
  } | null | undefined;
875
875
  }, {
876
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
876
+ id: string;
877
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
877
878
  createdAt: string | Date;
878
879
  updatedAt: string | Date;
879
- id: string;
880
880
  firstName: string;
881
881
  lastName: string;
882
882
  hasTools: boolean;
883
883
  hasPpe: boolean;
884
- email?: string | null | undefined;
885
884
  rating?: number | null | undefined;
885
+ email?: string | null | undefined;
886
886
  phoneNumbers?: {
887
+ id: string;
888
+ phoneNumber: string;
887
889
  createdAt: string | Date;
888
890
  updatedAt: string | Date;
889
- phoneNumber: string;
890
- id: string;
891
891
  description?: string | null | undefined;
892
892
  isPrimary?: boolean | undefined;
893
893
  }[] | null | undefined;
@@ -895,16 +895,16 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
895
895
  dateOfBirth?: string | Date | null | undefined;
896
896
  bio?: string | null | undefined;
897
897
  trades?: {
898
+ id: string;
898
899
  createdAt: string | Date;
899
900
  updatedAt: string | Date;
900
- id: string;
901
901
  tradeId: string;
902
902
  mainTrade: boolean;
903
903
  }[] | null | undefined;
904
904
  qualifications?: {
905
+ id: string;
905
906
  createdAt: string | Date;
906
907
  updatedAt: string | Date;
907
- id: string;
908
908
  qualificationId: string;
909
909
  qualificationTypeId: string | null;
910
910
  issueDate: string | Date | null;
@@ -930,39 +930,40 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
930
930
  currentPage: z.ZodNumber;
931
931
  totalPages: z.ZodNumber;
932
932
  }, "strip", z.ZodTypeAny, {
933
+ limit: number;
933
934
  items: {
934
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
935
+ id: string;
936
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
935
937
  createdAt: string;
936
938
  updatedAt: string;
937
- id: string;
938
939
  firstName: string;
939
940
  lastName: string;
940
941
  hasTools: boolean;
941
942
  hasPpe: boolean;
942
- email?: string | null | undefined;
943
943
  rating?: number | null | undefined;
944
+ email?: string | null | undefined;
944
945
  phoneNumbers?: {
945
- createdAt: string;
946
- updatedAt: string;
946
+ id: string;
947
947
  phoneNumber: string;
948
948
  isPrimary: boolean;
949
- id: string;
949
+ createdAt: string;
950
+ updatedAt: string;
950
951
  description?: string | null | undefined;
951
952
  }[] | null | undefined;
952
953
  nino?: string | null | undefined;
953
954
  dateOfBirth?: string | null | undefined;
954
955
  bio?: string | null | undefined;
955
956
  trades?: {
957
+ id: string;
956
958
  createdAt: string;
957
959
  updatedAt: string;
958
- id: string;
959
960
  tradeId: string;
960
961
  mainTrade: boolean;
961
962
  }[] | null | undefined;
962
963
  qualifications?: {
964
+ id: string;
963
965
  createdAt: string;
964
966
  updatedAt: string;
965
- id: string;
966
967
  qualificationId: string;
967
968
  qualificationTypeId: string | null;
968
969
  issueDate: string | null;
@@ -983,27 +984,27 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
983
984
  } | null | undefined;
984
985
  }[];
985
986
  totalCount: number;
986
- limit: number;
987
987
  skip: number;
988
988
  currentPage: number;
989
989
  totalPages: number;
990
990
  }, {
991
+ limit: number;
991
992
  items: {
992
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
993
+ id: string;
994
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
993
995
  createdAt: string | Date;
994
996
  updatedAt: string | Date;
995
- id: string;
996
997
  firstName: string;
997
998
  lastName: string;
998
999
  hasTools: boolean;
999
1000
  hasPpe: boolean;
1000
- email?: string | null | undefined;
1001
1001
  rating?: number | null | undefined;
1002
+ email?: string | null | undefined;
1002
1003
  phoneNumbers?: {
1004
+ id: string;
1005
+ phoneNumber: string;
1003
1006
  createdAt: string | Date;
1004
1007
  updatedAt: string | Date;
1005
- phoneNumber: string;
1006
- id: string;
1007
1008
  description?: string | null | undefined;
1008
1009
  isPrimary?: boolean | undefined;
1009
1010
  }[] | null | undefined;
@@ -1011,16 +1012,16 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
1011
1012
  dateOfBirth?: string | Date | null | undefined;
1012
1013
  bio?: string | null | undefined;
1013
1014
  trades?: {
1015
+ id: string;
1014
1016
  createdAt: string | Date;
1015
1017
  updatedAt: string | Date;
1016
- id: string;
1017
1018
  tradeId: string;
1018
1019
  mainTrade: boolean;
1019
1020
  }[] | null | undefined;
1020
1021
  qualifications?: {
1022
+ id: string;
1021
1023
  createdAt: string | Date;
1022
1024
  updatedAt: string | Date;
1023
- id: string;
1024
1025
  qualificationId: string;
1025
1026
  qualificationTypeId: string | null;
1026
1027
  issueDate: string | Date | null;
@@ -1041,7 +1042,6 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
1041
1042
  } | null | undefined;
1042
1043
  }[];
1043
1044
  totalCount: number;
1044
- limit: number;
1045
1045
  skip: number;
1046
1046
  currentPage: number;
1047
1047
  totalPages: number;
@@ -1093,9 +1093,11 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
1093
1093
  limit: number;
1094
1094
  page: number;
1095
1095
  sortOrder: "ASC" | "DESC";
1096
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
1097
+ name?: string | undefined;
1098
+ sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
1096
1099
  email?: string | undefined;
1097
1100
  phone?: string | undefined;
1098
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1099
1101
  nino?: string | undefined;
1100
1102
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
1101
1103
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | undefined;
@@ -1103,20 +1105,23 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
1103
1105
  postcode?: string | null | undefined;
1104
1106
  radius?: number | null | undefined;
1105
1107
  } | undefined;
1106
- name?: string | undefined;
1107
- qualificationFilters?: {
1108
- qualificationId?: string | undefined;
1109
- qualificationTypeId?: string | undefined;
1110
- }[] | undefined;
1111
1108
  tradeFilters?: {
1112
1109
  tradeId?: string | undefined;
1113
1110
  mainTrade?: boolean | undefined;
1114
1111
  }[] | undefined;
1115
- sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
1112
+ qualificationFilters?: {
1113
+ qualificationId?: string | undefined;
1114
+ qualificationTypeId?: string | undefined;
1115
+ }[] | undefined;
1116
1116
  }, {
1117
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
1118
+ limit?: number | undefined;
1119
+ page?: number | undefined;
1120
+ name?: string | undefined;
1121
+ sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
1122
+ sortOrder?: "ASC" | "DESC" | undefined;
1117
1123
  email?: string | undefined;
1118
1124
  phone?: string | undefined;
1119
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1120
1125
  nino?: string | undefined;
1121
1126
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
1122
1127
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | undefined;
@@ -1124,19 +1129,14 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
1124
1129
  postcode?: string | null | undefined;
1125
1130
  radius?: number | null | undefined;
1126
1131
  } | undefined;
1127
- limit?: number | undefined;
1128
- page?: number | undefined;
1129
- name?: string | undefined;
1130
- qualificationFilters?: {
1131
- qualificationId?: string | undefined;
1132
- qualificationTypeId?: string | undefined;
1133
- }[] | undefined;
1134
- sortOrder?: "ASC" | "DESC" | undefined;
1135
1132
  tradeFilters?: {
1136
1133
  tradeId?: string | undefined;
1137
1134
  mainTrade?: unknown;
1138
1135
  }[] | undefined;
1139
- sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
1136
+ qualificationFilters?: {
1137
+ qualificationId?: string | undefined;
1138
+ qualificationTypeId?: string | undefined;
1139
+ }[] | undefined;
1140
1140
  }>;
1141
1141
  export type CreateCuratedWorkerPhoneNumber = z.infer<typeof CreateCuratedWorkerPhoneNumberSchema>;
1142
1142
  export type UpdateCuratedWorkerPhoneNumber = z.infer<typeof UpdateCuratedWorkerPhoneNumberSchema>;
@@ -1228,7 +1228,7 @@ export declare const curatedWorkersContract: {
1228
1228
  postcode?: string | null | undefined;
1229
1229
  }>>>;
1230
1230
  }, "strip", z.ZodTypeAny, {
1231
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1231
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
1232
1232
  firstName: string;
1233
1233
  lastName: string;
1234
1234
  phoneNumbers: {
@@ -1242,8 +1242,8 @@ export declare const curatedWorkersContract: {
1242
1242
  }[];
1243
1243
  hasTools: boolean;
1244
1244
  hasPpe: boolean;
1245
- email?: string | null | undefined;
1246
1245
  rating?: number | null | undefined;
1246
+ email?: string | null | undefined;
1247
1247
  nino?: string | null | undefined;
1248
1248
  dateOfBirth?: string | null | undefined;
1249
1249
  bio?: string | null | undefined;
@@ -1275,9 +1275,9 @@ export declare const curatedWorkersContract: {
1275
1275
  }[];
1276
1276
  hasTools: boolean;
1277
1277
  hasPpe: boolean;
1278
- email?: string | null | undefined;
1279
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1278
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
1280
1279
  rating?: number | null | undefined;
1280
+ email?: string | null | undefined;
1281
1281
  nino?: string | null | undefined;
1282
1282
  dateOfBirth?: string | Date | null | undefined;
1283
1283
  bio?: string | null | undefined;
@@ -1446,15 +1446,15 @@ export declare const curatedWorkersContract: {
1446
1446
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1447
1447
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1448
1448
  }, "strip", z.ZodTypeAny, {
1449
+ id: string;
1449
1450
  createdAt: string;
1450
1451
  updatedAt: string;
1451
- id: string;
1452
1452
  tradeId: string;
1453
1453
  mainTrade: boolean;
1454
1454
  }, {
1455
+ id: string;
1455
1456
  createdAt: string | Date;
1456
1457
  updatedAt: string | Date;
1457
- id: string;
1458
1458
  tradeId: string;
1459
1459
  mainTrade: boolean;
1460
1460
  }>, "many">>>;
@@ -1469,9 +1469,9 @@ export declare const curatedWorkersContract: {
1469
1469
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1470
1470
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1471
1471
  }, "strip", z.ZodTypeAny, {
1472
+ id: string;
1472
1473
  createdAt: string;
1473
1474
  updatedAt: string;
1474
- id: string;
1475
1475
  qualificationId: string;
1476
1476
  qualificationTypeId: string | null;
1477
1477
  issueDate: string | null;
@@ -1479,9 +1479,9 @@ export declare const curatedWorkersContract: {
1479
1479
  referenceNumber: string | null;
1480
1480
  proofDocumentFileId: string | null;
1481
1481
  }, {
1482
+ id: string;
1482
1483
  createdAt: string | Date;
1483
1484
  updatedAt: string | Date;
1484
- id: string;
1485
1485
  qualificationId: string;
1486
1486
  qualificationTypeId: string | null;
1487
1487
  issueDate: string | Date | null;
@@ -1498,53 +1498,53 @@ export declare const curatedWorkersContract: {
1498
1498
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1499
1499
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1500
1500
  }, "strip", z.ZodTypeAny, {
1501
- createdAt: string;
1502
- updatedAt: string;
1501
+ id: string;
1503
1502
  phoneNumber: string;
1504
1503
  isPrimary: boolean;
1505
- id: string;
1504
+ createdAt: string;
1505
+ updatedAt: string;
1506
1506
  description?: string | null | undefined;
1507
1507
  }, {
1508
+ id: string;
1509
+ phoneNumber: string;
1508
1510
  createdAt: string | Date;
1509
1511
  updatedAt: string | Date;
1510
- phoneNumber: string;
1511
- id: string;
1512
1512
  description?: string | null | undefined;
1513
1513
  isPrimary?: boolean | undefined;
1514
1514
  }>, "many">>>;
1515
1515
  }, "strip", z.ZodTypeAny, {
1516
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1516
+ id: string;
1517
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
1517
1518
  createdAt: string;
1518
1519
  updatedAt: string;
1519
- id: string;
1520
1520
  firstName: string;
1521
1521
  lastName: string;
1522
1522
  hasTools: boolean;
1523
1523
  hasPpe: boolean;
1524
- email?: string | null | undefined;
1525
1524
  rating?: number | null | undefined;
1525
+ email?: string | null | undefined;
1526
1526
  phoneNumbers?: {
1527
- createdAt: string;
1528
- updatedAt: string;
1527
+ id: string;
1529
1528
  phoneNumber: string;
1530
1529
  isPrimary: boolean;
1531
- id: string;
1530
+ createdAt: string;
1531
+ updatedAt: string;
1532
1532
  description?: string | null | undefined;
1533
1533
  }[] | null | undefined;
1534
1534
  nino?: string | null | undefined;
1535
1535
  dateOfBirth?: string | null | undefined;
1536
1536
  bio?: string | null | undefined;
1537
1537
  trades?: {
1538
+ id: string;
1538
1539
  createdAt: string;
1539
1540
  updatedAt: string;
1540
- id: string;
1541
1541
  tradeId: string;
1542
1542
  mainTrade: boolean;
1543
1543
  }[] | null | undefined;
1544
1544
  qualifications?: {
1545
+ id: string;
1545
1546
  createdAt: string;
1546
1547
  updatedAt: string;
1547
- id: string;
1548
1548
  qualificationId: string;
1549
1549
  qualificationTypeId: string | null;
1550
1550
  issueDate: string | null;
@@ -1564,21 +1564,21 @@ export declare const curatedWorkersContract: {
1564
1564
  areaCovered?: string | null | undefined;
1565
1565
  } | null | undefined;
1566
1566
  }, {
1567
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1567
+ id: string;
1568
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
1568
1569
  createdAt: string | Date;
1569
1570
  updatedAt: string | Date;
1570
- id: string;
1571
1571
  firstName: string;
1572
1572
  lastName: string;
1573
1573
  hasTools: boolean;
1574
1574
  hasPpe: boolean;
1575
- email?: string | null | undefined;
1576
1575
  rating?: number | null | undefined;
1576
+ email?: string | null | undefined;
1577
1577
  phoneNumbers?: {
1578
+ id: string;
1579
+ phoneNumber: string;
1578
1580
  createdAt: string | Date;
1579
1581
  updatedAt: string | Date;
1580
- phoneNumber: string;
1581
- id: string;
1582
1582
  description?: string | null | undefined;
1583
1583
  isPrimary?: boolean | undefined;
1584
1584
  }[] | null | undefined;
@@ -1586,16 +1586,16 @@ export declare const curatedWorkersContract: {
1586
1586
  dateOfBirth?: string | Date | null | undefined;
1587
1587
  bio?: string | null | undefined;
1588
1588
  trades?: {
1589
+ id: string;
1589
1590
  createdAt: string | Date;
1590
1591
  updatedAt: string | Date;
1591
- id: string;
1592
1592
  tradeId: string;
1593
1593
  mainTrade: boolean;
1594
1594
  }[] | null | undefined;
1595
1595
  qualifications?: {
1596
+ id: string;
1596
1597
  createdAt: string | Date;
1597
1598
  updatedAt: string | Date;
1598
- id: string;
1599
1599
  qualificationId: string;
1600
1600
  qualificationTypeId: string | null;
1601
1601
  issueDate: string | Date | null;
@@ -1643,9 +1643,6 @@ export declare const curatedWorkersContract: {
1643
1643
  };
1644
1644
  };
1645
1645
  findAll: {
1646
- metadata: {
1647
- tags: string[];
1648
- };
1649
1646
  query: z.ZodObject<{
1650
1647
  limit: z.ZodDefault<z.ZodNumber>;
1651
1648
  page: z.ZodDefault<z.ZodNumber>;
@@ -1693,9 +1690,11 @@ export declare const curatedWorkersContract: {
1693
1690
  limit: number;
1694
1691
  page: number;
1695
1692
  sortOrder: "ASC" | "DESC";
1693
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
1694
+ name?: string | undefined;
1695
+ sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
1696
1696
  email?: string | undefined;
1697
1697
  phone?: string | undefined;
1698
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1699
1698
  nino?: string | undefined;
1700
1699
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
1701
1700
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | undefined;
@@ -1703,20 +1702,23 @@ export declare const curatedWorkersContract: {
1703
1702
  postcode?: string | null | undefined;
1704
1703
  radius?: number | null | undefined;
1705
1704
  } | undefined;
1706
- name?: string | undefined;
1707
- qualificationFilters?: {
1708
- qualificationId?: string | undefined;
1709
- qualificationTypeId?: string | undefined;
1710
- }[] | undefined;
1711
1705
  tradeFilters?: {
1712
1706
  tradeId?: string | undefined;
1713
1707
  mainTrade?: boolean | undefined;
1714
1708
  }[] | undefined;
1715
- sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
1709
+ qualificationFilters?: {
1710
+ qualificationId?: string | undefined;
1711
+ qualificationTypeId?: string | undefined;
1712
+ }[] | undefined;
1716
1713
  }, {
1714
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
1715
+ limit?: number | undefined;
1716
+ page?: number | undefined;
1717
+ name?: string | undefined;
1718
+ sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
1719
+ sortOrder?: "ASC" | "DESC" | undefined;
1717
1720
  email?: string | undefined;
1718
1721
  phone?: string | undefined;
1719
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1720
1722
  nino?: string | undefined;
1721
1723
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
1722
1724
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | undefined;
@@ -1724,20 +1726,18 @@ export declare const curatedWorkersContract: {
1724
1726
  postcode?: string | null | undefined;
1725
1727
  radius?: number | null | undefined;
1726
1728
  } | undefined;
1727
- limit?: number | undefined;
1728
- page?: number | undefined;
1729
- name?: string | undefined;
1730
- qualificationFilters?: {
1731
- qualificationId?: string | undefined;
1732
- qualificationTypeId?: string | undefined;
1733
- }[] | undefined;
1734
- sortOrder?: "ASC" | "DESC" | undefined;
1735
1729
  tradeFilters?: {
1736
1730
  tradeId?: string | undefined;
1737
1731
  mainTrade?: unknown;
1738
1732
  }[] | undefined;
1739
- sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
1733
+ qualificationFilters?: {
1734
+ qualificationId?: string | undefined;
1735
+ qualificationTypeId?: string | undefined;
1736
+ }[] | undefined;
1740
1737
  }>;
1738
+ metadata: {
1739
+ tags: string[];
1740
+ };
1741
1741
  summary: "Find all curated workers";
1742
1742
  method: "GET";
1743
1743
  path: "/v2/curated-workers";
@@ -1891,15 +1891,15 @@ export declare const curatedWorkersContract: {
1891
1891
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1892
1892
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1893
1893
  }, "strip", z.ZodTypeAny, {
1894
+ id: string;
1894
1895
  createdAt: string;
1895
1896
  updatedAt: string;
1896
- id: string;
1897
1897
  tradeId: string;
1898
1898
  mainTrade: boolean;
1899
1899
  }, {
1900
+ id: string;
1900
1901
  createdAt: string | Date;
1901
1902
  updatedAt: string | Date;
1902
- id: string;
1903
1903
  tradeId: string;
1904
1904
  mainTrade: boolean;
1905
1905
  }>, "many">>>;
@@ -1914,9 +1914,9 @@ export declare const curatedWorkersContract: {
1914
1914
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1915
1915
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1916
1916
  }, "strip", z.ZodTypeAny, {
1917
+ id: string;
1917
1918
  createdAt: string;
1918
1919
  updatedAt: string;
1919
- id: string;
1920
1920
  qualificationId: string;
1921
1921
  qualificationTypeId: string | null;
1922
1922
  issueDate: string | null;
@@ -1924,9 +1924,9 @@ export declare const curatedWorkersContract: {
1924
1924
  referenceNumber: string | null;
1925
1925
  proofDocumentFileId: string | null;
1926
1926
  }, {
1927
+ id: string;
1927
1928
  createdAt: string | Date;
1928
1929
  updatedAt: string | Date;
1929
- id: string;
1930
1930
  qualificationId: string;
1931
1931
  qualificationTypeId: string | null;
1932
1932
  issueDate: string | Date | null;
@@ -1943,53 +1943,53 @@ export declare const curatedWorkersContract: {
1943
1943
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1944
1944
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1945
1945
  }, "strip", z.ZodTypeAny, {
1946
- createdAt: string;
1947
- updatedAt: string;
1946
+ id: string;
1948
1947
  phoneNumber: string;
1949
1948
  isPrimary: boolean;
1950
- id: string;
1949
+ createdAt: string;
1950
+ updatedAt: string;
1951
1951
  description?: string | null | undefined;
1952
1952
  }, {
1953
+ id: string;
1954
+ phoneNumber: string;
1953
1955
  createdAt: string | Date;
1954
1956
  updatedAt: string | Date;
1955
- phoneNumber: string;
1956
- id: string;
1957
1957
  description?: string | null | undefined;
1958
1958
  isPrimary?: boolean | undefined;
1959
1959
  }>, "many">>>;
1960
1960
  }, "strip", z.ZodTypeAny, {
1961
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1961
+ id: string;
1962
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
1962
1963
  createdAt: string;
1963
1964
  updatedAt: string;
1964
- id: string;
1965
1965
  firstName: string;
1966
1966
  lastName: string;
1967
1967
  hasTools: boolean;
1968
1968
  hasPpe: boolean;
1969
- email?: string | null | undefined;
1970
1969
  rating?: number | null | undefined;
1970
+ email?: string | null | undefined;
1971
1971
  phoneNumbers?: {
1972
- createdAt: string;
1973
- updatedAt: string;
1972
+ id: string;
1974
1973
  phoneNumber: string;
1975
1974
  isPrimary: boolean;
1976
- id: string;
1975
+ createdAt: string;
1976
+ updatedAt: string;
1977
1977
  description?: string | null | undefined;
1978
1978
  }[] | null | undefined;
1979
1979
  nino?: string | null | undefined;
1980
1980
  dateOfBirth?: string | null | undefined;
1981
1981
  bio?: string | null | undefined;
1982
1982
  trades?: {
1983
+ id: string;
1983
1984
  createdAt: string;
1984
1985
  updatedAt: string;
1985
- id: string;
1986
1986
  tradeId: string;
1987
1987
  mainTrade: boolean;
1988
1988
  }[] | null | undefined;
1989
1989
  qualifications?: {
1990
+ id: string;
1990
1991
  createdAt: string;
1991
1992
  updatedAt: string;
1992
- id: string;
1993
1993
  qualificationId: string;
1994
1994
  qualificationTypeId: string | null;
1995
1995
  issueDate: string | null;
@@ -2009,21 +2009,21 @@ export declare const curatedWorkersContract: {
2009
2009
  areaCovered?: string | null | undefined;
2010
2010
  } | null | undefined;
2011
2011
  }, {
2012
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2012
+ id: string;
2013
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
2013
2014
  createdAt: string | Date;
2014
2015
  updatedAt: string | Date;
2015
- id: string;
2016
2016
  firstName: string;
2017
2017
  lastName: string;
2018
2018
  hasTools: boolean;
2019
2019
  hasPpe: boolean;
2020
- email?: string | null | undefined;
2021
2020
  rating?: number | null | undefined;
2021
+ email?: string | null | undefined;
2022
2022
  phoneNumbers?: {
2023
+ id: string;
2024
+ phoneNumber: string;
2023
2025
  createdAt: string | Date;
2024
2026
  updatedAt: string | Date;
2025
- phoneNumber: string;
2026
- id: string;
2027
2027
  description?: string | null | undefined;
2028
2028
  isPrimary?: boolean | undefined;
2029
2029
  }[] | null | undefined;
@@ -2031,16 +2031,16 @@ export declare const curatedWorkersContract: {
2031
2031
  dateOfBirth?: string | Date | null | undefined;
2032
2032
  bio?: string | null | undefined;
2033
2033
  trades?: {
2034
+ id: string;
2034
2035
  createdAt: string | Date;
2035
2036
  updatedAt: string | Date;
2036
- id: string;
2037
2037
  tradeId: string;
2038
2038
  mainTrade: boolean;
2039
2039
  }[] | null | undefined;
2040
2040
  qualifications?: {
2041
+ id: string;
2041
2042
  createdAt: string | Date;
2042
2043
  updatedAt: string | Date;
2043
- id: string;
2044
2044
  qualificationId: string;
2045
2045
  qualificationTypeId: string | null;
2046
2046
  issueDate: string | Date | null;
@@ -2066,39 +2066,40 @@ export declare const curatedWorkersContract: {
2066
2066
  currentPage: z.ZodNumber;
2067
2067
  totalPages: z.ZodNumber;
2068
2068
  }, "strip", z.ZodTypeAny, {
2069
+ limit: number;
2069
2070
  items: {
2070
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2071
+ id: string;
2072
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
2071
2073
  createdAt: string;
2072
2074
  updatedAt: string;
2073
- id: string;
2074
2075
  firstName: string;
2075
2076
  lastName: string;
2076
2077
  hasTools: boolean;
2077
2078
  hasPpe: boolean;
2078
- email?: string | null | undefined;
2079
2079
  rating?: number | null | undefined;
2080
+ email?: string | null | undefined;
2080
2081
  phoneNumbers?: {
2081
- createdAt: string;
2082
- updatedAt: string;
2082
+ id: string;
2083
2083
  phoneNumber: string;
2084
2084
  isPrimary: boolean;
2085
- id: string;
2085
+ createdAt: string;
2086
+ updatedAt: string;
2086
2087
  description?: string | null | undefined;
2087
2088
  }[] | null | undefined;
2088
2089
  nino?: string | null | undefined;
2089
2090
  dateOfBirth?: string | null | undefined;
2090
2091
  bio?: string | null | undefined;
2091
2092
  trades?: {
2093
+ id: string;
2092
2094
  createdAt: string;
2093
2095
  updatedAt: string;
2094
- id: string;
2095
2096
  tradeId: string;
2096
2097
  mainTrade: boolean;
2097
2098
  }[] | null | undefined;
2098
2099
  qualifications?: {
2100
+ id: string;
2099
2101
  createdAt: string;
2100
2102
  updatedAt: string;
2101
- id: string;
2102
2103
  qualificationId: string;
2103
2104
  qualificationTypeId: string | null;
2104
2105
  issueDate: string | null;
@@ -2119,27 +2120,27 @@ export declare const curatedWorkersContract: {
2119
2120
  } | null | undefined;
2120
2121
  }[];
2121
2122
  totalCount: number;
2122
- limit: number;
2123
2123
  skip: number;
2124
2124
  currentPage: number;
2125
2125
  totalPages: number;
2126
2126
  }, {
2127
+ limit: number;
2127
2128
  items: {
2128
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2129
+ id: string;
2130
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
2129
2131
  createdAt: string | Date;
2130
2132
  updatedAt: string | Date;
2131
- id: string;
2132
2133
  firstName: string;
2133
2134
  lastName: string;
2134
2135
  hasTools: boolean;
2135
2136
  hasPpe: boolean;
2136
- email?: string | null | undefined;
2137
2137
  rating?: number | null | undefined;
2138
+ email?: string | null | undefined;
2138
2139
  phoneNumbers?: {
2140
+ id: string;
2141
+ phoneNumber: string;
2139
2142
  createdAt: string | Date;
2140
2143
  updatedAt: string | Date;
2141
- phoneNumber: string;
2142
- id: string;
2143
2144
  description?: string | null | undefined;
2144
2145
  isPrimary?: boolean | undefined;
2145
2146
  }[] | null | undefined;
@@ -2147,16 +2148,16 @@ export declare const curatedWorkersContract: {
2147
2148
  dateOfBirth?: string | Date | null | undefined;
2148
2149
  bio?: string | null | undefined;
2149
2150
  trades?: {
2151
+ id: string;
2150
2152
  createdAt: string | Date;
2151
2153
  updatedAt: string | Date;
2152
- id: string;
2153
2154
  tradeId: string;
2154
2155
  mainTrade: boolean;
2155
2156
  }[] | null | undefined;
2156
2157
  qualifications?: {
2158
+ id: string;
2157
2159
  createdAt: string | Date;
2158
2160
  updatedAt: string | Date;
2159
- id: string;
2160
2161
  qualificationId: string;
2161
2162
  qualificationTypeId: string | null;
2162
2163
  issueDate: string | Date | null;
@@ -2177,7 +2178,6 @@ export declare const curatedWorkersContract: {
2177
2178
  } | null | undefined;
2178
2179
  }[];
2179
2180
  totalCount: number;
2180
- limit: number;
2181
2181
  skip: number;
2182
2182
  currentPage: number;
2183
2183
  totalPages: number;
@@ -2347,15 +2347,15 @@ export declare const curatedWorkersContract: {
2347
2347
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2348
2348
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2349
2349
  }, "strip", z.ZodTypeAny, {
2350
+ id: string;
2350
2351
  createdAt: string;
2351
2352
  updatedAt: string;
2352
- id: string;
2353
2353
  tradeId: string;
2354
2354
  mainTrade: boolean;
2355
2355
  }, {
2356
+ id: string;
2356
2357
  createdAt: string | Date;
2357
2358
  updatedAt: string | Date;
2358
- id: string;
2359
2359
  tradeId: string;
2360
2360
  mainTrade: boolean;
2361
2361
  }>, "many">>>;
@@ -2370,9 +2370,9 @@ export declare const curatedWorkersContract: {
2370
2370
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2371
2371
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
+ id: string;
2373
2374
  createdAt: string;
2374
2375
  updatedAt: string;
2375
- id: string;
2376
2376
  qualificationId: string;
2377
2377
  qualificationTypeId: string | null;
2378
2378
  issueDate: string | null;
@@ -2380,9 +2380,9 @@ export declare const curatedWorkersContract: {
2380
2380
  referenceNumber: string | null;
2381
2381
  proofDocumentFileId: string | null;
2382
2382
  }, {
2383
+ id: string;
2383
2384
  createdAt: string | Date;
2384
2385
  updatedAt: string | Date;
2385
- id: string;
2386
2386
  qualificationId: string;
2387
2387
  qualificationTypeId: string | null;
2388
2388
  issueDate: string | Date | null;
@@ -2399,53 +2399,53 @@ export declare const curatedWorkersContract: {
2399
2399
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2400
2400
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2401
2401
  }, "strip", z.ZodTypeAny, {
2402
- createdAt: string;
2403
- updatedAt: string;
2402
+ id: string;
2404
2403
  phoneNumber: string;
2405
2404
  isPrimary: boolean;
2406
- id: string;
2405
+ createdAt: string;
2406
+ updatedAt: string;
2407
2407
  description?: string | null | undefined;
2408
2408
  }, {
2409
+ id: string;
2410
+ phoneNumber: string;
2409
2411
  createdAt: string | Date;
2410
2412
  updatedAt: string | Date;
2411
- phoneNumber: string;
2412
- id: string;
2413
2413
  description?: string | null | undefined;
2414
2414
  isPrimary?: boolean | undefined;
2415
2415
  }>, "many">>>;
2416
2416
  }, "strip", z.ZodTypeAny, {
2417
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2417
+ id: string;
2418
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
2418
2419
  createdAt: string;
2419
2420
  updatedAt: string;
2420
- id: string;
2421
2421
  firstName: string;
2422
2422
  lastName: string;
2423
2423
  hasTools: boolean;
2424
2424
  hasPpe: boolean;
2425
- email?: string | null | undefined;
2426
2425
  rating?: number | null | undefined;
2426
+ email?: string | null | undefined;
2427
2427
  phoneNumbers?: {
2428
- createdAt: string;
2429
- updatedAt: string;
2428
+ id: string;
2430
2429
  phoneNumber: string;
2431
2430
  isPrimary: boolean;
2432
- id: string;
2431
+ createdAt: string;
2432
+ updatedAt: string;
2433
2433
  description?: string | null | undefined;
2434
2434
  }[] | null | undefined;
2435
2435
  nino?: string | null | undefined;
2436
2436
  dateOfBirth?: string | null | undefined;
2437
2437
  bio?: string | null | undefined;
2438
2438
  trades?: {
2439
+ id: string;
2439
2440
  createdAt: string;
2440
2441
  updatedAt: string;
2441
- id: string;
2442
2442
  tradeId: string;
2443
2443
  mainTrade: boolean;
2444
2444
  }[] | null | undefined;
2445
2445
  qualifications?: {
2446
+ id: string;
2446
2447
  createdAt: string;
2447
2448
  updatedAt: string;
2448
- id: string;
2449
2449
  qualificationId: string;
2450
2450
  qualificationTypeId: string | null;
2451
2451
  issueDate: string | null;
@@ -2465,21 +2465,21 @@ export declare const curatedWorkersContract: {
2465
2465
  areaCovered?: string | null | undefined;
2466
2466
  } | null | undefined;
2467
2467
  }, {
2468
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2468
+ id: string;
2469
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
2469
2470
  createdAt: string | Date;
2470
2471
  updatedAt: string | Date;
2471
- id: string;
2472
2472
  firstName: string;
2473
2473
  lastName: string;
2474
2474
  hasTools: boolean;
2475
2475
  hasPpe: boolean;
2476
- email?: string | null | undefined;
2477
2476
  rating?: number | null | undefined;
2477
+ email?: string | null | undefined;
2478
2478
  phoneNumbers?: {
2479
+ id: string;
2480
+ phoneNumber: string;
2479
2481
  createdAt: string | Date;
2480
2482
  updatedAt: string | Date;
2481
- phoneNumber: string;
2482
- id: string;
2483
2483
  description?: string | null | undefined;
2484
2484
  isPrimary?: boolean | undefined;
2485
2485
  }[] | null | undefined;
@@ -2487,16 +2487,16 @@ export declare const curatedWorkersContract: {
2487
2487
  dateOfBirth?: string | Date | null | undefined;
2488
2488
  bio?: string | null | undefined;
2489
2489
  trades?: {
2490
+ id: string;
2490
2491
  createdAt: string | Date;
2491
2492
  updatedAt: string | Date;
2492
- id: string;
2493
2493
  tradeId: string;
2494
2494
  mainTrade: boolean;
2495
2495
  }[] | null | undefined;
2496
2496
  qualifications?: {
2497
+ id: string;
2497
2498
  createdAt: string | Date;
2498
2499
  updatedAt: string | Date;
2499
- id: string;
2500
2500
  qualificationId: string;
2501
2501
  qualificationTypeId: string | null;
2502
2502
  issueDate: string | Date | null;
@@ -2622,37 +2622,37 @@ export declare const curatedWorkersContract: {
2622
2622
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2623
2623
  isPrimary: z.ZodOptional<z.ZodBoolean>;
2624
2624
  }, "strip", z.ZodTypeAny, {
2625
+ id?: string | undefined;
2625
2626
  phoneNumber?: string | undefined;
2626
2627
  description?: string | null | undefined;
2627
2628
  isPrimary?: boolean | undefined;
2628
- id?: string | undefined;
2629
2629
  }, {
2630
+ id?: string | undefined;
2630
2631
  phoneNumber?: string | undefined;
2631
2632
  description?: string | null | undefined;
2632
2633
  isPrimary?: boolean | undefined;
2633
- id?: string | undefined;
2634
2634
  }>, {
2635
+ id?: string | undefined;
2635
2636
  phoneNumber?: string | undefined;
2636
2637
  description?: string | null | undefined;
2637
2638
  isPrimary?: boolean | undefined;
2638
- id?: string | undefined;
2639
2639
  }, {
2640
+ id?: string | undefined;
2640
2641
  phoneNumber?: string | undefined;
2641
2642
  description?: string | null | undefined;
2642
2643
  isPrimary?: boolean | undefined;
2643
- id?: string | undefined;
2644
2644
  }>, "many">>>;
2645
2645
  }, "strip", z.ZodTypeAny, {
2646
- email?: string | null | undefined;
2647
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
2646
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
2648
2647
  rating?: number | null | undefined;
2649
2648
  firstName?: string | undefined;
2650
2649
  lastName?: string | undefined;
2650
+ email?: string | null | undefined;
2651
2651
  phoneNumbers?: {
2652
+ id?: string | undefined;
2652
2653
  phoneNumber?: string | undefined;
2653
2654
  description?: string | null | undefined;
2654
2655
  isPrimary?: boolean | undefined;
2655
- id?: string | undefined;
2656
2656
  }[] | null | undefined;
2657
2657
  nino?: string | null | undefined;
2658
2658
  dateOfBirth?: string | null | undefined;
@@ -2679,16 +2679,16 @@ export declare const curatedWorkersContract: {
2679
2679
  postcode?: string | null | undefined;
2680
2680
  } | null | undefined;
2681
2681
  }, {
2682
- email?: string | null | undefined;
2683
- status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
2682
+ status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
2684
2683
  rating?: number | null | undefined;
2685
2684
  firstName?: string | undefined;
2686
2685
  lastName?: string | undefined;
2686
+ email?: string | null | undefined;
2687
2687
  phoneNumbers?: {
2688
+ id?: string | undefined;
2688
2689
  phoneNumber?: string | undefined;
2689
2690
  description?: string | null | undefined;
2690
2691
  isPrimary?: boolean | undefined;
2691
- id?: string | undefined;
2692
2692
  }[] | null | undefined;
2693
2693
  nino?: string | null | undefined;
2694
2694
  dateOfBirth?: string | Date | null | undefined;
@@ -2865,15 +2865,15 @@ export declare const curatedWorkersContract: {
2865
2865
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2866
2866
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2867
2867
  }, "strip", z.ZodTypeAny, {
2868
+ id: string;
2868
2869
  createdAt: string;
2869
2870
  updatedAt: string;
2870
- id: string;
2871
2871
  tradeId: string;
2872
2872
  mainTrade: boolean;
2873
2873
  }, {
2874
+ id: string;
2874
2875
  createdAt: string | Date;
2875
2876
  updatedAt: string | Date;
2876
- id: string;
2877
2877
  tradeId: string;
2878
2878
  mainTrade: boolean;
2879
2879
  }>, "many">>>;
@@ -2888,9 +2888,9 @@ export declare const curatedWorkersContract: {
2888
2888
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2889
2889
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2890
2890
  }, "strip", z.ZodTypeAny, {
2891
+ id: string;
2891
2892
  createdAt: string;
2892
2893
  updatedAt: string;
2893
- id: string;
2894
2894
  qualificationId: string;
2895
2895
  qualificationTypeId: string | null;
2896
2896
  issueDate: string | null;
@@ -2898,9 +2898,9 @@ export declare const curatedWorkersContract: {
2898
2898
  referenceNumber: string | null;
2899
2899
  proofDocumentFileId: string | null;
2900
2900
  }, {
2901
+ id: string;
2901
2902
  createdAt: string | Date;
2902
2903
  updatedAt: string | Date;
2903
- id: string;
2904
2904
  qualificationId: string;
2905
2905
  qualificationTypeId: string | null;
2906
2906
  issueDate: string | Date | null;
@@ -2917,53 +2917,53 @@ export declare const curatedWorkersContract: {
2917
2917
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2918
2918
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2919
2919
  }, "strip", z.ZodTypeAny, {
2920
- createdAt: string;
2921
- updatedAt: string;
2920
+ id: string;
2922
2921
  phoneNumber: string;
2923
2922
  isPrimary: boolean;
2924
- id: string;
2923
+ createdAt: string;
2924
+ updatedAt: string;
2925
2925
  description?: string | null | undefined;
2926
2926
  }, {
2927
+ id: string;
2928
+ phoneNumber: string;
2927
2929
  createdAt: string | Date;
2928
2930
  updatedAt: string | Date;
2929
- phoneNumber: string;
2930
- id: string;
2931
2931
  description?: string | null | undefined;
2932
2932
  isPrimary?: boolean | undefined;
2933
2933
  }>, "many">>>;
2934
2934
  }, "strip", z.ZodTypeAny, {
2935
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2935
+ id: string;
2936
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
2936
2937
  createdAt: string;
2937
2938
  updatedAt: string;
2938
- id: string;
2939
2939
  firstName: string;
2940
2940
  lastName: string;
2941
2941
  hasTools: boolean;
2942
2942
  hasPpe: boolean;
2943
- email?: string | null | undefined;
2944
2943
  rating?: number | null | undefined;
2944
+ email?: string | null | undefined;
2945
2945
  phoneNumbers?: {
2946
- createdAt: string;
2947
- updatedAt: string;
2946
+ id: string;
2948
2947
  phoneNumber: string;
2949
2948
  isPrimary: boolean;
2950
- id: string;
2949
+ createdAt: string;
2950
+ updatedAt: string;
2951
2951
  description?: string | null | undefined;
2952
2952
  }[] | null | undefined;
2953
2953
  nino?: string | null | undefined;
2954
2954
  dateOfBirth?: string | null | undefined;
2955
2955
  bio?: string | null | undefined;
2956
2956
  trades?: {
2957
+ id: string;
2957
2958
  createdAt: string;
2958
2959
  updatedAt: string;
2959
- id: string;
2960
2960
  tradeId: string;
2961
2961
  mainTrade: boolean;
2962
2962
  }[] | null | undefined;
2963
2963
  qualifications?: {
2964
+ id: string;
2964
2965
  createdAt: string;
2965
2966
  updatedAt: string;
2966
- id: string;
2967
2967
  qualificationId: string;
2968
2968
  qualificationTypeId: string | null;
2969
2969
  issueDate: string | null;
@@ -2983,21 +2983,21 @@ export declare const curatedWorkersContract: {
2983
2983
  areaCovered?: string | null | undefined;
2984
2984
  } | null | undefined;
2985
2985
  }, {
2986
- status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2986
+ id: string;
2987
+ status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
2987
2988
  createdAt: string | Date;
2988
2989
  updatedAt: string | Date;
2989
- id: string;
2990
2990
  firstName: string;
2991
2991
  lastName: string;
2992
2992
  hasTools: boolean;
2993
2993
  hasPpe: boolean;
2994
- email?: string | null | undefined;
2995
2994
  rating?: number | null | undefined;
2995
+ email?: string | null | undefined;
2996
2996
  phoneNumbers?: {
2997
+ id: string;
2998
+ phoneNumber: string;
2997
2999
  createdAt: string | Date;
2998
3000
  updatedAt: string | Date;
2999
- phoneNumber: string;
3000
- id: string;
3001
3001
  description?: string | null | undefined;
3002
3002
  isPrimary?: boolean | undefined;
3003
3003
  }[] | null | undefined;
@@ -3005,16 +3005,16 @@ export declare const curatedWorkersContract: {
3005
3005
  dateOfBirth?: string | Date | null | undefined;
3006
3006
  bio?: string | null | undefined;
3007
3007
  trades?: {
3008
+ id: string;
3008
3009
  createdAt: string | Date;
3009
3010
  updatedAt: string | Date;
3010
- id: string;
3011
3011
  tradeId: string;
3012
3012
  mainTrade: boolean;
3013
3013
  }[] | null | undefined;
3014
3014
  qualifications?: {
3015
+ id: string;
3015
3016
  createdAt: string | Date;
3016
3017
  updatedAt: string | Date;
3017
- id: string;
3018
3018
  qualificationId: string;
3019
3019
  qualificationTypeId: string | null;
3020
3020
  issueDate: string | Date | null;