@dakkitor/api-contracts 1.1.79 → 1.1.80
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/first-agent.abilities.json +2 -0
- package/dist/actives/actives.contract.d.ts +2517 -2227
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +34 -34
- package/dist/bookings/bookings.contract.d.ts +2216 -1951
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +74 -74
- package/dist/client-contacts/client-contacts.contract.d.ts +32 -32
- package/dist/clients/clients.contract.d.ts +18 -18
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +600 -600
- package/dist/collaborations/collaborations.contract.d.ts +766 -491
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +10 -5
- package/dist/common/common-schemas.d.ts +69 -2
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +72 -1
- package/dist/companies/companies.contract.d.ts +2 -2
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
- package/dist/curated-workers/curated-workers.contract.d.ts +312 -285
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +7 -20
- package/dist/jobs/jobs.contract.d.ts +687 -687
- package/dist/lead-assignments/lead-assignments.contract.d.ts +74 -74
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +16 -16
- package/dist/leads/leads.contract.d.ts +48 -48
- package/dist/locations/locations.contract.d.ts +12 -12
- package/dist/users/users.contract.d.ts +12 -18
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +3 -12
- package/dist/workers/workers.contract.d.ts +351 -181
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +27 -42
- package/package.json +1 -1
|
@@ -4,57 +4,66 @@ export declare const CuratedWorkerSortableFieldsSchema: z.ZodEnum<["nameSimilari
|
|
|
4
4
|
export type CuratedWorkerStatus = z.infer<typeof CuratedWorkerStatusSchema>;
|
|
5
5
|
export type CuratedWorkerSortableFields = z.infer<typeof CuratedWorkerSortableFieldsSchema>;
|
|
6
6
|
export declare const CreateCuratedWorkerPhoneNumberSchema: z.ZodObject<{
|
|
7
|
-
phoneNumber: z.ZodString
|
|
7
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
8
8
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
isPrimary: z.ZodBoolean
|
|
9
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
phoneNumber: string;
|
|
12
12
|
isPrimary: boolean;
|
|
13
13
|
description?: string | null | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
phoneNumber: string;
|
|
16
|
-
isPrimary: boolean;
|
|
17
16
|
description?: string | null | undefined;
|
|
17
|
+
isPrimary?: boolean | undefined;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const UpdateCuratedWorkerPhoneNumberSchema: z.ZodObject<{
|
|
20
|
-
phoneNumber: z.ZodString;
|
|
21
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
isPrimary: z.ZodBoolean;
|
|
23
|
-
} & {
|
|
19
|
+
export declare const UpdateCuratedWorkerPhoneNumberSchema: z.ZodEffects<z.ZodObject<{
|
|
24
20
|
id: z.ZodOptional<z.ZodString>;
|
|
21
|
+
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
22
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
25
24
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
phoneNumber
|
|
27
|
-
isPrimary: boolean;
|
|
28
|
-
id?: string | undefined;
|
|
25
|
+
phoneNumber?: string | undefined;
|
|
29
26
|
description?: string | null | undefined;
|
|
27
|
+
isPrimary?: boolean | undefined;
|
|
28
|
+
id?: string | undefined;
|
|
30
29
|
}, {
|
|
31
|
-
phoneNumber
|
|
32
|
-
|
|
30
|
+
phoneNumber?: string | undefined;
|
|
31
|
+
description?: string | null | undefined;
|
|
32
|
+
isPrimary?: boolean | undefined;
|
|
33
33
|
id?: string | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
phoneNumber?: string | undefined;
|
|
36
|
+
description?: string | null | undefined;
|
|
37
|
+
isPrimary?: boolean | undefined;
|
|
38
|
+
id?: string | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
phoneNumber?: string | undefined;
|
|
34
41
|
description?: string | null | undefined;
|
|
42
|
+
isPrimary?: boolean | undefined;
|
|
43
|
+
id?: string | undefined;
|
|
35
44
|
}>;
|
|
36
45
|
export declare const CuratedWorkerPhoneNumberSchema: z.ZodObject<{
|
|
37
|
-
phoneNumber: z.ZodString
|
|
46
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
38
47
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
isPrimary: z.ZodBoolean
|
|
48
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
40
49
|
} & {
|
|
41
50
|
id: z.ZodString;
|
|
42
51
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
43
52
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
44
53
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
id: string;
|
|
46
54
|
createdAt: string;
|
|
47
55
|
updatedAt: string;
|
|
48
56
|
phoneNumber: string;
|
|
49
57
|
isPrimary: boolean;
|
|
58
|
+
id: string;
|
|
50
59
|
description?: string | null | undefined;
|
|
51
60
|
}, {
|
|
52
|
-
id: string;
|
|
53
61
|
createdAt: string | Date;
|
|
54
62
|
updatedAt: string | Date;
|
|
55
63
|
phoneNumber: string;
|
|
56
|
-
|
|
64
|
+
id: string;
|
|
57
65
|
description?: string | null | undefined;
|
|
66
|
+
isPrimary?: boolean | undefined;
|
|
58
67
|
}>;
|
|
59
68
|
export declare const CuratedWorkerTradeSchema: z.ZodObject<{
|
|
60
69
|
tradeId: z.ZodString;
|
|
@@ -73,15 +82,15 @@ export declare const CuratedWorkerTradeResponseSchema: z.ZodObject<{
|
|
|
73
82
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
74
83
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
75
84
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
id: string;
|
|
77
85
|
createdAt: string;
|
|
78
86
|
updatedAt: string;
|
|
87
|
+
id: string;
|
|
79
88
|
tradeId: string;
|
|
80
89
|
mainTrade: boolean;
|
|
81
90
|
}, {
|
|
82
|
-
id: string;
|
|
83
91
|
createdAt: string | Date;
|
|
84
92
|
updatedAt: string | Date;
|
|
93
|
+
id: string;
|
|
85
94
|
tradeId: string;
|
|
86
95
|
mainTrade: boolean;
|
|
87
96
|
}>;
|
|
@@ -144,9 +153,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
|
|
|
144
153
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
145
154
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
146
155
|
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
id: string;
|
|
148
156
|
createdAt: string;
|
|
149
157
|
updatedAt: string;
|
|
158
|
+
id: string;
|
|
150
159
|
qualificationId: string;
|
|
151
160
|
qualificationTypeId: string | null;
|
|
152
161
|
issueDate: string | null;
|
|
@@ -154,9 +163,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
|
|
|
154
163
|
referenceNumber: string | null;
|
|
155
164
|
proofDocumentFileId: string | null;
|
|
156
165
|
}, {
|
|
157
|
-
id: string;
|
|
158
166
|
createdAt: string | Date;
|
|
159
167
|
updatedAt: string | Date;
|
|
168
|
+
id: string;
|
|
160
169
|
qualificationId: string;
|
|
161
170
|
qualificationTypeId: string | null;
|
|
162
171
|
issueDate: string | Date | null;
|
|
@@ -189,17 +198,17 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
189
198
|
lastName: z.ZodString;
|
|
190
199
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
200
|
phoneNumbers: z.ZodArray<z.ZodObject<{
|
|
192
|
-
phoneNumber: z.ZodString
|
|
201
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
193
202
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
-
isPrimary: z.ZodBoolean
|
|
203
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
195
204
|
}, "strip", z.ZodTypeAny, {
|
|
196
205
|
phoneNumber: string;
|
|
197
206
|
isPrimary: boolean;
|
|
198
207
|
description?: string | null | undefined;
|
|
199
208
|
}, {
|
|
200
209
|
phoneNumber: string;
|
|
201
|
-
isPrimary: boolean;
|
|
202
210
|
description?: string | null | undefined;
|
|
211
|
+
isPrimary?: boolean | undefined;
|
|
203
212
|
}>, "many">;
|
|
204
213
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
214
|
dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
@@ -253,7 +262,7 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
253
262
|
postcode?: string | null | undefined;
|
|
254
263
|
}>>>;
|
|
255
264
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
status: "AVAILABLE" | "
|
|
265
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
257
266
|
firstName: string;
|
|
258
267
|
lastName: string;
|
|
259
268
|
phoneNumbers: {
|
|
@@ -267,8 +276,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
267
276
|
}[];
|
|
268
277
|
hasTools: boolean;
|
|
269
278
|
hasPpe: boolean;
|
|
270
|
-
rating?: number | null | undefined;
|
|
271
279
|
email?: string | null | undefined;
|
|
280
|
+
rating?: number | null | undefined;
|
|
272
281
|
nino?: string | null | undefined;
|
|
273
282
|
dateOfBirth?: string | null | undefined;
|
|
274
283
|
bio?: string | null | undefined;
|
|
@@ -291,8 +300,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
291
300
|
lastName: string;
|
|
292
301
|
phoneNumbers: {
|
|
293
302
|
phoneNumber: string;
|
|
294
|
-
isPrimary: boolean;
|
|
295
303
|
description?: string | null | undefined;
|
|
304
|
+
isPrimary?: boolean | undefined;
|
|
296
305
|
}[];
|
|
297
306
|
trades: {
|
|
298
307
|
tradeId: string;
|
|
@@ -300,9 +309,9 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
300
309
|
}[];
|
|
301
310
|
hasTools: boolean;
|
|
302
311
|
hasPpe: boolean;
|
|
303
|
-
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
304
|
-
rating?: number | null | undefined;
|
|
305
312
|
email?: string | null | undefined;
|
|
313
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
314
|
+
rating?: number | null | undefined;
|
|
306
315
|
nino?: string | null | undefined;
|
|
307
316
|
dateOfBirth?: string | Date | null | undefined;
|
|
308
317
|
bio?: string | null | undefined;
|
|
@@ -381,34 +390,43 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
381
390
|
referenceNumber?: string | null | undefined;
|
|
382
391
|
proofDocumentFileId?: string | null | undefined;
|
|
383
392
|
}>, "many">>>;
|
|
384
|
-
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
385
|
-
phoneNumber: z.ZodString;
|
|
386
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
|
-
isPrimary: z.ZodBoolean;
|
|
388
|
-
} & {
|
|
393
|
+
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
389
394
|
id: z.ZodOptional<z.ZodString>;
|
|
395
|
+
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
396
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
397
|
+
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
390
398
|
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
phoneNumber
|
|
392
|
-
isPrimary: boolean;
|
|
393
|
-
id?: string | undefined;
|
|
399
|
+
phoneNumber?: string | undefined;
|
|
394
400
|
description?: string | null | undefined;
|
|
401
|
+
isPrimary?: boolean | undefined;
|
|
402
|
+
id?: string | undefined;
|
|
395
403
|
}, {
|
|
396
|
-
phoneNumber
|
|
397
|
-
|
|
404
|
+
phoneNumber?: string | undefined;
|
|
405
|
+
description?: string | null | undefined;
|
|
406
|
+
isPrimary?: boolean | undefined;
|
|
398
407
|
id?: string | undefined;
|
|
408
|
+
}>, {
|
|
409
|
+
phoneNumber?: string | undefined;
|
|
399
410
|
description?: string | null | undefined;
|
|
411
|
+
isPrimary?: boolean | undefined;
|
|
412
|
+
id?: string | undefined;
|
|
413
|
+
}, {
|
|
414
|
+
phoneNumber?: string | undefined;
|
|
415
|
+
description?: string | null | undefined;
|
|
416
|
+
isPrimary?: boolean | undefined;
|
|
417
|
+
id?: string | undefined;
|
|
400
418
|
}>, "many">>>;
|
|
401
419
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
-
|
|
420
|
+
email?: string | null | undefined;
|
|
421
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
403
422
|
rating?: number | null | undefined;
|
|
404
423
|
firstName?: string | undefined;
|
|
405
424
|
lastName?: string | undefined;
|
|
406
|
-
email?: string | null | undefined;
|
|
407
425
|
phoneNumbers?: {
|
|
408
|
-
phoneNumber
|
|
409
|
-
isPrimary: boolean;
|
|
410
|
-
id?: string | undefined;
|
|
426
|
+
phoneNumber?: string | undefined;
|
|
411
427
|
description?: string | null | undefined;
|
|
428
|
+
isPrimary?: boolean | undefined;
|
|
429
|
+
id?: string | undefined;
|
|
412
430
|
}[] | null | undefined;
|
|
413
431
|
nino?: string | null | undefined;
|
|
414
432
|
dateOfBirth?: string | null | undefined;
|
|
@@ -435,16 +453,16 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
435
453
|
postcode?: string | null | undefined;
|
|
436
454
|
} | null | undefined;
|
|
437
455
|
}, {
|
|
438
|
-
|
|
456
|
+
email?: string | null | undefined;
|
|
457
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
439
458
|
rating?: number | null | undefined;
|
|
440
459
|
firstName?: string | undefined;
|
|
441
460
|
lastName?: string | undefined;
|
|
442
|
-
email?: string | null | undefined;
|
|
443
461
|
phoneNumbers?: {
|
|
444
|
-
phoneNumber
|
|
445
|
-
isPrimary: boolean;
|
|
446
|
-
id?: string | undefined;
|
|
462
|
+
phoneNumber?: string | undefined;
|
|
447
463
|
description?: string | null | undefined;
|
|
464
|
+
isPrimary?: boolean | undefined;
|
|
465
|
+
id?: string | undefined;
|
|
448
466
|
}[] | null | undefined;
|
|
449
467
|
nino?: string | null | undefined;
|
|
450
468
|
dateOfBirth?: string | Date | null | undefined;
|
|
@@ -519,15 +537,15 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
519
537
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
520
538
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
521
539
|
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
id: string;
|
|
523
540
|
createdAt: string;
|
|
524
541
|
updatedAt: string;
|
|
542
|
+
id: string;
|
|
525
543
|
tradeId: string;
|
|
526
544
|
mainTrade: boolean;
|
|
527
545
|
}, {
|
|
528
|
-
id: string;
|
|
529
546
|
createdAt: string | Date;
|
|
530
547
|
updatedAt: string | Date;
|
|
548
|
+
id: string;
|
|
531
549
|
tradeId: string;
|
|
532
550
|
mainTrade: boolean;
|
|
533
551
|
}>, "many">>>;
|
|
@@ -542,9 +560,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
542
560
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
543
561
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
544
562
|
}, "strip", z.ZodTypeAny, {
|
|
545
|
-
id: string;
|
|
546
563
|
createdAt: string;
|
|
547
564
|
updatedAt: string;
|
|
565
|
+
id: string;
|
|
548
566
|
qualificationId: string;
|
|
549
567
|
qualificationTypeId: string | null;
|
|
550
568
|
issueDate: string | null;
|
|
@@ -552,9 +570,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
552
570
|
referenceNumber: string | null;
|
|
553
571
|
proofDocumentFileId: string | null;
|
|
554
572
|
}, {
|
|
555
|
-
id: string;
|
|
556
573
|
createdAt: string | Date;
|
|
557
574
|
updatedAt: string | Date;
|
|
575
|
+
id: string;
|
|
558
576
|
qualificationId: string;
|
|
559
577
|
qualificationTypeId: string | null;
|
|
560
578
|
issueDate: string | Date | null;
|
|
@@ -563,61 +581,61 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
563
581
|
proofDocumentFileId: string | null;
|
|
564
582
|
}>, "many">>>;
|
|
565
583
|
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
566
|
-
phoneNumber: z.ZodString
|
|
584
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
567
585
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
568
|
-
isPrimary: z.ZodBoolean
|
|
586
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
569
587
|
} & {
|
|
570
588
|
id: z.ZodString;
|
|
571
589
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
572
590
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
573
591
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
-
id: string;
|
|
575
592
|
createdAt: string;
|
|
576
593
|
updatedAt: string;
|
|
577
594
|
phoneNumber: string;
|
|
578
595
|
isPrimary: boolean;
|
|
596
|
+
id: string;
|
|
579
597
|
description?: string | null | undefined;
|
|
580
598
|
}, {
|
|
581
|
-
id: string;
|
|
582
599
|
createdAt: string | Date;
|
|
583
600
|
updatedAt: string | Date;
|
|
584
601
|
phoneNumber: string;
|
|
585
|
-
|
|
602
|
+
id: string;
|
|
586
603
|
description?: string | null | undefined;
|
|
604
|
+
isPrimary?: boolean | undefined;
|
|
587
605
|
}>, "many">>>;
|
|
588
606
|
}, "strip", z.ZodTypeAny, {
|
|
589
|
-
status: "AVAILABLE" | "
|
|
590
|
-
id: string;
|
|
607
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
591
608
|
createdAt: string;
|
|
592
609
|
updatedAt: string;
|
|
610
|
+
id: string;
|
|
593
611
|
firstName: string;
|
|
594
612
|
lastName: string;
|
|
595
613
|
hasTools: boolean;
|
|
596
614
|
hasPpe: boolean;
|
|
597
|
-
rating?: number | null | undefined;
|
|
598
615
|
email?: string | null | undefined;
|
|
616
|
+
rating?: number | null | undefined;
|
|
599
617
|
phoneNumbers?: {
|
|
600
|
-
id: string;
|
|
601
618
|
createdAt: string;
|
|
602
619
|
updatedAt: string;
|
|
603
620
|
phoneNumber: string;
|
|
604
621
|
isPrimary: boolean;
|
|
622
|
+
id: string;
|
|
605
623
|
description?: string | null | undefined;
|
|
606
624
|
}[] | null | undefined;
|
|
607
625
|
nino?: string | null | undefined;
|
|
608
626
|
dateOfBirth?: string | null | undefined;
|
|
609
627
|
bio?: string | null | undefined;
|
|
610
628
|
trades?: {
|
|
611
|
-
id: string;
|
|
612
629
|
createdAt: string;
|
|
613
630
|
updatedAt: string;
|
|
631
|
+
id: string;
|
|
614
632
|
tradeId: string;
|
|
615
633
|
mainTrade: boolean;
|
|
616
634
|
}[] | null | undefined;
|
|
617
635
|
qualifications?: {
|
|
618
|
-
id: string;
|
|
619
636
|
createdAt: string;
|
|
620
637
|
updatedAt: string;
|
|
638
|
+
id: string;
|
|
621
639
|
qualificationId: string;
|
|
622
640
|
qualificationTypeId: string | null;
|
|
623
641
|
issueDate: string | null;
|
|
@@ -637,38 +655,38 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
637
655
|
areaCovered?: string | null | undefined;
|
|
638
656
|
} | null | undefined;
|
|
639
657
|
}, {
|
|
640
|
-
status: "AVAILABLE" | "
|
|
641
|
-
id: string;
|
|
658
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
642
659
|
createdAt: string | Date;
|
|
643
660
|
updatedAt: string | Date;
|
|
661
|
+
id: string;
|
|
644
662
|
firstName: string;
|
|
645
663
|
lastName: string;
|
|
646
664
|
hasTools: boolean;
|
|
647
665
|
hasPpe: boolean;
|
|
648
|
-
rating?: number | null | undefined;
|
|
649
666
|
email?: string | null | undefined;
|
|
667
|
+
rating?: number | null | undefined;
|
|
650
668
|
phoneNumbers?: {
|
|
651
|
-
id: string;
|
|
652
669
|
createdAt: string | Date;
|
|
653
670
|
updatedAt: string | Date;
|
|
654
671
|
phoneNumber: string;
|
|
655
|
-
|
|
672
|
+
id: string;
|
|
656
673
|
description?: string | null | undefined;
|
|
674
|
+
isPrimary?: boolean | undefined;
|
|
657
675
|
}[] | null | undefined;
|
|
658
676
|
nino?: string | null | undefined;
|
|
659
677
|
dateOfBirth?: string | Date | null | undefined;
|
|
660
678
|
bio?: string | null | undefined;
|
|
661
679
|
trades?: {
|
|
662
|
-
id: string;
|
|
663
680
|
createdAt: string | Date;
|
|
664
681
|
updatedAt: string | Date;
|
|
682
|
+
id: string;
|
|
665
683
|
tradeId: string;
|
|
666
684
|
mainTrade: boolean;
|
|
667
685
|
}[] | null | undefined;
|
|
668
686
|
qualifications?: {
|
|
669
|
-
id: string;
|
|
670
687
|
createdAt: string | Date;
|
|
671
688
|
updatedAt: string | Date;
|
|
689
|
+
id: string;
|
|
672
690
|
qualificationId: string;
|
|
673
691
|
qualificationTypeId: string | null;
|
|
674
692
|
issueDate: string | Date | null;
|
|
@@ -737,15 +755,15 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
737
755
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
738
756
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
739
757
|
}, "strip", z.ZodTypeAny, {
|
|
740
|
-
id: string;
|
|
741
758
|
createdAt: string;
|
|
742
759
|
updatedAt: string;
|
|
760
|
+
id: string;
|
|
743
761
|
tradeId: string;
|
|
744
762
|
mainTrade: boolean;
|
|
745
763
|
}, {
|
|
746
|
-
id: string;
|
|
747
764
|
createdAt: string | Date;
|
|
748
765
|
updatedAt: string | Date;
|
|
766
|
+
id: string;
|
|
749
767
|
tradeId: string;
|
|
750
768
|
mainTrade: boolean;
|
|
751
769
|
}>, "many">>>;
|
|
@@ -760,9 +778,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
760
778
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
761
779
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
762
780
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
id: string;
|
|
764
781
|
createdAt: string;
|
|
765
782
|
updatedAt: string;
|
|
783
|
+
id: string;
|
|
766
784
|
qualificationId: string;
|
|
767
785
|
qualificationTypeId: string | null;
|
|
768
786
|
issueDate: string | null;
|
|
@@ -770,9 +788,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
770
788
|
referenceNumber: string | null;
|
|
771
789
|
proofDocumentFileId: string | null;
|
|
772
790
|
}, {
|
|
773
|
-
id: string;
|
|
774
791
|
createdAt: string | Date;
|
|
775
792
|
updatedAt: string | Date;
|
|
793
|
+
id: string;
|
|
776
794
|
qualificationId: string;
|
|
777
795
|
qualificationTypeId: string | null;
|
|
778
796
|
issueDate: string | Date | null;
|
|
@@ -781,61 +799,61 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
781
799
|
proofDocumentFileId: string | null;
|
|
782
800
|
}>, "many">>>;
|
|
783
801
|
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
784
|
-
phoneNumber: z.ZodString
|
|
802
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
785
803
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
786
|
-
isPrimary: z.ZodBoolean
|
|
804
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
787
805
|
} & {
|
|
788
806
|
id: z.ZodString;
|
|
789
807
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
790
808
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
791
809
|
}, "strip", z.ZodTypeAny, {
|
|
792
|
-
id: string;
|
|
793
810
|
createdAt: string;
|
|
794
811
|
updatedAt: string;
|
|
795
812
|
phoneNumber: string;
|
|
796
813
|
isPrimary: boolean;
|
|
814
|
+
id: string;
|
|
797
815
|
description?: string | null | undefined;
|
|
798
816
|
}, {
|
|
799
|
-
id: string;
|
|
800
817
|
createdAt: string | Date;
|
|
801
818
|
updatedAt: string | Date;
|
|
802
819
|
phoneNumber: string;
|
|
803
|
-
|
|
820
|
+
id: string;
|
|
804
821
|
description?: string | null | undefined;
|
|
822
|
+
isPrimary?: boolean | undefined;
|
|
805
823
|
}>, "many">>>;
|
|
806
824
|
}, "strip", z.ZodTypeAny, {
|
|
807
|
-
status: "AVAILABLE" | "
|
|
808
|
-
id: string;
|
|
825
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
809
826
|
createdAt: string;
|
|
810
827
|
updatedAt: string;
|
|
828
|
+
id: string;
|
|
811
829
|
firstName: string;
|
|
812
830
|
lastName: string;
|
|
813
831
|
hasTools: boolean;
|
|
814
832
|
hasPpe: boolean;
|
|
815
|
-
rating?: number | null | undefined;
|
|
816
833
|
email?: string | null | undefined;
|
|
834
|
+
rating?: number | null | undefined;
|
|
817
835
|
phoneNumbers?: {
|
|
818
|
-
id: string;
|
|
819
836
|
createdAt: string;
|
|
820
837
|
updatedAt: string;
|
|
821
838
|
phoneNumber: string;
|
|
822
839
|
isPrimary: boolean;
|
|
840
|
+
id: string;
|
|
823
841
|
description?: string | null | undefined;
|
|
824
842
|
}[] | null | undefined;
|
|
825
843
|
nino?: string | null | undefined;
|
|
826
844
|
dateOfBirth?: string | null | undefined;
|
|
827
845
|
bio?: string | null | undefined;
|
|
828
846
|
trades?: {
|
|
829
|
-
id: string;
|
|
830
847
|
createdAt: string;
|
|
831
848
|
updatedAt: string;
|
|
849
|
+
id: string;
|
|
832
850
|
tradeId: string;
|
|
833
851
|
mainTrade: boolean;
|
|
834
852
|
}[] | null | undefined;
|
|
835
853
|
qualifications?: {
|
|
836
|
-
id: string;
|
|
837
854
|
createdAt: string;
|
|
838
855
|
updatedAt: string;
|
|
856
|
+
id: string;
|
|
839
857
|
qualificationId: string;
|
|
840
858
|
qualificationTypeId: string | null;
|
|
841
859
|
issueDate: string | null;
|
|
@@ -855,38 +873,38 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
855
873
|
areaCovered?: string | null | undefined;
|
|
856
874
|
} | null | undefined;
|
|
857
875
|
}, {
|
|
858
|
-
status: "AVAILABLE" | "
|
|
859
|
-
id: string;
|
|
876
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
860
877
|
createdAt: string | Date;
|
|
861
878
|
updatedAt: string | Date;
|
|
879
|
+
id: string;
|
|
862
880
|
firstName: string;
|
|
863
881
|
lastName: string;
|
|
864
882
|
hasTools: boolean;
|
|
865
883
|
hasPpe: boolean;
|
|
866
|
-
rating?: number | null | undefined;
|
|
867
884
|
email?: string | null | undefined;
|
|
885
|
+
rating?: number | null | undefined;
|
|
868
886
|
phoneNumbers?: {
|
|
869
|
-
id: string;
|
|
870
887
|
createdAt: string | Date;
|
|
871
888
|
updatedAt: string | Date;
|
|
872
889
|
phoneNumber: string;
|
|
873
|
-
|
|
890
|
+
id: string;
|
|
874
891
|
description?: string | null | undefined;
|
|
892
|
+
isPrimary?: boolean | undefined;
|
|
875
893
|
}[] | null | undefined;
|
|
876
894
|
nino?: string | null | undefined;
|
|
877
895
|
dateOfBirth?: string | Date | null | undefined;
|
|
878
896
|
bio?: string | null | undefined;
|
|
879
897
|
trades?: {
|
|
880
|
-
id: string;
|
|
881
898
|
createdAt: string | Date;
|
|
882
899
|
updatedAt: string | Date;
|
|
900
|
+
id: string;
|
|
883
901
|
tradeId: string;
|
|
884
902
|
mainTrade: boolean;
|
|
885
903
|
}[] | null | undefined;
|
|
886
904
|
qualifications?: {
|
|
887
|
-
id: string;
|
|
888
905
|
createdAt: string | Date;
|
|
889
906
|
updatedAt: string | Date;
|
|
907
|
+
id: string;
|
|
890
908
|
qualificationId: string;
|
|
891
909
|
qualificationTypeId: string | null;
|
|
892
910
|
issueDate: string | Date | null;
|
|
@@ -912,40 +930,39 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
912
930
|
currentPage: z.ZodNumber;
|
|
913
931
|
totalPages: z.ZodNumber;
|
|
914
932
|
}, "strip", z.ZodTypeAny, {
|
|
915
|
-
limit: number;
|
|
916
933
|
items: {
|
|
917
|
-
status: "AVAILABLE" | "
|
|
918
|
-
id: string;
|
|
934
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
919
935
|
createdAt: string;
|
|
920
936
|
updatedAt: string;
|
|
937
|
+
id: string;
|
|
921
938
|
firstName: string;
|
|
922
939
|
lastName: string;
|
|
923
940
|
hasTools: boolean;
|
|
924
941
|
hasPpe: boolean;
|
|
925
|
-
rating?: number | null | undefined;
|
|
926
942
|
email?: string | null | undefined;
|
|
943
|
+
rating?: number | null | undefined;
|
|
927
944
|
phoneNumbers?: {
|
|
928
|
-
id: string;
|
|
929
945
|
createdAt: string;
|
|
930
946
|
updatedAt: string;
|
|
931
947
|
phoneNumber: string;
|
|
932
948
|
isPrimary: boolean;
|
|
949
|
+
id: string;
|
|
933
950
|
description?: string | null | undefined;
|
|
934
951
|
}[] | null | undefined;
|
|
935
952
|
nino?: string | null | undefined;
|
|
936
953
|
dateOfBirth?: string | null | undefined;
|
|
937
954
|
bio?: string | null | undefined;
|
|
938
955
|
trades?: {
|
|
939
|
-
id: string;
|
|
940
956
|
createdAt: string;
|
|
941
957
|
updatedAt: string;
|
|
958
|
+
id: string;
|
|
942
959
|
tradeId: string;
|
|
943
960
|
mainTrade: boolean;
|
|
944
961
|
}[] | null | undefined;
|
|
945
962
|
qualifications?: {
|
|
946
|
-
id: string;
|
|
947
963
|
createdAt: string;
|
|
948
964
|
updatedAt: string;
|
|
965
|
+
id: string;
|
|
949
966
|
qualificationId: string;
|
|
950
967
|
qualificationTypeId: string | null;
|
|
951
968
|
issueDate: string | null;
|
|
@@ -966,44 +983,44 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
966
983
|
} | null | undefined;
|
|
967
984
|
}[];
|
|
968
985
|
totalCount: number;
|
|
986
|
+
limit: number;
|
|
969
987
|
skip: number;
|
|
970
988
|
currentPage: number;
|
|
971
989
|
totalPages: number;
|
|
972
990
|
}, {
|
|
973
|
-
limit: number;
|
|
974
991
|
items: {
|
|
975
|
-
status: "AVAILABLE" | "
|
|
976
|
-
id: string;
|
|
992
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
977
993
|
createdAt: string | Date;
|
|
978
994
|
updatedAt: string | Date;
|
|
995
|
+
id: string;
|
|
979
996
|
firstName: string;
|
|
980
997
|
lastName: string;
|
|
981
998
|
hasTools: boolean;
|
|
982
999
|
hasPpe: boolean;
|
|
983
|
-
rating?: number | null | undefined;
|
|
984
1000
|
email?: string | null | undefined;
|
|
1001
|
+
rating?: number | null | undefined;
|
|
985
1002
|
phoneNumbers?: {
|
|
986
|
-
id: string;
|
|
987
1003
|
createdAt: string | Date;
|
|
988
1004
|
updatedAt: string | Date;
|
|
989
1005
|
phoneNumber: string;
|
|
990
|
-
|
|
1006
|
+
id: string;
|
|
991
1007
|
description?: string | null | undefined;
|
|
1008
|
+
isPrimary?: boolean | undefined;
|
|
992
1009
|
}[] | null | undefined;
|
|
993
1010
|
nino?: string | null | undefined;
|
|
994
1011
|
dateOfBirth?: string | Date | null | undefined;
|
|
995
1012
|
bio?: string | null | undefined;
|
|
996
1013
|
trades?: {
|
|
997
|
-
id: string;
|
|
998
1014
|
createdAt: string | Date;
|
|
999
1015
|
updatedAt: string | Date;
|
|
1016
|
+
id: string;
|
|
1000
1017
|
tradeId: string;
|
|
1001
1018
|
mainTrade: boolean;
|
|
1002
1019
|
}[] | null | undefined;
|
|
1003
1020
|
qualifications?: {
|
|
1004
|
-
id: string;
|
|
1005
1021
|
createdAt: string | Date;
|
|
1006
1022
|
updatedAt: string | Date;
|
|
1023
|
+
id: string;
|
|
1007
1024
|
qualificationId: string;
|
|
1008
1025
|
qualificationTypeId: string | null;
|
|
1009
1026
|
issueDate: string | Date | null;
|
|
@@ -1024,6 +1041,7 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
1024
1041
|
} | null | undefined;
|
|
1025
1042
|
}[];
|
|
1026
1043
|
totalCount: number;
|
|
1044
|
+
limit: number;
|
|
1027
1045
|
skip: number;
|
|
1028
1046
|
currentPage: number;
|
|
1029
1047
|
totalPages: number;
|
|
@@ -1067,46 +1085,46 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
|
|
|
1067
1085
|
limit: number;
|
|
1068
1086
|
page: number;
|
|
1069
1087
|
sortOrder: "ASC" | "DESC";
|
|
1070
|
-
|
|
1071
|
-
postcode?: string | undefined;
|
|
1072
|
-
name?: string | undefined;
|
|
1073
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1088
|
+
distance?: number | undefined;
|
|
1074
1089
|
email?: string | undefined;
|
|
1075
1090
|
phone?: string | undefined;
|
|
1091
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1076
1092
|
nino?: string | undefined;
|
|
1077
1093
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1078
1094
|
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;
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
tradeId?: string | undefined;
|
|
1082
|
-
mainTrade?: boolean | undefined;
|
|
1083
|
-
}[] | undefined;
|
|
1095
|
+
postcode?: string | undefined;
|
|
1096
|
+
name?: string | undefined;
|
|
1084
1097
|
qualificationFilters?: {
|
|
1085
1098
|
qualificationId?: string | undefined;
|
|
1086
1099
|
qualificationTypeId?: string | undefined;
|
|
1087
1100
|
}[] | undefined;
|
|
1101
|
+
tradeFilters?: {
|
|
1102
|
+
tradeId?: string | undefined;
|
|
1103
|
+
mainTrade?: boolean | undefined;
|
|
1104
|
+
}[] | undefined;
|
|
1105
|
+
sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
|
|
1088
1106
|
}, {
|
|
1089
|
-
|
|
1090
|
-
postcode?: string | undefined;
|
|
1091
|
-
limit?: number | undefined;
|
|
1092
|
-
page?: number | undefined;
|
|
1093
|
-
name?: string | undefined;
|
|
1094
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1095
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1107
|
+
distance?: number | undefined;
|
|
1096
1108
|
email?: string | undefined;
|
|
1097
1109
|
phone?: string | undefined;
|
|
1110
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1098
1111
|
nino?: string | undefined;
|
|
1099
1112
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1100
1113
|
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
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
}[] | undefined;
|
|
1114
|
+
postcode?: string | undefined;
|
|
1115
|
+
limit?: number | undefined;
|
|
1116
|
+
page?: number | undefined;
|
|
1117
|
+
name?: string | undefined;
|
|
1106
1118
|
qualificationFilters?: {
|
|
1107
1119
|
qualificationId?: string | undefined;
|
|
1108
1120
|
qualificationTypeId?: string | undefined;
|
|
1109
1121
|
}[] | undefined;
|
|
1122
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1123
|
+
tradeFilters?: {
|
|
1124
|
+
tradeId?: string | undefined;
|
|
1125
|
+
mainTrade?: unknown;
|
|
1126
|
+
}[] | undefined;
|
|
1127
|
+
sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
|
|
1110
1128
|
}>;
|
|
1111
1129
|
export type CreateCuratedWorkerPhoneNumber = z.infer<typeof CreateCuratedWorkerPhoneNumberSchema>;
|
|
1112
1130
|
export type UpdateCuratedWorkerPhoneNumber = z.infer<typeof UpdateCuratedWorkerPhoneNumberSchema>;
|
|
@@ -1134,17 +1152,17 @@ export declare const curatedWorkersContract: {
|
|
|
1134
1152
|
lastName: z.ZodString;
|
|
1135
1153
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1136
1154
|
phoneNumbers: z.ZodArray<z.ZodObject<{
|
|
1137
|
-
phoneNumber: z.ZodString
|
|
1155
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
1138
1156
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1139
|
-
isPrimary: z.ZodBoolean
|
|
1157
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1140
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1141
1159
|
phoneNumber: string;
|
|
1142
1160
|
isPrimary: boolean;
|
|
1143
1161
|
description?: string | null | undefined;
|
|
1144
1162
|
}, {
|
|
1145
1163
|
phoneNumber: string;
|
|
1146
|
-
isPrimary: boolean;
|
|
1147
1164
|
description?: string | null | undefined;
|
|
1165
|
+
isPrimary?: boolean | undefined;
|
|
1148
1166
|
}>, "many">;
|
|
1149
1167
|
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1150
1168
|
dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
@@ -1198,7 +1216,7 @@ export declare const curatedWorkersContract: {
|
|
|
1198
1216
|
postcode?: string | null | undefined;
|
|
1199
1217
|
}>>>;
|
|
1200
1218
|
}, "strip", z.ZodTypeAny, {
|
|
1201
|
-
status: "AVAILABLE" | "
|
|
1219
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
1202
1220
|
firstName: string;
|
|
1203
1221
|
lastName: string;
|
|
1204
1222
|
phoneNumbers: {
|
|
@@ -1212,8 +1230,8 @@ export declare const curatedWorkersContract: {
|
|
|
1212
1230
|
}[];
|
|
1213
1231
|
hasTools: boolean;
|
|
1214
1232
|
hasPpe: boolean;
|
|
1215
|
-
rating?: number | null | undefined;
|
|
1216
1233
|
email?: string | null | undefined;
|
|
1234
|
+
rating?: number | null | undefined;
|
|
1217
1235
|
nino?: string | null | undefined;
|
|
1218
1236
|
dateOfBirth?: string | null | undefined;
|
|
1219
1237
|
bio?: string | null | undefined;
|
|
@@ -1236,8 +1254,8 @@ export declare const curatedWorkersContract: {
|
|
|
1236
1254
|
lastName: string;
|
|
1237
1255
|
phoneNumbers: {
|
|
1238
1256
|
phoneNumber: string;
|
|
1239
|
-
isPrimary: boolean;
|
|
1240
1257
|
description?: string | null | undefined;
|
|
1258
|
+
isPrimary?: boolean | undefined;
|
|
1241
1259
|
}[];
|
|
1242
1260
|
trades: {
|
|
1243
1261
|
tradeId: string;
|
|
@@ -1245,9 +1263,9 @@ export declare const curatedWorkersContract: {
|
|
|
1245
1263
|
}[];
|
|
1246
1264
|
hasTools: boolean;
|
|
1247
1265
|
hasPpe: boolean;
|
|
1248
|
-
status?: "AVAILABLE" | "BLACKLISTED" | "INACTIVE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1249
|
-
rating?: number | null | undefined;
|
|
1250
1266
|
email?: string | null | undefined;
|
|
1267
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1268
|
+
rating?: number | null | undefined;
|
|
1251
1269
|
nino?: string | null | undefined;
|
|
1252
1270
|
dateOfBirth?: string | Date | null | undefined;
|
|
1253
1271
|
bio?: string | null | undefined;
|
|
@@ -1416,15 +1434,15 @@ export declare const curatedWorkersContract: {
|
|
|
1416
1434
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1417
1435
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1418
1436
|
}, "strip", z.ZodTypeAny, {
|
|
1419
|
-
id: string;
|
|
1420
1437
|
createdAt: string;
|
|
1421
1438
|
updatedAt: string;
|
|
1439
|
+
id: string;
|
|
1422
1440
|
tradeId: string;
|
|
1423
1441
|
mainTrade: boolean;
|
|
1424
1442
|
}, {
|
|
1425
|
-
id: string;
|
|
1426
1443
|
createdAt: string | Date;
|
|
1427
1444
|
updatedAt: string | Date;
|
|
1445
|
+
id: string;
|
|
1428
1446
|
tradeId: string;
|
|
1429
1447
|
mainTrade: boolean;
|
|
1430
1448
|
}>, "many">>>;
|
|
@@ -1439,9 +1457,9 @@ export declare const curatedWorkersContract: {
|
|
|
1439
1457
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1440
1458
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1441
1459
|
}, "strip", z.ZodTypeAny, {
|
|
1442
|
-
id: string;
|
|
1443
1460
|
createdAt: string;
|
|
1444
1461
|
updatedAt: string;
|
|
1462
|
+
id: string;
|
|
1445
1463
|
qualificationId: string;
|
|
1446
1464
|
qualificationTypeId: string | null;
|
|
1447
1465
|
issueDate: string | null;
|
|
@@ -1449,9 +1467,9 @@ export declare const curatedWorkersContract: {
|
|
|
1449
1467
|
referenceNumber: string | null;
|
|
1450
1468
|
proofDocumentFileId: string | null;
|
|
1451
1469
|
}, {
|
|
1452
|
-
id: string;
|
|
1453
1470
|
createdAt: string | Date;
|
|
1454
1471
|
updatedAt: string | Date;
|
|
1472
|
+
id: string;
|
|
1455
1473
|
qualificationId: string;
|
|
1456
1474
|
qualificationTypeId: string | null;
|
|
1457
1475
|
issueDate: string | Date | null;
|
|
@@ -1460,61 +1478,61 @@ export declare const curatedWorkersContract: {
|
|
|
1460
1478
|
proofDocumentFileId: string | null;
|
|
1461
1479
|
}>, "many">>>;
|
|
1462
1480
|
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1463
|
-
phoneNumber: z.ZodString
|
|
1481
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
1464
1482
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1465
|
-
isPrimary: z.ZodBoolean
|
|
1483
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1466
1484
|
} & {
|
|
1467
1485
|
id: z.ZodString;
|
|
1468
1486
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1469
1487
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1470
1488
|
}, "strip", z.ZodTypeAny, {
|
|
1471
|
-
id: string;
|
|
1472
1489
|
createdAt: string;
|
|
1473
1490
|
updatedAt: string;
|
|
1474
1491
|
phoneNumber: string;
|
|
1475
1492
|
isPrimary: boolean;
|
|
1493
|
+
id: string;
|
|
1476
1494
|
description?: string | null | undefined;
|
|
1477
1495
|
}, {
|
|
1478
|
-
id: string;
|
|
1479
1496
|
createdAt: string | Date;
|
|
1480
1497
|
updatedAt: string | Date;
|
|
1481
1498
|
phoneNumber: string;
|
|
1482
|
-
|
|
1499
|
+
id: string;
|
|
1483
1500
|
description?: string | null | undefined;
|
|
1501
|
+
isPrimary?: boolean | undefined;
|
|
1484
1502
|
}>, "many">>>;
|
|
1485
1503
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
status: "AVAILABLE" | "
|
|
1487
|
-
id: string;
|
|
1504
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
1488
1505
|
createdAt: string;
|
|
1489
1506
|
updatedAt: string;
|
|
1507
|
+
id: string;
|
|
1490
1508
|
firstName: string;
|
|
1491
1509
|
lastName: string;
|
|
1492
1510
|
hasTools: boolean;
|
|
1493
1511
|
hasPpe: boolean;
|
|
1494
|
-
rating?: number | null | undefined;
|
|
1495
1512
|
email?: string | null | undefined;
|
|
1513
|
+
rating?: number | null | undefined;
|
|
1496
1514
|
phoneNumbers?: {
|
|
1497
|
-
id: string;
|
|
1498
1515
|
createdAt: string;
|
|
1499
1516
|
updatedAt: string;
|
|
1500
1517
|
phoneNumber: string;
|
|
1501
1518
|
isPrimary: boolean;
|
|
1519
|
+
id: string;
|
|
1502
1520
|
description?: string | null | undefined;
|
|
1503
1521
|
}[] | null | undefined;
|
|
1504
1522
|
nino?: string | null | undefined;
|
|
1505
1523
|
dateOfBirth?: string | null | undefined;
|
|
1506
1524
|
bio?: string | null | undefined;
|
|
1507
1525
|
trades?: {
|
|
1508
|
-
id: string;
|
|
1509
1526
|
createdAt: string;
|
|
1510
1527
|
updatedAt: string;
|
|
1528
|
+
id: string;
|
|
1511
1529
|
tradeId: string;
|
|
1512
1530
|
mainTrade: boolean;
|
|
1513
1531
|
}[] | null | undefined;
|
|
1514
1532
|
qualifications?: {
|
|
1515
|
-
id: string;
|
|
1516
1533
|
createdAt: string;
|
|
1517
1534
|
updatedAt: string;
|
|
1535
|
+
id: string;
|
|
1518
1536
|
qualificationId: string;
|
|
1519
1537
|
qualificationTypeId: string | null;
|
|
1520
1538
|
issueDate: string | null;
|
|
@@ -1534,38 +1552,38 @@ export declare const curatedWorkersContract: {
|
|
|
1534
1552
|
areaCovered?: string | null | undefined;
|
|
1535
1553
|
} | null | undefined;
|
|
1536
1554
|
}, {
|
|
1537
|
-
status: "AVAILABLE" | "
|
|
1538
|
-
id: string;
|
|
1555
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
1539
1556
|
createdAt: string | Date;
|
|
1540
1557
|
updatedAt: string | Date;
|
|
1558
|
+
id: string;
|
|
1541
1559
|
firstName: string;
|
|
1542
1560
|
lastName: string;
|
|
1543
1561
|
hasTools: boolean;
|
|
1544
1562
|
hasPpe: boolean;
|
|
1545
|
-
rating?: number | null | undefined;
|
|
1546
1563
|
email?: string | null | undefined;
|
|
1564
|
+
rating?: number | null | undefined;
|
|
1547
1565
|
phoneNumbers?: {
|
|
1548
|
-
id: string;
|
|
1549
1566
|
createdAt: string | Date;
|
|
1550
1567
|
updatedAt: string | Date;
|
|
1551
1568
|
phoneNumber: string;
|
|
1552
|
-
|
|
1569
|
+
id: string;
|
|
1553
1570
|
description?: string | null | undefined;
|
|
1571
|
+
isPrimary?: boolean | undefined;
|
|
1554
1572
|
}[] | null | undefined;
|
|
1555
1573
|
nino?: string | null | undefined;
|
|
1556
1574
|
dateOfBirth?: string | Date | null | undefined;
|
|
1557
1575
|
bio?: string | null | undefined;
|
|
1558
1576
|
trades?: {
|
|
1559
|
-
id: string;
|
|
1560
1577
|
createdAt: string | Date;
|
|
1561
1578
|
updatedAt: string | Date;
|
|
1579
|
+
id: string;
|
|
1562
1580
|
tradeId: string;
|
|
1563
1581
|
mainTrade: boolean;
|
|
1564
1582
|
}[] | null | undefined;
|
|
1565
1583
|
qualifications?: {
|
|
1566
|
-
id: string;
|
|
1567
1584
|
createdAt: string | Date;
|
|
1568
1585
|
updatedAt: string | Date;
|
|
1586
|
+
id: string;
|
|
1569
1587
|
qualificationId: string;
|
|
1570
1588
|
qualificationTypeId: string | null;
|
|
1571
1589
|
issueDate: string | Date | null;
|
|
@@ -1613,6 +1631,9 @@ export declare const curatedWorkersContract: {
|
|
|
1613
1631
|
};
|
|
1614
1632
|
};
|
|
1615
1633
|
findAll: {
|
|
1634
|
+
metadata: {
|
|
1635
|
+
tags: string[];
|
|
1636
|
+
};
|
|
1616
1637
|
query: z.ZodObject<{
|
|
1617
1638
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1618
1639
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1652,50 +1673,47 @@ export declare const curatedWorkersContract: {
|
|
|
1652
1673
|
limit: number;
|
|
1653
1674
|
page: number;
|
|
1654
1675
|
sortOrder: "ASC" | "DESC";
|
|
1655
|
-
|
|
1656
|
-
postcode?: string | undefined;
|
|
1657
|
-
name?: string | undefined;
|
|
1658
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1676
|
+
distance?: number | undefined;
|
|
1659
1677
|
email?: string | undefined;
|
|
1660
1678
|
phone?: string | undefined;
|
|
1679
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1661
1680
|
nino?: string | undefined;
|
|
1662
1681
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1663
1682
|
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;
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
tradeId?: string | undefined;
|
|
1667
|
-
mainTrade?: boolean | undefined;
|
|
1668
|
-
}[] | undefined;
|
|
1683
|
+
postcode?: string | undefined;
|
|
1684
|
+
name?: string | undefined;
|
|
1669
1685
|
qualificationFilters?: {
|
|
1670
1686
|
qualificationId?: string | undefined;
|
|
1671
1687
|
qualificationTypeId?: string | undefined;
|
|
1672
1688
|
}[] | undefined;
|
|
1689
|
+
tradeFilters?: {
|
|
1690
|
+
tradeId?: string | undefined;
|
|
1691
|
+
mainTrade?: boolean | undefined;
|
|
1692
|
+
}[] | undefined;
|
|
1693
|
+
sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
|
|
1673
1694
|
}, {
|
|
1674
|
-
|
|
1675
|
-
postcode?: string | undefined;
|
|
1676
|
-
limit?: number | undefined;
|
|
1677
|
-
page?: number | undefined;
|
|
1678
|
-
name?: string | undefined;
|
|
1679
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1680
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1695
|
+
distance?: number | undefined;
|
|
1681
1696
|
email?: string | undefined;
|
|
1682
1697
|
phone?: string | undefined;
|
|
1698
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
1683
1699
|
nino?: string | undefined;
|
|
1684
1700
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
1685
1701
|
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
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
}[] | undefined;
|
|
1702
|
+
postcode?: string | undefined;
|
|
1703
|
+
limit?: number | undefined;
|
|
1704
|
+
page?: number | undefined;
|
|
1705
|
+
name?: string | undefined;
|
|
1691
1706
|
qualificationFilters?: {
|
|
1692
1707
|
qualificationId?: string | undefined;
|
|
1693
1708
|
qualificationTypeId?: string | undefined;
|
|
1694
1709
|
}[] | undefined;
|
|
1710
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1711
|
+
tradeFilters?: {
|
|
1712
|
+
tradeId?: string | undefined;
|
|
1713
|
+
mainTrade?: unknown;
|
|
1714
|
+
}[] | undefined;
|
|
1715
|
+
sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
|
|
1695
1716
|
}>;
|
|
1696
|
-
metadata: {
|
|
1697
|
-
tags: string[];
|
|
1698
|
-
};
|
|
1699
1717
|
summary: "Find all curated workers";
|
|
1700
1718
|
method: "GET";
|
|
1701
1719
|
path: "/v2/curated-workers";
|
|
@@ -1849,15 +1867,15 @@ export declare const curatedWorkersContract: {
|
|
|
1849
1867
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1850
1868
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1851
1869
|
}, "strip", z.ZodTypeAny, {
|
|
1852
|
-
id: string;
|
|
1853
1870
|
createdAt: string;
|
|
1854
1871
|
updatedAt: string;
|
|
1872
|
+
id: string;
|
|
1855
1873
|
tradeId: string;
|
|
1856
1874
|
mainTrade: boolean;
|
|
1857
1875
|
}, {
|
|
1858
|
-
id: string;
|
|
1859
1876
|
createdAt: string | Date;
|
|
1860
1877
|
updatedAt: string | Date;
|
|
1878
|
+
id: string;
|
|
1861
1879
|
tradeId: string;
|
|
1862
1880
|
mainTrade: boolean;
|
|
1863
1881
|
}>, "many">>>;
|
|
@@ -1872,9 +1890,9 @@ export declare const curatedWorkersContract: {
|
|
|
1872
1890
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1873
1891
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1874
1892
|
}, "strip", z.ZodTypeAny, {
|
|
1875
|
-
id: string;
|
|
1876
1893
|
createdAt: string;
|
|
1877
1894
|
updatedAt: string;
|
|
1895
|
+
id: string;
|
|
1878
1896
|
qualificationId: string;
|
|
1879
1897
|
qualificationTypeId: string | null;
|
|
1880
1898
|
issueDate: string | null;
|
|
@@ -1882,9 +1900,9 @@ export declare const curatedWorkersContract: {
|
|
|
1882
1900
|
referenceNumber: string | null;
|
|
1883
1901
|
proofDocumentFileId: string | null;
|
|
1884
1902
|
}, {
|
|
1885
|
-
id: string;
|
|
1886
1903
|
createdAt: string | Date;
|
|
1887
1904
|
updatedAt: string | Date;
|
|
1905
|
+
id: string;
|
|
1888
1906
|
qualificationId: string;
|
|
1889
1907
|
qualificationTypeId: string | null;
|
|
1890
1908
|
issueDate: string | Date | null;
|
|
@@ -1893,61 +1911,61 @@ export declare const curatedWorkersContract: {
|
|
|
1893
1911
|
proofDocumentFileId: string | null;
|
|
1894
1912
|
}>, "many">>>;
|
|
1895
1913
|
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1896
|
-
phoneNumber: z.ZodString
|
|
1914
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
1897
1915
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1898
|
-
isPrimary: z.ZodBoolean
|
|
1916
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1899
1917
|
} & {
|
|
1900
1918
|
id: z.ZodString;
|
|
1901
1919
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1902
1920
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1903
1921
|
}, "strip", z.ZodTypeAny, {
|
|
1904
|
-
id: string;
|
|
1905
1922
|
createdAt: string;
|
|
1906
1923
|
updatedAt: string;
|
|
1907
1924
|
phoneNumber: string;
|
|
1908
1925
|
isPrimary: boolean;
|
|
1926
|
+
id: string;
|
|
1909
1927
|
description?: string | null | undefined;
|
|
1910
1928
|
}, {
|
|
1911
|
-
id: string;
|
|
1912
1929
|
createdAt: string | Date;
|
|
1913
1930
|
updatedAt: string | Date;
|
|
1914
1931
|
phoneNumber: string;
|
|
1915
|
-
|
|
1932
|
+
id: string;
|
|
1916
1933
|
description?: string | null | undefined;
|
|
1934
|
+
isPrimary?: boolean | undefined;
|
|
1917
1935
|
}>, "many">>>;
|
|
1918
1936
|
}, "strip", z.ZodTypeAny, {
|
|
1919
|
-
status: "AVAILABLE" | "
|
|
1920
|
-
id: string;
|
|
1937
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
1921
1938
|
createdAt: string;
|
|
1922
1939
|
updatedAt: string;
|
|
1940
|
+
id: string;
|
|
1923
1941
|
firstName: string;
|
|
1924
1942
|
lastName: string;
|
|
1925
1943
|
hasTools: boolean;
|
|
1926
1944
|
hasPpe: boolean;
|
|
1927
|
-
rating?: number | null | undefined;
|
|
1928
1945
|
email?: string | null | undefined;
|
|
1946
|
+
rating?: number | null | undefined;
|
|
1929
1947
|
phoneNumbers?: {
|
|
1930
|
-
id: string;
|
|
1931
1948
|
createdAt: string;
|
|
1932
1949
|
updatedAt: string;
|
|
1933
1950
|
phoneNumber: string;
|
|
1934
1951
|
isPrimary: boolean;
|
|
1952
|
+
id: string;
|
|
1935
1953
|
description?: string | null | undefined;
|
|
1936
1954
|
}[] | null | undefined;
|
|
1937
1955
|
nino?: string | null | undefined;
|
|
1938
1956
|
dateOfBirth?: string | null | undefined;
|
|
1939
1957
|
bio?: string | null | undefined;
|
|
1940
1958
|
trades?: {
|
|
1941
|
-
id: string;
|
|
1942
1959
|
createdAt: string;
|
|
1943
1960
|
updatedAt: string;
|
|
1961
|
+
id: string;
|
|
1944
1962
|
tradeId: string;
|
|
1945
1963
|
mainTrade: boolean;
|
|
1946
1964
|
}[] | null | undefined;
|
|
1947
1965
|
qualifications?: {
|
|
1948
|
-
id: string;
|
|
1949
1966
|
createdAt: string;
|
|
1950
1967
|
updatedAt: string;
|
|
1968
|
+
id: string;
|
|
1951
1969
|
qualificationId: string;
|
|
1952
1970
|
qualificationTypeId: string | null;
|
|
1953
1971
|
issueDate: string | null;
|
|
@@ -1967,38 +1985,38 @@ export declare const curatedWorkersContract: {
|
|
|
1967
1985
|
areaCovered?: string | null | undefined;
|
|
1968
1986
|
} | null | undefined;
|
|
1969
1987
|
}, {
|
|
1970
|
-
status: "AVAILABLE" | "
|
|
1971
|
-
id: string;
|
|
1988
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
1972
1989
|
createdAt: string | Date;
|
|
1973
1990
|
updatedAt: string | Date;
|
|
1991
|
+
id: string;
|
|
1974
1992
|
firstName: string;
|
|
1975
1993
|
lastName: string;
|
|
1976
1994
|
hasTools: boolean;
|
|
1977
1995
|
hasPpe: boolean;
|
|
1978
|
-
rating?: number | null | undefined;
|
|
1979
1996
|
email?: string | null | undefined;
|
|
1997
|
+
rating?: number | null | undefined;
|
|
1980
1998
|
phoneNumbers?: {
|
|
1981
|
-
id: string;
|
|
1982
1999
|
createdAt: string | Date;
|
|
1983
2000
|
updatedAt: string | Date;
|
|
1984
2001
|
phoneNumber: string;
|
|
1985
|
-
|
|
2002
|
+
id: string;
|
|
1986
2003
|
description?: string | null | undefined;
|
|
2004
|
+
isPrimary?: boolean | undefined;
|
|
1987
2005
|
}[] | null | undefined;
|
|
1988
2006
|
nino?: string | null | undefined;
|
|
1989
2007
|
dateOfBirth?: string | Date | null | undefined;
|
|
1990
2008
|
bio?: string | null | undefined;
|
|
1991
2009
|
trades?: {
|
|
1992
|
-
id: string;
|
|
1993
2010
|
createdAt: string | Date;
|
|
1994
2011
|
updatedAt: string | Date;
|
|
2012
|
+
id: string;
|
|
1995
2013
|
tradeId: string;
|
|
1996
2014
|
mainTrade: boolean;
|
|
1997
2015
|
}[] | null | undefined;
|
|
1998
2016
|
qualifications?: {
|
|
1999
|
-
id: string;
|
|
2000
2017
|
createdAt: string | Date;
|
|
2001
2018
|
updatedAt: string | Date;
|
|
2019
|
+
id: string;
|
|
2002
2020
|
qualificationId: string;
|
|
2003
2021
|
qualificationTypeId: string | null;
|
|
2004
2022
|
issueDate: string | Date | null;
|
|
@@ -2024,40 +2042,39 @@ export declare const curatedWorkersContract: {
|
|
|
2024
2042
|
currentPage: z.ZodNumber;
|
|
2025
2043
|
totalPages: z.ZodNumber;
|
|
2026
2044
|
}, "strip", z.ZodTypeAny, {
|
|
2027
|
-
limit: number;
|
|
2028
2045
|
items: {
|
|
2029
|
-
status: "AVAILABLE" | "
|
|
2030
|
-
id: string;
|
|
2046
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
2031
2047
|
createdAt: string;
|
|
2032
2048
|
updatedAt: string;
|
|
2049
|
+
id: string;
|
|
2033
2050
|
firstName: string;
|
|
2034
2051
|
lastName: string;
|
|
2035
2052
|
hasTools: boolean;
|
|
2036
2053
|
hasPpe: boolean;
|
|
2037
|
-
rating?: number | null | undefined;
|
|
2038
2054
|
email?: string | null | undefined;
|
|
2055
|
+
rating?: number | null | undefined;
|
|
2039
2056
|
phoneNumbers?: {
|
|
2040
|
-
id: string;
|
|
2041
2057
|
createdAt: string;
|
|
2042
2058
|
updatedAt: string;
|
|
2043
2059
|
phoneNumber: string;
|
|
2044
2060
|
isPrimary: boolean;
|
|
2061
|
+
id: string;
|
|
2045
2062
|
description?: string | null | undefined;
|
|
2046
2063
|
}[] | null | undefined;
|
|
2047
2064
|
nino?: string | null | undefined;
|
|
2048
2065
|
dateOfBirth?: string | null | undefined;
|
|
2049
2066
|
bio?: string | null | undefined;
|
|
2050
2067
|
trades?: {
|
|
2051
|
-
id: string;
|
|
2052
2068
|
createdAt: string;
|
|
2053
2069
|
updatedAt: string;
|
|
2070
|
+
id: string;
|
|
2054
2071
|
tradeId: string;
|
|
2055
2072
|
mainTrade: boolean;
|
|
2056
2073
|
}[] | null | undefined;
|
|
2057
2074
|
qualifications?: {
|
|
2058
|
-
id: string;
|
|
2059
2075
|
createdAt: string;
|
|
2060
2076
|
updatedAt: string;
|
|
2077
|
+
id: string;
|
|
2061
2078
|
qualificationId: string;
|
|
2062
2079
|
qualificationTypeId: string | null;
|
|
2063
2080
|
issueDate: string | null;
|
|
@@ -2078,44 +2095,44 @@ export declare const curatedWorkersContract: {
|
|
|
2078
2095
|
} | null | undefined;
|
|
2079
2096
|
}[];
|
|
2080
2097
|
totalCount: number;
|
|
2098
|
+
limit: number;
|
|
2081
2099
|
skip: number;
|
|
2082
2100
|
currentPage: number;
|
|
2083
2101
|
totalPages: number;
|
|
2084
2102
|
}, {
|
|
2085
|
-
limit: number;
|
|
2086
2103
|
items: {
|
|
2087
|
-
status: "AVAILABLE" | "
|
|
2088
|
-
id: string;
|
|
2104
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
2089
2105
|
createdAt: string | Date;
|
|
2090
2106
|
updatedAt: string | Date;
|
|
2107
|
+
id: string;
|
|
2091
2108
|
firstName: string;
|
|
2092
2109
|
lastName: string;
|
|
2093
2110
|
hasTools: boolean;
|
|
2094
2111
|
hasPpe: boolean;
|
|
2095
|
-
rating?: number | null | undefined;
|
|
2096
2112
|
email?: string | null | undefined;
|
|
2113
|
+
rating?: number | null | undefined;
|
|
2097
2114
|
phoneNumbers?: {
|
|
2098
|
-
id: string;
|
|
2099
2115
|
createdAt: string | Date;
|
|
2100
2116
|
updatedAt: string | Date;
|
|
2101
2117
|
phoneNumber: string;
|
|
2102
|
-
|
|
2118
|
+
id: string;
|
|
2103
2119
|
description?: string | null | undefined;
|
|
2120
|
+
isPrimary?: boolean | undefined;
|
|
2104
2121
|
}[] | null | undefined;
|
|
2105
2122
|
nino?: string | null | undefined;
|
|
2106
2123
|
dateOfBirth?: string | Date | null | undefined;
|
|
2107
2124
|
bio?: string | null | undefined;
|
|
2108
2125
|
trades?: {
|
|
2109
|
-
id: string;
|
|
2110
2126
|
createdAt: string | Date;
|
|
2111
2127
|
updatedAt: string | Date;
|
|
2128
|
+
id: string;
|
|
2112
2129
|
tradeId: string;
|
|
2113
2130
|
mainTrade: boolean;
|
|
2114
2131
|
}[] | null | undefined;
|
|
2115
2132
|
qualifications?: {
|
|
2116
|
-
id: string;
|
|
2117
2133
|
createdAt: string | Date;
|
|
2118
2134
|
updatedAt: string | Date;
|
|
2135
|
+
id: string;
|
|
2119
2136
|
qualificationId: string;
|
|
2120
2137
|
qualificationTypeId: string | null;
|
|
2121
2138
|
issueDate: string | Date | null;
|
|
@@ -2136,6 +2153,7 @@ export declare const curatedWorkersContract: {
|
|
|
2136
2153
|
} | null | undefined;
|
|
2137
2154
|
}[];
|
|
2138
2155
|
totalCount: number;
|
|
2156
|
+
limit: number;
|
|
2139
2157
|
skip: number;
|
|
2140
2158
|
currentPage: number;
|
|
2141
2159
|
totalPages: number;
|
|
@@ -2305,15 +2323,15 @@ export declare const curatedWorkersContract: {
|
|
|
2305
2323
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2306
2324
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2307
2325
|
}, "strip", z.ZodTypeAny, {
|
|
2308
|
-
id: string;
|
|
2309
2326
|
createdAt: string;
|
|
2310
2327
|
updatedAt: string;
|
|
2328
|
+
id: string;
|
|
2311
2329
|
tradeId: string;
|
|
2312
2330
|
mainTrade: boolean;
|
|
2313
2331
|
}, {
|
|
2314
|
-
id: string;
|
|
2315
2332
|
createdAt: string | Date;
|
|
2316
2333
|
updatedAt: string | Date;
|
|
2334
|
+
id: string;
|
|
2317
2335
|
tradeId: string;
|
|
2318
2336
|
mainTrade: boolean;
|
|
2319
2337
|
}>, "many">>>;
|
|
@@ -2328,9 +2346,9 @@ export declare const curatedWorkersContract: {
|
|
|
2328
2346
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2329
2347
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2330
2348
|
}, "strip", z.ZodTypeAny, {
|
|
2331
|
-
id: string;
|
|
2332
2349
|
createdAt: string;
|
|
2333
2350
|
updatedAt: string;
|
|
2351
|
+
id: string;
|
|
2334
2352
|
qualificationId: string;
|
|
2335
2353
|
qualificationTypeId: string | null;
|
|
2336
2354
|
issueDate: string | null;
|
|
@@ -2338,9 +2356,9 @@ export declare const curatedWorkersContract: {
|
|
|
2338
2356
|
referenceNumber: string | null;
|
|
2339
2357
|
proofDocumentFileId: string | null;
|
|
2340
2358
|
}, {
|
|
2341
|
-
id: string;
|
|
2342
2359
|
createdAt: string | Date;
|
|
2343
2360
|
updatedAt: string | Date;
|
|
2361
|
+
id: string;
|
|
2344
2362
|
qualificationId: string;
|
|
2345
2363
|
qualificationTypeId: string | null;
|
|
2346
2364
|
issueDate: string | Date | null;
|
|
@@ -2349,61 +2367,61 @@ export declare const curatedWorkersContract: {
|
|
|
2349
2367
|
proofDocumentFileId: string | null;
|
|
2350
2368
|
}>, "many">>>;
|
|
2351
2369
|
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2352
|
-
phoneNumber: z.ZodString
|
|
2370
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
2353
2371
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2354
|
-
isPrimary: z.ZodBoolean
|
|
2372
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2355
2373
|
} & {
|
|
2356
2374
|
id: z.ZodString;
|
|
2357
2375
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2358
2376
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2359
2377
|
}, "strip", z.ZodTypeAny, {
|
|
2360
|
-
id: string;
|
|
2361
2378
|
createdAt: string;
|
|
2362
2379
|
updatedAt: string;
|
|
2363
2380
|
phoneNumber: string;
|
|
2364
2381
|
isPrimary: boolean;
|
|
2382
|
+
id: string;
|
|
2365
2383
|
description?: string | null | undefined;
|
|
2366
2384
|
}, {
|
|
2367
|
-
id: string;
|
|
2368
2385
|
createdAt: string | Date;
|
|
2369
2386
|
updatedAt: string | Date;
|
|
2370
2387
|
phoneNumber: string;
|
|
2371
|
-
|
|
2388
|
+
id: string;
|
|
2372
2389
|
description?: string | null | undefined;
|
|
2390
|
+
isPrimary?: boolean | undefined;
|
|
2373
2391
|
}>, "many">>>;
|
|
2374
2392
|
}, "strip", z.ZodTypeAny, {
|
|
2375
|
-
status: "AVAILABLE" | "
|
|
2376
|
-
id: string;
|
|
2393
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
2377
2394
|
createdAt: string;
|
|
2378
2395
|
updatedAt: string;
|
|
2396
|
+
id: string;
|
|
2379
2397
|
firstName: string;
|
|
2380
2398
|
lastName: string;
|
|
2381
2399
|
hasTools: boolean;
|
|
2382
2400
|
hasPpe: boolean;
|
|
2383
|
-
rating?: number | null | undefined;
|
|
2384
2401
|
email?: string | null | undefined;
|
|
2402
|
+
rating?: number | null | undefined;
|
|
2385
2403
|
phoneNumbers?: {
|
|
2386
|
-
id: string;
|
|
2387
2404
|
createdAt: string;
|
|
2388
2405
|
updatedAt: string;
|
|
2389
2406
|
phoneNumber: string;
|
|
2390
2407
|
isPrimary: boolean;
|
|
2408
|
+
id: string;
|
|
2391
2409
|
description?: string | null | undefined;
|
|
2392
2410
|
}[] | null | undefined;
|
|
2393
2411
|
nino?: string | null | undefined;
|
|
2394
2412
|
dateOfBirth?: string | null | undefined;
|
|
2395
2413
|
bio?: string | null | undefined;
|
|
2396
2414
|
trades?: {
|
|
2397
|
-
id: string;
|
|
2398
2415
|
createdAt: string;
|
|
2399
2416
|
updatedAt: string;
|
|
2417
|
+
id: string;
|
|
2400
2418
|
tradeId: string;
|
|
2401
2419
|
mainTrade: boolean;
|
|
2402
2420
|
}[] | null | undefined;
|
|
2403
2421
|
qualifications?: {
|
|
2404
|
-
id: string;
|
|
2405
2422
|
createdAt: string;
|
|
2406
2423
|
updatedAt: string;
|
|
2424
|
+
id: string;
|
|
2407
2425
|
qualificationId: string;
|
|
2408
2426
|
qualificationTypeId: string | null;
|
|
2409
2427
|
issueDate: string | null;
|
|
@@ -2423,38 +2441,38 @@ export declare const curatedWorkersContract: {
|
|
|
2423
2441
|
areaCovered?: string | null | undefined;
|
|
2424
2442
|
} | null | undefined;
|
|
2425
2443
|
}, {
|
|
2426
|
-
status: "AVAILABLE" | "
|
|
2427
|
-
id: string;
|
|
2444
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
2428
2445
|
createdAt: string | Date;
|
|
2429
2446
|
updatedAt: string | Date;
|
|
2447
|
+
id: string;
|
|
2430
2448
|
firstName: string;
|
|
2431
2449
|
lastName: string;
|
|
2432
2450
|
hasTools: boolean;
|
|
2433
2451
|
hasPpe: boolean;
|
|
2434
|
-
rating?: number | null | undefined;
|
|
2435
2452
|
email?: string | null | undefined;
|
|
2453
|
+
rating?: number | null | undefined;
|
|
2436
2454
|
phoneNumbers?: {
|
|
2437
|
-
id: string;
|
|
2438
2455
|
createdAt: string | Date;
|
|
2439
2456
|
updatedAt: string | Date;
|
|
2440
2457
|
phoneNumber: string;
|
|
2441
|
-
|
|
2458
|
+
id: string;
|
|
2442
2459
|
description?: string | null | undefined;
|
|
2460
|
+
isPrimary?: boolean | undefined;
|
|
2443
2461
|
}[] | null | undefined;
|
|
2444
2462
|
nino?: string | null | undefined;
|
|
2445
2463
|
dateOfBirth?: string | Date | null | undefined;
|
|
2446
2464
|
bio?: string | null | undefined;
|
|
2447
2465
|
trades?: {
|
|
2448
|
-
id: string;
|
|
2449
2466
|
createdAt: string | Date;
|
|
2450
2467
|
updatedAt: string | Date;
|
|
2468
|
+
id: string;
|
|
2451
2469
|
tradeId: string;
|
|
2452
2470
|
mainTrade: boolean;
|
|
2453
2471
|
}[] | null | undefined;
|
|
2454
2472
|
qualifications?: {
|
|
2455
|
-
id: string;
|
|
2456
2473
|
createdAt: string | Date;
|
|
2457
2474
|
updatedAt: string | Date;
|
|
2475
|
+
id: string;
|
|
2458
2476
|
qualificationId: string;
|
|
2459
2477
|
qualificationTypeId: string | null;
|
|
2460
2478
|
issueDate: string | Date | null;
|
|
@@ -2574,34 +2592,43 @@ export declare const curatedWorkersContract: {
|
|
|
2574
2592
|
referenceNumber?: string | null | undefined;
|
|
2575
2593
|
proofDocumentFileId?: string | null | undefined;
|
|
2576
2594
|
}>, "many">>>;
|
|
2577
|
-
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2578
|
-
phoneNumber: z.ZodString;
|
|
2579
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2580
|
-
isPrimary: z.ZodBoolean;
|
|
2581
|
-
} & {
|
|
2595
|
+
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2582
2596
|
id: z.ZodOptional<z.ZodString>;
|
|
2597
|
+
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2598
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2599
|
+
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
2583
2600
|
}, "strip", z.ZodTypeAny, {
|
|
2584
|
-
phoneNumber
|
|
2585
|
-
isPrimary: boolean;
|
|
2586
|
-
id?: string | undefined;
|
|
2601
|
+
phoneNumber?: string | undefined;
|
|
2587
2602
|
description?: string | null | undefined;
|
|
2603
|
+
isPrimary?: boolean | undefined;
|
|
2604
|
+
id?: string | undefined;
|
|
2588
2605
|
}, {
|
|
2589
|
-
phoneNumber
|
|
2590
|
-
|
|
2606
|
+
phoneNumber?: string | undefined;
|
|
2607
|
+
description?: string | null | undefined;
|
|
2608
|
+
isPrimary?: boolean | undefined;
|
|
2591
2609
|
id?: string | undefined;
|
|
2610
|
+
}>, {
|
|
2611
|
+
phoneNumber?: string | undefined;
|
|
2592
2612
|
description?: string | null | undefined;
|
|
2613
|
+
isPrimary?: boolean | undefined;
|
|
2614
|
+
id?: string | undefined;
|
|
2615
|
+
}, {
|
|
2616
|
+
phoneNumber?: string | undefined;
|
|
2617
|
+
description?: string | null | undefined;
|
|
2618
|
+
isPrimary?: boolean | undefined;
|
|
2619
|
+
id?: string | undefined;
|
|
2593
2620
|
}>, "many">>>;
|
|
2594
2621
|
}, "strip", z.ZodTypeAny, {
|
|
2595
|
-
|
|
2622
|
+
email?: string | null | undefined;
|
|
2623
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
2596
2624
|
rating?: number | null | undefined;
|
|
2597
2625
|
firstName?: string | undefined;
|
|
2598
2626
|
lastName?: string | undefined;
|
|
2599
|
-
email?: string | null | undefined;
|
|
2600
2627
|
phoneNumbers?: {
|
|
2601
|
-
phoneNumber
|
|
2602
|
-
isPrimary: boolean;
|
|
2603
|
-
id?: string | undefined;
|
|
2628
|
+
phoneNumber?: string | undefined;
|
|
2604
2629
|
description?: string | null | undefined;
|
|
2630
|
+
isPrimary?: boolean | undefined;
|
|
2631
|
+
id?: string | undefined;
|
|
2605
2632
|
}[] | null | undefined;
|
|
2606
2633
|
nino?: string | null | undefined;
|
|
2607
2634
|
dateOfBirth?: string | null | undefined;
|
|
@@ -2628,16 +2655,16 @@ export declare const curatedWorkersContract: {
|
|
|
2628
2655
|
postcode?: string | null | undefined;
|
|
2629
2656
|
} | null | undefined;
|
|
2630
2657
|
}, {
|
|
2631
|
-
|
|
2658
|
+
email?: string | null | undefined;
|
|
2659
|
+
status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
|
|
2632
2660
|
rating?: number | null | undefined;
|
|
2633
2661
|
firstName?: string | undefined;
|
|
2634
2662
|
lastName?: string | undefined;
|
|
2635
|
-
email?: string | null | undefined;
|
|
2636
2663
|
phoneNumbers?: {
|
|
2637
|
-
phoneNumber
|
|
2638
|
-
isPrimary: boolean;
|
|
2639
|
-
id?: string | undefined;
|
|
2664
|
+
phoneNumber?: string | undefined;
|
|
2640
2665
|
description?: string | null | undefined;
|
|
2666
|
+
isPrimary?: boolean | undefined;
|
|
2667
|
+
id?: string | undefined;
|
|
2641
2668
|
}[] | null | undefined;
|
|
2642
2669
|
nino?: string | null | undefined;
|
|
2643
2670
|
dateOfBirth?: string | Date | null | undefined;
|
|
@@ -2814,15 +2841,15 @@ export declare const curatedWorkersContract: {
|
|
|
2814
2841
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2815
2842
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2816
2843
|
}, "strip", z.ZodTypeAny, {
|
|
2817
|
-
id: string;
|
|
2818
2844
|
createdAt: string;
|
|
2819
2845
|
updatedAt: string;
|
|
2846
|
+
id: string;
|
|
2820
2847
|
tradeId: string;
|
|
2821
2848
|
mainTrade: boolean;
|
|
2822
2849
|
}, {
|
|
2823
|
-
id: string;
|
|
2824
2850
|
createdAt: string | Date;
|
|
2825
2851
|
updatedAt: string | Date;
|
|
2852
|
+
id: string;
|
|
2826
2853
|
tradeId: string;
|
|
2827
2854
|
mainTrade: boolean;
|
|
2828
2855
|
}>, "many">>>;
|
|
@@ -2837,9 +2864,9 @@ export declare const curatedWorkersContract: {
|
|
|
2837
2864
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2838
2865
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2839
2866
|
}, "strip", z.ZodTypeAny, {
|
|
2840
|
-
id: string;
|
|
2841
2867
|
createdAt: string;
|
|
2842
2868
|
updatedAt: string;
|
|
2869
|
+
id: string;
|
|
2843
2870
|
qualificationId: string;
|
|
2844
2871
|
qualificationTypeId: string | null;
|
|
2845
2872
|
issueDate: string | null;
|
|
@@ -2847,9 +2874,9 @@ export declare const curatedWorkersContract: {
|
|
|
2847
2874
|
referenceNumber: string | null;
|
|
2848
2875
|
proofDocumentFileId: string | null;
|
|
2849
2876
|
}, {
|
|
2850
|
-
id: string;
|
|
2851
2877
|
createdAt: string | Date;
|
|
2852
2878
|
updatedAt: string | Date;
|
|
2879
|
+
id: string;
|
|
2853
2880
|
qualificationId: string;
|
|
2854
2881
|
qualificationTypeId: string | null;
|
|
2855
2882
|
issueDate: string | Date | null;
|
|
@@ -2858,61 +2885,61 @@ export declare const curatedWorkersContract: {
|
|
|
2858
2885
|
proofDocumentFileId: string | null;
|
|
2859
2886
|
}>, "many">>>;
|
|
2860
2887
|
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2861
|
-
phoneNumber: z.ZodString
|
|
2888
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
2862
2889
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2863
|
-
isPrimary: z.ZodBoolean
|
|
2890
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2864
2891
|
} & {
|
|
2865
2892
|
id: z.ZodString;
|
|
2866
2893
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2867
2894
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2868
2895
|
}, "strip", z.ZodTypeAny, {
|
|
2869
|
-
id: string;
|
|
2870
2896
|
createdAt: string;
|
|
2871
2897
|
updatedAt: string;
|
|
2872
2898
|
phoneNumber: string;
|
|
2873
2899
|
isPrimary: boolean;
|
|
2900
|
+
id: string;
|
|
2874
2901
|
description?: string | null | undefined;
|
|
2875
2902
|
}, {
|
|
2876
|
-
id: string;
|
|
2877
2903
|
createdAt: string | Date;
|
|
2878
2904
|
updatedAt: string | Date;
|
|
2879
2905
|
phoneNumber: string;
|
|
2880
|
-
|
|
2906
|
+
id: string;
|
|
2881
2907
|
description?: string | null | undefined;
|
|
2908
|
+
isPrimary?: boolean | undefined;
|
|
2882
2909
|
}>, "many">>>;
|
|
2883
2910
|
}, "strip", z.ZodTypeAny, {
|
|
2884
|
-
status: "AVAILABLE" | "
|
|
2885
|
-
id: string;
|
|
2911
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
2886
2912
|
createdAt: string;
|
|
2887
2913
|
updatedAt: string;
|
|
2914
|
+
id: string;
|
|
2888
2915
|
firstName: string;
|
|
2889
2916
|
lastName: string;
|
|
2890
2917
|
hasTools: boolean;
|
|
2891
2918
|
hasPpe: boolean;
|
|
2892
|
-
rating?: number | null | undefined;
|
|
2893
2919
|
email?: string | null | undefined;
|
|
2920
|
+
rating?: number | null | undefined;
|
|
2894
2921
|
phoneNumbers?: {
|
|
2895
|
-
id: string;
|
|
2896
2922
|
createdAt: string;
|
|
2897
2923
|
updatedAt: string;
|
|
2898
2924
|
phoneNumber: string;
|
|
2899
2925
|
isPrimary: boolean;
|
|
2926
|
+
id: string;
|
|
2900
2927
|
description?: string | null | undefined;
|
|
2901
2928
|
}[] | null | undefined;
|
|
2902
2929
|
nino?: string | null | undefined;
|
|
2903
2930
|
dateOfBirth?: string | null | undefined;
|
|
2904
2931
|
bio?: string | null | undefined;
|
|
2905
2932
|
trades?: {
|
|
2906
|
-
id: string;
|
|
2907
2933
|
createdAt: string;
|
|
2908
2934
|
updatedAt: string;
|
|
2935
|
+
id: string;
|
|
2909
2936
|
tradeId: string;
|
|
2910
2937
|
mainTrade: boolean;
|
|
2911
2938
|
}[] | null | undefined;
|
|
2912
2939
|
qualifications?: {
|
|
2913
|
-
id: string;
|
|
2914
2940
|
createdAt: string;
|
|
2915
2941
|
updatedAt: string;
|
|
2942
|
+
id: string;
|
|
2916
2943
|
qualificationId: string;
|
|
2917
2944
|
qualificationTypeId: string | null;
|
|
2918
2945
|
issueDate: string | null;
|
|
@@ -2932,38 +2959,38 @@ export declare const curatedWorkersContract: {
|
|
|
2932
2959
|
areaCovered?: string | null | undefined;
|
|
2933
2960
|
} | null | undefined;
|
|
2934
2961
|
}, {
|
|
2935
|
-
status: "AVAILABLE" | "
|
|
2936
|
-
id: string;
|
|
2962
|
+
status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
|
|
2937
2963
|
createdAt: string | Date;
|
|
2938
2964
|
updatedAt: string | Date;
|
|
2965
|
+
id: string;
|
|
2939
2966
|
firstName: string;
|
|
2940
2967
|
lastName: string;
|
|
2941
2968
|
hasTools: boolean;
|
|
2942
2969
|
hasPpe: boolean;
|
|
2943
|
-
rating?: number | null | undefined;
|
|
2944
2970
|
email?: string | null | undefined;
|
|
2971
|
+
rating?: number | null | undefined;
|
|
2945
2972
|
phoneNumbers?: {
|
|
2946
|
-
id: string;
|
|
2947
2973
|
createdAt: string | Date;
|
|
2948
2974
|
updatedAt: string | Date;
|
|
2949
2975
|
phoneNumber: string;
|
|
2950
|
-
|
|
2976
|
+
id: string;
|
|
2951
2977
|
description?: string | null | undefined;
|
|
2978
|
+
isPrimary?: boolean | undefined;
|
|
2952
2979
|
}[] | null | undefined;
|
|
2953
2980
|
nino?: string | null | undefined;
|
|
2954
2981
|
dateOfBirth?: string | Date | null | undefined;
|
|
2955
2982
|
bio?: string | null | undefined;
|
|
2956
2983
|
trades?: {
|
|
2957
|
-
id: string;
|
|
2958
2984
|
createdAt: string | Date;
|
|
2959
2985
|
updatedAt: string | Date;
|
|
2986
|
+
id: string;
|
|
2960
2987
|
tradeId: string;
|
|
2961
2988
|
mainTrade: boolean;
|
|
2962
2989
|
}[] | null | undefined;
|
|
2963
2990
|
qualifications?: {
|
|
2964
|
-
id: string;
|
|
2965
2991
|
createdAt: string | Date;
|
|
2966
2992
|
updatedAt: string | Date;
|
|
2993
|
+
id: string;
|
|
2967
2994
|
qualificationId: string;
|
|
2968
2995
|
qualificationTypeId: string | null;
|
|
2969
2996
|
issueDate: string | Date | null;
|