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