@dakkitor/api-contracts 1.1.78 → 1.1.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +2877 -2877
- package/dist/bookings/bookings.contract.d.ts +2469 -2469
- package/dist/workers/workers.contract.d.ts +202 -202
- package/dist/workers/workers.contract.js +3 -3
- package/package.json +1 -1
|
@@ -20,41 +20,41 @@ export declare const WorkerPhoneNumberSchema: z.ZodObject<{
|
|
|
20
20
|
}>;
|
|
21
21
|
export declare const CreateWorkerPhoneNumberSchema: z.ZodObject<{
|
|
22
22
|
phoneNumber: z.ZodString;
|
|
23
|
-
description: z.ZodOptional<z.ZodString
|
|
23
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
phoneNumber: string;
|
|
27
27
|
isPrimary: boolean;
|
|
28
|
-
description?: string | undefined;
|
|
28
|
+
description?: string | null | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
phoneNumber: string;
|
|
31
|
-
description?: string | undefined;
|
|
31
|
+
description?: string | null | undefined;
|
|
32
32
|
isPrimary?: boolean | undefined;
|
|
33
33
|
}>;
|
|
34
34
|
export declare const UpsertWorkerPhoneNumberSchema: z.ZodEffects<z.ZodObject<{
|
|
35
35
|
id: z.ZodOptional<z.ZodString>;
|
|
36
36
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
37
|
-
description: z.ZodOptional<z.ZodString
|
|
37
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
id?: string | undefined;
|
|
41
|
-
description?: string | undefined;
|
|
42
41
|
phoneNumber?: string | undefined;
|
|
42
|
+
description?: string | null | undefined;
|
|
43
43
|
isPrimary?: boolean | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
id?: string | undefined;
|
|
46
|
-
description?: string | undefined;
|
|
47
46
|
phoneNumber?: string | undefined;
|
|
47
|
+
description?: string | null | undefined;
|
|
48
48
|
isPrimary?: boolean | undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
id?: string | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
52
51
|
phoneNumber?: string | undefined;
|
|
52
|
+
description?: string | null | undefined;
|
|
53
53
|
isPrimary?: boolean | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
id?: string | undefined;
|
|
56
|
-
description?: string | undefined;
|
|
57
56
|
phoneNumber?: string | undefined;
|
|
57
|
+
description?: string | null | undefined;
|
|
58
58
|
isPrimary?: boolean | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export declare const WorkerTradeSchema: z.ZodObject<{
|
|
@@ -286,9 +286,9 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
286
286
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
287
287
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
288
288
|
}, "strip", z.ZodTypeAny, {
|
|
289
|
-
id: string;
|
|
290
289
|
createdAt: string;
|
|
291
290
|
updatedAt: string;
|
|
291
|
+
id: string;
|
|
292
292
|
firstName: string;
|
|
293
293
|
lastName: string;
|
|
294
294
|
phoneNumbers: {
|
|
@@ -301,12 +301,6 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
301
301
|
hasTools: boolean;
|
|
302
302
|
hasPpe: boolean;
|
|
303
303
|
email?: string | null | undefined;
|
|
304
|
-
createdBy?: {
|
|
305
|
-
id: string;
|
|
306
|
-
firstName: string;
|
|
307
|
-
lastName: string;
|
|
308
|
-
email: string;
|
|
309
|
-
} | null | undefined;
|
|
310
304
|
nino?: string | null | undefined;
|
|
311
305
|
dateOfBirth?: string | null | undefined;
|
|
312
306
|
bio?: string | null | undefined;
|
|
@@ -340,23 +334,23 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
340
334
|
expiryDate?: string | null | undefined;
|
|
341
335
|
} | null | undefined;
|
|
342
336
|
createdByUserId?: string | null | undefined;
|
|
337
|
+
createdBy?: {
|
|
338
|
+
id: string;
|
|
339
|
+
firstName: string;
|
|
340
|
+
lastName: string;
|
|
341
|
+
email: string;
|
|
342
|
+
} | null | undefined;
|
|
343
343
|
distanceKm?: number | null | undefined;
|
|
344
344
|
}, {
|
|
345
|
-
id: string;
|
|
346
345
|
createdAt: string | Date;
|
|
347
346
|
updatedAt: string | Date;
|
|
347
|
+
id: string;
|
|
348
348
|
firstName: string;
|
|
349
349
|
lastName: string;
|
|
350
350
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
351
351
|
hasTools: boolean;
|
|
352
352
|
hasPpe: boolean;
|
|
353
353
|
email?: string | null | undefined;
|
|
354
|
-
createdBy?: {
|
|
355
|
-
id: string;
|
|
356
|
-
firstName: string;
|
|
357
|
-
lastName: string;
|
|
358
|
-
email: string;
|
|
359
|
-
} | null | undefined;
|
|
360
354
|
phoneNumbers?: {
|
|
361
355
|
phoneNumber: string;
|
|
362
356
|
id?: string | undefined;
|
|
@@ -396,6 +390,12 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
396
390
|
expiryDate?: string | Date | null | undefined;
|
|
397
391
|
} | null | undefined;
|
|
398
392
|
createdByUserId?: string | null | undefined;
|
|
393
|
+
createdBy?: {
|
|
394
|
+
id: string;
|
|
395
|
+
firstName: string;
|
|
396
|
+
lastName: string;
|
|
397
|
+
email: string;
|
|
398
|
+
} | null | undefined;
|
|
399
399
|
distanceKm?: number | null | undefined;
|
|
400
400
|
}>;
|
|
401
401
|
export declare const CreateWorkerSchema: z.ZodObject<{
|
|
@@ -404,23 +404,23 @@ export declare const CreateWorkerSchema: z.ZodObject<{
|
|
|
404
404
|
email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
|
|
405
405
|
phoneNumbers: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
406
406
|
phoneNumber: z.ZodString;
|
|
407
|
-
description: z.ZodOptional<z.ZodString
|
|
407
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
408
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
410
|
phoneNumber: string;
|
|
411
411
|
isPrimary: boolean;
|
|
412
|
-
description?: string | undefined;
|
|
412
|
+
description?: string | null | undefined;
|
|
413
413
|
}, {
|
|
414
414
|
phoneNumber: string;
|
|
415
|
-
description?: string | undefined;
|
|
415
|
+
description?: string | null | undefined;
|
|
416
416
|
isPrimary?: boolean | undefined;
|
|
417
417
|
}>, "many">, {
|
|
418
418
|
phoneNumber: string;
|
|
419
419
|
isPrimary: boolean;
|
|
420
|
-
description?: string | undefined;
|
|
420
|
+
description?: string | null | undefined;
|
|
421
421
|
}[], {
|
|
422
422
|
phoneNumber: string;
|
|
423
|
-
description?: string | undefined;
|
|
423
|
+
description?: string | null | undefined;
|
|
424
424
|
isPrimary?: boolean | undefined;
|
|
425
425
|
}[]>;
|
|
426
426
|
nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -495,7 +495,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
|
|
|
495
495
|
phoneNumbers: {
|
|
496
496
|
phoneNumber: string;
|
|
497
497
|
isPrimary: boolean;
|
|
498
|
-
description?: string | undefined;
|
|
498
|
+
description?: string | null | undefined;
|
|
499
499
|
}[];
|
|
500
500
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
501
501
|
trades: {
|
|
@@ -531,7 +531,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
|
|
|
531
531
|
lastName: string;
|
|
532
532
|
phoneNumbers: {
|
|
533
533
|
phoneNumber: string;
|
|
534
|
-
description?: string | undefined;
|
|
534
|
+
description?: string | null | undefined;
|
|
535
535
|
isPrimary?: boolean | undefined;
|
|
536
536
|
}[];
|
|
537
537
|
trades: {
|
|
@@ -571,37 +571,37 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
|
|
|
571
571
|
phoneNumbers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
572
572
|
id: z.ZodOptional<z.ZodString>;
|
|
573
573
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
574
|
-
description: z.ZodOptional<z.ZodString
|
|
574
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
575
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
576
576
|
}, "strip", z.ZodTypeAny, {
|
|
577
577
|
id?: string | undefined;
|
|
578
|
-
description?: string | undefined;
|
|
579
578
|
phoneNumber?: string | undefined;
|
|
579
|
+
description?: string | null | undefined;
|
|
580
580
|
isPrimary?: boolean | undefined;
|
|
581
581
|
}, {
|
|
582
582
|
id?: string | undefined;
|
|
583
|
-
description?: string | undefined;
|
|
584
583
|
phoneNumber?: string | undefined;
|
|
584
|
+
description?: string | null | undefined;
|
|
585
585
|
isPrimary?: boolean | undefined;
|
|
586
586
|
}>, {
|
|
587
587
|
id?: string | undefined;
|
|
588
|
-
description?: string | undefined;
|
|
589
588
|
phoneNumber?: string | undefined;
|
|
589
|
+
description?: string | null | undefined;
|
|
590
590
|
isPrimary?: boolean | undefined;
|
|
591
591
|
}, {
|
|
592
592
|
id?: string | undefined;
|
|
593
|
-
description?: string | undefined;
|
|
594
593
|
phoneNumber?: string | undefined;
|
|
594
|
+
description?: string | null | undefined;
|
|
595
595
|
isPrimary?: boolean | undefined;
|
|
596
596
|
}>, "many">, {
|
|
597
597
|
id?: string | undefined;
|
|
598
|
-
description?: string | undefined;
|
|
599
598
|
phoneNumber?: string | undefined;
|
|
599
|
+
description?: string | null | undefined;
|
|
600
600
|
isPrimary?: boolean | undefined;
|
|
601
601
|
}[], {
|
|
602
602
|
id?: string | undefined;
|
|
603
|
-
description?: string | undefined;
|
|
604
603
|
phoneNumber?: string | undefined;
|
|
604
|
+
description?: string | null | undefined;
|
|
605
605
|
isPrimary?: boolean | undefined;
|
|
606
606
|
}[]>>;
|
|
607
607
|
nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -684,8 +684,8 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
|
|
|
684
684
|
email?: string | null | undefined;
|
|
685
685
|
phoneNumbers?: {
|
|
686
686
|
id?: string | undefined;
|
|
687
|
-
description?: string | undefined;
|
|
688
687
|
phoneNumber?: string | undefined;
|
|
688
|
+
description?: string | null | undefined;
|
|
689
689
|
isPrimary?: boolean | undefined;
|
|
690
690
|
}[] | undefined;
|
|
691
691
|
nino?: string | null | undefined;
|
|
@@ -724,8 +724,8 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
|
|
|
724
724
|
email?: string | null | undefined;
|
|
725
725
|
phoneNumbers?: {
|
|
726
726
|
id?: string | undefined;
|
|
727
|
-
description?: string | undefined;
|
|
728
727
|
phoneNumber?: string | undefined;
|
|
728
|
+
description?: string | null | undefined;
|
|
729
729
|
isPrimary?: boolean | undefined;
|
|
730
730
|
}[] | undefined;
|
|
731
731
|
nino?: string | null | undefined;
|
|
@@ -799,51 +799,51 @@ export declare const FilterWorkerSchema: z.ZodObject<{
|
|
|
799
799
|
}, "strip", z.ZodTypeAny, {
|
|
800
800
|
limit: number;
|
|
801
801
|
page: number;
|
|
802
|
-
postcode?: string | undefined;
|
|
803
|
-
name?: string | undefined;
|
|
804
|
-
sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
|
|
805
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
806
802
|
email?: string | undefined;
|
|
807
|
-
phone?: string | undefined;
|
|
808
|
-
createdBy?: string | undefined;
|
|
809
803
|
availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
810
804
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
811
805
|
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;
|
|
812
806
|
hasTools?: "only_with" | "only_without" | "all" | undefined;
|
|
813
807
|
hasPpe?: "only_with" | "only_without" | "all" | undefined;
|
|
808
|
+
postcode?: string | undefined;
|
|
809
|
+
createdBy?: string | undefined;
|
|
810
|
+
phone?: string | undefined;
|
|
811
|
+
name?: string | undefined;
|
|
812
|
+
sortBy?: "email" | "phone" | "distance" | "nameSimilarity" | "fullName" | null | undefined;
|
|
813
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
814
814
|
distance?: number | undefined;
|
|
815
|
-
tradeFilters?: {
|
|
816
|
-
tradeId: string;
|
|
817
|
-
mainTrade?: boolean | undefined;
|
|
818
|
-
}[] | undefined;
|
|
819
815
|
qualificationFilters?: {
|
|
820
816
|
qualificationId?: string | undefined;
|
|
821
817
|
qualificationTypeId?: string | undefined;
|
|
822
818
|
}[] | undefined;
|
|
819
|
+
tradeFilters?: {
|
|
820
|
+
tradeId: string;
|
|
821
|
+
mainTrade?: boolean | undefined;
|
|
822
|
+
}[] | undefined;
|
|
823
823
|
}, {
|
|
824
|
-
postcode?: string | undefined;
|
|
825
|
-
limit?: number | undefined;
|
|
826
|
-
page?: number | undefined;
|
|
827
|
-
name?: string | undefined;
|
|
828
|
-
sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
|
|
829
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
830
824
|
email?: string | undefined;
|
|
831
|
-
phone?: string | undefined;
|
|
832
|
-
createdBy?: string | undefined;
|
|
833
825
|
availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
834
826
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
835
827
|
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;
|
|
836
828
|
hasTools?: "only_with" | "only_without" | "all" | undefined;
|
|
837
829
|
hasPpe?: "only_with" | "only_without" | "all" | undefined;
|
|
830
|
+
postcode?: string | undefined;
|
|
831
|
+
createdBy?: string | undefined;
|
|
832
|
+
phone?: string | undefined;
|
|
833
|
+
name?: string | undefined;
|
|
834
|
+
limit?: number | undefined;
|
|
835
|
+
page?: number | undefined;
|
|
836
|
+
sortBy?: "email" | "phone" | "distance" | "nameSimilarity" | "fullName" | null | undefined;
|
|
837
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
838
838
|
distance?: number | undefined;
|
|
839
|
-
tradeFilters?: {
|
|
840
|
-
tradeId: string;
|
|
841
|
-
mainTrade?: unknown;
|
|
842
|
-
}[] | undefined;
|
|
843
839
|
qualificationFilters?: {
|
|
844
840
|
qualificationId?: string | undefined;
|
|
845
841
|
qualificationTypeId?: string | undefined;
|
|
846
842
|
}[] | undefined;
|
|
843
|
+
tradeFilters?: {
|
|
844
|
+
tradeId: string;
|
|
845
|
+
mainTrade?: unknown;
|
|
846
|
+
}[] | undefined;
|
|
847
847
|
}>;
|
|
848
848
|
export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
849
849
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -969,9 +969,9 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
969
969
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
970
970
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
971
971
|
}, "strip", z.ZodTypeAny, {
|
|
972
|
-
id: string;
|
|
973
972
|
createdAt: string;
|
|
974
973
|
updatedAt: string;
|
|
974
|
+
id: string;
|
|
975
975
|
firstName: string;
|
|
976
976
|
lastName: string;
|
|
977
977
|
phoneNumbers: {
|
|
@@ -984,12 +984,6 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
984
984
|
hasTools: boolean;
|
|
985
985
|
hasPpe: boolean;
|
|
986
986
|
email?: string | null | undefined;
|
|
987
|
-
createdBy?: {
|
|
988
|
-
id: string;
|
|
989
|
-
firstName: string;
|
|
990
|
-
lastName: string;
|
|
991
|
-
email: string;
|
|
992
|
-
} | null | undefined;
|
|
993
987
|
nino?: string | null | undefined;
|
|
994
988
|
dateOfBirth?: string | null | undefined;
|
|
995
989
|
bio?: string | null | undefined;
|
|
@@ -1023,23 +1017,23 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1023
1017
|
expiryDate?: string | null | undefined;
|
|
1024
1018
|
} | null | undefined;
|
|
1025
1019
|
createdByUserId?: string | null | undefined;
|
|
1020
|
+
createdBy?: {
|
|
1021
|
+
id: string;
|
|
1022
|
+
firstName: string;
|
|
1023
|
+
lastName: string;
|
|
1024
|
+
email: string;
|
|
1025
|
+
} | null | undefined;
|
|
1026
1026
|
distanceKm?: number | null | undefined;
|
|
1027
1027
|
}, {
|
|
1028
|
-
id: string;
|
|
1029
1028
|
createdAt: string | Date;
|
|
1030
1029
|
updatedAt: string | Date;
|
|
1030
|
+
id: string;
|
|
1031
1031
|
firstName: string;
|
|
1032
1032
|
lastName: string;
|
|
1033
1033
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1034
1034
|
hasTools: boolean;
|
|
1035
1035
|
hasPpe: boolean;
|
|
1036
1036
|
email?: string | null | undefined;
|
|
1037
|
-
createdBy?: {
|
|
1038
|
-
id: string;
|
|
1039
|
-
firstName: string;
|
|
1040
|
-
lastName: string;
|
|
1041
|
-
email: string;
|
|
1042
|
-
} | null | undefined;
|
|
1043
1037
|
phoneNumbers?: {
|
|
1044
1038
|
phoneNumber: string;
|
|
1045
1039
|
id?: string | undefined;
|
|
@@ -1079,6 +1073,12 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1079
1073
|
expiryDate?: string | Date | null | undefined;
|
|
1080
1074
|
} | null | undefined;
|
|
1081
1075
|
createdByUserId?: string | null | undefined;
|
|
1076
|
+
createdBy?: {
|
|
1077
|
+
id: string;
|
|
1078
|
+
firstName: string;
|
|
1079
|
+
lastName: string;
|
|
1080
|
+
email: string;
|
|
1081
|
+
} | null | undefined;
|
|
1082
1082
|
distanceKm?: number | null | undefined;
|
|
1083
1083
|
}>, "many">;
|
|
1084
1084
|
totalCount: z.ZodNumber;
|
|
@@ -1089,9 +1089,9 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1089
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1090
1090
|
limit: number;
|
|
1091
1091
|
items: {
|
|
1092
|
-
id: string;
|
|
1093
1092
|
createdAt: string;
|
|
1094
1093
|
updatedAt: string;
|
|
1094
|
+
id: string;
|
|
1095
1095
|
firstName: string;
|
|
1096
1096
|
lastName: string;
|
|
1097
1097
|
phoneNumbers: {
|
|
@@ -1104,12 +1104,6 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1104
1104
|
hasTools: boolean;
|
|
1105
1105
|
hasPpe: boolean;
|
|
1106
1106
|
email?: string | null | undefined;
|
|
1107
|
-
createdBy?: {
|
|
1108
|
-
id: string;
|
|
1109
|
-
firstName: string;
|
|
1110
|
-
lastName: string;
|
|
1111
|
-
email: string;
|
|
1112
|
-
} | null | undefined;
|
|
1113
1107
|
nino?: string | null | undefined;
|
|
1114
1108
|
dateOfBirth?: string | null | undefined;
|
|
1115
1109
|
bio?: string | null | undefined;
|
|
@@ -1143,6 +1137,12 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1143
1137
|
expiryDate?: string | null | undefined;
|
|
1144
1138
|
} | null | undefined;
|
|
1145
1139
|
createdByUserId?: string | null | undefined;
|
|
1140
|
+
createdBy?: {
|
|
1141
|
+
id: string;
|
|
1142
|
+
firstName: string;
|
|
1143
|
+
lastName: string;
|
|
1144
|
+
email: string;
|
|
1145
|
+
} | null | undefined;
|
|
1146
1146
|
distanceKm?: number | null | undefined;
|
|
1147
1147
|
}[];
|
|
1148
1148
|
totalCount: number;
|
|
@@ -1152,21 +1152,15 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1152
1152
|
}, {
|
|
1153
1153
|
limit: number;
|
|
1154
1154
|
items: {
|
|
1155
|
-
id: string;
|
|
1156
1155
|
createdAt: string | Date;
|
|
1157
1156
|
updatedAt: string | Date;
|
|
1157
|
+
id: string;
|
|
1158
1158
|
firstName: string;
|
|
1159
1159
|
lastName: string;
|
|
1160
1160
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1161
1161
|
hasTools: boolean;
|
|
1162
1162
|
hasPpe: boolean;
|
|
1163
1163
|
email?: string | null | undefined;
|
|
1164
|
-
createdBy?: {
|
|
1165
|
-
id: string;
|
|
1166
|
-
firstName: string;
|
|
1167
|
-
lastName: string;
|
|
1168
|
-
email: string;
|
|
1169
|
-
} | null | undefined;
|
|
1170
1164
|
phoneNumbers?: {
|
|
1171
1165
|
phoneNumber: string;
|
|
1172
1166
|
id?: string | undefined;
|
|
@@ -1206,6 +1200,12 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1206
1200
|
expiryDate?: string | Date | null | undefined;
|
|
1207
1201
|
} | null | undefined;
|
|
1208
1202
|
createdByUserId?: string | null | undefined;
|
|
1203
|
+
createdBy?: {
|
|
1204
|
+
id: string;
|
|
1205
|
+
firstName: string;
|
|
1206
|
+
lastName: string;
|
|
1207
|
+
email: string;
|
|
1208
|
+
} | null | undefined;
|
|
1209
1209
|
distanceKm?: number | null | undefined;
|
|
1210
1210
|
}[];
|
|
1211
1211
|
totalCount: number;
|
|
@@ -1246,23 +1246,23 @@ export declare const workersContractRouter: {
|
|
|
1246
1246
|
email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
|
|
1247
1247
|
phoneNumbers: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1248
1248
|
phoneNumber: z.ZodString;
|
|
1249
|
-
description: z.ZodOptional<z.ZodString
|
|
1249
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1250
1250
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1251
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1252
1252
|
phoneNumber: string;
|
|
1253
1253
|
isPrimary: boolean;
|
|
1254
|
-
description?: string | undefined;
|
|
1254
|
+
description?: string | null | undefined;
|
|
1255
1255
|
}, {
|
|
1256
1256
|
phoneNumber: string;
|
|
1257
|
-
description?: string | undefined;
|
|
1257
|
+
description?: string | null | undefined;
|
|
1258
1258
|
isPrimary?: boolean | undefined;
|
|
1259
1259
|
}>, "many">, {
|
|
1260
1260
|
phoneNumber: string;
|
|
1261
1261
|
isPrimary: boolean;
|
|
1262
|
-
description?: string | undefined;
|
|
1262
|
+
description?: string | null | undefined;
|
|
1263
1263
|
}[], {
|
|
1264
1264
|
phoneNumber: string;
|
|
1265
|
-
description?: string | undefined;
|
|
1265
|
+
description?: string | null | undefined;
|
|
1266
1266
|
isPrimary?: boolean | undefined;
|
|
1267
1267
|
}[]>;
|
|
1268
1268
|
nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1337,7 +1337,7 @@ export declare const workersContractRouter: {
|
|
|
1337
1337
|
phoneNumbers: {
|
|
1338
1338
|
phoneNumber: string;
|
|
1339
1339
|
isPrimary: boolean;
|
|
1340
|
-
description?: string | undefined;
|
|
1340
|
+
description?: string | null | undefined;
|
|
1341
1341
|
}[];
|
|
1342
1342
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1343
1343
|
trades: {
|
|
@@ -1373,7 +1373,7 @@ export declare const workersContractRouter: {
|
|
|
1373
1373
|
lastName: string;
|
|
1374
1374
|
phoneNumbers: {
|
|
1375
1375
|
phoneNumber: string;
|
|
1376
|
-
description?: string | undefined;
|
|
1376
|
+
description?: string | null | undefined;
|
|
1377
1377
|
isPrimary?: boolean | undefined;
|
|
1378
1378
|
}[];
|
|
1379
1379
|
trades: {
|
|
@@ -1631,9 +1631,9 @@ export declare const workersContractRouter: {
|
|
|
1631
1631
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1632
1632
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1633
1633
|
}, "strip", z.ZodTypeAny, {
|
|
1634
|
-
id: string;
|
|
1635
1634
|
createdAt: string;
|
|
1636
1635
|
updatedAt: string;
|
|
1636
|
+
id: string;
|
|
1637
1637
|
firstName: string;
|
|
1638
1638
|
lastName: string;
|
|
1639
1639
|
phoneNumbers: {
|
|
@@ -1646,12 +1646,6 @@ export declare const workersContractRouter: {
|
|
|
1646
1646
|
hasTools: boolean;
|
|
1647
1647
|
hasPpe: boolean;
|
|
1648
1648
|
email?: string | null | undefined;
|
|
1649
|
-
createdBy?: {
|
|
1650
|
-
id: string;
|
|
1651
|
-
firstName: string;
|
|
1652
|
-
lastName: string;
|
|
1653
|
-
email: string;
|
|
1654
|
-
} | null | undefined;
|
|
1655
1649
|
nino?: string | null | undefined;
|
|
1656
1650
|
dateOfBirth?: string | null | undefined;
|
|
1657
1651
|
bio?: string | null | undefined;
|
|
@@ -1685,23 +1679,23 @@ export declare const workersContractRouter: {
|
|
|
1685
1679
|
expiryDate?: string | null | undefined;
|
|
1686
1680
|
} | null | undefined;
|
|
1687
1681
|
createdByUserId?: string | null | undefined;
|
|
1682
|
+
createdBy?: {
|
|
1683
|
+
id: string;
|
|
1684
|
+
firstName: string;
|
|
1685
|
+
lastName: string;
|
|
1686
|
+
email: string;
|
|
1687
|
+
} | null | undefined;
|
|
1688
1688
|
distanceKm?: number | null | undefined;
|
|
1689
1689
|
}, {
|
|
1690
|
-
id: string;
|
|
1691
1690
|
createdAt: string | Date;
|
|
1692
1691
|
updatedAt: string | Date;
|
|
1692
|
+
id: string;
|
|
1693
1693
|
firstName: string;
|
|
1694
1694
|
lastName: string;
|
|
1695
1695
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1696
1696
|
hasTools: boolean;
|
|
1697
1697
|
hasPpe: boolean;
|
|
1698
1698
|
email?: string | null | undefined;
|
|
1699
|
-
createdBy?: {
|
|
1700
|
-
id: string;
|
|
1701
|
-
firstName: string;
|
|
1702
|
-
lastName: string;
|
|
1703
|
-
email: string;
|
|
1704
|
-
} | null | undefined;
|
|
1705
1699
|
phoneNumbers?: {
|
|
1706
1700
|
phoneNumber: string;
|
|
1707
1701
|
id?: string | undefined;
|
|
@@ -1741,6 +1735,12 @@ export declare const workersContractRouter: {
|
|
|
1741
1735
|
expiryDate?: string | Date | null | undefined;
|
|
1742
1736
|
} | null | undefined;
|
|
1743
1737
|
createdByUserId?: string | null | undefined;
|
|
1738
|
+
createdBy?: {
|
|
1739
|
+
id: string;
|
|
1740
|
+
firstName: string;
|
|
1741
|
+
lastName: string;
|
|
1742
|
+
email: string;
|
|
1743
|
+
} | null | undefined;
|
|
1744
1744
|
distanceKm?: number | null | undefined;
|
|
1745
1745
|
}>;
|
|
1746
1746
|
409: z.ZodObject<{
|
|
@@ -1771,6 +1771,12 @@ export declare const workersContractRouter: {
|
|
|
1771
1771
|
};
|
|
1772
1772
|
};
|
|
1773
1773
|
findAll: {
|
|
1774
|
+
metadata: {
|
|
1775
|
+
tags: string[];
|
|
1776
|
+
openApi: {
|
|
1777
|
+
operationId: string;
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1774
1780
|
query: z.ZodObject<{
|
|
1775
1781
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1776
1782
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1811,58 +1817,52 @@ export declare const workersContractRouter: {
|
|
|
1811
1817
|
}, "strip", z.ZodTypeAny, {
|
|
1812
1818
|
limit: number;
|
|
1813
1819
|
page: number;
|
|
1814
|
-
postcode?: string | undefined;
|
|
1815
|
-
name?: string | undefined;
|
|
1816
|
-
sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
|
|
1817
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1818
1820
|
email?: string | undefined;
|
|
1819
|
-
phone?: string | undefined;
|
|
1820
|
-
createdBy?: string | undefined;
|
|
1821
1821
|
availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1822
1822
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
1823
1823
|
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;
|
|
1824
1824
|
hasTools?: "only_with" | "only_without" | "all" | undefined;
|
|
1825
1825
|
hasPpe?: "only_with" | "only_without" | "all" | undefined;
|
|
1826
|
+
postcode?: string | undefined;
|
|
1827
|
+
createdBy?: string | undefined;
|
|
1828
|
+
phone?: string | undefined;
|
|
1829
|
+
name?: string | undefined;
|
|
1830
|
+
sortBy?: "email" | "phone" | "distance" | "nameSimilarity" | "fullName" | null | undefined;
|
|
1831
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1826
1832
|
distance?: number | undefined;
|
|
1827
|
-
tradeFilters?: {
|
|
1828
|
-
tradeId: string;
|
|
1829
|
-
mainTrade?: boolean | undefined;
|
|
1830
|
-
}[] | undefined;
|
|
1831
1833
|
qualificationFilters?: {
|
|
1832
1834
|
qualificationId?: string | undefined;
|
|
1833
1835
|
qualificationTypeId?: string | undefined;
|
|
1834
1836
|
}[] | undefined;
|
|
1837
|
+
tradeFilters?: {
|
|
1838
|
+
tradeId: string;
|
|
1839
|
+
mainTrade?: boolean | undefined;
|
|
1840
|
+
}[] | undefined;
|
|
1835
1841
|
}, {
|
|
1836
|
-
postcode?: string | undefined;
|
|
1837
|
-
limit?: number | undefined;
|
|
1838
|
-
page?: number | undefined;
|
|
1839
|
-
name?: string | undefined;
|
|
1840
|
-
sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
|
|
1841
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1842
1842
|
email?: string | undefined;
|
|
1843
|
-
phone?: string | undefined;
|
|
1844
|
-
createdBy?: string | undefined;
|
|
1845
1843
|
availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1846
1844
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
1847
1845
|
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;
|
|
1848
1846
|
hasTools?: "only_with" | "only_without" | "all" | undefined;
|
|
1849
1847
|
hasPpe?: "only_with" | "only_without" | "all" | undefined;
|
|
1848
|
+
postcode?: string | undefined;
|
|
1849
|
+
createdBy?: string | undefined;
|
|
1850
|
+
phone?: string | undefined;
|
|
1851
|
+
name?: string | undefined;
|
|
1852
|
+
limit?: number | undefined;
|
|
1853
|
+
page?: number | undefined;
|
|
1854
|
+
sortBy?: "email" | "phone" | "distance" | "nameSimilarity" | "fullName" | null | undefined;
|
|
1855
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1850
1856
|
distance?: number | undefined;
|
|
1851
|
-
tradeFilters?: {
|
|
1852
|
-
tradeId: string;
|
|
1853
|
-
mainTrade?: unknown;
|
|
1854
|
-
}[] | undefined;
|
|
1855
1857
|
qualificationFilters?: {
|
|
1856
1858
|
qualificationId?: string | undefined;
|
|
1857
1859
|
qualificationTypeId?: string | undefined;
|
|
1858
1860
|
}[] | undefined;
|
|
1861
|
+
tradeFilters?: {
|
|
1862
|
+
tradeId: string;
|
|
1863
|
+
mainTrade?: unknown;
|
|
1864
|
+
}[] | undefined;
|
|
1859
1865
|
}>;
|
|
1860
|
-
metadata: {
|
|
1861
|
-
tags: string[];
|
|
1862
|
-
openApi: {
|
|
1863
|
-
operationId: string;
|
|
1864
|
-
};
|
|
1865
|
-
};
|
|
1866
1866
|
summary: "Get all workers";
|
|
1867
1867
|
method: "GET";
|
|
1868
1868
|
path: "/v2/workers";
|
|
@@ -2091,9 +2091,9 @@ export declare const workersContractRouter: {
|
|
|
2091
2091
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2092
2092
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2093
2093
|
}, "strip", z.ZodTypeAny, {
|
|
2094
|
-
id: string;
|
|
2095
2094
|
createdAt: string;
|
|
2096
2095
|
updatedAt: string;
|
|
2096
|
+
id: string;
|
|
2097
2097
|
firstName: string;
|
|
2098
2098
|
lastName: string;
|
|
2099
2099
|
phoneNumbers: {
|
|
@@ -2106,12 +2106,6 @@ export declare const workersContractRouter: {
|
|
|
2106
2106
|
hasTools: boolean;
|
|
2107
2107
|
hasPpe: boolean;
|
|
2108
2108
|
email?: string | null | undefined;
|
|
2109
|
-
createdBy?: {
|
|
2110
|
-
id: string;
|
|
2111
|
-
firstName: string;
|
|
2112
|
-
lastName: string;
|
|
2113
|
-
email: string;
|
|
2114
|
-
} | null | undefined;
|
|
2115
2109
|
nino?: string | null | undefined;
|
|
2116
2110
|
dateOfBirth?: string | null | undefined;
|
|
2117
2111
|
bio?: string | null | undefined;
|
|
@@ -2145,23 +2139,23 @@ export declare const workersContractRouter: {
|
|
|
2145
2139
|
expiryDate?: string | null | undefined;
|
|
2146
2140
|
} | null | undefined;
|
|
2147
2141
|
createdByUserId?: string | null | undefined;
|
|
2142
|
+
createdBy?: {
|
|
2143
|
+
id: string;
|
|
2144
|
+
firstName: string;
|
|
2145
|
+
lastName: string;
|
|
2146
|
+
email: string;
|
|
2147
|
+
} | null | undefined;
|
|
2148
2148
|
distanceKm?: number | null | undefined;
|
|
2149
2149
|
}, {
|
|
2150
|
-
id: string;
|
|
2151
2150
|
createdAt: string | Date;
|
|
2152
2151
|
updatedAt: string | Date;
|
|
2152
|
+
id: string;
|
|
2153
2153
|
firstName: string;
|
|
2154
2154
|
lastName: string;
|
|
2155
2155
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2156
2156
|
hasTools: boolean;
|
|
2157
2157
|
hasPpe: boolean;
|
|
2158
2158
|
email?: string | null | undefined;
|
|
2159
|
-
createdBy?: {
|
|
2160
|
-
id: string;
|
|
2161
|
-
firstName: string;
|
|
2162
|
-
lastName: string;
|
|
2163
|
-
email: string;
|
|
2164
|
-
} | null | undefined;
|
|
2165
2159
|
phoneNumbers?: {
|
|
2166
2160
|
phoneNumber: string;
|
|
2167
2161
|
id?: string | undefined;
|
|
@@ -2201,6 +2195,12 @@ export declare const workersContractRouter: {
|
|
|
2201
2195
|
expiryDate?: string | Date | null | undefined;
|
|
2202
2196
|
} | null | undefined;
|
|
2203
2197
|
createdByUserId?: string | null | undefined;
|
|
2198
|
+
createdBy?: {
|
|
2199
|
+
id: string;
|
|
2200
|
+
firstName: string;
|
|
2201
|
+
lastName: string;
|
|
2202
|
+
email: string;
|
|
2203
|
+
} | null | undefined;
|
|
2204
2204
|
distanceKm?: number | null | undefined;
|
|
2205
2205
|
}>, "many">;
|
|
2206
2206
|
totalCount: z.ZodNumber;
|
|
@@ -2211,9 +2211,9 @@ export declare const workersContractRouter: {
|
|
|
2211
2211
|
}, "strip", z.ZodTypeAny, {
|
|
2212
2212
|
limit: number;
|
|
2213
2213
|
items: {
|
|
2214
|
-
id: string;
|
|
2215
2214
|
createdAt: string;
|
|
2216
2215
|
updatedAt: string;
|
|
2216
|
+
id: string;
|
|
2217
2217
|
firstName: string;
|
|
2218
2218
|
lastName: string;
|
|
2219
2219
|
phoneNumbers: {
|
|
@@ -2226,12 +2226,6 @@ export declare const workersContractRouter: {
|
|
|
2226
2226
|
hasTools: boolean;
|
|
2227
2227
|
hasPpe: boolean;
|
|
2228
2228
|
email?: string | null | undefined;
|
|
2229
|
-
createdBy?: {
|
|
2230
|
-
id: string;
|
|
2231
|
-
firstName: string;
|
|
2232
|
-
lastName: string;
|
|
2233
|
-
email: string;
|
|
2234
|
-
} | null | undefined;
|
|
2235
2229
|
nino?: string | null | undefined;
|
|
2236
2230
|
dateOfBirth?: string | null | undefined;
|
|
2237
2231
|
bio?: string | null | undefined;
|
|
@@ -2265,6 +2259,12 @@ export declare const workersContractRouter: {
|
|
|
2265
2259
|
expiryDate?: string | null | undefined;
|
|
2266
2260
|
} | null | undefined;
|
|
2267
2261
|
createdByUserId?: string | null | undefined;
|
|
2262
|
+
createdBy?: {
|
|
2263
|
+
id: string;
|
|
2264
|
+
firstName: string;
|
|
2265
|
+
lastName: string;
|
|
2266
|
+
email: string;
|
|
2267
|
+
} | null | undefined;
|
|
2268
2268
|
distanceKm?: number | null | undefined;
|
|
2269
2269
|
}[];
|
|
2270
2270
|
totalCount: number;
|
|
@@ -2274,21 +2274,15 @@ export declare const workersContractRouter: {
|
|
|
2274
2274
|
}, {
|
|
2275
2275
|
limit: number;
|
|
2276
2276
|
items: {
|
|
2277
|
-
id: string;
|
|
2278
2277
|
createdAt: string | Date;
|
|
2279
2278
|
updatedAt: string | Date;
|
|
2279
|
+
id: string;
|
|
2280
2280
|
firstName: string;
|
|
2281
2281
|
lastName: string;
|
|
2282
2282
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2283
2283
|
hasTools: boolean;
|
|
2284
2284
|
hasPpe: boolean;
|
|
2285
2285
|
email?: string | null | undefined;
|
|
2286
|
-
createdBy?: {
|
|
2287
|
-
id: string;
|
|
2288
|
-
firstName: string;
|
|
2289
|
-
lastName: string;
|
|
2290
|
-
email: string;
|
|
2291
|
-
} | null | undefined;
|
|
2292
2286
|
phoneNumbers?: {
|
|
2293
2287
|
phoneNumber: string;
|
|
2294
2288
|
id?: string | undefined;
|
|
@@ -2328,6 +2322,12 @@ export declare const workersContractRouter: {
|
|
|
2328
2322
|
expiryDate?: string | Date | null | undefined;
|
|
2329
2323
|
} | null | undefined;
|
|
2330
2324
|
createdByUserId?: string | null | undefined;
|
|
2325
|
+
createdBy?: {
|
|
2326
|
+
id: string;
|
|
2327
|
+
firstName: string;
|
|
2328
|
+
lastName: string;
|
|
2329
|
+
email: string;
|
|
2330
|
+
} | null | undefined;
|
|
2331
2331
|
distanceKm?: number | null | undefined;
|
|
2332
2332
|
}[];
|
|
2333
2333
|
totalCount: number;
|
|
@@ -2578,9 +2578,9 @@ export declare const workersContractRouter: {
|
|
|
2578
2578
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2579
2579
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2580
2580
|
}, "strip", z.ZodTypeAny, {
|
|
2581
|
-
id: string;
|
|
2582
2581
|
createdAt: string;
|
|
2583
2582
|
updatedAt: string;
|
|
2583
|
+
id: string;
|
|
2584
2584
|
firstName: string;
|
|
2585
2585
|
lastName: string;
|
|
2586
2586
|
phoneNumbers: {
|
|
@@ -2593,12 +2593,6 @@ export declare const workersContractRouter: {
|
|
|
2593
2593
|
hasTools: boolean;
|
|
2594
2594
|
hasPpe: boolean;
|
|
2595
2595
|
email?: string | null | undefined;
|
|
2596
|
-
createdBy?: {
|
|
2597
|
-
id: string;
|
|
2598
|
-
firstName: string;
|
|
2599
|
-
lastName: string;
|
|
2600
|
-
email: string;
|
|
2601
|
-
} | null | undefined;
|
|
2602
2596
|
nino?: string | null | undefined;
|
|
2603
2597
|
dateOfBirth?: string | null | undefined;
|
|
2604
2598
|
bio?: string | null | undefined;
|
|
@@ -2632,23 +2626,23 @@ export declare const workersContractRouter: {
|
|
|
2632
2626
|
expiryDate?: string | null | undefined;
|
|
2633
2627
|
} | null | undefined;
|
|
2634
2628
|
createdByUserId?: string | null | undefined;
|
|
2629
|
+
createdBy?: {
|
|
2630
|
+
id: string;
|
|
2631
|
+
firstName: string;
|
|
2632
|
+
lastName: string;
|
|
2633
|
+
email: string;
|
|
2634
|
+
} | null | undefined;
|
|
2635
2635
|
distanceKm?: number | null | undefined;
|
|
2636
2636
|
}, {
|
|
2637
|
-
id: string;
|
|
2638
2637
|
createdAt: string | Date;
|
|
2639
2638
|
updatedAt: string | Date;
|
|
2639
|
+
id: string;
|
|
2640
2640
|
firstName: string;
|
|
2641
2641
|
lastName: string;
|
|
2642
2642
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2643
2643
|
hasTools: boolean;
|
|
2644
2644
|
hasPpe: boolean;
|
|
2645
2645
|
email?: string | null | undefined;
|
|
2646
|
-
createdBy?: {
|
|
2647
|
-
id: string;
|
|
2648
|
-
firstName: string;
|
|
2649
|
-
lastName: string;
|
|
2650
|
-
email: string;
|
|
2651
|
-
} | null | undefined;
|
|
2652
2646
|
phoneNumbers?: {
|
|
2653
2647
|
phoneNumber: string;
|
|
2654
2648
|
id?: string | undefined;
|
|
@@ -2688,6 +2682,12 @@ export declare const workersContractRouter: {
|
|
|
2688
2682
|
expiryDate?: string | Date | null | undefined;
|
|
2689
2683
|
} | null | undefined;
|
|
2690
2684
|
createdByUserId?: string | null | undefined;
|
|
2685
|
+
createdBy?: {
|
|
2686
|
+
id: string;
|
|
2687
|
+
firstName: string;
|
|
2688
|
+
lastName: string;
|
|
2689
|
+
email: string;
|
|
2690
|
+
} | null | undefined;
|
|
2691
2691
|
distanceKm?: number | null | undefined;
|
|
2692
2692
|
}>;
|
|
2693
2693
|
404: z.ZodObject<{
|
|
@@ -2740,37 +2740,37 @@ export declare const workersContractRouter: {
|
|
|
2740
2740
|
phoneNumbers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2741
2741
|
id: z.ZodOptional<z.ZodString>;
|
|
2742
2742
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2743
|
-
description: z.ZodOptional<z.ZodString
|
|
2743
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2744
2744
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
2745
2745
|
}, "strip", z.ZodTypeAny, {
|
|
2746
2746
|
id?: string | undefined;
|
|
2747
|
-
description?: string | undefined;
|
|
2748
2747
|
phoneNumber?: string | undefined;
|
|
2748
|
+
description?: string | null | undefined;
|
|
2749
2749
|
isPrimary?: boolean | undefined;
|
|
2750
2750
|
}, {
|
|
2751
2751
|
id?: string | undefined;
|
|
2752
|
-
description?: string | undefined;
|
|
2753
2752
|
phoneNumber?: string | undefined;
|
|
2753
|
+
description?: string | null | undefined;
|
|
2754
2754
|
isPrimary?: boolean | undefined;
|
|
2755
2755
|
}>, {
|
|
2756
2756
|
id?: string | undefined;
|
|
2757
|
-
description?: string | undefined;
|
|
2758
2757
|
phoneNumber?: string | undefined;
|
|
2758
|
+
description?: string | null | undefined;
|
|
2759
2759
|
isPrimary?: boolean | undefined;
|
|
2760
2760
|
}, {
|
|
2761
2761
|
id?: string | undefined;
|
|
2762
|
-
description?: string | undefined;
|
|
2763
2762
|
phoneNumber?: string | undefined;
|
|
2763
|
+
description?: string | null | undefined;
|
|
2764
2764
|
isPrimary?: boolean | undefined;
|
|
2765
2765
|
}>, "many">, {
|
|
2766
2766
|
id?: string | undefined;
|
|
2767
|
-
description?: string | undefined;
|
|
2768
2767
|
phoneNumber?: string | undefined;
|
|
2768
|
+
description?: string | null | undefined;
|
|
2769
2769
|
isPrimary?: boolean | undefined;
|
|
2770
2770
|
}[], {
|
|
2771
2771
|
id?: string | undefined;
|
|
2772
|
-
description?: string | undefined;
|
|
2773
2772
|
phoneNumber?: string | undefined;
|
|
2773
|
+
description?: string | null | undefined;
|
|
2774
2774
|
isPrimary?: boolean | undefined;
|
|
2775
2775
|
}[]>>;
|
|
2776
2776
|
nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2853,8 +2853,8 @@ export declare const workersContractRouter: {
|
|
|
2853
2853
|
email?: string | null | undefined;
|
|
2854
2854
|
phoneNumbers?: {
|
|
2855
2855
|
id?: string | undefined;
|
|
2856
|
-
description?: string | undefined;
|
|
2857
2856
|
phoneNumber?: string | undefined;
|
|
2857
|
+
description?: string | null | undefined;
|
|
2858
2858
|
isPrimary?: boolean | undefined;
|
|
2859
2859
|
}[] | undefined;
|
|
2860
2860
|
nino?: string | null | undefined;
|
|
@@ -2893,8 +2893,8 @@ export declare const workersContractRouter: {
|
|
|
2893
2893
|
email?: string | null | undefined;
|
|
2894
2894
|
phoneNumbers?: {
|
|
2895
2895
|
id?: string | undefined;
|
|
2896
|
-
description?: string | undefined;
|
|
2897
2896
|
phoneNumber?: string | undefined;
|
|
2897
|
+
description?: string | null | undefined;
|
|
2898
2898
|
isPrimary?: boolean | undefined;
|
|
2899
2899
|
}[] | undefined;
|
|
2900
2900
|
nino?: string | null | undefined;
|
|
@@ -3153,9 +3153,9 @@ export declare const workersContractRouter: {
|
|
|
3153
3153
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3154
3154
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3155
3155
|
}, "strip", z.ZodTypeAny, {
|
|
3156
|
-
id: string;
|
|
3157
3156
|
createdAt: string;
|
|
3158
3157
|
updatedAt: string;
|
|
3158
|
+
id: string;
|
|
3159
3159
|
firstName: string;
|
|
3160
3160
|
lastName: string;
|
|
3161
3161
|
phoneNumbers: {
|
|
@@ -3168,12 +3168,6 @@ export declare const workersContractRouter: {
|
|
|
3168
3168
|
hasTools: boolean;
|
|
3169
3169
|
hasPpe: boolean;
|
|
3170
3170
|
email?: string | null | undefined;
|
|
3171
|
-
createdBy?: {
|
|
3172
|
-
id: string;
|
|
3173
|
-
firstName: string;
|
|
3174
|
-
lastName: string;
|
|
3175
|
-
email: string;
|
|
3176
|
-
} | null | undefined;
|
|
3177
3171
|
nino?: string | null | undefined;
|
|
3178
3172
|
dateOfBirth?: string | null | undefined;
|
|
3179
3173
|
bio?: string | null | undefined;
|
|
@@ -3207,23 +3201,23 @@ export declare const workersContractRouter: {
|
|
|
3207
3201
|
expiryDate?: string | null | undefined;
|
|
3208
3202
|
} | null | undefined;
|
|
3209
3203
|
createdByUserId?: string | null | undefined;
|
|
3204
|
+
createdBy?: {
|
|
3205
|
+
id: string;
|
|
3206
|
+
firstName: string;
|
|
3207
|
+
lastName: string;
|
|
3208
|
+
email: string;
|
|
3209
|
+
} | null | undefined;
|
|
3210
3210
|
distanceKm?: number | null | undefined;
|
|
3211
3211
|
}, {
|
|
3212
|
-
id: string;
|
|
3213
3212
|
createdAt: string | Date;
|
|
3214
3213
|
updatedAt: string | Date;
|
|
3214
|
+
id: string;
|
|
3215
3215
|
firstName: string;
|
|
3216
3216
|
lastName: string;
|
|
3217
3217
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
3218
3218
|
hasTools: boolean;
|
|
3219
3219
|
hasPpe: boolean;
|
|
3220
3220
|
email?: string | null | undefined;
|
|
3221
|
-
createdBy?: {
|
|
3222
|
-
id: string;
|
|
3223
|
-
firstName: string;
|
|
3224
|
-
lastName: string;
|
|
3225
|
-
email: string;
|
|
3226
|
-
} | null | undefined;
|
|
3227
3221
|
phoneNumbers?: {
|
|
3228
3222
|
phoneNumber: string;
|
|
3229
3223
|
id?: string | undefined;
|
|
@@ -3263,6 +3257,12 @@ export declare const workersContractRouter: {
|
|
|
3263
3257
|
expiryDate?: string | Date | null | undefined;
|
|
3264
3258
|
} | null | undefined;
|
|
3265
3259
|
createdByUserId?: string | null | undefined;
|
|
3260
|
+
createdBy?: {
|
|
3261
|
+
id: string;
|
|
3262
|
+
firstName: string;
|
|
3263
|
+
lastName: string;
|
|
3264
|
+
email: string;
|
|
3265
|
+
} | null | undefined;
|
|
3266
3266
|
distanceKm?: number | null | undefined;
|
|
3267
3267
|
}>;
|
|
3268
3268
|
404: z.ZodObject<{
|