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