@dakkitor/api-contracts 1.1.120 → 1.1.122

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.
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  export declare const AvailabilitySchema: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
3
3
  export declare const WorkerSortableFieldsSchema: z.ZodEnum<["nameSimilarity", "fullName", "distance", "email", "phone"]>;
4
4
  export declare const BooleanFilterSchema: z.ZodDefault<z.ZodEnum<["only_with", "only_without", "all"]>>;
@@ -154,14 +154,14 @@ export declare const WorkerUserSchema: z.ZodObject<{
154
154
  lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
155
155
  email: z.ZodString;
156
156
  }, "strip", z.ZodTypeAny, {
157
+ email: string;
157
158
  id: string;
158
159
  firstName: string;
159
- email: string;
160
160
  lastName?: string | null | undefined;
161
161
  }, {
162
+ email: string;
162
163
  id: string;
163
164
  firstName: string;
164
- email: string;
165
165
  lastName?: string | null | undefined;
166
166
  }>;
167
167
  export declare const WorkerSchema: z.ZodObject<{
@@ -293,27 +293,27 @@ export declare const WorkerSchema: z.ZodObject<{
293
293
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
294
294
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
295
295
  }, "strip", z.ZodTypeAny, {
296
+ email: string;
296
297
  id: string;
297
- createdAt: string;
298
- updatedAt: string;
299
298
  firstName: string;
300
299
  lastName: string;
301
- email: string;
302
300
  phoneNumbers: {
303
301
  id: string;
304
302
  phoneNumber: string;
305
303
  isPrimary: boolean;
306
304
  description?: string | null | undefined;
307
305
  }[];
306
+ createdAt: string;
307
+ updatedAt: string;
308
308
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
309
309
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
310
310
  }, {
311
+ email: string;
311
312
  id: string;
312
- createdAt: string | Date;
313
- updatedAt: string | Date;
314
313
  firstName: string;
315
314
  lastName: string;
316
- email: string;
315
+ createdAt: string | Date;
316
+ updatedAt: string | Date;
317
317
  phoneNumbers?: {
318
318
  id: string;
319
319
  phoneNumber: string;
@@ -328,8 +328,6 @@ export declare const WorkerSchema: z.ZodObject<{
328
328
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
329
329
  }, "strip", z.ZodTypeAny, {
330
330
  id: string;
331
- createdAt: string;
332
- updatedAt: string;
333
331
  firstName: string;
334
332
  phoneNumbers: {
335
333
  id: string;
@@ -340,8 +338,10 @@ export declare const WorkerSchema: z.ZodObject<{
340
338
  hasTools: boolean;
341
339
  hasPpe: boolean;
342
340
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
343
- lastName?: string | null | undefined;
341
+ createdAt: string;
342
+ updatedAt: string;
344
343
  email?: string | null | undefined;
344
+ lastName?: string | null | undefined;
345
345
  nino?: string | null | undefined;
346
346
  dateOfBirth?: string | null | undefined;
347
347
  bio?: string | null | undefined;
@@ -376,32 +376,32 @@ export declare const WorkerSchema: z.ZodObject<{
376
376
  } | null | undefined;
377
377
  createdByUserId?: string | null | undefined;
378
378
  createdBy?: {
379
+ email: string;
379
380
  id: string;
380
- createdAt: string;
381
- updatedAt: string;
382
381
  firstName: string;
383
382
  lastName: string;
384
- email: string;
385
383
  phoneNumbers: {
386
384
  id: string;
387
385
  phoneNumber: string;
388
386
  isPrimary: boolean;
389
387
  description?: string | null | undefined;
390
388
  }[];
389
+ createdAt: string;
390
+ updatedAt: string;
391
391
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
392
392
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
393
393
  } | null | undefined;
394
394
  distanceKm?: number | null | undefined;
395
395
  }, {
396
396
  id: string;
397
- createdAt: string | Date;
398
- updatedAt: string | Date;
399
397
  firstName: string;
400
398
  hasTools: boolean;
401
399
  hasPpe: boolean;
402
400
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
403
- lastName?: string | null | undefined;
401
+ createdAt: string | Date;
402
+ updatedAt: string | Date;
404
403
  email?: string | null | undefined;
404
+ lastName?: string | null | undefined;
405
405
  phoneNumbers?: {
406
406
  id: string;
407
407
  phoneNumber: string;
@@ -442,12 +442,12 @@ export declare const WorkerSchema: z.ZodObject<{
442
442
  } | null | undefined;
443
443
  createdByUserId?: string | null | undefined;
444
444
  createdBy?: {
445
+ email: string;
445
446
  id: string;
446
- createdAt: string | Date;
447
- updatedAt: string | Date;
448
447
  firstName: string;
449
448
  lastName: string;
450
- email: string;
449
+ createdAt: string | Date;
450
+ updatedAt: string | Date;
451
451
  phoneNumbers?: {
452
452
  id: string;
453
453
  phoneNumber: string;
@@ -461,7 +461,7 @@ export declare const WorkerSchema: z.ZodObject<{
461
461
  }>;
462
462
  export declare const CreateWorkerSchema: z.ZodObject<{
463
463
  firstName: z.ZodString;
464
- lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
464
+ lastName: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
465
465
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
466
466
  phoneNumbers: z.ZodEffects<z.ZodArray<z.ZodObject<{
467
467
  phoneNumber: z.ZodEffects<z.ZodString, string, string>;
@@ -564,8 +564,8 @@ export declare const CreateWorkerSchema: z.ZodObject<{
564
564
  hasTools: boolean;
565
565
  hasPpe: boolean;
566
566
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
567
- lastName?: string | null | undefined;
568
567
  email?: string | null | undefined;
568
+ lastName?: string | null | undefined;
569
569
  nino?: string | null | undefined;
570
570
  dateOfBirth?: string | Date | null | undefined;
571
571
  bio?: string | null | undefined;
@@ -600,8 +600,8 @@ export declare const CreateWorkerSchema: z.ZodObject<{
600
600
  }[];
601
601
  hasTools: boolean;
602
602
  hasPpe: boolean;
603
- lastName?: string | null | undefined;
604
603
  email?: string | null | undefined;
604
+ lastName?: string | null | undefined;
605
605
  nino?: string | null | undefined;
606
606
  dateOfBirth?: string | Date | null | undefined;
607
607
  bio?: string | null | undefined;
@@ -627,7 +627,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
627
627
  }>;
628
628
  export declare const UpdateWorkerSchema: z.ZodObject<{
629
629
  firstName: z.ZodOptional<z.ZodString>;
630
- lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
630
+ lastName: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
631
631
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
632
632
  phoneNumbers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
633
633
  id: z.ZodOptional<z.ZodString>;
@@ -740,9 +740,9 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
740
740
  }>>>;
741
741
  availability: z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>;
742
742
  }, "strip", z.ZodTypeAny, {
743
+ email?: string | null | undefined;
743
744
  firstName?: string | undefined;
744
745
  lastName?: string | null | undefined;
745
- email?: string | null | undefined;
746
746
  phoneNumbers?: {
747
747
  id?: string | undefined;
748
748
  phoneNumber?: string | undefined;
@@ -780,9 +780,9 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
780
780
  } | null | undefined;
781
781
  availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
782
782
  }, {
783
+ email?: string | null | undefined;
783
784
  firstName?: string | undefined;
784
785
  lastName?: string | null | undefined;
785
- email?: string | null | undefined;
786
786
  phoneNumbers?: {
787
787
  id?: string | undefined;
788
788
  phoneNumber?: string | undefined;
@@ -888,18 +888,7 @@ export declare const FilterWorkerSchema: z.ZodObject<{
888
888
  }, "strip", z.ZodTypeAny, {
889
889
  limit: number;
890
890
  page: number;
891
- name?: string | undefined;
892
- createdAt?: {
893
- from?: string | null | undefined;
894
- to?: string | null | undefined;
895
- } | undefined;
896
- updatedAt?: {
897
- from?: string | null | undefined;
898
- to?: string | null | undefined;
899
- } | undefined;
900
891
  email?: string | undefined;
901
- sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
902
- sortOrder?: "ASC" | "DESC" | null | undefined;
903
892
  phone?: string | undefined;
904
893
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
905
894
  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;
@@ -909,18 +898,7 @@ export declare const FilterWorkerSchema: z.ZodObject<{
909
898
  postcode?: string | null | undefined;
910
899
  radius?: number | null | undefined;
911
900
  } | undefined;
912
- qualificationFilters?: {
913
- qualificationId?: string | undefined;
914
- qualificationTypeId?: string | undefined;
915
- }[] | undefined;
916
- tradeFilters?: {
917
- tradeId: string;
918
- mainTrade?: boolean | undefined;
919
- }[] | undefined;
920
901
  availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
921
- createdBy?: string | undefined;
922
- }, {
923
- name?: string | undefined;
924
902
  createdAt?: {
925
903
  from?: string | null | undefined;
926
904
  to?: string | null | undefined;
@@ -929,11 +907,20 @@ export declare const FilterWorkerSchema: z.ZodObject<{
929
907
  from?: string | null | undefined;
930
908
  to?: string | null | undefined;
931
909
  } | undefined;
932
- email?: string | undefined;
933
- limit?: number | undefined;
934
- page?: number | undefined;
935
- sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
910
+ createdBy?: string | undefined;
911
+ name?: string | undefined;
912
+ tradeFilters?: {
913
+ tradeId: string;
914
+ mainTrade?: boolean | undefined;
915
+ }[] | undefined;
916
+ qualificationFilters?: {
917
+ qualificationId?: string | undefined;
918
+ qualificationTypeId?: string | undefined;
919
+ }[] | undefined;
920
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
936
921
  sortOrder?: "ASC" | "DESC" | null | undefined;
922
+ }, {
923
+ email?: string | undefined;
937
924
  phone?: string | undefined;
938
925
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
939
926
  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;
@@ -943,16 +930,29 @@ export declare const FilterWorkerSchema: z.ZodObject<{
943
930
  postcode?: string | null | undefined;
944
931
  radius?: number | null | undefined;
945
932
  } | undefined;
946
- qualificationFilters?: {
947
- qualificationId?: string | undefined;
948
- qualificationTypeId?: string | undefined;
949
- }[] | undefined;
933
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
934
+ createdAt?: {
935
+ from?: string | null | undefined;
936
+ to?: string | null | undefined;
937
+ } | undefined;
938
+ updatedAt?: {
939
+ from?: string | null | undefined;
940
+ to?: string | null | undefined;
941
+ } | undefined;
942
+ createdBy?: string | undefined;
943
+ limit?: number | undefined;
944
+ page?: number | undefined;
945
+ name?: string | undefined;
950
946
  tradeFilters?: {
951
947
  tradeId: string;
952
948
  mainTrade?: unknown;
953
949
  }[] | undefined;
954
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
955
- createdBy?: string | undefined;
950
+ qualificationFilters?: {
951
+ qualificationId?: string | undefined;
952
+ qualificationTypeId?: string | undefined;
953
+ }[] | undefined;
954
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
955
+ sortOrder?: "ASC" | "DESC" | null | undefined;
956
956
  }>;
957
957
  export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
958
958
  items: z.ZodArray<z.ZodObject<{
@@ -1084,27 +1084,27 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1084
1084
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1085
1085
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1086
1086
  }, "strip", z.ZodTypeAny, {
1087
+ email: string;
1087
1088
  id: string;
1088
- createdAt: string;
1089
- updatedAt: string;
1090
1089
  firstName: string;
1091
1090
  lastName: string;
1092
- email: string;
1093
1091
  phoneNumbers: {
1094
1092
  id: string;
1095
1093
  phoneNumber: string;
1096
1094
  isPrimary: boolean;
1097
1095
  description?: string | null | undefined;
1098
1096
  }[];
1097
+ createdAt: string;
1098
+ updatedAt: string;
1099
1099
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1100
1100
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1101
1101
  }, {
1102
+ email: string;
1102
1103
  id: string;
1103
- createdAt: string | Date;
1104
- updatedAt: string | Date;
1105
1104
  firstName: string;
1106
1105
  lastName: string;
1107
- email: string;
1106
+ createdAt: string | Date;
1107
+ updatedAt: string | Date;
1108
1108
  phoneNumbers?: {
1109
1109
  id: string;
1110
1110
  phoneNumber: string;
@@ -1119,8 +1119,6 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1119
1119
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1120
1120
  }, "strip", z.ZodTypeAny, {
1121
1121
  id: string;
1122
- createdAt: string;
1123
- updatedAt: string;
1124
1122
  firstName: string;
1125
1123
  phoneNumbers: {
1126
1124
  id: string;
@@ -1131,8 +1129,10 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1131
1129
  hasTools: boolean;
1132
1130
  hasPpe: boolean;
1133
1131
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1134
- lastName?: string | null | undefined;
1132
+ createdAt: string;
1133
+ updatedAt: string;
1135
1134
  email?: string | null | undefined;
1135
+ lastName?: string | null | undefined;
1136
1136
  nino?: string | null | undefined;
1137
1137
  dateOfBirth?: string | null | undefined;
1138
1138
  bio?: string | null | undefined;
@@ -1167,32 +1167,32 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1167
1167
  } | null | undefined;
1168
1168
  createdByUserId?: string | null | undefined;
1169
1169
  createdBy?: {
1170
+ email: string;
1170
1171
  id: string;
1171
- createdAt: string;
1172
- updatedAt: string;
1173
1172
  firstName: string;
1174
1173
  lastName: string;
1175
- email: string;
1176
1174
  phoneNumbers: {
1177
1175
  id: string;
1178
1176
  phoneNumber: string;
1179
1177
  isPrimary: boolean;
1180
1178
  description?: string | null | undefined;
1181
1179
  }[];
1180
+ createdAt: string;
1181
+ updatedAt: string;
1182
1182
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1183
1183
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1184
1184
  } | null | undefined;
1185
1185
  distanceKm?: number | null | undefined;
1186
1186
  }, {
1187
1187
  id: string;
1188
- createdAt: string | Date;
1189
- updatedAt: string | Date;
1190
1188
  firstName: string;
1191
1189
  hasTools: boolean;
1192
1190
  hasPpe: boolean;
1193
1191
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1194
- lastName?: string | null | undefined;
1192
+ createdAt: string | Date;
1193
+ updatedAt: string | Date;
1195
1194
  email?: string | null | undefined;
1195
+ lastName?: string | null | undefined;
1196
1196
  phoneNumbers?: {
1197
1197
  id: string;
1198
1198
  phoneNumber: string;
@@ -1233,12 +1233,12 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1233
1233
  } | null | undefined;
1234
1234
  createdByUserId?: string | null | undefined;
1235
1235
  createdBy?: {
1236
+ email: string;
1236
1237
  id: string;
1237
- createdAt: string | Date;
1238
- updatedAt: string | Date;
1239
1238
  firstName: string;
1240
1239
  lastName: string;
1241
- email: string;
1240
+ createdAt: string | Date;
1241
+ updatedAt: string | Date;
1242
1242
  phoneNumbers?: {
1243
1243
  id: string;
1244
1244
  phoneNumber: string;
@@ -1259,8 +1259,6 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1259
1259
  limit: number;
1260
1260
  items: {
1261
1261
  id: string;
1262
- createdAt: string;
1263
- updatedAt: string;
1264
1262
  firstName: string;
1265
1263
  phoneNumbers: {
1266
1264
  id: string;
@@ -1271,8 +1269,10 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1271
1269
  hasTools: boolean;
1272
1270
  hasPpe: boolean;
1273
1271
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1274
- lastName?: string | null | undefined;
1272
+ createdAt: string;
1273
+ updatedAt: string;
1275
1274
  email?: string | null | undefined;
1275
+ lastName?: string | null | undefined;
1276
1276
  nino?: string | null | undefined;
1277
1277
  dateOfBirth?: string | null | undefined;
1278
1278
  bio?: string | null | undefined;
@@ -1307,18 +1307,18 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1307
1307
  } | null | undefined;
1308
1308
  createdByUserId?: string | null | undefined;
1309
1309
  createdBy?: {
1310
+ email: string;
1310
1311
  id: string;
1311
- createdAt: string;
1312
- updatedAt: string;
1313
1312
  firstName: string;
1314
1313
  lastName: string;
1315
- email: string;
1316
1314
  phoneNumbers: {
1317
1315
  id: string;
1318
1316
  phoneNumber: string;
1319
1317
  isPrimary: boolean;
1320
1318
  description?: string | null | undefined;
1321
1319
  }[];
1320
+ createdAt: string;
1321
+ updatedAt: string;
1322
1322
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1323
1323
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1324
1324
  } | null | undefined;
@@ -1332,14 +1332,14 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1332
1332
  limit: number;
1333
1333
  items: {
1334
1334
  id: string;
1335
- createdAt: string | Date;
1336
- updatedAt: string | Date;
1337
1335
  firstName: string;
1338
1336
  hasTools: boolean;
1339
1337
  hasPpe: boolean;
1340
1338
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1341
- lastName?: string | null | undefined;
1339
+ createdAt: string | Date;
1340
+ updatedAt: string | Date;
1342
1341
  email?: string | null | undefined;
1342
+ lastName?: string | null | undefined;
1343
1343
  phoneNumbers?: {
1344
1344
  id: string;
1345
1345
  phoneNumber: string;
@@ -1380,12 +1380,12 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1380
1380
  } | null | undefined;
1381
1381
  createdByUserId?: string | null | undefined;
1382
1382
  createdBy?: {
1383
+ email: string;
1383
1384
  id: string;
1384
- createdAt: string | Date;
1385
- updatedAt: string | Date;
1386
1385
  firstName: string;
1387
1386
  lastName: string;
1388
- email: string;
1387
+ createdAt: string | Date;
1388
+ updatedAt: string | Date;
1389
1389
  phoneNumbers?: {
1390
1390
  id: string;
1391
1391
  phoneNumber: string;
@@ -1431,7 +1431,7 @@ export declare const workersContractRouter: {
1431
1431
  method: "POST";
1432
1432
  body: z.ZodObject<{
1433
1433
  firstName: z.ZodString;
1434
- lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1434
+ lastName: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
1435
1435
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
1436
1436
  phoneNumbers: z.ZodEffects<z.ZodArray<z.ZodObject<{
1437
1437
  phoneNumber: z.ZodEffects<z.ZodString, string, string>;
@@ -1534,8 +1534,8 @@ export declare const workersContractRouter: {
1534
1534
  hasTools: boolean;
1535
1535
  hasPpe: boolean;
1536
1536
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1537
- lastName?: string | null | undefined;
1538
1537
  email?: string | null | undefined;
1538
+ lastName?: string | null | undefined;
1539
1539
  nino?: string | null | undefined;
1540
1540
  dateOfBirth?: string | Date | null | undefined;
1541
1541
  bio?: string | null | undefined;
@@ -1570,8 +1570,8 @@ export declare const workersContractRouter: {
1570
1570
  }[];
1571
1571
  hasTools: boolean;
1572
1572
  hasPpe: boolean;
1573
- lastName?: string | null | undefined;
1574
1573
  email?: string | null | undefined;
1574
+ lastName?: string | null | undefined;
1575
1575
  nino?: string | null | undefined;
1576
1576
  dateOfBirth?: string | Date | null | undefined;
1577
1577
  bio?: string | null | undefined;
@@ -1826,27 +1826,27 @@ export declare const workersContractRouter: {
1826
1826
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1827
1827
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1828
1828
  }, "strip", z.ZodTypeAny, {
1829
+ email: string;
1829
1830
  id: string;
1830
- createdAt: string;
1831
- updatedAt: string;
1832
1831
  firstName: string;
1833
1832
  lastName: string;
1834
- email: string;
1835
1833
  phoneNumbers: {
1836
1834
  id: string;
1837
1835
  phoneNumber: string;
1838
1836
  isPrimary: boolean;
1839
1837
  description?: string | null | undefined;
1840
1838
  }[];
1839
+ createdAt: string;
1840
+ updatedAt: string;
1841
1841
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1842
1842
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1843
1843
  }, {
1844
+ email: string;
1844
1845
  id: string;
1845
- createdAt: string | Date;
1846
- updatedAt: string | Date;
1847
1846
  firstName: string;
1848
1847
  lastName: string;
1849
- email: string;
1848
+ createdAt: string | Date;
1849
+ updatedAt: string | Date;
1850
1850
  phoneNumbers?: {
1851
1851
  id: string;
1852
1852
  phoneNumber: string;
@@ -1861,8 +1861,6 @@ export declare const workersContractRouter: {
1861
1861
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1862
1862
  }, "strip", z.ZodTypeAny, {
1863
1863
  id: string;
1864
- createdAt: string;
1865
- updatedAt: string;
1866
1864
  firstName: string;
1867
1865
  phoneNumbers: {
1868
1866
  id: string;
@@ -1873,8 +1871,10 @@ export declare const workersContractRouter: {
1873
1871
  hasTools: boolean;
1874
1872
  hasPpe: boolean;
1875
1873
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1876
- lastName?: string | null | undefined;
1874
+ createdAt: string;
1875
+ updatedAt: string;
1877
1876
  email?: string | null | undefined;
1877
+ lastName?: string | null | undefined;
1878
1878
  nino?: string | null | undefined;
1879
1879
  dateOfBirth?: string | null | undefined;
1880
1880
  bio?: string | null | undefined;
@@ -1909,32 +1909,32 @@ export declare const workersContractRouter: {
1909
1909
  } | null | undefined;
1910
1910
  createdByUserId?: string | null | undefined;
1911
1911
  createdBy?: {
1912
+ email: string;
1912
1913
  id: string;
1913
- createdAt: string;
1914
- updatedAt: string;
1915
1914
  firstName: string;
1916
1915
  lastName: string;
1917
- email: string;
1918
1916
  phoneNumbers: {
1919
1917
  id: string;
1920
1918
  phoneNumber: string;
1921
1919
  isPrimary: boolean;
1922
1920
  description?: string | null | undefined;
1923
1921
  }[];
1922
+ createdAt: string;
1923
+ updatedAt: string;
1924
1924
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1925
1925
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1926
1926
  } | null | undefined;
1927
1927
  distanceKm?: number | null | undefined;
1928
1928
  }, {
1929
1929
  id: string;
1930
- createdAt: string | Date;
1931
- updatedAt: string | Date;
1932
1930
  firstName: string;
1933
1931
  hasTools: boolean;
1934
1932
  hasPpe: boolean;
1935
1933
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1936
- lastName?: string | null | undefined;
1934
+ createdAt: string | Date;
1935
+ updatedAt: string | Date;
1937
1936
  email?: string | null | undefined;
1937
+ lastName?: string | null | undefined;
1938
1938
  phoneNumbers?: {
1939
1939
  id: string;
1940
1940
  phoneNumber: string;
@@ -1975,12 +1975,12 @@ export declare const workersContractRouter: {
1975
1975
  } | null | undefined;
1976
1976
  createdByUserId?: string | null | undefined;
1977
1977
  createdBy?: {
1978
+ email: string;
1978
1979
  id: string;
1979
- createdAt: string | Date;
1980
- updatedAt: string | Date;
1981
1980
  firstName: string;
1982
1981
  lastName: string;
1983
- email: string;
1982
+ createdAt: string | Date;
1983
+ updatedAt: string | Date;
1984
1984
  phoneNumbers?: {
1985
1985
  id: string;
1986
1986
  phoneNumber: string;
@@ -2020,6 +2020,12 @@ export declare const workersContractRouter: {
2020
2020
  };
2021
2021
  };
2022
2022
  findAll: {
2023
+ metadata: {
2024
+ tags: string[];
2025
+ openApi: {
2026
+ operationId: string;
2027
+ };
2028
+ };
2023
2029
  query: z.ZodObject<{
2024
2030
  limit: z.ZodDefault<z.ZodNumber>;
2025
2031
  page: z.ZodDefault<z.ZodNumber>;
@@ -2088,18 +2094,7 @@ export declare const workersContractRouter: {
2088
2094
  }, "strip", z.ZodTypeAny, {
2089
2095
  limit: number;
2090
2096
  page: number;
2091
- name?: string | undefined;
2092
- createdAt?: {
2093
- from?: string | null | undefined;
2094
- to?: string | null | undefined;
2095
- } | undefined;
2096
- updatedAt?: {
2097
- from?: string | null | undefined;
2098
- to?: string | null | undefined;
2099
- } | undefined;
2100
2097
  email?: string | undefined;
2101
- sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
2102
- sortOrder?: "ASC" | "DESC" | null | undefined;
2103
2098
  phone?: string | undefined;
2104
2099
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
2105
2100
  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;
@@ -2109,18 +2104,7 @@ export declare const workersContractRouter: {
2109
2104
  postcode?: string | null | undefined;
2110
2105
  radius?: number | null | undefined;
2111
2106
  } | undefined;
2112
- qualificationFilters?: {
2113
- qualificationId?: string | undefined;
2114
- qualificationTypeId?: string | undefined;
2115
- }[] | undefined;
2116
- tradeFilters?: {
2117
- tradeId: string;
2118
- mainTrade?: boolean | undefined;
2119
- }[] | undefined;
2120
2107
  availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
2121
- createdBy?: string | undefined;
2122
- }, {
2123
- name?: string | undefined;
2124
2108
  createdAt?: {
2125
2109
  from?: string | null | undefined;
2126
2110
  to?: string | null | undefined;
@@ -2129,11 +2113,20 @@ export declare const workersContractRouter: {
2129
2113
  from?: string | null | undefined;
2130
2114
  to?: string | null | undefined;
2131
2115
  } | undefined;
2132
- email?: string | undefined;
2133
- limit?: number | undefined;
2134
- page?: number | undefined;
2135
- sortBy?: "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | null | undefined;
2116
+ createdBy?: string | undefined;
2117
+ name?: string | undefined;
2118
+ tradeFilters?: {
2119
+ tradeId: string;
2120
+ mainTrade?: boolean | undefined;
2121
+ }[] | undefined;
2122
+ qualificationFilters?: {
2123
+ qualificationId?: string | undefined;
2124
+ qualificationTypeId?: string | undefined;
2125
+ }[] | undefined;
2126
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
2136
2127
  sortOrder?: "ASC" | "DESC" | null | undefined;
2128
+ }, {
2129
+ email?: string | undefined;
2137
2130
  phone?: string | undefined;
2138
2131
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
2139
2132
  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;
@@ -2143,23 +2136,30 @@ export declare const workersContractRouter: {
2143
2136
  postcode?: string | null | undefined;
2144
2137
  radius?: number | null | undefined;
2145
2138
  } | undefined;
2146
- qualificationFilters?: {
2147
- qualificationId?: string | undefined;
2148
- qualificationTypeId?: string | undefined;
2149
- }[] | undefined;
2139
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
2140
+ createdAt?: {
2141
+ from?: string | null | undefined;
2142
+ to?: string | null | undefined;
2143
+ } | undefined;
2144
+ updatedAt?: {
2145
+ from?: string | null | undefined;
2146
+ to?: string | null | undefined;
2147
+ } | undefined;
2148
+ createdBy?: string | undefined;
2149
+ limit?: number | undefined;
2150
+ page?: number | undefined;
2151
+ name?: string | undefined;
2150
2152
  tradeFilters?: {
2151
2153
  tradeId: string;
2152
2154
  mainTrade?: unknown;
2153
2155
  }[] | undefined;
2154
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
2155
- createdBy?: string | undefined;
2156
+ qualificationFilters?: {
2157
+ qualificationId?: string | undefined;
2158
+ qualificationTypeId?: string | undefined;
2159
+ }[] | undefined;
2160
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
2161
+ sortOrder?: "ASC" | "DESC" | null | undefined;
2156
2162
  }>;
2157
- metadata: {
2158
- tags: string[];
2159
- openApi: {
2160
- operationId: string;
2161
- };
2162
- };
2163
2163
  summary: "Get all workers";
2164
2164
  method: "GET";
2165
2165
  path: "/v2/workers";
@@ -2394,27 +2394,27 @@ export declare const workersContractRouter: {
2394
2394
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2395
2395
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2396
2396
  }, "strip", z.ZodTypeAny, {
2397
+ email: string;
2397
2398
  id: string;
2398
- createdAt: string;
2399
- updatedAt: string;
2400
2399
  firstName: string;
2401
2400
  lastName: string;
2402
- email: string;
2403
2401
  phoneNumbers: {
2404
2402
  id: string;
2405
2403
  phoneNumber: string;
2406
2404
  isPrimary: boolean;
2407
2405
  description?: string | null | undefined;
2408
2406
  }[];
2407
+ createdAt: string;
2408
+ updatedAt: string;
2409
2409
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2410
2410
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
2411
2411
  }, {
2412
+ email: string;
2412
2413
  id: string;
2413
- createdAt: string | Date;
2414
- updatedAt: string | Date;
2415
2414
  firstName: string;
2416
2415
  lastName: string;
2417
- email: string;
2416
+ createdAt: string | Date;
2417
+ updatedAt: string | Date;
2418
2418
  phoneNumbers?: {
2419
2419
  id: string;
2420
2420
  phoneNumber: string;
@@ -2429,8 +2429,6 @@ export declare const workersContractRouter: {
2429
2429
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2430
2430
  }, "strip", z.ZodTypeAny, {
2431
2431
  id: string;
2432
- createdAt: string;
2433
- updatedAt: string;
2434
2432
  firstName: string;
2435
2433
  phoneNumbers: {
2436
2434
  id: string;
@@ -2441,8 +2439,10 @@ export declare const workersContractRouter: {
2441
2439
  hasTools: boolean;
2442
2440
  hasPpe: boolean;
2443
2441
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2444
- lastName?: string | null | undefined;
2442
+ createdAt: string;
2443
+ updatedAt: string;
2445
2444
  email?: string | null | undefined;
2445
+ lastName?: string | null | undefined;
2446
2446
  nino?: string | null | undefined;
2447
2447
  dateOfBirth?: string | null | undefined;
2448
2448
  bio?: string | null | undefined;
@@ -2477,32 +2477,32 @@ export declare const workersContractRouter: {
2477
2477
  } | null | undefined;
2478
2478
  createdByUserId?: string | null | undefined;
2479
2479
  createdBy?: {
2480
+ email: string;
2480
2481
  id: string;
2481
- createdAt: string;
2482
- updatedAt: string;
2483
2482
  firstName: string;
2484
2483
  lastName: string;
2485
- email: string;
2486
2484
  phoneNumbers: {
2487
2485
  id: string;
2488
2486
  phoneNumber: string;
2489
2487
  isPrimary: boolean;
2490
2488
  description?: string | null | undefined;
2491
2489
  }[];
2490
+ createdAt: string;
2491
+ updatedAt: string;
2492
2492
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2493
2493
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
2494
2494
  } | null | undefined;
2495
2495
  distanceKm?: number | null | undefined;
2496
2496
  }, {
2497
2497
  id: string;
2498
- createdAt: string | Date;
2499
- updatedAt: string | Date;
2500
2498
  firstName: string;
2501
2499
  hasTools: boolean;
2502
2500
  hasPpe: boolean;
2503
2501
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2504
- lastName?: string | null | undefined;
2502
+ createdAt: string | Date;
2503
+ updatedAt: string | Date;
2505
2504
  email?: string | null | undefined;
2505
+ lastName?: string | null | undefined;
2506
2506
  phoneNumbers?: {
2507
2507
  id: string;
2508
2508
  phoneNumber: string;
@@ -2543,12 +2543,12 @@ export declare const workersContractRouter: {
2543
2543
  } | null | undefined;
2544
2544
  createdByUserId?: string | null | undefined;
2545
2545
  createdBy?: {
2546
+ email: string;
2546
2547
  id: string;
2547
- createdAt: string | Date;
2548
- updatedAt: string | Date;
2549
2548
  firstName: string;
2550
2549
  lastName: string;
2551
- email: string;
2550
+ createdAt: string | Date;
2551
+ updatedAt: string | Date;
2552
2552
  phoneNumbers?: {
2553
2553
  id: string;
2554
2554
  phoneNumber: string;
@@ -2569,8 +2569,6 @@ export declare const workersContractRouter: {
2569
2569
  limit: number;
2570
2570
  items: {
2571
2571
  id: string;
2572
- createdAt: string;
2573
- updatedAt: string;
2574
2572
  firstName: string;
2575
2573
  phoneNumbers: {
2576
2574
  id: string;
@@ -2581,8 +2579,10 @@ export declare const workersContractRouter: {
2581
2579
  hasTools: boolean;
2582
2580
  hasPpe: boolean;
2583
2581
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2584
- lastName?: string | null | undefined;
2582
+ createdAt: string;
2583
+ updatedAt: string;
2585
2584
  email?: string | null | undefined;
2585
+ lastName?: string | null | undefined;
2586
2586
  nino?: string | null | undefined;
2587
2587
  dateOfBirth?: string | null | undefined;
2588
2588
  bio?: string | null | undefined;
@@ -2617,18 +2617,18 @@ export declare const workersContractRouter: {
2617
2617
  } | null | undefined;
2618
2618
  createdByUserId?: string | null | undefined;
2619
2619
  createdBy?: {
2620
+ email: string;
2620
2621
  id: string;
2621
- createdAt: string;
2622
- updatedAt: string;
2623
2622
  firstName: string;
2624
2623
  lastName: string;
2625
- email: string;
2626
2624
  phoneNumbers: {
2627
2625
  id: string;
2628
2626
  phoneNumber: string;
2629
2627
  isPrimary: boolean;
2630
2628
  description?: string | null | undefined;
2631
2629
  }[];
2630
+ createdAt: string;
2631
+ updatedAt: string;
2632
2632
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2633
2633
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
2634
2634
  } | null | undefined;
@@ -2642,14 +2642,14 @@ export declare const workersContractRouter: {
2642
2642
  limit: number;
2643
2643
  items: {
2644
2644
  id: string;
2645
- createdAt: string | Date;
2646
- updatedAt: string | Date;
2647
2645
  firstName: string;
2648
2646
  hasTools: boolean;
2649
2647
  hasPpe: boolean;
2650
2648
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2651
- lastName?: string | null | undefined;
2649
+ createdAt: string | Date;
2650
+ updatedAt: string | Date;
2652
2651
  email?: string | null | undefined;
2652
+ lastName?: string | null | undefined;
2653
2653
  phoneNumbers?: {
2654
2654
  id: string;
2655
2655
  phoneNumber: string;
@@ -2690,12 +2690,12 @@ export declare const workersContractRouter: {
2690
2690
  } | null | undefined;
2691
2691
  createdByUserId?: string | null | undefined;
2692
2692
  createdBy?: {
2693
+ email: string;
2693
2694
  id: string;
2694
- createdAt: string | Date;
2695
- updatedAt: string | Date;
2696
2695
  firstName: string;
2697
2696
  lastName: string;
2698
- email: string;
2697
+ createdAt: string | Date;
2698
+ updatedAt: string | Date;
2699
2699
  phoneNumbers?: {
2700
2700
  id: string;
2701
2701
  phoneNumber: string;
@@ -2961,27 +2961,27 @@ export declare const workersContractRouter: {
2961
2961
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2962
2962
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2963
2963
  }, "strip", z.ZodTypeAny, {
2964
+ email: string;
2964
2965
  id: string;
2965
- createdAt: string;
2966
- updatedAt: string;
2967
2966
  firstName: string;
2968
2967
  lastName: string;
2969
- email: string;
2970
2968
  phoneNumbers: {
2971
2969
  id: string;
2972
2970
  phoneNumber: string;
2973
2971
  isPrimary: boolean;
2974
2972
  description?: string | null | undefined;
2975
2973
  }[];
2974
+ createdAt: string;
2975
+ updatedAt: string;
2976
2976
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2977
2977
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
2978
2978
  }, {
2979
+ email: string;
2979
2980
  id: string;
2980
- createdAt: string | Date;
2981
- updatedAt: string | Date;
2982
2981
  firstName: string;
2983
2982
  lastName: string;
2984
- email: string;
2983
+ createdAt: string | Date;
2984
+ updatedAt: string | Date;
2985
2985
  phoneNumbers?: {
2986
2986
  id: string;
2987
2987
  phoneNumber: string;
@@ -2996,8 +2996,6 @@ export declare const workersContractRouter: {
2996
2996
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2997
2997
  }, "strip", z.ZodTypeAny, {
2998
2998
  id: string;
2999
- createdAt: string;
3000
- updatedAt: string;
3001
2999
  firstName: string;
3002
3000
  phoneNumbers: {
3003
3001
  id: string;
@@ -3008,8 +3006,10 @@ export declare const workersContractRouter: {
3008
3006
  hasTools: boolean;
3009
3007
  hasPpe: boolean;
3010
3008
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3011
- lastName?: string | null | undefined;
3009
+ createdAt: string;
3010
+ updatedAt: string;
3012
3011
  email?: string | null | undefined;
3012
+ lastName?: string | null | undefined;
3013
3013
  nino?: string | null | undefined;
3014
3014
  dateOfBirth?: string | null | undefined;
3015
3015
  bio?: string | null | undefined;
@@ -3044,32 +3044,32 @@ export declare const workersContractRouter: {
3044
3044
  } | null | undefined;
3045
3045
  createdByUserId?: string | null | undefined;
3046
3046
  createdBy?: {
3047
+ email: string;
3047
3048
  id: string;
3048
- createdAt: string;
3049
- updatedAt: string;
3050
3049
  firstName: string;
3051
3050
  lastName: string;
3052
- email: string;
3053
3051
  phoneNumbers: {
3054
3052
  id: string;
3055
3053
  phoneNumber: string;
3056
3054
  isPrimary: boolean;
3057
3055
  description?: string | null | undefined;
3058
3056
  }[];
3057
+ createdAt: string;
3058
+ updatedAt: string;
3059
3059
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3060
3060
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
3061
3061
  } | null | undefined;
3062
3062
  distanceKm?: number | null | undefined;
3063
3063
  }, {
3064
3064
  id: string;
3065
- createdAt: string | Date;
3066
- updatedAt: string | Date;
3067
3065
  firstName: string;
3068
3066
  hasTools: boolean;
3069
3067
  hasPpe: boolean;
3070
3068
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3071
- lastName?: string | null | undefined;
3069
+ createdAt: string | Date;
3070
+ updatedAt: string | Date;
3072
3071
  email?: string | null | undefined;
3072
+ lastName?: string | null | undefined;
3073
3073
  phoneNumbers?: {
3074
3074
  id: string;
3075
3075
  phoneNumber: string;
@@ -3110,12 +3110,12 @@ export declare const workersContractRouter: {
3110
3110
  } | null | undefined;
3111
3111
  createdByUserId?: string | null | undefined;
3112
3112
  createdBy?: {
3113
+ email: string;
3113
3114
  id: string;
3114
- createdAt: string | Date;
3115
- updatedAt: string | Date;
3116
3115
  firstName: string;
3117
3116
  lastName: string;
3118
- email: string;
3117
+ createdAt: string | Date;
3118
+ updatedAt: string | Date;
3119
3119
  phoneNumbers?: {
3120
3120
  id: string;
3121
3121
  phoneNumber: string;
@@ -3172,7 +3172,7 @@ export declare const workersContractRouter: {
3172
3172
  method: "PATCH";
3173
3173
  body: z.ZodObject<{
3174
3174
  firstName: z.ZodOptional<z.ZodString>;
3175
- lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3175
+ lastName: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
3176
3176
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
3177
3177
  phoneNumbers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
3178
3178
  id: z.ZodOptional<z.ZodString>;
@@ -3285,9 +3285,9 @@ export declare const workersContractRouter: {
3285
3285
  }>>>;
3286
3286
  availability: z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>;
3287
3287
  }, "strip", z.ZodTypeAny, {
3288
+ email?: string | null | undefined;
3288
3289
  firstName?: string | undefined;
3289
3290
  lastName?: string | null | undefined;
3290
- email?: string | null | undefined;
3291
3291
  phoneNumbers?: {
3292
3292
  id?: string | undefined;
3293
3293
  phoneNumber?: string | undefined;
@@ -3325,9 +3325,9 @@ export declare const workersContractRouter: {
3325
3325
  } | null | undefined;
3326
3326
  availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
3327
3327
  }, {
3328
+ email?: string | null | undefined;
3328
3329
  firstName?: string | undefined;
3329
3330
  lastName?: string | null | undefined;
3330
- email?: string | null | undefined;
3331
3331
  phoneNumbers?: {
3332
3332
  id?: string | undefined;
3333
3333
  phoneNumber?: string | undefined;
@@ -3596,27 +3596,27 @@ export declare const workersContractRouter: {
3596
3596
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3597
3597
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3598
3598
  }, "strip", z.ZodTypeAny, {
3599
+ email: string;
3599
3600
  id: string;
3600
- createdAt: string;
3601
- updatedAt: string;
3602
3601
  firstName: string;
3603
3602
  lastName: string;
3604
- email: string;
3605
3603
  phoneNumbers: {
3606
3604
  id: string;
3607
3605
  phoneNumber: string;
3608
3606
  isPrimary: boolean;
3609
3607
  description?: string | null | undefined;
3610
3608
  }[];
3609
+ createdAt: string;
3610
+ updatedAt: string;
3611
3611
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3612
3612
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
3613
3613
  }, {
3614
+ email: string;
3614
3615
  id: string;
3615
- createdAt: string | Date;
3616
- updatedAt: string | Date;
3617
3616
  firstName: string;
3618
3617
  lastName: string;
3619
- email: string;
3618
+ createdAt: string | Date;
3619
+ updatedAt: string | Date;
3620
3620
  phoneNumbers?: {
3621
3621
  id: string;
3622
3622
  phoneNumber: string;
@@ -3631,8 +3631,6 @@ export declare const workersContractRouter: {
3631
3631
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3632
3632
  }, "strip", z.ZodTypeAny, {
3633
3633
  id: string;
3634
- createdAt: string;
3635
- updatedAt: string;
3636
3634
  firstName: string;
3637
3635
  phoneNumbers: {
3638
3636
  id: string;
@@ -3643,8 +3641,10 @@ export declare const workersContractRouter: {
3643
3641
  hasTools: boolean;
3644
3642
  hasPpe: boolean;
3645
3643
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3646
- lastName?: string | null | undefined;
3644
+ createdAt: string;
3645
+ updatedAt: string;
3647
3646
  email?: string | null | undefined;
3647
+ lastName?: string | null | undefined;
3648
3648
  nino?: string | null | undefined;
3649
3649
  dateOfBirth?: string | null | undefined;
3650
3650
  bio?: string | null | undefined;
@@ -3679,32 +3679,32 @@ export declare const workersContractRouter: {
3679
3679
  } | null | undefined;
3680
3680
  createdByUserId?: string | null | undefined;
3681
3681
  createdBy?: {
3682
+ email: string;
3682
3683
  id: string;
3683
- createdAt: string;
3684
- updatedAt: string;
3685
3684
  firstName: string;
3686
3685
  lastName: string;
3687
- email: string;
3688
3686
  phoneNumbers: {
3689
3687
  id: string;
3690
3688
  phoneNumber: string;
3691
3689
  isPrimary: boolean;
3692
3690
  description?: string | null | undefined;
3693
3691
  }[];
3692
+ createdAt: string;
3693
+ updatedAt: string;
3694
3694
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3695
3695
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
3696
3696
  } | null | undefined;
3697
3697
  distanceKm?: number | null | undefined;
3698
3698
  }, {
3699
3699
  id: string;
3700
- createdAt: string | Date;
3701
- updatedAt: string | Date;
3702
3700
  firstName: string;
3703
3701
  hasTools: boolean;
3704
3702
  hasPpe: boolean;
3705
3703
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3706
- lastName?: string | null | undefined;
3704
+ createdAt: string | Date;
3705
+ updatedAt: string | Date;
3707
3706
  email?: string | null | undefined;
3707
+ lastName?: string | null | undefined;
3708
3708
  phoneNumbers?: {
3709
3709
  id: string;
3710
3710
  phoneNumber: string;
@@ -3745,12 +3745,12 @@ export declare const workersContractRouter: {
3745
3745
  } | null | undefined;
3746
3746
  createdByUserId?: string | null | undefined;
3747
3747
  createdBy?: {
3748
+ email: string;
3748
3749
  id: string;
3749
- createdAt: string | Date;
3750
- updatedAt: string | Date;
3751
3750
  firstName: string;
3752
3751
  lastName: string;
3753
- email: string;
3752
+ createdAt: string | Date;
3753
+ updatedAt: string | Date;
3754
3754
  phoneNumbers?: {
3755
3755
  id: string;
3756
3756
  phoneNumber: string;