@dakkitor/api-contracts 1.1.73 → 1.1.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/first-agent.abilities.json +4 -1
- package/dist/abilities/second-agent.abilities.json +1 -0
- package/dist/actives/actives.contract.d.ts +2959 -2199
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +416 -416
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +2634 -1894
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +0 -2
- package/dist/call-history/call-history.contract.d.ts +409 -409
- package/dist/client-contacts/client-contacts.contract.d.ts +231 -231
- package/dist/clients/clients.contract.d.ts +98 -98
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1269 -749
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1069 -609
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -11
- package/dist/common/common-schemas.d.ts +0 -17
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -9
- package/dist/companies/companies.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
- package/dist/jobs/jobs.contract.d.ts +1053 -533
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +111 -111
- package/dist/leads/leads.contract.d.ts +101 -101
- package/dist/users/users.contract.d.ts +132 -132
- package/dist/workers/workers.contract.d.ts +200 -200
- package/package.json +1 -1
|
@@ -38,23 +38,23 @@ export declare const UpsertWorkerPhoneNumberSchema: z.ZodEffects<z.ZodObject<{
|
|
|
38
38
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
id?: string | undefined;
|
|
41
|
-
phoneNumber?: string | undefined;
|
|
42
41
|
description?: string | undefined;
|
|
42
|
+
phoneNumber?: string | undefined;
|
|
43
43
|
isPrimary?: boolean | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
id?: string | undefined;
|
|
46
|
-
phoneNumber?: string | undefined;
|
|
47
46
|
description?: string | undefined;
|
|
47
|
+
phoneNumber?: string | undefined;
|
|
48
48
|
isPrimary?: boolean | undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
id?: string | undefined;
|
|
51
|
-
phoneNumber?: string | undefined;
|
|
52
51
|
description?: string | undefined;
|
|
52
|
+
phoneNumber?: string | undefined;
|
|
53
53
|
isPrimary?: boolean | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
id?: string | undefined;
|
|
56
|
-
phoneNumber?: string | undefined;
|
|
57
56
|
description?: string | undefined;
|
|
57
|
+
phoneNumber?: string | undefined;
|
|
58
58
|
isPrimary?: boolean | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export declare const WorkerTradeSchema: z.ZodObject<{
|
|
@@ -153,15 +153,15 @@ export declare const WorkerUserSchema: z.ZodObject<{
|
|
|
153
153
|
lastName: z.ZodString;
|
|
154
154
|
email: z.ZodString;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
email: string;
|
|
157
156
|
id: string;
|
|
158
157
|
firstName: string;
|
|
159
158
|
lastName: string;
|
|
160
|
-
}, {
|
|
161
159
|
email: string;
|
|
160
|
+
}, {
|
|
162
161
|
id: string;
|
|
163
162
|
firstName: string;
|
|
164
163
|
lastName: string;
|
|
164
|
+
email: string;
|
|
165
165
|
}>;
|
|
166
166
|
export declare const WorkerSchema: z.ZodObject<{
|
|
167
167
|
id: z.ZodString;
|
|
@@ -272,21 +272,23 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
272
272
|
lastName: z.ZodString;
|
|
273
273
|
email: z.ZodString;
|
|
274
274
|
}, "strip", z.ZodTypeAny, {
|
|
275
|
-
email: string;
|
|
276
275
|
id: string;
|
|
277
276
|
firstName: string;
|
|
278
277
|
lastName: string;
|
|
279
|
-
}, {
|
|
280
278
|
email: string;
|
|
279
|
+
}, {
|
|
281
280
|
id: string;
|
|
282
281
|
firstName: string;
|
|
283
282
|
lastName: string;
|
|
283
|
+
email: string;
|
|
284
284
|
}>>>;
|
|
285
285
|
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
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
289
|
id: string;
|
|
290
|
+
createdAt: string;
|
|
291
|
+
updatedAt: string;
|
|
290
292
|
firstName: string;
|
|
291
293
|
lastName: string;
|
|
292
294
|
phoneNumbers: {
|
|
@@ -298,9 +300,13 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
298
300
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
299
301
|
hasTools: boolean;
|
|
300
302
|
hasPpe: boolean;
|
|
301
|
-
createdAt: string;
|
|
302
|
-
updatedAt: string;
|
|
303
303
|
email?: string | null | undefined;
|
|
304
|
+
createdBy?: {
|
|
305
|
+
id: string;
|
|
306
|
+
firstName: string;
|
|
307
|
+
lastName: string;
|
|
308
|
+
email: string;
|
|
309
|
+
} | null | undefined;
|
|
304
310
|
nino?: string | null | undefined;
|
|
305
311
|
dateOfBirth?: string | null | undefined;
|
|
306
312
|
bio?: string | null | undefined;
|
|
@@ -334,23 +340,23 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
334
340
|
expiryDate?: string | null | undefined;
|
|
335
341
|
} | null | undefined;
|
|
336
342
|
createdByUserId?: string | null | undefined;
|
|
337
|
-
createdBy?: {
|
|
338
|
-
email: string;
|
|
339
|
-
id: string;
|
|
340
|
-
firstName: string;
|
|
341
|
-
lastName: string;
|
|
342
|
-
} | null | undefined;
|
|
343
343
|
distanceKm?: number | null | undefined;
|
|
344
344
|
}, {
|
|
345
345
|
id: string;
|
|
346
|
+
createdAt: string | Date;
|
|
347
|
+
updatedAt: string | Date;
|
|
346
348
|
firstName: string;
|
|
347
349
|
lastName: string;
|
|
348
350
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
349
351
|
hasTools: boolean;
|
|
350
352
|
hasPpe: boolean;
|
|
351
|
-
createdAt: string | Date;
|
|
352
|
-
updatedAt: string | Date;
|
|
353
353
|
email?: string | null | undefined;
|
|
354
|
+
createdBy?: {
|
|
355
|
+
id: string;
|
|
356
|
+
firstName: string;
|
|
357
|
+
lastName: string;
|
|
358
|
+
email: string;
|
|
359
|
+
} | null | undefined;
|
|
354
360
|
phoneNumbers?: {
|
|
355
361
|
phoneNumber: string;
|
|
356
362
|
id?: string | undefined;
|
|
@@ -390,12 +396,6 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
390
396
|
expiryDate?: string | Date | null | undefined;
|
|
391
397
|
} | null | undefined;
|
|
392
398
|
createdByUserId?: string | null | undefined;
|
|
393
|
-
createdBy?: {
|
|
394
|
-
email: string;
|
|
395
|
-
id: string;
|
|
396
|
-
firstName: string;
|
|
397
|
-
lastName: string;
|
|
398
|
-
} | null | undefined;
|
|
399
399
|
distanceKm?: number | null | undefined;
|
|
400
400
|
}>;
|
|
401
401
|
export declare const CreateWorkerSchema: z.ZodObject<{
|
|
@@ -575,33 +575,33 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
|
|
|
575
575
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
576
576
|
}, "strip", z.ZodTypeAny, {
|
|
577
577
|
id?: string | undefined;
|
|
578
|
-
phoneNumber?: string | undefined;
|
|
579
578
|
description?: string | undefined;
|
|
579
|
+
phoneNumber?: string | undefined;
|
|
580
580
|
isPrimary?: boolean | undefined;
|
|
581
581
|
}, {
|
|
582
582
|
id?: string | undefined;
|
|
583
|
-
phoneNumber?: string | undefined;
|
|
584
583
|
description?: string | undefined;
|
|
584
|
+
phoneNumber?: string | undefined;
|
|
585
585
|
isPrimary?: boolean | undefined;
|
|
586
586
|
}>, {
|
|
587
587
|
id?: string | undefined;
|
|
588
|
-
phoneNumber?: string | undefined;
|
|
589
588
|
description?: string | undefined;
|
|
589
|
+
phoneNumber?: string | undefined;
|
|
590
590
|
isPrimary?: boolean | undefined;
|
|
591
591
|
}, {
|
|
592
592
|
id?: string | undefined;
|
|
593
|
-
phoneNumber?: string | undefined;
|
|
594
593
|
description?: string | undefined;
|
|
594
|
+
phoneNumber?: string | undefined;
|
|
595
595
|
isPrimary?: boolean | undefined;
|
|
596
596
|
}>, "many">, {
|
|
597
597
|
id?: string | undefined;
|
|
598
|
-
phoneNumber?: string | undefined;
|
|
599
598
|
description?: string | undefined;
|
|
599
|
+
phoneNumber?: string | undefined;
|
|
600
600
|
isPrimary?: boolean | undefined;
|
|
601
601
|
}[], {
|
|
602
602
|
id?: string | undefined;
|
|
603
|
-
phoneNumber?: string | undefined;
|
|
604
603
|
description?: string | undefined;
|
|
604
|
+
phoneNumber?: string | undefined;
|
|
605
605
|
isPrimary?: boolean | undefined;
|
|
606
606
|
}[]>>;
|
|
607
607
|
nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -679,13 +679,13 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
|
|
|
679
679
|
expiryDate?: string | Date | null | undefined;
|
|
680
680
|
}>>>;
|
|
681
681
|
}, "strip", z.ZodTypeAny, {
|
|
682
|
-
email?: string | null | undefined;
|
|
683
682
|
firstName?: string | undefined;
|
|
684
683
|
lastName?: string | undefined;
|
|
684
|
+
email?: string | null | undefined;
|
|
685
685
|
phoneNumbers?: {
|
|
686
686
|
id?: string | undefined;
|
|
687
|
-
phoneNumber?: string | undefined;
|
|
688
687
|
description?: string | undefined;
|
|
688
|
+
phoneNumber?: string | undefined;
|
|
689
689
|
isPrimary?: boolean | undefined;
|
|
690
690
|
}[] | undefined;
|
|
691
691
|
nino?: string | null | undefined;
|
|
@@ -719,13 +719,13 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
|
|
|
719
719
|
expiryDate?: string | null | undefined;
|
|
720
720
|
} | null | undefined;
|
|
721
721
|
}, {
|
|
722
|
-
email?: string | null | undefined;
|
|
723
722
|
firstName?: string | undefined;
|
|
724
723
|
lastName?: string | undefined;
|
|
724
|
+
email?: string | null | undefined;
|
|
725
725
|
phoneNumbers?: {
|
|
726
726
|
id?: string | undefined;
|
|
727
|
-
phoneNumber?: string | undefined;
|
|
728
727
|
description?: string | undefined;
|
|
728
|
+
phoneNumber?: string | undefined;
|
|
729
729
|
isPrimary?: boolean | undefined;
|
|
730
730
|
}[] | undefined;
|
|
731
731
|
nino?: string | null | undefined;
|
|
@@ -799,17 +799,19 @@ export declare const FilterWorkerSchema: z.ZodObject<{
|
|
|
799
799
|
}, "strip", z.ZodTypeAny, {
|
|
800
800
|
limit: number;
|
|
801
801
|
page: number;
|
|
802
|
-
|
|
802
|
+
postcode?: string | undefined;
|
|
803
|
+
name?: string | undefined;
|
|
804
|
+
sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
|
|
805
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
803
806
|
email?: string | undefined;
|
|
804
807
|
phone?: string | undefined;
|
|
808
|
+
createdBy?: string | undefined;
|
|
805
809
|
availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
806
810
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
807
811
|
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;
|
|
808
812
|
hasTools?: "only_with" | "only_without" | "all" | undefined;
|
|
809
813
|
hasPpe?: "only_with" | "only_without" | "all" | undefined;
|
|
810
|
-
|
|
811
|
-
createdBy?: string | undefined;
|
|
812
|
-
name?: string | undefined;
|
|
814
|
+
distance?: number | undefined;
|
|
813
815
|
tradeFilters?: {
|
|
814
816
|
tradeId: string;
|
|
815
817
|
mainTrade?: boolean | undefined;
|
|
@@ -818,22 +820,22 @@ export declare const FilterWorkerSchema: z.ZodObject<{
|
|
|
818
820
|
qualificationId?: string | undefined;
|
|
819
821
|
qualificationTypeId?: string | undefined;
|
|
820
822
|
}[] | undefined;
|
|
821
|
-
sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
|
|
822
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
823
823
|
}, {
|
|
824
|
-
|
|
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;
|
|
825
830
|
email?: string | undefined;
|
|
826
831
|
phone?: string | undefined;
|
|
832
|
+
createdBy?: string | undefined;
|
|
827
833
|
availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
828
834
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
829
835
|
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;
|
|
830
836
|
hasTools?: "only_with" | "only_without" | "all" | undefined;
|
|
831
837
|
hasPpe?: "only_with" | "only_without" | "all" | undefined;
|
|
832
|
-
|
|
833
|
-
createdBy?: string | undefined;
|
|
834
|
-
limit?: number | undefined;
|
|
835
|
-
page?: number | undefined;
|
|
836
|
-
name?: string | undefined;
|
|
838
|
+
distance?: number | undefined;
|
|
837
839
|
tradeFilters?: {
|
|
838
840
|
tradeId: string;
|
|
839
841
|
mainTrade?: unknown;
|
|
@@ -842,8 +844,6 @@ export declare const FilterWorkerSchema: z.ZodObject<{
|
|
|
842
844
|
qualificationId?: string | undefined;
|
|
843
845
|
qualificationTypeId?: string | undefined;
|
|
844
846
|
}[] | undefined;
|
|
845
|
-
sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
|
|
846
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
847
847
|
}>;
|
|
848
848
|
export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
849
849
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -955,21 +955,23 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
955
955
|
lastName: z.ZodString;
|
|
956
956
|
email: z.ZodString;
|
|
957
957
|
}, "strip", z.ZodTypeAny, {
|
|
958
|
-
email: string;
|
|
959
958
|
id: string;
|
|
960
959
|
firstName: string;
|
|
961
960
|
lastName: string;
|
|
962
|
-
}, {
|
|
963
961
|
email: string;
|
|
962
|
+
}, {
|
|
964
963
|
id: string;
|
|
965
964
|
firstName: string;
|
|
966
965
|
lastName: string;
|
|
966
|
+
email: string;
|
|
967
967
|
}>>>;
|
|
968
968
|
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
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
972
|
id: string;
|
|
973
|
+
createdAt: string;
|
|
974
|
+
updatedAt: string;
|
|
973
975
|
firstName: string;
|
|
974
976
|
lastName: string;
|
|
975
977
|
phoneNumbers: {
|
|
@@ -981,9 +983,13 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
981
983
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
982
984
|
hasTools: boolean;
|
|
983
985
|
hasPpe: boolean;
|
|
984
|
-
createdAt: string;
|
|
985
|
-
updatedAt: string;
|
|
986
986
|
email?: string | null | undefined;
|
|
987
|
+
createdBy?: {
|
|
988
|
+
id: string;
|
|
989
|
+
firstName: string;
|
|
990
|
+
lastName: string;
|
|
991
|
+
email: string;
|
|
992
|
+
} | null | undefined;
|
|
987
993
|
nino?: string | null | undefined;
|
|
988
994
|
dateOfBirth?: string | null | undefined;
|
|
989
995
|
bio?: string | null | undefined;
|
|
@@ -1017,23 +1023,23 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1017
1023
|
expiryDate?: string | null | undefined;
|
|
1018
1024
|
} | null | undefined;
|
|
1019
1025
|
createdByUserId?: string | null | undefined;
|
|
1020
|
-
createdBy?: {
|
|
1021
|
-
email: string;
|
|
1022
|
-
id: string;
|
|
1023
|
-
firstName: string;
|
|
1024
|
-
lastName: string;
|
|
1025
|
-
} | null | undefined;
|
|
1026
1026
|
distanceKm?: number | null | undefined;
|
|
1027
1027
|
}, {
|
|
1028
1028
|
id: string;
|
|
1029
|
+
createdAt: string | Date;
|
|
1030
|
+
updatedAt: string | Date;
|
|
1029
1031
|
firstName: string;
|
|
1030
1032
|
lastName: string;
|
|
1031
1033
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1032
1034
|
hasTools: boolean;
|
|
1033
1035
|
hasPpe: boolean;
|
|
1034
|
-
createdAt: string | Date;
|
|
1035
|
-
updatedAt: string | Date;
|
|
1036
1036
|
email?: string | null | undefined;
|
|
1037
|
+
createdBy?: {
|
|
1038
|
+
id: string;
|
|
1039
|
+
firstName: string;
|
|
1040
|
+
lastName: string;
|
|
1041
|
+
email: string;
|
|
1042
|
+
} | null | undefined;
|
|
1037
1043
|
phoneNumbers?: {
|
|
1038
1044
|
phoneNumber: string;
|
|
1039
1045
|
id?: string | undefined;
|
|
@@ -1073,12 +1079,6 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1073
1079
|
expiryDate?: string | Date | null | undefined;
|
|
1074
1080
|
} | null | undefined;
|
|
1075
1081
|
createdByUserId?: string | null | undefined;
|
|
1076
|
-
createdBy?: {
|
|
1077
|
-
email: string;
|
|
1078
|
-
id: string;
|
|
1079
|
-
firstName: string;
|
|
1080
|
-
lastName: string;
|
|
1081
|
-
} | null | undefined;
|
|
1082
1082
|
distanceKm?: number | null | undefined;
|
|
1083
1083
|
}>, "many">;
|
|
1084
1084
|
totalCount: z.ZodNumber;
|
|
@@ -1090,6 +1090,8 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1090
1090
|
limit: number;
|
|
1091
1091
|
items: {
|
|
1092
1092
|
id: string;
|
|
1093
|
+
createdAt: string;
|
|
1094
|
+
updatedAt: string;
|
|
1093
1095
|
firstName: string;
|
|
1094
1096
|
lastName: string;
|
|
1095
1097
|
phoneNumbers: {
|
|
@@ -1101,9 +1103,13 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1101
1103
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1102
1104
|
hasTools: boolean;
|
|
1103
1105
|
hasPpe: boolean;
|
|
1104
|
-
createdAt: string;
|
|
1105
|
-
updatedAt: string;
|
|
1106
1106
|
email?: string | null | undefined;
|
|
1107
|
+
createdBy?: {
|
|
1108
|
+
id: string;
|
|
1109
|
+
firstName: string;
|
|
1110
|
+
lastName: string;
|
|
1111
|
+
email: string;
|
|
1112
|
+
} | null | undefined;
|
|
1107
1113
|
nino?: string | null | undefined;
|
|
1108
1114
|
dateOfBirth?: string | null | undefined;
|
|
1109
1115
|
bio?: string | null | undefined;
|
|
@@ -1137,12 +1143,6 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1137
1143
|
expiryDate?: string | null | undefined;
|
|
1138
1144
|
} | null | undefined;
|
|
1139
1145
|
createdByUserId?: string | null | undefined;
|
|
1140
|
-
createdBy?: {
|
|
1141
|
-
email: string;
|
|
1142
|
-
id: string;
|
|
1143
|
-
firstName: string;
|
|
1144
|
-
lastName: string;
|
|
1145
|
-
} | null | undefined;
|
|
1146
1146
|
distanceKm?: number | null | undefined;
|
|
1147
1147
|
}[];
|
|
1148
1148
|
totalCount: number;
|
|
@@ -1153,14 +1153,20 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1153
1153
|
limit: number;
|
|
1154
1154
|
items: {
|
|
1155
1155
|
id: string;
|
|
1156
|
+
createdAt: string | Date;
|
|
1157
|
+
updatedAt: string | Date;
|
|
1156
1158
|
firstName: string;
|
|
1157
1159
|
lastName: string;
|
|
1158
1160
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1159
1161
|
hasTools: boolean;
|
|
1160
1162
|
hasPpe: boolean;
|
|
1161
|
-
createdAt: string | Date;
|
|
1162
|
-
updatedAt: string | Date;
|
|
1163
1163
|
email?: string | null | undefined;
|
|
1164
|
+
createdBy?: {
|
|
1165
|
+
id: string;
|
|
1166
|
+
firstName: string;
|
|
1167
|
+
lastName: string;
|
|
1168
|
+
email: string;
|
|
1169
|
+
} | null | undefined;
|
|
1164
1170
|
phoneNumbers?: {
|
|
1165
1171
|
phoneNumber: string;
|
|
1166
1172
|
id?: string | undefined;
|
|
@@ -1200,12 +1206,6 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
1200
1206
|
expiryDate?: string | Date | null | undefined;
|
|
1201
1207
|
} | null | undefined;
|
|
1202
1208
|
createdByUserId?: string | null | undefined;
|
|
1203
|
-
createdBy?: {
|
|
1204
|
-
email: string;
|
|
1205
|
-
id: string;
|
|
1206
|
-
firstName: string;
|
|
1207
|
-
lastName: string;
|
|
1208
|
-
} | null | undefined;
|
|
1209
1209
|
distanceKm?: number | null | undefined;
|
|
1210
1210
|
}[];
|
|
1211
1211
|
totalCount: number;
|
|
@@ -1617,21 +1617,23 @@ export declare const workersContractRouter: {
|
|
|
1617
1617
|
lastName: z.ZodString;
|
|
1618
1618
|
email: z.ZodString;
|
|
1619
1619
|
}, "strip", z.ZodTypeAny, {
|
|
1620
|
-
email: string;
|
|
1621
1620
|
id: string;
|
|
1622
1621
|
firstName: string;
|
|
1623
1622
|
lastName: string;
|
|
1624
|
-
}, {
|
|
1625
1623
|
email: string;
|
|
1624
|
+
}, {
|
|
1626
1625
|
id: string;
|
|
1627
1626
|
firstName: string;
|
|
1628
1627
|
lastName: string;
|
|
1628
|
+
email: string;
|
|
1629
1629
|
}>>>;
|
|
1630
1630
|
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
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
1634
|
id: string;
|
|
1635
|
+
createdAt: string;
|
|
1636
|
+
updatedAt: string;
|
|
1635
1637
|
firstName: string;
|
|
1636
1638
|
lastName: string;
|
|
1637
1639
|
phoneNumbers: {
|
|
@@ -1643,9 +1645,13 @@ export declare const workersContractRouter: {
|
|
|
1643
1645
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1644
1646
|
hasTools: boolean;
|
|
1645
1647
|
hasPpe: boolean;
|
|
1646
|
-
createdAt: string;
|
|
1647
|
-
updatedAt: string;
|
|
1648
1648
|
email?: string | null | undefined;
|
|
1649
|
+
createdBy?: {
|
|
1650
|
+
id: string;
|
|
1651
|
+
firstName: string;
|
|
1652
|
+
lastName: string;
|
|
1653
|
+
email: string;
|
|
1654
|
+
} | null | undefined;
|
|
1649
1655
|
nino?: string | null | undefined;
|
|
1650
1656
|
dateOfBirth?: string | null | undefined;
|
|
1651
1657
|
bio?: string | null | undefined;
|
|
@@ -1679,23 +1685,23 @@ export declare const workersContractRouter: {
|
|
|
1679
1685
|
expiryDate?: string | null | undefined;
|
|
1680
1686
|
} | null | undefined;
|
|
1681
1687
|
createdByUserId?: string | null | undefined;
|
|
1682
|
-
createdBy?: {
|
|
1683
|
-
email: string;
|
|
1684
|
-
id: string;
|
|
1685
|
-
firstName: string;
|
|
1686
|
-
lastName: string;
|
|
1687
|
-
} | null | undefined;
|
|
1688
1688
|
distanceKm?: number | null | undefined;
|
|
1689
1689
|
}, {
|
|
1690
1690
|
id: string;
|
|
1691
|
+
createdAt: string | Date;
|
|
1692
|
+
updatedAt: string | Date;
|
|
1691
1693
|
firstName: string;
|
|
1692
1694
|
lastName: string;
|
|
1693
1695
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
1694
1696
|
hasTools: boolean;
|
|
1695
1697
|
hasPpe: boolean;
|
|
1696
|
-
createdAt: string | Date;
|
|
1697
|
-
updatedAt: string | Date;
|
|
1698
1698
|
email?: string | null | undefined;
|
|
1699
|
+
createdBy?: {
|
|
1700
|
+
id: string;
|
|
1701
|
+
firstName: string;
|
|
1702
|
+
lastName: string;
|
|
1703
|
+
email: string;
|
|
1704
|
+
} | null | undefined;
|
|
1699
1705
|
phoneNumbers?: {
|
|
1700
1706
|
phoneNumber: string;
|
|
1701
1707
|
id?: string | undefined;
|
|
@@ -1735,12 +1741,6 @@ export declare const workersContractRouter: {
|
|
|
1735
1741
|
expiryDate?: string | Date | null | undefined;
|
|
1736
1742
|
} | null | undefined;
|
|
1737
1743
|
createdByUserId?: string | null | undefined;
|
|
1738
|
-
createdBy?: {
|
|
1739
|
-
email: string;
|
|
1740
|
-
id: string;
|
|
1741
|
-
firstName: string;
|
|
1742
|
-
lastName: string;
|
|
1743
|
-
} | null | undefined;
|
|
1744
1744
|
distanceKm?: number | null | undefined;
|
|
1745
1745
|
}>;
|
|
1746
1746
|
409: z.ZodObject<{
|
|
@@ -1771,12 +1771,6 @@ export declare const workersContractRouter: {
|
|
|
1771
1771
|
};
|
|
1772
1772
|
};
|
|
1773
1773
|
findAll: {
|
|
1774
|
-
metadata: {
|
|
1775
|
-
tags: string[];
|
|
1776
|
-
openApi: {
|
|
1777
|
-
operationId: string;
|
|
1778
|
-
};
|
|
1779
|
-
};
|
|
1780
1774
|
query: z.ZodObject<{
|
|
1781
1775
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1782
1776
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1817,17 +1811,19 @@ export declare const workersContractRouter: {
|
|
|
1817
1811
|
}, "strip", z.ZodTypeAny, {
|
|
1818
1812
|
limit: number;
|
|
1819
1813
|
page: number;
|
|
1820
|
-
|
|
1814
|
+
postcode?: string | undefined;
|
|
1815
|
+
name?: string | undefined;
|
|
1816
|
+
sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
|
|
1817
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1821
1818
|
email?: string | undefined;
|
|
1822
1819
|
phone?: string | undefined;
|
|
1820
|
+
createdBy?: string | undefined;
|
|
1823
1821
|
availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1824
1822
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
1825
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;
|
|
1826
1824
|
hasTools?: "only_with" | "only_without" | "all" | undefined;
|
|
1827
1825
|
hasPpe?: "only_with" | "only_without" | "all" | undefined;
|
|
1828
|
-
|
|
1829
|
-
createdBy?: string | undefined;
|
|
1830
|
-
name?: string | undefined;
|
|
1826
|
+
distance?: number | undefined;
|
|
1831
1827
|
tradeFilters?: {
|
|
1832
1828
|
tradeId: string;
|
|
1833
1829
|
mainTrade?: boolean | undefined;
|
|
@@ -1836,22 +1832,22 @@ export declare const workersContractRouter: {
|
|
|
1836
1832
|
qualificationId?: string | undefined;
|
|
1837
1833
|
qualificationTypeId?: string | undefined;
|
|
1838
1834
|
}[] | undefined;
|
|
1839
|
-
sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
|
|
1840
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1841
1835
|
}, {
|
|
1842
|
-
|
|
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;
|
|
1843
1842
|
email?: string | undefined;
|
|
1844
1843
|
phone?: string | undefined;
|
|
1844
|
+
createdBy?: string | undefined;
|
|
1845
1845
|
availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1846
1846
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
1847
1847
|
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
1848
|
hasTools?: "only_with" | "only_without" | "all" | undefined;
|
|
1849
1849
|
hasPpe?: "only_with" | "only_without" | "all" | undefined;
|
|
1850
|
-
|
|
1851
|
-
createdBy?: string | undefined;
|
|
1852
|
-
limit?: number | undefined;
|
|
1853
|
-
page?: number | undefined;
|
|
1854
|
-
name?: string | undefined;
|
|
1850
|
+
distance?: number | undefined;
|
|
1855
1851
|
tradeFilters?: {
|
|
1856
1852
|
tradeId: string;
|
|
1857
1853
|
mainTrade?: unknown;
|
|
@@ -1860,9 +1856,13 @@ export declare const workersContractRouter: {
|
|
|
1860
1856
|
qualificationId?: string | undefined;
|
|
1861
1857
|
qualificationTypeId?: string | undefined;
|
|
1862
1858
|
}[] | undefined;
|
|
1863
|
-
sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
|
|
1864
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1865
1859
|
}>;
|
|
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";
|
|
@@ -2077,21 +2077,23 @@ export declare const workersContractRouter: {
|
|
|
2077
2077
|
lastName: z.ZodString;
|
|
2078
2078
|
email: z.ZodString;
|
|
2079
2079
|
}, "strip", z.ZodTypeAny, {
|
|
2080
|
-
email: string;
|
|
2081
2080
|
id: string;
|
|
2082
2081
|
firstName: string;
|
|
2083
2082
|
lastName: string;
|
|
2084
|
-
}, {
|
|
2085
2083
|
email: string;
|
|
2084
|
+
}, {
|
|
2086
2085
|
id: string;
|
|
2087
2086
|
firstName: string;
|
|
2088
2087
|
lastName: string;
|
|
2088
|
+
email: string;
|
|
2089
2089
|
}>>>;
|
|
2090
2090
|
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
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
2094
|
id: string;
|
|
2095
|
+
createdAt: string;
|
|
2096
|
+
updatedAt: string;
|
|
2095
2097
|
firstName: string;
|
|
2096
2098
|
lastName: string;
|
|
2097
2099
|
phoneNumbers: {
|
|
@@ -2103,9 +2105,13 @@ export declare const workersContractRouter: {
|
|
|
2103
2105
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2104
2106
|
hasTools: boolean;
|
|
2105
2107
|
hasPpe: boolean;
|
|
2106
|
-
createdAt: string;
|
|
2107
|
-
updatedAt: string;
|
|
2108
2108
|
email?: string | null | undefined;
|
|
2109
|
+
createdBy?: {
|
|
2110
|
+
id: string;
|
|
2111
|
+
firstName: string;
|
|
2112
|
+
lastName: string;
|
|
2113
|
+
email: string;
|
|
2114
|
+
} | null | undefined;
|
|
2109
2115
|
nino?: string | null | undefined;
|
|
2110
2116
|
dateOfBirth?: string | null | undefined;
|
|
2111
2117
|
bio?: string | null | undefined;
|
|
@@ -2139,23 +2145,23 @@ export declare const workersContractRouter: {
|
|
|
2139
2145
|
expiryDate?: string | null | undefined;
|
|
2140
2146
|
} | null | undefined;
|
|
2141
2147
|
createdByUserId?: string | null | undefined;
|
|
2142
|
-
createdBy?: {
|
|
2143
|
-
email: string;
|
|
2144
|
-
id: string;
|
|
2145
|
-
firstName: string;
|
|
2146
|
-
lastName: string;
|
|
2147
|
-
} | null | undefined;
|
|
2148
2148
|
distanceKm?: number | null | undefined;
|
|
2149
2149
|
}, {
|
|
2150
2150
|
id: string;
|
|
2151
|
+
createdAt: string | Date;
|
|
2152
|
+
updatedAt: string | Date;
|
|
2151
2153
|
firstName: string;
|
|
2152
2154
|
lastName: string;
|
|
2153
2155
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2154
2156
|
hasTools: boolean;
|
|
2155
2157
|
hasPpe: boolean;
|
|
2156
|
-
createdAt: string | Date;
|
|
2157
|
-
updatedAt: string | Date;
|
|
2158
2158
|
email?: string | null | undefined;
|
|
2159
|
+
createdBy?: {
|
|
2160
|
+
id: string;
|
|
2161
|
+
firstName: string;
|
|
2162
|
+
lastName: string;
|
|
2163
|
+
email: string;
|
|
2164
|
+
} | null | undefined;
|
|
2159
2165
|
phoneNumbers?: {
|
|
2160
2166
|
phoneNumber: string;
|
|
2161
2167
|
id?: string | undefined;
|
|
@@ -2195,12 +2201,6 @@ export declare const workersContractRouter: {
|
|
|
2195
2201
|
expiryDate?: string | Date | null | undefined;
|
|
2196
2202
|
} | null | undefined;
|
|
2197
2203
|
createdByUserId?: string | null | undefined;
|
|
2198
|
-
createdBy?: {
|
|
2199
|
-
email: string;
|
|
2200
|
-
id: string;
|
|
2201
|
-
firstName: string;
|
|
2202
|
-
lastName: string;
|
|
2203
|
-
} | null | undefined;
|
|
2204
2204
|
distanceKm?: number | null | undefined;
|
|
2205
2205
|
}>, "many">;
|
|
2206
2206
|
totalCount: z.ZodNumber;
|
|
@@ -2212,6 +2212,8 @@ export declare const workersContractRouter: {
|
|
|
2212
2212
|
limit: number;
|
|
2213
2213
|
items: {
|
|
2214
2214
|
id: string;
|
|
2215
|
+
createdAt: string;
|
|
2216
|
+
updatedAt: string;
|
|
2215
2217
|
firstName: string;
|
|
2216
2218
|
lastName: string;
|
|
2217
2219
|
phoneNumbers: {
|
|
@@ -2223,9 +2225,13 @@ export declare const workersContractRouter: {
|
|
|
2223
2225
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2224
2226
|
hasTools: boolean;
|
|
2225
2227
|
hasPpe: boolean;
|
|
2226
|
-
createdAt: string;
|
|
2227
|
-
updatedAt: string;
|
|
2228
2228
|
email?: string | null | undefined;
|
|
2229
|
+
createdBy?: {
|
|
2230
|
+
id: string;
|
|
2231
|
+
firstName: string;
|
|
2232
|
+
lastName: string;
|
|
2233
|
+
email: string;
|
|
2234
|
+
} | null | undefined;
|
|
2229
2235
|
nino?: string | null | undefined;
|
|
2230
2236
|
dateOfBirth?: string | null | undefined;
|
|
2231
2237
|
bio?: string | null | undefined;
|
|
@@ -2259,12 +2265,6 @@ export declare const workersContractRouter: {
|
|
|
2259
2265
|
expiryDate?: string | null | undefined;
|
|
2260
2266
|
} | null | undefined;
|
|
2261
2267
|
createdByUserId?: string | null | undefined;
|
|
2262
|
-
createdBy?: {
|
|
2263
|
-
email: string;
|
|
2264
|
-
id: string;
|
|
2265
|
-
firstName: string;
|
|
2266
|
-
lastName: string;
|
|
2267
|
-
} | null | undefined;
|
|
2268
2268
|
distanceKm?: number | null | undefined;
|
|
2269
2269
|
}[];
|
|
2270
2270
|
totalCount: number;
|
|
@@ -2275,14 +2275,20 @@ export declare const workersContractRouter: {
|
|
|
2275
2275
|
limit: number;
|
|
2276
2276
|
items: {
|
|
2277
2277
|
id: string;
|
|
2278
|
+
createdAt: string | Date;
|
|
2279
|
+
updatedAt: string | Date;
|
|
2278
2280
|
firstName: string;
|
|
2279
2281
|
lastName: string;
|
|
2280
2282
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2281
2283
|
hasTools: boolean;
|
|
2282
2284
|
hasPpe: boolean;
|
|
2283
|
-
createdAt: string | Date;
|
|
2284
|
-
updatedAt: string | Date;
|
|
2285
2285
|
email?: string | null | undefined;
|
|
2286
|
+
createdBy?: {
|
|
2287
|
+
id: string;
|
|
2288
|
+
firstName: string;
|
|
2289
|
+
lastName: string;
|
|
2290
|
+
email: string;
|
|
2291
|
+
} | null | undefined;
|
|
2286
2292
|
phoneNumbers?: {
|
|
2287
2293
|
phoneNumber: string;
|
|
2288
2294
|
id?: string | undefined;
|
|
@@ -2322,12 +2328,6 @@ export declare const workersContractRouter: {
|
|
|
2322
2328
|
expiryDate?: string | Date | null | undefined;
|
|
2323
2329
|
} | null | undefined;
|
|
2324
2330
|
createdByUserId?: string | null | undefined;
|
|
2325
|
-
createdBy?: {
|
|
2326
|
-
email: string;
|
|
2327
|
-
id: string;
|
|
2328
|
-
firstName: string;
|
|
2329
|
-
lastName: string;
|
|
2330
|
-
} | null | undefined;
|
|
2331
2331
|
distanceKm?: number | null | undefined;
|
|
2332
2332
|
}[];
|
|
2333
2333
|
totalCount: number;
|
|
@@ -2564,21 +2564,23 @@ export declare const workersContractRouter: {
|
|
|
2564
2564
|
lastName: z.ZodString;
|
|
2565
2565
|
email: z.ZodString;
|
|
2566
2566
|
}, "strip", z.ZodTypeAny, {
|
|
2567
|
-
email: string;
|
|
2568
2567
|
id: string;
|
|
2569
2568
|
firstName: string;
|
|
2570
2569
|
lastName: string;
|
|
2571
|
-
}, {
|
|
2572
2570
|
email: string;
|
|
2571
|
+
}, {
|
|
2573
2572
|
id: string;
|
|
2574
2573
|
firstName: string;
|
|
2575
2574
|
lastName: string;
|
|
2575
|
+
email: string;
|
|
2576
2576
|
}>>>;
|
|
2577
2577
|
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
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
2581
|
id: string;
|
|
2582
|
+
createdAt: string;
|
|
2583
|
+
updatedAt: string;
|
|
2582
2584
|
firstName: string;
|
|
2583
2585
|
lastName: string;
|
|
2584
2586
|
phoneNumbers: {
|
|
@@ -2590,9 +2592,13 @@ export declare const workersContractRouter: {
|
|
|
2590
2592
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2591
2593
|
hasTools: boolean;
|
|
2592
2594
|
hasPpe: boolean;
|
|
2593
|
-
createdAt: string;
|
|
2594
|
-
updatedAt: string;
|
|
2595
2595
|
email?: string | null | undefined;
|
|
2596
|
+
createdBy?: {
|
|
2597
|
+
id: string;
|
|
2598
|
+
firstName: string;
|
|
2599
|
+
lastName: string;
|
|
2600
|
+
email: string;
|
|
2601
|
+
} | null | undefined;
|
|
2596
2602
|
nino?: string | null | undefined;
|
|
2597
2603
|
dateOfBirth?: string | null | undefined;
|
|
2598
2604
|
bio?: string | null | undefined;
|
|
@@ -2626,23 +2632,23 @@ export declare const workersContractRouter: {
|
|
|
2626
2632
|
expiryDate?: string | null | undefined;
|
|
2627
2633
|
} | null | undefined;
|
|
2628
2634
|
createdByUserId?: string | null | undefined;
|
|
2629
|
-
createdBy?: {
|
|
2630
|
-
email: string;
|
|
2631
|
-
id: string;
|
|
2632
|
-
firstName: string;
|
|
2633
|
-
lastName: string;
|
|
2634
|
-
} | null | undefined;
|
|
2635
2635
|
distanceKm?: number | null | undefined;
|
|
2636
2636
|
}, {
|
|
2637
2637
|
id: string;
|
|
2638
|
+
createdAt: string | Date;
|
|
2639
|
+
updatedAt: string | Date;
|
|
2638
2640
|
firstName: string;
|
|
2639
2641
|
lastName: string;
|
|
2640
2642
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
2641
2643
|
hasTools: boolean;
|
|
2642
2644
|
hasPpe: boolean;
|
|
2643
|
-
createdAt: string | Date;
|
|
2644
|
-
updatedAt: string | Date;
|
|
2645
2645
|
email?: string | null | undefined;
|
|
2646
|
+
createdBy?: {
|
|
2647
|
+
id: string;
|
|
2648
|
+
firstName: string;
|
|
2649
|
+
lastName: string;
|
|
2650
|
+
email: string;
|
|
2651
|
+
} | null | undefined;
|
|
2646
2652
|
phoneNumbers?: {
|
|
2647
2653
|
phoneNumber: string;
|
|
2648
2654
|
id?: string | undefined;
|
|
@@ -2682,12 +2688,6 @@ export declare const workersContractRouter: {
|
|
|
2682
2688
|
expiryDate?: string | Date | null | undefined;
|
|
2683
2689
|
} | null | undefined;
|
|
2684
2690
|
createdByUserId?: string | null | undefined;
|
|
2685
|
-
createdBy?: {
|
|
2686
|
-
email: string;
|
|
2687
|
-
id: string;
|
|
2688
|
-
firstName: string;
|
|
2689
|
-
lastName: string;
|
|
2690
|
-
} | null | undefined;
|
|
2691
2691
|
distanceKm?: number | null | undefined;
|
|
2692
2692
|
}>;
|
|
2693
2693
|
404: z.ZodObject<{
|
|
@@ -2744,33 +2744,33 @@ export declare const workersContractRouter: {
|
|
|
2744
2744
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
2745
2745
|
}, "strip", z.ZodTypeAny, {
|
|
2746
2746
|
id?: string | undefined;
|
|
2747
|
-
phoneNumber?: string | undefined;
|
|
2748
2747
|
description?: string | undefined;
|
|
2748
|
+
phoneNumber?: string | undefined;
|
|
2749
2749
|
isPrimary?: boolean | undefined;
|
|
2750
2750
|
}, {
|
|
2751
2751
|
id?: string | undefined;
|
|
2752
|
-
phoneNumber?: string | undefined;
|
|
2753
2752
|
description?: string | undefined;
|
|
2753
|
+
phoneNumber?: string | undefined;
|
|
2754
2754
|
isPrimary?: boolean | undefined;
|
|
2755
2755
|
}>, {
|
|
2756
2756
|
id?: string | undefined;
|
|
2757
|
-
phoneNumber?: string | undefined;
|
|
2758
2757
|
description?: string | undefined;
|
|
2758
|
+
phoneNumber?: string | undefined;
|
|
2759
2759
|
isPrimary?: boolean | undefined;
|
|
2760
2760
|
}, {
|
|
2761
2761
|
id?: string | undefined;
|
|
2762
|
-
phoneNumber?: string | undefined;
|
|
2763
2762
|
description?: string | undefined;
|
|
2763
|
+
phoneNumber?: string | undefined;
|
|
2764
2764
|
isPrimary?: boolean | undefined;
|
|
2765
2765
|
}>, "many">, {
|
|
2766
2766
|
id?: string | undefined;
|
|
2767
|
-
phoneNumber?: string | undefined;
|
|
2768
2767
|
description?: string | undefined;
|
|
2768
|
+
phoneNumber?: string | undefined;
|
|
2769
2769
|
isPrimary?: boolean | undefined;
|
|
2770
2770
|
}[], {
|
|
2771
2771
|
id?: string | undefined;
|
|
2772
|
-
phoneNumber?: string | undefined;
|
|
2773
2772
|
description?: string | undefined;
|
|
2773
|
+
phoneNumber?: string | undefined;
|
|
2774
2774
|
isPrimary?: boolean | undefined;
|
|
2775
2775
|
}[]>>;
|
|
2776
2776
|
nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2848,13 +2848,13 @@ export declare const workersContractRouter: {
|
|
|
2848
2848
|
expiryDate?: string | Date | null | undefined;
|
|
2849
2849
|
}>>>;
|
|
2850
2850
|
}, "strip", z.ZodTypeAny, {
|
|
2851
|
-
email?: string | null | undefined;
|
|
2852
2851
|
firstName?: string | undefined;
|
|
2853
2852
|
lastName?: string | undefined;
|
|
2853
|
+
email?: string | null | undefined;
|
|
2854
2854
|
phoneNumbers?: {
|
|
2855
2855
|
id?: string | undefined;
|
|
2856
|
-
phoneNumber?: string | undefined;
|
|
2857
2856
|
description?: string | undefined;
|
|
2857
|
+
phoneNumber?: string | undefined;
|
|
2858
2858
|
isPrimary?: boolean | undefined;
|
|
2859
2859
|
}[] | undefined;
|
|
2860
2860
|
nino?: string | null | undefined;
|
|
@@ -2888,13 +2888,13 @@ export declare const workersContractRouter: {
|
|
|
2888
2888
|
expiryDate?: string | null | undefined;
|
|
2889
2889
|
} | null | undefined;
|
|
2890
2890
|
}, {
|
|
2891
|
-
email?: string | null | undefined;
|
|
2892
2891
|
firstName?: string | undefined;
|
|
2893
2892
|
lastName?: string | undefined;
|
|
2893
|
+
email?: string | null | undefined;
|
|
2894
2894
|
phoneNumbers?: {
|
|
2895
2895
|
id?: string | undefined;
|
|
2896
|
-
phoneNumber?: string | undefined;
|
|
2897
2896
|
description?: string | undefined;
|
|
2897
|
+
phoneNumber?: string | undefined;
|
|
2898
2898
|
isPrimary?: boolean | undefined;
|
|
2899
2899
|
}[] | undefined;
|
|
2900
2900
|
nino?: string | null | undefined;
|
|
@@ -3139,21 +3139,23 @@ export declare const workersContractRouter: {
|
|
|
3139
3139
|
lastName: z.ZodString;
|
|
3140
3140
|
email: z.ZodString;
|
|
3141
3141
|
}, "strip", z.ZodTypeAny, {
|
|
3142
|
-
email: string;
|
|
3143
3142
|
id: string;
|
|
3144
3143
|
firstName: string;
|
|
3145
3144
|
lastName: string;
|
|
3146
|
-
}, {
|
|
3147
3145
|
email: string;
|
|
3146
|
+
}, {
|
|
3148
3147
|
id: string;
|
|
3149
3148
|
firstName: string;
|
|
3150
3149
|
lastName: string;
|
|
3150
|
+
email: string;
|
|
3151
3151
|
}>>>;
|
|
3152
3152
|
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
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
3156
|
id: string;
|
|
3157
|
+
createdAt: string;
|
|
3158
|
+
updatedAt: string;
|
|
3157
3159
|
firstName: string;
|
|
3158
3160
|
lastName: string;
|
|
3159
3161
|
phoneNumbers: {
|
|
@@ -3165,9 +3167,13 @@ export declare const workersContractRouter: {
|
|
|
3165
3167
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
3166
3168
|
hasTools: boolean;
|
|
3167
3169
|
hasPpe: boolean;
|
|
3168
|
-
createdAt: string;
|
|
3169
|
-
updatedAt: string;
|
|
3170
3170
|
email?: string | null | undefined;
|
|
3171
|
+
createdBy?: {
|
|
3172
|
+
id: string;
|
|
3173
|
+
firstName: string;
|
|
3174
|
+
lastName: string;
|
|
3175
|
+
email: string;
|
|
3176
|
+
} | null | undefined;
|
|
3171
3177
|
nino?: string | null | undefined;
|
|
3172
3178
|
dateOfBirth?: string | null | undefined;
|
|
3173
3179
|
bio?: string | null | undefined;
|
|
@@ -3201,23 +3207,23 @@ export declare const workersContractRouter: {
|
|
|
3201
3207
|
expiryDate?: string | null | undefined;
|
|
3202
3208
|
} | null | undefined;
|
|
3203
3209
|
createdByUserId?: string | null | undefined;
|
|
3204
|
-
createdBy?: {
|
|
3205
|
-
email: string;
|
|
3206
|
-
id: string;
|
|
3207
|
-
firstName: string;
|
|
3208
|
-
lastName: string;
|
|
3209
|
-
} | null | undefined;
|
|
3210
3210
|
distanceKm?: number | null | undefined;
|
|
3211
3211
|
}, {
|
|
3212
3212
|
id: string;
|
|
3213
|
+
createdAt: string | Date;
|
|
3214
|
+
updatedAt: string | Date;
|
|
3213
3215
|
firstName: string;
|
|
3214
3216
|
lastName: string;
|
|
3215
3217
|
availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
|
|
3216
3218
|
hasTools: boolean;
|
|
3217
3219
|
hasPpe: boolean;
|
|
3218
|
-
createdAt: string | Date;
|
|
3219
|
-
updatedAt: string | Date;
|
|
3220
3220
|
email?: string | null | undefined;
|
|
3221
|
+
createdBy?: {
|
|
3222
|
+
id: string;
|
|
3223
|
+
firstName: string;
|
|
3224
|
+
lastName: string;
|
|
3225
|
+
email: string;
|
|
3226
|
+
} | null | undefined;
|
|
3221
3227
|
phoneNumbers?: {
|
|
3222
3228
|
phoneNumber: string;
|
|
3223
3229
|
id?: string | undefined;
|
|
@@ -3257,12 +3263,6 @@ export declare const workersContractRouter: {
|
|
|
3257
3263
|
expiryDate?: string | Date | null | undefined;
|
|
3258
3264
|
} | null | undefined;
|
|
3259
3265
|
createdByUserId?: string | null | undefined;
|
|
3260
|
-
createdBy?: {
|
|
3261
|
-
email: string;
|
|
3262
|
-
id: string;
|
|
3263
|
-
firstName: string;
|
|
3264
|
-
lastName: string;
|
|
3265
|
-
} | null | undefined;
|
|
3266
3266
|
distanceKm?: number | null | undefined;
|
|
3267
3267
|
}>;
|
|
3268
3268
|
404: z.ZodObject<{
|