@dakkitor/api-contracts 1.1.44 → 1.1.46
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/second-agent.abilities.json +6 -3
- package/dist/actives/actives.contract.d.ts +3468 -3468
- package/dist/bookings/bookings.contract.d.ts +2975 -2975
- package/dist/jobs/jobs.contract.d.ts +882 -882
- package/dist/jobs/jobs.contract.js +1 -1
- package/dist/workers/workers.contract.d.ts +55 -55
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +2 -2
- package/package.json +1 -1
|
@@ -146,15 +146,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
146
146
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
147
147
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
-
id: string;
|
|
150
|
-
name: string;
|
|
151
149
|
createdAt: string;
|
|
152
150
|
updatedAt: string;
|
|
153
|
-
}, {
|
|
154
151
|
id: string;
|
|
155
152
|
name: string;
|
|
153
|
+
}, {
|
|
156
154
|
createdAt: string | Date;
|
|
157
155
|
updatedAt: string | Date;
|
|
156
|
+
id: string;
|
|
157
|
+
name: string;
|
|
158
158
|
}>>>;
|
|
159
159
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
160
160
|
id: z.ZodString;
|
|
@@ -191,15 +191,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
191
191
|
agentId: string;
|
|
192
192
|
}>>>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
id: string;
|
|
195
194
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
195
|
+
createdAt: string;
|
|
196
|
+
updatedAt: string;
|
|
197
|
+
id: string;
|
|
196
198
|
name: string;
|
|
197
199
|
crn: string | null;
|
|
198
200
|
govLink: string;
|
|
199
201
|
soleTrader: boolean;
|
|
200
202
|
director: string;
|
|
201
|
-
createdAt: string;
|
|
202
|
-
updatedAt: string;
|
|
203
203
|
blacklistReason?: string | null | undefined;
|
|
204
204
|
lastUpdatedBy?: {
|
|
205
205
|
id: string;
|
|
@@ -211,15 +211,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
211
211
|
agentId: string;
|
|
212
212
|
} | null | undefined;
|
|
213
213
|
}, {
|
|
214
|
-
id: string;
|
|
215
214
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
215
|
+
createdAt: string | Date;
|
|
216
|
+
updatedAt: string | Date;
|
|
217
|
+
id: string;
|
|
216
218
|
name: string;
|
|
217
219
|
crn: string | null;
|
|
218
220
|
govLink: string;
|
|
219
221
|
soleTrader: boolean;
|
|
220
222
|
director: string;
|
|
221
|
-
createdAt: string | Date;
|
|
222
|
-
updatedAt: string | Date;
|
|
223
223
|
blacklistReason?: string | null | undefined;
|
|
224
224
|
lastUpdatedBy?: {
|
|
225
225
|
id: string;
|
|
@@ -260,15 +260,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
260
260
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
261
261
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
|
-
id: string;
|
|
264
|
-
name: string;
|
|
265
263
|
createdAt: string;
|
|
266
264
|
updatedAt: string;
|
|
267
|
-
}, {
|
|
268
265
|
id: string;
|
|
269
266
|
name: string;
|
|
267
|
+
}, {
|
|
270
268
|
createdAt: string | Date;
|
|
271
269
|
updatedAt: string | Date;
|
|
270
|
+
id: string;
|
|
271
|
+
name: string;
|
|
272
272
|
}>>>;
|
|
273
273
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
274
274
|
id: z.ZodString;
|
|
@@ -305,15 +305,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
305
305
|
agentId: string;
|
|
306
306
|
}>>>;
|
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
|
-
id: string;
|
|
309
308
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
309
|
+
createdAt: string;
|
|
310
|
+
updatedAt: string;
|
|
311
|
+
id: string;
|
|
310
312
|
name: string;
|
|
311
313
|
crn: string | null;
|
|
312
314
|
govLink: string;
|
|
313
315
|
soleTrader: boolean;
|
|
314
316
|
director: string;
|
|
315
|
-
createdAt: string;
|
|
316
|
-
updatedAt: string;
|
|
317
317
|
blacklistReason?: string | null | undefined;
|
|
318
318
|
lastUpdatedBy?: {
|
|
319
319
|
id: string;
|
|
@@ -325,15 +325,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
325
325
|
agentId: string;
|
|
326
326
|
} | null | undefined;
|
|
327
327
|
}, {
|
|
328
|
-
id: string;
|
|
329
328
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
329
|
+
createdAt: string | Date;
|
|
330
|
+
updatedAt: string | Date;
|
|
331
|
+
id: string;
|
|
330
332
|
name: string;
|
|
331
333
|
crn: string | null;
|
|
332
334
|
govLink: string;
|
|
333
335
|
soleTrader: boolean;
|
|
334
336
|
director: string;
|
|
335
|
-
createdAt: string | Date;
|
|
336
|
-
updatedAt: string | Date;
|
|
337
337
|
blacklistReason?: string | null | undefined;
|
|
338
338
|
lastUpdatedBy?: {
|
|
339
339
|
id: string;
|
|
@@ -366,21 +366,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
366
366
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
367
367
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
368
368
|
}, "strip", z.ZodTypeAny, {
|
|
369
|
-
id: string;
|
|
370
369
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
371
370
|
createdAt: string;
|
|
372
371
|
updatedAt: string;
|
|
372
|
+
id: string;
|
|
373
373
|
userId: string;
|
|
374
|
-
|
|
374
|
+
company?: {
|
|
375
|
+
createdAt: string;
|
|
376
|
+
updatedAt: string;
|
|
375
377
|
id: string;
|
|
378
|
+
name: string;
|
|
379
|
+
} | null | undefined;
|
|
380
|
+
client?: {
|
|
376
381
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
382
|
+
createdAt: string;
|
|
383
|
+
updatedAt: string;
|
|
384
|
+
id: string;
|
|
377
385
|
name: string;
|
|
378
386
|
crn: string | null;
|
|
379
387
|
govLink: string;
|
|
380
388
|
soleTrader: boolean;
|
|
381
389
|
director: string;
|
|
382
|
-
createdAt: string;
|
|
383
|
-
updatedAt: string;
|
|
384
390
|
blacklistReason?: string | null | undefined;
|
|
385
391
|
lastUpdatedBy?: {
|
|
386
392
|
id: string;
|
|
@@ -392,12 +398,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
392
398
|
agentId: string;
|
|
393
399
|
} | null | undefined;
|
|
394
400
|
} | null | undefined;
|
|
395
|
-
company?: {
|
|
396
|
-
id: string;
|
|
397
|
-
name: string;
|
|
398
|
-
createdAt: string;
|
|
399
|
-
updatedAt: string;
|
|
400
|
-
} | null | undefined;
|
|
401
401
|
user?: {
|
|
402
402
|
id: string;
|
|
403
403
|
firstName: string;
|
|
@@ -405,21 +405,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
405
405
|
email: string;
|
|
406
406
|
} | null | undefined;
|
|
407
407
|
}, {
|
|
408
|
-
id: string;
|
|
409
408
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
410
409
|
createdAt: string | Date;
|
|
411
410
|
updatedAt: string | Date;
|
|
411
|
+
id: string;
|
|
412
412
|
userId: string;
|
|
413
|
-
|
|
413
|
+
company?: {
|
|
414
|
+
createdAt: string | Date;
|
|
415
|
+
updatedAt: string | Date;
|
|
414
416
|
id: string;
|
|
417
|
+
name: string;
|
|
418
|
+
} | null | undefined;
|
|
419
|
+
client?: {
|
|
415
420
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
421
|
+
createdAt: string | Date;
|
|
422
|
+
updatedAt: string | Date;
|
|
423
|
+
id: string;
|
|
416
424
|
name: string;
|
|
417
425
|
crn: string | null;
|
|
418
426
|
govLink: string;
|
|
419
427
|
soleTrader: boolean;
|
|
420
428
|
director: string;
|
|
421
|
-
createdAt: string | Date;
|
|
422
|
-
updatedAt: string | Date;
|
|
423
429
|
blacklistReason?: string | null | undefined;
|
|
424
430
|
lastUpdatedBy?: {
|
|
425
431
|
id: string;
|
|
@@ -431,12 +437,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
431
437
|
agentId: string;
|
|
432
438
|
} | null | undefined;
|
|
433
439
|
} | null | undefined;
|
|
434
|
-
company?: {
|
|
435
|
-
id: string;
|
|
436
|
-
name: string;
|
|
437
|
-
createdAt: string | Date;
|
|
438
|
-
updatedAt: string | Date;
|
|
439
|
-
} | null | undefined;
|
|
440
440
|
user?: {
|
|
441
441
|
id: string;
|
|
442
442
|
firstName: string;
|
|
@@ -445,21 +445,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
445
445
|
} | null | undefined;
|
|
446
446
|
}>>>;
|
|
447
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
|
-
id: string;
|
|
449
448
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
450
449
|
createdAt: string;
|
|
451
450
|
updatedAt: string;
|
|
451
|
+
id: string;
|
|
452
452
|
userId: string;
|
|
453
|
-
|
|
453
|
+
company?: {
|
|
454
|
+
createdAt: string;
|
|
455
|
+
updatedAt: string;
|
|
454
456
|
id: string;
|
|
457
|
+
name: string;
|
|
458
|
+
} | null | undefined;
|
|
459
|
+
client?: {
|
|
455
460
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
461
|
+
createdAt: string;
|
|
462
|
+
updatedAt: string;
|
|
463
|
+
id: string;
|
|
456
464
|
name: string;
|
|
457
465
|
crn: string | null;
|
|
458
466
|
govLink: string;
|
|
459
467
|
soleTrader: boolean;
|
|
460
468
|
director: string;
|
|
461
|
-
createdAt: string;
|
|
462
|
-
updatedAt: string;
|
|
463
469
|
blacklistReason?: string | null | undefined;
|
|
464
470
|
lastUpdatedBy?: {
|
|
465
471
|
id: string;
|
|
@@ -471,12 +477,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
471
477
|
agentId: string;
|
|
472
478
|
} | null | undefined;
|
|
473
479
|
} | null | undefined;
|
|
474
|
-
company?: {
|
|
475
|
-
id: string;
|
|
476
|
-
name: string;
|
|
477
|
-
createdAt: string;
|
|
478
|
-
updatedAt: string;
|
|
479
|
-
} | null | undefined;
|
|
480
480
|
user?: {
|
|
481
481
|
id: string;
|
|
482
482
|
firstName: string;
|
|
@@ -484,21 +484,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
484
484
|
email: string;
|
|
485
485
|
} | null | undefined;
|
|
486
486
|
newCollaboration?: {
|
|
487
|
-
id: string;
|
|
488
487
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
489
488
|
createdAt: string;
|
|
490
489
|
updatedAt: string;
|
|
490
|
+
id: string;
|
|
491
491
|
userId: string;
|
|
492
|
-
|
|
492
|
+
company?: {
|
|
493
|
+
createdAt: string;
|
|
494
|
+
updatedAt: string;
|
|
493
495
|
id: string;
|
|
496
|
+
name: string;
|
|
497
|
+
} | null | undefined;
|
|
498
|
+
client?: {
|
|
494
499
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
500
|
+
createdAt: string;
|
|
501
|
+
updatedAt: string;
|
|
502
|
+
id: string;
|
|
495
503
|
name: string;
|
|
496
504
|
crn: string | null;
|
|
497
505
|
govLink: string;
|
|
498
506
|
soleTrader: boolean;
|
|
499
507
|
director: string;
|
|
500
|
-
createdAt: string;
|
|
501
|
-
updatedAt: string;
|
|
502
508
|
blacklistReason?: string | null | undefined;
|
|
503
509
|
lastUpdatedBy?: {
|
|
504
510
|
id: string;
|
|
@@ -510,12 +516,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
510
516
|
agentId: string;
|
|
511
517
|
} | null | undefined;
|
|
512
518
|
} | null | undefined;
|
|
513
|
-
company?: {
|
|
514
|
-
id: string;
|
|
515
|
-
name: string;
|
|
516
|
-
createdAt: string;
|
|
517
|
-
updatedAt: string;
|
|
518
|
-
} | null | undefined;
|
|
519
519
|
user?: {
|
|
520
520
|
id: string;
|
|
521
521
|
firstName: string;
|
|
@@ -524,21 +524,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
524
524
|
} | null | undefined;
|
|
525
525
|
} | null | undefined;
|
|
526
526
|
}, {
|
|
527
|
-
id: string;
|
|
528
527
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
529
528
|
createdAt: string | Date;
|
|
530
529
|
updatedAt: string | Date;
|
|
530
|
+
id: string;
|
|
531
531
|
userId: string;
|
|
532
|
-
|
|
532
|
+
company?: {
|
|
533
|
+
createdAt: string | Date;
|
|
534
|
+
updatedAt: string | Date;
|
|
533
535
|
id: string;
|
|
536
|
+
name: string;
|
|
537
|
+
} | null | undefined;
|
|
538
|
+
client?: {
|
|
534
539
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
540
|
+
createdAt: string | Date;
|
|
541
|
+
updatedAt: string | Date;
|
|
542
|
+
id: string;
|
|
535
543
|
name: string;
|
|
536
544
|
crn: string | null;
|
|
537
545
|
govLink: string;
|
|
538
546
|
soleTrader: boolean;
|
|
539
547
|
director: string;
|
|
540
|
-
createdAt: string | Date;
|
|
541
|
-
updatedAt: string | Date;
|
|
542
548
|
blacklistReason?: string | null | undefined;
|
|
543
549
|
lastUpdatedBy?: {
|
|
544
550
|
id: string;
|
|
@@ -550,12 +556,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
550
556
|
agentId: string;
|
|
551
557
|
} | null | undefined;
|
|
552
558
|
} | null | undefined;
|
|
553
|
-
company?: {
|
|
554
|
-
id: string;
|
|
555
|
-
name: string;
|
|
556
|
-
createdAt: string | Date;
|
|
557
|
-
updatedAt: string | Date;
|
|
558
|
-
} | null | undefined;
|
|
559
559
|
user?: {
|
|
560
560
|
id: string;
|
|
561
561
|
firstName: string;
|
|
@@ -563,21 +563,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
563
563
|
email: string;
|
|
564
564
|
} | null | undefined;
|
|
565
565
|
newCollaboration?: {
|
|
566
|
-
id: string;
|
|
567
566
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
568
567
|
createdAt: string | Date;
|
|
569
568
|
updatedAt: string | Date;
|
|
569
|
+
id: string;
|
|
570
570
|
userId: string;
|
|
571
|
-
|
|
571
|
+
company?: {
|
|
572
|
+
createdAt: string | Date;
|
|
573
|
+
updatedAt: string | Date;
|
|
572
574
|
id: string;
|
|
575
|
+
name: string;
|
|
576
|
+
} | null | undefined;
|
|
577
|
+
client?: {
|
|
573
578
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
579
|
+
createdAt: string | Date;
|
|
580
|
+
updatedAt: string | Date;
|
|
581
|
+
id: string;
|
|
574
582
|
name: string;
|
|
575
583
|
crn: string | null;
|
|
576
584
|
govLink: string;
|
|
577
585
|
soleTrader: boolean;
|
|
578
586
|
director: string;
|
|
579
|
-
createdAt: string | Date;
|
|
580
|
-
updatedAt: string | Date;
|
|
581
587
|
blacklistReason?: string | null | undefined;
|
|
582
588
|
lastUpdatedBy?: {
|
|
583
589
|
id: string;
|
|
@@ -589,12 +595,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
589
595
|
agentId: string;
|
|
590
596
|
} | null | undefined;
|
|
591
597
|
} | null | undefined;
|
|
592
|
-
company?: {
|
|
593
|
-
id: string;
|
|
594
|
-
name: string;
|
|
595
|
-
createdAt: string | Date;
|
|
596
|
-
updatedAt: string | Date;
|
|
597
|
-
} | null | undefined;
|
|
598
598
|
user?: {
|
|
599
599
|
id: string;
|
|
600
600
|
firstName: string;
|
|
@@ -606,12 +606,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
606
606
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
607
607
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
608
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
|
-
|
|
609
|
+
description: string;
|
|
610
|
+
numberOfPositions: number;
|
|
610
611
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
611
612
|
createdAt: string;
|
|
612
613
|
updatedAt: string;
|
|
613
|
-
|
|
614
|
-
numberOfPositions: number;
|
|
614
|
+
id: string;
|
|
615
615
|
pay: {
|
|
616
616
|
rateUnit: "DAILY" | "HOURLY";
|
|
617
617
|
rate: number;
|
|
@@ -635,21 +635,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
635
635
|
areaCovered?: string | null | undefined;
|
|
636
636
|
} | null | undefined;
|
|
637
637
|
currentCollaboration?: {
|
|
638
|
-
id: string;
|
|
639
638
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
640
639
|
createdAt: string;
|
|
641
640
|
updatedAt: string;
|
|
641
|
+
id: string;
|
|
642
642
|
userId: string;
|
|
643
|
-
|
|
643
|
+
company?: {
|
|
644
|
+
createdAt: string;
|
|
645
|
+
updatedAt: string;
|
|
644
646
|
id: string;
|
|
647
|
+
name: string;
|
|
648
|
+
} | null | undefined;
|
|
649
|
+
client?: {
|
|
645
650
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
651
|
+
createdAt: string;
|
|
652
|
+
updatedAt: string;
|
|
653
|
+
id: string;
|
|
646
654
|
name: string;
|
|
647
655
|
crn: string | null;
|
|
648
656
|
govLink: string;
|
|
649
657
|
soleTrader: boolean;
|
|
650
658
|
director: string;
|
|
651
|
-
createdAt: string;
|
|
652
|
-
updatedAt: string;
|
|
653
659
|
blacklistReason?: string | null | undefined;
|
|
654
660
|
lastUpdatedBy?: {
|
|
655
661
|
id: string;
|
|
@@ -661,12 +667,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
661
667
|
agentId: string;
|
|
662
668
|
} | null | undefined;
|
|
663
669
|
} | null | undefined;
|
|
664
|
-
company?: {
|
|
665
|
-
id: string;
|
|
666
|
-
name: string;
|
|
667
|
-
createdAt: string;
|
|
668
|
-
updatedAt: string;
|
|
669
|
-
} | null | undefined;
|
|
670
670
|
user?: {
|
|
671
671
|
id: string;
|
|
672
672
|
firstName: string;
|
|
@@ -674,21 +674,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
674
674
|
email: string;
|
|
675
675
|
} | null | undefined;
|
|
676
676
|
newCollaboration?: {
|
|
677
|
-
id: string;
|
|
678
677
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
679
678
|
createdAt: string;
|
|
680
679
|
updatedAt: string;
|
|
680
|
+
id: string;
|
|
681
681
|
userId: string;
|
|
682
|
-
|
|
682
|
+
company?: {
|
|
683
|
+
createdAt: string;
|
|
684
|
+
updatedAt: string;
|
|
683
685
|
id: string;
|
|
686
|
+
name: string;
|
|
687
|
+
} | null | undefined;
|
|
688
|
+
client?: {
|
|
684
689
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
690
|
+
createdAt: string;
|
|
691
|
+
updatedAt: string;
|
|
692
|
+
id: string;
|
|
685
693
|
name: string;
|
|
686
694
|
crn: string | null;
|
|
687
695
|
govLink: string;
|
|
688
696
|
soleTrader: boolean;
|
|
689
697
|
director: string;
|
|
690
|
-
createdAt: string;
|
|
691
|
-
updatedAt: string;
|
|
692
698
|
blacklistReason?: string | null | undefined;
|
|
693
699
|
lastUpdatedBy?: {
|
|
694
700
|
id: string;
|
|
@@ -700,12 +706,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
700
706
|
agentId: string;
|
|
701
707
|
} | null | undefined;
|
|
702
708
|
} | null | undefined;
|
|
703
|
-
company?: {
|
|
704
|
-
id: string;
|
|
705
|
-
name: string;
|
|
706
|
-
createdAt: string;
|
|
707
|
-
updatedAt: string;
|
|
708
|
-
} | null | undefined;
|
|
709
709
|
user?: {
|
|
710
710
|
id: string;
|
|
711
711
|
firstName: string;
|
|
@@ -715,12 +715,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
715
715
|
} | null | undefined;
|
|
716
716
|
} | null | undefined;
|
|
717
717
|
}, {
|
|
718
|
-
|
|
718
|
+
description: string;
|
|
719
|
+
numberOfPositions: number;
|
|
719
720
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
720
721
|
createdAt: string | Date;
|
|
721
722
|
updatedAt: string | Date;
|
|
722
|
-
|
|
723
|
-
numberOfPositions: number;
|
|
723
|
+
id: string;
|
|
724
724
|
pay: {
|
|
725
725
|
rateUnit: "DAILY" | "HOURLY";
|
|
726
726
|
rate: number;
|
|
@@ -744,21 +744,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
744
744
|
qualificationTypeId?: string | null | undefined;
|
|
745
745
|
}[] | undefined;
|
|
746
746
|
currentCollaboration?: {
|
|
747
|
-
id: string;
|
|
748
747
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
749
748
|
createdAt: string | Date;
|
|
750
749
|
updatedAt: string | Date;
|
|
750
|
+
id: string;
|
|
751
751
|
userId: string;
|
|
752
|
-
|
|
752
|
+
company?: {
|
|
753
|
+
createdAt: string | Date;
|
|
754
|
+
updatedAt: string | Date;
|
|
753
755
|
id: string;
|
|
756
|
+
name: string;
|
|
757
|
+
} | null | undefined;
|
|
758
|
+
client?: {
|
|
754
759
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
760
|
+
createdAt: string | Date;
|
|
761
|
+
updatedAt: string | Date;
|
|
762
|
+
id: string;
|
|
755
763
|
name: string;
|
|
756
764
|
crn: string | null;
|
|
757
765
|
govLink: string;
|
|
758
766
|
soleTrader: boolean;
|
|
759
767
|
director: string;
|
|
760
|
-
createdAt: string | Date;
|
|
761
|
-
updatedAt: string | Date;
|
|
762
768
|
blacklistReason?: string | null | undefined;
|
|
763
769
|
lastUpdatedBy?: {
|
|
764
770
|
id: string;
|
|
@@ -770,12 +776,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
770
776
|
agentId: string;
|
|
771
777
|
} | null | undefined;
|
|
772
778
|
} | null | undefined;
|
|
773
|
-
company?: {
|
|
774
|
-
id: string;
|
|
775
|
-
name: string;
|
|
776
|
-
createdAt: string | Date;
|
|
777
|
-
updatedAt: string | Date;
|
|
778
|
-
} | null | undefined;
|
|
779
779
|
user?: {
|
|
780
780
|
id: string;
|
|
781
781
|
firstName: string;
|
|
@@ -783,21 +783,27 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
783
783
|
email: string;
|
|
784
784
|
} | null | undefined;
|
|
785
785
|
newCollaboration?: {
|
|
786
|
-
id: string;
|
|
787
786
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
788
787
|
createdAt: string | Date;
|
|
789
788
|
updatedAt: string | Date;
|
|
789
|
+
id: string;
|
|
790
790
|
userId: string;
|
|
791
|
-
|
|
791
|
+
company?: {
|
|
792
|
+
createdAt: string | Date;
|
|
793
|
+
updatedAt: string | Date;
|
|
792
794
|
id: string;
|
|
795
|
+
name: string;
|
|
796
|
+
} | null | undefined;
|
|
797
|
+
client?: {
|
|
793
798
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
799
|
+
createdAt: string | Date;
|
|
800
|
+
updatedAt: string | Date;
|
|
801
|
+
id: string;
|
|
794
802
|
name: string;
|
|
795
803
|
crn: string | null;
|
|
796
804
|
govLink: string;
|
|
797
805
|
soleTrader: boolean;
|
|
798
806
|
director: string;
|
|
799
|
-
createdAt: string | Date;
|
|
800
|
-
updatedAt: string | Date;
|
|
801
807
|
blacklistReason?: string | null | undefined;
|
|
802
808
|
lastUpdatedBy?: {
|
|
803
809
|
id: string;
|
|
@@ -809,12 +815,6 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
809
815
|
agentId: string;
|
|
810
816
|
} | null | undefined;
|
|
811
817
|
} | null | undefined;
|
|
812
|
-
company?: {
|
|
813
|
-
id: string;
|
|
814
|
-
name: string;
|
|
815
|
-
createdAt: string | Date;
|
|
816
|
-
updatedAt: string | Date;
|
|
817
|
-
} | null | undefined;
|
|
818
818
|
user?: {
|
|
819
819
|
id: string;
|
|
820
820
|
firstName: string;
|
|
@@ -840,7 +840,7 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
840
840
|
postcode?: string | null | undefined;
|
|
841
841
|
}>>;
|
|
842
842
|
numberOfPositions: z.ZodNumber;
|
|
843
|
-
workHours: z.
|
|
843
|
+
workHours: z.ZodDefault<z.ZodNumber>;
|
|
844
844
|
pay: z.ZodObject<{
|
|
845
845
|
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
846
846
|
rate: z.ZodNumber;
|
|
@@ -877,9 +877,10 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
877
877
|
}>, "many">>;
|
|
878
878
|
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
879
879
|
}, "strip", z.ZodTypeAny, {
|
|
880
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
881
880
|
description: string;
|
|
882
881
|
numberOfPositions: number;
|
|
882
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
883
|
+
workHours: number;
|
|
883
884
|
pay: {
|
|
884
885
|
rateUnit: "DAILY" | "HOURLY";
|
|
885
886
|
rate: number;
|
|
@@ -890,7 +891,6 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
890
891
|
currentCollaboration: {
|
|
891
892
|
id: string;
|
|
892
893
|
};
|
|
893
|
-
workHours?: number | undefined;
|
|
894
894
|
location?: {
|
|
895
895
|
address?: string | null | undefined;
|
|
896
896
|
postcode?: string | null | undefined;
|
|
@@ -976,9 +976,9 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
976
976
|
}>, "many">>;
|
|
977
977
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
978
978
|
}, "strip", z.ZodTypeAny, {
|
|
979
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
980
979
|
description?: string | undefined;
|
|
981
980
|
numberOfPositions?: number | undefined;
|
|
981
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
982
982
|
workHours?: number | undefined;
|
|
983
983
|
pay?: {
|
|
984
984
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -999,9 +999,9 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
999
999
|
id: string;
|
|
1000
1000
|
} | undefined;
|
|
1001
1001
|
}, {
|
|
1002
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
1003
1002
|
description?: string | undefined;
|
|
1004
1003
|
numberOfPositions?: number | undefined;
|
|
1004
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
1005
1005
|
workHours?: number | undefined;
|
|
1006
1006
|
pay?: {
|
|
1007
1007
|
rate: number;
|
|
@@ -1076,46 +1076,46 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1076
1076
|
from?: string | null | undefined;
|
|
1077
1077
|
to?: string | null | undefined;
|
|
1078
1078
|
} | null | undefined;
|
|
1079
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
1080
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1081
|
-
clientId?: string | null | undefined;
|
|
1082
|
-
userId?: string | null | undefined;
|
|
1083
|
-
companyId?: string | null | undefined;
|
|
1084
1079
|
pay?: {
|
|
1085
1080
|
minRate?: number | null | undefined;
|
|
1086
1081
|
maxRate?: number | null | undefined;
|
|
1087
1082
|
} | null | undefined;
|
|
1088
1083
|
postcode?: string | null | undefined;
|
|
1089
1084
|
tradeId?: string | null | undefined;
|
|
1085
|
+
userId?: string | null | undefined;
|
|
1090
1086
|
qualificationFilters?: {
|
|
1091
1087
|
qualificationId?: string | undefined;
|
|
1092
1088
|
qualificationTypeId?: string | undefined;
|
|
1093
1089
|
}[] | undefined;
|
|
1090
|
+
clientId?: string | null | undefined;
|
|
1091
|
+
companyId?: string | null | undefined;
|
|
1094
1092
|
distance?: number | null | undefined;
|
|
1093
|
+
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1094
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1095
1095
|
}, {
|
|
1096
1096
|
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1097
1097
|
createdAt?: {
|
|
1098
1098
|
from?: string | null | undefined;
|
|
1099
1099
|
to?: string | null | undefined;
|
|
1100
1100
|
} | null | undefined;
|
|
1101
|
-
limit?: number | undefined;
|
|
1102
|
-
page?: number | undefined;
|
|
1103
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
1104
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1105
|
-
clientId?: string | null | undefined;
|
|
1106
|
-
userId?: string | null | undefined;
|
|
1107
|
-
companyId?: string | null | undefined;
|
|
1108
1101
|
pay?: {
|
|
1109
1102
|
minRate?: number | null | undefined;
|
|
1110
1103
|
maxRate?: number | null | undefined;
|
|
1111
1104
|
} | null | undefined;
|
|
1112
1105
|
postcode?: string | null | undefined;
|
|
1113
1106
|
tradeId?: string | null | undefined;
|
|
1107
|
+
userId?: string | null | undefined;
|
|
1108
|
+
limit?: number | undefined;
|
|
1109
|
+
page?: number | undefined;
|
|
1114
1110
|
qualificationFilters?: {
|
|
1115
1111
|
qualificationId?: string | undefined;
|
|
1116
1112
|
qualificationTypeId?: string | undefined;
|
|
1117
1113
|
}[] | undefined;
|
|
1114
|
+
clientId?: string | null | undefined;
|
|
1115
|
+
companyId?: string | null | undefined;
|
|
1118
1116
|
distance?: number | null | undefined;
|
|
1117
|
+
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1118
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1119
1119
|
}>;
|
|
1120
1120
|
export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
1121
1121
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1187,15 +1187,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1187
1187
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1188
1188
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1189
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
|
-
id: string;
|
|
1191
|
-
name: string;
|
|
1192
1190
|
createdAt: string;
|
|
1193
1191
|
updatedAt: string;
|
|
1194
|
-
}, {
|
|
1195
1192
|
id: string;
|
|
1196
1193
|
name: string;
|
|
1194
|
+
}, {
|
|
1197
1195
|
createdAt: string | Date;
|
|
1198
1196
|
updatedAt: string | Date;
|
|
1197
|
+
id: string;
|
|
1198
|
+
name: string;
|
|
1199
1199
|
}>>>;
|
|
1200
1200
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1201
1201
|
id: z.ZodString;
|
|
@@ -1232,15 +1232,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1232
1232
|
agentId: string;
|
|
1233
1233
|
}>>>;
|
|
1234
1234
|
}, "strip", z.ZodTypeAny, {
|
|
1235
|
-
id: string;
|
|
1236
1235
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1236
|
+
createdAt: string;
|
|
1237
|
+
updatedAt: string;
|
|
1238
|
+
id: string;
|
|
1237
1239
|
name: string;
|
|
1238
1240
|
crn: string | null;
|
|
1239
1241
|
govLink: string;
|
|
1240
1242
|
soleTrader: boolean;
|
|
1241
1243
|
director: string;
|
|
1242
|
-
createdAt: string;
|
|
1243
|
-
updatedAt: string;
|
|
1244
1244
|
blacklistReason?: string | null | undefined;
|
|
1245
1245
|
lastUpdatedBy?: {
|
|
1246
1246
|
id: string;
|
|
@@ -1252,15 +1252,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1252
1252
|
agentId: string;
|
|
1253
1253
|
} | null | undefined;
|
|
1254
1254
|
}, {
|
|
1255
|
-
id: string;
|
|
1256
1255
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1256
|
+
createdAt: string | Date;
|
|
1257
|
+
updatedAt: string | Date;
|
|
1258
|
+
id: string;
|
|
1257
1259
|
name: string;
|
|
1258
1260
|
crn: string | null;
|
|
1259
1261
|
govLink: string;
|
|
1260
1262
|
soleTrader: boolean;
|
|
1261
1263
|
director: string;
|
|
1262
|
-
createdAt: string | Date;
|
|
1263
|
-
updatedAt: string | Date;
|
|
1264
1264
|
blacklistReason?: string | null | undefined;
|
|
1265
1265
|
lastUpdatedBy?: {
|
|
1266
1266
|
id: string;
|
|
@@ -1301,15 +1301,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1301
1301
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1302
1302
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1303
1303
|
}, "strip", z.ZodTypeAny, {
|
|
1304
|
-
id: string;
|
|
1305
|
-
name: string;
|
|
1306
1304
|
createdAt: string;
|
|
1307
1305
|
updatedAt: string;
|
|
1308
|
-
}, {
|
|
1309
1306
|
id: string;
|
|
1310
1307
|
name: string;
|
|
1308
|
+
}, {
|
|
1311
1309
|
createdAt: string | Date;
|
|
1312
1310
|
updatedAt: string | Date;
|
|
1311
|
+
id: string;
|
|
1312
|
+
name: string;
|
|
1313
1313
|
}>>>;
|
|
1314
1314
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1315
1315
|
id: z.ZodString;
|
|
@@ -1346,15 +1346,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1346
1346
|
agentId: string;
|
|
1347
1347
|
}>>>;
|
|
1348
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1349
|
-
id: string;
|
|
1350
1349
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1350
|
+
createdAt: string;
|
|
1351
|
+
updatedAt: string;
|
|
1352
|
+
id: string;
|
|
1351
1353
|
name: string;
|
|
1352
1354
|
crn: string | null;
|
|
1353
1355
|
govLink: string;
|
|
1354
1356
|
soleTrader: boolean;
|
|
1355
1357
|
director: string;
|
|
1356
|
-
createdAt: string;
|
|
1357
|
-
updatedAt: string;
|
|
1358
1358
|
blacklistReason?: string | null | undefined;
|
|
1359
1359
|
lastUpdatedBy?: {
|
|
1360
1360
|
id: string;
|
|
@@ -1366,15 +1366,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1366
1366
|
agentId: string;
|
|
1367
1367
|
} | null | undefined;
|
|
1368
1368
|
}, {
|
|
1369
|
-
id: string;
|
|
1370
1369
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1370
|
+
createdAt: string | Date;
|
|
1371
|
+
updatedAt: string | Date;
|
|
1372
|
+
id: string;
|
|
1371
1373
|
name: string;
|
|
1372
1374
|
crn: string | null;
|
|
1373
1375
|
govLink: string;
|
|
1374
1376
|
soleTrader: boolean;
|
|
1375
1377
|
director: string;
|
|
1376
|
-
createdAt: string | Date;
|
|
1377
|
-
updatedAt: string | Date;
|
|
1378
1378
|
blacklistReason?: string | null | undefined;
|
|
1379
1379
|
lastUpdatedBy?: {
|
|
1380
1380
|
id: string;
|
|
@@ -1407,21 +1407,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1407
1407
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1408
1408
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1409
1409
|
}, "strip", z.ZodTypeAny, {
|
|
1410
|
-
id: string;
|
|
1411
1410
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1412
1411
|
createdAt: string;
|
|
1413
1412
|
updatedAt: string;
|
|
1413
|
+
id: string;
|
|
1414
1414
|
userId: string;
|
|
1415
|
-
|
|
1415
|
+
company?: {
|
|
1416
|
+
createdAt: string;
|
|
1417
|
+
updatedAt: string;
|
|
1416
1418
|
id: string;
|
|
1419
|
+
name: string;
|
|
1420
|
+
} | null | undefined;
|
|
1421
|
+
client?: {
|
|
1417
1422
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1423
|
+
createdAt: string;
|
|
1424
|
+
updatedAt: string;
|
|
1425
|
+
id: string;
|
|
1418
1426
|
name: string;
|
|
1419
1427
|
crn: string | null;
|
|
1420
1428
|
govLink: string;
|
|
1421
1429
|
soleTrader: boolean;
|
|
1422
1430
|
director: string;
|
|
1423
|
-
createdAt: string;
|
|
1424
|
-
updatedAt: string;
|
|
1425
1431
|
blacklistReason?: string | null | undefined;
|
|
1426
1432
|
lastUpdatedBy?: {
|
|
1427
1433
|
id: string;
|
|
@@ -1433,12 +1439,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1433
1439
|
agentId: string;
|
|
1434
1440
|
} | null | undefined;
|
|
1435
1441
|
} | null | undefined;
|
|
1436
|
-
company?: {
|
|
1437
|
-
id: string;
|
|
1438
|
-
name: string;
|
|
1439
|
-
createdAt: string;
|
|
1440
|
-
updatedAt: string;
|
|
1441
|
-
} | null | undefined;
|
|
1442
1442
|
user?: {
|
|
1443
1443
|
id: string;
|
|
1444
1444
|
firstName: string;
|
|
@@ -1446,21 +1446,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1446
1446
|
email: string;
|
|
1447
1447
|
} | null | undefined;
|
|
1448
1448
|
}, {
|
|
1449
|
-
id: string;
|
|
1450
1449
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1451
1450
|
createdAt: string | Date;
|
|
1452
1451
|
updatedAt: string | Date;
|
|
1452
|
+
id: string;
|
|
1453
1453
|
userId: string;
|
|
1454
|
-
|
|
1454
|
+
company?: {
|
|
1455
|
+
createdAt: string | Date;
|
|
1456
|
+
updatedAt: string | Date;
|
|
1455
1457
|
id: string;
|
|
1458
|
+
name: string;
|
|
1459
|
+
} | null | undefined;
|
|
1460
|
+
client?: {
|
|
1456
1461
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1462
|
+
createdAt: string | Date;
|
|
1463
|
+
updatedAt: string | Date;
|
|
1464
|
+
id: string;
|
|
1457
1465
|
name: string;
|
|
1458
1466
|
crn: string | null;
|
|
1459
1467
|
govLink: string;
|
|
1460
1468
|
soleTrader: boolean;
|
|
1461
1469
|
director: string;
|
|
1462
|
-
createdAt: string | Date;
|
|
1463
|
-
updatedAt: string | Date;
|
|
1464
1470
|
blacklistReason?: string | null | undefined;
|
|
1465
1471
|
lastUpdatedBy?: {
|
|
1466
1472
|
id: string;
|
|
@@ -1472,12 +1478,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1472
1478
|
agentId: string;
|
|
1473
1479
|
} | null | undefined;
|
|
1474
1480
|
} | null | undefined;
|
|
1475
|
-
company?: {
|
|
1476
|
-
id: string;
|
|
1477
|
-
name: string;
|
|
1478
|
-
createdAt: string | Date;
|
|
1479
|
-
updatedAt: string | Date;
|
|
1480
|
-
} | null | undefined;
|
|
1481
1481
|
user?: {
|
|
1482
1482
|
id: string;
|
|
1483
1483
|
firstName: string;
|
|
@@ -1486,21 +1486,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1486
1486
|
} | null | undefined;
|
|
1487
1487
|
}>>>;
|
|
1488
1488
|
}, "strip", z.ZodTypeAny, {
|
|
1489
|
-
id: string;
|
|
1490
1489
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1491
1490
|
createdAt: string;
|
|
1492
1491
|
updatedAt: string;
|
|
1492
|
+
id: string;
|
|
1493
1493
|
userId: string;
|
|
1494
|
-
|
|
1494
|
+
company?: {
|
|
1495
|
+
createdAt: string;
|
|
1496
|
+
updatedAt: string;
|
|
1495
1497
|
id: string;
|
|
1498
|
+
name: string;
|
|
1499
|
+
} | null | undefined;
|
|
1500
|
+
client?: {
|
|
1496
1501
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1502
|
+
createdAt: string;
|
|
1503
|
+
updatedAt: string;
|
|
1504
|
+
id: string;
|
|
1497
1505
|
name: string;
|
|
1498
1506
|
crn: string | null;
|
|
1499
1507
|
govLink: string;
|
|
1500
1508
|
soleTrader: boolean;
|
|
1501
1509
|
director: string;
|
|
1502
|
-
createdAt: string;
|
|
1503
|
-
updatedAt: string;
|
|
1504
1510
|
blacklistReason?: string | null | undefined;
|
|
1505
1511
|
lastUpdatedBy?: {
|
|
1506
1512
|
id: string;
|
|
@@ -1512,12 +1518,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1512
1518
|
agentId: string;
|
|
1513
1519
|
} | null | undefined;
|
|
1514
1520
|
} | null | undefined;
|
|
1515
|
-
company?: {
|
|
1516
|
-
id: string;
|
|
1517
|
-
name: string;
|
|
1518
|
-
createdAt: string;
|
|
1519
|
-
updatedAt: string;
|
|
1520
|
-
} | null | undefined;
|
|
1521
1521
|
user?: {
|
|
1522
1522
|
id: string;
|
|
1523
1523
|
firstName: string;
|
|
@@ -1525,21 +1525,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1525
1525
|
email: string;
|
|
1526
1526
|
} | null | undefined;
|
|
1527
1527
|
newCollaboration?: {
|
|
1528
|
-
id: string;
|
|
1529
1528
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1530
1529
|
createdAt: string;
|
|
1531
1530
|
updatedAt: string;
|
|
1531
|
+
id: string;
|
|
1532
1532
|
userId: string;
|
|
1533
|
-
|
|
1533
|
+
company?: {
|
|
1534
|
+
createdAt: string;
|
|
1535
|
+
updatedAt: string;
|
|
1534
1536
|
id: string;
|
|
1537
|
+
name: string;
|
|
1538
|
+
} | null | undefined;
|
|
1539
|
+
client?: {
|
|
1535
1540
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1541
|
+
createdAt: string;
|
|
1542
|
+
updatedAt: string;
|
|
1543
|
+
id: string;
|
|
1536
1544
|
name: string;
|
|
1537
1545
|
crn: string | null;
|
|
1538
1546
|
govLink: string;
|
|
1539
1547
|
soleTrader: boolean;
|
|
1540
1548
|
director: string;
|
|
1541
|
-
createdAt: string;
|
|
1542
|
-
updatedAt: string;
|
|
1543
1549
|
blacklistReason?: string | null | undefined;
|
|
1544
1550
|
lastUpdatedBy?: {
|
|
1545
1551
|
id: string;
|
|
@@ -1551,12 +1557,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1551
1557
|
agentId: string;
|
|
1552
1558
|
} | null | undefined;
|
|
1553
1559
|
} | null | undefined;
|
|
1554
|
-
company?: {
|
|
1555
|
-
id: string;
|
|
1556
|
-
name: string;
|
|
1557
|
-
createdAt: string;
|
|
1558
|
-
updatedAt: string;
|
|
1559
|
-
} | null | undefined;
|
|
1560
1560
|
user?: {
|
|
1561
1561
|
id: string;
|
|
1562
1562
|
firstName: string;
|
|
@@ -1565,21 +1565,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1565
1565
|
} | null | undefined;
|
|
1566
1566
|
} | null | undefined;
|
|
1567
1567
|
}, {
|
|
1568
|
-
id: string;
|
|
1569
1568
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1570
1569
|
createdAt: string | Date;
|
|
1571
1570
|
updatedAt: string | Date;
|
|
1571
|
+
id: string;
|
|
1572
1572
|
userId: string;
|
|
1573
|
-
|
|
1573
|
+
company?: {
|
|
1574
|
+
createdAt: string | Date;
|
|
1575
|
+
updatedAt: string | Date;
|
|
1574
1576
|
id: string;
|
|
1577
|
+
name: string;
|
|
1578
|
+
} | null | undefined;
|
|
1579
|
+
client?: {
|
|
1575
1580
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1581
|
+
createdAt: string | Date;
|
|
1582
|
+
updatedAt: string | Date;
|
|
1583
|
+
id: string;
|
|
1576
1584
|
name: string;
|
|
1577
1585
|
crn: string | null;
|
|
1578
1586
|
govLink: string;
|
|
1579
1587
|
soleTrader: boolean;
|
|
1580
1588
|
director: string;
|
|
1581
|
-
createdAt: string | Date;
|
|
1582
|
-
updatedAt: string | Date;
|
|
1583
1589
|
blacklistReason?: string | null | undefined;
|
|
1584
1590
|
lastUpdatedBy?: {
|
|
1585
1591
|
id: string;
|
|
@@ -1591,12 +1597,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1591
1597
|
agentId: string;
|
|
1592
1598
|
} | null | undefined;
|
|
1593
1599
|
} | null | undefined;
|
|
1594
|
-
company?: {
|
|
1595
|
-
id: string;
|
|
1596
|
-
name: string;
|
|
1597
|
-
createdAt: string | Date;
|
|
1598
|
-
updatedAt: string | Date;
|
|
1599
|
-
} | null | undefined;
|
|
1600
1600
|
user?: {
|
|
1601
1601
|
id: string;
|
|
1602
1602
|
firstName: string;
|
|
@@ -1604,21 +1604,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1604
1604
|
email: string;
|
|
1605
1605
|
} | null | undefined;
|
|
1606
1606
|
newCollaboration?: {
|
|
1607
|
-
id: string;
|
|
1608
1607
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1609
1608
|
createdAt: string | Date;
|
|
1610
1609
|
updatedAt: string | Date;
|
|
1610
|
+
id: string;
|
|
1611
1611
|
userId: string;
|
|
1612
|
-
|
|
1612
|
+
company?: {
|
|
1613
|
+
createdAt: string | Date;
|
|
1614
|
+
updatedAt: string | Date;
|
|
1613
1615
|
id: string;
|
|
1616
|
+
name: string;
|
|
1617
|
+
} | null | undefined;
|
|
1618
|
+
client?: {
|
|
1614
1619
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1620
|
+
createdAt: string | Date;
|
|
1621
|
+
updatedAt: string | Date;
|
|
1622
|
+
id: string;
|
|
1615
1623
|
name: string;
|
|
1616
1624
|
crn: string | null;
|
|
1617
1625
|
govLink: string;
|
|
1618
1626
|
soleTrader: boolean;
|
|
1619
1627
|
director: string;
|
|
1620
|
-
createdAt: string | Date;
|
|
1621
|
-
updatedAt: string | Date;
|
|
1622
1628
|
blacklistReason?: string | null | undefined;
|
|
1623
1629
|
lastUpdatedBy?: {
|
|
1624
1630
|
id: string;
|
|
@@ -1630,12 +1636,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1630
1636
|
agentId: string;
|
|
1631
1637
|
} | null | undefined;
|
|
1632
1638
|
} | null | undefined;
|
|
1633
|
-
company?: {
|
|
1634
|
-
id: string;
|
|
1635
|
-
name: string;
|
|
1636
|
-
createdAt: string | Date;
|
|
1637
|
-
updatedAt: string | Date;
|
|
1638
|
-
} | null | undefined;
|
|
1639
1639
|
user?: {
|
|
1640
1640
|
id: string;
|
|
1641
1641
|
firstName: string;
|
|
@@ -1647,12 +1647,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1647
1647
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1648
1648
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1649
1649
|
}, "strip", z.ZodTypeAny, {
|
|
1650
|
-
|
|
1650
|
+
description: string;
|
|
1651
|
+
numberOfPositions: number;
|
|
1651
1652
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1652
1653
|
createdAt: string;
|
|
1653
1654
|
updatedAt: string;
|
|
1654
|
-
|
|
1655
|
-
numberOfPositions: number;
|
|
1655
|
+
id: string;
|
|
1656
1656
|
pay: {
|
|
1657
1657
|
rateUnit: "DAILY" | "HOURLY";
|
|
1658
1658
|
rate: number;
|
|
@@ -1676,21 +1676,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1676
1676
|
areaCovered?: string | null | undefined;
|
|
1677
1677
|
} | null | undefined;
|
|
1678
1678
|
currentCollaboration?: {
|
|
1679
|
-
id: string;
|
|
1680
1679
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1681
1680
|
createdAt: string;
|
|
1682
1681
|
updatedAt: string;
|
|
1682
|
+
id: string;
|
|
1683
1683
|
userId: string;
|
|
1684
|
-
|
|
1684
|
+
company?: {
|
|
1685
|
+
createdAt: string;
|
|
1686
|
+
updatedAt: string;
|
|
1685
1687
|
id: string;
|
|
1688
|
+
name: string;
|
|
1689
|
+
} | null | undefined;
|
|
1690
|
+
client?: {
|
|
1686
1691
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1692
|
+
createdAt: string;
|
|
1693
|
+
updatedAt: string;
|
|
1694
|
+
id: string;
|
|
1687
1695
|
name: string;
|
|
1688
1696
|
crn: string | null;
|
|
1689
1697
|
govLink: string;
|
|
1690
1698
|
soleTrader: boolean;
|
|
1691
1699
|
director: string;
|
|
1692
|
-
createdAt: string;
|
|
1693
|
-
updatedAt: string;
|
|
1694
1700
|
blacklistReason?: string | null | undefined;
|
|
1695
1701
|
lastUpdatedBy?: {
|
|
1696
1702
|
id: string;
|
|
@@ -1702,12 +1708,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1702
1708
|
agentId: string;
|
|
1703
1709
|
} | null | undefined;
|
|
1704
1710
|
} | null | undefined;
|
|
1705
|
-
company?: {
|
|
1706
|
-
id: string;
|
|
1707
|
-
name: string;
|
|
1708
|
-
createdAt: string;
|
|
1709
|
-
updatedAt: string;
|
|
1710
|
-
} | null | undefined;
|
|
1711
1711
|
user?: {
|
|
1712
1712
|
id: string;
|
|
1713
1713
|
firstName: string;
|
|
@@ -1715,21 +1715,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1715
1715
|
email: string;
|
|
1716
1716
|
} | null | undefined;
|
|
1717
1717
|
newCollaboration?: {
|
|
1718
|
-
id: string;
|
|
1719
1718
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1720
1719
|
createdAt: string;
|
|
1721
1720
|
updatedAt: string;
|
|
1721
|
+
id: string;
|
|
1722
1722
|
userId: string;
|
|
1723
|
-
|
|
1723
|
+
company?: {
|
|
1724
|
+
createdAt: string;
|
|
1725
|
+
updatedAt: string;
|
|
1724
1726
|
id: string;
|
|
1727
|
+
name: string;
|
|
1728
|
+
} | null | undefined;
|
|
1729
|
+
client?: {
|
|
1725
1730
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1731
|
+
createdAt: string;
|
|
1732
|
+
updatedAt: string;
|
|
1733
|
+
id: string;
|
|
1726
1734
|
name: string;
|
|
1727
1735
|
crn: string | null;
|
|
1728
1736
|
govLink: string;
|
|
1729
1737
|
soleTrader: boolean;
|
|
1730
1738
|
director: string;
|
|
1731
|
-
createdAt: string;
|
|
1732
|
-
updatedAt: string;
|
|
1733
1739
|
blacklistReason?: string | null | undefined;
|
|
1734
1740
|
lastUpdatedBy?: {
|
|
1735
1741
|
id: string;
|
|
@@ -1741,12 +1747,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1741
1747
|
agentId: string;
|
|
1742
1748
|
} | null | undefined;
|
|
1743
1749
|
} | null | undefined;
|
|
1744
|
-
company?: {
|
|
1745
|
-
id: string;
|
|
1746
|
-
name: string;
|
|
1747
|
-
createdAt: string;
|
|
1748
|
-
updatedAt: string;
|
|
1749
|
-
} | null | undefined;
|
|
1750
1750
|
user?: {
|
|
1751
1751
|
id: string;
|
|
1752
1752
|
firstName: string;
|
|
@@ -1756,12 +1756,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1756
1756
|
} | null | undefined;
|
|
1757
1757
|
} | null | undefined;
|
|
1758
1758
|
}, {
|
|
1759
|
-
|
|
1759
|
+
description: string;
|
|
1760
|
+
numberOfPositions: number;
|
|
1760
1761
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1761
1762
|
createdAt: string | Date;
|
|
1762
1763
|
updatedAt: string | Date;
|
|
1763
|
-
|
|
1764
|
-
numberOfPositions: number;
|
|
1764
|
+
id: string;
|
|
1765
1765
|
pay: {
|
|
1766
1766
|
rateUnit: "DAILY" | "HOURLY";
|
|
1767
1767
|
rate: number;
|
|
@@ -1785,21 +1785,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1785
1785
|
qualificationTypeId?: string | null | undefined;
|
|
1786
1786
|
}[] | undefined;
|
|
1787
1787
|
currentCollaboration?: {
|
|
1788
|
-
id: string;
|
|
1789
1788
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1790
1789
|
createdAt: string | Date;
|
|
1791
1790
|
updatedAt: string | Date;
|
|
1791
|
+
id: string;
|
|
1792
1792
|
userId: string;
|
|
1793
|
-
|
|
1793
|
+
company?: {
|
|
1794
|
+
createdAt: string | Date;
|
|
1795
|
+
updatedAt: string | Date;
|
|
1794
1796
|
id: string;
|
|
1797
|
+
name: string;
|
|
1798
|
+
} | null | undefined;
|
|
1799
|
+
client?: {
|
|
1795
1800
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1801
|
+
createdAt: string | Date;
|
|
1802
|
+
updatedAt: string | Date;
|
|
1803
|
+
id: string;
|
|
1796
1804
|
name: string;
|
|
1797
1805
|
crn: string | null;
|
|
1798
1806
|
govLink: string;
|
|
1799
1807
|
soleTrader: boolean;
|
|
1800
1808
|
director: string;
|
|
1801
|
-
createdAt: string | Date;
|
|
1802
|
-
updatedAt: string | Date;
|
|
1803
1809
|
blacklistReason?: string | null | undefined;
|
|
1804
1810
|
lastUpdatedBy?: {
|
|
1805
1811
|
id: string;
|
|
@@ -1811,12 +1817,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1811
1817
|
agentId: string;
|
|
1812
1818
|
} | null | undefined;
|
|
1813
1819
|
} | null | undefined;
|
|
1814
|
-
company?: {
|
|
1815
|
-
id: string;
|
|
1816
|
-
name: string;
|
|
1817
|
-
createdAt: string | Date;
|
|
1818
|
-
updatedAt: string | Date;
|
|
1819
|
-
} | null | undefined;
|
|
1820
1820
|
user?: {
|
|
1821
1821
|
id: string;
|
|
1822
1822
|
firstName: string;
|
|
@@ -1824,21 +1824,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1824
1824
|
email: string;
|
|
1825
1825
|
} | null | undefined;
|
|
1826
1826
|
newCollaboration?: {
|
|
1827
|
-
id: string;
|
|
1828
1827
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1829
1828
|
createdAt: string | Date;
|
|
1830
1829
|
updatedAt: string | Date;
|
|
1830
|
+
id: string;
|
|
1831
1831
|
userId: string;
|
|
1832
|
-
|
|
1832
|
+
company?: {
|
|
1833
|
+
createdAt: string | Date;
|
|
1834
|
+
updatedAt: string | Date;
|
|
1833
1835
|
id: string;
|
|
1834
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1835
1836
|
name: string;
|
|
1836
|
-
|
|
1837
|
+
} | null | undefined;
|
|
1838
|
+
client?: {
|
|
1839
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1840
|
+
createdAt: string | Date;
|
|
1841
|
+
updatedAt: string | Date;
|
|
1842
|
+
id: string;
|
|
1843
|
+
name: string;
|
|
1844
|
+
crn: string | null;
|
|
1837
1845
|
govLink: string;
|
|
1838
1846
|
soleTrader: boolean;
|
|
1839
1847
|
director: string;
|
|
1840
|
-
createdAt: string | Date;
|
|
1841
|
-
updatedAt: string | Date;
|
|
1842
1848
|
blacklistReason?: string | null | undefined;
|
|
1843
1849
|
lastUpdatedBy?: {
|
|
1844
1850
|
id: string;
|
|
@@ -1850,12 +1856,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1850
1856
|
agentId: string;
|
|
1851
1857
|
} | null | undefined;
|
|
1852
1858
|
} | null | undefined;
|
|
1853
|
-
company?: {
|
|
1854
|
-
id: string;
|
|
1855
|
-
name: string;
|
|
1856
|
-
createdAt: string | Date;
|
|
1857
|
-
updatedAt: string | Date;
|
|
1858
|
-
} | null | undefined;
|
|
1859
1859
|
user?: {
|
|
1860
1860
|
id: string;
|
|
1861
1861
|
firstName: string;
|
|
@@ -1873,12 +1873,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1873
1873
|
}, "strip", z.ZodTypeAny, {
|
|
1874
1874
|
limit: number;
|
|
1875
1875
|
items: {
|
|
1876
|
-
|
|
1876
|
+
description: string;
|
|
1877
|
+
numberOfPositions: number;
|
|
1877
1878
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1878
1879
|
createdAt: string;
|
|
1879
1880
|
updatedAt: string;
|
|
1880
|
-
|
|
1881
|
-
numberOfPositions: number;
|
|
1881
|
+
id: string;
|
|
1882
1882
|
pay: {
|
|
1883
1883
|
rateUnit: "DAILY" | "HOURLY";
|
|
1884
1884
|
rate: number;
|
|
@@ -1902,21 +1902,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1902
1902
|
areaCovered?: string | null | undefined;
|
|
1903
1903
|
} | null | undefined;
|
|
1904
1904
|
currentCollaboration?: {
|
|
1905
|
-
id: string;
|
|
1906
1905
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1907
1906
|
createdAt: string;
|
|
1908
1907
|
updatedAt: string;
|
|
1908
|
+
id: string;
|
|
1909
1909
|
userId: string;
|
|
1910
|
-
|
|
1910
|
+
company?: {
|
|
1911
|
+
createdAt: string;
|
|
1912
|
+
updatedAt: string;
|
|
1911
1913
|
id: string;
|
|
1914
|
+
name: string;
|
|
1915
|
+
} | null | undefined;
|
|
1916
|
+
client?: {
|
|
1912
1917
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1918
|
+
createdAt: string;
|
|
1919
|
+
updatedAt: string;
|
|
1920
|
+
id: string;
|
|
1913
1921
|
name: string;
|
|
1914
1922
|
crn: string | null;
|
|
1915
1923
|
govLink: string;
|
|
1916
1924
|
soleTrader: boolean;
|
|
1917
1925
|
director: string;
|
|
1918
|
-
createdAt: string;
|
|
1919
|
-
updatedAt: string;
|
|
1920
1926
|
blacklistReason?: string | null | undefined;
|
|
1921
1927
|
lastUpdatedBy?: {
|
|
1922
1928
|
id: string;
|
|
@@ -1928,12 +1934,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1928
1934
|
agentId: string;
|
|
1929
1935
|
} | null | undefined;
|
|
1930
1936
|
} | null | undefined;
|
|
1931
|
-
company?: {
|
|
1932
|
-
id: string;
|
|
1933
|
-
name: string;
|
|
1934
|
-
createdAt: string;
|
|
1935
|
-
updatedAt: string;
|
|
1936
|
-
} | null | undefined;
|
|
1937
1937
|
user?: {
|
|
1938
1938
|
id: string;
|
|
1939
1939
|
firstName: string;
|
|
@@ -1941,21 +1941,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1941
1941
|
email: string;
|
|
1942
1942
|
} | null | undefined;
|
|
1943
1943
|
newCollaboration?: {
|
|
1944
|
-
id: string;
|
|
1945
1944
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1946
1945
|
createdAt: string;
|
|
1947
1946
|
updatedAt: string;
|
|
1947
|
+
id: string;
|
|
1948
1948
|
userId: string;
|
|
1949
|
-
|
|
1949
|
+
company?: {
|
|
1950
|
+
createdAt: string;
|
|
1951
|
+
updatedAt: string;
|
|
1950
1952
|
id: string;
|
|
1953
|
+
name: string;
|
|
1954
|
+
} | null | undefined;
|
|
1955
|
+
client?: {
|
|
1951
1956
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1957
|
+
createdAt: string;
|
|
1958
|
+
updatedAt: string;
|
|
1959
|
+
id: string;
|
|
1952
1960
|
name: string;
|
|
1953
1961
|
crn: string | null;
|
|
1954
1962
|
govLink: string;
|
|
1955
1963
|
soleTrader: boolean;
|
|
1956
1964
|
director: string;
|
|
1957
|
-
createdAt: string;
|
|
1958
|
-
updatedAt: string;
|
|
1959
1965
|
blacklistReason?: string | null | undefined;
|
|
1960
1966
|
lastUpdatedBy?: {
|
|
1961
1967
|
id: string;
|
|
@@ -1967,12 +1973,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1967
1973
|
agentId: string;
|
|
1968
1974
|
} | null | undefined;
|
|
1969
1975
|
} | null | undefined;
|
|
1970
|
-
company?: {
|
|
1971
|
-
id: string;
|
|
1972
|
-
name: string;
|
|
1973
|
-
createdAt: string;
|
|
1974
|
-
updatedAt: string;
|
|
1975
|
-
} | null | undefined;
|
|
1976
1976
|
user?: {
|
|
1977
1977
|
id: string;
|
|
1978
1978
|
firstName: string;
|
|
@@ -1989,12 +1989,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1989
1989
|
}, {
|
|
1990
1990
|
limit: number;
|
|
1991
1991
|
items: {
|
|
1992
|
-
|
|
1992
|
+
description: string;
|
|
1993
|
+
numberOfPositions: number;
|
|
1993
1994
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1994
1995
|
createdAt: string | Date;
|
|
1995
1996
|
updatedAt: string | Date;
|
|
1996
|
-
|
|
1997
|
-
numberOfPositions: number;
|
|
1997
|
+
id: string;
|
|
1998
1998
|
pay: {
|
|
1999
1999
|
rateUnit: "DAILY" | "HOURLY";
|
|
2000
2000
|
rate: number;
|
|
@@ -2018,21 +2018,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2018
2018
|
qualificationTypeId?: string | null | undefined;
|
|
2019
2019
|
}[] | undefined;
|
|
2020
2020
|
currentCollaboration?: {
|
|
2021
|
-
id: string;
|
|
2022
2021
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2023
2022
|
createdAt: string | Date;
|
|
2024
2023
|
updatedAt: string | Date;
|
|
2024
|
+
id: string;
|
|
2025
2025
|
userId: string;
|
|
2026
|
-
|
|
2026
|
+
company?: {
|
|
2027
|
+
createdAt: string | Date;
|
|
2028
|
+
updatedAt: string | Date;
|
|
2027
2029
|
id: string;
|
|
2030
|
+
name: string;
|
|
2031
|
+
} | null | undefined;
|
|
2032
|
+
client?: {
|
|
2028
2033
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2034
|
+
createdAt: string | Date;
|
|
2035
|
+
updatedAt: string | Date;
|
|
2036
|
+
id: string;
|
|
2029
2037
|
name: string;
|
|
2030
2038
|
crn: string | null;
|
|
2031
2039
|
govLink: string;
|
|
2032
2040
|
soleTrader: boolean;
|
|
2033
2041
|
director: string;
|
|
2034
|
-
createdAt: string | Date;
|
|
2035
|
-
updatedAt: string | Date;
|
|
2036
2042
|
blacklistReason?: string | null | undefined;
|
|
2037
2043
|
lastUpdatedBy?: {
|
|
2038
2044
|
id: string;
|
|
@@ -2044,12 +2050,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2044
2050
|
agentId: string;
|
|
2045
2051
|
} | null | undefined;
|
|
2046
2052
|
} | null | undefined;
|
|
2047
|
-
company?: {
|
|
2048
|
-
id: string;
|
|
2049
|
-
name: string;
|
|
2050
|
-
createdAt: string | Date;
|
|
2051
|
-
updatedAt: string | Date;
|
|
2052
|
-
} | null | undefined;
|
|
2053
2053
|
user?: {
|
|
2054
2054
|
id: string;
|
|
2055
2055
|
firstName: string;
|
|
@@ -2057,21 +2057,27 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2057
2057
|
email: string;
|
|
2058
2058
|
} | null | undefined;
|
|
2059
2059
|
newCollaboration?: {
|
|
2060
|
-
id: string;
|
|
2061
2060
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2062
2061
|
createdAt: string | Date;
|
|
2063
2062
|
updatedAt: string | Date;
|
|
2063
|
+
id: string;
|
|
2064
2064
|
userId: string;
|
|
2065
|
-
|
|
2065
|
+
company?: {
|
|
2066
|
+
createdAt: string | Date;
|
|
2067
|
+
updatedAt: string | Date;
|
|
2066
2068
|
id: string;
|
|
2069
|
+
name: string;
|
|
2070
|
+
} | null | undefined;
|
|
2071
|
+
client?: {
|
|
2067
2072
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2073
|
+
createdAt: string | Date;
|
|
2074
|
+
updatedAt: string | Date;
|
|
2075
|
+
id: string;
|
|
2068
2076
|
name: string;
|
|
2069
2077
|
crn: string | null;
|
|
2070
2078
|
govLink: string;
|
|
2071
2079
|
soleTrader: boolean;
|
|
2072
2080
|
director: string;
|
|
2073
|
-
createdAt: string | Date;
|
|
2074
|
-
updatedAt: string | Date;
|
|
2075
2081
|
blacklistReason?: string | null | undefined;
|
|
2076
2082
|
lastUpdatedBy?: {
|
|
2077
2083
|
id: string;
|
|
@@ -2083,12 +2089,6 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2083
2089
|
agentId: string;
|
|
2084
2090
|
} | null | undefined;
|
|
2085
2091
|
} | null | undefined;
|
|
2086
|
-
company?: {
|
|
2087
|
-
id: string;
|
|
2088
|
-
name: string;
|
|
2089
|
-
createdAt: string | Date;
|
|
2090
|
-
updatedAt: string | Date;
|
|
2091
|
-
} | null | undefined;
|
|
2092
2092
|
user?: {
|
|
2093
2093
|
id: string;
|
|
2094
2094
|
firstName: string;
|
|
@@ -2131,7 +2131,7 @@ export declare const jobsContractRouter: {
|
|
|
2131
2131
|
postcode?: string | null | undefined;
|
|
2132
2132
|
}>>;
|
|
2133
2133
|
numberOfPositions: z.ZodNumber;
|
|
2134
|
-
workHours: z.
|
|
2134
|
+
workHours: z.ZodDefault<z.ZodNumber>;
|
|
2135
2135
|
pay: z.ZodObject<{
|
|
2136
2136
|
rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
|
|
2137
2137
|
rate: z.ZodNumber;
|
|
@@ -2168,9 +2168,10 @@ export declare const jobsContractRouter: {
|
|
|
2168
2168
|
}>, "many">>;
|
|
2169
2169
|
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
2170
2170
|
}, "strip", z.ZodTypeAny, {
|
|
2171
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2172
2171
|
description: string;
|
|
2173
2172
|
numberOfPositions: number;
|
|
2173
|
+
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2174
|
+
workHours: number;
|
|
2174
2175
|
pay: {
|
|
2175
2176
|
rateUnit: "DAILY" | "HOURLY";
|
|
2176
2177
|
rate: number;
|
|
@@ -2181,7 +2182,6 @@ export declare const jobsContractRouter: {
|
|
|
2181
2182
|
currentCollaboration: {
|
|
2182
2183
|
id: string;
|
|
2183
2184
|
};
|
|
2184
|
-
workHours?: number | undefined;
|
|
2185
2185
|
location?: {
|
|
2186
2186
|
address?: string | null | undefined;
|
|
2187
2187
|
postcode?: string | null | undefined;
|
|
@@ -2385,15 +2385,15 @@ export declare const jobsContractRouter: {
|
|
|
2385
2385
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2386
2386
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2387
2387
|
}, "strip", z.ZodTypeAny, {
|
|
2388
|
-
id: string;
|
|
2389
|
-
name: string;
|
|
2390
2388
|
createdAt: string;
|
|
2391
2389
|
updatedAt: string;
|
|
2392
|
-
}, {
|
|
2393
2390
|
id: string;
|
|
2394
2391
|
name: string;
|
|
2392
|
+
}, {
|
|
2395
2393
|
createdAt: string | Date;
|
|
2396
2394
|
updatedAt: string | Date;
|
|
2395
|
+
id: string;
|
|
2396
|
+
name: string;
|
|
2397
2397
|
}>>>;
|
|
2398
2398
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2399
2399
|
id: z.ZodString;
|
|
@@ -2430,15 +2430,15 @@ export declare const jobsContractRouter: {
|
|
|
2430
2430
|
agentId: string;
|
|
2431
2431
|
}>>>;
|
|
2432
2432
|
}, "strip", z.ZodTypeAny, {
|
|
2433
|
-
id: string;
|
|
2434
2433
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2434
|
+
createdAt: string;
|
|
2435
|
+
updatedAt: string;
|
|
2436
|
+
id: string;
|
|
2435
2437
|
name: string;
|
|
2436
2438
|
crn: string | null;
|
|
2437
2439
|
govLink: string;
|
|
2438
2440
|
soleTrader: boolean;
|
|
2439
2441
|
director: string;
|
|
2440
|
-
createdAt: string;
|
|
2441
|
-
updatedAt: string;
|
|
2442
2442
|
blacklistReason?: string | null | undefined;
|
|
2443
2443
|
lastUpdatedBy?: {
|
|
2444
2444
|
id: string;
|
|
@@ -2450,15 +2450,15 @@ export declare const jobsContractRouter: {
|
|
|
2450
2450
|
agentId: string;
|
|
2451
2451
|
} | null | undefined;
|
|
2452
2452
|
}, {
|
|
2453
|
-
id: string;
|
|
2454
2453
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2454
|
+
createdAt: string | Date;
|
|
2455
|
+
updatedAt: string | Date;
|
|
2456
|
+
id: string;
|
|
2455
2457
|
name: string;
|
|
2456
2458
|
crn: string | null;
|
|
2457
2459
|
govLink: string;
|
|
2458
2460
|
soleTrader: boolean;
|
|
2459
2461
|
director: string;
|
|
2460
|
-
createdAt: string | Date;
|
|
2461
|
-
updatedAt: string | Date;
|
|
2462
2462
|
blacklistReason?: string | null | undefined;
|
|
2463
2463
|
lastUpdatedBy?: {
|
|
2464
2464
|
id: string;
|
|
@@ -2499,15 +2499,15 @@ export declare const jobsContractRouter: {
|
|
|
2499
2499
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2500
2500
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2501
2501
|
}, "strip", z.ZodTypeAny, {
|
|
2502
|
-
id: string;
|
|
2503
|
-
name: string;
|
|
2504
2502
|
createdAt: string;
|
|
2505
2503
|
updatedAt: string;
|
|
2506
|
-
}, {
|
|
2507
2504
|
id: string;
|
|
2508
2505
|
name: string;
|
|
2506
|
+
}, {
|
|
2509
2507
|
createdAt: string | Date;
|
|
2510
2508
|
updatedAt: string | Date;
|
|
2509
|
+
id: string;
|
|
2510
|
+
name: string;
|
|
2511
2511
|
}>>>;
|
|
2512
2512
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2513
2513
|
id: z.ZodString;
|
|
@@ -2544,15 +2544,15 @@ export declare const jobsContractRouter: {
|
|
|
2544
2544
|
agentId: string;
|
|
2545
2545
|
}>>>;
|
|
2546
2546
|
}, "strip", z.ZodTypeAny, {
|
|
2547
|
-
id: string;
|
|
2548
2547
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2548
|
+
createdAt: string;
|
|
2549
|
+
updatedAt: string;
|
|
2550
|
+
id: string;
|
|
2549
2551
|
name: string;
|
|
2550
2552
|
crn: string | null;
|
|
2551
2553
|
govLink: string;
|
|
2552
2554
|
soleTrader: boolean;
|
|
2553
2555
|
director: string;
|
|
2554
|
-
createdAt: string;
|
|
2555
|
-
updatedAt: string;
|
|
2556
2556
|
blacklistReason?: string | null | undefined;
|
|
2557
2557
|
lastUpdatedBy?: {
|
|
2558
2558
|
id: string;
|
|
@@ -2564,15 +2564,15 @@ export declare const jobsContractRouter: {
|
|
|
2564
2564
|
agentId: string;
|
|
2565
2565
|
} | null | undefined;
|
|
2566
2566
|
}, {
|
|
2567
|
-
id: string;
|
|
2568
2567
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2568
|
+
createdAt: string | Date;
|
|
2569
|
+
updatedAt: string | Date;
|
|
2570
|
+
id: string;
|
|
2569
2571
|
name: string;
|
|
2570
2572
|
crn: string | null;
|
|
2571
2573
|
govLink: string;
|
|
2572
2574
|
soleTrader: boolean;
|
|
2573
2575
|
director: string;
|
|
2574
|
-
createdAt: string | Date;
|
|
2575
|
-
updatedAt: string | Date;
|
|
2576
2576
|
blacklistReason?: string | null | undefined;
|
|
2577
2577
|
lastUpdatedBy?: {
|
|
2578
2578
|
id: string;
|
|
@@ -2605,21 +2605,27 @@ export declare const jobsContractRouter: {
|
|
|
2605
2605
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2606
2606
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2607
2607
|
}, "strip", z.ZodTypeAny, {
|
|
2608
|
-
id: string;
|
|
2609
2608
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2610
2609
|
createdAt: string;
|
|
2611
2610
|
updatedAt: string;
|
|
2611
|
+
id: string;
|
|
2612
2612
|
userId: string;
|
|
2613
|
-
|
|
2613
|
+
company?: {
|
|
2614
|
+
createdAt: string;
|
|
2615
|
+
updatedAt: string;
|
|
2614
2616
|
id: string;
|
|
2617
|
+
name: string;
|
|
2618
|
+
} | null | undefined;
|
|
2619
|
+
client?: {
|
|
2615
2620
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2621
|
+
createdAt: string;
|
|
2622
|
+
updatedAt: string;
|
|
2623
|
+
id: string;
|
|
2616
2624
|
name: string;
|
|
2617
2625
|
crn: string | null;
|
|
2618
2626
|
govLink: string;
|
|
2619
2627
|
soleTrader: boolean;
|
|
2620
2628
|
director: string;
|
|
2621
|
-
createdAt: string;
|
|
2622
|
-
updatedAt: string;
|
|
2623
2629
|
blacklistReason?: string | null | undefined;
|
|
2624
2630
|
lastUpdatedBy?: {
|
|
2625
2631
|
id: string;
|
|
@@ -2631,12 +2637,6 @@ export declare const jobsContractRouter: {
|
|
|
2631
2637
|
agentId: string;
|
|
2632
2638
|
} | null | undefined;
|
|
2633
2639
|
} | null | undefined;
|
|
2634
|
-
company?: {
|
|
2635
|
-
id: string;
|
|
2636
|
-
name: string;
|
|
2637
|
-
createdAt: string;
|
|
2638
|
-
updatedAt: string;
|
|
2639
|
-
} | null | undefined;
|
|
2640
2640
|
user?: {
|
|
2641
2641
|
id: string;
|
|
2642
2642
|
firstName: string;
|
|
@@ -2644,21 +2644,27 @@ export declare const jobsContractRouter: {
|
|
|
2644
2644
|
email: string;
|
|
2645
2645
|
} | null | undefined;
|
|
2646
2646
|
}, {
|
|
2647
|
-
id: string;
|
|
2648
2647
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2649
2648
|
createdAt: string | Date;
|
|
2650
2649
|
updatedAt: string | Date;
|
|
2650
|
+
id: string;
|
|
2651
2651
|
userId: string;
|
|
2652
|
-
|
|
2652
|
+
company?: {
|
|
2653
|
+
createdAt: string | Date;
|
|
2654
|
+
updatedAt: string | Date;
|
|
2653
2655
|
id: string;
|
|
2656
|
+
name: string;
|
|
2657
|
+
} | null | undefined;
|
|
2658
|
+
client?: {
|
|
2654
2659
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2660
|
+
createdAt: string | Date;
|
|
2661
|
+
updatedAt: string | Date;
|
|
2662
|
+
id: string;
|
|
2655
2663
|
name: string;
|
|
2656
2664
|
crn: string | null;
|
|
2657
2665
|
govLink: string;
|
|
2658
2666
|
soleTrader: boolean;
|
|
2659
2667
|
director: string;
|
|
2660
|
-
createdAt: string | Date;
|
|
2661
|
-
updatedAt: string | Date;
|
|
2662
2668
|
blacklistReason?: string | null | undefined;
|
|
2663
2669
|
lastUpdatedBy?: {
|
|
2664
2670
|
id: string;
|
|
@@ -2670,12 +2676,6 @@ export declare const jobsContractRouter: {
|
|
|
2670
2676
|
agentId: string;
|
|
2671
2677
|
} | null | undefined;
|
|
2672
2678
|
} | null | undefined;
|
|
2673
|
-
company?: {
|
|
2674
|
-
id: string;
|
|
2675
|
-
name: string;
|
|
2676
|
-
createdAt: string | Date;
|
|
2677
|
-
updatedAt: string | Date;
|
|
2678
|
-
} | null | undefined;
|
|
2679
2679
|
user?: {
|
|
2680
2680
|
id: string;
|
|
2681
2681
|
firstName: string;
|
|
@@ -2684,21 +2684,27 @@ export declare const jobsContractRouter: {
|
|
|
2684
2684
|
} | null | undefined;
|
|
2685
2685
|
}>>>;
|
|
2686
2686
|
}, "strip", z.ZodTypeAny, {
|
|
2687
|
-
id: string;
|
|
2688
2687
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2689
2688
|
createdAt: string;
|
|
2690
2689
|
updatedAt: string;
|
|
2690
|
+
id: string;
|
|
2691
2691
|
userId: string;
|
|
2692
|
-
|
|
2692
|
+
company?: {
|
|
2693
|
+
createdAt: string;
|
|
2694
|
+
updatedAt: string;
|
|
2693
2695
|
id: string;
|
|
2696
|
+
name: string;
|
|
2697
|
+
} | null | undefined;
|
|
2698
|
+
client?: {
|
|
2694
2699
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2700
|
+
createdAt: string;
|
|
2701
|
+
updatedAt: string;
|
|
2702
|
+
id: string;
|
|
2695
2703
|
name: string;
|
|
2696
2704
|
crn: string | null;
|
|
2697
2705
|
govLink: string;
|
|
2698
2706
|
soleTrader: boolean;
|
|
2699
2707
|
director: string;
|
|
2700
|
-
createdAt: string;
|
|
2701
|
-
updatedAt: string;
|
|
2702
2708
|
blacklistReason?: string | null | undefined;
|
|
2703
2709
|
lastUpdatedBy?: {
|
|
2704
2710
|
id: string;
|
|
@@ -2710,12 +2716,6 @@ export declare const jobsContractRouter: {
|
|
|
2710
2716
|
agentId: string;
|
|
2711
2717
|
} | null | undefined;
|
|
2712
2718
|
} | null | undefined;
|
|
2713
|
-
company?: {
|
|
2714
|
-
id: string;
|
|
2715
|
-
name: string;
|
|
2716
|
-
createdAt: string;
|
|
2717
|
-
updatedAt: string;
|
|
2718
|
-
} | null | undefined;
|
|
2719
2719
|
user?: {
|
|
2720
2720
|
id: string;
|
|
2721
2721
|
firstName: string;
|
|
@@ -2723,21 +2723,27 @@ export declare const jobsContractRouter: {
|
|
|
2723
2723
|
email: string;
|
|
2724
2724
|
} | null | undefined;
|
|
2725
2725
|
newCollaboration?: {
|
|
2726
|
-
id: string;
|
|
2727
2726
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2728
2727
|
createdAt: string;
|
|
2729
2728
|
updatedAt: string;
|
|
2729
|
+
id: string;
|
|
2730
2730
|
userId: string;
|
|
2731
|
-
|
|
2731
|
+
company?: {
|
|
2732
|
+
createdAt: string;
|
|
2733
|
+
updatedAt: string;
|
|
2732
2734
|
id: string;
|
|
2735
|
+
name: string;
|
|
2736
|
+
} | null | undefined;
|
|
2737
|
+
client?: {
|
|
2733
2738
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2739
|
+
createdAt: string;
|
|
2740
|
+
updatedAt: string;
|
|
2741
|
+
id: string;
|
|
2734
2742
|
name: string;
|
|
2735
2743
|
crn: string | null;
|
|
2736
2744
|
govLink: string;
|
|
2737
2745
|
soleTrader: boolean;
|
|
2738
2746
|
director: string;
|
|
2739
|
-
createdAt: string;
|
|
2740
|
-
updatedAt: string;
|
|
2741
2747
|
blacklistReason?: string | null | undefined;
|
|
2742
2748
|
lastUpdatedBy?: {
|
|
2743
2749
|
id: string;
|
|
@@ -2749,12 +2755,6 @@ export declare const jobsContractRouter: {
|
|
|
2749
2755
|
agentId: string;
|
|
2750
2756
|
} | null | undefined;
|
|
2751
2757
|
} | null | undefined;
|
|
2752
|
-
company?: {
|
|
2753
|
-
id: string;
|
|
2754
|
-
name: string;
|
|
2755
|
-
createdAt: string;
|
|
2756
|
-
updatedAt: string;
|
|
2757
|
-
} | null | undefined;
|
|
2758
2758
|
user?: {
|
|
2759
2759
|
id: string;
|
|
2760
2760
|
firstName: string;
|
|
@@ -2763,21 +2763,27 @@ export declare const jobsContractRouter: {
|
|
|
2763
2763
|
} | null | undefined;
|
|
2764
2764
|
} | null | undefined;
|
|
2765
2765
|
}, {
|
|
2766
|
-
id: string;
|
|
2767
2766
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2768
2767
|
createdAt: string | Date;
|
|
2769
2768
|
updatedAt: string | Date;
|
|
2769
|
+
id: string;
|
|
2770
2770
|
userId: string;
|
|
2771
|
-
|
|
2771
|
+
company?: {
|
|
2772
|
+
createdAt: string | Date;
|
|
2773
|
+
updatedAt: string | Date;
|
|
2772
2774
|
id: string;
|
|
2775
|
+
name: string;
|
|
2776
|
+
} | null | undefined;
|
|
2777
|
+
client?: {
|
|
2773
2778
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2779
|
+
createdAt: string | Date;
|
|
2780
|
+
updatedAt: string | Date;
|
|
2781
|
+
id: string;
|
|
2774
2782
|
name: string;
|
|
2775
2783
|
crn: string | null;
|
|
2776
2784
|
govLink: string;
|
|
2777
2785
|
soleTrader: boolean;
|
|
2778
2786
|
director: string;
|
|
2779
|
-
createdAt: string | Date;
|
|
2780
|
-
updatedAt: string | Date;
|
|
2781
2787
|
blacklistReason?: string | null | undefined;
|
|
2782
2788
|
lastUpdatedBy?: {
|
|
2783
2789
|
id: string;
|
|
@@ -2789,12 +2795,6 @@ export declare const jobsContractRouter: {
|
|
|
2789
2795
|
agentId: string;
|
|
2790
2796
|
} | null | undefined;
|
|
2791
2797
|
} | null | undefined;
|
|
2792
|
-
company?: {
|
|
2793
|
-
id: string;
|
|
2794
|
-
name: string;
|
|
2795
|
-
createdAt: string | Date;
|
|
2796
|
-
updatedAt: string | Date;
|
|
2797
|
-
} | null | undefined;
|
|
2798
2798
|
user?: {
|
|
2799
2799
|
id: string;
|
|
2800
2800
|
firstName: string;
|
|
@@ -2802,21 +2802,27 @@ export declare const jobsContractRouter: {
|
|
|
2802
2802
|
email: string;
|
|
2803
2803
|
} | null | undefined;
|
|
2804
2804
|
newCollaboration?: {
|
|
2805
|
-
id: string;
|
|
2806
2805
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2807
2806
|
createdAt: string | Date;
|
|
2808
2807
|
updatedAt: string | Date;
|
|
2808
|
+
id: string;
|
|
2809
2809
|
userId: string;
|
|
2810
|
-
|
|
2810
|
+
company?: {
|
|
2811
|
+
createdAt: string | Date;
|
|
2812
|
+
updatedAt: string | Date;
|
|
2811
2813
|
id: string;
|
|
2812
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2813
2814
|
name: string;
|
|
2814
|
-
|
|
2815
|
+
} | null | undefined;
|
|
2816
|
+
client?: {
|
|
2817
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2818
|
+
createdAt: string | Date;
|
|
2819
|
+
updatedAt: string | Date;
|
|
2820
|
+
id: string;
|
|
2821
|
+
name: string;
|
|
2822
|
+
crn: string | null;
|
|
2815
2823
|
govLink: string;
|
|
2816
2824
|
soleTrader: boolean;
|
|
2817
2825
|
director: string;
|
|
2818
|
-
createdAt: string | Date;
|
|
2819
|
-
updatedAt: string | Date;
|
|
2820
2826
|
blacklistReason?: string | null | undefined;
|
|
2821
2827
|
lastUpdatedBy?: {
|
|
2822
2828
|
id: string;
|
|
@@ -2828,12 +2834,6 @@ export declare const jobsContractRouter: {
|
|
|
2828
2834
|
agentId: string;
|
|
2829
2835
|
} | null | undefined;
|
|
2830
2836
|
} | null | undefined;
|
|
2831
|
-
company?: {
|
|
2832
|
-
id: string;
|
|
2833
|
-
name: string;
|
|
2834
|
-
createdAt: string | Date;
|
|
2835
|
-
updatedAt: string | Date;
|
|
2836
|
-
} | null | undefined;
|
|
2837
2837
|
user?: {
|
|
2838
2838
|
id: string;
|
|
2839
2839
|
firstName: string;
|
|
@@ -2845,12 +2845,12 @@ export declare const jobsContractRouter: {
|
|
|
2845
2845
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2846
2846
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2847
2847
|
}, "strip", z.ZodTypeAny, {
|
|
2848
|
-
|
|
2848
|
+
description: string;
|
|
2849
|
+
numberOfPositions: number;
|
|
2849
2850
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2850
2851
|
createdAt: string;
|
|
2851
2852
|
updatedAt: string;
|
|
2852
|
-
|
|
2853
|
-
numberOfPositions: number;
|
|
2853
|
+
id: string;
|
|
2854
2854
|
pay: {
|
|
2855
2855
|
rateUnit: "DAILY" | "HOURLY";
|
|
2856
2856
|
rate: number;
|
|
@@ -2874,21 +2874,27 @@ export declare const jobsContractRouter: {
|
|
|
2874
2874
|
areaCovered?: string | null | undefined;
|
|
2875
2875
|
} | null | undefined;
|
|
2876
2876
|
currentCollaboration?: {
|
|
2877
|
-
id: string;
|
|
2878
2877
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2879
2878
|
createdAt: string;
|
|
2880
2879
|
updatedAt: string;
|
|
2880
|
+
id: string;
|
|
2881
2881
|
userId: string;
|
|
2882
|
-
|
|
2882
|
+
company?: {
|
|
2883
|
+
createdAt: string;
|
|
2884
|
+
updatedAt: string;
|
|
2883
2885
|
id: string;
|
|
2886
|
+
name: string;
|
|
2887
|
+
} | null | undefined;
|
|
2888
|
+
client?: {
|
|
2884
2889
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2890
|
+
createdAt: string;
|
|
2891
|
+
updatedAt: string;
|
|
2892
|
+
id: string;
|
|
2885
2893
|
name: string;
|
|
2886
2894
|
crn: string | null;
|
|
2887
2895
|
govLink: string;
|
|
2888
2896
|
soleTrader: boolean;
|
|
2889
2897
|
director: string;
|
|
2890
|
-
createdAt: string;
|
|
2891
|
-
updatedAt: string;
|
|
2892
2898
|
blacklistReason?: string | null | undefined;
|
|
2893
2899
|
lastUpdatedBy?: {
|
|
2894
2900
|
id: string;
|
|
@@ -2900,12 +2906,6 @@ export declare const jobsContractRouter: {
|
|
|
2900
2906
|
agentId: string;
|
|
2901
2907
|
} | null | undefined;
|
|
2902
2908
|
} | null | undefined;
|
|
2903
|
-
company?: {
|
|
2904
|
-
id: string;
|
|
2905
|
-
name: string;
|
|
2906
|
-
createdAt: string;
|
|
2907
|
-
updatedAt: string;
|
|
2908
|
-
} | null | undefined;
|
|
2909
2909
|
user?: {
|
|
2910
2910
|
id: string;
|
|
2911
2911
|
firstName: string;
|
|
@@ -2913,21 +2913,27 @@ export declare const jobsContractRouter: {
|
|
|
2913
2913
|
email: string;
|
|
2914
2914
|
} | null | undefined;
|
|
2915
2915
|
newCollaboration?: {
|
|
2916
|
-
id: string;
|
|
2917
2916
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2918
2917
|
createdAt: string;
|
|
2919
2918
|
updatedAt: string;
|
|
2919
|
+
id: string;
|
|
2920
2920
|
userId: string;
|
|
2921
|
-
|
|
2921
|
+
company?: {
|
|
2922
|
+
createdAt: string;
|
|
2923
|
+
updatedAt: string;
|
|
2922
2924
|
id: string;
|
|
2925
|
+
name: string;
|
|
2926
|
+
} | null | undefined;
|
|
2927
|
+
client?: {
|
|
2923
2928
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2929
|
+
createdAt: string;
|
|
2930
|
+
updatedAt: string;
|
|
2931
|
+
id: string;
|
|
2924
2932
|
name: string;
|
|
2925
2933
|
crn: string | null;
|
|
2926
2934
|
govLink: string;
|
|
2927
2935
|
soleTrader: boolean;
|
|
2928
2936
|
director: string;
|
|
2929
|
-
createdAt: string;
|
|
2930
|
-
updatedAt: string;
|
|
2931
2937
|
blacklistReason?: string | null | undefined;
|
|
2932
2938
|
lastUpdatedBy?: {
|
|
2933
2939
|
id: string;
|
|
@@ -2939,12 +2945,6 @@ export declare const jobsContractRouter: {
|
|
|
2939
2945
|
agentId: string;
|
|
2940
2946
|
} | null | undefined;
|
|
2941
2947
|
} | null | undefined;
|
|
2942
|
-
company?: {
|
|
2943
|
-
id: string;
|
|
2944
|
-
name: string;
|
|
2945
|
-
createdAt: string;
|
|
2946
|
-
updatedAt: string;
|
|
2947
|
-
} | null | undefined;
|
|
2948
2948
|
user?: {
|
|
2949
2949
|
id: string;
|
|
2950
2950
|
firstName: string;
|
|
@@ -2954,12 +2954,12 @@ export declare const jobsContractRouter: {
|
|
|
2954
2954
|
} | null | undefined;
|
|
2955
2955
|
} | null | undefined;
|
|
2956
2956
|
}, {
|
|
2957
|
-
|
|
2957
|
+
description: string;
|
|
2958
|
+
numberOfPositions: number;
|
|
2958
2959
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2959
2960
|
createdAt: string | Date;
|
|
2960
2961
|
updatedAt: string | Date;
|
|
2961
|
-
|
|
2962
|
-
numberOfPositions: number;
|
|
2962
|
+
id: string;
|
|
2963
2963
|
pay: {
|
|
2964
2964
|
rateUnit: "DAILY" | "HOURLY";
|
|
2965
2965
|
rate: number;
|
|
@@ -2983,21 +2983,27 @@ export declare const jobsContractRouter: {
|
|
|
2983
2983
|
qualificationTypeId?: string | null | undefined;
|
|
2984
2984
|
}[] | undefined;
|
|
2985
2985
|
currentCollaboration?: {
|
|
2986
|
-
id: string;
|
|
2987
2986
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2988
2987
|
createdAt: string | Date;
|
|
2989
2988
|
updatedAt: string | Date;
|
|
2989
|
+
id: string;
|
|
2990
2990
|
userId: string;
|
|
2991
|
-
|
|
2991
|
+
company?: {
|
|
2992
|
+
createdAt: string | Date;
|
|
2993
|
+
updatedAt: string | Date;
|
|
2992
2994
|
id: string;
|
|
2995
|
+
name: string;
|
|
2996
|
+
} | null | undefined;
|
|
2997
|
+
client?: {
|
|
2993
2998
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2999
|
+
createdAt: string | Date;
|
|
3000
|
+
updatedAt: string | Date;
|
|
3001
|
+
id: string;
|
|
2994
3002
|
name: string;
|
|
2995
3003
|
crn: string | null;
|
|
2996
3004
|
govLink: string;
|
|
2997
3005
|
soleTrader: boolean;
|
|
2998
3006
|
director: string;
|
|
2999
|
-
createdAt: string | Date;
|
|
3000
|
-
updatedAt: string | Date;
|
|
3001
3007
|
blacklistReason?: string | null | undefined;
|
|
3002
3008
|
lastUpdatedBy?: {
|
|
3003
3009
|
id: string;
|
|
@@ -3009,12 +3015,6 @@ export declare const jobsContractRouter: {
|
|
|
3009
3015
|
agentId: string;
|
|
3010
3016
|
} | null | undefined;
|
|
3011
3017
|
} | null | undefined;
|
|
3012
|
-
company?: {
|
|
3013
|
-
id: string;
|
|
3014
|
-
name: string;
|
|
3015
|
-
createdAt: string | Date;
|
|
3016
|
-
updatedAt: string | Date;
|
|
3017
|
-
} | null | undefined;
|
|
3018
3018
|
user?: {
|
|
3019
3019
|
id: string;
|
|
3020
3020
|
firstName: string;
|
|
@@ -3022,21 +3022,27 @@ export declare const jobsContractRouter: {
|
|
|
3022
3022
|
email: string;
|
|
3023
3023
|
} | null | undefined;
|
|
3024
3024
|
newCollaboration?: {
|
|
3025
|
-
id: string;
|
|
3026
3025
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3027
3026
|
createdAt: string | Date;
|
|
3028
3027
|
updatedAt: string | Date;
|
|
3028
|
+
id: string;
|
|
3029
3029
|
userId: string;
|
|
3030
|
-
|
|
3030
|
+
company?: {
|
|
3031
|
+
createdAt: string | Date;
|
|
3032
|
+
updatedAt: string | Date;
|
|
3031
3033
|
id: string;
|
|
3034
|
+
name: string;
|
|
3035
|
+
} | null | undefined;
|
|
3036
|
+
client?: {
|
|
3032
3037
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3038
|
+
createdAt: string | Date;
|
|
3039
|
+
updatedAt: string | Date;
|
|
3040
|
+
id: string;
|
|
3033
3041
|
name: string;
|
|
3034
3042
|
crn: string | null;
|
|
3035
3043
|
govLink: string;
|
|
3036
3044
|
soleTrader: boolean;
|
|
3037
3045
|
director: string;
|
|
3038
|
-
createdAt: string | Date;
|
|
3039
|
-
updatedAt: string | Date;
|
|
3040
3046
|
blacklistReason?: string | null | undefined;
|
|
3041
3047
|
lastUpdatedBy?: {
|
|
3042
3048
|
id: string;
|
|
@@ -3048,12 +3054,6 @@ export declare const jobsContractRouter: {
|
|
|
3048
3054
|
agentId: string;
|
|
3049
3055
|
} | null | undefined;
|
|
3050
3056
|
} | null | undefined;
|
|
3051
|
-
company?: {
|
|
3052
|
-
id: string;
|
|
3053
|
-
name: string;
|
|
3054
|
-
createdAt: string | Date;
|
|
3055
|
-
updatedAt: string | Date;
|
|
3056
|
-
} | null | undefined;
|
|
3057
3057
|
user?: {
|
|
3058
3058
|
id: string;
|
|
3059
3059
|
firstName: string;
|
|
@@ -3148,46 +3148,46 @@ export declare const jobsContractRouter: {
|
|
|
3148
3148
|
from?: string | null | undefined;
|
|
3149
3149
|
to?: string | null | undefined;
|
|
3150
3150
|
} | null | undefined;
|
|
3151
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
3152
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3153
|
-
clientId?: string | null | undefined;
|
|
3154
|
-
userId?: string | null | undefined;
|
|
3155
|
-
companyId?: string | null | undefined;
|
|
3156
3151
|
pay?: {
|
|
3157
3152
|
minRate?: number | null | undefined;
|
|
3158
3153
|
maxRate?: number | null | undefined;
|
|
3159
3154
|
} | null | undefined;
|
|
3160
3155
|
postcode?: string | null | undefined;
|
|
3161
3156
|
tradeId?: string | null | undefined;
|
|
3157
|
+
userId?: string | null | undefined;
|
|
3162
3158
|
qualificationFilters?: {
|
|
3163
3159
|
qualificationId?: string | undefined;
|
|
3164
3160
|
qualificationTypeId?: string | undefined;
|
|
3165
3161
|
}[] | undefined;
|
|
3162
|
+
clientId?: string | null | undefined;
|
|
3163
|
+
companyId?: string | null | undefined;
|
|
3166
3164
|
distance?: number | null | undefined;
|
|
3165
|
+
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
3166
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3167
3167
|
}, {
|
|
3168
3168
|
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
3169
3169
|
createdAt?: {
|
|
3170
3170
|
from?: string | null | undefined;
|
|
3171
3171
|
to?: string | null | undefined;
|
|
3172
3172
|
} | null | undefined;
|
|
3173
|
-
limit?: number | undefined;
|
|
3174
|
-
page?: number | undefined;
|
|
3175
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
3176
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3177
|
-
clientId?: string | null | undefined;
|
|
3178
|
-
userId?: string | null | undefined;
|
|
3179
|
-
companyId?: string | null | undefined;
|
|
3180
3173
|
pay?: {
|
|
3181
3174
|
minRate?: number | null | undefined;
|
|
3182
3175
|
maxRate?: number | null | undefined;
|
|
3183
3176
|
} | null | undefined;
|
|
3184
3177
|
postcode?: string | null | undefined;
|
|
3185
3178
|
tradeId?: string | null | undefined;
|
|
3179
|
+
userId?: string | null | undefined;
|
|
3180
|
+
limit?: number | undefined;
|
|
3181
|
+
page?: number | undefined;
|
|
3186
3182
|
qualificationFilters?: {
|
|
3187
3183
|
qualificationId?: string | undefined;
|
|
3188
3184
|
qualificationTypeId?: string | undefined;
|
|
3189
3185
|
}[] | undefined;
|
|
3186
|
+
clientId?: string | null | undefined;
|
|
3187
|
+
companyId?: string | null | undefined;
|
|
3190
3188
|
distance?: number | null | undefined;
|
|
3189
|
+
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
3190
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3191
3191
|
}>;
|
|
3192
3192
|
summary: "Get all jobs";
|
|
3193
3193
|
method: "GET";
|
|
@@ -3363,15 +3363,15 @@ export declare const jobsContractRouter: {
|
|
|
3363
3363
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3364
3364
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3365
3365
|
}, "strip", z.ZodTypeAny, {
|
|
3366
|
-
id: string;
|
|
3367
|
-
name: string;
|
|
3368
3366
|
createdAt: string;
|
|
3369
3367
|
updatedAt: string;
|
|
3370
|
-
}, {
|
|
3371
3368
|
id: string;
|
|
3372
3369
|
name: string;
|
|
3370
|
+
}, {
|
|
3373
3371
|
createdAt: string | Date;
|
|
3374
3372
|
updatedAt: string | Date;
|
|
3373
|
+
id: string;
|
|
3374
|
+
name: string;
|
|
3375
3375
|
}>>>;
|
|
3376
3376
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3377
3377
|
id: z.ZodString;
|
|
@@ -3408,15 +3408,15 @@ export declare const jobsContractRouter: {
|
|
|
3408
3408
|
agentId: string;
|
|
3409
3409
|
}>>>;
|
|
3410
3410
|
}, "strip", z.ZodTypeAny, {
|
|
3411
|
-
id: string;
|
|
3412
3411
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3412
|
+
createdAt: string;
|
|
3413
|
+
updatedAt: string;
|
|
3414
|
+
id: string;
|
|
3413
3415
|
name: string;
|
|
3414
3416
|
crn: string | null;
|
|
3415
3417
|
govLink: string;
|
|
3416
3418
|
soleTrader: boolean;
|
|
3417
3419
|
director: string;
|
|
3418
|
-
createdAt: string;
|
|
3419
|
-
updatedAt: string;
|
|
3420
3420
|
blacklistReason?: string | null | undefined;
|
|
3421
3421
|
lastUpdatedBy?: {
|
|
3422
3422
|
id: string;
|
|
@@ -3428,15 +3428,15 @@ export declare const jobsContractRouter: {
|
|
|
3428
3428
|
agentId: string;
|
|
3429
3429
|
} | null | undefined;
|
|
3430
3430
|
}, {
|
|
3431
|
-
id: string;
|
|
3432
3431
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3432
|
+
createdAt: string | Date;
|
|
3433
|
+
updatedAt: string | Date;
|
|
3434
|
+
id: string;
|
|
3433
3435
|
name: string;
|
|
3434
3436
|
crn: string | null;
|
|
3435
3437
|
govLink: string;
|
|
3436
3438
|
soleTrader: boolean;
|
|
3437
3439
|
director: string;
|
|
3438
|
-
createdAt: string | Date;
|
|
3439
|
-
updatedAt: string | Date;
|
|
3440
3440
|
blacklistReason?: string | null | undefined;
|
|
3441
3441
|
lastUpdatedBy?: {
|
|
3442
3442
|
id: string;
|
|
@@ -3477,15 +3477,15 @@ export declare const jobsContractRouter: {
|
|
|
3477
3477
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3478
3478
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3479
3479
|
}, "strip", z.ZodTypeAny, {
|
|
3480
|
-
id: string;
|
|
3481
|
-
name: string;
|
|
3482
3480
|
createdAt: string;
|
|
3483
3481
|
updatedAt: string;
|
|
3484
|
-
}, {
|
|
3485
3482
|
id: string;
|
|
3486
3483
|
name: string;
|
|
3484
|
+
}, {
|
|
3487
3485
|
createdAt: string | Date;
|
|
3488
3486
|
updatedAt: string | Date;
|
|
3487
|
+
id: string;
|
|
3488
|
+
name: string;
|
|
3489
3489
|
}>>>;
|
|
3490
3490
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3491
3491
|
id: z.ZodString;
|
|
@@ -3522,15 +3522,15 @@ export declare const jobsContractRouter: {
|
|
|
3522
3522
|
agentId: string;
|
|
3523
3523
|
}>>>;
|
|
3524
3524
|
}, "strip", z.ZodTypeAny, {
|
|
3525
|
-
id: string;
|
|
3526
3525
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3526
|
+
createdAt: string;
|
|
3527
|
+
updatedAt: string;
|
|
3528
|
+
id: string;
|
|
3527
3529
|
name: string;
|
|
3528
3530
|
crn: string | null;
|
|
3529
3531
|
govLink: string;
|
|
3530
3532
|
soleTrader: boolean;
|
|
3531
3533
|
director: string;
|
|
3532
|
-
createdAt: string;
|
|
3533
|
-
updatedAt: string;
|
|
3534
3534
|
blacklistReason?: string | null | undefined;
|
|
3535
3535
|
lastUpdatedBy?: {
|
|
3536
3536
|
id: string;
|
|
@@ -3542,15 +3542,15 @@ export declare const jobsContractRouter: {
|
|
|
3542
3542
|
agentId: string;
|
|
3543
3543
|
} | null | undefined;
|
|
3544
3544
|
}, {
|
|
3545
|
-
id: string;
|
|
3546
3545
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3546
|
+
createdAt: string | Date;
|
|
3547
|
+
updatedAt: string | Date;
|
|
3548
|
+
id: string;
|
|
3547
3549
|
name: string;
|
|
3548
3550
|
crn: string | null;
|
|
3549
3551
|
govLink: string;
|
|
3550
3552
|
soleTrader: boolean;
|
|
3551
3553
|
director: string;
|
|
3552
|
-
createdAt: string | Date;
|
|
3553
|
-
updatedAt: string | Date;
|
|
3554
3554
|
blacklistReason?: string | null | undefined;
|
|
3555
3555
|
lastUpdatedBy?: {
|
|
3556
3556
|
id: string;
|
|
@@ -3583,21 +3583,27 @@ export declare const jobsContractRouter: {
|
|
|
3583
3583
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3584
3584
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3585
3585
|
}, "strip", z.ZodTypeAny, {
|
|
3586
|
-
id: string;
|
|
3587
3586
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3588
3587
|
createdAt: string;
|
|
3589
3588
|
updatedAt: string;
|
|
3589
|
+
id: string;
|
|
3590
3590
|
userId: string;
|
|
3591
|
-
|
|
3591
|
+
company?: {
|
|
3592
|
+
createdAt: string;
|
|
3593
|
+
updatedAt: string;
|
|
3592
3594
|
id: string;
|
|
3595
|
+
name: string;
|
|
3596
|
+
} | null | undefined;
|
|
3597
|
+
client?: {
|
|
3593
3598
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3599
|
+
createdAt: string;
|
|
3600
|
+
updatedAt: string;
|
|
3601
|
+
id: string;
|
|
3594
3602
|
name: string;
|
|
3595
3603
|
crn: string | null;
|
|
3596
3604
|
govLink: string;
|
|
3597
3605
|
soleTrader: boolean;
|
|
3598
3606
|
director: string;
|
|
3599
|
-
createdAt: string;
|
|
3600
|
-
updatedAt: string;
|
|
3601
3607
|
blacklistReason?: string | null | undefined;
|
|
3602
3608
|
lastUpdatedBy?: {
|
|
3603
3609
|
id: string;
|
|
@@ -3609,12 +3615,6 @@ export declare const jobsContractRouter: {
|
|
|
3609
3615
|
agentId: string;
|
|
3610
3616
|
} | null | undefined;
|
|
3611
3617
|
} | null | undefined;
|
|
3612
|
-
company?: {
|
|
3613
|
-
id: string;
|
|
3614
|
-
name: string;
|
|
3615
|
-
createdAt: string;
|
|
3616
|
-
updatedAt: string;
|
|
3617
|
-
} | null | undefined;
|
|
3618
3618
|
user?: {
|
|
3619
3619
|
id: string;
|
|
3620
3620
|
firstName: string;
|
|
@@ -3622,21 +3622,27 @@ export declare const jobsContractRouter: {
|
|
|
3622
3622
|
email: string;
|
|
3623
3623
|
} | null | undefined;
|
|
3624
3624
|
}, {
|
|
3625
|
-
id: string;
|
|
3626
3625
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3627
3626
|
createdAt: string | Date;
|
|
3628
3627
|
updatedAt: string | Date;
|
|
3628
|
+
id: string;
|
|
3629
3629
|
userId: string;
|
|
3630
|
-
|
|
3630
|
+
company?: {
|
|
3631
|
+
createdAt: string | Date;
|
|
3632
|
+
updatedAt: string | Date;
|
|
3631
3633
|
id: string;
|
|
3634
|
+
name: string;
|
|
3635
|
+
} | null | undefined;
|
|
3636
|
+
client?: {
|
|
3632
3637
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3638
|
+
createdAt: string | Date;
|
|
3639
|
+
updatedAt: string | Date;
|
|
3640
|
+
id: string;
|
|
3633
3641
|
name: string;
|
|
3634
3642
|
crn: string | null;
|
|
3635
3643
|
govLink: string;
|
|
3636
3644
|
soleTrader: boolean;
|
|
3637
3645
|
director: string;
|
|
3638
|
-
createdAt: string | Date;
|
|
3639
|
-
updatedAt: string | Date;
|
|
3640
3646
|
blacklistReason?: string | null | undefined;
|
|
3641
3647
|
lastUpdatedBy?: {
|
|
3642
3648
|
id: string;
|
|
@@ -3648,12 +3654,6 @@ export declare const jobsContractRouter: {
|
|
|
3648
3654
|
agentId: string;
|
|
3649
3655
|
} | null | undefined;
|
|
3650
3656
|
} | null | undefined;
|
|
3651
|
-
company?: {
|
|
3652
|
-
id: string;
|
|
3653
|
-
name: string;
|
|
3654
|
-
createdAt: string | Date;
|
|
3655
|
-
updatedAt: string | Date;
|
|
3656
|
-
} | null | undefined;
|
|
3657
3657
|
user?: {
|
|
3658
3658
|
id: string;
|
|
3659
3659
|
firstName: string;
|
|
@@ -3662,21 +3662,27 @@ export declare const jobsContractRouter: {
|
|
|
3662
3662
|
} | null | undefined;
|
|
3663
3663
|
}>>>;
|
|
3664
3664
|
}, "strip", z.ZodTypeAny, {
|
|
3665
|
-
id: string;
|
|
3666
3665
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3667
3666
|
createdAt: string;
|
|
3668
3667
|
updatedAt: string;
|
|
3668
|
+
id: string;
|
|
3669
3669
|
userId: string;
|
|
3670
|
-
|
|
3670
|
+
company?: {
|
|
3671
|
+
createdAt: string;
|
|
3672
|
+
updatedAt: string;
|
|
3671
3673
|
id: string;
|
|
3674
|
+
name: string;
|
|
3675
|
+
} | null | undefined;
|
|
3676
|
+
client?: {
|
|
3672
3677
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3678
|
+
createdAt: string;
|
|
3679
|
+
updatedAt: string;
|
|
3680
|
+
id: string;
|
|
3673
3681
|
name: string;
|
|
3674
3682
|
crn: string | null;
|
|
3675
3683
|
govLink: string;
|
|
3676
3684
|
soleTrader: boolean;
|
|
3677
3685
|
director: string;
|
|
3678
|
-
createdAt: string;
|
|
3679
|
-
updatedAt: string;
|
|
3680
3686
|
blacklistReason?: string | null | undefined;
|
|
3681
3687
|
lastUpdatedBy?: {
|
|
3682
3688
|
id: string;
|
|
@@ -3688,12 +3694,6 @@ export declare const jobsContractRouter: {
|
|
|
3688
3694
|
agentId: string;
|
|
3689
3695
|
} | null | undefined;
|
|
3690
3696
|
} | null | undefined;
|
|
3691
|
-
company?: {
|
|
3692
|
-
id: string;
|
|
3693
|
-
name: string;
|
|
3694
|
-
createdAt: string;
|
|
3695
|
-
updatedAt: string;
|
|
3696
|
-
} | null | undefined;
|
|
3697
3697
|
user?: {
|
|
3698
3698
|
id: string;
|
|
3699
3699
|
firstName: string;
|
|
@@ -3701,21 +3701,27 @@ export declare const jobsContractRouter: {
|
|
|
3701
3701
|
email: string;
|
|
3702
3702
|
} | null | undefined;
|
|
3703
3703
|
newCollaboration?: {
|
|
3704
|
-
id: string;
|
|
3705
3704
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3706
3705
|
createdAt: string;
|
|
3707
3706
|
updatedAt: string;
|
|
3707
|
+
id: string;
|
|
3708
3708
|
userId: string;
|
|
3709
|
-
|
|
3709
|
+
company?: {
|
|
3710
|
+
createdAt: string;
|
|
3711
|
+
updatedAt: string;
|
|
3710
3712
|
id: string;
|
|
3713
|
+
name: string;
|
|
3714
|
+
} | null | undefined;
|
|
3715
|
+
client?: {
|
|
3711
3716
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3717
|
+
createdAt: string;
|
|
3718
|
+
updatedAt: string;
|
|
3719
|
+
id: string;
|
|
3712
3720
|
name: string;
|
|
3713
3721
|
crn: string | null;
|
|
3714
3722
|
govLink: string;
|
|
3715
3723
|
soleTrader: boolean;
|
|
3716
3724
|
director: string;
|
|
3717
|
-
createdAt: string;
|
|
3718
|
-
updatedAt: string;
|
|
3719
3725
|
blacklistReason?: string | null | undefined;
|
|
3720
3726
|
lastUpdatedBy?: {
|
|
3721
3727
|
id: string;
|
|
@@ -3727,12 +3733,6 @@ export declare const jobsContractRouter: {
|
|
|
3727
3733
|
agentId: string;
|
|
3728
3734
|
} | null | undefined;
|
|
3729
3735
|
} | null | undefined;
|
|
3730
|
-
company?: {
|
|
3731
|
-
id: string;
|
|
3732
|
-
name: string;
|
|
3733
|
-
createdAt: string;
|
|
3734
|
-
updatedAt: string;
|
|
3735
|
-
} | null | undefined;
|
|
3736
3736
|
user?: {
|
|
3737
3737
|
id: string;
|
|
3738
3738
|
firstName: string;
|
|
@@ -3741,21 +3741,27 @@ export declare const jobsContractRouter: {
|
|
|
3741
3741
|
} | null | undefined;
|
|
3742
3742
|
} | null | undefined;
|
|
3743
3743
|
}, {
|
|
3744
|
-
id: string;
|
|
3745
3744
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3746
3745
|
createdAt: string | Date;
|
|
3747
3746
|
updatedAt: string | Date;
|
|
3747
|
+
id: string;
|
|
3748
3748
|
userId: string;
|
|
3749
|
-
|
|
3749
|
+
company?: {
|
|
3750
|
+
createdAt: string | Date;
|
|
3751
|
+
updatedAt: string | Date;
|
|
3750
3752
|
id: string;
|
|
3753
|
+
name: string;
|
|
3754
|
+
} | null | undefined;
|
|
3755
|
+
client?: {
|
|
3751
3756
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3757
|
+
createdAt: string | Date;
|
|
3758
|
+
updatedAt: string | Date;
|
|
3759
|
+
id: string;
|
|
3752
3760
|
name: string;
|
|
3753
3761
|
crn: string | null;
|
|
3754
3762
|
govLink: string;
|
|
3755
3763
|
soleTrader: boolean;
|
|
3756
3764
|
director: string;
|
|
3757
|
-
createdAt: string | Date;
|
|
3758
|
-
updatedAt: string | Date;
|
|
3759
3765
|
blacklistReason?: string | null | undefined;
|
|
3760
3766
|
lastUpdatedBy?: {
|
|
3761
3767
|
id: string;
|
|
@@ -3767,12 +3773,6 @@ export declare const jobsContractRouter: {
|
|
|
3767
3773
|
agentId: string;
|
|
3768
3774
|
} | null | undefined;
|
|
3769
3775
|
} | null | undefined;
|
|
3770
|
-
company?: {
|
|
3771
|
-
id: string;
|
|
3772
|
-
name: string;
|
|
3773
|
-
createdAt: string | Date;
|
|
3774
|
-
updatedAt: string | Date;
|
|
3775
|
-
} | null | undefined;
|
|
3776
3776
|
user?: {
|
|
3777
3777
|
id: string;
|
|
3778
3778
|
firstName: string;
|
|
@@ -3780,21 +3780,27 @@ export declare const jobsContractRouter: {
|
|
|
3780
3780
|
email: string;
|
|
3781
3781
|
} | null | undefined;
|
|
3782
3782
|
newCollaboration?: {
|
|
3783
|
-
id: string;
|
|
3784
3783
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3785
3784
|
createdAt: string | Date;
|
|
3786
3785
|
updatedAt: string | Date;
|
|
3786
|
+
id: string;
|
|
3787
3787
|
userId: string;
|
|
3788
|
-
|
|
3788
|
+
company?: {
|
|
3789
|
+
createdAt: string | Date;
|
|
3790
|
+
updatedAt: string | Date;
|
|
3789
3791
|
id: string;
|
|
3792
|
+
name: string;
|
|
3793
|
+
} | null | undefined;
|
|
3794
|
+
client?: {
|
|
3790
3795
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3796
|
+
createdAt: string | Date;
|
|
3797
|
+
updatedAt: string | Date;
|
|
3798
|
+
id: string;
|
|
3791
3799
|
name: string;
|
|
3792
3800
|
crn: string | null;
|
|
3793
3801
|
govLink: string;
|
|
3794
3802
|
soleTrader: boolean;
|
|
3795
3803
|
director: string;
|
|
3796
|
-
createdAt: string | Date;
|
|
3797
|
-
updatedAt: string | Date;
|
|
3798
3804
|
blacklistReason?: string | null | undefined;
|
|
3799
3805
|
lastUpdatedBy?: {
|
|
3800
3806
|
id: string;
|
|
@@ -3806,12 +3812,6 @@ export declare const jobsContractRouter: {
|
|
|
3806
3812
|
agentId: string;
|
|
3807
3813
|
} | null | undefined;
|
|
3808
3814
|
} | null | undefined;
|
|
3809
|
-
company?: {
|
|
3810
|
-
id: string;
|
|
3811
|
-
name: string;
|
|
3812
|
-
createdAt: string | Date;
|
|
3813
|
-
updatedAt: string | Date;
|
|
3814
|
-
} | null | undefined;
|
|
3815
3815
|
user?: {
|
|
3816
3816
|
id: string;
|
|
3817
3817
|
firstName: string;
|
|
@@ -3823,12 +3823,12 @@ export declare const jobsContractRouter: {
|
|
|
3823
3823
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3824
3824
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3825
3825
|
}, "strip", z.ZodTypeAny, {
|
|
3826
|
-
|
|
3826
|
+
description: string;
|
|
3827
|
+
numberOfPositions: number;
|
|
3827
3828
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3828
3829
|
createdAt: string;
|
|
3829
3830
|
updatedAt: string;
|
|
3830
|
-
|
|
3831
|
-
numberOfPositions: number;
|
|
3831
|
+
id: string;
|
|
3832
3832
|
pay: {
|
|
3833
3833
|
rateUnit: "DAILY" | "HOURLY";
|
|
3834
3834
|
rate: number;
|
|
@@ -3852,21 +3852,27 @@ export declare const jobsContractRouter: {
|
|
|
3852
3852
|
areaCovered?: string | null | undefined;
|
|
3853
3853
|
} | null | undefined;
|
|
3854
3854
|
currentCollaboration?: {
|
|
3855
|
-
id: string;
|
|
3856
3855
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3857
3856
|
createdAt: string;
|
|
3858
3857
|
updatedAt: string;
|
|
3858
|
+
id: string;
|
|
3859
3859
|
userId: string;
|
|
3860
|
-
|
|
3860
|
+
company?: {
|
|
3861
|
+
createdAt: string;
|
|
3862
|
+
updatedAt: string;
|
|
3861
3863
|
id: string;
|
|
3864
|
+
name: string;
|
|
3865
|
+
} | null | undefined;
|
|
3866
|
+
client?: {
|
|
3862
3867
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3868
|
+
createdAt: string;
|
|
3869
|
+
updatedAt: string;
|
|
3870
|
+
id: string;
|
|
3863
3871
|
name: string;
|
|
3864
3872
|
crn: string | null;
|
|
3865
3873
|
govLink: string;
|
|
3866
3874
|
soleTrader: boolean;
|
|
3867
3875
|
director: string;
|
|
3868
|
-
createdAt: string;
|
|
3869
|
-
updatedAt: string;
|
|
3870
3876
|
blacklistReason?: string | null | undefined;
|
|
3871
3877
|
lastUpdatedBy?: {
|
|
3872
3878
|
id: string;
|
|
@@ -3878,12 +3884,6 @@ export declare const jobsContractRouter: {
|
|
|
3878
3884
|
agentId: string;
|
|
3879
3885
|
} | null | undefined;
|
|
3880
3886
|
} | null | undefined;
|
|
3881
|
-
company?: {
|
|
3882
|
-
id: string;
|
|
3883
|
-
name: string;
|
|
3884
|
-
createdAt: string;
|
|
3885
|
-
updatedAt: string;
|
|
3886
|
-
} | null | undefined;
|
|
3887
3887
|
user?: {
|
|
3888
3888
|
id: string;
|
|
3889
3889
|
firstName: string;
|
|
@@ -3891,21 +3891,27 @@ export declare const jobsContractRouter: {
|
|
|
3891
3891
|
email: string;
|
|
3892
3892
|
} | null | undefined;
|
|
3893
3893
|
newCollaboration?: {
|
|
3894
|
-
id: string;
|
|
3895
3894
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3896
3895
|
createdAt: string;
|
|
3897
3896
|
updatedAt: string;
|
|
3897
|
+
id: string;
|
|
3898
3898
|
userId: string;
|
|
3899
|
-
|
|
3899
|
+
company?: {
|
|
3900
|
+
createdAt: string;
|
|
3901
|
+
updatedAt: string;
|
|
3900
3902
|
id: string;
|
|
3903
|
+
name: string;
|
|
3904
|
+
} | null | undefined;
|
|
3905
|
+
client?: {
|
|
3901
3906
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3907
|
+
createdAt: string;
|
|
3908
|
+
updatedAt: string;
|
|
3909
|
+
id: string;
|
|
3902
3910
|
name: string;
|
|
3903
3911
|
crn: string | null;
|
|
3904
3912
|
govLink: string;
|
|
3905
3913
|
soleTrader: boolean;
|
|
3906
3914
|
director: string;
|
|
3907
|
-
createdAt: string;
|
|
3908
|
-
updatedAt: string;
|
|
3909
3915
|
blacklistReason?: string | null | undefined;
|
|
3910
3916
|
lastUpdatedBy?: {
|
|
3911
3917
|
id: string;
|
|
@@ -3917,12 +3923,6 @@ export declare const jobsContractRouter: {
|
|
|
3917
3923
|
agentId: string;
|
|
3918
3924
|
} | null | undefined;
|
|
3919
3925
|
} | null | undefined;
|
|
3920
|
-
company?: {
|
|
3921
|
-
id: string;
|
|
3922
|
-
name: string;
|
|
3923
|
-
createdAt: string;
|
|
3924
|
-
updatedAt: string;
|
|
3925
|
-
} | null | undefined;
|
|
3926
3926
|
user?: {
|
|
3927
3927
|
id: string;
|
|
3928
3928
|
firstName: string;
|
|
@@ -3932,12 +3932,12 @@ export declare const jobsContractRouter: {
|
|
|
3932
3932
|
} | null | undefined;
|
|
3933
3933
|
} | null | undefined;
|
|
3934
3934
|
}, {
|
|
3935
|
-
|
|
3935
|
+
description: string;
|
|
3936
|
+
numberOfPositions: number;
|
|
3936
3937
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3937
3938
|
createdAt: string | Date;
|
|
3938
3939
|
updatedAt: string | Date;
|
|
3939
|
-
|
|
3940
|
-
numberOfPositions: number;
|
|
3940
|
+
id: string;
|
|
3941
3941
|
pay: {
|
|
3942
3942
|
rateUnit: "DAILY" | "HOURLY";
|
|
3943
3943
|
rate: number;
|
|
@@ -3961,21 +3961,27 @@ export declare const jobsContractRouter: {
|
|
|
3961
3961
|
qualificationTypeId?: string | null | undefined;
|
|
3962
3962
|
}[] | undefined;
|
|
3963
3963
|
currentCollaboration?: {
|
|
3964
|
-
id: string;
|
|
3965
3964
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3966
3965
|
createdAt: string | Date;
|
|
3967
3966
|
updatedAt: string | Date;
|
|
3967
|
+
id: string;
|
|
3968
3968
|
userId: string;
|
|
3969
|
-
|
|
3969
|
+
company?: {
|
|
3970
|
+
createdAt: string | Date;
|
|
3971
|
+
updatedAt: string | Date;
|
|
3970
3972
|
id: string;
|
|
3973
|
+
name: string;
|
|
3974
|
+
} | null | undefined;
|
|
3975
|
+
client?: {
|
|
3971
3976
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3977
|
+
createdAt: string | Date;
|
|
3978
|
+
updatedAt: string | Date;
|
|
3979
|
+
id: string;
|
|
3972
3980
|
name: string;
|
|
3973
3981
|
crn: string | null;
|
|
3974
3982
|
govLink: string;
|
|
3975
3983
|
soleTrader: boolean;
|
|
3976
3984
|
director: string;
|
|
3977
|
-
createdAt: string | Date;
|
|
3978
|
-
updatedAt: string | Date;
|
|
3979
3985
|
blacklistReason?: string | null | undefined;
|
|
3980
3986
|
lastUpdatedBy?: {
|
|
3981
3987
|
id: string;
|
|
@@ -3987,12 +3993,6 @@ export declare const jobsContractRouter: {
|
|
|
3987
3993
|
agentId: string;
|
|
3988
3994
|
} | null | undefined;
|
|
3989
3995
|
} | null | undefined;
|
|
3990
|
-
company?: {
|
|
3991
|
-
id: string;
|
|
3992
|
-
name: string;
|
|
3993
|
-
createdAt: string | Date;
|
|
3994
|
-
updatedAt: string | Date;
|
|
3995
|
-
} | null | undefined;
|
|
3996
3996
|
user?: {
|
|
3997
3997
|
id: string;
|
|
3998
3998
|
firstName: string;
|
|
@@ -4000,21 +4000,27 @@ export declare const jobsContractRouter: {
|
|
|
4000
4000
|
email: string;
|
|
4001
4001
|
} | null | undefined;
|
|
4002
4002
|
newCollaboration?: {
|
|
4003
|
-
id: string;
|
|
4004
4003
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4005
4004
|
createdAt: string | Date;
|
|
4006
4005
|
updatedAt: string | Date;
|
|
4006
|
+
id: string;
|
|
4007
4007
|
userId: string;
|
|
4008
|
-
|
|
4008
|
+
company?: {
|
|
4009
|
+
createdAt: string | Date;
|
|
4010
|
+
updatedAt: string | Date;
|
|
4009
4011
|
id: string;
|
|
4012
|
+
name: string;
|
|
4013
|
+
} | null | undefined;
|
|
4014
|
+
client?: {
|
|
4010
4015
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4016
|
+
createdAt: string | Date;
|
|
4017
|
+
updatedAt: string | Date;
|
|
4018
|
+
id: string;
|
|
4011
4019
|
name: string;
|
|
4012
4020
|
crn: string | null;
|
|
4013
4021
|
govLink: string;
|
|
4014
4022
|
soleTrader: boolean;
|
|
4015
4023
|
director: string;
|
|
4016
|
-
createdAt: string | Date;
|
|
4017
|
-
updatedAt: string | Date;
|
|
4018
4024
|
blacklistReason?: string | null | undefined;
|
|
4019
4025
|
lastUpdatedBy?: {
|
|
4020
4026
|
id: string;
|
|
@@ -4026,12 +4032,6 @@ export declare const jobsContractRouter: {
|
|
|
4026
4032
|
agentId: string;
|
|
4027
4033
|
} | null | undefined;
|
|
4028
4034
|
} | null | undefined;
|
|
4029
|
-
company?: {
|
|
4030
|
-
id: string;
|
|
4031
|
-
name: string;
|
|
4032
|
-
createdAt: string | Date;
|
|
4033
|
-
updatedAt: string | Date;
|
|
4034
|
-
} | null | undefined;
|
|
4035
4035
|
user?: {
|
|
4036
4036
|
id: string;
|
|
4037
4037
|
firstName: string;
|
|
@@ -4049,12 +4049,12 @@ export declare const jobsContractRouter: {
|
|
|
4049
4049
|
}, "strip", z.ZodTypeAny, {
|
|
4050
4050
|
limit: number;
|
|
4051
4051
|
items: {
|
|
4052
|
-
|
|
4052
|
+
description: string;
|
|
4053
|
+
numberOfPositions: number;
|
|
4053
4054
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4054
4055
|
createdAt: string;
|
|
4055
4056
|
updatedAt: string;
|
|
4056
|
-
|
|
4057
|
-
numberOfPositions: number;
|
|
4057
|
+
id: string;
|
|
4058
4058
|
pay: {
|
|
4059
4059
|
rateUnit: "DAILY" | "HOURLY";
|
|
4060
4060
|
rate: number;
|
|
@@ -4078,21 +4078,27 @@ export declare const jobsContractRouter: {
|
|
|
4078
4078
|
areaCovered?: string | null | undefined;
|
|
4079
4079
|
} | null | undefined;
|
|
4080
4080
|
currentCollaboration?: {
|
|
4081
|
-
id: string;
|
|
4082
4081
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4083
4082
|
createdAt: string;
|
|
4084
4083
|
updatedAt: string;
|
|
4084
|
+
id: string;
|
|
4085
4085
|
userId: string;
|
|
4086
|
-
|
|
4086
|
+
company?: {
|
|
4087
|
+
createdAt: string;
|
|
4088
|
+
updatedAt: string;
|
|
4087
4089
|
id: string;
|
|
4090
|
+
name: string;
|
|
4091
|
+
} | null | undefined;
|
|
4092
|
+
client?: {
|
|
4088
4093
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4094
|
+
createdAt: string;
|
|
4095
|
+
updatedAt: string;
|
|
4096
|
+
id: string;
|
|
4089
4097
|
name: string;
|
|
4090
4098
|
crn: string | null;
|
|
4091
4099
|
govLink: string;
|
|
4092
4100
|
soleTrader: boolean;
|
|
4093
4101
|
director: string;
|
|
4094
|
-
createdAt: string;
|
|
4095
|
-
updatedAt: string;
|
|
4096
4102
|
blacklistReason?: string | null | undefined;
|
|
4097
4103
|
lastUpdatedBy?: {
|
|
4098
4104
|
id: string;
|
|
@@ -4104,12 +4110,6 @@ export declare const jobsContractRouter: {
|
|
|
4104
4110
|
agentId: string;
|
|
4105
4111
|
} | null | undefined;
|
|
4106
4112
|
} | null | undefined;
|
|
4107
|
-
company?: {
|
|
4108
|
-
id: string;
|
|
4109
|
-
name: string;
|
|
4110
|
-
createdAt: string;
|
|
4111
|
-
updatedAt: string;
|
|
4112
|
-
} | null | undefined;
|
|
4113
4113
|
user?: {
|
|
4114
4114
|
id: string;
|
|
4115
4115
|
firstName: string;
|
|
@@ -4117,21 +4117,27 @@ export declare const jobsContractRouter: {
|
|
|
4117
4117
|
email: string;
|
|
4118
4118
|
} | null | undefined;
|
|
4119
4119
|
newCollaboration?: {
|
|
4120
|
-
id: string;
|
|
4121
4120
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4122
4121
|
createdAt: string;
|
|
4123
4122
|
updatedAt: string;
|
|
4123
|
+
id: string;
|
|
4124
4124
|
userId: string;
|
|
4125
|
-
|
|
4125
|
+
company?: {
|
|
4126
|
+
createdAt: string;
|
|
4127
|
+
updatedAt: string;
|
|
4126
4128
|
id: string;
|
|
4129
|
+
name: string;
|
|
4130
|
+
} | null | undefined;
|
|
4131
|
+
client?: {
|
|
4127
4132
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4133
|
+
createdAt: string;
|
|
4134
|
+
updatedAt: string;
|
|
4135
|
+
id: string;
|
|
4128
4136
|
name: string;
|
|
4129
4137
|
crn: string | null;
|
|
4130
4138
|
govLink: string;
|
|
4131
4139
|
soleTrader: boolean;
|
|
4132
4140
|
director: string;
|
|
4133
|
-
createdAt: string;
|
|
4134
|
-
updatedAt: string;
|
|
4135
4141
|
blacklistReason?: string | null | undefined;
|
|
4136
4142
|
lastUpdatedBy?: {
|
|
4137
4143
|
id: string;
|
|
@@ -4143,12 +4149,6 @@ export declare const jobsContractRouter: {
|
|
|
4143
4149
|
agentId: string;
|
|
4144
4150
|
} | null | undefined;
|
|
4145
4151
|
} | null | undefined;
|
|
4146
|
-
company?: {
|
|
4147
|
-
id: string;
|
|
4148
|
-
name: string;
|
|
4149
|
-
createdAt: string;
|
|
4150
|
-
updatedAt: string;
|
|
4151
|
-
} | null | undefined;
|
|
4152
4152
|
user?: {
|
|
4153
4153
|
id: string;
|
|
4154
4154
|
firstName: string;
|
|
@@ -4165,12 +4165,12 @@ export declare const jobsContractRouter: {
|
|
|
4165
4165
|
}, {
|
|
4166
4166
|
limit: number;
|
|
4167
4167
|
items: {
|
|
4168
|
-
|
|
4168
|
+
description: string;
|
|
4169
|
+
numberOfPositions: number;
|
|
4169
4170
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4170
4171
|
createdAt: string | Date;
|
|
4171
4172
|
updatedAt: string | Date;
|
|
4172
|
-
|
|
4173
|
-
numberOfPositions: number;
|
|
4173
|
+
id: string;
|
|
4174
4174
|
pay: {
|
|
4175
4175
|
rateUnit: "DAILY" | "HOURLY";
|
|
4176
4176
|
rate: number;
|
|
@@ -4194,21 +4194,27 @@ export declare const jobsContractRouter: {
|
|
|
4194
4194
|
qualificationTypeId?: string | null | undefined;
|
|
4195
4195
|
}[] | undefined;
|
|
4196
4196
|
currentCollaboration?: {
|
|
4197
|
-
id: string;
|
|
4198
4197
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4199
4198
|
createdAt: string | Date;
|
|
4200
4199
|
updatedAt: string | Date;
|
|
4200
|
+
id: string;
|
|
4201
4201
|
userId: string;
|
|
4202
|
-
|
|
4202
|
+
company?: {
|
|
4203
|
+
createdAt: string | Date;
|
|
4204
|
+
updatedAt: string | Date;
|
|
4203
4205
|
id: string;
|
|
4206
|
+
name: string;
|
|
4207
|
+
} | null | undefined;
|
|
4208
|
+
client?: {
|
|
4204
4209
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4210
|
+
createdAt: string | Date;
|
|
4211
|
+
updatedAt: string | Date;
|
|
4212
|
+
id: string;
|
|
4205
4213
|
name: string;
|
|
4206
4214
|
crn: string | null;
|
|
4207
4215
|
govLink: string;
|
|
4208
4216
|
soleTrader: boolean;
|
|
4209
4217
|
director: string;
|
|
4210
|
-
createdAt: string | Date;
|
|
4211
|
-
updatedAt: string | Date;
|
|
4212
4218
|
blacklistReason?: string | null | undefined;
|
|
4213
4219
|
lastUpdatedBy?: {
|
|
4214
4220
|
id: string;
|
|
@@ -4220,12 +4226,6 @@ export declare const jobsContractRouter: {
|
|
|
4220
4226
|
agentId: string;
|
|
4221
4227
|
} | null | undefined;
|
|
4222
4228
|
} | null | undefined;
|
|
4223
|
-
company?: {
|
|
4224
|
-
id: string;
|
|
4225
|
-
name: string;
|
|
4226
|
-
createdAt: string | Date;
|
|
4227
|
-
updatedAt: string | Date;
|
|
4228
|
-
} | null | undefined;
|
|
4229
4229
|
user?: {
|
|
4230
4230
|
id: string;
|
|
4231
4231
|
firstName: string;
|
|
@@ -4233,37 +4233,37 @@ export declare const jobsContractRouter: {
|
|
|
4233
4233
|
email: string;
|
|
4234
4234
|
} | null | undefined;
|
|
4235
4235
|
newCollaboration?: {
|
|
4236
|
-
id: string;
|
|
4237
4236
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4238
4237
|
createdAt: string | Date;
|
|
4239
4238
|
updatedAt: string | Date;
|
|
4239
|
+
id: string;
|
|
4240
4240
|
userId: string;
|
|
4241
|
-
|
|
4241
|
+
company?: {
|
|
4242
|
+
createdAt: string | Date;
|
|
4243
|
+
updatedAt: string | Date;
|
|
4242
4244
|
id: string;
|
|
4245
|
+
name: string;
|
|
4246
|
+
} | null | undefined;
|
|
4247
|
+
client?: {
|
|
4243
4248
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4249
|
+
createdAt: string | Date;
|
|
4250
|
+
updatedAt: string | Date;
|
|
4251
|
+
id: string;
|
|
4244
4252
|
name: string;
|
|
4245
4253
|
crn: string | null;
|
|
4246
4254
|
govLink: string;
|
|
4247
4255
|
soleTrader: boolean;
|
|
4248
4256
|
director: string;
|
|
4249
|
-
createdAt: string | Date;
|
|
4250
|
-
updatedAt: string | Date;
|
|
4251
4257
|
blacklistReason?: string | null | undefined;
|
|
4252
4258
|
lastUpdatedBy?: {
|
|
4253
4259
|
id: string;
|
|
4254
4260
|
firstName: string;
|
|
4255
4261
|
lastName: string;
|
|
4256
4262
|
email: string;
|
|
4257
|
-
} | null | undefined;
|
|
4258
|
-
agentClientLinks?: {
|
|
4259
|
-
agentId: string;
|
|
4260
|
-
} | null | undefined;
|
|
4261
|
-
} | null | undefined;
|
|
4262
|
-
company?: {
|
|
4263
|
-
id: string;
|
|
4264
|
-
name: string;
|
|
4265
|
-
createdAt: string | Date;
|
|
4266
|
-
updatedAt: string | Date;
|
|
4263
|
+
} | null | undefined;
|
|
4264
|
+
agentClientLinks?: {
|
|
4265
|
+
agentId: string;
|
|
4266
|
+
} | null | undefined;
|
|
4267
4267
|
} | null | undefined;
|
|
4268
4268
|
user?: {
|
|
4269
4269
|
id: string;
|
|
@@ -4468,15 +4468,15 @@ export declare const jobsContractRouter: {
|
|
|
4468
4468
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4469
4469
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4470
4470
|
}, "strip", z.ZodTypeAny, {
|
|
4471
|
-
id: string;
|
|
4472
|
-
name: string;
|
|
4473
4471
|
createdAt: string;
|
|
4474
4472
|
updatedAt: string;
|
|
4475
|
-
}, {
|
|
4476
4473
|
id: string;
|
|
4477
4474
|
name: string;
|
|
4475
|
+
}, {
|
|
4478
4476
|
createdAt: string | Date;
|
|
4479
4477
|
updatedAt: string | Date;
|
|
4478
|
+
id: string;
|
|
4479
|
+
name: string;
|
|
4480
4480
|
}>>>;
|
|
4481
4481
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4482
4482
|
id: z.ZodString;
|
|
@@ -4513,15 +4513,15 @@ export declare const jobsContractRouter: {
|
|
|
4513
4513
|
agentId: string;
|
|
4514
4514
|
}>>>;
|
|
4515
4515
|
}, "strip", z.ZodTypeAny, {
|
|
4516
|
-
id: string;
|
|
4517
4516
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4517
|
+
createdAt: string;
|
|
4518
|
+
updatedAt: string;
|
|
4519
|
+
id: string;
|
|
4518
4520
|
name: string;
|
|
4519
4521
|
crn: string | null;
|
|
4520
4522
|
govLink: string;
|
|
4521
4523
|
soleTrader: boolean;
|
|
4522
4524
|
director: string;
|
|
4523
|
-
createdAt: string;
|
|
4524
|
-
updatedAt: string;
|
|
4525
4525
|
blacklistReason?: string | null | undefined;
|
|
4526
4526
|
lastUpdatedBy?: {
|
|
4527
4527
|
id: string;
|
|
@@ -4533,15 +4533,15 @@ export declare const jobsContractRouter: {
|
|
|
4533
4533
|
agentId: string;
|
|
4534
4534
|
} | null | undefined;
|
|
4535
4535
|
}, {
|
|
4536
|
-
id: string;
|
|
4537
4536
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4537
|
+
createdAt: string | Date;
|
|
4538
|
+
updatedAt: string | Date;
|
|
4539
|
+
id: string;
|
|
4538
4540
|
name: string;
|
|
4539
4541
|
crn: string | null;
|
|
4540
4542
|
govLink: string;
|
|
4541
4543
|
soleTrader: boolean;
|
|
4542
4544
|
director: string;
|
|
4543
|
-
createdAt: string | Date;
|
|
4544
|
-
updatedAt: string | Date;
|
|
4545
4545
|
blacklistReason?: string | null | undefined;
|
|
4546
4546
|
lastUpdatedBy?: {
|
|
4547
4547
|
id: string;
|
|
@@ -4582,15 +4582,15 @@ export declare const jobsContractRouter: {
|
|
|
4582
4582
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4583
4583
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4584
4584
|
}, "strip", z.ZodTypeAny, {
|
|
4585
|
-
id: string;
|
|
4586
|
-
name: string;
|
|
4587
4585
|
createdAt: string;
|
|
4588
4586
|
updatedAt: string;
|
|
4589
|
-
}, {
|
|
4590
4587
|
id: string;
|
|
4591
4588
|
name: string;
|
|
4589
|
+
}, {
|
|
4592
4590
|
createdAt: string | Date;
|
|
4593
4591
|
updatedAt: string | Date;
|
|
4592
|
+
id: string;
|
|
4593
|
+
name: string;
|
|
4594
4594
|
}>>>;
|
|
4595
4595
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4596
4596
|
id: z.ZodString;
|
|
@@ -4627,15 +4627,15 @@ export declare const jobsContractRouter: {
|
|
|
4627
4627
|
agentId: string;
|
|
4628
4628
|
}>>>;
|
|
4629
4629
|
}, "strip", z.ZodTypeAny, {
|
|
4630
|
-
id: string;
|
|
4631
4630
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4631
|
+
createdAt: string;
|
|
4632
|
+
updatedAt: string;
|
|
4633
|
+
id: string;
|
|
4632
4634
|
name: string;
|
|
4633
4635
|
crn: string | null;
|
|
4634
4636
|
govLink: string;
|
|
4635
4637
|
soleTrader: boolean;
|
|
4636
4638
|
director: string;
|
|
4637
|
-
createdAt: string;
|
|
4638
|
-
updatedAt: string;
|
|
4639
4639
|
blacklistReason?: string | null | undefined;
|
|
4640
4640
|
lastUpdatedBy?: {
|
|
4641
4641
|
id: string;
|
|
@@ -4647,15 +4647,15 @@ export declare const jobsContractRouter: {
|
|
|
4647
4647
|
agentId: string;
|
|
4648
4648
|
} | null | undefined;
|
|
4649
4649
|
}, {
|
|
4650
|
-
id: string;
|
|
4651
4650
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4651
|
+
createdAt: string | Date;
|
|
4652
|
+
updatedAt: string | Date;
|
|
4653
|
+
id: string;
|
|
4652
4654
|
name: string;
|
|
4653
4655
|
crn: string | null;
|
|
4654
4656
|
govLink: string;
|
|
4655
4657
|
soleTrader: boolean;
|
|
4656
4658
|
director: string;
|
|
4657
|
-
createdAt: string | Date;
|
|
4658
|
-
updatedAt: string | Date;
|
|
4659
4659
|
blacklistReason?: string | null | undefined;
|
|
4660
4660
|
lastUpdatedBy?: {
|
|
4661
4661
|
id: string;
|
|
@@ -4688,21 +4688,27 @@ export declare const jobsContractRouter: {
|
|
|
4688
4688
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4689
4689
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4690
4690
|
}, "strip", z.ZodTypeAny, {
|
|
4691
|
-
id: string;
|
|
4692
4691
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4693
4692
|
createdAt: string;
|
|
4694
4693
|
updatedAt: string;
|
|
4694
|
+
id: string;
|
|
4695
4695
|
userId: string;
|
|
4696
|
-
|
|
4696
|
+
company?: {
|
|
4697
|
+
createdAt: string;
|
|
4698
|
+
updatedAt: string;
|
|
4697
4699
|
id: string;
|
|
4700
|
+
name: string;
|
|
4701
|
+
} | null | undefined;
|
|
4702
|
+
client?: {
|
|
4698
4703
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4704
|
+
createdAt: string;
|
|
4705
|
+
updatedAt: string;
|
|
4706
|
+
id: string;
|
|
4699
4707
|
name: string;
|
|
4700
4708
|
crn: string | null;
|
|
4701
4709
|
govLink: string;
|
|
4702
4710
|
soleTrader: boolean;
|
|
4703
4711
|
director: string;
|
|
4704
|
-
createdAt: string;
|
|
4705
|
-
updatedAt: string;
|
|
4706
4712
|
blacklistReason?: string | null | undefined;
|
|
4707
4713
|
lastUpdatedBy?: {
|
|
4708
4714
|
id: string;
|
|
@@ -4714,12 +4720,6 @@ export declare const jobsContractRouter: {
|
|
|
4714
4720
|
agentId: string;
|
|
4715
4721
|
} | null | undefined;
|
|
4716
4722
|
} | null | undefined;
|
|
4717
|
-
company?: {
|
|
4718
|
-
id: string;
|
|
4719
|
-
name: string;
|
|
4720
|
-
createdAt: string;
|
|
4721
|
-
updatedAt: string;
|
|
4722
|
-
} | null | undefined;
|
|
4723
4723
|
user?: {
|
|
4724
4724
|
id: string;
|
|
4725
4725
|
firstName: string;
|
|
@@ -4727,21 +4727,27 @@ export declare const jobsContractRouter: {
|
|
|
4727
4727
|
email: string;
|
|
4728
4728
|
} | null | undefined;
|
|
4729
4729
|
}, {
|
|
4730
|
-
id: string;
|
|
4731
4730
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4732
4731
|
createdAt: string | Date;
|
|
4733
4732
|
updatedAt: string | Date;
|
|
4733
|
+
id: string;
|
|
4734
4734
|
userId: string;
|
|
4735
|
-
|
|
4735
|
+
company?: {
|
|
4736
|
+
createdAt: string | Date;
|
|
4737
|
+
updatedAt: string | Date;
|
|
4736
4738
|
id: string;
|
|
4739
|
+
name: string;
|
|
4740
|
+
} | null | undefined;
|
|
4741
|
+
client?: {
|
|
4737
4742
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4743
|
+
createdAt: string | Date;
|
|
4744
|
+
updatedAt: string | Date;
|
|
4745
|
+
id: string;
|
|
4738
4746
|
name: string;
|
|
4739
4747
|
crn: string | null;
|
|
4740
4748
|
govLink: string;
|
|
4741
4749
|
soleTrader: boolean;
|
|
4742
4750
|
director: string;
|
|
4743
|
-
createdAt: string | Date;
|
|
4744
|
-
updatedAt: string | Date;
|
|
4745
4751
|
blacklistReason?: string | null | undefined;
|
|
4746
4752
|
lastUpdatedBy?: {
|
|
4747
4753
|
id: string;
|
|
@@ -4753,12 +4759,6 @@ export declare const jobsContractRouter: {
|
|
|
4753
4759
|
agentId: string;
|
|
4754
4760
|
} | null | undefined;
|
|
4755
4761
|
} | null | undefined;
|
|
4756
|
-
company?: {
|
|
4757
|
-
id: string;
|
|
4758
|
-
name: string;
|
|
4759
|
-
createdAt: string | Date;
|
|
4760
|
-
updatedAt: string | Date;
|
|
4761
|
-
} | null | undefined;
|
|
4762
4762
|
user?: {
|
|
4763
4763
|
id: string;
|
|
4764
4764
|
firstName: string;
|
|
@@ -4767,21 +4767,27 @@ export declare const jobsContractRouter: {
|
|
|
4767
4767
|
} | null | undefined;
|
|
4768
4768
|
}>>>;
|
|
4769
4769
|
}, "strip", z.ZodTypeAny, {
|
|
4770
|
-
id: string;
|
|
4771
4770
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4772
4771
|
createdAt: string;
|
|
4773
4772
|
updatedAt: string;
|
|
4773
|
+
id: string;
|
|
4774
4774
|
userId: string;
|
|
4775
|
-
|
|
4775
|
+
company?: {
|
|
4776
|
+
createdAt: string;
|
|
4777
|
+
updatedAt: string;
|
|
4776
4778
|
id: string;
|
|
4779
|
+
name: string;
|
|
4780
|
+
} | null | undefined;
|
|
4781
|
+
client?: {
|
|
4777
4782
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4783
|
+
createdAt: string;
|
|
4784
|
+
updatedAt: string;
|
|
4785
|
+
id: string;
|
|
4778
4786
|
name: string;
|
|
4779
4787
|
crn: string | null;
|
|
4780
4788
|
govLink: string;
|
|
4781
4789
|
soleTrader: boolean;
|
|
4782
4790
|
director: string;
|
|
4783
|
-
createdAt: string;
|
|
4784
|
-
updatedAt: string;
|
|
4785
4791
|
blacklistReason?: string | null | undefined;
|
|
4786
4792
|
lastUpdatedBy?: {
|
|
4787
4793
|
id: string;
|
|
@@ -4793,12 +4799,6 @@ export declare const jobsContractRouter: {
|
|
|
4793
4799
|
agentId: string;
|
|
4794
4800
|
} | null | undefined;
|
|
4795
4801
|
} | null | undefined;
|
|
4796
|
-
company?: {
|
|
4797
|
-
id: string;
|
|
4798
|
-
name: string;
|
|
4799
|
-
createdAt: string;
|
|
4800
|
-
updatedAt: string;
|
|
4801
|
-
} | null | undefined;
|
|
4802
4802
|
user?: {
|
|
4803
4803
|
id: string;
|
|
4804
4804
|
firstName: string;
|
|
@@ -4806,21 +4806,27 @@ export declare const jobsContractRouter: {
|
|
|
4806
4806
|
email: string;
|
|
4807
4807
|
} | null | undefined;
|
|
4808
4808
|
newCollaboration?: {
|
|
4809
|
-
id: string;
|
|
4810
4809
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4811
4810
|
createdAt: string;
|
|
4812
4811
|
updatedAt: string;
|
|
4812
|
+
id: string;
|
|
4813
4813
|
userId: string;
|
|
4814
|
-
|
|
4814
|
+
company?: {
|
|
4815
|
+
createdAt: string;
|
|
4816
|
+
updatedAt: string;
|
|
4815
4817
|
id: string;
|
|
4818
|
+
name: string;
|
|
4819
|
+
} | null | undefined;
|
|
4820
|
+
client?: {
|
|
4816
4821
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4822
|
+
createdAt: string;
|
|
4823
|
+
updatedAt: string;
|
|
4824
|
+
id: string;
|
|
4817
4825
|
name: string;
|
|
4818
4826
|
crn: string | null;
|
|
4819
4827
|
govLink: string;
|
|
4820
4828
|
soleTrader: boolean;
|
|
4821
4829
|
director: string;
|
|
4822
|
-
createdAt: string;
|
|
4823
|
-
updatedAt: string;
|
|
4824
4830
|
blacklistReason?: string | null | undefined;
|
|
4825
4831
|
lastUpdatedBy?: {
|
|
4826
4832
|
id: string;
|
|
@@ -4832,12 +4838,6 @@ export declare const jobsContractRouter: {
|
|
|
4832
4838
|
agentId: string;
|
|
4833
4839
|
} | null | undefined;
|
|
4834
4840
|
} | null | undefined;
|
|
4835
|
-
company?: {
|
|
4836
|
-
id: string;
|
|
4837
|
-
name: string;
|
|
4838
|
-
createdAt: string;
|
|
4839
|
-
updatedAt: string;
|
|
4840
|
-
} | null | undefined;
|
|
4841
4841
|
user?: {
|
|
4842
4842
|
id: string;
|
|
4843
4843
|
firstName: string;
|
|
@@ -4846,21 +4846,27 @@ export declare const jobsContractRouter: {
|
|
|
4846
4846
|
} | null | undefined;
|
|
4847
4847
|
} | null | undefined;
|
|
4848
4848
|
}, {
|
|
4849
|
-
id: string;
|
|
4850
4849
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4851
4850
|
createdAt: string | Date;
|
|
4852
4851
|
updatedAt: string | Date;
|
|
4852
|
+
id: string;
|
|
4853
4853
|
userId: string;
|
|
4854
|
-
|
|
4854
|
+
company?: {
|
|
4855
|
+
createdAt: string | Date;
|
|
4856
|
+
updatedAt: string | Date;
|
|
4855
4857
|
id: string;
|
|
4858
|
+
name: string;
|
|
4859
|
+
} | null | undefined;
|
|
4860
|
+
client?: {
|
|
4856
4861
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4862
|
+
createdAt: string | Date;
|
|
4863
|
+
updatedAt: string | Date;
|
|
4864
|
+
id: string;
|
|
4857
4865
|
name: string;
|
|
4858
4866
|
crn: string | null;
|
|
4859
4867
|
govLink: string;
|
|
4860
4868
|
soleTrader: boolean;
|
|
4861
4869
|
director: string;
|
|
4862
|
-
createdAt: string | Date;
|
|
4863
|
-
updatedAt: string | Date;
|
|
4864
4870
|
blacklistReason?: string | null | undefined;
|
|
4865
4871
|
lastUpdatedBy?: {
|
|
4866
4872
|
id: string;
|
|
@@ -4872,12 +4878,6 @@ export declare const jobsContractRouter: {
|
|
|
4872
4878
|
agentId: string;
|
|
4873
4879
|
} | null | undefined;
|
|
4874
4880
|
} | null | undefined;
|
|
4875
|
-
company?: {
|
|
4876
|
-
id: string;
|
|
4877
|
-
name: string;
|
|
4878
|
-
createdAt: string | Date;
|
|
4879
|
-
updatedAt: string | Date;
|
|
4880
|
-
} | null | undefined;
|
|
4881
4881
|
user?: {
|
|
4882
4882
|
id: string;
|
|
4883
4883
|
firstName: string;
|
|
@@ -4885,21 +4885,27 @@ export declare const jobsContractRouter: {
|
|
|
4885
4885
|
email: string;
|
|
4886
4886
|
} | null | undefined;
|
|
4887
4887
|
newCollaboration?: {
|
|
4888
|
-
id: string;
|
|
4889
4888
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4890
4889
|
createdAt: string | Date;
|
|
4891
4890
|
updatedAt: string | Date;
|
|
4891
|
+
id: string;
|
|
4892
4892
|
userId: string;
|
|
4893
|
-
|
|
4893
|
+
company?: {
|
|
4894
|
+
createdAt: string | Date;
|
|
4895
|
+
updatedAt: string | Date;
|
|
4894
4896
|
id: string;
|
|
4897
|
+
name: string;
|
|
4898
|
+
} | null | undefined;
|
|
4899
|
+
client?: {
|
|
4895
4900
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4901
|
+
createdAt: string | Date;
|
|
4902
|
+
updatedAt: string | Date;
|
|
4903
|
+
id: string;
|
|
4896
4904
|
name: string;
|
|
4897
4905
|
crn: string | null;
|
|
4898
4906
|
govLink: string;
|
|
4899
4907
|
soleTrader: boolean;
|
|
4900
4908
|
director: string;
|
|
4901
|
-
createdAt: string | Date;
|
|
4902
|
-
updatedAt: string | Date;
|
|
4903
4909
|
blacklistReason?: string | null | undefined;
|
|
4904
4910
|
lastUpdatedBy?: {
|
|
4905
4911
|
id: string;
|
|
@@ -4911,12 +4917,6 @@ export declare const jobsContractRouter: {
|
|
|
4911
4917
|
agentId: string;
|
|
4912
4918
|
} | null | undefined;
|
|
4913
4919
|
} | null | undefined;
|
|
4914
|
-
company?: {
|
|
4915
|
-
id: string;
|
|
4916
|
-
name: string;
|
|
4917
|
-
createdAt: string | Date;
|
|
4918
|
-
updatedAt: string | Date;
|
|
4919
|
-
} | null | undefined;
|
|
4920
4920
|
user?: {
|
|
4921
4921
|
id: string;
|
|
4922
4922
|
firstName: string;
|
|
@@ -4928,12 +4928,12 @@ export declare const jobsContractRouter: {
|
|
|
4928
4928
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4929
4929
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4930
4930
|
}, "strip", z.ZodTypeAny, {
|
|
4931
|
-
|
|
4931
|
+
description: string;
|
|
4932
|
+
numberOfPositions: number;
|
|
4932
4933
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4933
4934
|
createdAt: string;
|
|
4934
4935
|
updatedAt: string;
|
|
4935
|
-
|
|
4936
|
-
numberOfPositions: number;
|
|
4936
|
+
id: string;
|
|
4937
4937
|
pay: {
|
|
4938
4938
|
rateUnit: "DAILY" | "HOURLY";
|
|
4939
4939
|
rate: number;
|
|
@@ -4957,21 +4957,27 @@ export declare const jobsContractRouter: {
|
|
|
4957
4957
|
areaCovered?: string | null | undefined;
|
|
4958
4958
|
} | null | undefined;
|
|
4959
4959
|
currentCollaboration?: {
|
|
4960
|
-
id: string;
|
|
4961
4960
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4962
4961
|
createdAt: string;
|
|
4963
4962
|
updatedAt: string;
|
|
4963
|
+
id: string;
|
|
4964
4964
|
userId: string;
|
|
4965
|
-
|
|
4965
|
+
company?: {
|
|
4966
|
+
createdAt: string;
|
|
4967
|
+
updatedAt: string;
|
|
4966
4968
|
id: string;
|
|
4969
|
+
name: string;
|
|
4970
|
+
} | null | undefined;
|
|
4971
|
+
client?: {
|
|
4967
4972
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4973
|
+
createdAt: string;
|
|
4974
|
+
updatedAt: string;
|
|
4975
|
+
id: string;
|
|
4968
4976
|
name: string;
|
|
4969
4977
|
crn: string | null;
|
|
4970
4978
|
govLink: string;
|
|
4971
4979
|
soleTrader: boolean;
|
|
4972
4980
|
director: string;
|
|
4973
|
-
createdAt: string;
|
|
4974
|
-
updatedAt: string;
|
|
4975
4981
|
blacklistReason?: string | null | undefined;
|
|
4976
4982
|
lastUpdatedBy?: {
|
|
4977
4983
|
id: string;
|
|
@@ -4983,12 +4989,6 @@ export declare const jobsContractRouter: {
|
|
|
4983
4989
|
agentId: string;
|
|
4984
4990
|
} | null | undefined;
|
|
4985
4991
|
} | null | undefined;
|
|
4986
|
-
company?: {
|
|
4987
|
-
id: string;
|
|
4988
|
-
name: string;
|
|
4989
|
-
createdAt: string;
|
|
4990
|
-
updatedAt: string;
|
|
4991
|
-
} | null | undefined;
|
|
4992
4992
|
user?: {
|
|
4993
4993
|
id: string;
|
|
4994
4994
|
firstName: string;
|
|
@@ -4996,21 +4996,27 @@ export declare const jobsContractRouter: {
|
|
|
4996
4996
|
email: string;
|
|
4997
4997
|
} | null | undefined;
|
|
4998
4998
|
newCollaboration?: {
|
|
4999
|
-
id: string;
|
|
5000
4999
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5001
5000
|
createdAt: string;
|
|
5002
5001
|
updatedAt: string;
|
|
5002
|
+
id: string;
|
|
5003
5003
|
userId: string;
|
|
5004
|
-
|
|
5004
|
+
company?: {
|
|
5005
|
+
createdAt: string;
|
|
5006
|
+
updatedAt: string;
|
|
5005
5007
|
id: string;
|
|
5008
|
+
name: string;
|
|
5009
|
+
} | null | undefined;
|
|
5010
|
+
client?: {
|
|
5006
5011
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5012
|
+
createdAt: string;
|
|
5013
|
+
updatedAt: string;
|
|
5014
|
+
id: string;
|
|
5007
5015
|
name: string;
|
|
5008
5016
|
crn: string | null;
|
|
5009
5017
|
govLink: string;
|
|
5010
5018
|
soleTrader: boolean;
|
|
5011
5019
|
director: string;
|
|
5012
|
-
createdAt: string;
|
|
5013
|
-
updatedAt: string;
|
|
5014
5020
|
blacklistReason?: string | null | undefined;
|
|
5015
5021
|
lastUpdatedBy?: {
|
|
5016
5022
|
id: string;
|
|
@@ -5022,12 +5028,6 @@ export declare const jobsContractRouter: {
|
|
|
5022
5028
|
agentId: string;
|
|
5023
5029
|
} | null | undefined;
|
|
5024
5030
|
} | null | undefined;
|
|
5025
|
-
company?: {
|
|
5026
|
-
id: string;
|
|
5027
|
-
name: string;
|
|
5028
|
-
createdAt: string;
|
|
5029
|
-
updatedAt: string;
|
|
5030
|
-
} | null | undefined;
|
|
5031
5031
|
user?: {
|
|
5032
5032
|
id: string;
|
|
5033
5033
|
firstName: string;
|
|
@@ -5037,12 +5037,12 @@ export declare const jobsContractRouter: {
|
|
|
5037
5037
|
} | null | undefined;
|
|
5038
5038
|
} | null | undefined;
|
|
5039
5039
|
}, {
|
|
5040
|
-
|
|
5040
|
+
description: string;
|
|
5041
|
+
numberOfPositions: number;
|
|
5041
5042
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5042
5043
|
createdAt: string | Date;
|
|
5043
5044
|
updatedAt: string | Date;
|
|
5044
|
-
|
|
5045
|
-
numberOfPositions: number;
|
|
5045
|
+
id: string;
|
|
5046
5046
|
pay: {
|
|
5047
5047
|
rateUnit: "DAILY" | "HOURLY";
|
|
5048
5048
|
rate: number;
|
|
@@ -5066,21 +5066,27 @@ export declare const jobsContractRouter: {
|
|
|
5066
5066
|
qualificationTypeId?: string | null | undefined;
|
|
5067
5067
|
}[] | undefined;
|
|
5068
5068
|
currentCollaboration?: {
|
|
5069
|
-
id: string;
|
|
5070
5069
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5071
5070
|
createdAt: string | Date;
|
|
5072
5071
|
updatedAt: string | Date;
|
|
5072
|
+
id: string;
|
|
5073
5073
|
userId: string;
|
|
5074
|
-
|
|
5074
|
+
company?: {
|
|
5075
|
+
createdAt: string | Date;
|
|
5076
|
+
updatedAt: string | Date;
|
|
5075
5077
|
id: string;
|
|
5078
|
+
name: string;
|
|
5079
|
+
} | null | undefined;
|
|
5080
|
+
client?: {
|
|
5076
5081
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5082
|
+
createdAt: string | Date;
|
|
5083
|
+
updatedAt: string | Date;
|
|
5084
|
+
id: string;
|
|
5077
5085
|
name: string;
|
|
5078
5086
|
crn: string | null;
|
|
5079
5087
|
govLink: string;
|
|
5080
5088
|
soleTrader: boolean;
|
|
5081
5089
|
director: string;
|
|
5082
|
-
createdAt: string | Date;
|
|
5083
|
-
updatedAt: string | Date;
|
|
5084
5090
|
blacklistReason?: string | null | undefined;
|
|
5085
5091
|
lastUpdatedBy?: {
|
|
5086
5092
|
id: string;
|
|
@@ -5092,12 +5098,6 @@ export declare const jobsContractRouter: {
|
|
|
5092
5098
|
agentId: string;
|
|
5093
5099
|
} | null | undefined;
|
|
5094
5100
|
} | null | undefined;
|
|
5095
|
-
company?: {
|
|
5096
|
-
id: string;
|
|
5097
|
-
name: string;
|
|
5098
|
-
createdAt: string | Date;
|
|
5099
|
-
updatedAt: string | Date;
|
|
5100
|
-
} | null | undefined;
|
|
5101
5101
|
user?: {
|
|
5102
5102
|
id: string;
|
|
5103
5103
|
firstName: string;
|
|
@@ -5105,37 +5105,37 @@ export declare const jobsContractRouter: {
|
|
|
5105
5105
|
email: string;
|
|
5106
5106
|
} | null | undefined;
|
|
5107
5107
|
newCollaboration?: {
|
|
5108
|
-
id: string;
|
|
5109
5108
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5110
5109
|
createdAt: string | Date;
|
|
5111
5110
|
updatedAt: string | Date;
|
|
5111
|
+
id: string;
|
|
5112
5112
|
userId: string;
|
|
5113
|
-
|
|
5113
|
+
company?: {
|
|
5114
|
+
createdAt: string | Date;
|
|
5115
|
+
updatedAt: string | Date;
|
|
5114
5116
|
id: string;
|
|
5117
|
+
name: string;
|
|
5118
|
+
} | null | undefined;
|
|
5119
|
+
client?: {
|
|
5115
5120
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5121
|
+
createdAt: string | Date;
|
|
5122
|
+
updatedAt: string | Date;
|
|
5123
|
+
id: string;
|
|
5116
5124
|
name: string;
|
|
5117
5125
|
crn: string | null;
|
|
5118
5126
|
govLink: string;
|
|
5119
5127
|
soleTrader: boolean;
|
|
5120
5128
|
director: string;
|
|
5121
|
-
createdAt: string | Date;
|
|
5122
|
-
updatedAt: string | Date;
|
|
5123
5129
|
blacklistReason?: string | null | undefined;
|
|
5124
5130
|
lastUpdatedBy?: {
|
|
5125
5131
|
id: string;
|
|
5126
5132
|
firstName: string;
|
|
5127
5133
|
lastName: string;
|
|
5128
5134
|
email: string;
|
|
5129
|
-
} | null | undefined;
|
|
5130
|
-
agentClientLinks?: {
|
|
5131
|
-
agentId: string;
|
|
5132
|
-
} | null | undefined;
|
|
5133
|
-
} | null | undefined;
|
|
5134
|
-
company?: {
|
|
5135
|
-
id: string;
|
|
5136
|
-
name: string;
|
|
5137
|
-
createdAt: string | Date;
|
|
5138
|
-
updatedAt: string | Date;
|
|
5135
|
+
} | null | undefined;
|
|
5136
|
+
agentClientLinks?: {
|
|
5137
|
+
agentId: string;
|
|
5138
|
+
} | null | undefined;
|
|
5139
5139
|
} | null | undefined;
|
|
5140
5140
|
user?: {
|
|
5141
5141
|
id: string;
|
|
@@ -5239,9 +5239,9 @@ export declare const jobsContractRouter: {
|
|
|
5239
5239
|
}>, "many">>;
|
|
5240
5240
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
5241
5241
|
}, "strip", z.ZodTypeAny, {
|
|
5242
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
5243
5242
|
description?: string | undefined;
|
|
5244
5243
|
numberOfPositions?: number | undefined;
|
|
5244
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
5245
5245
|
workHours?: number | undefined;
|
|
5246
5246
|
pay?: {
|
|
5247
5247
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -5262,9 +5262,9 @@ export declare const jobsContractRouter: {
|
|
|
5262
5262
|
id: string;
|
|
5263
5263
|
} | undefined;
|
|
5264
5264
|
}, {
|
|
5265
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
5266
5265
|
description?: string | undefined;
|
|
5267
5266
|
numberOfPositions?: number | undefined;
|
|
5267
|
+
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
5268
5268
|
workHours?: number | undefined;
|
|
5269
5269
|
pay?: {
|
|
5270
5270
|
rate: number;
|
|
@@ -5456,15 +5456,15 @@ export declare const jobsContractRouter: {
|
|
|
5456
5456
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5457
5457
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5458
5458
|
}, "strip", z.ZodTypeAny, {
|
|
5459
|
-
id: string;
|
|
5460
|
-
name: string;
|
|
5461
5459
|
createdAt: string;
|
|
5462
5460
|
updatedAt: string;
|
|
5463
|
-
}, {
|
|
5464
5461
|
id: string;
|
|
5465
5462
|
name: string;
|
|
5463
|
+
}, {
|
|
5466
5464
|
createdAt: string | Date;
|
|
5467
5465
|
updatedAt: string | Date;
|
|
5466
|
+
id: string;
|
|
5467
|
+
name: string;
|
|
5468
5468
|
}>>>;
|
|
5469
5469
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5470
5470
|
id: z.ZodString;
|
|
@@ -5501,15 +5501,15 @@ export declare const jobsContractRouter: {
|
|
|
5501
5501
|
agentId: string;
|
|
5502
5502
|
}>>>;
|
|
5503
5503
|
}, "strip", z.ZodTypeAny, {
|
|
5504
|
-
id: string;
|
|
5505
5504
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5505
|
+
createdAt: string;
|
|
5506
|
+
updatedAt: string;
|
|
5507
|
+
id: string;
|
|
5506
5508
|
name: string;
|
|
5507
5509
|
crn: string | null;
|
|
5508
5510
|
govLink: string;
|
|
5509
5511
|
soleTrader: boolean;
|
|
5510
5512
|
director: string;
|
|
5511
|
-
createdAt: string;
|
|
5512
|
-
updatedAt: string;
|
|
5513
5513
|
blacklistReason?: string | null | undefined;
|
|
5514
5514
|
lastUpdatedBy?: {
|
|
5515
5515
|
id: string;
|
|
@@ -5521,15 +5521,15 @@ export declare const jobsContractRouter: {
|
|
|
5521
5521
|
agentId: string;
|
|
5522
5522
|
} | null | undefined;
|
|
5523
5523
|
}, {
|
|
5524
|
-
id: string;
|
|
5525
5524
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5525
|
+
createdAt: string | Date;
|
|
5526
|
+
updatedAt: string | Date;
|
|
5527
|
+
id: string;
|
|
5526
5528
|
name: string;
|
|
5527
5529
|
crn: string | null;
|
|
5528
5530
|
govLink: string;
|
|
5529
5531
|
soleTrader: boolean;
|
|
5530
5532
|
director: string;
|
|
5531
|
-
createdAt: string | Date;
|
|
5532
|
-
updatedAt: string | Date;
|
|
5533
5533
|
blacklistReason?: string | null | undefined;
|
|
5534
5534
|
lastUpdatedBy?: {
|
|
5535
5535
|
id: string;
|
|
@@ -5570,15 +5570,15 @@ export declare const jobsContractRouter: {
|
|
|
5570
5570
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5571
5571
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5572
5572
|
}, "strip", z.ZodTypeAny, {
|
|
5573
|
-
id: string;
|
|
5574
|
-
name: string;
|
|
5575
5573
|
createdAt: string;
|
|
5576
5574
|
updatedAt: string;
|
|
5577
|
-
}, {
|
|
5578
5575
|
id: string;
|
|
5579
5576
|
name: string;
|
|
5577
|
+
}, {
|
|
5580
5578
|
createdAt: string | Date;
|
|
5581
5579
|
updatedAt: string | Date;
|
|
5580
|
+
id: string;
|
|
5581
|
+
name: string;
|
|
5582
5582
|
}>>>;
|
|
5583
5583
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5584
5584
|
id: z.ZodString;
|
|
@@ -5615,15 +5615,15 @@ export declare const jobsContractRouter: {
|
|
|
5615
5615
|
agentId: string;
|
|
5616
5616
|
}>>>;
|
|
5617
5617
|
}, "strip", z.ZodTypeAny, {
|
|
5618
|
-
id: string;
|
|
5619
5618
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5619
|
+
createdAt: string;
|
|
5620
|
+
updatedAt: string;
|
|
5621
|
+
id: string;
|
|
5620
5622
|
name: string;
|
|
5621
5623
|
crn: string | null;
|
|
5622
5624
|
govLink: string;
|
|
5623
5625
|
soleTrader: boolean;
|
|
5624
5626
|
director: string;
|
|
5625
|
-
createdAt: string;
|
|
5626
|
-
updatedAt: string;
|
|
5627
5627
|
blacklistReason?: string | null | undefined;
|
|
5628
5628
|
lastUpdatedBy?: {
|
|
5629
5629
|
id: string;
|
|
@@ -5635,15 +5635,15 @@ export declare const jobsContractRouter: {
|
|
|
5635
5635
|
agentId: string;
|
|
5636
5636
|
} | null | undefined;
|
|
5637
5637
|
}, {
|
|
5638
|
-
id: string;
|
|
5639
5638
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5639
|
+
createdAt: string | Date;
|
|
5640
|
+
updatedAt: string | Date;
|
|
5641
|
+
id: string;
|
|
5640
5642
|
name: string;
|
|
5641
5643
|
crn: string | null;
|
|
5642
5644
|
govLink: string;
|
|
5643
5645
|
soleTrader: boolean;
|
|
5644
5646
|
director: string;
|
|
5645
|
-
createdAt: string | Date;
|
|
5646
|
-
updatedAt: string | Date;
|
|
5647
5647
|
blacklistReason?: string | null | undefined;
|
|
5648
5648
|
lastUpdatedBy?: {
|
|
5649
5649
|
id: string;
|
|
@@ -5676,21 +5676,27 @@ export declare const jobsContractRouter: {
|
|
|
5676
5676
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5677
5677
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5678
5678
|
}, "strip", z.ZodTypeAny, {
|
|
5679
|
-
id: string;
|
|
5680
5679
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5681
5680
|
createdAt: string;
|
|
5682
5681
|
updatedAt: string;
|
|
5682
|
+
id: string;
|
|
5683
5683
|
userId: string;
|
|
5684
|
-
|
|
5684
|
+
company?: {
|
|
5685
|
+
createdAt: string;
|
|
5686
|
+
updatedAt: string;
|
|
5685
5687
|
id: string;
|
|
5688
|
+
name: string;
|
|
5689
|
+
} | null | undefined;
|
|
5690
|
+
client?: {
|
|
5686
5691
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5692
|
+
createdAt: string;
|
|
5693
|
+
updatedAt: string;
|
|
5694
|
+
id: string;
|
|
5687
5695
|
name: string;
|
|
5688
5696
|
crn: string | null;
|
|
5689
5697
|
govLink: string;
|
|
5690
5698
|
soleTrader: boolean;
|
|
5691
5699
|
director: string;
|
|
5692
|
-
createdAt: string;
|
|
5693
|
-
updatedAt: string;
|
|
5694
5700
|
blacklistReason?: string | null | undefined;
|
|
5695
5701
|
lastUpdatedBy?: {
|
|
5696
5702
|
id: string;
|
|
@@ -5702,12 +5708,6 @@ export declare const jobsContractRouter: {
|
|
|
5702
5708
|
agentId: string;
|
|
5703
5709
|
} | null | undefined;
|
|
5704
5710
|
} | null | undefined;
|
|
5705
|
-
company?: {
|
|
5706
|
-
id: string;
|
|
5707
|
-
name: string;
|
|
5708
|
-
createdAt: string;
|
|
5709
|
-
updatedAt: string;
|
|
5710
|
-
} | null | undefined;
|
|
5711
5711
|
user?: {
|
|
5712
5712
|
id: string;
|
|
5713
5713
|
firstName: string;
|
|
@@ -5715,21 +5715,27 @@ export declare const jobsContractRouter: {
|
|
|
5715
5715
|
email: string;
|
|
5716
5716
|
} | null | undefined;
|
|
5717
5717
|
}, {
|
|
5718
|
-
id: string;
|
|
5719
5718
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5720
5719
|
createdAt: string | Date;
|
|
5721
5720
|
updatedAt: string | Date;
|
|
5721
|
+
id: string;
|
|
5722
5722
|
userId: string;
|
|
5723
|
-
|
|
5723
|
+
company?: {
|
|
5724
|
+
createdAt: string | Date;
|
|
5725
|
+
updatedAt: string | Date;
|
|
5724
5726
|
id: string;
|
|
5727
|
+
name: string;
|
|
5728
|
+
} | null | undefined;
|
|
5729
|
+
client?: {
|
|
5725
5730
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5731
|
+
createdAt: string | Date;
|
|
5732
|
+
updatedAt: string | Date;
|
|
5733
|
+
id: string;
|
|
5726
5734
|
name: string;
|
|
5727
5735
|
crn: string | null;
|
|
5728
5736
|
govLink: string;
|
|
5729
5737
|
soleTrader: boolean;
|
|
5730
5738
|
director: string;
|
|
5731
|
-
createdAt: string | Date;
|
|
5732
|
-
updatedAt: string | Date;
|
|
5733
5739
|
blacklistReason?: string | null | undefined;
|
|
5734
5740
|
lastUpdatedBy?: {
|
|
5735
5741
|
id: string;
|
|
@@ -5741,12 +5747,6 @@ export declare const jobsContractRouter: {
|
|
|
5741
5747
|
agentId: string;
|
|
5742
5748
|
} | null | undefined;
|
|
5743
5749
|
} | null | undefined;
|
|
5744
|
-
company?: {
|
|
5745
|
-
id: string;
|
|
5746
|
-
name: string;
|
|
5747
|
-
createdAt: string | Date;
|
|
5748
|
-
updatedAt: string | Date;
|
|
5749
|
-
} | null | undefined;
|
|
5750
5750
|
user?: {
|
|
5751
5751
|
id: string;
|
|
5752
5752
|
firstName: string;
|
|
@@ -5755,21 +5755,27 @@ export declare const jobsContractRouter: {
|
|
|
5755
5755
|
} | null | undefined;
|
|
5756
5756
|
}>>>;
|
|
5757
5757
|
}, "strip", z.ZodTypeAny, {
|
|
5758
|
-
id: string;
|
|
5759
5758
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5760
5759
|
createdAt: string;
|
|
5761
5760
|
updatedAt: string;
|
|
5761
|
+
id: string;
|
|
5762
5762
|
userId: string;
|
|
5763
|
-
|
|
5763
|
+
company?: {
|
|
5764
|
+
createdAt: string;
|
|
5765
|
+
updatedAt: string;
|
|
5764
5766
|
id: string;
|
|
5767
|
+
name: string;
|
|
5768
|
+
} | null | undefined;
|
|
5769
|
+
client?: {
|
|
5765
5770
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5771
|
+
createdAt: string;
|
|
5772
|
+
updatedAt: string;
|
|
5773
|
+
id: string;
|
|
5766
5774
|
name: string;
|
|
5767
5775
|
crn: string | null;
|
|
5768
5776
|
govLink: string;
|
|
5769
5777
|
soleTrader: boolean;
|
|
5770
5778
|
director: string;
|
|
5771
|
-
createdAt: string;
|
|
5772
|
-
updatedAt: string;
|
|
5773
5779
|
blacklistReason?: string | null | undefined;
|
|
5774
5780
|
lastUpdatedBy?: {
|
|
5775
5781
|
id: string;
|
|
@@ -5781,12 +5787,6 @@ export declare const jobsContractRouter: {
|
|
|
5781
5787
|
agentId: string;
|
|
5782
5788
|
} | null | undefined;
|
|
5783
5789
|
} | null | undefined;
|
|
5784
|
-
company?: {
|
|
5785
|
-
id: string;
|
|
5786
|
-
name: string;
|
|
5787
|
-
createdAt: string;
|
|
5788
|
-
updatedAt: string;
|
|
5789
|
-
} | null | undefined;
|
|
5790
5790
|
user?: {
|
|
5791
5791
|
id: string;
|
|
5792
5792
|
firstName: string;
|
|
@@ -5794,21 +5794,27 @@ export declare const jobsContractRouter: {
|
|
|
5794
5794
|
email: string;
|
|
5795
5795
|
} | null | undefined;
|
|
5796
5796
|
newCollaboration?: {
|
|
5797
|
-
id: string;
|
|
5798
5797
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5799
5798
|
createdAt: string;
|
|
5800
5799
|
updatedAt: string;
|
|
5800
|
+
id: string;
|
|
5801
5801
|
userId: string;
|
|
5802
|
-
|
|
5802
|
+
company?: {
|
|
5803
|
+
createdAt: string;
|
|
5804
|
+
updatedAt: string;
|
|
5803
5805
|
id: string;
|
|
5806
|
+
name: string;
|
|
5807
|
+
} | null | undefined;
|
|
5808
|
+
client?: {
|
|
5804
5809
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5810
|
+
createdAt: string;
|
|
5811
|
+
updatedAt: string;
|
|
5812
|
+
id: string;
|
|
5805
5813
|
name: string;
|
|
5806
5814
|
crn: string | null;
|
|
5807
5815
|
govLink: string;
|
|
5808
5816
|
soleTrader: boolean;
|
|
5809
5817
|
director: string;
|
|
5810
|
-
createdAt: string;
|
|
5811
|
-
updatedAt: string;
|
|
5812
5818
|
blacklistReason?: string | null | undefined;
|
|
5813
5819
|
lastUpdatedBy?: {
|
|
5814
5820
|
id: string;
|
|
@@ -5820,12 +5826,6 @@ export declare const jobsContractRouter: {
|
|
|
5820
5826
|
agentId: string;
|
|
5821
5827
|
} | null | undefined;
|
|
5822
5828
|
} | null | undefined;
|
|
5823
|
-
company?: {
|
|
5824
|
-
id: string;
|
|
5825
|
-
name: string;
|
|
5826
|
-
createdAt: string;
|
|
5827
|
-
updatedAt: string;
|
|
5828
|
-
} | null | undefined;
|
|
5829
5829
|
user?: {
|
|
5830
5830
|
id: string;
|
|
5831
5831
|
firstName: string;
|
|
@@ -5834,21 +5834,27 @@ export declare const jobsContractRouter: {
|
|
|
5834
5834
|
} | null | undefined;
|
|
5835
5835
|
} | null | undefined;
|
|
5836
5836
|
}, {
|
|
5837
|
-
id: string;
|
|
5838
5837
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5839
5838
|
createdAt: string | Date;
|
|
5840
5839
|
updatedAt: string | Date;
|
|
5840
|
+
id: string;
|
|
5841
5841
|
userId: string;
|
|
5842
|
-
|
|
5842
|
+
company?: {
|
|
5843
|
+
createdAt: string | Date;
|
|
5844
|
+
updatedAt: string | Date;
|
|
5843
5845
|
id: string;
|
|
5846
|
+
name: string;
|
|
5847
|
+
} | null | undefined;
|
|
5848
|
+
client?: {
|
|
5844
5849
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5850
|
+
createdAt: string | Date;
|
|
5851
|
+
updatedAt: string | Date;
|
|
5852
|
+
id: string;
|
|
5845
5853
|
name: string;
|
|
5846
5854
|
crn: string | null;
|
|
5847
5855
|
govLink: string;
|
|
5848
5856
|
soleTrader: boolean;
|
|
5849
5857
|
director: string;
|
|
5850
|
-
createdAt: string | Date;
|
|
5851
|
-
updatedAt: string | Date;
|
|
5852
5858
|
blacklistReason?: string | null | undefined;
|
|
5853
5859
|
lastUpdatedBy?: {
|
|
5854
5860
|
id: string;
|
|
@@ -5860,12 +5866,6 @@ export declare const jobsContractRouter: {
|
|
|
5860
5866
|
agentId: string;
|
|
5861
5867
|
} | null | undefined;
|
|
5862
5868
|
} | null | undefined;
|
|
5863
|
-
company?: {
|
|
5864
|
-
id: string;
|
|
5865
|
-
name: string;
|
|
5866
|
-
createdAt: string | Date;
|
|
5867
|
-
updatedAt: string | Date;
|
|
5868
|
-
} | null | undefined;
|
|
5869
5869
|
user?: {
|
|
5870
5870
|
id: string;
|
|
5871
5871
|
firstName: string;
|
|
@@ -5873,21 +5873,27 @@ export declare const jobsContractRouter: {
|
|
|
5873
5873
|
email: string;
|
|
5874
5874
|
} | null | undefined;
|
|
5875
5875
|
newCollaboration?: {
|
|
5876
|
-
id: string;
|
|
5877
5876
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5878
5877
|
createdAt: string | Date;
|
|
5879
5878
|
updatedAt: string | Date;
|
|
5879
|
+
id: string;
|
|
5880
5880
|
userId: string;
|
|
5881
|
-
|
|
5881
|
+
company?: {
|
|
5882
|
+
createdAt: string | Date;
|
|
5883
|
+
updatedAt: string | Date;
|
|
5882
5884
|
id: string;
|
|
5885
|
+
name: string;
|
|
5886
|
+
} | null | undefined;
|
|
5887
|
+
client?: {
|
|
5883
5888
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5889
|
+
createdAt: string | Date;
|
|
5890
|
+
updatedAt: string | Date;
|
|
5891
|
+
id: string;
|
|
5884
5892
|
name: string;
|
|
5885
5893
|
crn: string | null;
|
|
5886
5894
|
govLink: string;
|
|
5887
5895
|
soleTrader: boolean;
|
|
5888
5896
|
director: string;
|
|
5889
|
-
createdAt: string | Date;
|
|
5890
|
-
updatedAt: string | Date;
|
|
5891
5897
|
blacklistReason?: string | null | undefined;
|
|
5892
5898
|
lastUpdatedBy?: {
|
|
5893
5899
|
id: string;
|
|
@@ -5899,12 +5905,6 @@ export declare const jobsContractRouter: {
|
|
|
5899
5905
|
agentId: string;
|
|
5900
5906
|
} | null | undefined;
|
|
5901
5907
|
} | null | undefined;
|
|
5902
|
-
company?: {
|
|
5903
|
-
id: string;
|
|
5904
|
-
name: string;
|
|
5905
|
-
createdAt: string | Date;
|
|
5906
|
-
updatedAt: string | Date;
|
|
5907
|
-
} | null | undefined;
|
|
5908
5908
|
user?: {
|
|
5909
5909
|
id: string;
|
|
5910
5910
|
firstName: string;
|
|
@@ -5916,12 +5916,12 @@ export declare const jobsContractRouter: {
|
|
|
5916
5916
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5917
5917
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5918
5918
|
}, "strip", z.ZodTypeAny, {
|
|
5919
|
-
|
|
5919
|
+
description: string;
|
|
5920
|
+
numberOfPositions: number;
|
|
5920
5921
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5921
5922
|
createdAt: string;
|
|
5922
5923
|
updatedAt: string;
|
|
5923
|
-
|
|
5924
|
-
numberOfPositions: number;
|
|
5924
|
+
id: string;
|
|
5925
5925
|
pay: {
|
|
5926
5926
|
rateUnit: "DAILY" | "HOURLY";
|
|
5927
5927
|
rate: number;
|
|
@@ -5945,21 +5945,27 @@ export declare const jobsContractRouter: {
|
|
|
5945
5945
|
areaCovered?: string | null | undefined;
|
|
5946
5946
|
} | null | undefined;
|
|
5947
5947
|
currentCollaboration?: {
|
|
5948
|
-
id: string;
|
|
5949
5948
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5950
5949
|
createdAt: string;
|
|
5951
5950
|
updatedAt: string;
|
|
5951
|
+
id: string;
|
|
5952
5952
|
userId: string;
|
|
5953
|
-
|
|
5953
|
+
company?: {
|
|
5954
|
+
createdAt: string;
|
|
5955
|
+
updatedAt: string;
|
|
5954
5956
|
id: string;
|
|
5957
|
+
name: string;
|
|
5958
|
+
} | null | undefined;
|
|
5959
|
+
client?: {
|
|
5955
5960
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5961
|
+
createdAt: string;
|
|
5962
|
+
updatedAt: string;
|
|
5963
|
+
id: string;
|
|
5956
5964
|
name: string;
|
|
5957
5965
|
crn: string | null;
|
|
5958
5966
|
govLink: string;
|
|
5959
5967
|
soleTrader: boolean;
|
|
5960
5968
|
director: string;
|
|
5961
|
-
createdAt: string;
|
|
5962
|
-
updatedAt: string;
|
|
5963
5969
|
blacklistReason?: string | null | undefined;
|
|
5964
5970
|
lastUpdatedBy?: {
|
|
5965
5971
|
id: string;
|
|
@@ -5971,12 +5977,6 @@ export declare const jobsContractRouter: {
|
|
|
5971
5977
|
agentId: string;
|
|
5972
5978
|
} | null | undefined;
|
|
5973
5979
|
} | null | undefined;
|
|
5974
|
-
company?: {
|
|
5975
|
-
id: string;
|
|
5976
|
-
name: string;
|
|
5977
|
-
createdAt: string;
|
|
5978
|
-
updatedAt: string;
|
|
5979
|
-
} | null | undefined;
|
|
5980
5980
|
user?: {
|
|
5981
5981
|
id: string;
|
|
5982
5982
|
firstName: string;
|
|
@@ -5984,21 +5984,27 @@ export declare const jobsContractRouter: {
|
|
|
5984
5984
|
email: string;
|
|
5985
5985
|
} | null | undefined;
|
|
5986
5986
|
newCollaboration?: {
|
|
5987
|
-
id: string;
|
|
5988
5987
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5989
5988
|
createdAt: string;
|
|
5990
5989
|
updatedAt: string;
|
|
5990
|
+
id: string;
|
|
5991
5991
|
userId: string;
|
|
5992
|
-
|
|
5992
|
+
company?: {
|
|
5993
|
+
createdAt: string;
|
|
5994
|
+
updatedAt: string;
|
|
5993
5995
|
id: string;
|
|
5996
|
+
name: string;
|
|
5997
|
+
} | null | undefined;
|
|
5998
|
+
client?: {
|
|
5994
5999
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6000
|
+
createdAt: string;
|
|
6001
|
+
updatedAt: string;
|
|
6002
|
+
id: string;
|
|
5995
6003
|
name: string;
|
|
5996
6004
|
crn: string | null;
|
|
5997
6005
|
govLink: string;
|
|
5998
6006
|
soleTrader: boolean;
|
|
5999
6007
|
director: string;
|
|
6000
|
-
createdAt: string;
|
|
6001
|
-
updatedAt: string;
|
|
6002
6008
|
blacklistReason?: string | null | undefined;
|
|
6003
6009
|
lastUpdatedBy?: {
|
|
6004
6010
|
id: string;
|
|
@@ -6010,12 +6016,6 @@ export declare const jobsContractRouter: {
|
|
|
6010
6016
|
agentId: string;
|
|
6011
6017
|
} | null | undefined;
|
|
6012
6018
|
} | null | undefined;
|
|
6013
|
-
company?: {
|
|
6014
|
-
id: string;
|
|
6015
|
-
name: string;
|
|
6016
|
-
createdAt: string;
|
|
6017
|
-
updatedAt: string;
|
|
6018
|
-
} | null | undefined;
|
|
6019
6019
|
user?: {
|
|
6020
6020
|
id: string;
|
|
6021
6021
|
firstName: string;
|
|
@@ -6025,12 +6025,12 @@ export declare const jobsContractRouter: {
|
|
|
6025
6025
|
} | null | undefined;
|
|
6026
6026
|
} | null | undefined;
|
|
6027
6027
|
}, {
|
|
6028
|
-
|
|
6028
|
+
description: string;
|
|
6029
|
+
numberOfPositions: number;
|
|
6029
6030
|
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
6030
6031
|
createdAt: string | Date;
|
|
6031
6032
|
updatedAt: string | Date;
|
|
6032
|
-
|
|
6033
|
-
numberOfPositions: number;
|
|
6033
|
+
id: string;
|
|
6034
6034
|
pay: {
|
|
6035
6035
|
rateUnit: "DAILY" | "HOURLY";
|
|
6036
6036
|
rate: number;
|
|
@@ -6054,21 +6054,27 @@ export declare const jobsContractRouter: {
|
|
|
6054
6054
|
qualificationTypeId?: string | null | undefined;
|
|
6055
6055
|
}[] | undefined;
|
|
6056
6056
|
currentCollaboration?: {
|
|
6057
|
-
id: string;
|
|
6058
6057
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6059
6058
|
createdAt: string | Date;
|
|
6060
6059
|
updatedAt: string | Date;
|
|
6060
|
+
id: string;
|
|
6061
6061
|
userId: string;
|
|
6062
|
-
|
|
6062
|
+
company?: {
|
|
6063
|
+
createdAt: string | Date;
|
|
6064
|
+
updatedAt: string | Date;
|
|
6063
6065
|
id: string;
|
|
6066
|
+
name: string;
|
|
6067
|
+
} | null | undefined;
|
|
6068
|
+
client?: {
|
|
6064
6069
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6070
|
+
createdAt: string | Date;
|
|
6071
|
+
updatedAt: string | Date;
|
|
6072
|
+
id: string;
|
|
6065
6073
|
name: string;
|
|
6066
6074
|
crn: string | null;
|
|
6067
6075
|
govLink: string;
|
|
6068
6076
|
soleTrader: boolean;
|
|
6069
6077
|
director: string;
|
|
6070
|
-
createdAt: string | Date;
|
|
6071
|
-
updatedAt: string | Date;
|
|
6072
6078
|
blacklistReason?: string | null | undefined;
|
|
6073
6079
|
lastUpdatedBy?: {
|
|
6074
6080
|
id: string;
|
|
@@ -6080,12 +6086,6 @@ export declare const jobsContractRouter: {
|
|
|
6080
6086
|
agentId: string;
|
|
6081
6087
|
} | null | undefined;
|
|
6082
6088
|
} | null | undefined;
|
|
6083
|
-
company?: {
|
|
6084
|
-
id: string;
|
|
6085
|
-
name: string;
|
|
6086
|
-
createdAt: string | Date;
|
|
6087
|
-
updatedAt: string | Date;
|
|
6088
|
-
} | null | undefined;
|
|
6089
6089
|
user?: {
|
|
6090
6090
|
id: string;
|
|
6091
6091
|
firstName: string;
|
|
@@ -6093,21 +6093,27 @@ export declare const jobsContractRouter: {
|
|
|
6093
6093
|
email: string;
|
|
6094
6094
|
} | null | undefined;
|
|
6095
6095
|
newCollaboration?: {
|
|
6096
|
-
id: string;
|
|
6097
6096
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
6098
6097
|
createdAt: string | Date;
|
|
6099
6098
|
updatedAt: string | Date;
|
|
6099
|
+
id: string;
|
|
6100
6100
|
userId: string;
|
|
6101
|
-
|
|
6101
|
+
company?: {
|
|
6102
|
+
createdAt: string | Date;
|
|
6103
|
+
updatedAt: string | Date;
|
|
6102
6104
|
id: string;
|
|
6105
|
+
name: string;
|
|
6106
|
+
} | null | undefined;
|
|
6107
|
+
client?: {
|
|
6103
6108
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6109
|
+
createdAt: string | Date;
|
|
6110
|
+
updatedAt: string | Date;
|
|
6111
|
+
id: string;
|
|
6104
6112
|
name: string;
|
|
6105
6113
|
crn: string | null;
|
|
6106
6114
|
govLink: string;
|
|
6107
6115
|
soleTrader: boolean;
|
|
6108
6116
|
director: string;
|
|
6109
|
-
createdAt: string | Date;
|
|
6110
|
-
updatedAt: string | Date;
|
|
6111
6117
|
blacklistReason?: string | null | undefined;
|
|
6112
6118
|
lastUpdatedBy?: {
|
|
6113
6119
|
id: string;
|
|
@@ -6119,12 +6125,6 @@ export declare const jobsContractRouter: {
|
|
|
6119
6125
|
agentId: string;
|
|
6120
6126
|
} | null | undefined;
|
|
6121
6127
|
} | null | undefined;
|
|
6122
|
-
company?: {
|
|
6123
|
-
id: string;
|
|
6124
|
-
name: string;
|
|
6125
|
-
createdAt: string | Date;
|
|
6126
|
-
updatedAt: string | Date;
|
|
6127
|
-
} | null | undefined;
|
|
6128
6128
|
user?: {
|
|
6129
6129
|
id: string;
|
|
6130
6130
|
firstName: string;
|