@dakkitor/api-contracts 1.1.73 → 1.1.75
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 +2959 -2199
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +416 -416
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +2634 -1894
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +0 -2
- package/dist/call-history/call-history.contract.d.ts +409 -409
- package/dist/client-contacts/client-contacts.contract.d.ts +231 -231
- package/dist/clients/clients.contract.d.ts +98 -98
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1269 -749
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1069 -609
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -11
- package/dist/common/common-schemas.d.ts +0 -17
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -9
- package/dist/companies/companies.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
- package/dist/jobs/jobs.contract.d.ts +1053 -533
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +111 -111
- package/dist/leads/leads.contract.d.ts +101 -101
- package/dist/users/users.contract.d.ts +132 -132
- package/dist/workers/workers.contract.d.ts +200 -200
- package/package.json +1 -1
|
@@ -25,13 +25,13 @@ export declare const UpdateCuratedWorkerPhoneNumberSchema: z.ZodObject<{
|
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
phoneNumber: string;
|
|
27
27
|
isPrimary: boolean;
|
|
28
|
-
description?: string | null | undefined;
|
|
29
28
|
id?: string | undefined;
|
|
29
|
+
description?: string | null | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
phoneNumber: string;
|
|
32
32
|
isPrimary: boolean;
|
|
33
|
-
description?: string | null | undefined;
|
|
34
33
|
id?: string | undefined;
|
|
34
|
+
description?: string | null | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export declare const CuratedWorkerPhoneNumberSchema: z.ZodObject<{
|
|
37
37
|
phoneNumber: z.ZodString;
|
|
@@ -42,18 +42,18 @@ export declare const CuratedWorkerPhoneNumberSchema: z.ZodObject<{
|
|
|
42
42
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
43
43
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
id: string;
|
|
45
46
|
createdAt: string;
|
|
46
47
|
updatedAt: string;
|
|
47
48
|
phoneNumber: string;
|
|
48
49
|
isPrimary: boolean;
|
|
49
|
-
id: string;
|
|
50
50
|
description?: string | null | undefined;
|
|
51
51
|
}, {
|
|
52
|
+
id: string;
|
|
52
53
|
createdAt: string | Date;
|
|
53
54
|
updatedAt: string | Date;
|
|
54
55
|
phoneNumber: string;
|
|
55
56
|
isPrimary: boolean;
|
|
56
|
-
id: string;
|
|
57
57
|
description?: string | null | undefined;
|
|
58
58
|
}>;
|
|
59
59
|
export declare const CuratedWorkerTradeSchema: z.ZodObject<{
|
|
@@ -73,15 +73,15 @@ export declare const CuratedWorkerTradeResponseSchema: z.ZodObject<{
|
|
|
73
73
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
74
74
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
id: string;
|
|
76
77
|
createdAt: string;
|
|
77
78
|
updatedAt: string;
|
|
78
|
-
id: string;
|
|
79
79
|
tradeId: string;
|
|
80
80
|
mainTrade: boolean;
|
|
81
81
|
}, {
|
|
82
|
+
id: string;
|
|
82
83
|
createdAt: string | Date;
|
|
83
84
|
updatedAt: string | Date;
|
|
84
|
-
id: string;
|
|
85
85
|
tradeId: string;
|
|
86
86
|
mainTrade: boolean;
|
|
87
87
|
}>;
|
|
@@ -144,9 +144,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
|
|
|
144
144
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
145
145
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
id: string;
|
|
147
148
|
createdAt: string;
|
|
148
149
|
updatedAt: string;
|
|
149
|
-
id: string;
|
|
150
150
|
qualificationId: string;
|
|
151
151
|
qualificationTypeId: string | null;
|
|
152
152
|
issueDate: string | null;
|
|
@@ -154,9 +154,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
|
|
|
154
154
|
referenceNumber: string | null;
|
|
155
155
|
proofDocumentFileId: string | null;
|
|
156
156
|
}, {
|
|
157
|
+
id: string;
|
|
157
158
|
createdAt: string | Date;
|
|
158
159
|
updatedAt: string | Date;
|
|
159
|
-
id: string;
|
|
160
160
|
qualificationId: string;
|
|
161
161
|
qualificationTypeId: string | null;
|
|
162
162
|
issueDate: string | Date | null;
|
|
@@ -253,7 +253,7 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
253
253
|
postcode?: string | null | undefined;
|
|
254
254
|
}>>>;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
status: "AVAILABLE" | "
|
|
256
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
257
257
|
firstName: string;
|
|
258
258
|
lastName: string;
|
|
259
259
|
phoneNumbers: {
|
|
@@ -267,8 +267,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
267
267
|
}[];
|
|
268
268
|
hasTools: boolean;
|
|
269
269
|
hasPpe: boolean;
|
|
270
|
-
email?: string | null | undefined;
|
|
271
270
|
rating?: number | null | undefined;
|
|
271
|
+
email?: string | null | undefined;
|
|
272
272
|
nino?: string | null | undefined;
|
|
273
273
|
dateOfBirth?: string | null | undefined;
|
|
274
274
|
bio?: string | null | undefined;
|
|
@@ -300,9 +300,9 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
300
300
|
}[];
|
|
301
301
|
hasTools: boolean;
|
|
302
302
|
hasPpe: boolean;
|
|
303
|
-
|
|
304
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
303
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
305
304
|
rating?: number | null | undefined;
|
|
305
|
+
email?: string | null | undefined;
|
|
306
306
|
nino?: string | null | undefined;
|
|
307
307
|
dateOfBirth?: string | Date | null | undefined;
|
|
308
308
|
bio?: string | null | undefined;
|
|
@@ -390,25 +390,25 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
390
390
|
}, "strip", z.ZodTypeAny, {
|
|
391
391
|
phoneNumber: string;
|
|
392
392
|
isPrimary: boolean;
|
|
393
|
-
description?: string | null | undefined;
|
|
394
393
|
id?: string | undefined;
|
|
394
|
+
description?: string | null | undefined;
|
|
395
395
|
}, {
|
|
396
396
|
phoneNumber: string;
|
|
397
397
|
isPrimary: boolean;
|
|
398
|
-
description?: string | null | undefined;
|
|
399
398
|
id?: string | undefined;
|
|
399
|
+
description?: string | null | undefined;
|
|
400
400
|
}>, "many">>>;
|
|
401
401
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
-
|
|
403
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
402
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
404
403
|
rating?: number | null | undefined;
|
|
405
404
|
firstName?: string | undefined;
|
|
406
405
|
lastName?: string | undefined;
|
|
406
|
+
email?: string | null | undefined;
|
|
407
407
|
phoneNumbers?: {
|
|
408
408
|
phoneNumber: string;
|
|
409
409
|
isPrimary: boolean;
|
|
410
|
-
description?: string | null | undefined;
|
|
411
410
|
id?: string | undefined;
|
|
411
|
+
description?: string | null | undefined;
|
|
412
412
|
}[] | null | undefined;
|
|
413
413
|
nino?: string | null | undefined;
|
|
414
414
|
dateOfBirth?: string | null | undefined;
|
|
@@ -435,16 +435,16 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
435
435
|
postcode?: string | null | undefined;
|
|
436
436
|
} | null | undefined;
|
|
437
437
|
}, {
|
|
438
|
-
|
|
439
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
438
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
440
439
|
rating?: number | null | undefined;
|
|
441
440
|
firstName?: string | undefined;
|
|
442
441
|
lastName?: string | undefined;
|
|
442
|
+
email?: string | null | undefined;
|
|
443
443
|
phoneNumbers?: {
|
|
444
444
|
phoneNumber: string;
|
|
445
445
|
isPrimary: boolean;
|
|
446
|
-
description?: string | null | undefined;
|
|
447
446
|
id?: string | undefined;
|
|
447
|
+
description?: string | null | undefined;
|
|
448
448
|
}[] | null | undefined;
|
|
449
449
|
nino?: string | null | undefined;
|
|
450
450
|
dateOfBirth?: string | Date | null | undefined;
|
|
@@ -519,15 +519,15 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
519
519
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
520
520
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
521
521
|
}, "strip", z.ZodTypeAny, {
|
|
522
|
+
id: string;
|
|
522
523
|
createdAt: string;
|
|
523
524
|
updatedAt: string;
|
|
524
|
-
id: string;
|
|
525
525
|
tradeId: string;
|
|
526
526
|
mainTrade: boolean;
|
|
527
527
|
}, {
|
|
528
|
+
id: string;
|
|
528
529
|
createdAt: string | Date;
|
|
529
530
|
updatedAt: string | Date;
|
|
530
|
-
id: string;
|
|
531
531
|
tradeId: string;
|
|
532
532
|
mainTrade: boolean;
|
|
533
533
|
}>, "many">>>;
|
|
@@ -542,9 +542,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
542
542
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
543
543
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
544
544
|
}, "strip", z.ZodTypeAny, {
|
|
545
|
+
id: string;
|
|
545
546
|
createdAt: string;
|
|
546
547
|
updatedAt: string;
|
|
547
|
-
id: string;
|
|
548
548
|
qualificationId: string;
|
|
549
549
|
qualificationTypeId: string | null;
|
|
550
550
|
issueDate: string | null;
|
|
@@ -552,9 +552,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
552
552
|
referenceNumber: string | null;
|
|
553
553
|
proofDocumentFileId: string | null;
|
|
554
554
|
}, {
|
|
555
|
+
id: string;
|
|
555
556
|
createdAt: string | Date;
|
|
556
557
|
updatedAt: string | Date;
|
|
557
|
-
id: string;
|
|
558
558
|
qualificationId: string;
|
|
559
559
|
qualificationTypeId: string | null;
|
|
560
560
|
issueDate: string | Date | null;
|
|
@@ -571,53 +571,53 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
571
571
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
572
572
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
+
id: string;
|
|
574
575
|
createdAt: string;
|
|
575
576
|
updatedAt: string;
|
|
576
577
|
phoneNumber: string;
|
|
577
578
|
isPrimary: boolean;
|
|
578
|
-
id: string;
|
|
579
579
|
description?: string | null | undefined;
|
|
580
580
|
}, {
|
|
581
|
+
id: string;
|
|
581
582
|
createdAt: string | Date;
|
|
582
583
|
updatedAt: string | Date;
|
|
583
584
|
phoneNumber: string;
|
|
584
585
|
isPrimary: boolean;
|
|
585
|
-
id: string;
|
|
586
586
|
description?: string | null | undefined;
|
|
587
587
|
}>, "many">>>;
|
|
588
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
|
-
status: "AVAILABLE" | "
|
|
589
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
590
|
+
id: string;
|
|
590
591
|
createdAt: string;
|
|
591
592
|
updatedAt: string;
|
|
592
|
-
id: string;
|
|
593
593
|
firstName: string;
|
|
594
594
|
lastName: string;
|
|
595
595
|
hasTools: boolean;
|
|
596
596
|
hasPpe: boolean;
|
|
597
|
-
email?: string | null | undefined;
|
|
598
597
|
rating?: number | null | undefined;
|
|
598
|
+
email?: string | null | undefined;
|
|
599
599
|
phoneNumbers?: {
|
|
600
|
+
id: string;
|
|
600
601
|
createdAt: string;
|
|
601
602
|
updatedAt: string;
|
|
602
603
|
phoneNumber: string;
|
|
603
604
|
isPrimary: boolean;
|
|
604
|
-
id: string;
|
|
605
605
|
description?: string | null | undefined;
|
|
606
606
|
}[] | null | undefined;
|
|
607
607
|
nino?: string | null | undefined;
|
|
608
608
|
dateOfBirth?: string | null | undefined;
|
|
609
609
|
bio?: string | null | undefined;
|
|
610
610
|
trades?: {
|
|
611
|
+
id: string;
|
|
611
612
|
createdAt: string;
|
|
612
613
|
updatedAt: string;
|
|
613
|
-
id: string;
|
|
614
614
|
tradeId: string;
|
|
615
615
|
mainTrade: boolean;
|
|
616
616
|
}[] | null | undefined;
|
|
617
617
|
qualifications?: {
|
|
618
|
+
id: string;
|
|
618
619
|
createdAt: string;
|
|
619
620
|
updatedAt: string;
|
|
620
|
-
id: string;
|
|
621
621
|
qualificationId: string;
|
|
622
622
|
qualificationTypeId: string | null;
|
|
623
623
|
issueDate: string | null;
|
|
@@ -637,38 +637,38 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
637
637
|
areaCovered?: string | null | undefined;
|
|
638
638
|
} | null | undefined;
|
|
639
639
|
}, {
|
|
640
|
-
status: "AVAILABLE" | "
|
|
640
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
641
|
+
id: string;
|
|
641
642
|
createdAt: string | Date;
|
|
642
643
|
updatedAt: string | Date;
|
|
643
|
-
id: string;
|
|
644
644
|
firstName: string;
|
|
645
645
|
lastName: string;
|
|
646
646
|
hasTools: boolean;
|
|
647
647
|
hasPpe: boolean;
|
|
648
|
-
email?: string | null | undefined;
|
|
649
648
|
rating?: number | null | undefined;
|
|
649
|
+
email?: string | null | undefined;
|
|
650
650
|
phoneNumbers?: {
|
|
651
|
+
id: string;
|
|
651
652
|
createdAt: string | Date;
|
|
652
653
|
updatedAt: string | Date;
|
|
653
654
|
phoneNumber: string;
|
|
654
655
|
isPrimary: boolean;
|
|
655
|
-
id: string;
|
|
656
656
|
description?: string | null | undefined;
|
|
657
657
|
}[] | null | undefined;
|
|
658
658
|
nino?: string | null | undefined;
|
|
659
659
|
dateOfBirth?: string | Date | null | undefined;
|
|
660
660
|
bio?: string | null | undefined;
|
|
661
661
|
trades?: {
|
|
662
|
+
id: string;
|
|
662
663
|
createdAt: string | Date;
|
|
663
664
|
updatedAt: string | Date;
|
|
664
|
-
id: string;
|
|
665
665
|
tradeId: string;
|
|
666
666
|
mainTrade: boolean;
|
|
667
667
|
}[] | null | undefined;
|
|
668
668
|
qualifications?: {
|
|
669
|
+
id: string;
|
|
669
670
|
createdAt: string | Date;
|
|
670
671
|
updatedAt: string | Date;
|
|
671
|
-
id: string;
|
|
672
672
|
qualificationId: string;
|
|
673
673
|
qualificationTypeId: string | null;
|
|
674
674
|
issueDate: string | Date | null;
|
|
@@ -737,15 +737,15 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
737
737
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
738
738
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
739
739
|
}, "strip", z.ZodTypeAny, {
|
|
740
|
+
id: string;
|
|
740
741
|
createdAt: string;
|
|
741
742
|
updatedAt: string;
|
|
742
|
-
id: string;
|
|
743
743
|
tradeId: string;
|
|
744
744
|
mainTrade: boolean;
|
|
745
745
|
}, {
|
|
746
|
+
id: string;
|
|
746
747
|
createdAt: string | Date;
|
|
747
748
|
updatedAt: string | Date;
|
|
748
|
-
id: string;
|
|
749
749
|
tradeId: string;
|
|
750
750
|
mainTrade: boolean;
|
|
751
751
|
}>, "many">>>;
|
|
@@ -760,9 +760,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
760
760
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
761
761
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
+
id: string;
|
|
763
764
|
createdAt: string;
|
|
764
765
|
updatedAt: string;
|
|
765
|
-
id: string;
|
|
766
766
|
qualificationId: string;
|
|
767
767
|
qualificationTypeId: string | null;
|
|
768
768
|
issueDate: string | null;
|
|
@@ -770,9 +770,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
770
770
|
referenceNumber: string | null;
|
|
771
771
|
proofDocumentFileId: string | null;
|
|
772
772
|
}, {
|
|
773
|
+
id: string;
|
|
773
774
|
createdAt: string | Date;
|
|
774
775
|
updatedAt: string | Date;
|
|
775
|
-
id: string;
|
|
776
776
|
qualificationId: string;
|
|
777
777
|
qualificationTypeId: string | null;
|
|
778
778
|
issueDate: string | Date | null;
|
|
@@ -789,53 +789,53 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
789
789
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
790
790
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
791
791
|
}, "strip", z.ZodTypeAny, {
|
|
792
|
+
id: string;
|
|
792
793
|
createdAt: string;
|
|
793
794
|
updatedAt: string;
|
|
794
795
|
phoneNumber: string;
|
|
795
796
|
isPrimary: boolean;
|
|
796
|
-
id: string;
|
|
797
797
|
description?: string | null | undefined;
|
|
798
798
|
}, {
|
|
799
|
+
id: string;
|
|
799
800
|
createdAt: string | Date;
|
|
800
801
|
updatedAt: string | Date;
|
|
801
802
|
phoneNumber: string;
|
|
802
803
|
isPrimary: boolean;
|
|
803
|
-
id: string;
|
|
804
804
|
description?: string | null | undefined;
|
|
805
805
|
}>, "many">>>;
|
|
806
806
|
}, "strip", z.ZodTypeAny, {
|
|
807
|
-
status: "AVAILABLE" | "
|
|
807
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
808
|
+
id: string;
|
|
808
809
|
createdAt: string;
|
|
809
810
|
updatedAt: string;
|
|
810
|
-
id: string;
|
|
811
811
|
firstName: string;
|
|
812
812
|
lastName: string;
|
|
813
813
|
hasTools: boolean;
|
|
814
814
|
hasPpe: boolean;
|
|
815
|
-
email?: string | null | undefined;
|
|
816
815
|
rating?: number | null | undefined;
|
|
816
|
+
email?: string | null | undefined;
|
|
817
817
|
phoneNumbers?: {
|
|
818
|
+
id: string;
|
|
818
819
|
createdAt: string;
|
|
819
820
|
updatedAt: string;
|
|
820
821
|
phoneNumber: string;
|
|
821
822
|
isPrimary: boolean;
|
|
822
|
-
id: string;
|
|
823
823
|
description?: string | null | undefined;
|
|
824
824
|
}[] | null | undefined;
|
|
825
825
|
nino?: string | null | undefined;
|
|
826
826
|
dateOfBirth?: string | null | undefined;
|
|
827
827
|
bio?: string | null | undefined;
|
|
828
828
|
trades?: {
|
|
829
|
+
id: string;
|
|
829
830
|
createdAt: string;
|
|
830
831
|
updatedAt: string;
|
|
831
|
-
id: string;
|
|
832
832
|
tradeId: string;
|
|
833
833
|
mainTrade: boolean;
|
|
834
834
|
}[] | null | undefined;
|
|
835
835
|
qualifications?: {
|
|
836
|
+
id: string;
|
|
836
837
|
createdAt: string;
|
|
837
838
|
updatedAt: string;
|
|
838
|
-
id: string;
|
|
839
839
|
qualificationId: string;
|
|
840
840
|
qualificationTypeId: string | null;
|
|
841
841
|
issueDate: string | null;
|
|
@@ -855,38 +855,38 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
855
855
|
areaCovered?: string | null | undefined;
|
|
856
856
|
} | null | undefined;
|
|
857
857
|
}, {
|
|
858
|
-
status: "AVAILABLE" | "
|
|
858
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
859
|
+
id: string;
|
|
859
860
|
createdAt: string | Date;
|
|
860
861
|
updatedAt: string | Date;
|
|
861
|
-
id: string;
|
|
862
862
|
firstName: string;
|
|
863
863
|
lastName: string;
|
|
864
864
|
hasTools: boolean;
|
|
865
865
|
hasPpe: boolean;
|
|
866
|
-
email?: string | null | undefined;
|
|
867
866
|
rating?: number | null | undefined;
|
|
867
|
+
email?: string | null | undefined;
|
|
868
868
|
phoneNumbers?: {
|
|
869
|
+
id: string;
|
|
869
870
|
createdAt: string | Date;
|
|
870
871
|
updatedAt: string | Date;
|
|
871
872
|
phoneNumber: string;
|
|
872
873
|
isPrimary: boolean;
|
|
873
|
-
id: string;
|
|
874
874
|
description?: string | null | undefined;
|
|
875
875
|
}[] | null | undefined;
|
|
876
876
|
nino?: string | null | undefined;
|
|
877
877
|
dateOfBirth?: string | Date | null | undefined;
|
|
878
878
|
bio?: string | null | undefined;
|
|
879
879
|
trades?: {
|
|
880
|
+
id: string;
|
|
880
881
|
createdAt: string | Date;
|
|
881
882
|
updatedAt: string | Date;
|
|
882
|
-
id: string;
|
|
883
883
|
tradeId: string;
|
|
884
884
|
mainTrade: boolean;
|
|
885
885
|
}[] | null | undefined;
|
|
886
886
|
qualifications?: {
|
|
887
|
+
id: string;
|
|
887
888
|
createdAt: string | Date;
|
|
888
889
|
updatedAt: string | Date;
|
|
889
|
-
id: string;
|
|
890
890
|
qualificationId: string;
|
|
891
891
|
qualificationTypeId: string | null;
|
|
892
892
|
issueDate: string | Date | null;
|
|
@@ -912,39 +912,40 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
912
912
|
currentPage: z.ZodNumber;
|
|
913
913
|
totalPages: z.ZodNumber;
|
|
914
914
|
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
limit: number;
|
|
915
916
|
items: {
|
|
916
|
-
status: "AVAILABLE" | "
|
|
917
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
918
|
+
id: string;
|
|
917
919
|
createdAt: string;
|
|
918
920
|
updatedAt: string;
|
|
919
|
-
id: string;
|
|
920
921
|
firstName: string;
|
|
921
922
|
lastName: string;
|
|
922
923
|
hasTools: boolean;
|
|
923
924
|
hasPpe: boolean;
|
|
924
|
-
email?: string | null | undefined;
|
|
925
925
|
rating?: number | null | undefined;
|
|
926
|
+
email?: string | null | undefined;
|
|
926
927
|
phoneNumbers?: {
|
|
928
|
+
id: string;
|
|
927
929
|
createdAt: string;
|
|
928
930
|
updatedAt: string;
|
|
929
931
|
phoneNumber: string;
|
|
930
932
|
isPrimary: boolean;
|
|
931
|
-
id: string;
|
|
932
933
|
description?: string | null | undefined;
|
|
933
934
|
}[] | null | undefined;
|
|
934
935
|
nino?: string | null | undefined;
|
|
935
936
|
dateOfBirth?: string | null | undefined;
|
|
936
937
|
bio?: string | null | undefined;
|
|
937
938
|
trades?: {
|
|
939
|
+
id: string;
|
|
938
940
|
createdAt: string;
|
|
939
941
|
updatedAt: string;
|
|
940
|
-
id: string;
|
|
941
942
|
tradeId: string;
|
|
942
943
|
mainTrade: boolean;
|
|
943
944
|
}[] | null | undefined;
|
|
944
945
|
qualifications?: {
|
|
946
|
+
id: string;
|
|
945
947
|
createdAt: string;
|
|
946
948
|
updatedAt: string;
|
|
947
|
-
id: string;
|
|
948
949
|
qualificationId: string;
|
|
949
950
|
qualificationTypeId: string | null;
|
|
950
951
|
issueDate: string | null;
|
|
@@ -965,44 +966,44 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
965
966
|
} | null | undefined;
|
|
966
967
|
}[];
|
|
967
968
|
totalCount: number;
|
|
968
|
-
limit: number;
|
|
969
969
|
skip: number;
|
|
970
970
|
currentPage: number;
|
|
971
971
|
totalPages: number;
|
|
972
972
|
}, {
|
|
973
|
+
limit: number;
|
|
973
974
|
items: {
|
|
974
|
-
status: "AVAILABLE" | "
|
|
975
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
976
|
+
id: string;
|
|
975
977
|
createdAt: string | Date;
|
|
976
978
|
updatedAt: string | Date;
|
|
977
|
-
id: string;
|
|
978
979
|
firstName: string;
|
|
979
980
|
lastName: string;
|
|
980
981
|
hasTools: boolean;
|
|
981
982
|
hasPpe: boolean;
|
|
982
|
-
email?: string | null | undefined;
|
|
983
983
|
rating?: number | null | undefined;
|
|
984
|
+
email?: string | null | undefined;
|
|
984
985
|
phoneNumbers?: {
|
|
986
|
+
id: string;
|
|
985
987
|
createdAt: string | Date;
|
|
986
988
|
updatedAt: string | Date;
|
|
987
989
|
phoneNumber: string;
|
|
988
990
|
isPrimary: boolean;
|
|
989
|
-
id: string;
|
|
990
991
|
description?: string | null | undefined;
|
|
991
992
|
}[] | null | undefined;
|
|
992
993
|
nino?: string | null | undefined;
|
|
993
994
|
dateOfBirth?: string | Date | null | undefined;
|
|
994
995
|
bio?: string | null | undefined;
|
|
995
996
|
trades?: {
|
|
997
|
+
id: string;
|
|
996
998
|
createdAt: string | Date;
|
|
997
999
|
updatedAt: string | Date;
|
|
998
|
-
id: string;
|
|
999
1000
|
tradeId: string;
|
|
1000
1001
|
mainTrade: boolean;
|
|
1001
1002
|
}[] | null | undefined;
|
|
1002
1003
|
qualifications?: {
|
|
1004
|
+
id: string;
|
|
1003
1005
|
createdAt: string | Date;
|
|
1004
1006
|
updatedAt: string | Date;
|
|
1005
|
-
id: string;
|
|
1006
1007
|
qualificationId: string;
|
|
1007
1008
|
qualificationTypeId: string | null;
|
|
1008
1009
|
issueDate: string | Date | null;
|
|
@@ -1023,7 +1024,6 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
1023
1024
|
} | null | undefined;
|
|
1024
1025
|
}[];
|
|
1025
1026
|
totalCount: number;
|
|
1026
|
-
limit: number;
|
|
1027
1027
|
skip: number;
|
|
1028
1028
|
currentPage: number;
|
|
1029
1029
|
totalPages: number;
|
|
@@ -1067,46 +1067,46 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
|
|
|
1067
1067
|
limit: number;
|
|
1068
1068
|
page: number;
|
|
1069
1069
|
sortOrder: "ASC" | "DESC";
|
|
1070
|
-
|
|
1070
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1071
|
+
postcode?: string | undefined;
|
|
1072
|
+
name?: string | undefined;
|
|
1073
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1071
1074
|
email?: string | undefined;
|
|
1072
1075
|
phone?: string | undefined;
|
|
1073
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1074
1076
|
nino?: string | undefined;
|
|
1075
1077
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1076
1078
|
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;
|
|
1077
|
-
|
|
1078
|
-
name?: string | undefined;
|
|
1079
|
-
qualificationFilters?: {
|
|
1080
|
-
qualificationId?: string | undefined;
|
|
1081
|
-
qualificationTypeId?: string | undefined;
|
|
1082
|
-
}[] | undefined;
|
|
1079
|
+
distance?: number | undefined;
|
|
1083
1080
|
tradeFilters?: {
|
|
1084
1081
|
tradeId?: string | undefined;
|
|
1085
1082
|
mainTrade?: boolean | undefined;
|
|
1086
1083
|
}[] | undefined;
|
|
1087
|
-
|
|
1084
|
+
qualificationFilters?: {
|
|
1085
|
+
qualificationId?: string | undefined;
|
|
1086
|
+
qualificationTypeId?: string | undefined;
|
|
1087
|
+
}[] | undefined;
|
|
1088
1088
|
}, {
|
|
1089
|
-
|
|
1090
|
-
email?: string | undefined;
|
|
1091
|
-
phone?: string | undefined;
|
|
1092
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1093
|
-
nino?: string | undefined;
|
|
1094
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1095
|
-
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;
|
|
1089
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1096
1090
|
postcode?: string | undefined;
|
|
1097
1091
|
limit?: number | undefined;
|
|
1098
1092
|
page?: number | undefined;
|
|
1099
1093
|
name?: string | undefined;
|
|
1100
|
-
|
|
1101
|
-
qualificationId?: string | undefined;
|
|
1102
|
-
qualificationTypeId?: string | undefined;
|
|
1103
|
-
}[] | undefined;
|
|
1094
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1104
1095
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1096
|
+
email?: string | undefined;
|
|
1097
|
+
phone?: string | undefined;
|
|
1098
|
+
nino?: string | undefined;
|
|
1099
|
+
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1100
|
+
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;
|
|
1101
|
+
distance?: number | undefined;
|
|
1105
1102
|
tradeFilters?: {
|
|
1106
1103
|
tradeId?: string | undefined;
|
|
1107
1104
|
mainTrade?: unknown;
|
|
1108
1105
|
}[] | undefined;
|
|
1109
|
-
|
|
1106
|
+
qualificationFilters?: {
|
|
1107
|
+
qualificationId?: string | undefined;
|
|
1108
|
+
qualificationTypeId?: string | undefined;
|
|
1109
|
+
}[] | undefined;
|
|
1110
1110
|
}>;
|
|
1111
1111
|
export type CreateCuratedWorkerPhoneNumber = z.infer<typeof CreateCuratedWorkerPhoneNumberSchema>;
|
|
1112
1112
|
export type UpdateCuratedWorkerPhoneNumber = z.infer<typeof UpdateCuratedWorkerPhoneNumberSchema>;
|
|
@@ -1198,7 +1198,7 @@ export declare const curatedWorkersContract: {
|
|
|
1198
1198
|
postcode?: string | null | undefined;
|
|
1199
1199
|
}>>>;
|
|
1200
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1201
|
-
status: "AVAILABLE" | "
|
|
1201
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1202
1202
|
firstName: string;
|
|
1203
1203
|
lastName: string;
|
|
1204
1204
|
phoneNumbers: {
|
|
@@ -1212,8 +1212,8 @@ export declare const curatedWorkersContract: {
|
|
|
1212
1212
|
}[];
|
|
1213
1213
|
hasTools: boolean;
|
|
1214
1214
|
hasPpe: boolean;
|
|
1215
|
-
email?: string | null | undefined;
|
|
1216
1215
|
rating?: number | null | undefined;
|
|
1216
|
+
email?: string | null | undefined;
|
|
1217
1217
|
nino?: string | null | undefined;
|
|
1218
1218
|
dateOfBirth?: string | null | undefined;
|
|
1219
1219
|
bio?: string | null | undefined;
|
|
@@ -1245,9 +1245,9 @@ export declare const curatedWorkersContract: {
|
|
|
1245
1245
|
}[];
|
|
1246
1246
|
hasTools: boolean;
|
|
1247
1247
|
hasPpe: boolean;
|
|
1248
|
-
|
|
1249
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1248
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1250
1249
|
rating?: number | null | undefined;
|
|
1250
|
+
email?: string | null | undefined;
|
|
1251
1251
|
nino?: string | null | undefined;
|
|
1252
1252
|
dateOfBirth?: string | Date | null | undefined;
|
|
1253
1253
|
bio?: string | null | undefined;
|
|
@@ -1416,15 +1416,15 @@ export declare const curatedWorkersContract: {
|
|
|
1416
1416
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1417
1417
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1418
1418
|
}, "strip", z.ZodTypeAny, {
|
|
1419
|
+
id: string;
|
|
1419
1420
|
createdAt: string;
|
|
1420
1421
|
updatedAt: string;
|
|
1421
|
-
id: string;
|
|
1422
1422
|
tradeId: string;
|
|
1423
1423
|
mainTrade: boolean;
|
|
1424
1424
|
}, {
|
|
1425
|
+
id: string;
|
|
1425
1426
|
createdAt: string | Date;
|
|
1426
1427
|
updatedAt: string | Date;
|
|
1427
|
-
id: string;
|
|
1428
1428
|
tradeId: string;
|
|
1429
1429
|
mainTrade: boolean;
|
|
1430
1430
|
}>, "many">>>;
|
|
@@ -1439,9 +1439,9 @@ export declare const curatedWorkersContract: {
|
|
|
1439
1439
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1440
1440
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1441
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1442
|
+
id: string;
|
|
1442
1443
|
createdAt: string;
|
|
1443
1444
|
updatedAt: string;
|
|
1444
|
-
id: string;
|
|
1445
1445
|
qualificationId: string;
|
|
1446
1446
|
qualificationTypeId: string | null;
|
|
1447
1447
|
issueDate: string | null;
|
|
@@ -1449,9 +1449,9 @@ export declare const curatedWorkersContract: {
|
|
|
1449
1449
|
referenceNumber: string | null;
|
|
1450
1450
|
proofDocumentFileId: string | null;
|
|
1451
1451
|
}, {
|
|
1452
|
+
id: string;
|
|
1452
1453
|
createdAt: string | Date;
|
|
1453
1454
|
updatedAt: string | Date;
|
|
1454
|
-
id: string;
|
|
1455
1455
|
qualificationId: string;
|
|
1456
1456
|
qualificationTypeId: string | null;
|
|
1457
1457
|
issueDate: string | Date | null;
|
|
@@ -1468,53 +1468,53 @@ export declare const curatedWorkersContract: {
|
|
|
1468
1468
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1469
1469
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1470
1470
|
}, "strip", z.ZodTypeAny, {
|
|
1471
|
+
id: string;
|
|
1471
1472
|
createdAt: string;
|
|
1472
1473
|
updatedAt: string;
|
|
1473
1474
|
phoneNumber: string;
|
|
1474
1475
|
isPrimary: boolean;
|
|
1475
|
-
id: string;
|
|
1476
1476
|
description?: string | null | undefined;
|
|
1477
1477
|
}, {
|
|
1478
|
+
id: string;
|
|
1478
1479
|
createdAt: string | Date;
|
|
1479
1480
|
updatedAt: string | Date;
|
|
1480
1481
|
phoneNumber: string;
|
|
1481
1482
|
isPrimary: boolean;
|
|
1482
|
-
id: string;
|
|
1483
1483
|
description?: string | null | undefined;
|
|
1484
1484
|
}>, "many">>>;
|
|
1485
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
status: "AVAILABLE" | "
|
|
1486
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1487
|
+
id: string;
|
|
1487
1488
|
createdAt: string;
|
|
1488
1489
|
updatedAt: string;
|
|
1489
|
-
id: string;
|
|
1490
1490
|
firstName: string;
|
|
1491
1491
|
lastName: string;
|
|
1492
1492
|
hasTools: boolean;
|
|
1493
1493
|
hasPpe: boolean;
|
|
1494
|
-
email?: string | null | undefined;
|
|
1495
1494
|
rating?: number | null | undefined;
|
|
1495
|
+
email?: string | null | undefined;
|
|
1496
1496
|
phoneNumbers?: {
|
|
1497
|
+
id: string;
|
|
1497
1498
|
createdAt: string;
|
|
1498
1499
|
updatedAt: string;
|
|
1499
1500
|
phoneNumber: string;
|
|
1500
1501
|
isPrimary: boolean;
|
|
1501
|
-
id: string;
|
|
1502
1502
|
description?: string | null | undefined;
|
|
1503
1503
|
}[] | null | undefined;
|
|
1504
1504
|
nino?: string | null | undefined;
|
|
1505
1505
|
dateOfBirth?: string | null | undefined;
|
|
1506
1506
|
bio?: string | null | undefined;
|
|
1507
1507
|
trades?: {
|
|
1508
|
+
id: string;
|
|
1508
1509
|
createdAt: string;
|
|
1509
1510
|
updatedAt: string;
|
|
1510
|
-
id: string;
|
|
1511
1511
|
tradeId: string;
|
|
1512
1512
|
mainTrade: boolean;
|
|
1513
1513
|
}[] | null | undefined;
|
|
1514
1514
|
qualifications?: {
|
|
1515
|
+
id: string;
|
|
1515
1516
|
createdAt: string;
|
|
1516
1517
|
updatedAt: string;
|
|
1517
|
-
id: string;
|
|
1518
1518
|
qualificationId: string;
|
|
1519
1519
|
qualificationTypeId: string | null;
|
|
1520
1520
|
issueDate: string | null;
|
|
@@ -1534,38 +1534,38 @@ export declare const curatedWorkersContract: {
|
|
|
1534
1534
|
areaCovered?: string | null | undefined;
|
|
1535
1535
|
} | null | undefined;
|
|
1536
1536
|
}, {
|
|
1537
|
-
status: "AVAILABLE" | "
|
|
1537
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1538
|
+
id: string;
|
|
1538
1539
|
createdAt: string | Date;
|
|
1539
1540
|
updatedAt: string | Date;
|
|
1540
|
-
id: string;
|
|
1541
1541
|
firstName: string;
|
|
1542
1542
|
lastName: string;
|
|
1543
1543
|
hasTools: boolean;
|
|
1544
1544
|
hasPpe: boolean;
|
|
1545
|
-
email?: string | null | undefined;
|
|
1546
1545
|
rating?: number | null | undefined;
|
|
1546
|
+
email?: string | null | undefined;
|
|
1547
1547
|
phoneNumbers?: {
|
|
1548
|
+
id: string;
|
|
1548
1549
|
createdAt: string | Date;
|
|
1549
1550
|
updatedAt: string | Date;
|
|
1550
1551
|
phoneNumber: string;
|
|
1551
1552
|
isPrimary: boolean;
|
|
1552
|
-
id: string;
|
|
1553
1553
|
description?: string | null | undefined;
|
|
1554
1554
|
}[] | null | undefined;
|
|
1555
1555
|
nino?: string | null | undefined;
|
|
1556
1556
|
dateOfBirth?: string | Date | null | undefined;
|
|
1557
1557
|
bio?: string | null | undefined;
|
|
1558
1558
|
trades?: {
|
|
1559
|
+
id: string;
|
|
1559
1560
|
createdAt: string | Date;
|
|
1560
1561
|
updatedAt: string | Date;
|
|
1561
|
-
id: string;
|
|
1562
1562
|
tradeId: string;
|
|
1563
1563
|
mainTrade: boolean;
|
|
1564
1564
|
}[] | null | undefined;
|
|
1565
1565
|
qualifications?: {
|
|
1566
|
+
id: string;
|
|
1566
1567
|
createdAt: string | Date;
|
|
1567
1568
|
updatedAt: string | Date;
|
|
1568
|
-
id: string;
|
|
1569
1569
|
qualificationId: string;
|
|
1570
1570
|
qualificationTypeId: string | null;
|
|
1571
1571
|
issueDate: string | Date | null;
|
|
@@ -1613,9 +1613,6 @@ export declare const curatedWorkersContract: {
|
|
|
1613
1613
|
};
|
|
1614
1614
|
};
|
|
1615
1615
|
findAll: {
|
|
1616
|
-
metadata: {
|
|
1617
|
-
tags: string[];
|
|
1618
|
-
};
|
|
1619
1616
|
query: z.ZodObject<{
|
|
1620
1617
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1621
1618
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1655,47 +1652,50 @@ export declare const curatedWorkersContract: {
|
|
|
1655
1652
|
limit: number;
|
|
1656
1653
|
page: number;
|
|
1657
1654
|
sortOrder: "ASC" | "DESC";
|
|
1658
|
-
|
|
1655
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1656
|
+
postcode?: string | undefined;
|
|
1657
|
+
name?: string | undefined;
|
|
1658
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1659
1659
|
email?: string | undefined;
|
|
1660
1660
|
phone?: string | undefined;
|
|
1661
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1662
1661
|
nino?: string | undefined;
|
|
1663
1662
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1664
1663
|
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;
|
|
1665
|
-
|
|
1666
|
-
name?: string | undefined;
|
|
1667
|
-
qualificationFilters?: {
|
|
1668
|
-
qualificationId?: string | undefined;
|
|
1669
|
-
qualificationTypeId?: string | undefined;
|
|
1670
|
-
}[] | undefined;
|
|
1664
|
+
distance?: number | undefined;
|
|
1671
1665
|
tradeFilters?: {
|
|
1672
1666
|
tradeId?: string | undefined;
|
|
1673
1667
|
mainTrade?: boolean | undefined;
|
|
1674
1668
|
}[] | undefined;
|
|
1675
|
-
|
|
1669
|
+
qualificationFilters?: {
|
|
1670
|
+
qualificationId?: string | undefined;
|
|
1671
|
+
qualificationTypeId?: string | undefined;
|
|
1672
|
+
}[] | undefined;
|
|
1676
1673
|
}, {
|
|
1677
|
-
|
|
1678
|
-
email?: string | undefined;
|
|
1679
|
-
phone?: string | undefined;
|
|
1680
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1681
|
-
nino?: string | undefined;
|
|
1682
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1683
|
-
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;
|
|
1674
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1684
1675
|
postcode?: string | undefined;
|
|
1685
1676
|
limit?: number | undefined;
|
|
1686
1677
|
page?: number | undefined;
|
|
1687
1678
|
name?: string | undefined;
|
|
1688
|
-
|
|
1689
|
-
qualificationId?: string | undefined;
|
|
1690
|
-
qualificationTypeId?: string | undefined;
|
|
1691
|
-
}[] | undefined;
|
|
1679
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1692
1680
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1681
|
+
email?: string | undefined;
|
|
1682
|
+
phone?: string | undefined;
|
|
1683
|
+
nino?: string | undefined;
|
|
1684
|
+
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1685
|
+
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;
|
|
1686
|
+
distance?: number | undefined;
|
|
1693
1687
|
tradeFilters?: {
|
|
1694
1688
|
tradeId?: string | undefined;
|
|
1695
1689
|
mainTrade?: unknown;
|
|
1696
1690
|
}[] | undefined;
|
|
1697
|
-
|
|
1691
|
+
qualificationFilters?: {
|
|
1692
|
+
qualificationId?: string | undefined;
|
|
1693
|
+
qualificationTypeId?: string | undefined;
|
|
1694
|
+
}[] | undefined;
|
|
1698
1695
|
}>;
|
|
1696
|
+
metadata: {
|
|
1697
|
+
tags: string[];
|
|
1698
|
+
};
|
|
1699
1699
|
summary: "Find all curated workers";
|
|
1700
1700
|
method: "GET";
|
|
1701
1701
|
path: "/v2/curated-workers";
|
|
@@ -1849,15 +1849,15 @@ export declare const curatedWorkersContract: {
|
|
|
1849
1849
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1850
1850
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1851
1851
|
}, "strip", z.ZodTypeAny, {
|
|
1852
|
+
id: string;
|
|
1852
1853
|
createdAt: string;
|
|
1853
1854
|
updatedAt: string;
|
|
1854
|
-
id: string;
|
|
1855
1855
|
tradeId: string;
|
|
1856
1856
|
mainTrade: boolean;
|
|
1857
1857
|
}, {
|
|
1858
|
+
id: string;
|
|
1858
1859
|
createdAt: string | Date;
|
|
1859
1860
|
updatedAt: string | Date;
|
|
1860
|
-
id: string;
|
|
1861
1861
|
tradeId: string;
|
|
1862
1862
|
mainTrade: boolean;
|
|
1863
1863
|
}>, "many">>>;
|
|
@@ -1872,9 +1872,9 @@ export declare const curatedWorkersContract: {
|
|
|
1872
1872
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1873
1873
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1874
1874
|
}, "strip", z.ZodTypeAny, {
|
|
1875
|
+
id: string;
|
|
1875
1876
|
createdAt: string;
|
|
1876
1877
|
updatedAt: string;
|
|
1877
|
-
id: string;
|
|
1878
1878
|
qualificationId: string;
|
|
1879
1879
|
qualificationTypeId: string | null;
|
|
1880
1880
|
issueDate: string | null;
|
|
@@ -1882,9 +1882,9 @@ export declare const curatedWorkersContract: {
|
|
|
1882
1882
|
referenceNumber: string | null;
|
|
1883
1883
|
proofDocumentFileId: string | null;
|
|
1884
1884
|
}, {
|
|
1885
|
+
id: string;
|
|
1885
1886
|
createdAt: string | Date;
|
|
1886
1887
|
updatedAt: string | Date;
|
|
1887
|
-
id: string;
|
|
1888
1888
|
qualificationId: string;
|
|
1889
1889
|
qualificationTypeId: string | null;
|
|
1890
1890
|
issueDate: string | Date | null;
|
|
@@ -1901,53 +1901,53 @@ export declare const curatedWorkersContract: {
|
|
|
1901
1901
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1902
1902
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1903
1903
|
}, "strip", z.ZodTypeAny, {
|
|
1904
|
+
id: string;
|
|
1904
1905
|
createdAt: string;
|
|
1905
1906
|
updatedAt: string;
|
|
1906
1907
|
phoneNumber: string;
|
|
1907
1908
|
isPrimary: boolean;
|
|
1908
|
-
id: string;
|
|
1909
1909
|
description?: string | null | undefined;
|
|
1910
1910
|
}, {
|
|
1911
|
+
id: string;
|
|
1911
1912
|
createdAt: string | Date;
|
|
1912
1913
|
updatedAt: string | Date;
|
|
1913
1914
|
phoneNumber: string;
|
|
1914
1915
|
isPrimary: boolean;
|
|
1915
|
-
id: string;
|
|
1916
1916
|
description?: string | null | undefined;
|
|
1917
1917
|
}>, "many">>>;
|
|
1918
1918
|
}, "strip", z.ZodTypeAny, {
|
|
1919
|
-
status: "AVAILABLE" | "
|
|
1919
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1920
|
+
id: string;
|
|
1920
1921
|
createdAt: string;
|
|
1921
1922
|
updatedAt: string;
|
|
1922
|
-
id: string;
|
|
1923
1923
|
firstName: string;
|
|
1924
1924
|
lastName: string;
|
|
1925
1925
|
hasTools: boolean;
|
|
1926
1926
|
hasPpe: boolean;
|
|
1927
|
-
email?: string | null | undefined;
|
|
1928
1927
|
rating?: number | null | undefined;
|
|
1928
|
+
email?: string | null | undefined;
|
|
1929
1929
|
phoneNumbers?: {
|
|
1930
|
+
id: string;
|
|
1930
1931
|
createdAt: string;
|
|
1931
1932
|
updatedAt: string;
|
|
1932
1933
|
phoneNumber: string;
|
|
1933
1934
|
isPrimary: boolean;
|
|
1934
|
-
id: string;
|
|
1935
1935
|
description?: string | null | undefined;
|
|
1936
1936
|
}[] | null | undefined;
|
|
1937
1937
|
nino?: string | null | undefined;
|
|
1938
1938
|
dateOfBirth?: string | null | undefined;
|
|
1939
1939
|
bio?: string | null | undefined;
|
|
1940
1940
|
trades?: {
|
|
1941
|
+
id: string;
|
|
1941
1942
|
createdAt: string;
|
|
1942
1943
|
updatedAt: string;
|
|
1943
|
-
id: string;
|
|
1944
1944
|
tradeId: string;
|
|
1945
1945
|
mainTrade: boolean;
|
|
1946
1946
|
}[] | null | undefined;
|
|
1947
1947
|
qualifications?: {
|
|
1948
|
+
id: string;
|
|
1948
1949
|
createdAt: string;
|
|
1949
1950
|
updatedAt: string;
|
|
1950
|
-
id: string;
|
|
1951
1951
|
qualificationId: string;
|
|
1952
1952
|
qualificationTypeId: string | null;
|
|
1953
1953
|
issueDate: string | null;
|
|
@@ -1967,38 +1967,38 @@ export declare const curatedWorkersContract: {
|
|
|
1967
1967
|
areaCovered?: string | null | undefined;
|
|
1968
1968
|
} | null | undefined;
|
|
1969
1969
|
}, {
|
|
1970
|
-
status: "AVAILABLE" | "
|
|
1970
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1971
|
+
id: string;
|
|
1971
1972
|
createdAt: string | Date;
|
|
1972
1973
|
updatedAt: string | Date;
|
|
1973
|
-
id: string;
|
|
1974
1974
|
firstName: string;
|
|
1975
1975
|
lastName: string;
|
|
1976
1976
|
hasTools: boolean;
|
|
1977
1977
|
hasPpe: boolean;
|
|
1978
|
-
email?: string | null | undefined;
|
|
1979
1978
|
rating?: number | null | undefined;
|
|
1979
|
+
email?: string | null | undefined;
|
|
1980
1980
|
phoneNumbers?: {
|
|
1981
|
+
id: string;
|
|
1981
1982
|
createdAt: string | Date;
|
|
1982
1983
|
updatedAt: string | Date;
|
|
1983
1984
|
phoneNumber: string;
|
|
1984
1985
|
isPrimary: boolean;
|
|
1985
|
-
id: string;
|
|
1986
1986
|
description?: string | null | undefined;
|
|
1987
1987
|
}[] | null | undefined;
|
|
1988
1988
|
nino?: string | null | undefined;
|
|
1989
1989
|
dateOfBirth?: string | Date | null | undefined;
|
|
1990
1990
|
bio?: string | null | undefined;
|
|
1991
1991
|
trades?: {
|
|
1992
|
+
id: string;
|
|
1992
1993
|
createdAt: string | Date;
|
|
1993
1994
|
updatedAt: string | Date;
|
|
1994
|
-
id: string;
|
|
1995
1995
|
tradeId: string;
|
|
1996
1996
|
mainTrade: boolean;
|
|
1997
1997
|
}[] | null | undefined;
|
|
1998
1998
|
qualifications?: {
|
|
1999
|
+
id: string;
|
|
1999
2000
|
createdAt: string | Date;
|
|
2000
2001
|
updatedAt: string | Date;
|
|
2001
|
-
id: string;
|
|
2002
2002
|
qualificationId: string;
|
|
2003
2003
|
qualificationTypeId: string | null;
|
|
2004
2004
|
issueDate: string | Date | null;
|
|
@@ -2024,39 +2024,40 @@ export declare const curatedWorkersContract: {
|
|
|
2024
2024
|
currentPage: z.ZodNumber;
|
|
2025
2025
|
totalPages: z.ZodNumber;
|
|
2026
2026
|
}, "strip", z.ZodTypeAny, {
|
|
2027
|
+
limit: number;
|
|
2027
2028
|
items: {
|
|
2028
|
-
status: "AVAILABLE" | "
|
|
2029
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2030
|
+
id: string;
|
|
2029
2031
|
createdAt: string;
|
|
2030
2032
|
updatedAt: string;
|
|
2031
|
-
id: string;
|
|
2032
2033
|
firstName: string;
|
|
2033
2034
|
lastName: string;
|
|
2034
2035
|
hasTools: boolean;
|
|
2035
2036
|
hasPpe: boolean;
|
|
2036
|
-
email?: string | null | undefined;
|
|
2037
2037
|
rating?: number | null | undefined;
|
|
2038
|
+
email?: string | null | undefined;
|
|
2038
2039
|
phoneNumbers?: {
|
|
2040
|
+
id: string;
|
|
2039
2041
|
createdAt: string;
|
|
2040
2042
|
updatedAt: string;
|
|
2041
2043
|
phoneNumber: string;
|
|
2042
2044
|
isPrimary: boolean;
|
|
2043
|
-
id: string;
|
|
2044
2045
|
description?: string | null | undefined;
|
|
2045
2046
|
}[] | null | undefined;
|
|
2046
2047
|
nino?: string | null | undefined;
|
|
2047
2048
|
dateOfBirth?: string | null | undefined;
|
|
2048
2049
|
bio?: string | null | undefined;
|
|
2049
2050
|
trades?: {
|
|
2051
|
+
id: string;
|
|
2050
2052
|
createdAt: string;
|
|
2051
2053
|
updatedAt: string;
|
|
2052
|
-
id: string;
|
|
2053
2054
|
tradeId: string;
|
|
2054
2055
|
mainTrade: boolean;
|
|
2055
2056
|
}[] | null | undefined;
|
|
2056
2057
|
qualifications?: {
|
|
2058
|
+
id: string;
|
|
2057
2059
|
createdAt: string;
|
|
2058
2060
|
updatedAt: string;
|
|
2059
|
-
id: string;
|
|
2060
2061
|
qualificationId: string;
|
|
2061
2062
|
qualificationTypeId: string | null;
|
|
2062
2063
|
issueDate: string | null;
|
|
@@ -2077,44 +2078,44 @@ export declare const curatedWorkersContract: {
|
|
|
2077
2078
|
} | null | undefined;
|
|
2078
2079
|
}[];
|
|
2079
2080
|
totalCount: number;
|
|
2080
|
-
limit: number;
|
|
2081
2081
|
skip: number;
|
|
2082
2082
|
currentPage: number;
|
|
2083
2083
|
totalPages: number;
|
|
2084
2084
|
}, {
|
|
2085
|
+
limit: number;
|
|
2085
2086
|
items: {
|
|
2086
|
-
status: "AVAILABLE" | "
|
|
2087
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2088
|
+
id: string;
|
|
2087
2089
|
createdAt: string | Date;
|
|
2088
2090
|
updatedAt: string | Date;
|
|
2089
|
-
id: string;
|
|
2090
2091
|
firstName: string;
|
|
2091
2092
|
lastName: string;
|
|
2092
2093
|
hasTools: boolean;
|
|
2093
2094
|
hasPpe: boolean;
|
|
2094
|
-
email?: string | null | undefined;
|
|
2095
2095
|
rating?: number | null | undefined;
|
|
2096
|
+
email?: string | null | undefined;
|
|
2096
2097
|
phoneNumbers?: {
|
|
2098
|
+
id: string;
|
|
2097
2099
|
createdAt: string | Date;
|
|
2098
2100
|
updatedAt: string | Date;
|
|
2099
2101
|
phoneNumber: string;
|
|
2100
2102
|
isPrimary: boolean;
|
|
2101
|
-
id: string;
|
|
2102
2103
|
description?: string | null | undefined;
|
|
2103
2104
|
}[] | null | undefined;
|
|
2104
2105
|
nino?: string | null | undefined;
|
|
2105
2106
|
dateOfBirth?: string | Date | null | undefined;
|
|
2106
2107
|
bio?: string | null | undefined;
|
|
2107
2108
|
trades?: {
|
|
2109
|
+
id: string;
|
|
2108
2110
|
createdAt: string | Date;
|
|
2109
2111
|
updatedAt: string | Date;
|
|
2110
|
-
id: string;
|
|
2111
2112
|
tradeId: string;
|
|
2112
2113
|
mainTrade: boolean;
|
|
2113
2114
|
}[] | null | undefined;
|
|
2114
2115
|
qualifications?: {
|
|
2116
|
+
id: string;
|
|
2115
2117
|
createdAt: string | Date;
|
|
2116
2118
|
updatedAt: string | Date;
|
|
2117
|
-
id: string;
|
|
2118
2119
|
qualificationId: string;
|
|
2119
2120
|
qualificationTypeId: string | null;
|
|
2120
2121
|
issueDate: string | Date | null;
|
|
@@ -2135,7 +2136,6 @@ export declare const curatedWorkersContract: {
|
|
|
2135
2136
|
} | null | undefined;
|
|
2136
2137
|
}[];
|
|
2137
2138
|
totalCount: number;
|
|
2138
|
-
limit: number;
|
|
2139
2139
|
skip: number;
|
|
2140
2140
|
currentPage: number;
|
|
2141
2141
|
totalPages: number;
|
|
@@ -2305,15 +2305,15 @@ export declare const curatedWorkersContract: {
|
|
|
2305
2305
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2306
2306
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2307
2307
|
}, "strip", z.ZodTypeAny, {
|
|
2308
|
+
id: string;
|
|
2308
2309
|
createdAt: string;
|
|
2309
2310
|
updatedAt: string;
|
|
2310
|
-
id: string;
|
|
2311
2311
|
tradeId: string;
|
|
2312
2312
|
mainTrade: boolean;
|
|
2313
2313
|
}, {
|
|
2314
|
+
id: string;
|
|
2314
2315
|
createdAt: string | Date;
|
|
2315
2316
|
updatedAt: string | Date;
|
|
2316
|
-
id: string;
|
|
2317
2317
|
tradeId: string;
|
|
2318
2318
|
mainTrade: boolean;
|
|
2319
2319
|
}>, "many">>>;
|
|
@@ -2328,9 +2328,9 @@ export declare const curatedWorkersContract: {
|
|
|
2328
2328
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2329
2329
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2330
2330
|
}, "strip", z.ZodTypeAny, {
|
|
2331
|
+
id: string;
|
|
2331
2332
|
createdAt: string;
|
|
2332
2333
|
updatedAt: string;
|
|
2333
|
-
id: string;
|
|
2334
2334
|
qualificationId: string;
|
|
2335
2335
|
qualificationTypeId: string | null;
|
|
2336
2336
|
issueDate: string | null;
|
|
@@ -2338,9 +2338,9 @@ export declare const curatedWorkersContract: {
|
|
|
2338
2338
|
referenceNumber: string | null;
|
|
2339
2339
|
proofDocumentFileId: string | null;
|
|
2340
2340
|
}, {
|
|
2341
|
+
id: string;
|
|
2341
2342
|
createdAt: string | Date;
|
|
2342
2343
|
updatedAt: string | Date;
|
|
2343
|
-
id: string;
|
|
2344
2344
|
qualificationId: string;
|
|
2345
2345
|
qualificationTypeId: string | null;
|
|
2346
2346
|
issueDate: string | Date | null;
|
|
@@ -2357,53 +2357,53 @@ export declare const curatedWorkersContract: {
|
|
|
2357
2357
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2358
2358
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2359
2359
|
}, "strip", z.ZodTypeAny, {
|
|
2360
|
+
id: string;
|
|
2360
2361
|
createdAt: string;
|
|
2361
2362
|
updatedAt: string;
|
|
2362
2363
|
phoneNumber: string;
|
|
2363
2364
|
isPrimary: boolean;
|
|
2364
|
-
id: string;
|
|
2365
2365
|
description?: string | null | undefined;
|
|
2366
2366
|
}, {
|
|
2367
|
+
id: string;
|
|
2367
2368
|
createdAt: string | Date;
|
|
2368
2369
|
updatedAt: string | Date;
|
|
2369
2370
|
phoneNumber: string;
|
|
2370
2371
|
isPrimary: boolean;
|
|
2371
|
-
id: string;
|
|
2372
2372
|
description?: string | null | undefined;
|
|
2373
2373
|
}>, "many">>>;
|
|
2374
2374
|
}, "strip", z.ZodTypeAny, {
|
|
2375
|
-
status: "AVAILABLE" | "
|
|
2375
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2376
|
+
id: string;
|
|
2376
2377
|
createdAt: string;
|
|
2377
2378
|
updatedAt: string;
|
|
2378
|
-
id: string;
|
|
2379
2379
|
firstName: string;
|
|
2380
2380
|
lastName: string;
|
|
2381
2381
|
hasTools: boolean;
|
|
2382
2382
|
hasPpe: boolean;
|
|
2383
|
-
email?: string | null | undefined;
|
|
2384
2383
|
rating?: number | null | undefined;
|
|
2384
|
+
email?: string | null | undefined;
|
|
2385
2385
|
phoneNumbers?: {
|
|
2386
|
+
id: string;
|
|
2386
2387
|
createdAt: string;
|
|
2387
2388
|
updatedAt: string;
|
|
2388
2389
|
phoneNumber: string;
|
|
2389
2390
|
isPrimary: boolean;
|
|
2390
|
-
id: string;
|
|
2391
2391
|
description?: string | null | undefined;
|
|
2392
2392
|
}[] | null | undefined;
|
|
2393
2393
|
nino?: string | null | undefined;
|
|
2394
2394
|
dateOfBirth?: string | null | undefined;
|
|
2395
2395
|
bio?: string | null | undefined;
|
|
2396
2396
|
trades?: {
|
|
2397
|
+
id: string;
|
|
2397
2398
|
createdAt: string;
|
|
2398
2399
|
updatedAt: string;
|
|
2399
|
-
id: string;
|
|
2400
2400
|
tradeId: string;
|
|
2401
2401
|
mainTrade: boolean;
|
|
2402
2402
|
}[] | null | undefined;
|
|
2403
2403
|
qualifications?: {
|
|
2404
|
+
id: string;
|
|
2404
2405
|
createdAt: string;
|
|
2405
2406
|
updatedAt: string;
|
|
2406
|
-
id: string;
|
|
2407
2407
|
qualificationId: string;
|
|
2408
2408
|
qualificationTypeId: string | null;
|
|
2409
2409
|
issueDate: string | null;
|
|
@@ -2423,38 +2423,38 @@ export declare const curatedWorkersContract: {
|
|
|
2423
2423
|
areaCovered?: string | null | undefined;
|
|
2424
2424
|
} | null | undefined;
|
|
2425
2425
|
}, {
|
|
2426
|
-
status: "AVAILABLE" | "
|
|
2426
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2427
|
+
id: string;
|
|
2427
2428
|
createdAt: string | Date;
|
|
2428
2429
|
updatedAt: string | Date;
|
|
2429
|
-
id: string;
|
|
2430
2430
|
firstName: string;
|
|
2431
2431
|
lastName: string;
|
|
2432
2432
|
hasTools: boolean;
|
|
2433
2433
|
hasPpe: boolean;
|
|
2434
|
-
email?: string | null | undefined;
|
|
2435
2434
|
rating?: number | null | undefined;
|
|
2435
|
+
email?: string | null | undefined;
|
|
2436
2436
|
phoneNumbers?: {
|
|
2437
|
+
id: string;
|
|
2437
2438
|
createdAt: string | Date;
|
|
2438
2439
|
updatedAt: string | Date;
|
|
2439
2440
|
phoneNumber: string;
|
|
2440
2441
|
isPrimary: boolean;
|
|
2441
|
-
id: string;
|
|
2442
2442
|
description?: string | null | undefined;
|
|
2443
2443
|
}[] | null | undefined;
|
|
2444
2444
|
nino?: string | null | undefined;
|
|
2445
2445
|
dateOfBirth?: string | Date | null | undefined;
|
|
2446
2446
|
bio?: string | null | undefined;
|
|
2447
2447
|
trades?: {
|
|
2448
|
+
id: string;
|
|
2448
2449
|
createdAt: string | Date;
|
|
2449
2450
|
updatedAt: string | Date;
|
|
2450
|
-
id: string;
|
|
2451
2451
|
tradeId: string;
|
|
2452
2452
|
mainTrade: boolean;
|
|
2453
2453
|
}[] | null | undefined;
|
|
2454
2454
|
qualifications?: {
|
|
2455
|
+
id: string;
|
|
2455
2456
|
createdAt: string | Date;
|
|
2456
2457
|
updatedAt: string | Date;
|
|
2457
|
-
id: string;
|
|
2458
2458
|
qualificationId: string;
|
|
2459
2459
|
qualificationTypeId: string | null;
|
|
2460
2460
|
issueDate: string | Date | null;
|
|
@@ -2583,25 +2583,25 @@ export declare const curatedWorkersContract: {
|
|
|
2583
2583
|
}, "strip", z.ZodTypeAny, {
|
|
2584
2584
|
phoneNumber: string;
|
|
2585
2585
|
isPrimary: boolean;
|
|
2586
|
-
description?: string | null | undefined;
|
|
2587
2586
|
id?: string | undefined;
|
|
2587
|
+
description?: string | null | undefined;
|
|
2588
2588
|
}, {
|
|
2589
2589
|
phoneNumber: string;
|
|
2590
2590
|
isPrimary: boolean;
|
|
2591
|
-
description?: string | null | undefined;
|
|
2592
2591
|
id?: string | undefined;
|
|
2592
|
+
description?: string | null | undefined;
|
|
2593
2593
|
}>, "many">>>;
|
|
2594
2594
|
}, "strip", z.ZodTypeAny, {
|
|
2595
|
-
|
|
2596
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
2595
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
2597
2596
|
rating?: number | null | undefined;
|
|
2598
2597
|
firstName?: string | undefined;
|
|
2599
2598
|
lastName?: string | undefined;
|
|
2599
|
+
email?: string | null | undefined;
|
|
2600
2600
|
phoneNumbers?: {
|
|
2601
2601
|
phoneNumber: string;
|
|
2602
2602
|
isPrimary: boolean;
|
|
2603
|
-
description?: string | null | undefined;
|
|
2604
2603
|
id?: string | undefined;
|
|
2604
|
+
description?: string | null | undefined;
|
|
2605
2605
|
}[] | null | undefined;
|
|
2606
2606
|
nino?: string | null | undefined;
|
|
2607
2607
|
dateOfBirth?: string | null | undefined;
|
|
@@ -2628,16 +2628,16 @@ export declare const curatedWorkersContract: {
|
|
|
2628
2628
|
postcode?: string | null | undefined;
|
|
2629
2629
|
} | null | undefined;
|
|
2630
2630
|
}, {
|
|
2631
|
-
|
|
2632
|
-
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
2631
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
2633
2632
|
rating?: number | null | undefined;
|
|
2634
2633
|
firstName?: string | undefined;
|
|
2635
2634
|
lastName?: string | undefined;
|
|
2635
|
+
email?: string | null | undefined;
|
|
2636
2636
|
phoneNumbers?: {
|
|
2637
2637
|
phoneNumber: string;
|
|
2638
2638
|
isPrimary: boolean;
|
|
2639
|
-
description?: string | null | undefined;
|
|
2640
2639
|
id?: string | undefined;
|
|
2640
|
+
description?: string | null | undefined;
|
|
2641
2641
|
}[] | null | undefined;
|
|
2642
2642
|
nino?: string | null | undefined;
|
|
2643
2643
|
dateOfBirth?: string | Date | null | undefined;
|
|
@@ -2814,15 +2814,15 @@ export declare const curatedWorkersContract: {
|
|
|
2814
2814
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2815
2815
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2816
2816
|
}, "strip", z.ZodTypeAny, {
|
|
2817
|
+
id: string;
|
|
2817
2818
|
createdAt: string;
|
|
2818
2819
|
updatedAt: string;
|
|
2819
|
-
id: string;
|
|
2820
2820
|
tradeId: string;
|
|
2821
2821
|
mainTrade: boolean;
|
|
2822
2822
|
}, {
|
|
2823
|
+
id: string;
|
|
2823
2824
|
createdAt: string | Date;
|
|
2824
2825
|
updatedAt: string | Date;
|
|
2825
|
-
id: string;
|
|
2826
2826
|
tradeId: string;
|
|
2827
2827
|
mainTrade: boolean;
|
|
2828
2828
|
}>, "many">>>;
|
|
@@ -2837,9 +2837,9 @@ export declare const curatedWorkersContract: {
|
|
|
2837
2837
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2838
2838
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2839
2839
|
}, "strip", z.ZodTypeAny, {
|
|
2840
|
+
id: string;
|
|
2840
2841
|
createdAt: string;
|
|
2841
2842
|
updatedAt: string;
|
|
2842
|
-
id: string;
|
|
2843
2843
|
qualificationId: string;
|
|
2844
2844
|
qualificationTypeId: string | null;
|
|
2845
2845
|
issueDate: string | null;
|
|
@@ -2847,9 +2847,9 @@ export declare const curatedWorkersContract: {
|
|
|
2847
2847
|
referenceNumber: string | null;
|
|
2848
2848
|
proofDocumentFileId: string | null;
|
|
2849
2849
|
}, {
|
|
2850
|
+
id: string;
|
|
2850
2851
|
createdAt: string | Date;
|
|
2851
2852
|
updatedAt: string | Date;
|
|
2852
|
-
id: string;
|
|
2853
2853
|
qualificationId: string;
|
|
2854
2854
|
qualificationTypeId: string | null;
|
|
2855
2855
|
issueDate: string | Date | null;
|
|
@@ -2866,53 +2866,53 @@ export declare const curatedWorkersContract: {
|
|
|
2866
2866
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2867
2867
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2868
2868
|
}, "strip", z.ZodTypeAny, {
|
|
2869
|
+
id: string;
|
|
2869
2870
|
createdAt: string;
|
|
2870
2871
|
updatedAt: string;
|
|
2871
2872
|
phoneNumber: string;
|
|
2872
2873
|
isPrimary: boolean;
|
|
2873
|
-
id: string;
|
|
2874
2874
|
description?: string | null | undefined;
|
|
2875
2875
|
}, {
|
|
2876
|
+
id: string;
|
|
2876
2877
|
createdAt: string | Date;
|
|
2877
2878
|
updatedAt: string | Date;
|
|
2878
2879
|
phoneNumber: string;
|
|
2879
2880
|
isPrimary: boolean;
|
|
2880
|
-
id: string;
|
|
2881
2881
|
description?: string | null | undefined;
|
|
2882
2882
|
}>, "many">>>;
|
|
2883
2883
|
}, "strip", z.ZodTypeAny, {
|
|
2884
|
-
status: "AVAILABLE" | "
|
|
2884
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2885
|
+
id: string;
|
|
2885
2886
|
createdAt: string;
|
|
2886
2887
|
updatedAt: string;
|
|
2887
|
-
id: string;
|
|
2888
2888
|
firstName: string;
|
|
2889
2889
|
lastName: string;
|
|
2890
2890
|
hasTools: boolean;
|
|
2891
2891
|
hasPpe: boolean;
|
|
2892
|
-
email?: string | null | undefined;
|
|
2893
2892
|
rating?: number | null | undefined;
|
|
2893
|
+
email?: string | null | undefined;
|
|
2894
2894
|
phoneNumbers?: {
|
|
2895
|
+
id: string;
|
|
2895
2896
|
createdAt: string;
|
|
2896
2897
|
updatedAt: string;
|
|
2897
2898
|
phoneNumber: string;
|
|
2898
2899
|
isPrimary: boolean;
|
|
2899
|
-
id: string;
|
|
2900
2900
|
description?: string | null | undefined;
|
|
2901
2901
|
}[] | null | undefined;
|
|
2902
2902
|
nino?: string | null | undefined;
|
|
2903
2903
|
dateOfBirth?: string | null | undefined;
|
|
2904
2904
|
bio?: string | null | undefined;
|
|
2905
2905
|
trades?: {
|
|
2906
|
+
id: string;
|
|
2906
2907
|
createdAt: string;
|
|
2907
2908
|
updatedAt: string;
|
|
2908
|
-
id: string;
|
|
2909
2909
|
tradeId: string;
|
|
2910
2910
|
mainTrade: boolean;
|
|
2911
2911
|
}[] | null | undefined;
|
|
2912
2912
|
qualifications?: {
|
|
2913
|
+
id: string;
|
|
2913
2914
|
createdAt: string;
|
|
2914
2915
|
updatedAt: string;
|
|
2915
|
-
id: string;
|
|
2916
2916
|
qualificationId: string;
|
|
2917
2917
|
qualificationTypeId: string | null;
|
|
2918
2918
|
issueDate: string | null;
|
|
@@ -2932,38 +2932,38 @@ export declare const curatedWorkersContract: {
|
|
|
2932
2932
|
areaCovered?: string | null | undefined;
|
|
2933
2933
|
} | null | undefined;
|
|
2934
2934
|
}, {
|
|
2935
|
-
status: "AVAILABLE" | "
|
|
2935
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2936
|
+
id: string;
|
|
2936
2937
|
createdAt: string | Date;
|
|
2937
2938
|
updatedAt: string | Date;
|
|
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
|
+
id: string;
|
|
2946
2947
|
createdAt: string | Date;
|
|
2947
2948
|
updatedAt: string | Date;
|
|
2948
2949
|
phoneNumber: string;
|
|
2949
2950
|
isPrimary: boolean;
|
|
2950
|
-
id: string;
|
|
2951
2951
|
description?: string | null | undefined;
|
|
2952
2952
|
}[] | null | undefined;
|
|
2953
2953
|
nino?: string | null | undefined;
|
|
2954
2954
|
dateOfBirth?: string | Date | null | undefined;
|
|
2955
2955
|
bio?: string | null | undefined;
|
|
2956
2956
|
trades?: {
|
|
2957
|
+
id: string;
|
|
2957
2958
|
createdAt: string | Date;
|
|
2958
2959
|
updatedAt: string | Date;
|
|
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 | Date;
|
|
2965
2966
|
updatedAt: string | Date;
|
|
2966
|
-
id: string;
|
|
2967
2967
|
qualificationId: string;
|
|
2968
2968
|
qualificationTypeId: string | null;
|
|
2969
2969
|
issueDate: string | Date | null;
|