@dakkitor/api-contracts 1.1.26 → 1.1.28

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.
Files changed (54) hide show
  1. package/dist/actives/actives.contract.d.ts +4899 -597
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +0 -1
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +487 -487
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  6. package/dist/agent-client-links/agent-client-links.contract.js +2 -0
  7. package/dist/auth/auth.contract.d.ts +4 -4
  8. package/dist/bookings/bookings.contract.d.ts +5657 -1430
  9. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  10. package/dist/bookings/bookings.contract.js +6 -6
  11. package/dist/call-history/call-history.contract.d.ts +1188 -262
  12. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  13. package/dist/call-history/call-history.contract.js +3 -4
  14. package/dist/client-contacts/client-contacts.contract.d.ts +515 -515
  15. package/dist/clients/clients.contract.d.ts +380 -380
  16. package/dist/clients/clients.contract.d.ts.map +1 -1
  17. package/dist/clients/clients.contract.js +8 -2
  18. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3349 -1023
  19. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
  20. package/dist/collaboration-checkings/collaboration-checkings.contract.js +3 -10
  21. package/dist/collaborations/collaborations.contract.d.ts +2934 -219
  22. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  23. package/dist/collaborations/collaborations.contract.js +19 -33
  24. package/dist/common/common-schemas.d.ts +6 -6
  25. package/dist/common/common-schemas.d.ts.map +1 -1
  26. package/dist/common/common-schemas.js +3 -5
  27. package/dist/common/error-schemas.d.ts +6 -6
  28. package/dist/companies/companies.contract.d.ts +212 -212
  29. package/dist/cron-executions/cron-executions.contract.d.ts +228 -228
  30. package/dist/curated-workers/curated-workers.contract.d.ts +366 -366
  31. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  32. package/dist/curated-workers/curated-workers.contract.js +4 -10
  33. package/dist/dashboards/agent-daily-metrics.contract.d.ts +120 -120
  34. package/dist/files/files.contract.d.ts +228 -228
  35. package/dist/health/health.contract.d.ts +22 -22
  36. package/dist/jobs/jobs.contract.d.ts +3517 -511
  37. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  38. package/dist/jobs/jobs.contract.js +36 -17
  39. package/dist/lead-assignments/lead-assignments.contract.d.ts +272 -272
  40. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +63 -63
  41. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +146 -146
  42. package/dist/leads/leads.contract.d.ts +316 -316
  43. package/dist/locations/locations.contract.d.ts +161 -161
  44. package/dist/postcodes/postcodes.contract.d.ts +66 -66
  45. package/dist/qualifications/qualifications.contract.d.ts +256 -256
  46. package/dist/trades/trades.contract.d.ts +160 -160
  47. package/dist/users/users.contract.d.ts +100 -100
  48. package/dist/workers/workers.contract.d.ts +129 -75
  49. package/dist/workers/workers.contract.d.ts.map +1 -1
  50. package/dist/workers/workers.contract.js +20 -13
  51. package/package.json +1 -1
  52. package/dist/common/api-responses.d.ts +0 -105
  53. package/dist/common/api-responses.d.ts.map +0 -1
  54. package/dist/common/api-responses.js +0 -107
@@ -42,18 +42,18 @@ export declare const CuratedWorkerPhoneNumberSchema: z.ZodObject<{
42
42
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
43
43
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
44
44
  }, "strip", z.ZodTypeAny, {
45
- id: string;
46
45
  createdAt: string;
47
46
  updatedAt: string;
48
47
  phoneNumber: string;
49
48
  isPrimary: boolean;
49
+ id: string;
50
50
  description?: string | null | undefined;
51
51
  }, {
52
- id: string;
53
52
  createdAt: string | Date;
54
53
  updatedAt: string | Date;
55
54
  phoneNumber: string;
56
55
  isPrimary: boolean;
56
+ id: string;
57
57
  description?: string | null | undefined;
58
58
  }>;
59
59
  export declare const CuratedWorkerTradeSchema: z.ZodObject<{
@@ -73,15 +73,15 @@ export declare const CuratedWorkerTradeResponseSchema: z.ZodObject<{
73
73
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
74
74
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
75
75
  }, "strip", z.ZodTypeAny, {
76
- id: string;
77
76
  createdAt: string;
78
77
  updatedAt: string;
78
+ id: string;
79
79
  tradeId: string;
80
80
  mainTrade: boolean;
81
81
  }, {
82
- id: string;
83
82
  createdAt: string | Date;
84
83
  updatedAt: string | Date;
84
+ id: string;
85
85
  tradeId: string;
86
86
  mainTrade: boolean;
87
87
  }>;
@@ -144,9 +144,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
144
144
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
145
145
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
146
146
  }, "strip", z.ZodTypeAny, {
147
- id: string;
148
147
  createdAt: string;
149
148
  updatedAt: string;
149
+ id: string;
150
150
  qualificationId: string;
151
151
  qualificationTypeId: string | null;
152
152
  issueDate: string | null;
@@ -154,9 +154,9 @@ export declare const CuratedWorkerQualificationResponseSchema: z.ZodObject<{
154
154
  referenceNumber: string | null;
155
155
  proofDocumentFileId: string | null;
156
156
  }, {
157
- id: string;
158
157
  createdAt: string | Date;
159
158
  updatedAt: string | Date;
159
+ id: string;
160
160
  qualificationId: string;
161
161
  qualificationTypeId: string | null;
162
162
  issueDate: string | Date | null;
@@ -243,17 +243,17 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
243
243
  hasTools: z.ZodBoolean;
244
244
  hasPpe: z.ZodBoolean;
245
245
  location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
246
- address: z.ZodOptional<z.ZodString>;
247
- postcode: z.ZodOptional<z.ZodString>;
246
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
247
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
248
248
  }, "strip", z.ZodTypeAny, {
249
- address?: string | undefined;
250
- postcode?: string | undefined;
249
+ address?: string | null | undefined;
250
+ postcode?: string | null | undefined;
251
251
  }, {
252
- address?: string | undefined;
253
- postcode?: string | undefined;
252
+ address?: string | null | undefined;
253
+ postcode?: string | null | undefined;
254
254
  }>>>;
255
255
  }, "strip", z.ZodTypeAny, {
256
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
256
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
257
257
  firstName: string;
258
258
  lastName: string;
259
259
  phoneNumbers: {
@@ -283,8 +283,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
283
283
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
284
284
  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" | null | undefined;
285
285
  location?: {
286
- address?: string | undefined;
287
- postcode?: string | undefined;
286
+ address?: string | null | undefined;
287
+ postcode?: string | null | undefined;
288
288
  } | null | undefined;
289
289
  }, {
290
290
  firstName: string;
@@ -300,8 +300,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
300
300
  }[];
301
301
  hasTools: boolean;
302
302
  hasPpe: boolean;
303
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
304
303
  email?: string | null | undefined;
304
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
305
305
  rating?: number | null | undefined;
306
306
  nino?: string | null | undefined;
307
307
  dateOfBirth?: string | Date | null | undefined;
@@ -317,8 +317,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
317
317
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
318
318
  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" | null | undefined;
319
319
  location?: {
320
- address?: string | undefined;
321
- postcode?: string | undefined;
320
+ address?: string | null | undefined;
321
+ postcode?: string | null | undefined;
322
322
  } | null | undefined;
323
323
  }>;
324
324
  export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
@@ -345,14 +345,14 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
345
345
  hasTools: z.ZodOptional<z.ZodBoolean>;
346
346
  hasPpe: z.ZodOptional<z.ZodBoolean>;
347
347
  location: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
348
- address: z.ZodOptional<z.ZodString>;
349
- postcode: z.ZodOptional<z.ZodString>;
348
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
349
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
350
350
  }, "strip", z.ZodTypeAny, {
351
- address?: string | undefined;
352
- postcode?: string | undefined;
351
+ address?: string | null | undefined;
352
+ postcode?: string | null | undefined;
353
353
  }, {
354
- address?: string | undefined;
355
- postcode?: string | undefined;
354
+ address?: string | null | undefined;
355
+ postcode?: string | null | undefined;
356
356
  }>>>>;
357
357
  } & {
358
358
  qualifications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -399,11 +399,11 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
399
399
  id?: string | undefined;
400
400
  }>, "many">>>;
401
401
  }, "strip", z.ZodTypeAny, {
402
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
403
- firstName?: string | undefined;
404
- lastName?: string | undefined;
405
402
  email?: string | null | undefined;
403
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
406
404
  rating?: number | null | undefined;
405
+ firstName?: string | undefined;
406
+ lastName?: string | undefined;
407
407
  phoneNumbers?: {
408
408
  phoneNumber: string;
409
409
  isPrimary: boolean;
@@ -431,15 +431,15 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
431
431
  hasTools?: boolean | undefined;
432
432
  hasPpe?: boolean | undefined;
433
433
  location?: {
434
- address?: string | undefined;
435
- postcode?: string | undefined;
434
+ address?: string | null | undefined;
435
+ postcode?: string | null | undefined;
436
436
  } | null | undefined;
437
437
  }, {
438
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
439
- firstName?: string | undefined;
440
- lastName?: string | undefined;
441
438
  email?: string | null | undefined;
439
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
442
440
  rating?: number | null | undefined;
441
+ firstName?: string | undefined;
442
+ lastName?: string | undefined;
443
443
  phoneNumbers?: {
444
444
  phoneNumber: string;
445
445
  isPrimary: boolean;
@@ -467,8 +467,8 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
467
467
  hasTools?: boolean | undefined;
468
468
  hasPpe?: boolean | undefined;
469
469
  location?: {
470
- address?: string | undefined;
471
- postcode?: string | undefined;
470
+ address?: string | null | undefined;
471
+ postcode?: string | null | undefined;
472
472
  } | null | undefined;
473
473
  }>;
474
474
  export declare const CuratedWorkerResponseSchema: z.ZodObject<{
@@ -519,15 +519,15 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
519
519
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
520
520
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
521
521
  }, "strip", z.ZodTypeAny, {
522
- id: string;
523
522
  createdAt: string;
524
523
  updatedAt: string;
524
+ id: string;
525
525
  tradeId: string;
526
526
  mainTrade: boolean;
527
527
  }, {
528
- id: string;
529
528
  createdAt: string | Date;
530
529
  updatedAt: string | Date;
530
+ id: string;
531
531
  tradeId: string;
532
532
  mainTrade: boolean;
533
533
  }>, "many">>>;
@@ -542,9 +542,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
542
542
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
543
543
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
544
544
  }, "strip", z.ZodTypeAny, {
545
- id: string;
546
545
  createdAt: string;
547
546
  updatedAt: string;
547
+ id: string;
548
548
  qualificationId: string;
549
549
  qualificationTypeId: string | null;
550
550
  issueDate: string | null;
@@ -552,9 +552,9 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
552
552
  referenceNumber: string | null;
553
553
  proofDocumentFileId: string | null;
554
554
  }, {
555
- id: string;
556
555
  createdAt: string | Date;
557
556
  updatedAt: string | Date;
557
+ id: string;
558
558
  qualificationId: string;
559
559
  qualificationTypeId: string | null;
560
560
  issueDate: string | Date | null;
@@ -571,53 +571,53 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
571
571
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
572
572
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
573
573
  }, "strip", z.ZodTypeAny, {
574
- id: string;
575
574
  createdAt: string;
576
575
  updatedAt: string;
577
576
  phoneNumber: string;
578
577
  isPrimary: boolean;
578
+ id: string;
579
579
  description?: string | null | undefined;
580
580
  }, {
581
- id: string;
582
581
  createdAt: string | Date;
583
582
  updatedAt: string | Date;
584
583
  phoneNumber: string;
585
584
  isPrimary: boolean;
585
+ id: string;
586
586
  description?: string | null | undefined;
587
587
  }>, "many">>>;
588
588
  }, "strip", z.ZodTypeAny, {
589
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
589
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
590
+ createdAt: string;
591
+ updatedAt: string;
590
592
  id: string;
591
593
  firstName: string;
592
594
  lastName: string;
593
- createdAt: string;
594
- updatedAt: string;
595
595
  hasTools: boolean;
596
596
  hasPpe: boolean;
597
597
  email?: string | null | undefined;
598
598
  rating?: number | null | undefined;
599
599
  phoneNumbers?: {
600
- id: string;
601
600
  createdAt: string;
602
601
  updatedAt: string;
603
602
  phoneNumber: string;
604
603
  isPrimary: boolean;
604
+ id: string;
605
605
  description?: string | null | undefined;
606
606
  }[] | null | undefined;
607
607
  nino?: string | null | undefined;
608
608
  dateOfBirth?: string | null | undefined;
609
609
  bio?: string | null | undefined;
610
610
  trades?: {
611
- id: string;
612
611
  createdAt: string;
613
612
  updatedAt: string;
613
+ id: string;
614
614
  tradeId: string;
615
615
  mainTrade: boolean;
616
616
  }[] | null | undefined;
617
617
  qualifications?: {
618
- id: string;
619
618
  createdAt: string;
620
619
  updatedAt: string;
620
+ id: string;
621
621
  qualificationId: string;
622
622
  qualificationTypeId: string | null;
623
623
  issueDate: string | null;
@@ -637,38 +637,38 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
637
637
  areaCovered?: string | null | undefined;
638
638
  } | null | undefined;
639
639
  }, {
640
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
640
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
641
+ createdAt: string | Date;
642
+ updatedAt: string | Date;
641
643
  id: string;
642
644
  firstName: string;
643
645
  lastName: string;
644
- createdAt: string | Date;
645
- updatedAt: string | Date;
646
646
  hasTools: boolean;
647
647
  hasPpe: boolean;
648
648
  email?: string | null | undefined;
649
649
  rating?: number | null | undefined;
650
650
  phoneNumbers?: {
651
- id: string;
652
651
  createdAt: string | Date;
653
652
  updatedAt: string | Date;
654
653
  phoneNumber: string;
655
654
  isPrimary: boolean;
655
+ id: string;
656
656
  description?: string | null | undefined;
657
657
  }[] | null | undefined;
658
658
  nino?: string | null | undefined;
659
659
  dateOfBirth?: string | Date | null | undefined;
660
660
  bio?: string | null | undefined;
661
661
  trades?: {
662
- id: string;
663
662
  createdAt: string | Date;
664
663
  updatedAt: string | Date;
664
+ id: string;
665
665
  tradeId: string;
666
666
  mainTrade: boolean;
667
667
  }[] | null | undefined;
668
668
  qualifications?: {
669
- id: string;
670
669
  createdAt: string | Date;
671
670
  updatedAt: string | Date;
671
+ id: string;
672
672
  qualificationId: string;
673
673
  qualificationTypeId: string | null;
674
674
  issueDate: string | Date | null;
@@ -737,15 +737,15 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
737
737
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
738
738
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
739
739
  }, "strip", z.ZodTypeAny, {
740
- id: string;
741
740
  createdAt: string;
742
741
  updatedAt: string;
742
+ id: string;
743
743
  tradeId: string;
744
744
  mainTrade: boolean;
745
745
  }, {
746
- id: string;
747
746
  createdAt: string | Date;
748
747
  updatedAt: string | Date;
748
+ id: string;
749
749
  tradeId: string;
750
750
  mainTrade: boolean;
751
751
  }>, "many">>>;
@@ -760,9 +760,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
760
760
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
761
761
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
762
762
  }, "strip", z.ZodTypeAny, {
763
- id: string;
764
763
  createdAt: string;
765
764
  updatedAt: string;
765
+ id: string;
766
766
  qualificationId: string;
767
767
  qualificationTypeId: string | null;
768
768
  issueDate: string | null;
@@ -770,9 +770,9 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
770
770
  referenceNumber: string | null;
771
771
  proofDocumentFileId: string | null;
772
772
  }, {
773
- id: string;
774
773
  createdAt: string | Date;
775
774
  updatedAt: string | Date;
775
+ id: string;
776
776
  qualificationId: string;
777
777
  qualificationTypeId: string | null;
778
778
  issueDate: string | Date | null;
@@ -789,53 +789,53 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
789
789
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
790
790
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
791
791
  }, "strip", z.ZodTypeAny, {
792
- id: string;
793
792
  createdAt: string;
794
793
  updatedAt: string;
795
794
  phoneNumber: string;
796
795
  isPrimary: boolean;
796
+ id: string;
797
797
  description?: string | null | undefined;
798
798
  }, {
799
- id: string;
800
799
  createdAt: string | Date;
801
800
  updatedAt: string | Date;
802
801
  phoneNumber: string;
803
802
  isPrimary: boolean;
803
+ id: string;
804
804
  description?: string | null | undefined;
805
805
  }>, "many">>>;
806
806
  }, "strip", z.ZodTypeAny, {
807
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
807
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
808
+ createdAt: string;
809
+ updatedAt: string;
808
810
  id: string;
809
811
  firstName: string;
810
812
  lastName: string;
811
- createdAt: string;
812
- updatedAt: string;
813
813
  hasTools: boolean;
814
814
  hasPpe: boolean;
815
815
  email?: string | null | undefined;
816
816
  rating?: number | null | undefined;
817
817
  phoneNumbers?: {
818
- id: string;
819
818
  createdAt: string;
820
819
  updatedAt: string;
821
820
  phoneNumber: string;
822
821
  isPrimary: boolean;
822
+ id: string;
823
823
  description?: string | null | undefined;
824
824
  }[] | null | undefined;
825
825
  nino?: string | null | undefined;
826
826
  dateOfBirth?: string | null | undefined;
827
827
  bio?: string | null | undefined;
828
828
  trades?: {
829
- id: string;
830
829
  createdAt: string;
831
830
  updatedAt: string;
831
+ id: string;
832
832
  tradeId: string;
833
833
  mainTrade: boolean;
834
834
  }[] | null | undefined;
835
835
  qualifications?: {
836
- id: string;
837
836
  createdAt: string;
838
837
  updatedAt: string;
838
+ id: string;
839
839
  qualificationId: string;
840
840
  qualificationTypeId: string | null;
841
841
  issueDate: string | null;
@@ -855,38 +855,38 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
855
855
  areaCovered?: string | null | undefined;
856
856
  } | null | undefined;
857
857
  }, {
858
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
858
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
859
+ createdAt: string | Date;
860
+ updatedAt: string | Date;
859
861
  id: string;
860
862
  firstName: string;
861
863
  lastName: string;
862
- createdAt: string | Date;
863
- updatedAt: string | Date;
864
864
  hasTools: boolean;
865
865
  hasPpe: boolean;
866
866
  email?: string | null | undefined;
867
867
  rating?: number | null | undefined;
868
868
  phoneNumbers?: {
869
- id: string;
870
869
  createdAt: string | Date;
871
870
  updatedAt: string | Date;
872
871
  phoneNumber: string;
873
872
  isPrimary: boolean;
873
+ id: string;
874
874
  description?: string | null | undefined;
875
875
  }[] | null | undefined;
876
876
  nino?: string | null | undefined;
877
877
  dateOfBirth?: string | Date | null | undefined;
878
878
  bio?: string | null | undefined;
879
879
  trades?: {
880
- id: string;
881
880
  createdAt: string | Date;
882
881
  updatedAt: string | Date;
882
+ id: string;
883
883
  tradeId: string;
884
884
  mainTrade: boolean;
885
885
  }[] | null | undefined;
886
886
  qualifications?: {
887
- id: string;
888
887
  createdAt: string | Date;
889
888
  updatedAt: string | Date;
889
+ id: string;
890
890
  qualificationId: string;
891
891
  qualificationTypeId: string | null;
892
892
  issueDate: string | Date | null;
@@ -913,38 +913,38 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
913
913
  totalPages: z.ZodNumber;
914
914
  }, "strip", z.ZodTypeAny, {
915
915
  items: {
916
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
916
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
917
+ createdAt: string;
918
+ updatedAt: string;
917
919
  id: string;
918
920
  firstName: string;
919
921
  lastName: string;
920
- createdAt: string;
921
- updatedAt: string;
922
922
  hasTools: boolean;
923
923
  hasPpe: boolean;
924
924
  email?: string | null | undefined;
925
925
  rating?: number | null | undefined;
926
926
  phoneNumbers?: {
927
- id: string;
928
927
  createdAt: string;
929
928
  updatedAt: string;
930
929
  phoneNumber: string;
931
930
  isPrimary: boolean;
931
+ id: string;
932
932
  description?: string | null | undefined;
933
933
  }[] | null | undefined;
934
934
  nino?: string | null | undefined;
935
935
  dateOfBirth?: string | null | undefined;
936
936
  bio?: string | null | undefined;
937
937
  trades?: {
938
- id: string;
939
938
  createdAt: string;
940
939
  updatedAt: string;
940
+ id: string;
941
941
  tradeId: string;
942
942
  mainTrade: boolean;
943
943
  }[] | null | undefined;
944
944
  qualifications?: {
945
- id: string;
946
945
  createdAt: string;
947
946
  updatedAt: string;
947
+ id: string;
948
948
  qualificationId: string;
949
949
  qualificationTypeId: string | null;
950
950
  issueDate: string | null;
@@ -971,38 +971,38 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
971
971
  totalPages: number;
972
972
  }, {
973
973
  items: {
974
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
974
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
975
+ createdAt: string | Date;
976
+ updatedAt: string | Date;
975
977
  id: string;
976
978
  firstName: string;
977
979
  lastName: string;
978
- createdAt: string | Date;
979
- updatedAt: string | Date;
980
980
  hasTools: boolean;
981
981
  hasPpe: boolean;
982
982
  email?: string | null | undefined;
983
983
  rating?: number | null | undefined;
984
984
  phoneNumbers?: {
985
- id: string;
986
985
  createdAt: string | Date;
987
986
  updatedAt: string | Date;
988
987
  phoneNumber: string;
989
988
  isPrimary: boolean;
989
+ id: string;
990
990
  description?: string | null | undefined;
991
991
  }[] | null | undefined;
992
992
  nino?: string | null | undefined;
993
993
  dateOfBirth?: string | Date | null | undefined;
994
994
  bio?: string | null | undefined;
995
995
  trades?: {
996
- id: string;
997
996
  createdAt: string | Date;
998
997
  updatedAt: string | Date;
998
+ id: string;
999
999
  tradeId: string;
1000
1000
  mainTrade: boolean;
1001
1001
  }[] | null | undefined;
1002
1002
  qualifications?: {
1003
- id: string;
1004
1003
  createdAt: string | Date;
1005
1004
  updatedAt: string | Date;
1005
+ id: string;
1006
1006
  qualificationId: string;
1007
1007
  qualificationTypeId: string | null;
1008
1008
  issueDate: string | Date | null;
@@ -1067,16 +1067,15 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
1067
1067
  limit: number;
1068
1068
  page: number;
1069
1069
  sortOrder: "ASC" | "DESC";
1070
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
1071
- name?: string | undefined;
1070
+ distance?: number | undefined;
1072
1071
  email?: string | undefined;
1073
1072
  phone?: string | undefined;
1074
- sortBy?: "status" | "email" | "createdAt" | "updatedAt" | "phone" | "rating" | "distance" | "nameSimilarity" | "fullName" | undefined;
1073
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1075
1074
  nino?: string | undefined;
1076
1075
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
1077
1076
  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;
1078
1077
  postcode?: string | undefined;
1079
- distance?: number | undefined;
1078
+ name?: string | undefined;
1080
1079
  qualificationFilters?: {
1081
1080
  qualificationId?: string | undefined;
1082
1081
  qualificationTypeId?: string | undefined;
@@ -1085,28 +1084,29 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
1085
1084
  tradeId?: string | undefined;
1086
1085
  mainTrade?: boolean | undefined;
1087
1086
  }[] | undefined;
1087
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
1088
1088
  }, {
1089
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
1090
- name?: string | undefined;
1089
+ distance?: number | undefined;
1091
1090
  email?: string | undefined;
1092
1091
  phone?: string | undefined;
1093
- limit?: number | undefined;
1094
- page?: number | undefined;
1095
- sortBy?: "status" | "email" | "createdAt" | "updatedAt" | "phone" | "rating" | "distance" | "nameSimilarity" | "fullName" | undefined;
1096
- sortOrder?: "ASC" | "DESC" | undefined;
1092
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1097
1093
  nino?: string | undefined;
1098
1094
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
1099
1095
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | undefined;
1100
1096
  postcode?: string | undefined;
1101
- distance?: number | undefined;
1097
+ limit?: number | undefined;
1098
+ page?: number | undefined;
1099
+ name?: string | undefined;
1102
1100
  qualificationFilters?: {
1103
1101
  qualificationId?: string | undefined;
1104
1102
  qualificationTypeId?: string | undefined;
1105
1103
  }[] | undefined;
1104
+ sortOrder?: "ASC" | "DESC" | undefined;
1106
1105
  tradeFilters?: {
1107
1106
  tradeId?: string | undefined;
1108
1107
  mainTrade?: boolean | undefined;
1109
1108
  }[] | undefined;
1109
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
1110
1110
  }>;
1111
1111
  export type CreateCuratedWorkerPhoneNumber = z.infer<typeof CreateCuratedWorkerPhoneNumberSchema>;
1112
1112
  export type UpdateCuratedWorkerPhoneNumber = z.infer<typeof UpdateCuratedWorkerPhoneNumberSchema>;
@@ -1188,17 +1188,17 @@ export declare const curatedWorkersContract: {
1188
1188
  hasTools: z.ZodBoolean;
1189
1189
  hasPpe: z.ZodBoolean;
1190
1190
  location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1191
- address: z.ZodOptional<z.ZodString>;
1192
- postcode: z.ZodOptional<z.ZodString>;
1191
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1192
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1193
1193
  }, "strip", z.ZodTypeAny, {
1194
- address?: string | undefined;
1195
- postcode?: string | undefined;
1194
+ address?: string | null | undefined;
1195
+ postcode?: string | null | undefined;
1196
1196
  }, {
1197
- address?: string | undefined;
1198
- postcode?: string | undefined;
1197
+ address?: string | null | undefined;
1198
+ postcode?: string | null | undefined;
1199
1199
  }>>>;
1200
1200
  }, "strip", z.ZodTypeAny, {
1201
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
1201
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1202
1202
  firstName: string;
1203
1203
  lastName: string;
1204
1204
  phoneNumbers: {
@@ -1228,8 +1228,8 @@ export declare const curatedWorkersContract: {
1228
1228
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
1229
1229
  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" | null | undefined;
1230
1230
  location?: {
1231
- address?: string | undefined;
1232
- postcode?: string | undefined;
1231
+ address?: string | null | undefined;
1232
+ postcode?: string | null | undefined;
1233
1233
  } | null | undefined;
1234
1234
  }, {
1235
1235
  firstName: string;
@@ -1245,8 +1245,8 @@ export declare const curatedWorkersContract: {
1245
1245
  }[];
1246
1246
  hasTools: boolean;
1247
1247
  hasPpe: boolean;
1248
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
1249
1248
  email?: string | null | undefined;
1249
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1250
1250
  rating?: number | null | undefined;
1251
1251
  nino?: string | null | undefined;
1252
1252
  dateOfBirth?: string | Date | null | undefined;
@@ -1262,8 +1262,8 @@ export declare const curatedWorkersContract: {
1262
1262
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
1263
1263
  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" | null | undefined;
1264
1264
  location?: {
1265
- address?: string | undefined;
1266
- postcode?: string | undefined;
1265
+ address?: string | null | undefined;
1266
+ postcode?: string | null | undefined;
1267
1267
  } | null | undefined;
1268
1268
  }>;
1269
1269
  path: "/v2/curated-workers";
@@ -1277,19 +1277,19 @@ export declare const curatedWorkersContract: {
1277
1277
  path: z.ZodString;
1278
1278
  correlationId: z.ZodOptional<z.ZodString>;
1279
1279
  }, "strip", z.ZodTypeAny, {
1280
- statusCode: number;
1281
- message: string;
1282
1280
  code: string;
1283
- timestamp: string;
1284
1281
  path: string;
1282
+ message: string;
1283
+ statusCode: number;
1284
+ timestamp: string;
1285
1285
  details?: unknown;
1286
1286
  correlationId?: string | undefined;
1287
1287
  }, {
1288
- statusCode: number;
1289
- message: string;
1290
1288
  code: string;
1291
- timestamp: string;
1292
1289
  path: string;
1290
+ message: string;
1291
+ statusCode: number;
1292
+ timestamp: string;
1293
1293
  details?: unknown;
1294
1294
  correlationId?: string | undefined;
1295
1295
  }>;
@@ -1302,19 +1302,19 @@ export declare const curatedWorkersContract: {
1302
1302
  path: z.ZodString;
1303
1303
  correlationId: z.ZodOptional<z.ZodString>;
1304
1304
  }, "strip", z.ZodTypeAny, {
1305
- statusCode: number;
1306
- message: string;
1307
1305
  code: string;
1308
- timestamp: string;
1309
1306
  path: string;
1307
+ message: string;
1308
+ statusCode: number;
1309
+ timestamp: string;
1310
1310
  details?: unknown;
1311
1311
  correlationId?: string | undefined;
1312
1312
  }, {
1313
- statusCode: number;
1314
- message: string;
1315
1313
  code: string;
1316
- timestamp: string;
1317
1314
  path: string;
1315
+ message: string;
1316
+ statusCode: number;
1317
+ timestamp: string;
1318
1318
  details?: unknown;
1319
1319
  correlationId?: string | undefined;
1320
1320
  }>;
@@ -1327,19 +1327,19 @@ export declare const curatedWorkersContract: {
1327
1327
  path: z.ZodString;
1328
1328
  correlationId: z.ZodOptional<z.ZodString>;
1329
1329
  }, "strip", z.ZodTypeAny, {
1330
- statusCode: number;
1331
- message: string;
1332
1330
  code: string;
1333
- timestamp: string;
1334
1331
  path: string;
1332
+ message: string;
1333
+ statusCode: number;
1334
+ timestamp: string;
1335
1335
  details?: unknown;
1336
1336
  correlationId?: string | undefined;
1337
1337
  }, {
1338
- statusCode: number;
1339
- message: string;
1340
1338
  code: string;
1341
- timestamp: string;
1342
1339
  path: string;
1340
+ message: string;
1341
+ statusCode: number;
1342
+ timestamp: string;
1343
1343
  details?: unknown;
1344
1344
  correlationId?: string | undefined;
1345
1345
  }>;
@@ -1352,19 +1352,19 @@ export declare const curatedWorkersContract: {
1352
1352
  path: z.ZodString;
1353
1353
  correlationId: z.ZodOptional<z.ZodString>;
1354
1354
  }, "strip", z.ZodTypeAny, {
1355
- statusCode: number;
1356
- message: string;
1357
1355
  code: string;
1358
- timestamp: string;
1359
1356
  path: string;
1357
+ message: string;
1358
+ statusCode: number;
1359
+ timestamp: string;
1360
1360
  details?: unknown;
1361
1361
  correlationId?: string | undefined;
1362
1362
  }, {
1363
- statusCode: number;
1364
- message: string;
1365
1363
  code: string;
1366
- timestamp: string;
1367
1364
  path: string;
1365
+ message: string;
1366
+ statusCode: number;
1367
+ timestamp: string;
1368
1368
  details?: unknown;
1369
1369
  correlationId?: string | undefined;
1370
1370
  }>;
@@ -1416,15 +1416,15 @@ export declare const curatedWorkersContract: {
1416
1416
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1417
1417
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1418
1418
  }, "strip", z.ZodTypeAny, {
1419
- id: string;
1420
1419
  createdAt: string;
1421
1420
  updatedAt: string;
1421
+ id: string;
1422
1422
  tradeId: string;
1423
1423
  mainTrade: boolean;
1424
1424
  }, {
1425
- id: string;
1426
1425
  createdAt: string | Date;
1427
1426
  updatedAt: string | Date;
1427
+ id: string;
1428
1428
  tradeId: string;
1429
1429
  mainTrade: boolean;
1430
1430
  }>, "many">>>;
@@ -1439,9 +1439,9 @@ export declare const curatedWorkersContract: {
1439
1439
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1440
1440
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1441
1441
  }, "strip", z.ZodTypeAny, {
1442
- id: string;
1443
1442
  createdAt: string;
1444
1443
  updatedAt: string;
1444
+ id: string;
1445
1445
  qualificationId: string;
1446
1446
  qualificationTypeId: string | null;
1447
1447
  issueDate: string | null;
@@ -1449,9 +1449,9 @@ export declare const curatedWorkersContract: {
1449
1449
  referenceNumber: string | null;
1450
1450
  proofDocumentFileId: string | null;
1451
1451
  }, {
1452
- id: string;
1453
1452
  createdAt: string | Date;
1454
1453
  updatedAt: string | Date;
1454
+ id: string;
1455
1455
  qualificationId: string;
1456
1456
  qualificationTypeId: string | null;
1457
1457
  issueDate: string | Date | null;
@@ -1468,53 +1468,53 @@ export declare const curatedWorkersContract: {
1468
1468
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1469
1469
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1470
1470
  }, "strip", z.ZodTypeAny, {
1471
- id: string;
1472
1471
  createdAt: string;
1473
1472
  updatedAt: string;
1474
1473
  phoneNumber: string;
1475
1474
  isPrimary: boolean;
1475
+ id: string;
1476
1476
  description?: string | null | undefined;
1477
1477
  }, {
1478
- id: string;
1479
1478
  createdAt: string | Date;
1480
1479
  updatedAt: string | Date;
1481
1480
  phoneNumber: string;
1482
1481
  isPrimary: boolean;
1482
+ id: string;
1483
1483
  description?: string | null | undefined;
1484
1484
  }>, "many">>>;
1485
1485
  }, "strip", z.ZodTypeAny, {
1486
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
1486
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1487
+ createdAt: string;
1488
+ updatedAt: string;
1487
1489
  id: string;
1488
1490
  firstName: string;
1489
1491
  lastName: string;
1490
- createdAt: string;
1491
- updatedAt: string;
1492
1492
  hasTools: boolean;
1493
1493
  hasPpe: boolean;
1494
1494
  email?: string | null | undefined;
1495
1495
  rating?: number | null | undefined;
1496
1496
  phoneNumbers?: {
1497
- id: string;
1498
1497
  createdAt: string;
1499
1498
  updatedAt: string;
1500
1499
  phoneNumber: string;
1501
1500
  isPrimary: boolean;
1501
+ id: string;
1502
1502
  description?: string | null | undefined;
1503
1503
  }[] | null | undefined;
1504
1504
  nino?: string | null | undefined;
1505
1505
  dateOfBirth?: string | null | undefined;
1506
1506
  bio?: string | null | undefined;
1507
1507
  trades?: {
1508
- id: string;
1509
1508
  createdAt: string;
1510
1509
  updatedAt: string;
1510
+ id: string;
1511
1511
  tradeId: string;
1512
1512
  mainTrade: boolean;
1513
1513
  }[] | null | undefined;
1514
1514
  qualifications?: {
1515
- id: string;
1516
1515
  createdAt: string;
1517
1516
  updatedAt: string;
1517
+ id: string;
1518
1518
  qualificationId: string;
1519
1519
  qualificationTypeId: string | null;
1520
1520
  issueDate: string | null;
@@ -1534,38 +1534,38 @@ export declare const curatedWorkersContract: {
1534
1534
  areaCovered?: string | null | undefined;
1535
1535
  } | null | undefined;
1536
1536
  }, {
1537
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
1537
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1538
+ createdAt: string | Date;
1539
+ updatedAt: string | Date;
1538
1540
  id: string;
1539
1541
  firstName: string;
1540
1542
  lastName: string;
1541
- createdAt: string | Date;
1542
- updatedAt: string | Date;
1543
1543
  hasTools: boolean;
1544
1544
  hasPpe: boolean;
1545
1545
  email?: string | null | undefined;
1546
1546
  rating?: number | null | undefined;
1547
1547
  phoneNumbers?: {
1548
- id: string;
1549
1548
  createdAt: string | Date;
1550
1549
  updatedAt: string | Date;
1551
1550
  phoneNumber: string;
1552
1551
  isPrimary: boolean;
1552
+ id: string;
1553
1553
  description?: string | null | undefined;
1554
1554
  }[] | null | undefined;
1555
1555
  nino?: string | null | undefined;
1556
1556
  dateOfBirth?: string | Date | null | undefined;
1557
1557
  bio?: string | null | undefined;
1558
1558
  trades?: {
1559
- id: string;
1560
1559
  createdAt: string | Date;
1561
1560
  updatedAt: string | Date;
1561
+ id: string;
1562
1562
  tradeId: string;
1563
1563
  mainTrade: boolean;
1564
1564
  }[] | null | undefined;
1565
1565
  qualifications?: {
1566
- id: string;
1567
1566
  createdAt: string | Date;
1568
1567
  updatedAt: string | Date;
1568
+ id: string;
1569
1569
  qualificationId: string;
1570
1570
  qualificationTypeId: string | null;
1571
1571
  issueDate: string | Date | null;
@@ -1594,19 +1594,19 @@ export declare const curatedWorkersContract: {
1594
1594
  path: z.ZodString;
1595
1595
  correlationId: z.ZodOptional<z.ZodString>;
1596
1596
  }, "strip", z.ZodTypeAny, {
1597
- statusCode: number;
1598
- message: string;
1599
1597
  code: string;
1600
- timestamp: string;
1601
1598
  path: string;
1599
+ message: string;
1600
+ statusCode: number;
1601
+ timestamp: string;
1602
1602
  details?: unknown;
1603
1603
  correlationId?: string | undefined;
1604
1604
  }, {
1605
- statusCode: number;
1606
- message: string;
1607
1605
  code: string;
1608
- timestamp: string;
1609
1606
  path: string;
1607
+ message: string;
1608
+ statusCode: number;
1609
+ timestamp: string;
1610
1610
  details?: unknown;
1611
1611
  correlationId?: string | undefined;
1612
1612
  }>;
@@ -1655,16 +1655,15 @@ export declare const curatedWorkersContract: {
1655
1655
  limit: number;
1656
1656
  page: number;
1657
1657
  sortOrder: "ASC" | "DESC";
1658
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
1659
- name?: string | undefined;
1658
+ distance?: number | undefined;
1660
1659
  email?: string | undefined;
1661
1660
  phone?: string | undefined;
1662
- sortBy?: "status" | "email" | "createdAt" | "updatedAt" | "phone" | "rating" | "distance" | "nameSimilarity" | "fullName" | undefined;
1661
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1663
1662
  nino?: string | undefined;
1664
1663
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
1665
1664
  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;
1666
1665
  postcode?: string | undefined;
1667
- distance?: number | undefined;
1666
+ name?: string | undefined;
1668
1667
  qualificationFilters?: {
1669
1668
  qualificationId?: string | undefined;
1670
1669
  qualificationTypeId?: string | undefined;
@@ -1673,28 +1672,29 @@ export declare const curatedWorkersContract: {
1673
1672
  tradeId?: string | undefined;
1674
1673
  mainTrade?: boolean | undefined;
1675
1674
  }[] | undefined;
1675
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
1676
1676
  }, {
1677
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
1678
- name?: string | undefined;
1677
+ distance?: number | undefined;
1679
1678
  email?: string | undefined;
1680
1679
  phone?: string | undefined;
1681
- limit?: number | undefined;
1682
- page?: number | undefined;
1683
- sortBy?: "status" | "email" | "createdAt" | "updatedAt" | "phone" | "rating" | "distance" | "nameSimilarity" | "fullName" | undefined;
1684
- sortOrder?: "ASC" | "DESC" | undefined;
1680
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
1685
1681
  nino?: string | undefined;
1686
1682
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
1687
1683
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | undefined;
1688
1684
  postcode?: string | undefined;
1689
- distance?: number | undefined;
1685
+ limit?: number | undefined;
1686
+ page?: number | undefined;
1687
+ name?: string | undefined;
1690
1688
  qualificationFilters?: {
1691
1689
  qualificationId?: string | undefined;
1692
1690
  qualificationTypeId?: string | undefined;
1693
1691
  }[] | undefined;
1692
+ sortOrder?: "ASC" | "DESC" | undefined;
1694
1693
  tradeFilters?: {
1695
1694
  tradeId?: string | undefined;
1696
1695
  mainTrade?: boolean | undefined;
1697
1696
  }[] | undefined;
1697
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | "status" | "rating" | "createdAt" | "updatedAt" | undefined;
1698
1698
  }>;
1699
1699
  summary: "Find all curated workers";
1700
1700
  method: "GET";
@@ -1709,19 +1709,19 @@ export declare const curatedWorkersContract: {
1709
1709
  path: z.ZodString;
1710
1710
  correlationId: z.ZodOptional<z.ZodString>;
1711
1711
  }, "strip", z.ZodTypeAny, {
1712
- statusCode: number;
1713
- message: string;
1714
1712
  code: string;
1715
- timestamp: string;
1716
1713
  path: string;
1714
+ message: string;
1715
+ statusCode: number;
1716
+ timestamp: string;
1717
1717
  details?: unknown;
1718
1718
  correlationId?: string | undefined;
1719
1719
  }, {
1720
- statusCode: number;
1721
- message: string;
1722
1720
  code: string;
1723
- timestamp: string;
1724
1721
  path: string;
1722
+ message: string;
1723
+ statusCode: number;
1724
+ timestamp: string;
1725
1725
  details?: unknown;
1726
1726
  correlationId?: string | undefined;
1727
1727
  }>;
@@ -1734,19 +1734,19 @@ export declare const curatedWorkersContract: {
1734
1734
  path: z.ZodString;
1735
1735
  correlationId: z.ZodOptional<z.ZodString>;
1736
1736
  }, "strip", z.ZodTypeAny, {
1737
- statusCode: number;
1738
- message: string;
1739
1737
  code: string;
1740
- timestamp: string;
1741
1738
  path: string;
1739
+ message: string;
1740
+ statusCode: number;
1741
+ timestamp: string;
1742
1742
  details?: unknown;
1743
1743
  correlationId?: string | undefined;
1744
1744
  }, {
1745
- statusCode: number;
1746
- message: string;
1747
1745
  code: string;
1748
- timestamp: string;
1749
1746
  path: string;
1747
+ message: string;
1748
+ statusCode: number;
1749
+ timestamp: string;
1750
1750
  details?: unknown;
1751
1751
  correlationId?: string | undefined;
1752
1752
  }>;
@@ -1759,19 +1759,19 @@ export declare const curatedWorkersContract: {
1759
1759
  path: z.ZodString;
1760
1760
  correlationId: z.ZodOptional<z.ZodString>;
1761
1761
  }, "strip", z.ZodTypeAny, {
1762
- statusCode: number;
1763
- message: string;
1764
1762
  code: string;
1765
- timestamp: string;
1766
1763
  path: string;
1764
+ message: string;
1765
+ statusCode: number;
1766
+ timestamp: string;
1767
1767
  details?: unknown;
1768
1768
  correlationId?: string | undefined;
1769
1769
  }, {
1770
- statusCode: number;
1771
- message: string;
1772
1770
  code: string;
1773
- timestamp: string;
1774
1771
  path: string;
1772
+ message: string;
1773
+ statusCode: number;
1774
+ timestamp: string;
1775
1775
  details?: unknown;
1776
1776
  correlationId?: string | undefined;
1777
1777
  }>;
@@ -1784,19 +1784,19 @@ export declare const curatedWorkersContract: {
1784
1784
  path: z.ZodString;
1785
1785
  correlationId: z.ZodOptional<z.ZodString>;
1786
1786
  }, "strip", z.ZodTypeAny, {
1787
- statusCode: number;
1788
- message: string;
1789
1787
  code: string;
1790
- timestamp: string;
1791
1788
  path: string;
1789
+ message: string;
1790
+ statusCode: number;
1791
+ timestamp: string;
1792
1792
  details?: unknown;
1793
1793
  correlationId?: string | undefined;
1794
1794
  }, {
1795
- statusCode: number;
1796
- message: string;
1797
1795
  code: string;
1798
- timestamp: string;
1799
1796
  path: string;
1797
+ message: string;
1798
+ statusCode: number;
1799
+ timestamp: string;
1800
1800
  details?: unknown;
1801
1801
  correlationId?: string | undefined;
1802
1802
  }>;
@@ -1849,15 +1849,15 @@ export declare const curatedWorkersContract: {
1849
1849
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1850
1850
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1851
1851
  }, "strip", z.ZodTypeAny, {
1852
- id: string;
1853
1852
  createdAt: string;
1854
1853
  updatedAt: string;
1854
+ id: string;
1855
1855
  tradeId: string;
1856
1856
  mainTrade: boolean;
1857
1857
  }, {
1858
- id: string;
1859
1858
  createdAt: string | Date;
1860
1859
  updatedAt: string | Date;
1860
+ id: string;
1861
1861
  tradeId: string;
1862
1862
  mainTrade: boolean;
1863
1863
  }>, "many">>>;
@@ -1872,9 +1872,9 @@ export declare const curatedWorkersContract: {
1872
1872
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1873
1873
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1874
1874
  }, "strip", z.ZodTypeAny, {
1875
- id: string;
1876
1875
  createdAt: string;
1877
1876
  updatedAt: string;
1877
+ id: string;
1878
1878
  qualificationId: string;
1879
1879
  qualificationTypeId: string | null;
1880
1880
  issueDate: string | null;
@@ -1882,9 +1882,9 @@ export declare const curatedWorkersContract: {
1882
1882
  referenceNumber: string | null;
1883
1883
  proofDocumentFileId: string | null;
1884
1884
  }, {
1885
- id: string;
1886
1885
  createdAt: string | Date;
1887
1886
  updatedAt: string | Date;
1887
+ id: string;
1888
1888
  qualificationId: string;
1889
1889
  qualificationTypeId: string | null;
1890
1890
  issueDate: string | Date | null;
@@ -1901,53 +1901,53 @@ export declare const curatedWorkersContract: {
1901
1901
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1902
1902
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1903
1903
  }, "strip", z.ZodTypeAny, {
1904
- id: string;
1905
1904
  createdAt: string;
1906
1905
  updatedAt: string;
1907
1906
  phoneNumber: string;
1908
1907
  isPrimary: boolean;
1908
+ id: string;
1909
1909
  description?: string | null | undefined;
1910
1910
  }, {
1911
- id: string;
1912
1911
  createdAt: string | Date;
1913
1912
  updatedAt: string | Date;
1914
1913
  phoneNumber: string;
1915
1914
  isPrimary: boolean;
1915
+ id: string;
1916
1916
  description?: string | null | undefined;
1917
1917
  }>, "many">>>;
1918
1918
  }, "strip", z.ZodTypeAny, {
1919
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
1919
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1920
+ createdAt: string;
1921
+ updatedAt: string;
1920
1922
  id: string;
1921
1923
  firstName: string;
1922
1924
  lastName: string;
1923
- createdAt: string;
1924
- updatedAt: string;
1925
1925
  hasTools: boolean;
1926
1926
  hasPpe: boolean;
1927
1927
  email?: string | null | undefined;
1928
1928
  rating?: number | null | undefined;
1929
1929
  phoneNumbers?: {
1930
- id: string;
1931
1930
  createdAt: string;
1932
1931
  updatedAt: string;
1933
1932
  phoneNumber: string;
1934
1933
  isPrimary: boolean;
1934
+ id: string;
1935
1935
  description?: string | null | undefined;
1936
1936
  }[] | null | undefined;
1937
1937
  nino?: string | null | undefined;
1938
1938
  dateOfBirth?: string | null | undefined;
1939
1939
  bio?: string | null | undefined;
1940
1940
  trades?: {
1941
- id: string;
1942
1941
  createdAt: string;
1943
1942
  updatedAt: string;
1943
+ id: string;
1944
1944
  tradeId: string;
1945
1945
  mainTrade: boolean;
1946
1946
  }[] | null | undefined;
1947
1947
  qualifications?: {
1948
- id: string;
1949
1948
  createdAt: string;
1950
1949
  updatedAt: string;
1950
+ id: string;
1951
1951
  qualificationId: string;
1952
1952
  qualificationTypeId: string | null;
1953
1953
  issueDate: string | null;
@@ -1967,38 +1967,38 @@ export declare const curatedWorkersContract: {
1967
1967
  areaCovered?: string | null | undefined;
1968
1968
  } | null | undefined;
1969
1969
  }, {
1970
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
1970
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
1971
+ createdAt: string | Date;
1972
+ updatedAt: string | Date;
1971
1973
  id: string;
1972
1974
  firstName: string;
1973
1975
  lastName: string;
1974
- createdAt: string | Date;
1975
- updatedAt: string | Date;
1976
1976
  hasTools: boolean;
1977
1977
  hasPpe: boolean;
1978
1978
  email?: string | null | undefined;
1979
1979
  rating?: number | null | undefined;
1980
1980
  phoneNumbers?: {
1981
- id: string;
1982
1981
  createdAt: string | Date;
1983
1982
  updatedAt: string | Date;
1984
1983
  phoneNumber: string;
1985
1984
  isPrimary: boolean;
1985
+ id: string;
1986
1986
  description?: string | null | undefined;
1987
1987
  }[] | null | undefined;
1988
1988
  nino?: string | null | undefined;
1989
1989
  dateOfBirth?: string | Date | null | undefined;
1990
1990
  bio?: string | null | undefined;
1991
1991
  trades?: {
1992
- id: string;
1993
1992
  createdAt: string | Date;
1994
1993
  updatedAt: string | Date;
1994
+ id: string;
1995
1995
  tradeId: string;
1996
1996
  mainTrade: boolean;
1997
1997
  }[] | null | undefined;
1998
1998
  qualifications?: {
1999
- id: string;
2000
1999
  createdAt: string | Date;
2001
2000
  updatedAt: string | Date;
2001
+ id: string;
2002
2002
  qualificationId: string;
2003
2003
  qualificationTypeId: string | null;
2004
2004
  issueDate: string | Date | null;
@@ -2025,38 +2025,38 @@ export declare const curatedWorkersContract: {
2025
2025
  totalPages: z.ZodNumber;
2026
2026
  }, "strip", z.ZodTypeAny, {
2027
2027
  items: {
2028
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
2028
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2029
+ createdAt: string;
2030
+ updatedAt: string;
2029
2031
  id: string;
2030
2032
  firstName: string;
2031
2033
  lastName: string;
2032
- createdAt: string;
2033
- updatedAt: string;
2034
2034
  hasTools: boolean;
2035
2035
  hasPpe: boolean;
2036
2036
  email?: string | null | undefined;
2037
2037
  rating?: number | null | undefined;
2038
2038
  phoneNumbers?: {
2039
- id: string;
2040
2039
  createdAt: string;
2041
2040
  updatedAt: string;
2042
2041
  phoneNumber: string;
2043
2042
  isPrimary: boolean;
2043
+ id: string;
2044
2044
  description?: string | null | undefined;
2045
2045
  }[] | null | undefined;
2046
2046
  nino?: string | null | undefined;
2047
2047
  dateOfBirth?: string | null | undefined;
2048
2048
  bio?: string | null | undefined;
2049
2049
  trades?: {
2050
- id: string;
2051
2050
  createdAt: string;
2052
2051
  updatedAt: string;
2052
+ id: string;
2053
2053
  tradeId: string;
2054
2054
  mainTrade: boolean;
2055
2055
  }[] | null | undefined;
2056
2056
  qualifications?: {
2057
- id: string;
2058
2057
  createdAt: string;
2059
2058
  updatedAt: string;
2059
+ id: string;
2060
2060
  qualificationId: string;
2061
2061
  qualificationTypeId: string | null;
2062
2062
  issueDate: string | null;
@@ -2083,38 +2083,38 @@ export declare const curatedWorkersContract: {
2083
2083
  totalPages: number;
2084
2084
  }, {
2085
2085
  items: {
2086
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
2086
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2087
+ createdAt: string | Date;
2088
+ updatedAt: string | Date;
2087
2089
  id: string;
2088
2090
  firstName: string;
2089
2091
  lastName: string;
2090
- createdAt: string | Date;
2091
- updatedAt: string | Date;
2092
2092
  hasTools: boolean;
2093
2093
  hasPpe: boolean;
2094
2094
  email?: string | null | undefined;
2095
2095
  rating?: number | null | undefined;
2096
2096
  phoneNumbers?: {
2097
- id: string;
2098
2097
  createdAt: string | Date;
2099
2098
  updatedAt: string | Date;
2100
2099
  phoneNumber: string;
2101
2100
  isPrimary: boolean;
2101
+ id: string;
2102
2102
  description?: string | null | undefined;
2103
2103
  }[] | null | undefined;
2104
2104
  nino?: string | null | undefined;
2105
2105
  dateOfBirth?: string | Date | null | undefined;
2106
2106
  bio?: string | null | undefined;
2107
2107
  trades?: {
2108
- id: string;
2109
2108
  createdAt: string | Date;
2110
2109
  updatedAt: string | Date;
2110
+ id: string;
2111
2111
  tradeId: string;
2112
2112
  mainTrade: boolean;
2113
2113
  }[] | null | undefined;
2114
2114
  qualifications?: {
2115
- id: string;
2116
2115
  createdAt: string | Date;
2117
2116
  updatedAt: string | Date;
2117
+ id: string;
2118
2118
  qualificationId: string;
2119
2119
  qualificationTypeId: string | null;
2120
2120
  issueDate: string | Date | null;
@@ -2166,19 +2166,19 @@ export declare const curatedWorkersContract: {
2166
2166
  path: z.ZodString;
2167
2167
  correlationId: z.ZodOptional<z.ZodString>;
2168
2168
  }, "strip", z.ZodTypeAny, {
2169
- statusCode: number;
2170
- message: string;
2171
2169
  code: string;
2172
- timestamp: string;
2173
2170
  path: string;
2171
+ message: string;
2172
+ statusCode: number;
2173
+ timestamp: string;
2174
2174
  details?: unknown;
2175
2175
  correlationId?: string | undefined;
2176
2176
  }, {
2177
- statusCode: number;
2178
- message: string;
2179
2177
  code: string;
2180
- timestamp: string;
2181
2178
  path: string;
2179
+ message: string;
2180
+ statusCode: number;
2181
+ timestamp: string;
2182
2182
  details?: unknown;
2183
2183
  correlationId?: string | undefined;
2184
2184
  }>;
@@ -2191,19 +2191,19 @@ export declare const curatedWorkersContract: {
2191
2191
  path: z.ZodString;
2192
2192
  correlationId: z.ZodOptional<z.ZodString>;
2193
2193
  }, "strip", z.ZodTypeAny, {
2194
- statusCode: number;
2195
- message: string;
2196
2194
  code: string;
2197
- timestamp: string;
2198
2195
  path: string;
2196
+ message: string;
2197
+ statusCode: number;
2198
+ timestamp: string;
2199
2199
  details?: unknown;
2200
2200
  correlationId?: string | undefined;
2201
2201
  }, {
2202
- statusCode: number;
2203
- message: string;
2204
2202
  code: string;
2205
- timestamp: string;
2206
2203
  path: string;
2204
+ message: string;
2205
+ statusCode: number;
2206
+ timestamp: string;
2207
2207
  details?: unknown;
2208
2208
  correlationId?: string | undefined;
2209
2209
  }>;
@@ -2216,19 +2216,19 @@ export declare const curatedWorkersContract: {
2216
2216
  path: z.ZodString;
2217
2217
  correlationId: z.ZodOptional<z.ZodString>;
2218
2218
  }, "strip", z.ZodTypeAny, {
2219
- statusCode: number;
2220
- message: string;
2221
2219
  code: string;
2222
- timestamp: string;
2223
2220
  path: string;
2221
+ message: string;
2222
+ statusCode: number;
2223
+ timestamp: string;
2224
2224
  details?: unknown;
2225
2225
  correlationId?: string | undefined;
2226
2226
  }, {
2227
- statusCode: number;
2228
- message: string;
2229
2227
  code: string;
2230
- timestamp: string;
2231
2228
  path: string;
2229
+ message: string;
2230
+ statusCode: number;
2231
+ timestamp: string;
2232
2232
  details?: unknown;
2233
2233
  correlationId?: string | undefined;
2234
2234
  }>;
@@ -2241,19 +2241,19 @@ export declare const curatedWorkersContract: {
2241
2241
  path: z.ZodString;
2242
2242
  correlationId: z.ZodOptional<z.ZodString>;
2243
2243
  }, "strip", z.ZodTypeAny, {
2244
- statusCode: number;
2245
- message: string;
2246
2244
  code: string;
2247
- timestamp: string;
2248
2245
  path: string;
2246
+ message: string;
2247
+ statusCode: number;
2248
+ timestamp: string;
2249
2249
  details?: unknown;
2250
2250
  correlationId?: string | undefined;
2251
2251
  }, {
2252
- statusCode: number;
2253
- message: string;
2254
2252
  code: string;
2255
- timestamp: string;
2256
2253
  path: string;
2254
+ message: string;
2255
+ statusCode: number;
2256
+ timestamp: string;
2257
2257
  details?: unknown;
2258
2258
  correlationId?: string | undefined;
2259
2259
  }>;
@@ -2305,15 +2305,15 @@ export declare const curatedWorkersContract: {
2305
2305
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2306
2306
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2307
2307
  }, "strip", z.ZodTypeAny, {
2308
- id: string;
2309
2308
  createdAt: string;
2310
2309
  updatedAt: string;
2310
+ id: string;
2311
2311
  tradeId: string;
2312
2312
  mainTrade: boolean;
2313
2313
  }, {
2314
- id: string;
2315
2314
  createdAt: string | Date;
2316
2315
  updatedAt: string | Date;
2316
+ id: string;
2317
2317
  tradeId: string;
2318
2318
  mainTrade: boolean;
2319
2319
  }>, "many">>>;
@@ -2328,9 +2328,9 @@ export declare const curatedWorkersContract: {
2328
2328
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2329
2329
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2330
2330
  }, "strip", z.ZodTypeAny, {
2331
- id: string;
2332
2331
  createdAt: string;
2333
2332
  updatedAt: string;
2333
+ id: string;
2334
2334
  qualificationId: string;
2335
2335
  qualificationTypeId: string | null;
2336
2336
  issueDate: string | null;
@@ -2338,9 +2338,9 @@ export declare const curatedWorkersContract: {
2338
2338
  referenceNumber: string | null;
2339
2339
  proofDocumentFileId: string | null;
2340
2340
  }, {
2341
- id: string;
2342
2341
  createdAt: string | Date;
2343
2342
  updatedAt: string | Date;
2343
+ id: string;
2344
2344
  qualificationId: string;
2345
2345
  qualificationTypeId: string | null;
2346
2346
  issueDate: string | Date | null;
@@ -2357,53 +2357,53 @@ export declare const curatedWorkersContract: {
2357
2357
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2358
2358
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2359
2359
  }, "strip", z.ZodTypeAny, {
2360
- id: string;
2361
2360
  createdAt: string;
2362
2361
  updatedAt: string;
2363
2362
  phoneNumber: string;
2364
2363
  isPrimary: boolean;
2364
+ id: string;
2365
2365
  description?: string | null | undefined;
2366
2366
  }, {
2367
- id: string;
2368
2367
  createdAt: string | Date;
2369
2368
  updatedAt: string | Date;
2370
2369
  phoneNumber: string;
2371
2370
  isPrimary: boolean;
2371
+ id: string;
2372
2372
  description?: string | null | undefined;
2373
2373
  }>, "many">>>;
2374
2374
  }, "strip", z.ZodTypeAny, {
2375
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
2375
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2376
+ createdAt: string;
2377
+ updatedAt: string;
2376
2378
  id: string;
2377
2379
  firstName: string;
2378
2380
  lastName: string;
2379
- createdAt: string;
2380
- updatedAt: string;
2381
2381
  hasTools: boolean;
2382
2382
  hasPpe: boolean;
2383
2383
  email?: string | null | undefined;
2384
2384
  rating?: number | null | undefined;
2385
2385
  phoneNumbers?: {
2386
- id: string;
2387
2386
  createdAt: string;
2388
2387
  updatedAt: string;
2389
2388
  phoneNumber: string;
2390
2389
  isPrimary: boolean;
2390
+ id: string;
2391
2391
  description?: string | null | undefined;
2392
2392
  }[] | null | undefined;
2393
2393
  nino?: string | null | undefined;
2394
2394
  dateOfBirth?: string | null | undefined;
2395
2395
  bio?: string | null | undefined;
2396
2396
  trades?: {
2397
- id: string;
2398
2397
  createdAt: string;
2399
2398
  updatedAt: string;
2399
+ id: string;
2400
2400
  tradeId: string;
2401
2401
  mainTrade: boolean;
2402
2402
  }[] | null | undefined;
2403
2403
  qualifications?: {
2404
- id: string;
2405
2404
  createdAt: string;
2406
2405
  updatedAt: string;
2406
+ id: string;
2407
2407
  qualificationId: string;
2408
2408
  qualificationTypeId: string | null;
2409
2409
  issueDate: string | null;
@@ -2423,38 +2423,38 @@ export declare const curatedWorkersContract: {
2423
2423
  areaCovered?: string | null | undefined;
2424
2424
  } | null | undefined;
2425
2425
  }, {
2426
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
2426
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2427
+ createdAt: string | Date;
2428
+ updatedAt: string | Date;
2427
2429
  id: string;
2428
2430
  firstName: string;
2429
2431
  lastName: string;
2430
- createdAt: string | Date;
2431
- updatedAt: string | Date;
2432
2432
  hasTools: boolean;
2433
2433
  hasPpe: boolean;
2434
2434
  email?: string | null | undefined;
2435
2435
  rating?: number | null | undefined;
2436
2436
  phoneNumbers?: {
2437
- id: string;
2438
2437
  createdAt: string | Date;
2439
2438
  updatedAt: string | Date;
2440
2439
  phoneNumber: string;
2441
2440
  isPrimary: boolean;
2441
+ id: string;
2442
2442
  description?: string | null | undefined;
2443
2443
  }[] | null | undefined;
2444
2444
  nino?: string | null | undefined;
2445
2445
  dateOfBirth?: string | Date | null | undefined;
2446
2446
  bio?: string | null | undefined;
2447
2447
  trades?: {
2448
- id: string;
2449
2448
  createdAt: string | Date;
2450
2449
  updatedAt: string | Date;
2450
+ id: string;
2451
2451
  tradeId: string;
2452
2452
  mainTrade: boolean;
2453
2453
  }[] | null | undefined;
2454
2454
  qualifications?: {
2455
- id: string;
2456
2455
  createdAt: string | Date;
2457
2456
  updatedAt: string | Date;
2457
+ id: string;
2458
2458
  qualificationId: string;
2459
2459
  qualificationTypeId: string | null;
2460
2460
  issueDate: string | Date | null;
@@ -2483,19 +2483,19 @@ export declare const curatedWorkersContract: {
2483
2483
  path: z.ZodString;
2484
2484
  correlationId: z.ZodOptional<z.ZodString>;
2485
2485
  }, "strip", z.ZodTypeAny, {
2486
- statusCode: number;
2487
- message: string;
2488
2486
  code: string;
2489
- timestamp: string;
2490
2487
  path: string;
2488
+ message: string;
2489
+ statusCode: number;
2490
+ timestamp: string;
2491
2491
  details?: unknown;
2492
2492
  correlationId?: string | undefined;
2493
2493
  }, {
2494
- statusCode: number;
2495
- message: string;
2496
2494
  code: string;
2497
- timestamp: string;
2498
2495
  path: string;
2496
+ message: string;
2497
+ statusCode: number;
2498
+ timestamp: string;
2499
2499
  details?: unknown;
2500
2500
  correlationId?: string | undefined;
2501
2501
  }>;
@@ -2538,14 +2538,14 @@ export declare const curatedWorkersContract: {
2538
2538
  hasTools: z.ZodOptional<z.ZodBoolean>;
2539
2539
  hasPpe: z.ZodOptional<z.ZodBoolean>;
2540
2540
  location: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
2541
- address: z.ZodOptional<z.ZodString>;
2542
- postcode: z.ZodOptional<z.ZodString>;
2541
+ address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2542
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2543
2543
  }, "strip", z.ZodTypeAny, {
2544
- address?: string | undefined;
2545
- postcode?: string | undefined;
2544
+ address?: string | null | undefined;
2545
+ postcode?: string | null | undefined;
2546
2546
  }, {
2547
- address?: string | undefined;
2548
- postcode?: string | undefined;
2547
+ address?: string | null | undefined;
2548
+ postcode?: string | null | undefined;
2549
2549
  }>>>>;
2550
2550
  } & {
2551
2551
  qualifications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -2592,11 +2592,11 @@ export declare const curatedWorkersContract: {
2592
2592
  id?: string | undefined;
2593
2593
  }>, "many">>>;
2594
2594
  }, "strip", z.ZodTypeAny, {
2595
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
2596
- firstName?: string | undefined;
2597
- lastName?: string | undefined;
2598
2595
  email?: string | null | undefined;
2596
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
2599
2597
  rating?: number | null | undefined;
2598
+ firstName?: string | undefined;
2599
+ lastName?: string | undefined;
2600
2600
  phoneNumbers?: {
2601
2601
  phoneNumber: string;
2602
2602
  isPrimary: boolean;
@@ -2624,15 +2624,15 @@ export declare const curatedWorkersContract: {
2624
2624
  hasTools?: boolean | undefined;
2625
2625
  hasPpe?: boolean | undefined;
2626
2626
  location?: {
2627
- address?: string | undefined;
2628
- postcode?: string | undefined;
2627
+ address?: string | null | undefined;
2628
+ postcode?: string | null | undefined;
2629
2629
  } | null | undefined;
2630
2630
  }, {
2631
- status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
2632
- firstName?: string | undefined;
2633
- lastName?: string | undefined;
2634
2631
  email?: string | null | undefined;
2632
+ status?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE" | undefined;
2635
2633
  rating?: number | null | undefined;
2634
+ firstName?: string | undefined;
2635
+ lastName?: string | undefined;
2636
2636
  phoneNumbers?: {
2637
2637
  phoneNumber: string;
2638
2638
  isPrimary: boolean;
@@ -2660,8 +2660,8 @@ export declare const curatedWorkersContract: {
2660
2660
  hasTools?: boolean | undefined;
2661
2661
  hasPpe?: boolean | undefined;
2662
2662
  location?: {
2663
- address?: string | undefined;
2664
- postcode?: string | undefined;
2663
+ address?: string | null | undefined;
2664
+ postcode?: string | null | undefined;
2665
2665
  } | null | undefined;
2666
2666
  }>;
2667
2667
  path: "/v2/curated-workers/:id";
@@ -2675,19 +2675,19 @@ export declare const curatedWorkersContract: {
2675
2675
  path: z.ZodString;
2676
2676
  correlationId: z.ZodOptional<z.ZodString>;
2677
2677
  }, "strip", z.ZodTypeAny, {
2678
- statusCode: number;
2679
- message: string;
2680
2678
  code: string;
2681
- timestamp: string;
2682
2679
  path: string;
2680
+ message: string;
2681
+ statusCode: number;
2682
+ timestamp: string;
2683
2683
  details?: unknown;
2684
2684
  correlationId?: string | undefined;
2685
2685
  }, {
2686
- statusCode: number;
2687
- message: string;
2688
2686
  code: string;
2689
- timestamp: string;
2690
2687
  path: string;
2688
+ message: string;
2689
+ statusCode: number;
2690
+ timestamp: string;
2691
2691
  details?: unknown;
2692
2692
  correlationId?: string | undefined;
2693
2693
  }>;
@@ -2700,19 +2700,19 @@ export declare const curatedWorkersContract: {
2700
2700
  path: z.ZodString;
2701
2701
  correlationId: z.ZodOptional<z.ZodString>;
2702
2702
  }, "strip", z.ZodTypeAny, {
2703
- statusCode: number;
2704
- message: string;
2705
2703
  code: string;
2706
- timestamp: string;
2707
2704
  path: string;
2705
+ message: string;
2706
+ statusCode: number;
2707
+ timestamp: string;
2708
2708
  details?: unknown;
2709
2709
  correlationId?: string | undefined;
2710
2710
  }, {
2711
- statusCode: number;
2712
- message: string;
2713
2711
  code: string;
2714
- timestamp: string;
2715
2712
  path: string;
2713
+ message: string;
2714
+ statusCode: number;
2715
+ timestamp: string;
2716
2716
  details?: unknown;
2717
2717
  correlationId?: string | undefined;
2718
2718
  }>;
@@ -2725,19 +2725,19 @@ export declare const curatedWorkersContract: {
2725
2725
  path: z.ZodString;
2726
2726
  correlationId: z.ZodOptional<z.ZodString>;
2727
2727
  }, "strip", z.ZodTypeAny, {
2728
- statusCode: number;
2729
- message: string;
2730
2728
  code: string;
2731
- timestamp: string;
2732
2729
  path: string;
2730
+ message: string;
2731
+ statusCode: number;
2732
+ timestamp: string;
2733
2733
  details?: unknown;
2734
2734
  correlationId?: string | undefined;
2735
2735
  }, {
2736
- statusCode: number;
2737
- message: string;
2738
2736
  code: string;
2739
- timestamp: string;
2740
2737
  path: string;
2738
+ message: string;
2739
+ statusCode: number;
2740
+ timestamp: string;
2741
2741
  details?: unknown;
2742
2742
  correlationId?: string | undefined;
2743
2743
  }>;
@@ -2750,19 +2750,19 @@ export declare const curatedWorkersContract: {
2750
2750
  path: z.ZodString;
2751
2751
  correlationId: z.ZodOptional<z.ZodString>;
2752
2752
  }, "strip", z.ZodTypeAny, {
2753
- statusCode: number;
2754
- message: string;
2755
2753
  code: string;
2756
- timestamp: string;
2757
2754
  path: string;
2755
+ message: string;
2756
+ statusCode: number;
2757
+ timestamp: string;
2758
2758
  details?: unknown;
2759
2759
  correlationId?: string | undefined;
2760
2760
  }, {
2761
- statusCode: number;
2762
- message: string;
2763
2761
  code: string;
2764
- timestamp: string;
2765
2762
  path: string;
2763
+ message: string;
2764
+ statusCode: number;
2765
+ timestamp: string;
2766
2766
  details?: unknown;
2767
2767
  correlationId?: string | undefined;
2768
2768
  }>;
@@ -2814,15 +2814,15 @@ export declare const curatedWorkersContract: {
2814
2814
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2815
2815
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2816
2816
  }, "strip", z.ZodTypeAny, {
2817
- id: string;
2818
2817
  createdAt: string;
2819
2818
  updatedAt: string;
2819
+ id: string;
2820
2820
  tradeId: string;
2821
2821
  mainTrade: boolean;
2822
2822
  }, {
2823
- id: string;
2824
2823
  createdAt: string | Date;
2825
2824
  updatedAt: string | Date;
2825
+ id: string;
2826
2826
  tradeId: string;
2827
2827
  mainTrade: boolean;
2828
2828
  }>, "many">>>;
@@ -2837,9 +2837,9 @@ export declare const curatedWorkersContract: {
2837
2837
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2838
2838
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2839
2839
  }, "strip", z.ZodTypeAny, {
2840
- id: string;
2841
2840
  createdAt: string;
2842
2841
  updatedAt: string;
2842
+ id: string;
2843
2843
  qualificationId: string;
2844
2844
  qualificationTypeId: string | null;
2845
2845
  issueDate: string | null;
@@ -2847,9 +2847,9 @@ export declare const curatedWorkersContract: {
2847
2847
  referenceNumber: string | null;
2848
2848
  proofDocumentFileId: string | null;
2849
2849
  }, {
2850
- id: string;
2851
2850
  createdAt: string | Date;
2852
2851
  updatedAt: string | Date;
2852
+ id: string;
2853
2853
  qualificationId: string;
2854
2854
  qualificationTypeId: string | null;
2855
2855
  issueDate: string | Date | null;
@@ -2866,53 +2866,53 @@ export declare const curatedWorkersContract: {
2866
2866
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2867
2867
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2868
2868
  }, "strip", z.ZodTypeAny, {
2869
- id: string;
2870
2869
  createdAt: string;
2871
2870
  updatedAt: string;
2872
2871
  phoneNumber: string;
2873
2872
  isPrimary: boolean;
2873
+ id: string;
2874
2874
  description?: string | null | undefined;
2875
2875
  }, {
2876
- id: string;
2877
2876
  createdAt: string | Date;
2878
2877
  updatedAt: string | Date;
2879
2878
  phoneNumber: string;
2880
2879
  isPrimary: boolean;
2880
+ id: string;
2881
2881
  description?: string | null | undefined;
2882
2882
  }>, "many">>>;
2883
2883
  }, "strip", z.ZodTypeAny, {
2884
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
2884
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2885
+ createdAt: string;
2886
+ updatedAt: string;
2885
2887
  id: string;
2886
2888
  firstName: string;
2887
2889
  lastName: string;
2888
- createdAt: string;
2889
- updatedAt: string;
2890
2890
  hasTools: boolean;
2891
2891
  hasPpe: boolean;
2892
2892
  email?: string | null | undefined;
2893
2893
  rating?: number | null | undefined;
2894
2894
  phoneNumbers?: {
2895
- id: string;
2896
2895
  createdAt: string;
2897
2896
  updatedAt: string;
2898
2897
  phoneNumber: string;
2899
2898
  isPrimary: boolean;
2899
+ id: string;
2900
2900
  description?: string | null | undefined;
2901
2901
  }[] | null | undefined;
2902
2902
  nino?: string | null | undefined;
2903
2903
  dateOfBirth?: string | null | undefined;
2904
2904
  bio?: string | null | undefined;
2905
2905
  trades?: {
2906
- id: string;
2907
2906
  createdAt: string;
2908
2907
  updatedAt: string;
2908
+ id: string;
2909
2909
  tradeId: string;
2910
2910
  mainTrade: boolean;
2911
2911
  }[] | null | undefined;
2912
2912
  qualifications?: {
2913
- id: string;
2914
2913
  createdAt: string;
2915
2914
  updatedAt: string;
2915
+ id: string;
2916
2916
  qualificationId: string;
2917
2917
  qualificationTypeId: string | null;
2918
2918
  issueDate: string | null;
@@ -2932,38 +2932,38 @@ export declare const curatedWorkersContract: {
2932
2932
  areaCovered?: string | null | undefined;
2933
2933
  } | null | undefined;
2934
2934
  }, {
2935
- status: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE";
2935
+ status: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "BLACKLISTED" | "INACTIVE";
2936
+ createdAt: string | Date;
2937
+ updatedAt: string | Date;
2936
2938
  id: string;
2937
2939
  firstName: string;
2938
2940
  lastName: string;
2939
- createdAt: string | Date;
2940
- updatedAt: string | Date;
2941
2941
  hasTools: boolean;
2942
2942
  hasPpe: boolean;
2943
2943
  email?: string | null | undefined;
2944
2944
  rating?: number | null | undefined;
2945
2945
  phoneNumbers?: {
2946
- id: string;
2947
2946
  createdAt: string | Date;
2948
2947
  updatedAt: string | Date;
2949
2948
  phoneNumber: string;
2950
2949
  isPrimary: boolean;
2950
+ id: string;
2951
2951
  description?: string | null | undefined;
2952
2952
  }[] | null | undefined;
2953
2953
  nino?: string | null | undefined;
2954
2954
  dateOfBirth?: string | Date | null | undefined;
2955
2955
  bio?: string | null | undefined;
2956
2956
  trades?: {
2957
- id: string;
2958
2957
  createdAt: string | Date;
2959
2958
  updatedAt: string | Date;
2959
+ id: string;
2960
2960
  tradeId: string;
2961
2961
  mainTrade: boolean;
2962
2962
  }[] | null | undefined;
2963
2963
  qualifications?: {
2964
- id: string;
2965
2964
  createdAt: string | Date;
2966
2965
  updatedAt: string | Date;
2966
+ id: string;
2967
2967
  qualificationId: string;
2968
2968
  qualificationTypeId: string | null;
2969
2969
  issueDate: string | Date | null;
@@ -2992,19 +2992,19 @@ export declare const curatedWorkersContract: {
2992
2992
  path: z.ZodString;
2993
2993
  correlationId: z.ZodOptional<z.ZodString>;
2994
2994
  }, "strip", z.ZodTypeAny, {
2995
- statusCode: number;
2996
- message: string;
2997
2995
  code: string;
2998
- timestamp: string;
2999
2996
  path: string;
2997
+ message: string;
2998
+ statusCode: number;
2999
+ timestamp: string;
3000
3000
  details?: unknown;
3001
3001
  correlationId?: string | undefined;
3002
3002
  }, {
3003
- statusCode: number;
3004
- message: string;
3005
3003
  code: string;
3006
- timestamp: string;
3007
3004
  path: string;
3005
+ message: string;
3006
+ statusCode: number;
3007
+ timestamp: string;
3008
3008
  details?: unknown;
3009
3009
  correlationId?: string | undefined;
3010
3010
  }>;
@@ -3017,19 +3017,19 @@ export declare const curatedWorkersContract: {
3017
3017
  path: z.ZodString;
3018
3018
  correlationId: z.ZodOptional<z.ZodString>;
3019
3019
  }, "strip", z.ZodTypeAny, {
3020
- statusCode: number;
3021
- message: string;
3022
3020
  code: string;
3023
- timestamp: string;
3024
3021
  path: string;
3022
+ message: string;
3023
+ statusCode: number;
3024
+ timestamp: string;
3025
3025
  details?: unknown;
3026
3026
  correlationId?: string | undefined;
3027
3027
  }, {
3028
- statusCode: number;
3029
- message: string;
3030
3028
  code: string;
3031
- timestamp: string;
3032
3029
  path: string;
3030
+ message: string;
3031
+ statusCode: number;
3032
+ timestamp: string;
3033
3033
  details?: unknown;
3034
3034
  correlationId?: string | undefined;
3035
3035
  }>;
@@ -3060,19 +3060,19 @@ export declare const curatedWorkersContract: {
3060
3060
  path: z.ZodString;
3061
3061
  correlationId: z.ZodOptional<z.ZodString>;
3062
3062
  }, "strip", z.ZodTypeAny, {
3063
- statusCode: number;
3064
- message: string;
3065
3063
  code: string;
3066
- timestamp: string;
3067
3064
  path: string;
3065
+ message: string;
3066
+ statusCode: number;
3067
+ timestamp: string;
3068
3068
  details?: unknown;
3069
3069
  correlationId?: string | undefined;
3070
3070
  }, {
3071
- statusCode: number;
3072
- message: string;
3073
3071
  code: string;
3074
- timestamp: string;
3075
3072
  path: string;
3073
+ message: string;
3074
+ statusCode: number;
3075
+ timestamp: string;
3076
3076
  details?: unknown;
3077
3077
  correlationId?: string | undefined;
3078
3078
  }>;
@@ -3085,19 +3085,19 @@ export declare const curatedWorkersContract: {
3085
3085
  path: z.ZodString;
3086
3086
  correlationId: z.ZodOptional<z.ZodString>;
3087
3087
  }, "strip", z.ZodTypeAny, {
3088
- statusCode: number;
3089
- message: string;
3090
3088
  code: string;
3091
- timestamp: string;
3092
3089
  path: string;
3090
+ message: string;
3091
+ statusCode: number;
3092
+ timestamp: string;
3093
3093
  details?: unknown;
3094
3094
  correlationId?: string | undefined;
3095
3095
  }, {
3096
- statusCode: number;
3097
- message: string;
3098
3096
  code: string;
3099
- timestamp: string;
3100
3097
  path: string;
3098
+ message: string;
3099
+ statusCode: number;
3100
+ timestamp: string;
3101
3101
  details?: unknown;
3102
3102
  correlationId?: string | undefined;
3103
3103
  }>;
@@ -3110,19 +3110,19 @@ export declare const curatedWorkersContract: {
3110
3110
  path: z.ZodString;
3111
3111
  correlationId: z.ZodOptional<z.ZodString>;
3112
3112
  }, "strip", z.ZodTypeAny, {
3113
- statusCode: number;
3114
- message: string;
3115
3113
  code: string;
3116
- timestamp: string;
3117
3114
  path: string;
3115
+ message: string;
3116
+ statusCode: number;
3117
+ timestamp: string;
3118
3118
  details?: unknown;
3119
3119
  correlationId?: string | undefined;
3120
3120
  }, {
3121
- statusCode: number;
3122
- message: string;
3123
3121
  code: string;
3124
- timestamp: string;
3125
3122
  path: string;
3123
+ message: string;
3124
+ statusCode: number;
3125
+ timestamp: string;
3126
3126
  details?: unknown;
3127
3127
  correlationId?: string | undefined;
3128
3128
  }>;
@@ -3135,19 +3135,19 @@ export declare const curatedWorkersContract: {
3135
3135
  path: z.ZodString;
3136
3136
  correlationId: z.ZodOptional<z.ZodString>;
3137
3137
  }, "strip", z.ZodTypeAny, {
3138
- statusCode: number;
3139
- message: string;
3140
3138
  code: string;
3141
- timestamp: string;
3142
3139
  path: string;
3140
+ message: string;
3141
+ statusCode: number;
3142
+ timestamp: string;
3143
3143
  details?: unknown;
3144
3144
  correlationId?: string | undefined;
3145
3145
  }, {
3146
- statusCode: number;
3147
- message: string;
3148
3146
  code: string;
3149
- timestamp: string;
3150
3147
  path: string;
3148
+ message: string;
3149
+ statusCode: number;
3150
+ timestamp: string;
3151
3151
  details?: unknown;
3152
3152
  correlationId?: string | undefined;
3153
3153
  }>;
@@ -3161,19 +3161,19 @@ export declare const curatedWorkersContract: {
3161
3161
  path: z.ZodString;
3162
3162
  correlationId: z.ZodOptional<z.ZodString>;
3163
3163
  }, "strip", z.ZodTypeAny, {
3164
- statusCode: number;
3165
- message: string;
3166
3164
  code: string;
3167
- timestamp: string;
3168
3165
  path: string;
3166
+ message: string;
3167
+ statusCode: number;
3168
+ timestamp: string;
3169
3169
  details?: unknown;
3170
3170
  correlationId?: string | undefined;
3171
3171
  }, {
3172
- statusCode: number;
3173
- message: string;
3174
3172
  code: string;
3175
- timestamp: string;
3176
3173
  path: string;
3174
+ message: string;
3175
+ statusCode: number;
3176
+ timestamp: string;
3177
3177
  details?: unknown;
3178
3178
  correlationId?: string | undefined;
3179
3179
  }>;