@dakkitor/api-contracts 1.1.83 → 1.1.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/abilities/abilities.contract.d.ts +6 -0
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +1 -1
  4. package/dist/abilities/first-agent.abilities.json +8 -0
  5. package/dist/abilities/second-agent.abilities.json +8 -0
  6. package/dist/actives/actives.contract.d.ts +3475 -3475
  7. package/dist/bookings/bookings.contract.d.ts +2990 -2990
  8. package/dist/call-history/call-history.contract.d.ts +432 -426
  9. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  10. package/dist/call-history/call-history.contract.js +2 -5
  11. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +576 -576
  12. package/dist/collaborations/collaborations.contract.d.ts +470 -470
  13. package/dist/common/common-schemas.d.ts +11 -0
  14. package/dist/common/common-schemas.d.ts.map +1 -1
  15. package/dist/common/common-schemas.js +13 -2
  16. package/dist/curated-workers/curated-workers.contract.d.ts +20 -20
  17. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  18. package/dist/curated-workers/curated-workers.contract.js +1 -11
  19. package/dist/dashboards/dashboard-widgets.contract.d.ts +1165 -0
  20. package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -0
  21. package/dist/dashboards/dashboard-widgets.contract.js +354 -0
  22. package/dist/dashboards/dashboard.contract.d.ts +28 -28
  23. package/dist/index.d.ts +3 -0
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +3 -0
  26. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  27. package/dist/jobs/jobs.contract.js +1 -11
  28. package/dist/leads/leads.contract.d.ts +71 -71
  29. package/dist/workers/workers.contract.d.ts +227 -227
  30. package/dist/workers/workers.contract.d.ts.map +1 -1
  31. package/dist/workers/workers.contract.js +17 -15
  32. package/package.json +1 -1
@@ -9,13 +9,13 @@ export declare const WorkerPhoneNumberSchema: z.ZodObject<{
9
9
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  isPrimary: z.ZodDefault<z.ZodBoolean>;
11
11
  }, "strip", z.ZodTypeAny, {
12
+ id: string;
12
13
  phoneNumber: string;
13
14
  isPrimary: boolean;
14
- id: string;
15
15
  description?: string | null | undefined;
16
16
  }, {
17
- phoneNumber: string;
18
17
  id: string;
18
+ phoneNumber: string;
19
19
  description?: string | null | undefined;
20
20
  isPrimary?: boolean | undefined;
21
21
  }>;
@@ -38,25 +38,25 @@ export declare const UpsertWorkerPhoneNumberSchema: z.ZodEffects<z.ZodObject<{
38
38
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  isPrimary: z.ZodOptional<z.ZodBoolean>;
40
40
  }, "strip", z.ZodTypeAny, {
41
+ id?: string | undefined;
41
42
  phoneNumber?: string | undefined;
42
43
  description?: string | null | undefined;
43
44
  isPrimary?: boolean | undefined;
44
- id?: string | undefined;
45
45
  }, {
46
+ id?: string | undefined;
46
47
  phoneNumber?: string | undefined;
47
48
  description?: string | null | undefined;
48
49
  isPrimary?: boolean | undefined;
49
- id?: string | undefined;
50
50
  }>, {
51
+ id?: string | undefined;
51
52
  phoneNumber?: string | undefined;
52
53
  description?: string | null | undefined;
53
54
  isPrimary?: boolean | undefined;
54
- id?: string | undefined;
55
55
  }, {
56
+ id?: string | undefined;
56
57
  phoneNumber?: string | undefined;
57
58
  description?: string | null | undefined;
58
59
  isPrimary?: boolean | undefined;
59
- id?: string | undefined;
60
60
  }>;
61
61
  export declare const WorkerTradeSchema: z.ZodObject<{
62
62
  id: z.ZodOptional<z.ZodString>;
@@ -151,23 +151,23 @@ export declare const TradeFilterSchema: z.ZodObject<{
151
151
  export declare const WorkerUserSchema: z.ZodObject<{
152
152
  id: z.ZodString;
153
153
  firstName: z.ZodString;
154
- lastName: z.ZodString;
154
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
155
155
  email: z.ZodString;
156
156
  }, "strip", z.ZodTypeAny, {
157
157
  email: string;
158
158
  id: string;
159
159
  firstName: string;
160
- lastName: string;
160
+ lastName?: string | null | undefined;
161
161
  }, {
162
162
  email: string;
163
163
  id: string;
164
164
  firstName: string;
165
- lastName: string;
165
+ lastName?: string | null | undefined;
166
166
  }>;
167
167
  export declare const WorkerSchema: z.ZodObject<{
168
168
  id: z.ZodString;
169
169
  firstName: z.ZodString;
170
- lastName: z.ZodString;
170
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
171
171
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
172
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
173
173
  id: z.ZodString;
@@ -175,13 +175,13 @@ export declare const WorkerSchema: z.ZodObject<{
175
175
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
176
  isPrimary: z.ZodDefault<z.ZodBoolean>;
177
177
  }, "strip", z.ZodTypeAny, {
178
+ id: string;
178
179
  phoneNumber: string;
179
180
  isPrimary: boolean;
180
- id: string;
181
181
  description?: string | null | undefined;
182
182
  }, {
183
- phoneNumber: string;
184
183
  id: string;
184
+ phoneNumber: string;
185
185
  description?: string | null | undefined;
186
186
  isPrimary?: boolean | undefined;
187
187
  }>, "many">>>;
@@ -280,21 +280,21 @@ export declare const WorkerSchema: z.ZodObject<{
280
280
  }, "strip", z.ZodTypeAny, {
281
281
  email: string;
282
282
  phone: string;
283
- createdAt: string;
284
- updatedAt: string;
285
283
  id: string;
286
284
  firstName: string;
287
285
  lastName: string;
286
+ createdAt: string;
287
+ updatedAt: string;
288
288
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
289
289
  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;
290
290
  }, {
291
291
  email: string;
292
292
  phone: string;
293
- createdAt: string | Date;
294
- updatedAt: string | Date;
295
293
  id: string;
296
294
  firstName: string;
297
295
  lastName: string;
296
+ createdAt: string | Date;
297
+ updatedAt: string | Date;
298
298
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
299
299
  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;
300
300
  }>>>;
@@ -302,21 +302,21 @@ export declare const WorkerSchema: z.ZodObject<{
302
302
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
303
303
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
304
304
  }, "strip", z.ZodTypeAny, {
305
- createdAt: string;
306
- updatedAt: string;
307
305
  id: string;
308
306
  firstName: string;
309
- lastName: string;
310
307
  phoneNumbers: {
308
+ id: string;
311
309
  phoneNumber: string;
312
310
  isPrimary: boolean;
313
- id: string;
314
311
  description?: string | null | undefined;
315
312
  }[];
316
313
  hasTools: boolean;
317
314
  hasPpe: boolean;
318
315
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
316
+ createdAt: string;
317
+ updatedAt: string;
319
318
  email?: string | null | undefined;
319
+ lastName?: string | null | undefined;
320
320
  nino?: string | null | undefined;
321
321
  dateOfBirth?: string | null | undefined;
322
322
  bio?: string | null | undefined;
@@ -353,28 +353,28 @@ export declare const WorkerSchema: z.ZodObject<{
353
353
  createdBy?: {
354
354
  email: string;
355
355
  phone: string;
356
- createdAt: string;
357
- updatedAt: string;
358
356
  id: string;
359
357
  firstName: string;
360
358
  lastName: string;
359
+ createdAt: string;
360
+ updatedAt: string;
361
361
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
362
362
  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;
363
363
  } | null | undefined;
364
364
  distanceKm?: number | null | undefined;
365
365
  }, {
366
- createdAt: string | Date;
367
- updatedAt: string | Date;
368
366
  id: string;
369
367
  firstName: string;
370
- lastName: string;
371
368
  hasTools: boolean;
372
369
  hasPpe: boolean;
373
370
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
371
+ createdAt: string | Date;
372
+ updatedAt: string | Date;
374
373
  email?: string | null | undefined;
374
+ lastName?: string | null | undefined;
375
375
  phoneNumbers?: {
376
- phoneNumber: string;
377
376
  id: string;
377
+ phoneNumber: string;
378
378
  description?: string | null | undefined;
379
379
  isPrimary?: boolean | undefined;
380
380
  }[] | undefined;
@@ -414,11 +414,11 @@ export declare const WorkerSchema: z.ZodObject<{
414
414
  createdBy?: {
415
415
  email: string;
416
416
  phone: string;
417
- createdAt: string | Date;
418
- updatedAt: string | Date;
419
417
  id: string;
420
418
  firstName: string;
421
419
  lastName: string;
420
+ createdAt: string | Date;
421
+ updatedAt: string | Date;
422
422
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
423
423
  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;
424
424
  } | null | undefined;
@@ -426,7 +426,7 @@ export declare const WorkerSchema: z.ZodObject<{
426
426
  }>;
427
427
  export declare const CreateWorkerSchema: z.ZodObject<{
428
428
  firstName: z.ZodString;
429
- lastName: z.ZodString;
429
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
430
430
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
431
431
  phoneNumbers: z.ZodEffects<z.ZodArray<z.ZodObject<{
432
432
  phoneNumber: z.ZodEffects<z.ZodString, string, string>;
@@ -517,7 +517,6 @@ export declare const CreateWorkerSchema: z.ZodObject<{
517
517
  availability: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>>;
518
518
  }, "strip", z.ZodTypeAny, {
519
519
  firstName: string;
520
- lastName: string;
521
520
  phoneNumbers: {
522
521
  phoneNumber: string;
523
522
  isPrimary: boolean;
@@ -531,6 +530,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
531
530
  hasPpe: boolean;
532
531
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
533
532
  email?: string | null | undefined;
533
+ lastName?: string | null | undefined;
534
534
  nino?: string | null | undefined;
535
535
  dateOfBirth?: string | Date | null | undefined;
536
536
  bio?: string | null | undefined;
@@ -554,7 +554,6 @@ export declare const CreateWorkerSchema: z.ZodObject<{
554
554
  } | null | undefined;
555
555
  }, {
556
556
  firstName: string;
557
- lastName: string;
558
557
  phoneNumbers: {
559
558
  phoneNumber: string;
560
559
  description?: string | null | undefined;
@@ -567,6 +566,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
567
566
  hasTools: boolean;
568
567
  hasPpe: boolean;
569
568
  email?: string | null | undefined;
569
+ lastName?: string | null | undefined;
570
570
  nino?: string | null | undefined;
571
571
  dateOfBirth?: string | Date | null | undefined;
572
572
  bio?: string | null | undefined;
@@ -592,7 +592,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
592
592
  }>;
593
593
  export declare const UpdateWorkerSchema: z.ZodObject<{
594
594
  firstName: z.ZodOptional<z.ZodString>;
595
- lastName: z.ZodOptional<z.ZodString>;
595
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
596
596
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
597
597
  phoneNumbers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
598
598
  id: z.ZodOptional<z.ZodString>;
@@ -600,35 +600,35 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
600
600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
601
601
  isPrimary: z.ZodOptional<z.ZodBoolean>;
602
602
  }, "strip", z.ZodTypeAny, {
603
+ id?: string | undefined;
603
604
  phoneNumber?: string | undefined;
604
605
  description?: string | null | undefined;
605
606
  isPrimary?: boolean | undefined;
606
- id?: string | undefined;
607
607
  }, {
608
+ id?: string | undefined;
608
609
  phoneNumber?: string | undefined;
609
610
  description?: string | null | undefined;
610
611
  isPrimary?: boolean | undefined;
611
- id?: string | undefined;
612
612
  }>, {
613
+ id?: string | undefined;
613
614
  phoneNumber?: string | undefined;
614
615
  description?: string | null | undefined;
615
616
  isPrimary?: boolean | undefined;
616
- id?: string | undefined;
617
617
  }, {
618
+ id?: string | undefined;
618
619
  phoneNumber?: string | undefined;
619
620
  description?: string | null | undefined;
620
621
  isPrimary?: boolean | undefined;
621
- id?: string | undefined;
622
622
  }>, "many">, {
623
+ id?: string | undefined;
623
624
  phoneNumber?: string | undefined;
624
625
  description?: string | null | undefined;
625
626
  isPrimary?: boolean | undefined;
626
- id?: string | undefined;
627
627
  }[], {
628
+ id?: string | undefined;
628
629
  phoneNumber?: string | undefined;
629
630
  description?: string | null | undefined;
630
631
  isPrimary?: boolean | undefined;
631
- id?: string | undefined;
632
632
  }[]>>;
633
633
  nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
634
634
  dateOfBirth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
@@ -707,12 +707,12 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
707
707
  }, "strip", z.ZodTypeAny, {
708
708
  email?: string | null | undefined;
709
709
  firstName?: string | undefined;
710
- lastName?: string | undefined;
710
+ lastName?: string | null | undefined;
711
711
  phoneNumbers?: {
712
+ id?: string | undefined;
712
713
  phoneNumber?: string | undefined;
713
714
  description?: string | null | undefined;
714
715
  isPrimary?: boolean | undefined;
715
- id?: string | undefined;
716
716
  }[] | undefined;
717
717
  nino?: string | null | undefined;
718
718
  dateOfBirth?: string | Date | null | undefined;
@@ -747,12 +747,12 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
747
747
  }, {
748
748
  email?: string | null | undefined;
749
749
  firstName?: string | undefined;
750
- lastName?: string | undefined;
750
+ lastName?: string | null | undefined;
751
751
  phoneNumbers?: {
752
+ id?: string | undefined;
752
753
  phoneNumber?: string | undefined;
753
754
  description?: string | null | undefined;
754
755
  isPrimary?: boolean | undefined;
755
- id?: string | undefined;
756
756
  }[] | undefined;
757
757
  nino?: string | null | undefined;
758
758
  dateOfBirth?: string | Date | null | undefined;
@@ -797,14 +797,14 @@ export declare const FilterWorkerSchema: z.ZodObject<{
797
797
  englishLevel: z.ZodNullable<z.ZodOptional<z.ZodEnum<["NONE", "BASIC", "INTERMEDIATE", "ADVANCED", "NATIVE"]>>>;
798
798
  nationality: z.ZodNullable<z.ZodOptional<z.ZodEnum<["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"]>>>;
799
799
  location: z.ZodOptional<z.ZodObject<{
800
- postcode: z.ZodOptional<z.ZodString>;
801
- radius: z.ZodOptional<z.ZodNumber>;
800
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
801
+ radius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
802
802
  }, "strip", z.ZodTypeAny, {
803
- postcode?: string | undefined;
804
- radius?: number | undefined;
803
+ postcode?: string | null | undefined;
804
+ radius?: number | null | undefined;
805
805
  }, {
806
- postcode?: string | undefined;
807
- radius?: number | undefined;
806
+ postcode?: string | null | undefined;
807
+ radius?: number | null | undefined;
808
808
  }>>;
809
809
  hasTools: z.ZodOptional<z.ZodDefault<z.ZodEnum<["only_with", "only_without", "all"]>>>;
810
810
  hasPpe: z.ZodOptional<z.ZodDefault<z.ZodEnum<["only_with", "only_without", "all"]>>>;
@@ -840,22 +840,22 @@ export declare const FilterWorkerSchema: z.ZodObject<{
840
840
  hasTools?: "only_with" | "only_without" | "all" | undefined;
841
841
  hasPpe?: "only_with" | "only_without" | "all" | undefined;
842
842
  location?: {
843
- postcode?: string | undefined;
844
- radius?: number | undefined;
843
+ postcode?: string | null | undefined;
844
+ radius?: number | null | undefined;
845
845
  } | undefined;
846
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
847
+ createdBy?: string | undefined;
846
848
  name?: string | undefined;
847
- qualificationFilters?: {
848
- qualificationId?: string | undefined;
849
- qualificationTypeId?: string | undefined;
850
- }[] | undefined;
851
- sortOrder?: "ASC" | "DESC" | null | undefined;
852
849
  tradeFilters?: {
853
850
  tradeId: string;
854
851
  mainTrade?: boolean | undefined;
855
852
  }[] | undefined;
853
+ qualificationFilters?: {
854
+ qualificationId?: string | undefined;
855
+ qualificationTypeId?: string | undefined;
856
+ }[] | undefined;
856
857
  sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
857
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
858
- createdBy?: string | undefined;
858
+ sortOrder?: "ASC" | "DESC" | null | undefined;
859
859
  }, {
860
860
  email?: string | undefined;
861
861
  phone?: string | undefined;
@@ -864,30 +864,30 @@ export declare const FilterWorkerSchema: z.ZodObject<{
864
864
  hasTools?: "only_with" | "only_without" | "all" | undefined;
865
865
  hasPpe?: "only_with" | "only_without" | "all" | undefined;
866
866
  location?: {
867
- postcode?: string | undefined;
868
- radius?: number | undefined;
867
+ postcode?: string | null | undefined;
868
+ radius?: number | null | undefined;
869
869
  } | undefined;
870
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
871
+ createdBy?: string | undefined;
870
872
  limit?: number | undefined;
871
873
  page?: number | undefined;
872
874
  name?: string | undefined;
873
- qualificationFilters?: {
874
- qualificationId?: string | undefined;
875
- qualificationTypeId?: string | undefined;
876
- }[] | undefined;
877
- sortOrder?: "ASC" | "DESC" | null | undefined;
878
875
  tradeFilters?: {
879
876
  tradeId: string;
880
877
  mainTrade?: unknown;
881
878
  }[] | undefined;
879
+ qualificationFilters?: {
880
+ qualificationId?: string | undefined;
881
+ qualificationTypeId?: string | undefined;
882
+ }[] | undefined;
882
883
  sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
883
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
884
- createdBy?: string | undefined;
884
+ sortOrder?: "ASC" | "DESC" | null | undefined;
885
885
  }>;
886
886
  export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
887
887
  items: z.ZodArray<z.ZodObject<{
888
888
  id: z.ZodString;
889
889
  firstName: z.ZodString;
890
- lastName: z.ZodString;
890
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
891
891
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
892
892
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
893
893
  id: z.ZodString;
@@ -895,13 +895,13 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
895
895
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
896
896
  isPrimary: z.ZodDefault<z.ZodBoolean>;
897
897
  }, "strip", z.ZodTypeAny, {
898
+ id: string;
898
899
  phoneNumber: string;
899
900
  isPrimary: boolean;
900
- id: string;
901
901
  description?: string | null | undefined;
902
902
  }, {
903
- phoneNumber: string;
904
903
  id: string;
904
+ phoneNumber: string;
905
905
  description?: string | null | undefined;
906
906
  isPrimary?: boolean | undefined;
907
907
  }>, "many">>>;
@@ -1000,21 +1000,21 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1000
1000
  }, "strip", z.ZodTypeAny, {
1001
1001
  email: string;
1002
1002
  phone: string;
1003
- createdAt: string;
1004
- updatedAt: string;
1005
1003
  id: string;
1006
1004
  firstName: string;
1007
1005
  lastName: string;
1006
+ createdAt: string;
1007
+ updatedAt: string;
1008
1008
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1009
1009
  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;
1010
1010
  }, {
1011
1011
  email: string;
1012
1012
  phone: string;
1013
- createdAt: string | Date;
1014
- updatedAt: string | Date;
1015
1013
  id: string;
1016
1014
  firstName: string;
1017
1015
  lastName: string;
1016
+ createdAt: string | Date;
1017
+ updatedAt: string | Date;
1018
1018
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1019
1019
  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;
1020
1020
  }>>>;
@@ -1022,21 +1022,21 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1022
1022
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1023
1023
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1024
1024
  }, "strip", z.ZodTypeAny, {
1025
- createdAt: string;
1026
- updatedAt: string;
1027
1025
  id: string;
1028
1026
  firstName: string;
1029
- lastName: string;
1030
1027
  phoneNumbers: {
1028
+ id: string;
1031
1029
  phoneNumber: string;
1032
1030
  isPrimary: boolean;
1033
- id: string;
1034
1031
  description?: string | null | undefined;
1035
1032
  }[];
1036
1033
  hasTools: boolean;
1037
1034
  hasPpe: boolean;
1038
1035
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1036
+ createdAt: string;
1037
+ updatedAt: string;
1039
1038
  email?: string | null | undefined;
1039
+ lastName?: string | null | undefined;
1040
1040
  nino?: string | null | undefined;
1041
1041
  dateOfBirth?: string | null | undefined;
1042
1042
  bio?: string | null | undefined;
@@ -1073,28 +1073,28 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1073
1073
  createdBy?: {
1074
1074
  email: string;
1075
1075
  phone: string;
1076
- createdAt: string;
1077
- updatedAt: string;
1078
1076
  id: string;
1079
1077
  firstName: string;
1080
1078
  lastName: string;
1079
+ createdAt: string;
1080
+ updatedAt: string;
1081
1081
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1082
1082
  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;
1083
1083
  } | null | undefined;
1084
1084
  distanceKm?: number | null | undefined;
1085
1085
  }, {
1086
- createdAt: string | Date;
1087
- updatedAt: string | Date;
1088
1086
  id: string;
1089
1087
  firstName: string;
1090
- lastName: string;
1091
1088
  hasTools: boolean;
1092
1089
  hasPpe: boolean;
1093
1090
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1091
+ createdAt: string | Date;
1092
+ updatedAt: string | Date;
1094
1093
  email?: string | null | undefined;
1094
+ lastName?: string | null | undefined;
1095
1095
  phoneNumbers?: {
1096
- phoneNumber: string;
1097
1096
  id: string;
1097
+ phoneNumber: string;
1098
1098
  description?: string | null | undefined;
1099
1099
  isPrimary?: boolean | undefined;
1100
1100
  }[] | undefined;
@@ -1134,11 +1134,11 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1134
1134
  createdBy?: {
1135
1135
  email: string;
1136
1136
  phone: string;
1137
- createdAt: string | Date;
1138
- updatedAt: string | Date;
1139
1137
  id: string;
1140
1138
  firstName: string;
1141
1139
  lastName: string;
1140
+ createdAt: string | Date;
1141
+ updatedAt: string | Date;
1142
1142
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1143
1143
  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;
1144
1144
  } | null | undefined;
@@ -1150,22 +1150,23 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1150
1150
  currentPage: z.ZodNumber;
1151
1151
  totalPages: z.ZodNumber;
1152
1152
  }, "strip", z.ZodTypeAny, {
1153
+ limit: number;
1153
1154
  items: {
1154
- createdAt: string;
1155
- updatedAt: string;
1156
1155
  id: string;
1157
1156
  firstName: string;
1158
- lastName: string;
1159
1157
  phoneNumbers: {
1158
+ id: string;
1160
1159
  phoneNumber: string;
1161
1160
  isPrimary: boolean;
1162
- id: string;
1163
1161
  description?: string | null | undefined;
1164
1162
  }[];
1165
1163
  hasTools: boolean;
1166
1164
  hasPpe: boolean;
1167
1165
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1166
+ createdAt: string;
1167
+ updatedAt: string;
1168
1168
  email?: string | null | undefined;
1169
+ lastName?: string | null | undefined;
1169
1170
  nino?: string | null | undefined;
1170
1171
  dateOfBirth?: string | null | undefined;
1171
1172
  bio?: string | null | undefined;
@@ -1202,35 +1203,35 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1202
1203
  createdBy?: {
1203
1204
  email: string;
1204
1205
  phone: string;
1205
- createdAt: string;
1206
- updatedAt: string;
1207
1206
  id: string;
1208
1207
  firstName: string;
1209
1208
  lastName: string;
1209
+ createdAt: string;
1210
+ updatedAt: string;
1210
1211
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1211
1212
  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;
1212
1213
  } | null | undefined;
1213
1214
  distanceKm?: number | null | undefined;
1214
1215
  }[];
1215
1216
  totalCount: number;
1216
- limit: number;
1217
1217
  skip: number;
1218
1218
  currentPage: number;
1219
1219
  totalPages: number;
1220
1220
  }, {
1221
+ limit: number;
1221
1222
  items: {
1222
- createdAt: string | Date;
1223
- updatedAt: string | Date;
1224
1223
  id: string;
1225
1224
  firstName: string;
1226
- lastName: string;
1227
1225
  hasTools: boolean;
1228
1226
  hasPpe: boolean;
1229
1227
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1228
+ createdAt: string | Date;
1229
+ updatedAt: string | Date;
1230
1230
  email?: string | null | undefined;
1231
+ lastName?: string | null | undefined;
1231
1232
  phoneNumbers?: {
1232
- phoneNumber: string;
1233
1233
  id: string;
1234
+ phoneNumber: string;
1234
1235
  description?: string | null | undefined;
1235
1236
  isPrimary?: boolean | undefined;
1236
1237
  }[] | undefined;
@@ -1270,18 +1271,17 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1270
1271
  createdBy?: {
1271
1272
  email: string;
1272
1273
  phone: string;
1273
- createdAt: string | Date;
1274
- updatedAt: string | Date;
1275
1274
  id: string;
1276
1275
  firstName: string;
1277
1276
  lastName: string;
1277
+ createdAt: string | Date;
1278
+ updatedAt: string | Date;
1278
1279
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1279
1280
  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;
1280
1281
  } | null | undefined;
1281
1282
  distanceKm?: number | null | undefined;
1282
1283
  }[];
1283
1284
  totalCount: number;
1284
- limit: number;
1285
1285
  skip: number;
1286
1286
  currentPage: number;
1287
1287
  totalPages: number;
@@ -1315,7 +1315,7 @@ export declare const workersContractRouter: {
1315
1315
  method: "POST";
1316
1316
  body: z.ZodObject<{
1317
1317
  firstName: z.ZodString;
1318
- lastName: z.ZodString;
1318
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1319
1319
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
1320
1320
  phoneNumbers: z.ZodEffects<z.ZodArray<z.ZodObject<{
1321
1321
  phoneNumber: z.ZodEffects<z.ZodString, string, string>;
@@ -1406,7 +1406,6 @@ export declare const workersContractRouter: {
1406
1406
  availability: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>>;
1407
1407
  }, "strip", z.ZodTypeAny, {
1408
1408
  firstName: string;
1409
- lastName: string;
1410
1409
  phoneNumbers: {
1411
1410
  phoneNumber: string;
1412
1411
  isPrimary: boolean;
@@ -1420,6 +1419,7 @@ export declare const workersContractRouter: {
1420
1419
  hasPpe: boolean;
1421
1420
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1422
1421
  email?: string | null | undefined;
1422
+ lastName?: string | null | undefined;
1423
1423
  nino?: string | null | undefined;
1424
1424
  dateOfBirth?: string | Date | null | undefined;
1425
1425
  bio?: string | null | undefined;
@@ -1443,7 +1443,6 @@ export declare const workersContractRouter: {
1443
1443
  } | null | undefined;
1444
1444
  }, {
1445
1445
  firstName: string;
1446
- lastName: string;
1447
1446
  phoneNumbers: {
1448
1447
  phoneNumber: string;
1449
1448
  description?: string | null | undefined;
@@ -1456,6 +1455,7 @@ export declare const workersContractRouter: {
1456
1455
  hasTools: boolean;
1457
1456
  hasPpe: boolean;
1458
1457
  email?: string | null | undefined;
1458
+ lastName?: string | null | undefined;
1459
1459
  nino?: string | null | undefined;
1460
1460
  dateOfBirth?: string | Date | null | undefined;
1461
1461
  bio?: string | null | undefined;
@@ -1584,7 +1584,7 @@ export declare const workersContractRouter: {
1584
1584
  201: z.ZodObject<{
1585
1585
  id: z.ZodString;
1586
1586
  firstName: z.ZodString;
1587
- lastName: z.ZodString;
1587
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1588
1588
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1589
1589
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1590
1590
  id: z.ZodString;
@@ -1592,13 +1592,13 @@ export declare const workersContractRouter: {
1592
1592
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1593
1593
  isPrimary: z.ZodDefault<z.ZodBoolean>;
1594
1594
  }, "strip", z.ZodTypeAny, {
1595
+ id: string;
1595
1596
  phoneNumber: string;
1596
1597
  isPrimary: boolean;
1597
- id: string;
1598
1598
  description?: string | null | undefined;
1599
1599
  }, {
1600
- phoneNumber: string;
1601
1600
  id: string;
1601
+ phoneNumber: string;
1602
1602
  description?: string | null | undefined;
1603
1603
  isPrimary?: boolean | undefined;
1604
1604
  }>, "many">>>;
@@ -1697,21 +1697,21 @@ export declare const workersContractRouter: {
1697
1697
  }, "strip", z.ZodTypeAny, {
1698
1698
  email: string;
1699
1699
  phone: string;
1700
- createdAt: string;
1701
- updatedAt: string;
1702
1700
  id: string;
1703
1701
  firstName: string;
1704
1702
  lastName: string;
1703
+ createdAt: string;
1704
+ updatedAt: string;
1705
1705
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1706
1706
  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;
1707
1707
  }, {
1708
1708
  email: string;
1709
1709
  phone: string;
1710
- createdAt: string | Date;
1711
- updatedAt: string | Date;
1712
1710
  id: string;
1713
1711
  firstName: string;
1714
1712
  lastName: string;
1713
+ createdAt: string | Date;
1714
+ updatedAt: string | Date;
1715
1715
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1716
1716
  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;
1717
1717
  }>>>;
@@ -1719,21 +1719,21 @@ export declare const workersContractRouter: {
1719
1719
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1720
1720
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1721
1721
  }, "strip", z.ZodTypeAny, {
1722
- createdAt: string;
1723
- updatedAt: string;
1724
1722
  id: string;
1725
1723
  firstName: string;
1726
- lastName: string;
1727
1724
  phoneNumbers: {
1725
+ id: string;
1728
1726
  phoneNumber: string;
1729
1727
  isPrimary: boolean;
1730
- id: string;
1731
1728
  description?: string | null | undefined;
1732
1729
  }[];
1733
1730
  hasTools: boolean;
1734
1731
  hasPpe: boolean;
1735
1732
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1733
+ createdAt: string;
1734
+ updatedAt: string;
1736
1735
  email?: string | null | undefined;
1736
+ lastName?: string | null | undefined;
1737
1737
  nino?: string | null | undefined;
1738
1738
  dateOfBirth?: string | null | undefined;
1739
1739
  bio?: string | null | undefined;
@@ -1770,28 +1770,28 @@ export declare const workersContractRouter: {
1770
1770
  createdBy?: {
1771
1771
  email: string;
1772
1772
  phone: string;
1773
- createdAt: string;
1774
- updatedAt: string;
1775
1773
  id: string;
1776
1774
  firstName: string;
1777
1775
  lastName: string;
1776
+ createdAt: string;
1777
+ updatedAt: string;
1778
1778
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1779
1779
  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;
1780
1780
  } | null | undefined;
1781
1781
  distanceKm?: number | null | undefined;
1782
1782
  }, {
1783
- createdAt: string | Date;
1784
- updatedAt: string | Date;
1785
1783
  id: string;
1786
1784
  firstName: string;
1787
- lastName: string;
1788
1785
  hasTools: boolean;
1789
1786
  hasPpe: boolean;
1790
1787
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1788
+ createdAt: string | Date;
1789
+ updatedAt: string | Date;
1791
1790
  email?: string | null | undefined;
1791
+ lastName?: string | null | undefined;
1792
1792
  phoneNumbers?: {
1793
- phoneNumber: string;
1794
1793
  id: string;
1794
+ phoneNumber: string;
1795
1795
  description?: string | null | undefined;
1796
1796
  isPrimary?: boolean | undefined;
1797
1797
  }[] | undefined;
@@ -1831,11 +1831,11 @@ export declare const workersContractRouter: {
1831
1831
  createdBy?: {
1832
1832
  email: string;
1833
1833
  phone: string;
1834
- createdAt: string | Date;
1835
- updatedAt: string | Date;
1836
1834
  id: string;
1837
1835
  firstName: string;
1838
1836
  lastName: string;
1837
+ createdAt: string | Date;
1838
+ updatedAt: string | Date;
1839
1839
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1840
1840
  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;
1841
1841
  } | null | undefined;
@@ -1887,14 +1887,14 @@ export declare const workersContractRouter: {
1887
1887
  englishLevel: z.ZodNullable<z.ZodOptional<z.ZodEnum<["NONE", "BASIC", "INTERMEDIATE", "ADVANCED", "NATIVE"]>>>;
1888
1888
  nationality: z.ZodNullable<z.ZodOptional<z.ZodEnum<["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"]>>>;
1889
1889
  location: z.ZodOptional<z.ZodObject<{
1890
- postcode: z.ZodOptional<z.ZodString>;
1891
- radius: z.ZodOptional<z.ZodNumber>;
1890
+ postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1891
+ radius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1892
1892
  }, "strip", z.ZodTypeAny, {
1893
- postcode?: string | undefined;
1894
- radius?: number | undefined;
1893
+ postcode?: string | null | undefined;
1894
+ radius?: number | null | undefined;
1895
1895
  }, {
1896
- postcode?: string | undefined;
1897
- radius?: number | undefined;
1896
+ postcode?: string | null | undefined;
1897
+ radius?: number | null | undefined;
1898
1898
  }>>;
1899
1899
  hasTools: z.ZodOptional<z.ZodDefault<z.ZodEnum<["only_with", "only_without", "all"]>>>;
1900
1900
  hasPpe: z.ZodOptional<z.ZodDefault<z.ZodEnum<["only_with", "only_without", "all"]>>>;
@@ -1930,22 +1930,22 @@ export declare const workersContractRouter: {
1930
1930
  hasTools?: "only_with" | "only_without" | "all" | undefined;
1931
1931
  hasPpe?: "only_with" | "only_without" | "all" | undefined;
1932
1932
  location?: {
1933
- postcode?: string | undefined;
1934
- radius?: number | undefined;
1933
+ postcode?: string | null | undefined;
1934
+ radius?: number | null | undefined;
1935
1935
  } | undefined;
1936
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
1937
+ createdBy?: string | undefined;
1936
1938
  name?: string | undefined;
1937
- qualificationFilters?: {
1938
- qualificationId?: string | undefined;
1939
- qualificationTypeId?: string | undefined;
1940
- }[] | undefined;
1941
- sortOrder?: "ASC" | "DESC" | null | undefined;
1942
1939
  tradeFilters?: {
1943
1940
  tradeId: string;
1944
1941
  mainTrade?: boolean | undefined;
1945
1942
  }[] | undefined;
1943
+ qualificationFilters?: {
1944
+ qualificationId?: string | undefined;
1945
+ qualificationTypeId?: string | undefined;
1946
+ }[] | undefined;
1946
1947
  sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
1947
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
1948
- createdBy?: string | undefined;
1948
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1949
1949
  }, {
1950
1950
  email?: string | undefined;
1951
1951
  phone?: string | undefined;
@@ -1954,24 +1954,24 @@ export declare const workersContractRouter: {
1954
1954
  hasTools?: "only_with" | "only_without" | "all" | undefined;
1955
1955
  hasPpe?: "only_with" | "only_without" | "all" | undefined;
1956
1956
  location?: {
1957
- postcode?: string | undefined;
1958
- radius?: number | undefined;
1957
+ postcode?: string | null | undefined;
1958
+ radius?: number | null | undefined;
1959
1959
  } | undefined;
1960
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
1961
+ createdBy?: string | undefined;
1960
1962
  limit?: number | undefined;
1961
1963
  page?: number | undefined;
1962
1964
  name?: string | undefined;
1963
- qualificationFilters?: {
1964
- qualificationId?: string | undefined;
1965
- qualificationTypeId?: string | undefined;
1966
- }[] | undefined;
1967
- sortOrder?: "ASC" | "DESC" | null | undefined;
1968
1965
  tradeFilters?: {
1969
1966
  tradeId: string;
1970
1967
  mainTrade?: unknown;
1971
1968
  }[] | undefined;
1969
+ qualificationFilters?: {
1970
+ qualificationId?: string | undefined;
1971
+ qualificationTypeId?: string | undefined;
1972
+ }[] | undefined;
1972
1973
  sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
1973
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
1974
- createdBy?: string | undefined;
1974
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1975
1975
  }>;
1976
1976
  summary: "Get all workers";
1977
1977
  method: "GET";
@@ -2081,7 +2081,7 @@ export declare const workersContractRouter: {
2081
2081
  items: z.ZodArray<z.ZodObject<{
2082
2082
  id: z.ZodString;
2083
2083
  firstName: z.ZodString;
2084
- lastName: z.ZodString;
2084
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2085
2085
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2086
2086
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2087
2087
  id: z.ZodString;
@@ -2089,13 +2089,13 @@ export declare const workersContractRouter: {
2089
2089
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2090
2090
  isPrimary: z.ZodDefault<z.ZodBoolean>;
2091
2091
  }, "strip", z.ZodTypeAny, {
2092
+ id: string;
2092
2093
  phoneNumber: string;
2093
2094
  isPrimary: boolean;
2094
- id: string;
2095
2095
  description?: string | null | undefined;
2096
2096
  }, {
2097
- phoneNumber: string;
2098
2097
  id: string;
2098
+ phoneNumber: string;
2099
2099
  description?: string | null | undefined;
2100
2100
  isPrimary?: boolean | undefined;
2101
2101
  }>, "many">>>;
@@ -2194,21 +2194,21 @@ export declare const workersContractRouter: {
2194
2194
  }, "strip", z.ZodTypeAny, {
2195
2195
  email: string;
2196
2196
  phone: string;
2197
- createdAt: string;
2198
- updatedAt: string;
2199
2197
  id: string;
2200
2198
  firstName: string;
2201
2199
  lastName: string;
2200
+ createdAt: string;
2201
+ updatedAt: string;
2202
2202
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2203
2203
  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;
2204
2204
  }, {
2205
2205
  email: string;
2206
2206
  phone: string;
2207
- createdAt: string | Date;
2208
- updatedAt: string | Date;
2209
2207
  id: string;
2210
2208
  firstName: string;
2211
2209
  lastName: string;
2210
+ createdAt: string | Date;
2211
+ updatedAt: string | Date;
2212
2212
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2213
2213
  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;
2214
2214
  }>>>;
@@ -2216,21 +2216,21 @@ export declare const workersContractRouter: {
2216
2216
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2217
2217
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2218
2218
  }, "strip", z.ZodTypeAny, {
2219
- createdAt: string;
2220
- updatedAt: string;
2221
2219
  id: string;
2222
2220
  firstName: string;
2223
- lastName: string;
2224
2221
  phoneNumbers: {
2222
+ id: string;
2225
2223
  phoneNumber: string;
2226
2224
  isPrimary: boolean;
2227
- id: string;
2228
2225
  description?: string | null | undefined;
2229
2226
  }[];
2230
2227
  hasTools: boolean;
2231
2228
  hasPpe: boolean;
2232
2229
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2230
+ createdAt: string;
2231
+ updatedAt: string;
2233
2232
  email?: string | null | undefined;
2233
+ lastName?: string | null | undefined;
2234
2234
  nino?: string | null | undefined;
2235
2235
  dateOfBirth?: string | null | undefined;
2236
2236
  bio?: string | null | undefined;
@@ -2267,28 +2267,28 @@ export declare const workersContractRouter: {
2267
2267
  createdBy?: {
2268
2268
  email: string;
2269
2269
  phone: string;
2270
- createdAt: string;
2271
- updatedAt: string;
2272
2270
  id: string;
2273
2271
  firstName: string;
2274
2272
  lastName: string;
2273
+ createdAt: string;
2274
+ updatedAt: string;
2275
2275
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2276
2276
  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;
2277
2277
  } | null | undefined;
2278
2278
  distanceKm?: number | null | undefined;
2279
2279
  }, {
2280
- createdAt: string | Date;
2281
- updatedAt: string | Date;
2282
2280
  id: string;
2283
2281
  firstName: string;
2284
- lastName: string;
2285
2282
  hasTools: boolean;
2286
2283
  hasPpe: boolean;
2287
2284
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2285
+ createdAt: string | Date;
2286
+ updatedAt: string | Date;
2288
2287
  email?: string | null | undefined;
2288
+ lastName?: string | null | undefined;
2289
2289
  phoneNumbers?: {
2290
- phoneNumber: string;
2291
2290
  id: string;
2291
+ phoneNumber: string;
2292
2292
  description?: string | null | undefined;
2293
2293
  isPrimary?: boolean | undefined;
2294
2294
  }[] | undefined;
@@ -2328,11 +2328,11 @@ export declare const workersContractRouter: {
2328
2328
  createdBy?: {
2329
2329
  email: string;
2330
2330
  phone: string;
2331
- createdAt: string | Date;
2332
- updatedAt: string | Date;
2333
2331
  id: string;
2334
2332
  firstName: string;
2335
2333
  lastName: string;
2334
+ createdAt: string | Date;
2335
+ updatedAt: string | Date;
2336
2336
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2337
2337
  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;
2338
2338
  } | null | undefined;
@@ -2344,22 +2344,23 @@ export declare const workersContractRouter: {
2344
2344
  currentPage: z.ZodNumber;
2345
2345
  totalPages: z.ZodNumber;
2346
2346
  }, "strip", z.ZodTypeAny, {
2347
+ limit: number;
2347
2348
  items: {
2348
- createdAt: string;
2349
- updatedAt: string;
2350
2349
  id: string;
2351
2350
  firstName: string;
2352
- lastName: string;
2353
2351
  phoneNumbers: {
2352
+ id: string;
2354
2353
  phoneNumber: string;
2355
2354
  isPrimary: boolean;
2356
- id: string;
2357
2355
  description?: string | null | undefined;
2358
2356
  }[];
2359
2357
  hasTools: boolean;
2360
2358
  hasPpe: boolean;
2361
2359
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2360
+ createdAt: string;
2361
+ updatedAt: string;
2362
2362
  email?: string | null | undefined;
2363
+ lastName?: string | null | undefined;
2363
2364
  nino?: string | null | undefined;
2364
2365
  dateOfBirth?: string | null | undefined;
2365
2366
  bio?: string | null | undefined;
@@ -2396,35 +2397,35 @@ export declare const workersContractRouter: {
2396
2397
  createdBy?: {
2397
2398
  email: string;
2398
2399
  phone: string;
2399
- createdAt: string;
2400
- updatedAt: string;
2401
2400
  id: string;
2402
2401
  firstName: string;
2403
2402
  lastName: string;
2403
+ createdAt: string;
2404
+ updatedAt: string;
2404
2405
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2405
2406
  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;
2406
2407
  } | null | undefined;
2407
2408
  distanceKm?: number | null | undefined;
2408
2409
  }[];
2409
2410
  totalCount: number;
2410
- limit: number;
2411
2411
  skip: number;
2412
2412
  currentPage: number;
2413
2413
  totalPages: number;
2414
2414
  }, {
2415
+ limit: number;
2415
2416
  items: {
2416
- createdAt: string | Date;
2417
- updatedAt: string | Date;
2418
2417
  id: string;
2419
2418
  firstName: string;
2420
- lastName: string;
2421
2419
  hasTools: boolean;
2422
2420
  hasPpe: boolean;
2423
2421
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2422
+ createdAt: string | Date;
2423
+ updatedAt: string | Date;
2424
2424
  email?: string | null | undefined;
2425
+ lastName?: string | null | undefined;
2425
2426
  phoneNumbers?: {
2426
- phoneNumber: string;
2427
2427
  id: string;
2428
+ phoneNumber: string;
2428
2429
  description?: string | null | undefined;
2429
2430
  isPrimary?: boolean | undefined;
2430
2431
  }[] | undefined;
@@ -2464,18 +2465,17 @@ export declare const workersContractRouter: {
2464
2465
  createdBy?: {
2465
2466
  email: string;
2466
2467
  phone: string;
2467
- createdAt: string | Date;
2468
- updatedAt: string | Date;
2469
2468
  id: string;
2470
2469
  firstName: string;
2471
2470
  lastName: string;
2471
+ createdAt: string | Date;
2472
+ updatedAt: string | Date;
2472
2473
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2473
2474
  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;
2474
2475
  } | null | undefined;
2475
2476
  distanceKm?: number | null | undefined;
2476
2477
  }[];
2477
2478
  totalCount: number;
2478
- limit: number;
2479
2479
  skip: number;
2480
2480
  currentPage: number;
2481
2481
  totalPages: number;
@@ -2603,7 +2603,7 @@ export declare const workersContractRouter: {
2603
2603
  200: z.ZodObject<{
2604
2604
  id: z.ZodString;
2605
2605
  firstName: z.ZodString;
2606
- lastName: z.ZodString;
2606
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2607
2607
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2608
2608
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2609
2609
  id: z.ZodString;
@@ -2611,13 +2611,13 @@ export declare const workersContractRouter: {
2611
2611
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2612
2612
  isPrimary: z.ZodDefault<z.ZodBoolean>;
2613
2613
  }, "strip", z.ZodTypeAny, {
2614
+ id: string;
2614
2615
  phoneNumber: string;
2615
2616
  isPrimary: boolean;
2616
- id: string;
2617
2617
  description?: string | null | undefined;
2618
2618
  }, {
2619
- phoneNumber: string;
2620
2619
  id: string;
2620
+ phoneNumber: string;
2621
2621
  description?: string | null | undefined;
2622
2622
  isPrimary?: boolean | undefined;
2623
2623
  }>, "many">>>;
@@ -2716,21 +2716,21 @@ export declare const workersContractRouter: {
2716
2716
  }, "strip", z.ZodTypeAny, {
2717
2717
  email: string;
2718
2718
  phone: string;
2719
- createdAt: string;
2720
- updatedAt: string;
2721
2719
  id: string;
2722
2720
  firstName: string;
2723
2721
  lastName: string;
2722
+ createdAt: string;
2723
+ updatedAt: string;
2724
2724
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2725
2725
  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;
2726
2726
  }, {
2727
2727
  email: string;
2728
2728
  phone: string;
2729
- createdAt: string | Date;
2730
- updatedAt: string | Date;
2731
2729
  id: string;
2732
2730
  firstName: string;
2733
2731
  lastName: string;
2732
+ createdAt: string | Date;
2733
+ updatedAt: string | Date;
2734
2734
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2735
2735
  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;
2736
2736
  }>>>;
@@ -2738,21 +2738,21 @@ export declare const workersContractRouter: {
2738
2738
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2739
2739
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2740
2740
  }, "strip", z.ZodTypeAny, {
2741
- createdAt: string;
2742
- updatedAt: string;
2743
2741
  id: string;
2744
2742
  firstName: string;
2745
- lastName: string;
2746
2743
  phoneNumbers: {
2744
+ id: string;
2747
2745
  phoneNumber: string;
2748
2746
  isPrimary: boolean;
2749
- id: string;
2750
2747
  description?: string | null | undefined;
2751
2748
  }[];
2752
2749
  hasTools: boolean;
2753
2750
  hasPpe: boolean;
2754
2751
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2752
+ createdAt: string;
2753
+ updatedAt: string;
2755
2754
  email?: string | null | undefined;
2755
+ lastName?: string | null | undefined;
2756
2756
  nino?: string | null | undefined;
2757
2757
  dateOfBirth?: string | null | undefined;
2758
2758
  bio?: string | null | undefined;
@@ -2789,28 +2789,28 @@ export declare const workersContractRouter: {
2789
2789
  createdBy?: {
2790
2790
  email: string;
2791
2791
  phone: string;
2792
- createdAt: string;
2793
- updatedAt: string;
2794
2792
  id: string;
2795
2793
  firstName: string;
2796
2794
  lastName: string;
2795
+ createdAt: string;
2796
+ updatedAt: string;
2797
2797
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2798
2798
  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;
2799
2799
  } | null | undefined;
2800
2800
  distanceKm?: number | null | undefined;
2801
2801
  }, {
2802
- createdAt: string | Date;
2803
- updatedAt: string | Date;
2804
2802
  id: string;
2805
2803
  firstName: string;
2806
- lastName: string;
2807
2804
  hasTools: boolean;
2808
2805
  hasPpe: boolean;
2809
2806
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2807
+ createdAt: string | Date;
2808
+ updatedAt: string | Date;
2810
2809
  email?: string | null | undefined;
2810
+ lastName?: string | null | undefined;
2811
2811
  phoneNumbers?: {
2812
- phoneNumber: string;
2813
2812
  id: string;
2813
+ phoneNumber: string;
2814
2814
  description?: string | null | undefined;
2815
2815
  isPrimary?: boolean | undefined;
2816
2816
  }[] | undefined;
@@ -2850,11 +2850,11 @@ export declare const workersContractRouter: {
2850
2850
  createdBy?: {
2851
2851
  email: string;
2852
2852
  phone: string;
2853
- createdAt: string | Date;
2854
- updatedAt: string | Date;
2855
2853
  id: string;
2856
2854
  firstName: string;
2857
2855
  lastName: string;
2856
+ createdAt: string | Date;
2857
+ updatedAt: string | Date;
2858
2858
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2859
2859
  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;
2860
2860
  } | null | undefined;
@@ -2905,7 +2905,7 @@ export declare const workersContractRouter: {
2905
2905
  method: "PATCH";
2906
2906
  body: z.ZodObject<{
2907
2907
  firstName: z.ZodOptional<z.ZodString>;
2908
- lastName: z.ZodOptional<z.ZodString>;
2908
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2909
2909
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
2910
2910
  phoneNumbers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
2911
2911
  id: z.ZodOptional<z.ZodString>;
@@ -2913,35 +2913,35 @@ export declare const workersContractRouter: {
2913
2913
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2914
2914
  isPrimary: z.ZodOptional<z.ZodBoolean>;
2915
2915
  }, "strip", z.ZodTypeAny, {
2916
+ id?: string | undefined;
2916
2917
  phoneNumber?: string | undefined;
2917
2918
  description?: string | null | undefined;
2918
2919
  isPrimary?: boolean | undefined;
2919
- id?: string | undefined;
2920
2920
  }, {
2921
+ id?: string | undefined;
2921
2922
  phoneNumber?: string | undefined;
2922
2923
  description?: string | null | undefined;
2923
2924
  isPrimary?: boolean | undefined;
2924
- id?: string | undefined;
2925
2925
  }>, {
2926
+ id?: string | undefined;
2926
2927
  phoneNumber?: string | undefined;
2927
2928
  description?: string | null | undefined;
2928
2929
  isPrimary?: boolean | undefined;
2929
- id?: string | undefined;
2930
2930
  }, {
2931
+ id?: string | undefined;
2931
2932
  phoneNumber?: string | undefined;
2932
2933
  description?: string | null | undefined;
2933
2934
  isPrimary?: boolean | undefined;
2934
- id?: string | undefined;
2935
2935
  }>, "many">, {
2936
+ id?: string | undefined;
2936
2937
  phoneNumber?: string | undefined;
2937
2938
  description?: string | null | undefined;
2938
2939
  isPrimary?: boolean | undefined;
2939
- id?: string | undefined;
2940
2940
  }[], {
2941
+ id?: string | undefined;
2941
2942
  phoneNumber?: string | undefined;
2942
2943
  description?: string | null | undefined;
2943
2944
  isPrimary?: boolean | undefined;
2944
- id?: string | undefined;
2945
2945
  }[]>>;
2946
2946
  nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2947
2947
  dateOfBirth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
@@ -3020,12 +3020,12 @@ export declare const workersContractRouter: {
3020
3020
  }, "strip", z.ZodTypeAny, {
3021
3021
  email?: string | null | undefined;
3022
3022
  firstName?: string | undefined;
3023
- lastName?: string | undefined;
3023
+ lastName?: string | null | undefined;
3024
3024
  phoneNumbers?: {
3025
+ id?: string | undefined;
3025
3026
  phoneNumber?: string | undefined;
3026
3027
  description?: string | null | undefined;
3027
3028
  isPrimary?: boolean | undefined;
3028
- id?: string | undefined;
3029
3029
  }[] | undefined;
3030
3030
  nino?: string | null | undefined;
3031
3031
  dateOfBirth?: string | Date | null | undefined;
@@ -3060,12 +3060,12 @@ export declare const workersContractRouter: {
3060
3060
  }, {
3061
3061
  email?: string | null | undefined;
3062
3062
  firstName?: string | undefined;
3063
- lastName?: string | undefined;
3063
+ lastName?: string | null | undefined;
3064
3064
  phoneNumbers?: {
3065
+ id?: string | undefined;
3065
3066
  phoneNumber?: string | undefined;
3066
3067
  description?: string | null | undefined;
3067
3068
  isPrimary?: boolean | undefined;
3068
- id?: string | undefined;
3069
3069
  }[] | undefined;
3070
3070
  nino?: string | null | undefined;
3071
3071
  dateOfBirth?: string | Date | null | undefined;
@@ -3203,7 +3203,7 @@ export declare const workersContractRouter: {
3203
3203
  200: z.ZodObject<{
3204
3204
  id: z.ZodString;
3205
3205
  firstName: z.ZodString;
3206
- lastName: z.ZodString;
3206
+ lastName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3207
3207
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3208
3208
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3209
3209
  id: z.ZodString;
@@ -3211,13 +3211,13 @@ export declare const workersContractRouter: {
3211
3211
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3212
3212
  isPrimary: z.ZodDefault<z.ZodBoolean>;
3213
3213
  }, "strip", z.ZodTypeAny, {
3214
+ id: string;
3214
3215
  phoneNumber: string;
3215
3216
  isPrimary: boolean;
3216
- id: string;
3217
3217
  description?: string | null | undefined;
3218
3218
  }, {
3219
- phoneNumber: string;
3220
3219
  id: string;
3220
+ phoneNumber: string;
3221
3221
  description?: string | null | undefined;
3222
3222
  isPrimary?: boolean | undefined;
3223
3223
  }>, "many">>>;
@@ -3316,21 +3316,21 @@ export declare const workersContractRouter: {
3316
3316
  }, "strip", z.ZodTypeAny, {
3317
3317
  email: string;
3318
3318
  phone: string;
3319
- createdAt: string;
3320
- updatedAt: string;
3321
3319
  id: string;
3322
3320
  firstName: string;
3323
3321
  lastName: string;
3322
+ createdAt: string;
3323
+ updatedAt: string;
3324
3324
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
3325
3325
  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;
3326
3326
  }, {
3327
3327
  email: string;
3328
3328
  phone: string;
3329
- createdAt: string | Date;
3330
- updatedAt: string | Date;
3331
3329
  id: string;
3332
3330
  firstName: string;
3333
3331
  lastName: string;
3332
+ createdAt: string | Date;
3333
+ updatedAt: string | Date;
3334
3334
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
3335
3335
  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;
3336
3336
  }>>>;
@@ -3338,21 +3338,21 @@ export declare const workersContractRouter: {
3338
3338
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3339
3339
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3340
3340
  }, "strip", z.ZodTypeAny, {
3341
- createdAt: string;
3342
- updatedAt: string;
3343
3341
  id: string;
3344
3342
  firstName: string;
3345
- lastName: string;
3346
3343
  phoneNumbers: {
3344
+ id: string;
3347
3345
  phoneNumber: string;
3348
3346
  isPrimary: boolean;
3349
- id: string;
3350
3347
  description?: string | null | undefined;
3351
3348
  }[];
3352
3349
  hasTools: boolean;
3353
3350
  hasPpe: boolean;
3354
3351
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3352
+ createdAt: string;
3353
+ updatedAt: string;
3355
3354
  email?: string | null | undefined;
3355
+ lastName?: string | null | undefined;
3356
3356
  nino?: string | null | undefined;
3357
3357
  dateOfBirth?: string | null | undefined;
3358
3358
  bio?: string | null | undefined;
@@ -3389,28 +3389,28 @@ export declare const workersContractRouter: {
3389
3389
  createdBy?: {
3390
3390
  email: string;
3391
3391
  phone: string;
3392
- createdAt: string;
3393
- updatedAt: string;
3394
3392
  id: string;
3395
3393
  firstName: string;
3396
3394
  lastName: string;
3395
+ createdAt: string;
3396
+ updatedAt: string;
3397
3397
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
3398
3398
  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;
3399
3399
  } | null | undefined;
3400
3400
  distanceKm?: number | null | undefined;
3401
3401
  }, {
3402
- createdAt: string | Date;
3403
- updatedAt: string | Date;
3404
3402
  id: string;
3405
3403
  firstName: string;
3406
- lastName: string;
3407
3404
  hasTools: boolean;
3408
3405
  hasPpe: boolean;
3409
3406
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3407
+ createdAt: string | Date;
3408
+ updatedAt: string | Date;
3410
3409
  email?: string | null | undefined;
3410
+ lastName?: string | null | undefined;
3411
3411
  phoneNumbers?: {
3412
- phoneNumber: string;
3413
3412
  id: string;
3413
+ phoneNumber: string;
3414
3414
  description?: string | null | undefined;
3415
3415
  isPrimary?: boolean | undefined;
3416
3416
  }[] | undefined;
@@ -3450,11 +3450,11 @@ export declare const workersContractRouter: {
3450
3450
  createdBy?: {
3451
3451
  email: string;
3452
3452
  phone: string;
3453
- createdAt: string | Date;
3454
- updatedAt: string | Date;
3455
3453
  id: string;
3456
3454
  firstName: string;
3457
3455
  lastName: string;
3456
+ createdAt: string | Date;
3457
+ updatedAt: string | Date;
3458
3458
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
3459
3459
  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;
3460
3460
  } | null | undefined;