@dakkitor/api-contracts 1.1.79 → 1.1.80

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 (33) hide show
  1. package/dist/abilities/first-agent.abilities.json +2 -0
  2. package/dist/actives/actives.contract.d.ts +2517 -2227
  3. package/dist/actives/actives.contract.d.ts.map +1 -1
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +34 -34
  5. package/dist/bookings/bookings.contract.d.ts +2216 -1951
  6. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  7. package/dist/call-history/call-history.contract.d.ts +74 -74
  8. package/dist/client-contacts/client-contacts.contract.d.ts +32 -32
  9. package/dist/clients/clients.contract.d.ts +18 -18
  10. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +600 -600
  11. package/dist/collaborations/collaborations.contract.d.ts +766 -491
  12. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  13. package/dist/collaborations/collaborations.contract.js +10 -5
  14. package/dist/common/common-schemas.d.ts +69 -2
  15. package/dist/common/common-schemas.d.ts.map +1 -1
  16. package/dist/common/common-schemas.js +72 -1
  17. package/dist/companies/companies.contract.d.ts +2 -2
  18. package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
  19. package/dist/curated-workers/curated-workers.contract.d.ts +312 -285
  20. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  21. package/dist/curated-workers/curated-workers.contract.js +7 -20
  22. package/dist/jobs/jobs.contract.d.ts +687 -687
  23. package/dist/lead-assignments/lead-assignments.contract.d.ts +74 -74
  24. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +16 -16
  25. package/dist/leads/leads.contract.d.ts +48 -48
  26. package/dist/locations/locations.contract.d.ts +12 -12
  27. package/dist/users/users.contract.d.ts +12 -18
  28. package/dist/users/users.contract.d.ts.map +1 -1
  29. package/dist/users/users.contract.js +3 -12
  30. package/dist/workers/workers.contract.d.ts +351 -181
  31. package/dist/workers/workers.contract.d.ts.map +1 -1
  32. package/dist/workers/workers.contract.js +27 -42
  33. package/package.json +1 -1
@@ -3,23 +3,23 @@ export declare const AvailabilitySchema: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAI
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"]>>;
5
5
  export declare const WorkerPhoneNumberSchema: z.ZodObject<{
6
- id: z.ZodOptional<z.ZodString>;
6
+ id: z.ZodString;
7
7
  phoneNumber: z.ZodString;
8
8
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  isPrimary: z.ZodDefault<z.ZodBoolean>;
10
10
  }, "strip", z.ZodTypeAny, {
11
+ id: string;
11
12
  phoneNumber: string;
12
13
  isPrimary: boolean;
13
- id?: string | undefined;
14
14
  description?: string | null | undefined;
15
15
  }, {
16
+ id: string;
16
17
  phoneNumber: string;
17
- id?: string | undefined;
18
18
  description?: string | null | undefined;
19
19
  isPrimary?: boolean | undefined;
20
20
  }>;
21
21
  export declare const CreateWorkerPhoneNumberSchema: z.ZodObject<{
22
- phoneNumber: z.ZodString;
22
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
23
23
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  isPrimary: z.ZodDefault<z.ZodBoolean>;
25
25
  }, "strip", z.ZodTypeAny, {
@@ -33,7 +33,7 @@ export declare const CreateWorkerPhoneNumberSchema: z.ZodObject<{
33
33
  }>;
34
34
  export declare const UpsertWorkerPhoneNumberSchema: z.ZodEffects<z.ZodObject<{
35
35
  id: z.ZodOptional<z.ZodString>;
36
- phoneNumber: z.ZodOptional<z.ZodString>;
36
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
37
37
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  isPrimary: z.ZodOptional<z.ZodBoolean>;
39
39
  }, "strip", z.ZodTypeAny, {
@@ -153,15 +153,15 @@ export declare const WorkerUserSchema: z.ZodObject<{
153
153
  lastName: z.ZodString;
154
154
  email: z.ZodString;
155
155
  }, "strip", z.ZodTypeAny, {
156
+ email: string;
156
157
  id: string;
157
158
  firstName: string;
158
159
  lastName: string;
159
- email: string;
160
160
  }, {
161
+ email: string;
161
162
  id: string;
162
163
  firstName: string;
163
164
  lastName: string;
164
- email: string;
165
165
  }>;
166
166
  export declare const WorkerSchema: z.ZodObject<{
167
167
  id: z.ZodString;
@@ -169,25 +169,24 @@ export declare const WorkerSchema: z.ZodObject<{
169
169
  lastName: z.ZodString;
170
170
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
171
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
172
- id: z.ZodOptional<z.ZodString>;
172
+ id: z.ZodString;
173
173
  phoneNumber: z.ZodString;
174
174
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
175
  isPrimary: z.ZodDefault<z.ZodBoolean>;
176
176
  }, "strip", z.ZodTypeAny, {
177
+ id: string;
177
178
  phoneNumber: string;
178
179
  isPrimary: boolean;
179
- id?: string | undefined;
180
180
  description?: string | null | undefined;
181
181
  }, {
182
+ id: string;
182
183
  phoneNumber: string;
183
- id?: string | undefined;
184
184
  description?: string | null | undefined;
185
185
  isPrimary?: boolean | undefined;
186
186
  }>, "many">>>;
187
187
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
188
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
189
189
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
- availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
191
190
  trades: z.ZodOptional<z.ZodArray<z.ZodObject<{
192
191
  id: z.ZodOptional<z.ZodString>;
193
192
  tradeId: z.ZodString;
@@ -265,41 +264,57 @@ export declare const WorkerSchema: z.ZodObject<{
265
264
  code: string;
266
265
  expiryDate?: string | Date | null | undefined;
267
266
  }>>>;
267
+ availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
268
268
  createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
269
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
270
270
  id: z.ZodString;
271
271
  firstName: z.ZodString;
272
272
  lastName: z.ZodString;
273
273
  email: z.ZodString;
274
+ phone: z.ZodString;
275
+ roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
276
+ office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
277
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
278
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
274
279
  }, "strip", z.ZodTypeAny, {
280
+ email: string;
281
+ phone: string;
275
282
  id: string;
276
283
  firstName: string;
277
284
  lastName: string;
278
- email: string;
285
+ createdAt: string;
286
+ updatedAt: string;
287
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
288
+ 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;
279
289
  }, {
290
+ email: string;
291
+ phone: string;
280
292
  id: string;
281
293
  firstName: string;
282
294
  lastName: string;
283
- email: string;
295
+ createdAt: string | Date;
296
+ updatedAt: string | Date;
297
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
298
+ 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;
284
299
  }>>>;
285
300
  distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
286
301
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
287
302
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
288
303
  }, "strip", z.ZodTypeAny, {
289
- createdAt: string;
290
- updatedAt: string;
291
304
  id: string;
292
305
  firstName: string;
293
306
  lastName: string;
294
307
  phoneNumbers: {
308
+ id: string;
295
309
  phoneNumber: string;
296
310
  isPrimary: boolean;
297
- id?: string | undefined;
298
311
  description?: string | null | undefined;
299
312
  }[];
300
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
301
313
  hasTools: boolean;
302
314
  hasPpe: boolean;
315
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
316
+ createdAt: string;
317
+ updatedAt: string;
303
318
  email?: string | null | undefined;
304
319
  nino?: string | null | undefined;
305
320
  dateOfBirth?: string | null | undefined;
@@ -335,25 +350,30 @@ export declare const WorkerSchema: z.ZodObject<{
335
350
  } | null | undefined;
336
351
  createdByUserId?: string | null | undefined;
337
352
  createdBy?: {
353
+ email: string;
354
+ phone: string;
338
355
  id: string;
339
356
  firstName: string;
340
357
  lastName: string;
341
- email: string;
358
+ createdAt: string;
359
+ updatedAt: string;
360
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
361
+ 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;
342
362
  } | null | undefined;
343
363
  distanceKm?: number | null | undefined;
344
364
  }, {
345
- createdAt: string | Date;
346
- updatedAt: string | Date;
347
365
  id: string;
348
366
  firstName: string;
349
367
  lastName: string;
350
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
351
368
  hasTools: boolean;
352
369
  hasPpe: boolean;
370
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
371
+ createdAt: string | Date;
372
+ updatedAt: string | Date;
353
373
  email?: string | null | undefined;
354
374
  phoneNumbers?: {
375
+ id: string;
355
376
  phoneNumber: string;
356
- id?: string | undefined;
357
377
  description?: string | null | undefined;
358
378
  isPrimary?: boolean | undefined;
359
379
  }[] | undefined;
@@ -391,10 +411,15 @@ export declare const WorkerSchema: z.ZodObject<{
391
411
  } | null | undefined;
392
412
  createdByUserId?: string | null | undefined;
393
413
  createdBy?: {
414
+ email: string;
415
+ phone: string;
394
416
  id: string;
395
417
  firstName: string;
396
418
  lastName: string;
397
- email: string;
419
+ createdAt: string | Date;
420
+ updatedAt: string | Date;
421
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
422
+ 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;
398
423
  } | null | undefined;
399
424
  distanceKm?: number | null | undefined;
400
425
  }>;
@@ -403,7 +428,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
403
428
  lastName: z.ZodString;
404
429
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
405
430
  phoneNumbers: z.ZodEffects<z.ZodArray<z.ZodObject<{
406
- phoneNumber: z.ZodString;
431
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
407
432
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
408
433
  isPrimary: z.ZodDefault<z.ZodBoolean>;
409
434
  }, "strip", z.ZodTypeAny, {
@@ -426,7 +451,6 @@ export declare const CreateWorkerSchema: z.ZodObject<{
426
451
  nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
427
452
  dateOfBirth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
428
453
  bio: z.ZodNullable<z.ZodOptional<z.ZodString>>;
429
- availability: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>>;
430
454
  trades: z.ZodEffects<z.ZodArray<z.ZodObject<{
431
455
  tradeId: z.ZodString;
432
456
  mainTrade: z.ZodDefault<z.ZodBoolean>;
@@ -489,6 +513,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
489
513
  code: string;
490
514
  expiryDate?: string | Date | null | undefined;
491
515
  }>>>;
516
+ availability: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>>;
492
517
  }, "strip", z.ZodTypeAny, {
493
518
  firstName: string;
494
519
  lastName: string;
@@ -497,13 +522,13 @@ export declare const CreateWorkerSchema: z.ZodObject<{
497
522
  isPrimary: boolean;
498
523
  description?: string | null | undefined;
499
524
  }[];
500
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
501
525
  trades: {
502
526
  tradeId: string;
503
527
  mainTrade: boolean;
504
528
  }[];
505
529
  hasTools: boolean;
506
530
  hasPpe: boolean;
531
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
507
532
  email?: string | null | undefined;
508
533
  nino?: string | null | undefined;
509
534
  dateOfBirth?: string | Date | null | undefined;
@@ -544,7 +569,6 @@ export declare const CreateWorkerSchema: z.ZodObject<{
544
569
  nino?: string | null | undefined;
545
570
  dateOfBirth?: string | Date | null | undefined;
546
571
  bio?: string | null | undefined;
547
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
548
572
  qualifications?: {
549
573
  qualificationId: string;
550
574
  qualificationTypeId?: unknown;
@@ -563,6 +587,7 @@ export declare const CreateWorkerSchema: z.ZodObject<{
563
587
  code: string;
564
588
  expiryDate?: string | Date | null | undefined;
565
589
  } | null | undefined;
590
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
566
591
  }>;
567
592
  export declare const UpdateWorkerSchema: z.ZodObject<{
568
593
  firstName: z.ZodOptional<z.ZodString>;
@@ -570,7 +595,7 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
570
595
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
571
596
  phoneNumbers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
572
597
  id: z.ZodOptional<z.ZodString>;
573
- phoneNumber: z.ZodOptional<z.ZodString>;
598
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
574
599
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
600
  isPrimary: z.ZodOptional<z.ZodBoolean>;
576
601
  }, "strip", z.ZodTypeAny, {
@@ -607,7 +632,6 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
607
632
  nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
608
633
  dateOfBirth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
609
634
  bio: z.ZodNullable<z.ZodOptional<z.ZodString>>;
610
- availability: z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>;
611
635
  trades: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
612
636
  id: z.ZodOptional<z.ZodString>;
613
637
  tradeId: z.ZodString;
@@ -678,10 +702,11 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
678
702
  code: string;
679
703
  expiryDate?: string | Date | null | undefined;
680
704
  }>>>;
705
+ availability: z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>;
681
706
  }, "strip", z.ZodTypeAny, {
707
+ email?: string | null | undefined;
682
708
  firstName?: string | undefined;
683
709
  lastName?: string | undefined;
684
- email?: string | null | undefined;
685
710
  phoneNumbers?: {
686
711
  id?: string | undefined;
687
712
  phoneNumber?: string | undefined;
@@ -691,7 +716,6 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
691
716
  nino?: string | null | undefined;
692
717
  dateOfBirth?: string | Date | null | undefined;
693
718
  bio?: string | null | undefined;
694
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
695
719
  trades?: {
696
720
  tradeId: string;
697
721
  mainTrade: boolean;
@@ -718,10 +742,11 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
718
742
  code: string;
719
743
  expiryDate?: string | null | undefined;
720
744
  } | null | undefined;
745
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
721
746
  }, {
747
+ email?: string | null | undefined;
722
748
  firstName?: string | undefined;
723
749
  lastName?: string | undefined;
724
- email?: string | null | undefined;
725
750
  phoneNumbers?: {
726
751
  id?: string | undefined;
727
752
  phoneNumber?: string | undefined;
@@ -731,7 +756,6 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
731
756
  nino?: string | null | undefined;
732
757
  dateOfBirth?: string | Date | null | undefined;
733
758
  bio?: string | null | undefined;
734
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
735
759
  trades?: {
736
760
  tradeId: string;
737
761
  id?: string | undefined;
@@ -758,6 +782,7 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
758
782
  code: string;
759
783
  expiryDate?: string | Date | null | undefined;
760
784
  } | null | undefined;
785
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
761
786
  }>;
762
787
  export declare const FilterWorkerSchema: z.ZodObject<{
763
788
  limit: z.ZodDefault<z.ZodNumber>;
@@ -799,51 +824,51 @@ export declare const FilterWorkerSchema: z.ZodObject<{
799
824
  }, "strip", z.ZodTypeAny, {
800
825
  limit: number;
801
826
  page: number;
827
+ distance?: number | undefined;
802
828
  email?: string | undefined;
803
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
829
+ phone?: string | undefined;
804
830
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
805
831
  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;
806
832
  hasTools?: "only_with" | "only_without" | "all" | undefined;
807
833
  hasPpe?: "only_with" | "only_without" | "all" | undefined;
808
834
  postcode?: string | undefined;
835
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
809
836
  createdBy?: string | undefined;
810
- phone?: string | undefined;
811
837
  name?: string | undefined;
812
- sortBy?: "email" | "phone" | "distance" | "nameSimilarity" | "fullName" | null | undefined;
813
- sortOrder?: "ASC" | "DESC" | null | undefined;
814
- distance?: number | undefined;
815
- qualificationFilters?: {
816
- qualificationId?: string | undefined;
817
- qualificationTypeId?: string | undefined;
818
- }[] | undefined;
819
838
  tradeFilters?: {
820
839
  tradeId: string;
821
840
  mainTrade?: boolean | undefined;
822
841
  }[] | undefined;
842
+ qualificationFilters?: {
843
+ qualificationId?: string | undefined;
844
+ qualificationTypeId?: string | undefined;
845
+ }[] | undefined;
846
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
847
+ sortOrder?: "ASC" | "DESC" | null | undefined;
823
848
  }, {
849
+ distance?: number | undefined;
824
850
  email?: string | undefined;
825
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
851
+ phone?: string | undefined;
826
852
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
827
853
  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;
828
854
  hasTools?: "only_with" | "only_without" | "all" | undefined;
829
855
  hasPpe?: "only_with" | "only_without" | "all" | undefined;
830
856
  postcode?: string | undefined;
857
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
831
858
  createdBy?: string | undefined;
832
- phone?: string | undefined;
833
- name?: string | undefined;
834
859
  limit?: number | undefined;
835
860
  page?: number | undefined;
836
- sortBy?: "email" | "phone" | "distance" | "nameSimilarity" | "fullName" | null | undefined;
837
- sortOrder?: "ASC" | "DESC" | null | undefined;
838
- distance?: number | undefined;
839
- qualificationFilters?: {
840
- qualificationId?: string | undefined;
841
- qualificationTypeId?: string | undefined;
842
- }[] | undefined;
861
+ name?: string | undefined;
843
862
  tradeFilters?: {
844
863
  tradeId: string;
845
864
  mainTrade?: unknown;
846
865
  }[] | undefined;
866
+ qualificationFilters?: {
867
+ qualificationId?: string | undefined;
868
+ qualificationTypeId?: string | undefined;
869
+ }[] | undefined;
870
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
871
+ sortOrder?: "ASC" | "DESC" | null | undefined;
847
872
  }>;
848
873
  export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
849
874
  items: z.ZodArray<z.ZodObject<{
@@ -852,25 +877,24 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
852
877
  lastName: z.ZodString;
853
878
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
854
879
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
855
- id: z.ZodOptional<z.ZodString>;
880
+ id: z.ZodString;
856
881
  phoneNumber: z.ZodString;
857
882
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
858
883
  isPrimary: z.ZodDefault<z.ZodBoolean>;
859
884
  }, "strip", z.ZodTypeAny, {
885
+ id: string;
860
886
  phoneNumber: string;
861
887
  isPrimary: boolean;
862
- id?: string | undefined;
863
888
  description?: string | null | undefined;
864
889
  }, {
890
+ id: string;
865
891
  phoneNumber: string;
866
- id?: string | undefined;
867
892
  description?: string | null | undefined;
868
893
  isPrimary?: boolean | undefined;
869
894
  }>, "many">>>;
870
895
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
896
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
872
897
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
873
- availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
874
898
  trades: z.ZodOptional<z.ZodArray<z.ZodObject<{
875
899
  id: z.ZodOptional<z.ZodString>;
876
900
  tradeId: z.ZodString;
@@ -948,41 +972,57 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
948
972
  code: string;
949
973
  expiryDate?: string | Date | null | undefined;
950
974
  }>>>;
975
+ availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
951
976
  createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
952
977
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
953
978
  id: z.ZodString;
954
979
  firstName: z.ZodString;
955
980
  lastName: z.ZodString;
956
981
  email: z.ZodString;
982
+ phone: z.ZodString;
983
+ roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
984
+ office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
985
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
986
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
957
987
  }, "strip", z.ZodTypeAny, {
988
+ email: string;
989
+ phone: string;
958
990
  id: string;
959
991
  firstName: string;
960
992
  lastName: string;
961
- email: string;
993
+ createdAt: string;
994
+ updatedAt: string;
995
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
996
+ 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;
962
997
  }, {
998
+ email: string;
999
+ phone: string;
963
1000
  id: string;
964
1001
  firstName: string;
965
1002
  lastName: string;
966
- email: string;
1003
+ createdAt: string | Date;
1004
+ updatedAt: string | Date;
1005
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1006
+ 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;
967
1007
  }>>>;
968
1008
  distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
969
1009
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
970
1010
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
971
1011
  }, "strip", z.ZodTypeAny, {
972
- createdAt: string;
973
- updatedAt: string;
974
1012
  id: string;
975
1013
  firstName: string;
976
1014
  lastName: string;
977
1015
  phoneNumbers: {
1016
+ id: string;
978
1017
  phoneNumber: string;
979
1018
  isPrimary: boolean;
980
- id?: string | undefined;
981
1019
  description?: string | null | undefined;
982
1020
  }[];
983
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
984
1021
  hasTools: boolean;
985
1022
  hasPpe: boolean;
1023
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1024
+ createdAt: string;
1025
+ updatedAt: string;
986
1026
  email?: string | null | undefined;
987
1027
  nino?: string | null | undefined;
988
1028
  dateOfBirth?: string | null | undefined;
@@ -1018,25 +1058,30 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1018
1058
  } | null | undefined;
1019
1059
  createdByUserId?: string | null | undefined;
1020
1060
  createdBy?: {
1061
+ email: string;
1062
+ phone: string;
1021
1063
  id: string;
1022
1064
  firstName: string;
1023
1065
  lastName: string;
1024
- email: string;
1066
+ createdAt: string;
1067
+ updatedAt: string;
1068
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1069
+ 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;
1025
1070
  } | null | undefined;
1026
1071
  distanceKm?: number | null | undefined;
1027
1072
  }, {
1028
- createdAt: string | Date;
1029
- updatedAt: string | Date;
1030
1073
  id: string;
1031
1074
  firstName: string;
1032
1075
  lastName: string;
1033
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1034
1076
  hasTools: boolean;
1035
1077
  hasPpe: boolean;
1078
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1079
+ createdAt: string | Date;
1080
+ updatedAt: string | Date;
1036
1081
  email?: string | null | undefined;
1037
1082
  phoneNumbers?: {
1083
+ id: string;
1038
1084
  phoneNumber: string;
1039
- id?: string | undefined;
1040
1085
  description?: string | null | undefined;
1041
1086
  isPrimary?: boolean | undefined;
1042
1087
  }[] | undefined;
@@ -1074,10 +1119,15 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1074
1119
  } | null | undefined;
1075
1120
  createdByUserId?: string | null | undefined;
1076
1121
  createdBy?: {
1122
+ email: string;
1123
+ phone: string;
1077
1124
  id: string;
1078
1125
  firstName: string;
1079
1126
  lastName: string;
1080
- email: string;
1127
+ createdAt: string | Date;
1128
+ updatedAt: string | Date;
1129
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1130
+ 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;
1081
1131
  } | null | undefined;
1082
1132
  distanceKm?: number | null | undefined;
1083
1133
  }>, "many">;
@@ -1089,20 +1139,20 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1089
1139
  }, "strip", z.ZodTypeAny, {
1090
1140
  limit: number;
1091
1141
  items: {
1092
- createdAt: string;
1093
- updatedAt: string;
1094
1142
  id: string;
1095
1143
  firstName: string;
1096
1144
  lastName: string;
1097
1145
  phoneNumbers: {
1146
+ id: string;
1098
1147
  phoneNumber: string;
1099
1148
  isPrimary: boolean;
1100
- id?: string | undefined;
1101
1149
  description?: string | null | undefined;
1102
1150
  }[];
1103
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1104
1151
  hasTools: boolean;
1105
1152
  hasPpe: boolean;
1153
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1154
+ createdAt: string;
1155
+ updatedAt: string;
1106
1156
  email?: string | null | undefined;
1107
1157
  nino?: string | null | undefined;
1108
1158
  dateOfBirth?: string | null | undefined;
@@ -1138,10 +1188,15 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1138
1188
  } | null | undefined;
1139
1189
  createdByUserId?: string | null | undefined;
1140
1190
  createdBy?: {
1191
+ email: string;
1192
+ phone: string;
1141
1193
  id: string;
1142
1194
  firstName: string;
1143
1195
  lastName: string;
1144
- email: string;
1196
+ createdAt: string;
1197
+ updatedAt: string;
1198
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1199
+ 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;
1145
1200
  } | null | undefined;
1146
1201
  distanceKm?: number | null | undefined;
1147
1202
  }[];
@@ -1152,18 +1207,18 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1152
1207
  }, {
1153
1208
  limit: number;
1154
1209
  items: {
1155
- createdAt: string | Date;
1156
- updatedAt: string | Date;
1157
1210
  id: string;
1158
1211
  firstName: string;
1159
1212
  lastName: string;
1160
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1161
1213
  hasTools: boolean;
1162
1214
  hasPpe: boolean;
1215
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1216
+ createdAt: string | Date;
1217
+ updatedAt: string | Date;
1163
1218
  email?: string | null | undefined;
1164
1219
  phoneNumbers?: {
1220
+ id: string;
1165
1221
  phoneNumber: string;
1166
- id?: string | undefined;
1167
1222
  description?: string | null | undefined;
1168
1223
  isPrimary?: boolean | undefined;
1169
1224
  }[] | undefined;
@@ -1201,10 +1256,15 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1201
1256
  } | null | undefined;
1202
1257
  createdByUserId?: string | null | undefined;
1203
1258
  createdBy?: {
1259
+ email: string;
1260
+ phone: string;
1204
1261
  id: string;
1205
1262
  firstName: string;
1206
1263
  lastName: string;
1207
- email: string;
1264
+ createdAt: string | Date;
1265
+ updatedAt: string | Date;
1266
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1267
+ 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;
1208
1268
  } | null | undefined;
1209
1269
  distanceKm?: number | null | undefined;
1210
1270
  }[];
@@ -1245,7 +1305,7 @@ export declare const workersContractRouter: {
1245
1305
  lastName: z.ZodString;
1246
1306
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
1247
1307
  phoneNumbers: z.ZodEffects<z.ZodArray<z.ZodObject<{
1248
- phoneNumber: z.ZodString;
1308
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
1249
1309
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1250
1310
  isPrimary: z.ZodDefault<z.ZodBoolean>;
1251
1311
  }, "strip", z.ZodTypeAny, {
@@ -1268,7 +1328,6 @@ export declare const workersContractRouter: {
1268
1328
  nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1269
1329
  dateOfBirth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
1270
1330
  bio: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1271
- availability: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>>;
1272
1331
  trades: z.ZodEffects<z.ZodArray<z.ZodObject<{
1273
1332
  tradeId: z.ZodString;
1274
1333
  mainTrade: z.ZodDefault<z.ZodBoolean>;
@@ -1331,6 +1390,7 @@ export declare const workersContractRouter: {
1331
1390
  code: string;
1332
1391
  expiryDate?: string | Date | null | undefined;
1333
1392
  }>>>;
1393
+ availability: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>>;
1334
1394
  }, "strip", z.ZodTypeAny, {
1335
1395
  firstName: string;
1336
1396
  lastName: string;
@@ -1339,13 +1399,13 @@ export declare const workersContractRouter: {
1339
1399
  isPrimary: boolean;
1340
1400
  description?: string | null | undefined;
1341
1401
  }[];
1342
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1343
1402
  trades: {
1344
1403
  tradeId: string;
1345
1404
  mainTrade: boolean;
1346
1405
  }[];
1347
1406
  hasTools: boolean;
1348
1407
  hasPpe: boolean;
1408
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1349
1409
  email?: string | null | undefined;
1350
1410
  nino?: string | null | undefined;
1351
1411
  dateOfBirth?: string | Date | null | undefined;
@@ -1386,7 +1446,6 @@ export declare const workersContractRouter: {
1386
1446
  nino?: string | null | undefined;
1387
1447
  dateOfBirth?: string | Date | null | undefined;
1388
1448
  bio?: string | null | undefined;
1389
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
1390
1449
  qualifications?: {
1391
1450
  qualificationId: string;
1392
1451
  qualificationTypeId?: unknown;
@@ -1405,6 +1464,7 @@ export declare const workersContractRouter: {
1405
1464
  code: string;
1406
1465
  expiryDate?: string | Date | null | undefined;
1407
1466
  } | null | undefined;
1467
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
1408
1468
  }>;
1409
1469
  path: "/v2/workers";
1410
1470
  responses: {
@@ -1514,25 +1574,24 @@ export declare const workersContractRouter: {
1514
1574
  lastName: z.ZodString;
1515
1575
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1516
1576
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1517
- id: z.ZodOptional<z.ZodString>;
1577
+ id: z.ZodString;
1518
1578
  phoneNumber: z.ZodString;
1519
1579
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
1580
  isPrimary: z.ZodDefault<z.ZodBoolean>;
1521
1581
  }, "strip", z.ZodTypeAny, {
1582
+ id: string;
1522
1583
  phoneNumber: string;
1523
1584
  isPrimary: boolean;
1524
- id?: string | undefined;
1525
1585
  description?: string | null | undefined;
1526
1586
  }, {
1587
+ id: string;
1527
1588
  phoneNumber: string;
1528
- id?: string | undefined;
1529
1589
  description?: string | null | undefined;
1530
1590
  isPrimary?: boolean | undefined;
1531
1591
  }>, "many">>>;
1532
1592
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1533
1593
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
1534
1594
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1535
- availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
1536
1595
  trades: z.ZodOptional<z.ZodArray<z.ZodObject<{
1537
1596
  id: z.ZodOptional<z.ZodString>;
1538
1597
  tradeId: z.ZodString;
@@ -1610,41 +1669,57 @@ export declare const workersContractRouter: {
1610
1669
  code: string;
1611
1670
  expiryDate?: string | Date | null | undefined;
1612
1671
  }>>>;
1672
+ availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
1613
1673
  createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1614
1674
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1615
1675
  id: z.ZodString;
1616
1676
  firstName: z.ZodString;
1617
1677
  lastName: z.ZodString;
1618
1678
  email: z.ZodString;
1679
+ phone: z.ZodString;
1680
+ roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
1681
+ office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
1682
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1683
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1619
1684
  }, "strip", z.ZodTypeAny, {
1685
+ email: string;
1686
+ phone: string;
1620
1687
  id: string;
1621
1688
  firstName: string;
1622
1689
  lastName: string;
1623
- email: string;
1690
+ createdAt: string;
1691
+ updatedAt: string;
1692
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1693
+ 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;
1624
1694
  }, {
1695
+ email: string;
1696
+ phone: string;
1625
1697
  id: string;
1626
1698
  firstName: string;
1627
1699
  lastName: string;
1628
- email: string;
1700
+ createdAt: string | Date;
1701
+ updatedAt: string | Date;
1702
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1703
+ 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;
1629
1704
  }>>>;
1630
1705
  distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1631
1706
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1632
1707
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1633
1708
  }, "strip", z.ZodTypeAny, {
1634
- createdAt: string;
1635
- updatedAt: string;
1636
1709
  id: string;
1637
1710
  firstName: string;
1638
1711
  lastName: string;
1639
1712
  phoneNumbers: {
1713
+ id: string;
1640
1714
  phoneNumber: string;
1641
1715
  isPrimary: boolean;
1642
- id?: string | undefined;
1643
1716
  description?: string | null | undefined;
1644
1717
  }[];
1645
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1646
1718
  hasTools: boolean;
1647
1719
  hasPpe: boolean;
1720
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1721
+ createdAt: string;
1722
+ updatedAt: string;
1648
1723
  email?: string | null | undefined;
1649
1724
  nino?: string | null | undefined;
1650
1725
  dateOfBirth?: string | null | undefined;
@@ -1680,25 +1755,30 @@ export declare const workersContractRouter: {
1680
1755
  } | null | undefined;
1681
1756
  createdByUserId?: string | null | undefined;
1682
1757
  createdBy?: {
1758
+ email: string;
1759
+ phone: string;
1683
1760
  id: string;
1684
1761
  firstName: string;
1685
1762
  lastName: string;
1686
- email: string;
1763
+ createdAt: string;
1764
+ updatedAt: string;
1765
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1766
+ 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;
1687
1767
  } | null | undefined;
1688
1768
  distanceKm?: number | null | undefined;
1689
1769
  }, {
1690
- createdAt: string | Date;
1691
- updatedAt: string | Date;
1692
1770
  id: string;
1693
1771
  firstName: string;
1694
1772
  lastName: string;
1695
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1696
1773
  hasTools: boolean;
1697
1774
  hasPpe: boolean;
1775
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1776
+ createdAt: string | Date;
1777
+ updatedAt: string | Date;
1698
1778
  email?: string | null | undefined;
1699
1779
  phoneNumbers?: {
1780
+ id: string;
1700
1781
  phoneNumber: string;
1701
- id?: string | undefined;
1702
1782
  description?: string | null | undefined;
1703
1783
  isPrimary?: boolean | undefined;
1704
1784
  }[] | undefined;
@@ -1736,10 +1816,15 @@ export declare const workersContractRouter: {
1736
1816
  } | null | undefined;
1737
1817
  createdByUserId?: string | null | undefined;
1738
1818
  createdBy?: {
1819
+ email: string;
1820
+ phone: string;
1739
1821
  id: string;
1740
1822
  firstName: string;
1741
1823
  lastName: string;
1742
- email: string;
1824
+ createdAt: string | Date;
1825
+ updatedAt: string | Date;
1826
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1827
+ 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;
1743
1828
  } | null | undefined;
1744
1829
  distanceKm?: number | null | undefined;
1745
1830
  }>;
@@ -1817,51 +1902,51 @@ export declare const workersContractRouter: {
1817
1902
  }, "strip", z.ZodTypeAny, {
1818
1903
  limit: number;
1819
1904
  page: number;
1905
+ distance?: number | undefined;
1820
1906
  email?: string | undefined;
1821
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
1907
+ phone?: string | undefined;
1822
1908
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
1823
1909
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
1824
1910
  hasTools?: "only_with" | "only_without" | "all" | undefined;
1825
1911
  hasPpe?: "only_with" | "only_without" | "all" | undefined;
1826
1912
  postcode?: string | undefined;
1913
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
1827
1914
  createdBy?: string | undefined;
1828
- phone?: string | undefined;
1829
1915
  name?: string | undefined;
1830
- sortBy?: "email" | "phone" | "distance" | "nameSimilarity" | "fullName" | null | undefined;
1831
- sortOrder?: "ASC" | "DESC" | null | undefined;
1832
- distance?: number | undefined;
1833
- qualificationFilters?: {
1834
- qualificationId?: string | undefined;
1835
- qualificationTypeId?: string | undefined;
1836
- }[] | undefined;
1837
1916
  tradeFilters?: {
1838
1917
  tradeId: string;
1839
1918
  mainTrade?: boolean | undefined;
1840
1919
  }[] | undefined;
1920
+ qualificationFilters?: {
1921
+ qualificationId?: string | undefined;
1922
+ qualificationTypeId?: string | undefined;
1923
+ }[] | undefined;
1924
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
1925
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1841
1926
  }, {
1927
+ distance?: number | undefined;
1842
1928
  email?: string | undefined;
1843
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
1929
+ phone?: string | undefined;
1844
1930
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
1845
1931
  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;
1846
1932
  hasTools?: "only_with" | "only_without" | "all" | undefined;
1847
1933
  hasPpe?: "only_with" | "only_without" | "all" | undefined;
1848
1934
  postcode?: string | undefined;
1935
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | null | undefined;
1849
1936
  createdBy?: string | undefined;
1850
- phone?: string | undefined;
1851
- name?: string | undefined;
1852
1937
  limit?: number | undefined;
1853
1938
  page?: number | undefined;
1854
- sortBy?: "email" | "phone" | "distance" | "nameSimilarity" | "fullName" | null | undefined;
1855
- sortOrder?: "ASC" | "DESC" | null | undefined;
1856
- distance?: number | undefined;
1857
- qualificationFilters?: {
1858
- qualificationId?: string | undefined;
1859
- qualificationTypeId?: string | undefined;
1860
- }[] | undefined;
1939
+ name?: string | undefined;
1861
1940
  tradeFilters?: {
1862
1941
  tradeId: string;
1863
1942
  mainTrade?: unknown;
1864
1943
  }[] | undefined;
1944
+ qualificationFilters?: {
1945
+ qualificationId?: string | undefined;
1946
+ qualificationTypeId?: string | undefined;
1947
+ }[] | undefined;
1948
+ sortBy?: "nameSimilarity" | "fullName" | "distance" | "email" | "phone" | null | undefined;
1949
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1865
1950
  }>;
1866
1951
  summary: "Get all workers";
1867
1952
  method: "GET";
@@ -1974,25 +2059,24 @@ export declare const workersContractRouter: {
1974
2059
  lastName: z.ZodString;
1975
2060
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1976
2061
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1977
- id: z.ZodOptional<z.ZodString>;
2062
+ id: z.ZodString;
1978
2063
  phoneNumber: z.ZodString;
1979
2064
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1980
2065
  isPrimary: z.ZodDefault<z.ZodBoolean>;
1981
2066
  }, "strip", z.ZodTypeAny, {
2067
+ id: string;
1982
2068
  phoneNumber: string;
1983
2069
  isPrimary: boolean;
1984
- id?: string | undefined;
1985
2070
  description?: string | null | undefined;
1986
2071
  }, {
2072
+ id: string;
1987
2073
  phoneNumber: string;
1988
- id?: string | undefined;
1989
2074
  description?: string | null | undefined;
1990
2075
  isPrimary?: boolean | undefined;
1991
2076
  }>, "many">>>;
1992
2077
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1993
2078
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
1994
2079
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1995
- availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
1996
2080
  trades: z.ZodOptional<z.ZodArray<z.ZodObject<{
1997
2081
  id: z.ZodOptional<z.ZodString>;
1998
2082
  tradeId: z.ZodString;
@@ -2070,41 +2154,57 @@ export declare const workersContractRouter: {
2070
2154
  code: string;
2071
2155
  expiryDate?: string | Date | null | undefined;
2072
2156
  }>>>;
2157
+ availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
2073
2158
  createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2074
2159
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2075
2160
  id: z.ZodString;
2076
2161
  firstName: z.ZodString;
2077
2162
  lastName: z.ZodString;
2078
2163
  email: z.ZodString;
2164
+ phone: z.ZodString;
2165
+ roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
2166
+ office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
2167
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2168
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2079
2169
  }, "strip", z.ZodTypeAny, {
2170
+ email: string;
2171
+ phone: string;
2080
2172
  id: string;
2081
2173
  firstName: string;
2082
2174
  lastName: string;
2083
- email: string;
2175
+ createdAt: string;
2176
+ updatedAt: string;
2177
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2178
+ 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;
2084
2179
  }, {
2180
+ email: string;
2181
+ phone: string;
2085
2182
  id: string;
2086
2183
  firstName: string;
2087
2184
  lastName: string;
2088
- email: string;
2185
+ createdAt: string | Date;
2186
+ updatedAt: string | Date;
2187
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2188
+ 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;
2089
2189
  }>>>;
2090
2190
  distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2091
2191
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2092
2192
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2093
2193
  }, "strip", z.ZodTypeAny, {
2094
- createdAt: string;
2095
- updatedAt: string;
2096
2194
  id: string;
2097
2195
  firstName: string;
2098
2196
  lastName: string;
2099
2197
  phoneNumbers: {
2198
+ id: string;
2100
2199
  phoneNumber: string;
2101
2200
  isPrimary: boolean;
2102
- id?: string | undefined;
2103
2201
  description?: string | null | undefined;
2104
2202
  }[];
2105
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2106
2203
  hasTools: boolean;
2107
2204
  hasPpe: boolean;
2205
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2206
+ createdAt: string;
2207
+ updatedAt: string;
2108
2208
  email?: string | null | undefined;
2109
2209
  nino?: string | null | undefined;
2110
2210
  dateOfBirth?: string | null | undefined;
@@ -2140,25 +2240,30 @@ export declare const workersContractRouter: {
2140
2240
  } | null | undefined;
2141
2241
  createdByUserId?: string | null | undefined;
2142
2242
  createdBy?: {
2243
+ email: string;
2244
+ phone: string;
2143
2245
  id: string;
2144
2246
  firstName: string;
2145
2247
  lastName: string;
2146
- email: string;
2248
+ createdAt: string;
2249
+ updatedAt: string;
2250
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2251
+ 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;
2147
2252
  } | null | undefined;
2148
2253
  distanceKm?: number | null | undefined;
2149
2254
  }, {
2150
- createdAt: string | Date;
2151
- updatedAt: string | Date;
2152
2255
  id: string;
2153
2256
  firstName: string;
2154
2257
  lastName: string;
2155
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2156
2258
  hasTools: boolean;
2157
2259
  hasPpe: boolean;
2260
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2261
+ createdAt: string | Date;
2262
+ updatedAt: string | Date;
2158
2263
  email?: string | null | undefined;
2159
2264
  phoneNumbers?: {
2265
+ id: string;
2160
2266
  phoneNumber: string;
2161
- id?: string | undefined;
2162
2267
  description?: string | null | undefined;
2163
2268
  isPrimary?: boolean | undefined;
2164
2269
  }[] | undefined;
@@ -2196,10 +2301,15 @@ export declare const workersContractRouter: {
2196
2301
  } | null | undefined;
2197
2302
  createdByUserId?: string | null | undefined;
2198
2303
  createdBy?: {
2304
+ email: string;
2305
+ phone: string;
2199
2306
  id: string;
2200
2307
  firstName: string;
2201
2308
  lastName: string;
2202
- email: string;
2309
+ createdAt: string | Date;
2310
+ updatedAt: string | Date;
2311
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2312
+ 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;
2203
2313
  } | null | undefined;
2204
2314
  distanceKm?: number | null | undefined;
2205
2315
  }>, "many">;
@@ -2211,20 +2321,20 @@ export declare const workersContractRouter: {
2211
2321
  }, "strip", z.ZodTypeAny, {
2212
2322
  limit: number;
2213
2323
  items: {
2214
- createdAt: string;
2215
- updatedAt: string;
2216
2324
  id: string;
2217
2325
  firstName: string;
2218
2326
  lastName: string;
2219
2327
  phoneNumbers: {
2328
+ id: string;
2220
2329
  phoneNumber: string;
2221
2330
  isPrimary: boolean;
2222
- id?: string | undefined;
2223
2331
  description?: string | null | undefined;
2224
2332
  }[];
2225
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2226
2333
  hasTools: boolean;
2227
2334
  hasPpe: boolean;
2335
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2336
+ createdAt: string;
2337
+ updatedAt: string;
2228
2338
  email?: string | null | undefined;
2229
2339
  nino?: string | null | undefined;
2230
2340
  dateOfBirth?: string | null | undefined;
@@ -2260,10 +2370,15 @@ export declare const workersContractRouter: {
2260
2370
  } | null | undefined;
2261
2371
  createdByUserId?: string | null | undefined;
2262
2372
  createdBy?: {
2373
+ email: string;
2374
+ phone: string;
2263
2375
  id: string;
2264
2376
  firstName: string;
2265
2377
  lastName: string;
2266
- email: string;
2378
+ createdAt: string;
2379
+ updatedAt: string;
2380
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2381
+ 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;
2267
2382
  } | null | undefined;
2268
2383
  distanceKm?: number | null | undefined;
2269
2384
  }[];
@@ -2274,18 +2389,18 @@ export declare const workersContractRouter: {
2274
2389
  }, {
2275
2390
  limit: number;
2276
2391
  items: {
2277
- createdAt: string | Date;
2278
- updatedAt: string | Date;
2279
2392
  id: string;
2280
2393
  firstName: string;
2281
2394
  lastName: string;
2282
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2283
2395
  hasTools: boolean;
2284
2396
  hasPpe: boolean;
2397
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2398
+ createdAt: string | Date;
2399
+ updatedAt: string | Date;
2285
2400
  email?: string | null | undefined;
2286
2401
  phoneNumbers?: {
2402
+ id: string;
2287
2403
  phoneNumber: string;
2288
- id?: string | undefined;
2289
2404
  description?: string | null | undefined;
2290
2405
  isPrimary?: boolean | undefined;
2291
2406
  }[] | undefined;
@@ -2323,10 +2438,15 @@ export declare const workersContractRouter: {
2323
2438
  } | null | undefined;
2324
2439
  createdByUserId?: string | null | undefined;
2325
2440
  createdBy?: {
2441
+ email: string;
2442
+ phone: string;
2326
2443
  id: string;
2327
2444
  firstName: string;
2328
2445
  lastName: string;
2329
- email: string;
2446
+ createdAt: string | Date;
2447
+ updatedAt: string | Date;
2448
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2449
+ 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;
2330
2450
  } | null | undefined;
2331
2451
  distanceKm?: number | null | undefined;
2332
2452
  }[];
@@ -2461,25 +2581,24 @@ export declare const workersContractRouter: {
2461
2581
  lastName: z.ZodString;
2462
2582
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2463
2583
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2464
- id: z.ZodOptional<z.ZodString>;
2584
+ id: z.ZodString;
2465
2585
  phoneNumber: z.ZodString;
2466
2586
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2467
2587
  isPrimary: z.ZodDefault<z.ZodBoolean>;
2468
2588
  }, "strip", z.ZodTypeAny, {
2589
+ id: string;
2469
2590
  phoneNumber: string;
2470
2591
  isPrimary: boolean;
2471
- id?: string | undefined;
2472
2592
  description?: string | null | undefined;
2473
2593
  }, {
2594
+ id: string;
2474
2595
  phoneNumber: string;
2475
- id?: string | undefined;
2476
2596
  description?: string | null | undefined;
2477
2597
  isPrimary?: boolean | undefined;
2478
2598
  }>, "many">>>;
2479
2599
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2480
2600
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
2481
2601
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2482
- availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
2483
2602
  trades: z.ZodOptional<z.ZodArray<z.ZodObject<{
2484
2603
  id: z.ZodOptional<z.ZodString>;
2485
2604
  tradeId: z.ZodString;
@@ -2557,41 +2676,57 @@ export declare const workersContractRouter: {
2557
2676
  code: string;
2558
2677
  expiryDate?: string | Date | null | undefined;
2559
2678
  }>>>;
2679
+ availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
2560
2680
  createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2561
2681
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2562
2682
  id: z.ZodString;
2563
2683
  firstName: z.ZodString;
2564
2684
  lastName: z.ZodString;
2565
2685
  email: z.ZodString;
2686
+ phone: z.ZodString;
2687
+ roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
2688
+ office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
2689
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2690
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2566
2691
  }, "strip", z.ZodTypeAny, {
2692
+ email: string;
2693
+ phone: string;
2567
2694
  id: string;
2568
2695
  firstName: string;
2569
2696
  lastName: string;
2570
- email: string;
2697
+ createdAt: string;
2698
+ updatedAt: string;
2699
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2700
+ 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;
2571
2701
  }, {
2702
+ email: string;
2703
+ phone: string;
2572
2704
  id: string;
2573
2705
  firstName: string;
2574
2706
  lastName: string;
2575
- email: string;
2707
+ createdAt: string | Date;
2708
+ updatedAt: string | Date;
2709
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2710
+ 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;
2576
2711
  }>>>;
2577
2712
  distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2578
2713
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2579
2714
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2580
2715
  }, "strip", z.ZodTypeAny, {
2581
- createdAt: string;
2582
- updatedAt: string;
2583
2716
  id: string;
2584
2717
  firstName: string;
2585
2718
  lastName: string;
2586
2719
  phoneNumbers: {
2720
+ id: string;
2587
2721
  phoneNumber: string;
2588
2722
  isPrimary: boolean;
2589
- id?: string | undefined;
2590
2723
  description?: string | null | undefined;
2591
2724
  }[];
2592
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2593
2725
  hasTools: boolean;
2594
2726
  hasPpe: boolean;
2727
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2728
+ createdAt: string;
2729
+ updatedAt: string;
2595
2730
  email?: string | null | undefined;
2596
2731
  nino?: string | null | undefined;
2597
2732
  dateOfBirth?: string | null | undefined;
@@ -2627,25 +2762,30 @@ export declare const workersContractRouter: {
2627
2762
  } | null | undefined;
2628
2763
  createdByUserId?: string | null | undefined;
2629
2764
  createdBy?: {
2765
+ email: string;
2766
+ phone: string;
2630
2767
  id: string;
2631
2768
  firstName: string;
2632
2769
  lastName: string;
2633
- email: string;
2770
+ createdAt: string;
2771
+ updatedAt: string;
2772
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2773
+ 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
2774
  } | null | undefined;
2635
2775
  distanceKm?: number | null | undefined;
2636
2776
  }, {
2637
- createdAt: string | Date;
2638
- updatedAt: string | Date;
2639
2777
  id: string;
2640
2778
  firstName: string;
2641
2779
  lastName: string;
2642
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2643
2780
  hasTools: boolean;
2644
2781
  hasPpe: boolean;
2782
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2783
+ createdAt: string | Date;
2784
+ updatedAt: string | Date;
2645
2785
  email?: string | null | undefined;
2646
2786
  phoneNumbers?: {
2787
+ id: string;
2647
2788
  phoneNumber: string;
2648
- id?: string | undefined;
2649
2789
  description?: string | null | undefined;
2650
2790
  isPrimary?: boolean | undefined;
2651
2791
  }[] | undefined;
@@ -2683,10 +2823,15 @@ export declare const workersContractRouter: {
2683
2823
  } | null | undefined;
2684
2824
  createdByUserId?: string | null | undefined;
2685
2825
  createdBy?: {
2826
+ email: string;
2827
+ phone: string;
2686
2828
  id: string;
2687
2829
  firstName: string;
2688
2830
  lastName: string;
2689
- email: string;
2831
+ createdAt: string | Date;
2832
+ updatedAt: string | Date;
2833
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
2834
+ 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;
2690
2835
  } | null | undefined;
2691
2836
  distanceKm?: number | null | undefined;
2692
2837
  }>;
@@ -2739,7 +2884,7 @@ export declare const workersContractRouter: {
2739
2884
  email: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>, string | null | undefined, string | null | undefined>;
2740
2885
  phoneNumbers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
2741
2886
  id: z.ZodOptional<z.ZodString>;
2742
- phoneNumber: z.ZodOptional<z.ZodString>;
2887
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2743
2888
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2744
2889
  isPrimary: z.ZodOptional<z.ZodBoolean>;
2745
2890
  }, "strip", z.ZodTypeAny, {
@@ -2776,7 +2921,6 @@ export declare const workersContractRouter: {
2776
2921
  nino: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2777
2922
  dateOfBirth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
2778
2923
  bio: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2779
- availability: z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>;
2780
2924
  trades: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
2781
2925
  id: z.ZodOptional<z.ZodString>;
2782
2926
  tradeId: z.ZodString;
@@ -2847,10 +2991,11 @@ export declare const workersContractRouter: {
2847
2991
  code: string;
2848
2992
  expiryDate?: string | Date | null | undefined;
2849
2993
  }>>>;
2994
+ availability: z.ZodOptional<z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>>;
2850
2995
  }, "strip", z.ZodTypeAny, {
2996
+ email?: string | null | undefined;
2851
2997
  firstName?: string | undefined;
2852
2998
  lastName?: string | undefined;
2853
- email?: string | null | undefined;
2854
2999
  phoneNumbers?: {
2855
3000
  id?: string | undefined;
2856
3001
  phoneNumber?: string | undefined;
@@ -2860,7 +3005,6 @@ export declare const workersContractRouter: {
2860
3005
  nino?: string | null | undefined;
2861
3006
  dateOfBirth?: string | Date | null | undefined;
2862
3007
  bio?: string | null | undefined;
2863
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
2864
3008
  trades?: {
2865
3009
  tradeId: string;
2866
3010
  mainTrade: boolean;
@@ -2887,10 +3031,11 @@ export declare const workersContractRouter: {
2887
3031
  code: string;
2888
3032
  expiryDate?: string | null | undefined;
2889
3033
  } | null | undefined;
3034
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
2890
3035
  }, {
3036
+ email?: string | null | undefined;
2891
3037
  firstName?: string | undefined;
2892
3038
  lastName?: string | undefined;
2893
- email?: string | null | undefined;
2894
3039
  phoneNumbers?: {
2895
3040
  id?: string | undefined;
2896
3041
  phoneNumber?: string | undefined;
@@ -2900,7 +3045,6 @@ export declare const workersContractRouter: {
2900
3045
  nino?: string | null | undefined;
2901
3046
  dateOfBirth?: string | Date | null | undefined;
2902
3047
  bio?: string | null | undefined;
2903
- availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
2904
3048
  trades?: {
2905
3049
  tradeId: string;
2906
3050
  id?: string | undefined;
@@ -2927,6 +3071,7 @@ export declare const workersContractRouter: {
2927
3071
  code: string;
2928
3072
  expiryDate?: string | Date | null | undefined;
2929
3073
  } | null | undefined;
3074
+ availability?: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE" | undefined;
2930
3075
  }>;
2931
3076
  path: "/v2/workers/:id";
2932
3077
  responses: {
@@ -3036,25 +3181,24 @@ export declare const workersContractRouter: {
3036
3181
  lastName: z.ZodString;
3037
3182
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3038
3183
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3039
- id: z.ZodOptional<z.ZodString>;
3184
+ id: z.ZodString;
3040
3185
  phoneNumber: z.ZodString;
3041
3186
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3042
3187
  isPrimary: z.ZodDefault<z.ZodBoolean>;
3043
3188
  }, "strip", z.ZodTypeAny, {
3189
+ id: string;
3044
3190
  phoneNumber: string;
3045
3191
  isPrimary: boolean;
3046
- id?: string | undefined;
3047
3192
  description?: string | null | undefined;
3048
3193
  }, {
3194
+ id: string;
3049
3195
  phoneNumber: string;
3050
- id?: string | undefined;
3051
3196
  description?: string | null | undefined;
3052
3197
  isPrimary?: boolean | undefined;
3053
3198
  }>, "many">>>;
3054
3199
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3055
3200
  dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
3056
3201
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3057
- availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
3058
3202
  trades: z.ZodOptional<z.ZodArray<z.ZodObject<{
3059
3203
  id: z.ZodOptional<z.ZodString>;
3060
3204
  tradeId: z.ZodString;
@@ -3132,41 +3276,57 @@ export declare const workersContractRouter: {
3132
3276
  code: string;
3133
3277
  expiryDate?: string | Date | null | undefined;
3134
3278
  }>>>;
3279
+ availability: z.ZodEnum<["AVAILABLE", "PARTIALLY_AVAILABLE", "UNAVAILABLE"]>;
3135
3280
  createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3136
3281
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3137
3282
  id: z.ZodString;
3138
3283
  firstName: z.ZodString;
3139
3284
  lastName: z.ZodString;
3140
3285
  email: z.ZodString;
3286
+ phone: z.ZodString;
3287
+ roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
3288
+ office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
3289
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3290
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3141
3291
  }, "strip", z.ZodTypeAny, {
3292
+ email: string;
3293
+ phone: string;
3142
3294
  id: string;
3143
3295
  firstName: string;
3144
3296
  lastName: string;
3145
- email: string;
3297
+ createdAt: string;
3298
+ updatedAt: string;
3299
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
3300
+ 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;
3146
3301
  }, {
3302
+ email: string;
3303
+ phone: string;
3147
3304
  id: string;
3148
3305
  firstName: string;
3149
3306
  lastName: string;
3150
- email: string;
3307
+ createdAt: string | Date;
3308
+ updatedAt: string | Date;
3309
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
3310
+ 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;
3151
3311
  }>>>;
3152
3312
  distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3153
3313
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3154
3314
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3155
3315
  }, "strip", z.ZodTypeAny, {
3156
- createdAt: string;
3157
- updatedAt: string;
3158
3316
  id: string;
3159
3317
  firstName: string;
3160
3318
  lastName: string;
3161
3319
  phoneNumbers: {
3320
+ id: string;
3162
3321
  phoneNumber: string;
3163
3322
  isPrimary: boolean;
3164
- id?: string | undefined;
3165
3323
  description?: string | null | undefined;
3166
3324
  }[];
3167
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3168
3325
  hasTools: boolean;
3169
3326
  hasPpe: boolean;
3327
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3328
+ createdAt: string;
3329
+ updatedAt: string;
3170
3330
  email?: string | null | undefined;
3171
3331
  nino?: string | null | undefined;
3172
3332
  dateOfBirth?: string | null | undefined;
@@ -3202,25 +3362,30 @@ export declare const workersContractRouter: {
3202
3362
  } | null | undefined;
3203
3363
  createdByUserId?: string | null | undefined;
3204
3364
  createdBy?: {
3365
+ email: string;
3366
+ phone: string;
3205
3367
  id: string;
3206
3368
  firstName: string;
3207
3369
  lastName: string;
3208
- email: string;
3370
+ createdAt: string;
3371
+ updatedAt: string;
3372
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
3373
+ 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;
3209
3374
  } | null | undefined;
3210
3375
  distanceKm?: number | null | undefined;
3211
3376
  }, {
3212
- createdAt: string | Date;
3213
- updatedAt: string | Date;
3214
3377
  id: string;
3215
3378
  firstName: string;
3216
3379
  lastName: string;
3217
- availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3218
3380
  hasTools: boolean;
3219
3381
  hasPpe: boolean;
3382
+ availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3383
+ createdAt: string | Date;
3384
+ updatedAt: string | Date;
3220
3385
  email?: string | null | undefined;
3221
3386
  phoneNumbers?: {
3387
+ id: string;
3222
3388
  phoneNumber: string;
3223
- id?: string | undefined;
3224
3389
  description?: string | null | undefined;
3225
3390
  isPrimary?: boolean | undefined;
3226
3391
  }[] | undefined;
@@ -3258,10 +3423,15 @@ export declare const workersContractRouter: {
3258
3423
  } | null | undefined;
3259
3424
  createdByUserId?: string | null | undefined;
3260
3425
  createdBy?: {
3426
+ email: string;
3427
+ phone: string;
3261
3428
  id: string;
3262
3429
  firstName: string;
3263
3430
  lastName: string;
3264
- email: string;
3431
+ createdAt: string | Date;
3432
+ updatedAt: string | Date;
3433
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
3434
+ 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;
3265
3435
  } | null | undefined;
3266
3436
  distanceKm?: number | null | undefined;
3267
3437
  }>;