@dakkitor/api-contracts 1.1.131 → 1.1.133
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/abilities/abilities.contract.d.ts +19 -13
- package/dist/abilities/abilities.contract.js +33 -18
- package/dist/abilities/first-agent.abilities.json +68 -56
- package/dist/abilities/second-agent.abilities.json +3 -3
- package/dist/abilities/team-leads.json +3 -6
- package/dist/actives/actives.contract.d.ts +6313 -6313
- package/dist/actives/actives.contract.js +92 -92
- package/dist/agent-client-links/agent-client-links.contract.d.ts +511 -511
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +23378 -23378
- package/dist/call-history/call-history.contract.d.ts +366 -366
- package/dist/call-history/call-history.contract.js +67 -67
- package/dist/client-contacts/client-contacts.contract.d.ts +159 -159
- package/dist/clients/clients.contract.d.ts +72 -72
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1330 -1330
- package/dist/collaborations/collaborations.contract.d.ts +1198 -1198
- package/dist/common/call-rating.schema.d.ts +12 -12
- package/dist/common/call-rating.schema.js +48 -40
- package/dist/common/common-schemas.d.ts +4 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -2
- package/dist/common/error-schemas.d.ts +11 -5
- package/dist/common/error-schemas.js +11 -8
- package/dist/common/openapi-metadata.d.ts +54 -44
- package/dist/common/openapi-metadata.js +135 -129
- package/dist/common/pagination-query.schema.d.ts +11 -5
- package/dist/common/pagination-query.schema.js +11 -8
- package/dist/companies/companies.contract.d.ts +40 -40
- package/dist/cron-executions/cron-executions.contract.d.ts +14 -14
- package/dist/curated-workers/curated-workers.contract.d.ts +211 -211
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +798 -616
- package/dist/dashboards/agent-daily-metrics.contract.js +100 -89
- package/dist/dashboards/dashboard-widgets.contract.d.ts +75 -75
- package/dist/dashboards/dashboard-widgets.contract.js +89 -89
- package/dist/dashboards/dashboard.contract.d.ts +305 -215
- package/dist/files/files.contract.d.ts +1544 -1177
- package/dist/files/files.contract.js +177 -162
- package/dist/health/health.contract.d.ts +191 -144
- package/dist/health/health.contract.js +53 -40
- package/dist/index.d.ts +67 -67
- package/dist/jobs/jobs.contract.d.ts +2553 -2553
- package/dist/jobs/jobs.contract.js +150 -150
- package/dist/lead-assignments/lead-assignments.contract.d.ts +587 -587
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +239 -239
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +25 -25
- package/dist/leads/leads.contract.d.ts +108 -108
- package/dist/leads/leads.contract.js +119 -119
- package/dist/locations/locations.contract.d.ts +7 -7
- package/dist/monitoring/monitoring.contract.d.ts +13 -13
- package/dist/monitoring/monitoring.contract.js +37 -37
- package/dist/own-research/own-research.contract.d.ts +535 -134
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +88 -56
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/qualifications/qualifications.contract.d.ts +1898 -1387
- package/dist/qualifications/qualifications.contract.js +193 -171
- package/dist/trades/trades.contract.d.ts +991 -763
- package/dist/trades/trades.contract.js +111 -89
- package/dist/users/users.contract.d.ts +202 -202
- package/dist/users/users.contract.js +121 -121
- package/dist/workers/workers.contract.d.ts +710 -710
- package/dist/workers/workers.contract.js +150 -150
- package/package.json +1 -1
|
@@ -23,23 +23,23 @@ export declare const UpdateCuratedWorkerPhoneNumberSchema: z.ZodEffects<z.ZodObj
|
|
|
23
23
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
id?: string | undefined;
|
|
26
|
-
description?: string | null | undefined;
|
|
27
26
|
phoneNumber?: string | undefined;
|
|
27
|
+
description?: string | null | undefined;
|
|
28
28
|
isPrimary?: boolean | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
id?: string | undefined;
|
|
31
|
-
description?: string | null | undefined;
|
|
32
31
|
phoneNumber?: string | undefined;
|
|
32
|
+
description?: string | null | undefined;
|
|
33
33
|
isPrimary?: boolean | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
id?: string | undefined;
|
|
36
|
-
description?: string | null | undefined;
|
|
37
36
|
phoneNumber?: string | undefined;
|
|
37
|
+
description?: string | null | undefined;
|
|
38
38
|
isPrimary?: boolean | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
id?: string | undefined;
|
|
41
|
-
description?: string | null | undefined;
|
|
42
41
|
phoneNumber?: string | undefined;
|
|
42
|
+
description?: string | null | undefined;
|
|
43
43
|
isPrimary?: boolean | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
export declare const CuratedWorkerPhoneNumberSchema: z.ZodObject<{
|
|
@@ -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;
|
|
56
54
|
id: string;
|
|
57
55
|
phoneNumber: string;
|
|
58
56
|
isPrimary: boolean;
|
|
57
|
+
createdAt: string;
|
|
58
|
+
updatedAt: string;
|
|
59
59
|
description?: string | null | undefined;
|
|
60
60
|
}, {
|
|
61
|
-
createdAt: string | Date;
|
|
62
|
-
updatedAt: string | Date;
|
|
63
61
|
id: string;
|
|
64
62
|
phoneNumber: string;
|
|
63
|
+
createdAt: string | Date;
|
|
64
|
+
updatedAt: string | Date;
|
|
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
|
referenceNumber: string | null;
|
|
@@ -163,9 +163,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
|
|
|
163
163
|
issueDate?: string | null | undefined;
|
|
164
164
|
expiryDate?: string | null | undefined;
|
|
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
|
referenceNumber: string | null;
|
|
@@ -264,7 +264,7 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
264
264
|
}, "strip", z.ZodTypeAny, {
|
|
265
265
|
hasTools: boolean;
|
|
266
266
|
hasPpe: boolean;
|
|
267
|
-
status: "
|
|
267
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
268
268
|
firstName: string;
|
|
269
269
|
lastName: string;
|
|
270
270
|
phoneNumbers: {
|
|
@@ -283,6 +283,7 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
283
283
|
postcode?: string | null | undefined;
|
|
284
284
|
address?: string | null | undefined;
|
|
285
285
|
} | null | undefined;
|
|
286
|
+
rating?: number | null | undefined;
|
|
286
287
|
nino?: string | null | undefined;
|
|
287
288
|
dateOfBirth?: string | null | undefined;
|
|
288
289
|
bio?: string | null | undefined;
|
|
@@ -294,7 +295,6 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
294
295
|
referenceNumber?: string | null | undefined;
|
|
295
296
|
proofDocumentFileId?: string | null | undefined;
|
|
296
297
|
}[] | null | undefined;
|
|
297
|
-
rating?: number | null | undefined;
|
|
298
298
|
}, {
|
|
299
299
|
hasTools: boolean;
|
|
300
300
|
hasPpe: boolean;
|
|
@@ -316,7 +316,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
316
316
|
postcode?: string | null | undefined;
|
|
317
317
|
address?: string | null | undefined;
|
|
318
318
|
} | null | undefined;
|
|
319
|
-
status?: "
|
|
319
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
320
|
+
rating?: number | null | undefined;
|
|
320
321
|
nino?: string | null | undefined;
|
|
321
322
|
dateOfBirth?: string | Date | null | undefined;
|
|
322
323
|
bio?: string | null | undefined;
|
|
@@ -328,7 +329,6 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
328
329
|
referenceNumber?: string | null | undefined;
|
|
329
330
|
proofDocumentFileId?: string | null | undefined;
|
|
330
331
|
}[] | null | undefined;
|
|
331
|
-
rating?: number | null | undefined;
|
|
332
332
|
}>;
|
|
333
333
|
export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
334
334
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -397,23 +397,23 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
397
397
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
399
|
id?: string | undefined;
|
|
400
|
-
description?: string | null | undefined;
|
|
401
400
|
phoneNumber?: string | undefined;
|
|
401
|
+
description?: string | null | undefined;
|
|
402
402
|
isPrimary?: boolean | undefined;
|
|
403
403
|
}, {
|
|
404
404
|
id?: string | undefined;
|
|
405
|
-
description?: string | null | undefined;
|
|
406
405
|
phoneNumber?: string | undefined;
|
|
406
|
+
description?: string | null | undefined;
|
|
407
407
|
isPrimary?: boolean | undefined;
|
|
408
408
|
}>, {
|
|
409
409
|
id?: string | undefined;
|
|
410
|
-
description?: string | null | undefined;
|
|
411
410
|
phoneNumber?: string | undefined;
|
|
411
|
+
description?: string | null | undefined;
|
|
412
412
|
isPrimary?: boolean | undefined;
|
|
413
413
|
}, {
|
|
414
414
|
id?: string | undefined;
|
|
415
|
-
description?: string | null | undefined;
|
|
416
415
|
phoneNumber?: string | undefined;
|
|
416
|
+
description?: string | null | undefined;
|
|
417
417
|
isPrimary?: boolean | undefined;
|
|
418
418
|
}>, "many">>>;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -426,13 +426,14 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
426
426
|
postcode?: string | null | undefined;
|
|
427
427
|
address?: string | null | undefined;
|
|
428
428
|
} | null | undefined;
|
|
429
|
-
status?: "
|
|
429
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
430
|
+
rating?: number | null | undefined;
|
|
430
431
|
firstName?: string | undefined;
|
|
431
432
|
lastName?: string | undefined;
|
|
432
433
|
phoneNumbers?: {
|
|
433
434
|
id?: string | undefined;
|
|
434
|
-
description?: string | null | undefined;
|
|
435
435
|
phoneNumber?: string | undefined;
|
|
436
|
+
description?: string | null | undefined;
|
|
436
437
|
isPrimary?: boolean | undefined;
|
|
437
438
|
}[] | null | undefined;
|
|
438
439
|
nino?: string | null | undefined;
|
|
@@ -451,7 +452,6 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
451
452
|
referenceNumber?: string | null | undefined;
|
|
452
453
|
proofDocumentFileId?: string | null | undefined;
|
|
453
454
|
}[] | null | undefined;
|
|
454
|
-
rating?: number | null | undefined;
|
|
455
455
|
}, {
|
|
456
456
|
email?: string | null | undefined;
|
|
457
457
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
@@ -462,13 +462,14 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
462
462
|
postcode?: string | null | undefined;
|
|
463
463
|
address?: string | null | undefined;
|
|
464
464
|
} | null | undefined;
|
|
465
|
-
status?: "
|
|
465
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
466
|
+
rating?: number | null | undefined;
|
|
466
467
|
firstName?: string | undefined;
|
|
467
468
|
lastName?: string | undefined;
|
|
468
469
|
phoneNumbers?: {
|
|
469
470
|
id?: string | undefined;
|
|
470
|
-
description?: string | null | undefined;
|
|
471
471
|
phoneNumber?: string | undefined;
|
|
472
|
+
description?: string | null | undefined;
|
|
472
473
|
isPrimary?: boolean | undefined;
|
|
473
474
|
}[] | null | undefined;
|
|
474
475
|
nino?: string | null | undefined;
|
|
@@ -487,7 +488,6 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
487
488
|
referenceNumber?: string | null | undefined;
|
|
488
489
|
proofDocumentFileId?: string | null | undefined;
|
|
489
490
|
}[] | null | undefined;
|
|
490
|
-
rating?: number | null | undefined;
|
|
491
491
|
}>;
|
|
492
492
|
export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
493
493
|
id: z.ZodString;
|
|
@@ -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
|
referenceNumber: string | null;
|
|
@@ -570,9 +570,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
570
570
|
issueDate?: string | null | undefined;
|
|
571
571
|
expiryDate?: string | null | undefined;
|
|
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
|
referenceNumber: string | null;
|
|
@@ -589,27 +589,27 @@ 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;
|
|
594
592
|
id: string;
|
|
595
593
|
phoneNumber: string;
|
|
596
594
|
isPrimary: boolean;
|
|
595
|
+
createdAt: string;
|
|
596
|
+
updatedAt: string;
|
|
597
597
|
description?: string | null | undefined;
|
|
598
598
|
}, {
|
|
599
|
-
createdAt: string | Date;
|
|
600
|
-
updatedAt: string | Date;
|
|
601
599
|
id: string;
|
|
602
600
|
phoneNumber: string;
|
|
601
|
+
createdAt: string | Date;
|
|
602
|
+
updatedAt: string | Date;
|
|
603
603
|
description?: string | null | undefined;
|
|
604
604
|
isPrimary?: boolean | undefined;
|
|
605
605
|
}>, "many">>>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
607
|
hasTools: boolean;
|
|
608
608
|
hasPpe: boolean;
|
|
609
|
+
id: string;
|
|
610
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
609
611
|
createdAt: string;
|
|
610
612
|
updatedAt: string;
|
|
611
|
-
id: string;
|
|
612
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
613
613
|
firstName: string;
|
|
614
614
|
lastName: string;
|
|
615
615
|
email?: string | null | undefined;
|
|
@@ -624,28 +624,29 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
624
624
|
postTown?: string | null | undefined;
|
|
625
625
|
areaCovered?: string | null | undefined;
|
|
626
626
|
} | null | undefined;
|
|
627
|
+
rating?: number | null | undefined;
|
|
627
628
|
phoneNumbers?: {
|
|
628
|
-
createdAt: string;
|
|
629
|
-
updatedAt: string;
|
|
630
629
|
id: string;
|
|
631
630
|
phoneNumber: string;
|
|
632
631
|
isPrimary: boolean;
|
|
632
|
+
createdAt: string;
|
|
633
|
+
updatedAt: string;
|
|
633
634
|
description?: string | null | undefined;
|
|
634
635
|
}[] | null | undefined;
|
|
635
636
|
nino?: string | null | undefined;
|
|
636
637
|
dateOfBirth?: string | null | undefined;
|
|
637
638
|
bio?: string | null | undefined;
|
|
638
639
|
trades?: {
|
|
640
|
+
id: string;
|
|
639
641
|
createdAt: string;
|
|
640
642
|
updatedAt: string;
|
|
641
|
-
id: string;
|
|
642
643
|
tradeId: string;
|
|
643
644
|
mainTrade: boolean;
|
|
644
645
|
}[] | null | undefined;
|
|
645
646
|
qualifications?: {
|
|
647
|
+
id: string;
|
|
646
648
|
createdAt: string;
|
|
647
649
|
updatedAt: string;
|
|
648
|
-
id: string;
|
|
649
650
|
qualificationId: string;
|
|
650
651
|
qualificationTypeId: string | null;
|
|
651
652
|
referenceNumber: string | null;
|
|
@@ -653,14 +654,13 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
653
654
|
issueDate?: string | null | undefined;
|
|
654
655
|
expiryDate?: string | null | undefined;
|
|
655
656
|
}[] | null | undefined;
|
|
656
|
-
rating?: number | null | undefined;
|
|
657
657
|
}, {
|
|
658
658
|
hasTools: boolean;
|
|
659
659
|
hasPpe: boolean;
|
|
660
|
+
id: string;
|
|
661
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
660
662
|
createdAt: string | Date;
|
|
661
663
|
updatedAt: string | Date;
|
|
662
|
-
id: string;
|
|
663
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
664
664
|
firstName: string;
|
|
665
665
|
lastName: string;
|
|
666
666
|
email?: string | null | undefined;
|
|
@@ -675,11 +675,12 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
675
675
|
postTown?: string | null | undefined;
|
|
676
676
|
areaCovered?: string | null | undefined;
|
|
677
677
|
} | null | undefined;
|
|
678
|
+
rating?: number | null | undefined;
|
|
678
679
|
phoneNumbers?: {
|
|
679
|
-
createdAt: string | Date;
|
|
680
|
-
updatedAt: string | Date;
|
|
681
680
|
id: string;
|
|
682
681
|
phoneNumber: string;
|
|
682
|
+
createdAt: string | Date;
|
|
683
|
+
updatedAt: string | Date;
|
|
683
684
|
description?: string | null | undefined;
|
|
684
685
|
isPrimary?: boolean | undefined;
|
|
685
686
|
}[] | null | undefined;
|
|
@@ -687,16 +688,16 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
687
688
|
dateOfBirth?: string | Date | null | undefined;
|
|
688
689
|
bio?: string | null | undefined;
|
|
689
690
|
trades?: {
|
|
691
|
+
id: string;
|
|
690
692
|
createdAt: string | Date;
|
|
691
693
|
updatedAt: string | Date;
|
|
692
|
-
id: string;
|
|
693
694
|
tradeId: string;
|
|
694
695
|
mainTrade: boolean;
|
|
695
696
|
}[] | null | undefined;
|
|
696
697
|
qualifications?: {
|
|
698
|
+
id: string;
|
|
697
699
|
createdAt: string | Date;
|
|
698
700
|
updatedAt: string | Date;
|
|
699
|
-
id: string;
|
|
700
701
|
qualificationId: string;
|
|
701
702
|
qualificationTypeId: string | null;
|
|
702
703
|
referenceNumber: string | null;
|
|
@@ -704,7 +705,6 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
704
705
|
issueDate?: string | Date | null | undefined;
|
|
705
706
|
expiryDate?: string | Date | null | undefined;
|
|
706
707
|
}[] | null | undefined;
|
|
707
|
-
rating?: number | null | undefined;
|
|
708
708
|
}>;
|
|
709
709
|
export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
710
710
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -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
|
referenceNumber: string | null;
|
|
@@ -788,9 +788,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
788
788
|
issueDate?: string | null | undefined;
|
|
789
789
|
expiryDate?: string | null | undefined;
|
|
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
|
referenceNumber: string | null;
|
|
@@ -807,27 +807,27 @@ 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;
|
|
812
810
|
id: string;
|
|
813
811
|
phoneNumber: string;
|
|
814
812
|
isPrimary: boolean;
|
|
813
|
+
createdAt: string;
|
|
814
|
+
updatedAt: string;
|
|
815
815
|
description?: string | null | undefined;
|
|
816
816
|
}, {
|
|
817
|
-
createdAt: string | Date;
|
|
818
|
-
updatedAt: string | Date;
|
|
819
817
|
id: string;
|
|
820
818
|
phoneNumber: string;
|
|
819
|
+
createdAt: string | Date;
|
|
820
|
+
updatedAt: string | Date;
|
|
821
821
|
description?: string | null | undefined;
|
|
822
822
|
isPrimary?: boolean | undefined;
|
|
823
823
|
}>, "many">>>;
|
|
824
824
|
}, "strip", z.ZodTypeAny, {
|
|
825
825
|
hasTools: boolean;
|
|
826
826
|
hasPpe: boolean;
|
|
827
|
+
id: string;
|
|
828
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
827
829
|
createdAt: string;
|
|
828
830
|
updatedAt: string;
|
|
829
|
-
id: string;
|
|
830
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
831
831
|
firstName: string;
|
|
832
832
|
lastName: string;
|
|
833
833
|
email?: string | null | undefined;
|
|
@@ -842,28 +842,29 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
842
842
|
postTown?: string | null | undefined;
|
|
843
843
|
areaCovered?: string | null | undefined;
|
|
844
844
|
} | null | undefined;
|
|
845
|
+
rating?: number | null | undefined;
|
|
845
846
|
phoneNumbers?: {
|
|
846
|
-
createdAt: string;
|
|
847
|
-
updatedAt: string;
|
|
848
847
|
id: string;
|
|
849
848
|
phoneNumber: string;
|
|
850
849
|
isPrimary: boolean;
|
|
850
|
+
createdAt: string;
|
|
851
|
+
updatedAt: string;
|
|
851
852
|
description?: string | null | undefined;
|
|
852
853
|
}[] | null | undefined;
|
|
853
854
|
nino?: string | null | undefined;
|
|
854
855
|
dateOfBirth?: string | null | undefined;
|
|
855
856
|
bio?: string | null | undefined;
|
|
856
857
|
trades?: {
|
|
858
|
+
id: string;
|
|
857
859
|
createdAt: string;
|
|
858
860
|
updatedAt: string;
|
|
859
|
-
id: string;
|
|
860
861
|
tradeId: string;
|
|
861
862
|
mainTrade: boolean;
|
|
862
863
|
}[] | null | undefined;
|
|
863
864
|
qualifications?: {
|
|
865
|
+
id: string;
|
|
864
866
|
createdAt: string;
|
|
865
867
|
updatedAt: string;
|
|
866
|
-
id: string;
|
|
867
868
|
qualificationId: string;
|
|
868
869
|
qualificationTypeId: string | null;
|
|
869
870
|
referenceNumber: string | null;
|
|
@@ -871,14 +872,13 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
871
872
|
issueDate?: string | null | undefined;
|
|
872
873
|
expiryDate?: string | null | undefined;
|
|
873
874
|
}[] | null | undefined;
|
|
874
|
-
rating?: number | null | undefined;
|
|
875
875
|
}, {
|
|
876
876
|
hasTools: boolean;
|
|
877
877
|
hasPpe: boolean;
|
|
878
|
+
id: string;
|
|
879
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
878
880
|
createdAt: string | Date;
|
|
879
881
|
updatedAt: string | Date;
|
|
880
|
-
id: string;
|
|
881
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
882
882
|
firstName: string;
|
|
883
883
|
lastName: string;
|
|
884
884
|
email?: string | null | undefined;
|
|
@@ -893,11 +893,12 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
893
893
|
postTown?: string | null | undefined;
|
|
894
894
|
areaCovered?: string | null | undefined;
|
|
895
895
|
} | null | undefined;
|
|
896
|
+
rating?: number | null | undefined;
|
|
896
897
|
phoneNumbers?: {
|
|
897
|
-
createdAt: string | Date;
|
|
898
|
-
updatedAt: string | Date;
|
|
899
898
|
id: string;
|
|
900
899
|
phoneNumber: string;
|
|
900
|
+
createdAt: string | Date;
|
|
901
|
+
updatedAt: string | Date;
|
|
901
902
|
description?: string | null | undefined;
|
|
902
903
|
isPrimary?: boolean | undefined;
|
|
903
904
|
}[] | null | undefined;
|
|
@@ -905,16 +906,16 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
905
906
|
dateOfBirth?: string | Date | null | undefined;
|
|
906
907
|
bio?: string | null | undefined;
|
|
907
908
|
trades?: {
|
|
909
|
+
id: string;
|
|
908
910
|
createdAt: string | Date;
|
|
909
911
|
updatedAt: string | Date;
|
|
910
|
-
id: string;
|
|
911
912
|
tradeId: string;
|
|
912
913
|
mainTrade: boolean;
|
|
913
914
|
}[] | null | undefined;
|
|
914
915
|
qualifications?: {
|
|
916
|
+
id: string;
|
|
915
917
|
createdAt: string | Date;
|
|
916
918
|
updatedAt: string | Date;
|
|
917
|
-
id: string;
|
|
918
919
|
qualificationId: string;
|
|
919
920
|
qualificationTypeId: string | null;
|
|
920
921
|
referenceNumber: string | null;
|
|
@@ -922,7 +923,6 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
922
923
|
issueDate?: string | Date | null | undefined;
|
|
923
924
|
expiryDate?: string | Date | null | undefined;
|
|
924
925
|
}[] | null | undefined;
|
|
925
|
-
rating?: number | null | undefined;
|
|
926
926
|
}>, "many">;
|
|
927
927
|
totalCount: z.ZodNumber;
|
|
928
928
|
limit: z.ZodNumber;
|
|
@@ -934,10 +934,10 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
934
934
|
items: {
|
|
935
935
|
hasTools: boolean;
|
|
936
936
|
hasPpe: boolean;
|
|
937
|
+
id: string;
|
|
938
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
937
939
|
createdAt: string;
|
|
938
940
|
updatedAt: string;
|
|
939
|
-
id: string;
|
|
940
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
941
941
|
firstName: string;
|
|
942
942
|
lastName: string;
|
|
943
943
|
email?: string | null | undefined;
|
|
@@ -952,28 +952,29 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
952
952
|
postTown?: string | null | undefined;
|
|
953
953
|
areaCovered?: string | null | undefined;
|
|
954
954
|
} | null | undefined;
|
|
955
|
+
rating?: number | null | undefined;
|
|
955
956
|
phoneNumbers?: {
|
|
956
|
-
createdAt: string;
|
|
957
|
-
updatedAt: string;
|
|
958
957
|
id: string;
|
|
959
958
|
phoneNumber: string;
|
|
960
959
|
isPrimary: boolean;
|
|
960
|
+
createdAt: string;
|
|
961
|
+
updatedAt: string;
|
|
961
962
|
description?: string | null | undefined;
|
|
962
963
|
}[] | null | undefined;
|
|
963
964
|
nino?: string | null | undefined;
|
|
964
965
|
dateOfBirth?: string | null | undefined;
|
|
965
966
|
bio?: string | null | undefined;
|
|
966
967
|
trades?: {
|
|
968
|
+
id: string;
|
|
967
969
|
createdAt: string;
|
|
968
970
|
updatedAt: string;
|
|
969
|
-
id: string;
|
|
970
971
|
tradeId: string;
|
|
971
972
|
mainTrade: boolean;
|
|
972
973
|
}[] | null | undefined;
|
|
973
974
|
qualifications?: {
|
|
975
|
+
id: string;
|
|
974
976
|
createdAt: string;
|
|
975
977
|
updatedAt: string;
|
|
976
|
-
id: string;
|
|
977
978
|
qualificationId: string;
|
|
978
979
|
qualificationTypeId: string | null;
|
|
979
980
|
referenceNumber: string | null;
|
|
@@ -981,7 +982,6 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
981
982
|
issueDate?: string | null | undefined;
|
|
982
983
|
expiryDate?: string | null | undefined;
|
|
983
984
|
}[] | null | undefined;
|
|
984
|
-
rating?: number | null | undefined;
|
|
985
985
|
}[];
|
|
986
986
|
totalCount: number;
|
|
987
987
|
skip: number;
|
|
@@ -992,10 +992,10 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
992
992
|
items: {
|
|
993
993
|
hasTools: boolean;
|
|
994
994
|
hasPpe: boolean;
|
|
995
|
+
id: string;
|
|
996
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
995
997
|
createdAt: string | Date;
|
|
996
998
|
updatedAt: string | Date;
|
|
997
|
-
id: string;
|
|
998
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
999
999
|
firstName: string;
|
|
1000
1000
|
lastName: string;
|
|
1001
1001
|
email?: string | null | undefined;
|
|
@@ -1010,11 +1010,12 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
1010
1010
|
postTown?: string | null | undefined;
|
|
1011
1011
|
areaCovered?: string | null | undefined;
|
|
1012
1012
|
} | null | undefined;
|
|
1013
|
+
rating?: number | null | undefined;
|
|
1013
1014
|
phoneNumbers?: {
|
|
1014
|
-
createdAt: string | Date;
|
|
1015
|
-
updatedAt: string | Date;
|
|
1016
1015
|
id: string;
|
|
1017
1016
|
phoneNumber: string;
|
|
1017
|
+
createdAt: string | Date;
|
|
1018
|
+
updatedAt: string | Date;
|
|
1018
1019
|
description?: string | null | undefined;
|
|
1019
1020
|
isPrimary?: boolean | undefined;
|
|
1020
1021
|
}[] | null | undefined;
|
|
@@ -1022,16 +1023,16 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
1022
1023
|
dateOfBirth?: string | Date | null | undefined;
|
|
1023
1024
|
bio?: string | null | undefined;
|
|
1024
1025
|
trades?: {
|
|
1026
|
+
id: string;
|
|
1025
1027
|
createdAt: string | Date;
|
|
1026
1028
|
updatedAt: string | Date;
|
|
1027
|
-
id: string;
|
|
1028
1029
|
tradeId: string;
|
|
1029
1030
|
mainTrade: boolean;
|
|
1030
1031
|
}[] | null | undefined;
|
|
1031
1032
|
qualifications?: {
|
|
1033
|
+
id: string;
|
|
1032
1034
|
createdAt: string | Date;
|
|
1033
1035
|
updatedAt: string | Date;
|
|
1034
|
-
id: string;
|
|
1035
1036
|
qualificationId: string;
|
|
1036
1037
|
qualificationTypeId: string | null;
|
|
1037
1038
|
referenceNumber: string | null;
|
|
@@ -1039,7 +1040,6 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
1039
1040
|
issueDate?: string | Date | null | undefined;
|
|
1040
1041
|
expiryDate?: string | Date | null | undefined;
|
|
1041
1042
|
}[] | null | undefined;
|
|
1042
|
-
rating?: number | null | undefined;
|
|
1043
1043
|
}[];
|
|
1044
1044
|
totalCount: number;
|
|
1045
1045
|
skip: number;
|
|
@@ -1106,12 +1106,12 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
|
|
|
1106
1106
|
tradeId?: string | undefined;
|
|
1107
1107
|
mainTrade?: boolean | undefined;
|
|
1108
1108
|
}[] | undefined;
|
|
1109
|
-
sortBy?: "email" | "phone" | "distance" | "
|
|
1109
|
+
sortBy?: "email" | "phone" | "distance" | "status" | "createdAt" | "updatedAt" | "rating" | "nameSimilarity" | "fullName" | undefined;
|
|
1110
1110
|
location?: {
|
|
1111
1111
|
postcode?: string | null | undefined;
|
|
1112
1112
|
radius?: number | null | undefined;
|
|
1113
1113
|
} | undefined;
|
|
1114
|
-
status?: "
|
|
1114
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1115
1115
|
nino?: string | undefined;
|
|
1116
1116
|
}, {
|
|
1117
1117
|
name?: string | undefined;
|
|
@@ -1127,7 +1127,7 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
|
|
|
1127
1127
|
tradeId?: string | undefined;
|
|
1128
1128
|
mainTrade?: unknown;
|
|
1129
1129
|
}[] | undefined;
|
|
1130
|
-
sortBy?: "email" | "phone" | "distance" | "
|
|
1130
|
+
sortBy?: "email" | "phone" | "distance" | "status" | "createdAt" | "updatedAt" | "rating" | "nameSimilarity" | "fullName" | undefined;
|
|
1131
1131
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1132
1132
|
location?: {
|
|
1133
1133
|
postcode?: string | null | undefined;
|
|
@@ -1135,7 +1135,7 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
|
|
|
1135
1135
|
} | undefined;
|
|
1136
1136
|
page?: number | undefined;
|
|
1137
1137
|
limit?: number | undefined;
|
|
1138
|
-
status?: "
|
|
1138
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1139
1139
|
nino?: string | undefined;
|
|
1140
1140
|
}>;
|
|
1141
1141
|
export type CreateCuratedWorkerPhoneNumber = z.infer<typeof CreateCuratedWorkerPhoneNumberSchema>;
|
|
@@ -1230,7 +1230,7 @@ export declare const curatedWorkersContract: {
|
|
|
1230
1230
|
}, "strip", z.ZodTypeAny, {
|
|
1231
1231
|
hasTools: boolean;
|
|
1232
1232
|
hasPpe: boolean;
|
|
1233
|
-
status: "
|
|
1233
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1234
1234
|
firstName: string;
|
|
1235
1235
|
lastName: string;
|
|
1236
1236
|
phoneNumbers: {
|
|
@@ -1249,6 +1249,7 @@ export declare const curatedWorkersContract: {
|
|
|
1249
1249
|
postcode?: string | null | undefined;
|
|
1250
1250
|
address?: string | null | undefined;
|
|
1251
1251
|
} | null | undefined;
|
|
1252
|
+
rating?: number | null | undefined;
|
|
1252
1253
|
nino?: string | null | undefined;
|
|
1253
1254
|
dateOfBirth?: string | null | undefined;
|
|
1254
1255
|
bio?: string | null | undefined;
|
|
@@ -1260,7 +1261,6 @@ export declare const curatedWorkersContract: {
|
|
|
1260
1261
|
referenceNumber?: string | null | undefined;
|
|
1261
1262
|
proofDocumentFileId?: string | null | undefined;
|
|
1262
1263
|
}[] | null | undefined;
|
|
1263
|
-
rating?: number | null | undefined;
|
|
1264
1264
|
}, {
|
|
1265
1265
|
hasTools: boolean;
|
|
1266
1266
|
hasPpe: boolean;
|
|
@@ -1282,7 +1282,8 @@ export declare const curatedWorkersContract: {
|
|
|
1282
1282
|
postcode?: string | null | undefined;
|
|
1283
1283
|
address?: string | null | undefined;
|
|
1284
1284
|
} | null | undefined;
|
|
1285
|
-
status?: "
|
|
1285
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1286
|
+
rating?: number | null | undefined;
|
|
1286
1287
|
nino?: string | null | undefined;
|
|
1287
1288
|
dateOfBirth?: string | Date | null | undefined;
|
|
1288
1289
|
bio?: string | null | undefined;
|
|
@@ -1294,7 +1295,6 @@ export declare const curatedWorkersContract: {
|
|
|
1294
1295
|
referenceNumber?: string | null | undefined;
|
|
1295
1296
|
proofDocumentFileId?: string | null | undefined;
|
|
1296
1297
|
}[] | null | undefined;
|
|
1297
|
-
rating?: number | null | undefined;
|
|
1298
1298
|
}>;
|
|
1299
1299
|
path: "/v2/curated-workers";
|
|
1300
1300
|
responses: {
|
|
@@ -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
|
referenceNumber: string | null;
|
|
@@ -1479,9 +1479,9 @@ export declare const curatedWorkersContract: {
|
|
|
1479
1479
|
issueDate?: string | null | undefined;
|
|
1480
1480
|
expiryDate?: string | null | undefined;
|
|
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
|
referenceNumber: string | null;
|
|
@@ -1498,27 +1498,27 @@ 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;
|
|
1503
1501
|
id: string;
|
|
1504
1502
|
phoneNumber: string;
|
|
1505
1503
|
isPrimary: boolean;
|
|
1504
|
+
createdAt: string;
|
|
1505
|
+
updatedAt: string;
|
|
1506
1506
|
description?: string | null | undefined;
|
|
1507
1507
|
}, {
|
|
1508
|
-
createdAt: string | Date;
|
|
1509
|
-
updatedAt: string | Date;
|
|
1510
1508
|
id: string;
|
|
1511
1509
|
phoneNumber: string;
|
|
1510
|
+
createdAt: string | Date;
|
|
1511
|
+
updatedAt: string | Date;
|
|
1512
1512
|
description?: string | null | undefined;
|
|
1513
1513
|
isPrimary?: boolean | undefined;
|
|
1514
1514
|
}>, "many">>>;
|
|
1515
1515
|
}, "strip", z.ZodTypeAny, {
|
|
1516
1516
|
hasTools: boolean;
|
|
1517
1517
|
hasPpe: boolean;
|
|
1518
|
+
id: string;
|
|
1519
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1518
1520
|
createdAt: string;
|
|
1519
1521
|
updatedAt: string;
|
|
1520
|
-
id: string;
|
|
1521
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1522
1522
|
firstName: string;
|
|
1523
1523
|
lastName: string;
|
|
1524
1524
|
email?: string | null | undefined;
|
|
@@ -1533,28 +1533,29 @@ export declare const curatedWorkersContract: {
|
|
|
1533
1533
|
postTown?: string | null | undefined;
|
|
1534
1534
|
areaCovered?: string | null | undefined;
|
|
1535
1535
|
} | null | undefined;
|
|
1536
|
+
rating?: number | null | undefined;
|
|
1536
1537
|
phoneNumbers?: {
|
|
1537
|
-
createdAt: string;
|
|
1538
|
-
updatedAt: string;
|
|
1539
1538
|
id: string;
|
|
1540
1539
|
phoneNumber: string;
|
|
1541
1540
|
isPrimary: boolean;
|
|
1541
|
+
createdAt: string;
|
|
1542
|
+
updatedAt: string;
|
|
1542
1543
|
description?: string | null | undefined;
|
|
1543
1544
|
}[] | null | undefined;
|
|
1544
1545
|
nino?: string | null | undefined;
|
|
1545
1546
|
dateOfBirth?: string | null | undefined;
|
|
1546
1547
|
bio?: string | null | undefined;
|
|
1547
1548
|
trades?: {
|
|
1549
|
+
id: string;
|
|
1548
1550
|
createdAt: string;
|
|
1549
1551
|
updatedAt: string;
|
|
1550
|
-
id: string;
|
|
1551
1552
|
tradeId: string;
|
|
1552
1553
|
mainTrade: boolean;
|
|
1553
1554
|
}[] | null | undefined;
|
|
1554
1555
|
qualifications?: {
|
|
1556
|
+
id: string;
|
|
1555
1557
|
createdAt: string;
|
|
1556
1558
|
updatedAt: string;
|
|
1557
|
-
id: string;
|
|
1558
1559
|
qualificationId: string;
|
|
1559
1560
|
qualificationTypeId: string | null;
|
|
1560
1561
|
referenceNumber: string | null;
|
|
@@ -1562,14 +1563,13 @@ export declare const curatedWorkersContract: {
|
|
|
1562
1563
|
issueDate?: string | null | undefined;
|
|
1563
1564
|
expiryDate?: string | null | undefined;
|
|
1564
1565
|
}[] | null | undefined;
|
|
1565
|
-
rating?: number | null | undefined;
|
|
1566
1566
|
}, {
|
|
1567
1567
|
hasTools: boolean;
|
|
1568
1568
|
hasPpe: boolean;
|
|
1569
|
+
id: string;
|
|
1570
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1569
1571
|
createdAt: string | Date;
|
|
1570
1572
|
updatedAt: string | Date;
|
|
1571
|
-
id: string;
|
|
1572
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1573
1573
|
firstName: string;
|
|
1574
1574
|
lastName: string;
|
|
1575
1575
|
email?: string | null | undefined;
|
|
@@ -1584,11 +1584,12 @@ export declare const curatedWorkersContract: {
|
|
|
1584
1584
|
postTown?: string | null | undefined;
|
|
1585
1585
|
areaCovered?: string | null | undefined;
|
|
1586
1586
|
} | null | undefined;
|
|
1587
|
+
rating?: number | null | undefined;
|
|
1587
1588
|
phoneNumbers?: {
|
|
1588
|
-
createdAt: string | Date;
|
|
1589
|
-
updatedAt: string | Date;
|
|
1590
1589
|
id: string;
|
|
1591
1590
|
phoneNumber: string;
|
|
1591
|
+
createdAt: string | Date;
|
|
1592
|
+
updatedAt: string | Date;
|
|
1592
1593
|
description?: string | null | undefined;
|
|
1593
1594
|
isPrimary?: boolean | undefined;
|
|
1594
1595
|
}[] | null | undefined;
|
|
@@ -1596,16 +1597,16 @@ export declare const curatedWorkersContract: {
|
|
|
1596
1597
|
dateOfBirth?: string | Date | null | undefined;
|
|
1597
1598
|
bio?: string | null | undefined;
|
|
1598
1599
|
trades?: {
|
|
1600
|
+
id: string;
|
|
1599
1601
|
createdAt: string | Date;
|
|
1600
1602
|
updatedAt: string | Date;
|
|
1601
|
-
id: string;
|
|
1602
1603
|
tradeId: string;
|
|
1603
1604
|
mainTrade: boolean;
|
|
1604
1605
|
}[] | null | undefined;
|
|
1605
1606
|
qualifications?: {
|
|
1607
|
+
id: string;
|
|
1606
1608
|
createdAt: string | Date;
|
|
1607
1609
|
updatedAt: string | Date;
|
|
1608
|
-
id: string;
|
|
1609
1610
|
qualificationId: string;
|
|
1610
1611
|
qualificationTypeId: string | null;
|
|
1611
1612
|
referenceNumber: string | null;
|
|
@@ -1613,7 +1614,6 @@ export declare const curatedWorkersContract: {
|
|
|
1613
1614
|
issueDate?: string | Date | null | undefined;
|
|
1614
1615
|
expiryDate?: string | Date | null | undefined;
|
|
1615
1616
|
}[] | null | undefined;
|
|
1616
|
-
rating?: number | null | undefined;
|
|
1617
1617
|
}>;
|
|
1618
1618
|
409: z.ZodObject<{
|
|
1619
1619
|
statusCode: z.ZodNumber;
|
|
@@ -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>;
|
|
@@ -1706,12 +1703,12 @@ export declare const curatedWorkersContract: {
|
|
|
1706
1703
|
tradeId?: string | undefined;
|
|
1707
1704
|
mainTrade?: boolean | undefined;
|
|
1708
1705
|
}[] | undefined;
|
|
1709
|
-
sortBy?: "email" | "phone" | "distance" | "
|
|
1706
|
+
sortBy?: "email" | "phone" | "distance" | "status" | "createdAt" | "updatedAt" | "rating" | "nameSimilarity" | "fullName" | undefined;
|
|
1710
1707
|
location?: {
|
|
1711
1708
|
postcode?: string | null | undefined;
|
|
1712
1709
|
radius?: number | null | undefined;
|
|
1713
1710
|
} | undefined;
|
|
1714
|
-
status?: "
|
|
1711
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1715
1712
|
nino?: string | undefined;
|
|
1716
1713
|
}, {
|
|
1717
1714
|
name?: string | undefined;
|
|
@@ -1727,7 +1724,7 @@ export declare const curatedWorkersContract: {
|
|
|
1727
1724
|
tradeId?: string | undefined;
|
|
1728
1725
|
mainTrade?: unknown;
|
|
1729
1726
|
}[] | undefined;
|
|
1730
|
-
sortBy?: "email" | "phone" | "distance" | "
|
|
1727
|
+
sortBy?: "email" | "phone" | "distance" | "status" | "createdAt" | "updatedAt" | "rating" | "nameSimilarity" | "fullName" | undefined;
|
|
1731
1728
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1732
1729
|
location?: {
|
|
1733
1730
|
postcode?: string | null | undefined;
|
|
@@ -1735,9 +1732,12 @@ export declare const curatedWorkersContract: {
|
|
|
1735
1732
|
} | undefined;
|
|
1736
1733
|
page?: number | undefined;
|
|
1737
1734
|
limit?: number | undefined;
|
|
1738
|
-
status?: "
|
|
1735
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1739
1736
|
nino?: string | 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
|
referenceNumber: string | null;
|
|
@@ -1924,9 +1924,9 @@ export declare const curatedWorkersContract: {
|
|
|
1924
1924
|
issueDate?: string | null | undefined;
|
|
1925
1925
|
expiryDate?: string | null | undefined;
|
|
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
|
referenceNumber: string | null;
|
|
@@ -1943,27 +1943,27 @@ 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;
|
|
1948
1946
|
id: string;
|
|
1949
1947
|
phoneNumber: string;
|
|
1950
1948
|
isPrimary: boolean;
|
|
1949
|
+
createdAt: string;
|
|
1950
|
+
updatedAt: string;
|
|
1951
1951
|
description?: string | null | undefined;
|
|
1952
1952
|
}, {
|
|
1953
|
-
createdAt: string | Date;
|
|
1954
|
-
updatedAt: string | Date;
|
|
1955
1953
|
id: string;
|
|
1956
1954
|
phoneNumber: string;
|
|
1955
|
+
createdAt: string | Date;
|
|
1956
|
+
updatedAt: string | Date;
|
|
1957
1957
|
description?: string | null | undefined;
|
|
1958
1958
|
isPrimary?: boolean | undefined;
|
|
1959
1959
|
}>, "many">>>;
|
|
1960
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1961
1961
|
hasTools: boolean;
|
|
1962
1962
|
hasPpe: boolean;
|
|
1963
|
+
id: string;
|
|
1964
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1963
1965
|
createdAt: string;
|
|
1964
1966
|
updatedAt: string;
|
|
1965
|
-
id: string;
|
|
1966
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1967
1967
|
firstName: string;
|
|
1968
1968
|
lastName: string;
|
|
1969
1969
|
email?: string | null | undefined;
|
|
@@ -1978,28 +1978,29 @@ export declare const curatedWorkersContract: {
|
|
|
1978
1978
|
postTown?: string | null | undefined;
|
|
1979
1979
|
areaCovered?: string | null | undefined;
|
|
1980
1980
|
} | null | undefined;
|
|
1981
|
+
rating?: number | null | undefined;
|
|
1981
1982
|
phoneNumbers?: {
|
|
1982
|
-
createdAt: string;
|
|
1983
|
-
updatedAt: string;
|
|
1984
1983
|
id: string;
|
|
1985
1984
|
phoneNumber: string;
|
|
1986
1985
|
isPrimary: boolean;
|
|
1986
|
+
createdAt: string;
|
|
1987
|
+
updatedAt: string;
|
|
1987
1988
|
description?: string | null | undefined;
|
|
1988
1989
|
}[] | null | undefined;
|
|
1989
1990
|
nino?: string | null | undefined;
|
|
1990
1991
|
dateOfBirth?: string | null | undefined;
|
|
1991
1992
|
bio?: string | null | undefined;
|
|
1992
1993
|
trades?: {
|
|
1994
|
+
id: string;
|
|
1993
1995
|
createdAt: string;
|
|
1994
1996
|
updatedAt: string;
|
|
1995
|
-
id: string;
|
|
1996
1997
|
tradeId: string;
|
|
1997
1998
|
mainTrade: boolean;
|
|
1998
1999
|
}[] | null | undefined;
|
|
1999
2000
|
qualifications?: {
|
|
2001
|
+
id: string;
|
|
2000
2002
|
createdAt: string;
|
|
2001
2003
|
updatedAt: string;
|
|
2002
|
-
id: string;
|
|
2003
2004
|
qualificationId: string;
|
|
2004
2005
|
qualificationTypeId: string | null;
|
|
2005
2006
|
referenceNumber: string | null;
|
|
@@ -2007,14 +2008,13 @@ export declare const curatedWorkersContract: {
|
|
|
2007
2008
|
issueDate?: string | null | undefined;
|
|
2008
2009
|
expiryDate?: string | null | undefined;
|
|
2009
2010
|
}[] | null | undefined;
|
|
2010
|
-
rating?: number | null | undefined;
|
|
2011
2011
|
}, {
|
|
2012
2012
|
hasTools: boolean;
|
|
2013
2013
|
hasPpe: boolean;
|
|
2014
|
+
id: string;
|
|
2015
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2014
2016
|
createdAt: string | Date;
|
|
2015
2017
|
updatedAt: string | Date;
|
|
2016
|
-
id: string;
|
|
2017
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2018
2018
|
firstName: string;
|
|
2019
2019
|
lastName: string;
|
|
2020
2020
|
email?: string | null | undefined;
|
|
@@ -2029,11 +2029,12 @@ export declare const curatedWorkersContract: {
|
|
|
2029
2029
|
postTown?: string | null | undefined;
|
|
2030
2030
|
areaCovered?: string | null | undefined;
|
|
2031
2031
|
} | null | undefined;
|
|
2032
|
+
rating?: number | null | undefined;
|
|
2032
2033
|
phoneNumbers?: {
|
|
2033
|
-
createdAt: string | Date;
|
|
2034
|
-
updatedAt: string | Date;
|
|
2035
2034
|
id: string;
|
|
2036
2035
|
phoneNumber: string;
|
|
2036
|
+
createdAt: string | Date;
|
|
2037
|
+
updatedAt: string | Date;
|
|
2037
2038
|
description?: string | null | undefined;
|
|
2038
2039
|
isPrimary?: boolean | undefined;
|
|
2039
2040
|
}[] | null | undefined;
|
|
@@ -2041,16 +2042,16 @@ export declare const curatedWorkersContract: {
|
|
|
2041
2042
|
dateOfBirth?: string | Date | null | undefined;
|
|
2042
2043
|
bio?: string | null | undefined;
|
|
2043
2044
|
trades?: {
|
|
2045
|
+
id: string;
|
|
2044
2046
|
createdAt: string | Date;
|
|
2045
2047
|
updatedAt: string | Date;
|
|
2046
|
-
id: string;
|
|
2047
2048
|
tradeId: string;
|
|
2048
2049
|
mainTrade: boolean;
|
|
2049
2050
|
}[] | null | undefined;
|
|
2050
2051
|
qualifications?: {
|
|
2052
|
+
id: string;
|
|
2051
2053
|
createdAt: string | Date;
|
|
2052
2054
|
updatedAt: string | Date;
|
|
2053
|
-
id: string;
|
|
2054
2055
|
qualificationId: string;
|
|
2055
2056
|
qualificationTypeId: string | null;
|
|
2056
2057
|
referenceNumber: string | null;
|
|
@@ -2058,7 +2059,6 @@ export declare const curatedWorkersContract: {
|
|
|
2058
2059
|
issueDate?: string | Date | null | undefined;
|
|
2059
2060
|
expiryDate?: string | Date | null | undefined;
|
|
2060
2061
|
}[] | null | undefined;
|
|
2061
|
-
rating?: number | null | undefined;
|
|
2062
2062
|
}>, "many">;
|
|
2063
2063
|
totalCount: z.ZodNumber;
|
|
2064
2064
|
limit: z.ZodNumber;
|
|
@@ -2070,10 +2070,10 @@ export declare const curatedWorkersContract: {
|
|
|
2070
2070
|
items: {
|
|
2071
2071
|
hasTools: boolean;
|
|
2072
2072
|
hasPpe: boolean;
|
|
2073
|
+
id: string;
|
|
2074
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2073
2075
|
createdAt: string;
|
|
2074
2076
|
updatedAt: string;
|
|
2075
|
-
id: string;
|
|
2076
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2077
2077
|
firstName: string;
|
|
2078
2078
|
lastName: string;
|
|
2079
2079
|
email?: string | null | undefined;
|
|
@@ -2088,28 +2088,29 @@ export declare const curatedWorkersContract: {
|
|
|
2088
2088
|
postTown?: string | null | undefined;
|
|
2089
2089
|
areaCovered?: string | null | undefined;
|
|
2090
2090
|
} | null | undefined;
|
|
2091
|
+
rating?: number | null | undefined;
|
|
2091
2092
|
phoneNumbers?: {
|
|
2092
|
-
createdAt: string;
|
|
2093
|
-
updatedAt: string;
|
|
2094
2093
|
id: string;
|
|
2095
2094
|
phoneNumber: string;
|
|
2096
2095
|
isPrimary: boolean;
|
|
2096
|
+
createdAt: string;
|
|
2097
|
+
updatedAt: string;
|
|
2097
2098
|
description?: string | null | undefined;
|
|
2098
2099
|
}[] | null | undefined;
|
|
2099
2100
|
nino?: string | null | undefined;
|
|
2100
2101
|
dateOfBirth?: string | null | undefined;
|
|
2101
2102
|
bio?: string | null | undefined;
|
|
2102
2103
|
trades?: {
|
|
2104
|
+
id: string;
|
|
2103
2105
|
createdAt: string;
|
|
2104
2106
|
updatedAt: string;
|
|
2105
|
-
id: string;
|
|
2106
2107
|
tradeId: string;
|
|
2107
2108
|
mainTrade: boolean;
|
|
2108
2109
|
}[] | null | undefined;
|
|
2109
2110
|
qualifications?: {
|
|
2111
|
+
id: string;
|
|
2110
2112
|
createdAt: string;
|
|
2111
2113
|
updatedAt: string;
|
|
2112
|
-
id: string;
|
|
2113
2114
|
qualificationId: string;
|
|
2114
2115
|
qualificationTypeId: string | null;
|
|
2115
2116
|
referenceNumber: string | null;
|
|
@@ -2117,7 +2118,6 @@ export declare const curatedWorkersContract: {
|
|
|
2117
2118
|
issueDate?: string | null | undefined;
|
|
2118
2119
|
expiryDate?: string | null | undefined;
|
|
2119
2120
|
}[] | null | undefined;
|
|
2120
|
-
rating?: number | null | undefined;
|
|
2121
2121
|
}[];
|
|
2122
2122
|
totalCount: number;
|
|
2123
2123
|
skip: number;
|
|
@@ -2128,10 +2128,10 @@ export declare const curatedWorkersContract: {
|
|
|
2128
2128
|
items: {
|
|
2129
2129
|
hasTools: boolean;
|
|
2130
2130
|
hasPpe: boolean;
|
|
2131
|
+
id: string;
|
|
2132
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2131
2133
|
createdAt: string | Date;
|
|
2132
2134
|
updatedAt: string | Date;
|
|
2133
|
-
id: string;
|
|
2134
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2135
2135
|
firstName: string;
|
|
2136
2136
|
lastName: string;
|
|
2137
2137
|
email?: string | null | undefined;
|
|
@@ -2146,11 +2146,12 @@ export declare const curatedWorkersContract: {
|
|
|
2146
2146
|
postTown?: string | null | undefined;
|
|
2147
2147
|
areaCovered?: string | null | undefined;
|
|
2148
2148
|
} | null | undefined;
|
|
2149
|
+
rating?: number | null | undefined;
|
|
2149
2150
|
phoneNumbers?: {
|
|
2150
|
-
createdAt: string | Date;
|
|
2151
|
-
updatedAt: string | Date;
|
|
2152
2151
|
id: string;
|
|
2153
2152
|
phoneNumber: string;
|
|
2153
|
+
createdAt: string | Date;
|
|
2154
|
+
updatedAt: string | Date;
|
|
2154
2155
|
description?: string | null | undefined;
|
|
2155
2156
|
isPrimary?: boolean | undefined;
|
|
2156
2157
|
}[] | null | undefined;
|
|
@@ -2158,16 +2159,16 @@ export declare const curatedWorkersContract: {
|
|
|
2158
2159
|
dateOfBirth?: string | Date | null | undefined;
|
|
2159
2160
|
bio?: string | null | undefined;
|
|
2160
2161
|
trades?: {
|
|
2162
|
+
id: string;
|
|
2161
2163
|
createdAt: string | Date;
|
|
2162
2164
|
updatedAt: string | Date;
|
|
2163
|
-
id: string;
|
|
2164
2165
|
tradeId: string;
|
|
2165
2166
|
mainTrade: boolean;
|
|
2166
2167
|
}[] | null | undefined;
|
|
2167
2168
|
qualifications?: {
|
|
2169
|
+
id: string;
|
|
2168
2170
|
createdAt: string | Date;
|
|
2169
2171
|
updatedAt: string | Date;
|
|
2170
|
-
id: string;
|
|
2171
2172
|
qualificationId: string;
|
|
2172
2173
|
qualificationTypeId: string | null;
|
|
2173
2174
|
referenceNumber: string | null;
|
|
@@ -2175,7 +2176,6 @@ export declare const curatedWorkersContract: {
|
|
|
2175
2176
|
issueDate?: string | Date | null | undefined;
|
|
2176
2177
|
expiryDate?: string | Date | null | undefined;
|
|
2177
2178
|
}[] | null | undefined;
|
|
2178
|
-
rating?: number | null | undefined;
|
|
2179
2179
|
}[];
|
|
2180
2180
|
totalCount: number;
|
|
2181
2181
|
skip: 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
|
referenceNumber: string | null;
|
|
@@ -2380,9 +2380,9 @@ export declare const curatedWorkersContract: {
|
|
|
2380
2380
|
issueDate?: string | null | undefined;
|
|
2381
2381
|
expiryDate?: string | null | undefined;
|
|
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
|
referenceNumber: string | null;
|
|
@@ -2399,27 +2399,27 @@ 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;
|
|
2404
2402
|
id: string;
|
|
2405
2403
|
phoneNumber: string;
|
|
2406
2404
|
isPrimary: boolean;
|
|
2405
|
+
createdAt: string;
|
|
2406
|
+
updatedAt: string;
|
|
2407
2407
|
description?: string | null | undefined;
|
|
2408
2408
|
}, {
|
|
2409
|
-
createdAt: string | Date;
|
|
2410
|
-
updatedAt: string | Date;
|
|
2411
2409
|
id: string;
|
|
2412
2410
|
phoneNumber: string;
|
|
2411
|
+
createdAt: string | Date;
|
|
2412
|
+
updatedAt: string | Date;
|
|
2413
2413
|
description?: string | null | undefined;
|
|
2414
2414
|
isPrimary?: boolean | undefined;
|
|
2415
2415
|
}>, "many">>>;
|
|
2416
2416
|
}, "strip", z.ZodTypeAny, {
|
|
2417
2417
|
hasTools: boolean;
|
|
2418
2418
|
hasPpe: boolean;
|
|
2419
|
+
id: string;
|
|
2420
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2419
2421
|
createdAt: string;
|
|
2420
2422
|
updatedAt: string;
|
|
2421
|
-
id: string;
|
|
2422
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2423
2423
|
firstName: string;
|
|
2424
2424
|
lastName: string;
|
|
2425
2425
|
email?: string | null | undefined;
|
|
@@ -2434,28 +2434,29 @@ export declare const curatedWorkersContract: {
|
|
|
2434
2434
|
postTown?: string | null | undefined;
|
|
2435
2435
|
areaCovered?: string | null | undefined;
|
|
2436
2436
|
} | null | undefined;
|
|
2437
|
+
rating?: number | null | undefined;
|
|
2437
2438
|
phoneNumbers?: {
|
|
2438
|
-
createdAt: string;
|
|
2439
|
-
updatedAt: string;
|
|
2440
2439
|
id: string;
|
|
2441
2440
|
phoneNumber: string;
|
|
2442
2441
|
isPrimary: boolean;
|
|
2442
|
+
createdAt: string;
|
|
2443
|
+
updatedAt: string;
|
|
2443
2444
|
description?: string | null | undefined;
|
|
2444
2445
|
}[] | null | undefined;
|
|
2445
2446
|
nino?: string | null | undefined;
|
|
2446
2447
|
dateOfBirth?: string | null | undefined;
|
|
2447
2448
|
bio?: string | null | undefined;
|
|
2448
2449
|
trades?: {
|
|
2450
|
+
id: string;
|
|
2449
2451
|
createdAt: string;
|
|
2450
2452
|
updatedAt: string;
|
|
2451
|
-
id: string;
|
|
2452
2453
|
tradeId: string;
|
|
2453
2454
|
mainTrade: boolean;
|
|
2454
2455
|
}[] | null | undefined;
|
|
2455
2456
|
qualifications?: {
|
|
2457
|
+
id: string;
|
|
2456
2458
|
createdAt: string;
|
|
2457
2459
|
updatedAt: string;
|
|
2458
|
-
id: string;
|
|
2459
2460
|
qualificationId: string;
|
|
2460
2461
|
qualificationTypeId: string | null;
|
|
2461
2462
|
referenceNumber: string | null;
|
|
@@ -2463,14 +2464,13 @@ export declare const curatedWorkersContract: {
|
|
|
2463
2464
|
issueDate?: string | null | undefined;
|
|
2464
2465
|
expiryDate?: string | null | undefined;
|
|
2465
2466
|
}[] | null | undefined;
|
|
2466
|
-
rating?: number | null | undefined;
|
|
2467
2467
|
}, {
|
|
2468
2468
|
hasTools: boolean;
|
|
2469
2469
|
hasPpe: boolean;
|
|
2470
|
+
id: string;
|
|
2471
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2470
2472
|
createdAt: string | Date;
|
|
2471
2473
|
updatedAt: string | Date;
|
|
2472
|
-
id: string;
|
|
2473
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2474
2474
|
firstName: string;
|
|
2475
2475
|
lastName: string;
|
|
2476
2476
|
email?: string | null | undefined;
|
|
@@ -2485,11 +2485,12 @@ export declare const curatedWorkersContract: {
|
|
|
2485
2485
|
postTown?: string | null | undefined;
|
|
2486
2486
|
areaCovered?: string | null | undefined;
|
|
2487
2487
|
} | null | undefined;
|
|
2488
|
+
rating?: number | null | undefined;
|
|
2488
2489
|
phoneNumbers?: {
|
|
2489
|
-
createdAt: string | Date;
|
|
2490
|
-
updatedAt: string | Date;
|
|
2491
2490
|
id: string;
|
|
2492
2491
|
phoneNumber: string;
|
|
2492
|
+
createdAt: string | Date;
|
|
2493
|
+
updatedAt: string | Date;
|
|
2493
2494
|
description?: string | null | undefined;
|
|
2494
2495
|
isPrimary?: boolean | undefined;
|
|
2495
2496
|
}[] | null | undefined;
|
|
@@ -2497,16 +2498,16 @@ export declare const curatedWorkersContract: {
|
|
|
2497
2498
|
dateOfBirth?: string | Date | null | undefined;
|
|
2498
2499
|
bio?: string | null | undefined;
|
|
2499
2500
|
trades?: {
|
|
2501
|
+
id: string;
|
|
2500
2502
|
createdAt: string | Date;
|
|
2501
2503
|
updatedAt: string | Date;
|
|
2502
|
-
id: string;
|
|
2503
2504
|
tradeId: string;
|
|
2504
2505
|
mainTrade: boolean;
|
|
2505
2506
|
}[] | null | undefined;
|
|
2506
2507
|
qualifications?: {
|
|
2508
|
+
id: string;
|
|
2507
2509
|
createdAt: string | Date;
|
|
2508
2510
|
updatedAt: string | Date;
|
|
2509
|
-
id: string;
|
|
2510
2511
|
qualificationId: string;
|
|
2511
2512
|
qualificationTypeId: string | null;
|
|
2512
2513
|
referenceNumber: string | null;
|
|
@@ -2514,7 +2515,6 @@ export declare const curatedWorkersContract: {
|
|
|
2514
2515
|
issueDate?: string | Date | null | undefined;
|
|
2515
2516
|
expiryDate?: string | Date | null | undefined;
|
|
2516
2517
|
}[] | null | undefined;
|
|
2517
|
-
rating?: number | null | undefined;
|
|
2518
2518
|
}>;
|
|
2519
2519
|
404: z.ZodObject<{
|
|
2520
2520
|
statusCode: z.ZodNumber;
|
|
@@ -2623,23 +2623,23 @@ export declare const curatedWorkersContract: {
|
|
|
2623
2623
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
2624
2624
|
}, "strip", z.ZodTypeAny, {
|
|
2625
2625
|
id?: string | undefined;
|
|
2626
|
-
description?: string | null | undefined;
|
|
2627
2626
|
phoneNumber?: string | undefined;
|
|
2627
|
+
description?: string | null | undefined;
|
|
2628
2628
|
isPrimary?: boolean | undefined;
|
|
2629
2629
|
}, {
|
|
2630
2630
|
id?: string | undefined;
|
|
2631
|
-
description?: string | null | undefined;
|
|
2632
2631
|
phoneNumber?: string | undefined;
|
|
2632
|
+
description?: string | null | undefined;
|
|
2633
2633
|
isPrimary?: boolean | undefined;
|
|
2634
2634
|
}>, {
|
|
2635
2635
|
id?: string | undefined;
|
|
2636
|
-
description?: string | null | undefined;
|
|
2637
2636
|
phoneNumber?: string | undefined;
|
|
2637
|
+
description?: string | null | undefined;
|
|
2638
2638
|
isPrimary?: boolean | undefined;
|
|
2639
2639
|
}, {
|
|
2640
2640
|
id?: string | undefined;
|
|
2641
|
-
description?: string | null | undefined;
|
|
2642
2641
|
phoneNumber?: string | undefined;
|
|
2642
|
+
description?: string | null | undefined;
|
|
2643
2643
|
isPrimary?: boolean | undefined;
|
|
2644
2644
|
}>, "many">>>;
|
|
2645
2645
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2652,13 +2652,14 @@ export declare const curatedWorkersContract: {
|
|
|
2652
2652
|
postcode?: string | null | undefined;
|
|
2653
2653
|
address?: string | null | undefined;
|
|
2654
2654
|
} | null | undefined;
|
|
2655
|
-
status?: "
|
|
2655
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
2656
|
+
rating?: number | null | undefined;
|
|
2656
2657
|
firstName?: string | undefined;
|
|
2657
2658
|
lastName?: string | undefined;
|
|
2658
2659
|
phoneNumbers?: {
|
|
2659
2660
|
id?: string | undefined;
|
|
2660
|
-
description?: string | null | undefined;
|
|
2661
2661
|
phoneNumber?: string | undefined;
|
|
2662
|
+
description?: string | null | undefined;
|
|
2662
2663
|
isPrimary?: boolean | undefined;
|
|
2663
2664
|
}[] | null | undefined;
|
|
2664
2665
|
nino?: string | null | undefined;
|
|
@@ -2677,7 +2678,6 @@ export declare const curatedWorkersContract: {
|
|
|
2677
2678
|
referenceNumber?: string | null | undefined;
|
|
2678
2679
|
proofDocumentFileId?: string | null | undefined;
|
|
2679
2680
|
}[] | null | undefined;
|
|
2680
|
-
rating?: number | null | undefined;
|
|
2681
2681
|
}, {
|
|
2682
2682
|
email?: string | null | undefined;
|
|
2683
2683
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
@@ -2688,13 +2688,14 @@ export declare const curatedWorkersContract: {
|
|
|
2688
2688
|
postcode?: string | null | undefined;
|
|
2689
2689
|
address?: string | null | undefined;
|
|
2690
2690
|
} | null | undefined;
|
|
2691
|
-
status?: "
|
|
2691
|
+
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
2692
|
+
rating?: number | null | undefined;
|
|
2692
2693
|
firstName?: string | undefined;
|
|
2693
2694
|
lastName?: string | undefined;
|
|
2694
2695
|
phoneNumbers?: {
|
|
2695
2696
|
id?: string | undefined;
|
|
2696
|
-
description?: string | null | undefined;
|
|
2697
2697
|
phoneNumber?: string | undefined;
|
|
2698
|
+
description?: string | null | undefined;
|
|
2698
2699
|
isPrimary?: boolean | undefined;
|
|
2699
2700
|
}[] | null | undefined;
|
|
2700
2701
|
nino?: string | null | undefined;
|
|
@@ -2713,7 +2714,6 @@ export declare const curatedWorkersContract: {
|
|
|
2713
2714
|
referenceNumber?: string | null | undefined;
|
|
2714
2715
|
proofDocumentFileId?: string | null | undefined;
|
|
2715
2716
|
}[] | null | undefined;
|
|
2716
|
-
rating?: number | null | undefined;
|
|
2717
2717
|
}>;
|
|
2718
2718
|
path: "/v2/curated-workers/:id";
|
|
2719
2719
|
responses: {
|
|
@@ -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
|
referenceNumber: string | null;
|
|
@@ -2898,9 +2898,9 @@ export declare const curatedWorkersContract: {
|
|
|
2898
2898
|
issueDate?: string | null | undefined;
|
|
2899
2899
|
expiryDate?: string | null | undefined;
|
|
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
|
referenceNumber: string | null;
|
|
@@ -2917,27 +2917,27 @@ 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;
|
|
2922
2920
|
id: string;
|
|
2923
2921
|
phoneNumber: string;
|
|
2924
2922
|
isPrimary: boolean;
|
|
2923
|
+
createdAt: string;
|
|
2924
|
+
updatedAt: string;
|
|
2925
2925
|
description?: string | null | undefined;
|
|
2926
2926
|
}, {
|
|
2927
|
-
createdAt: string | Date;
|
|
2928
|
-
updatedAt: string | Date;
|
|
2929
2927
|
id: string;
|
|
2930
2928
|
phoneNumber: string;
|
|
2929
|
+
createdAt: string | Date;
|
|
2930
|
+
updatedAt: string | Date;
|
|
2931
2931
|
description?: string | null | undefined;
|
|
2932
2932
|
isPrimary?: boolean | undefined;
|
|
2933
2933
|
}>, "many">>>;
|
|
2934
2934
|
}, "strip", z.ZodTypeAny, {
|
|
2935
2935
|
hasTools: boolean;
|
|
2936
2936
|
hasPpe: boolean;
|
|
2937
|
+
id: string;
|
|
2938
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2937
2939
|
createdAt: string;
|
|
2938
2940
|
updatedAt: string;
|
|
2939
|
-
id: string;
|
|
2940
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2941
2941
|
firstName: string;
|
|
2942
2942
|
lastName: string;
|
|
2943
2943
|
email?: string | null | undefined;
|
|
@@ -2952,28 +2952,29 @@ export declare const curatedWorkersContract: {
|
|
|
2952
2952
|
postTown?: string | null | undefined;
|
|
2953
2953
|
areaCovered?: string | null | undefined;
|
|
2954
2954
|
} | null | undefined;
|
|
2955
|
+
rating?: number | null | undefined;
|
|
2955
2956
|
phoneNumbers?: {
|
|
2956
|
-
createdAt: string;
|
|
2957
|
-
updatedAt: string;
|
|
2958
2957
|
id: string;
|
|
2959
2958
|
phoneNumber: string;
|
|
2960
2959
|
isPrimary: boolean;
|
|
2960
|
+
createdAt: string;
|
|
2961
|
+
updatedAt: string;
|
|
2961
2962
|
description?: string | null | undefined;
|
|
2962
2963
|
}[] | null | undefined;
|
|
2963
2964
|
nino?: string | null | undefined;
|
|
2964
2965
|
dateOfBirth?: string | null | undefined;
|
|
2965
2966
|
bio?: string | null | undefined;
|
|
2966
2967
|
trades?: {
|
|
2968
|
+
id: string;
|
|
2967
2969
|
createdAt: string;
|
|
2968
2970
|
updatedAt: string;
|
|
2969
|
-
id: string;
|
|
2970
2971
|
tradeId: string;
|
|
2971
2972
|
mainTrade: boolean;
|
|
2972
2973
|
}[] | null | undefined;
|
|
2973
2974
|
qualifications?: {
|
|
2975
|
+
id: string;
|
|
2974
2976
|
createdAt: string;
|
|
2975
2977
|
updatedAt: string;
|
|
2976
|
-
id: string;
|
|
2977
2978
|
qualificationId: string;
|
|
2978
2979
|
qualificationTypeId: string | null;
|
|
2979
2980
|
referenceNumber: string | null;
|
|
@@ -2981,14 +2982,13 @@ export declare const curatedWorkersContract: {
|
|
|
2981
2982
|
issueDate?: string | null | undefined;
|
|
2982
2983
|
expiryDate?: string | null | undefined;
|
|
2983
2984
|
}[] | null | undefined;
|
|
2984
|
-
rating?: number | null | undefined;
|
|
2985
2985
|
}, {
|
|
2986
2986
|
hasTools: boolean;
|
|
2987
2987
|
hasPpe: boolean;
|
|
2988
|
+
id: string;
|
|
2989
|
+
status: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2988
2990
|
createdAt: string | Date;
|
|
2989
2991
|
updatedAt: string | Date;
|
|
2990
|
-
id: string;
|
|
2991
|
-
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2992
2992
|
firstName: string;
|
|
2993
2993
|
lastName: string;
|
|
2994
2994
|
email?: string | null | undefined;
|
|
@@ -3003,11 +3003,12 @@ export declare const curatedWorkersContract: {
|
|
|
3003
3003
|
postTown?: string | null | undefined;
|
|
3004
3004
|
areaCovered?: string | null | undefined;
|
|
3005
3005
|
} | null | undefined;
|
|
3006
|
+
rating?: number | null | undefined;
|
|
3006
3007
|
phoneNumbers?: {
|
|
3007
|
-
createdAt: string | Date;
|
|
3008
|
-
updatedAt: string | Date;
|
|
3009
3008
|
id: string;
|
|
3010
3009
|
phoneNumber: string;
|
|
3010
|
+
createdAt: string | Date;
|
|
3011
|
+
updatedAt: string | Date;
|
|
3011
3012
|
description?: string | null | undefined;
|
|
3012
3013
|
isPrimary?: boolean | undefined;
|
|
3013
3014
|
}[] | null | undefined;
|
|
@@ -3015,16 +3016,16 @@ export declare const curatedWorkersContract: {
|
|
|
3015
3016
|
dateOfBirth?: string | Date | null | undefined;
|
|
3016
3017
|
bio?: string | null | undefined;
|
|
3017
3018
|
trades?: {
|
|
3019
|
+
id: string;
|
|
3018
3020
|
createdAt: string | Date;
|
|
3019
3021
|
updatedAt: string | Date;
|
|
3020
|
-
id: string;
|
|
3021
3022
|
tradeId: string;
|
|
3022
3023
|
mainTrade: boolean;
|
|
3023
3024
|
}[] | null | undefined;
|
|
3024
3025
|
qualifications?: {
|
|
3026
|
+
id: string;
|
|
3025
3027
|
createdAt: string | Date;
|
|
3026
3028
|
updatedAt: string | Date;
|
|
3027
|
-
id: string;
|
|
3028
3029
|
qualificationId: string;
|
|
3029
3030
|
qualificationTypeId: string | null;
|
|
3030
3031
|
referenceNumber: string | null;
|
|
@@ -3032,7 +3033,6 @@ export declare const curatedWorkersContract: {
|
|
|
3032
3033
|
issueDate?: string | Date | null | undefined;
|
|
3033
3034
|
expiryDate?: string | Date | null | undefined;
|
|
3034
3035
|
}[] | null | undefined;
|
|
3035
|
-
rating?: number | null | undefined;
|
|
3036
3036
|
}>;
|
|
3037
3037
|
404: z.ZodObject<{
|
|
3038
3038
|
statusCode: z.ZodNumber;
|