@dakkitor/api-contracts 1.1.32 → 1.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/first-agent.abilities.json +37 -14
- package/dist/abilities/second-agent.abilities.json +10 -1
- package/dist/actives/actives.contract.d.ts +4343 -4287
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +3 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +24 -24
- package/dist/bookings/bookings.contract.d.ts +3382 -3382
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +7 -17
- package/dist/call-history/call-history.contract.d.ts +584 -286
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +394 -394
- package/dist/collaborations/collaborations.contract.d.ts +318 -318
- package/dist/companies/companies.contract.d.ts +36 -36
- package/dist/companies/companies.contract.d.ts.map +1 -1
- package/dist/companies/companies.contract.js +2 -4
- package/dist/jobs/jobs.contract.d.ts +727 -673
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +13 -0
- package/dist/lead-assignments/lead-assignments.contract.d.ts +504 -200
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +9 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +371 -108
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.js +23 -0
- package/dist/leads/leads.contract.d.ts +44 -44
- package/dist/users/users.contract.d.ts +266 -0
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +20 -0
- package/dist/workers/workers.contract.d.ts +143 -124
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +14 -10
- 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;
|
|
149
151
|
createdAt: string;
|
|
150
152
|
updatedAt: string;
|
|
153
|
+
}, {
|
|
151
154
|
id: string;
|
|
152
155
|
name: string;
|
|
153
|
-
}, {
|
|
154
156
|
createdAt: string | Date;
|
|
155
157
|
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;
|
|
@@ -190,11 +190,11 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
190
190
|
agentId: string;
|
|
191
191
|
}>>>;
|
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
194
|
-
createdAt: string;
|
|
195
|
-
updatedAt: string;
|
|
196
193
|
id: string;
|
|
197
194
|
name: string;
|
|
195
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
196
|
+
createdAt: string;
|
|
197
|
+
updatedAt: string;
|
|
198
198
|
crn: string;
|
|
199
199
|
govLink: string;
|
|
200
200
|
director: string;
|
|
@@ -209,11 +209,11 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
209
209
|
agentId: string;
|
|
210
210
|
} | null | undefined;
|
|
211
211
|
}, {
|
|
212
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
213
|
-
createdAt: string | Date;
|
|
214
|
-
updatedAt: string | Date;
|
|
215
212
|
id: string;
|
|
216
213
|
name: string;
|
|
214
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
215
|
+
createdAt: string | Date;
|
|
216
|
+
updatedAt: string | Date;
|
|
217
217
|
crn: string;
|
|
218
218
|
govLink: string;
|
|
219
219
|
director: string;
|
|
@@ -257,15 +257,15 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
257
257
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
258
258
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
id: string;
|
|
261
|
+
name: string;
|
|
260
262
|
createdAt: string;
|
|
261
263
|
updatedAt: string;
|
|
264
|
+
}, {
|
|
262
265
|
id: string;
|
|
263
266
|
name: string;
|
|
264
|
-
}, {
|
|
265
267
|
createdAt: string | Date;
|
|
266
268
|
updatedAt: string | Date;
|
|
267
|
-
id: string;
|
|
268
|
-
name: string;
|
|
269
269
|
}>>>;
|
|
270
270
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
271
271
|
id: z.ZodString;
|
|
@@ -301,11 +301,11 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
301
301
|
agentId: string;
|
|
302
302
|
}>>>;
|
|
303
303
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
305
|
-
createdAt: string;
|
|
306
|
-
updatedAt: string;
|
|
307
304
|
id: string;
|
|
308
305
|
name: string;
|
|
306
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
307
|
+
createdAt: string;
|
|
308
|
+
updatedAt: string;
|
|
309
309
|
crn: string;
|
|
310
310
|
govLink: string;
|
|
311
311
|
director: string;
|
|
@@ -320,11 +320,11 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
320
320
|
agentId: string;
|
|
321
321
|
} | null | undefined;
|
|
322
322
|
}, {
|
|
323
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
324
|
-
createdAt: string | Date;
|
|
325
|
-
updatedAt: string | Date;
|
|
326
323
|
id: string;
|
|
327
324
|
name: string;
|
|
325
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
326
|
+
createdAt: string | Date;
|
|
327
|
+
updatedAt: string | Date;
|
|
328
328
|
crn: string;
|
|
329
329
|
govLink: string;
|
|
330
330
|
director: string;
|
|
@@ -360,23 +360,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
360
360
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
361
361
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
362
362
|
}, "strip", z.ZodTypeAny, {
|
|
363
|
-
|
|
363
|
+
id: string;
|
|
364
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
364
365
|
createdAt: string;
|
|
365
366
|
updatedAt: string;
|
|
366
|
-
id: string;
|
|
367
367
|
userId: string;
|
|
368
368
|
company?: {
|
|
369
|
-
createdAt: string;
|
|
370
|
-
updatedAt: string;
|
|
371
369
|
id: string;
|
|
372
370
|
name: string;
|
|
373
|
-
} | null | undefined;
|
|
374
|
-
client?: {
|
|
375
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
376
371
|
createdAt: string;
|
|
377
372
|
updatedAt: string;
|
|
373
|
+
} | null | undefined;
|
|
374
|
+
client?: {
|
|
378
375
|
id: string;
|
|
379
376
|
name: string;
|
|
377
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
378
|
+
createdAt: string;
|
|
379
|
+
updatedAt: string;
|
|
380
380
|
crn: string;
|
|
381
381
|
govLink: string;
|
|
382
382
|
director: string;
|
|
@@ -398,23 +398,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
398
398
|
email: string;
|
|
399
399
|
} | null | undefined;
|
|
400
400
|
}, {
|
|
401
|
-
|
|
401
|
+
id: string;
|
|
402
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
402
403
|
createdAt: string | Date;
|
|
403
404
|
updatedAt: string | Date;
|
|
404
|
-
id: string;
|
|
405
405
|
userId: string;
|
|
406
406
|
company?: {
|
|
407
|
-
createdAt: string | Date;
|
|
408
|
-
updatedAt: string | Date;
|
|
409
407
|
id: string;
|
|
410
408
|
name: string;
|
|
411
|
-
} | null | undefined;
|
|
412
|
-
client?: {
|
|
413
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
414
409
|
createdAt: string | Date;
|
|
415
410
|
updatedAt: string | Date;
|
|
411
|
+
} | null | undefined;
|
|
412
|
+
client?: {
|
|
416
413
|
id: string;
|
|
417
414
|
name: string;
|
|
415
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
416
|
+
createdAt: string | Date;
|
|
417
|
+
updatedAt: string | Date;
|
|
418
418
|
crn: string;
|
|
419
419
|
govLink: string;
|
|
420
420
|
director: string;
|
|
@@ -437,23 +437,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
437
437
|
} | null | undefined;
|
|
438
438
|
}>>>;
|
|
439
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
|
-
|
|
440
|
+
id: string;
|
|
441
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
441
442
|
createdAt: string;
|
|
442
443
|
updatedAt: string;
|
|
443
|
-
id: string;
|
|
444
444
|
userId: string;
|
|
445
445
|
company?: {
|
|
446
|
-
createdAt: string;
|
|
447
|
-
updatedAt: string;
|
|
448
446
|
id: string;
|
|
449
447
|
name: string;
|
|
450
|
-
} | null | undefined;
|
|
451
|
-
client?: {
|
|
452
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
453
448
|
createdAt: string;
|
|
454
449
|
updatedAt: string;
|
|
450
|
+
} | null | undefined;
|
|
451
|
+
client?: {
|
|
455
452
|
id: string;
|
|
456
453
|
name: string;
|
|
454
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
455
|
+
createdAt: string;
|
|
456
|
+
updatedAt: string;
|
|
457
457
|
crn: string;
|
|
458
458
|
govLink: string;
|
|
459
459
|
director: string;
|
|
@@ -475,23 +475,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
475
475
|
email: string;
|
|
476
476
|
} | null | undefined;
|
|
477
477
|
newCollaboration?: {
|
|
478
|
-
|
|
478
|
+
id: string;
|
|
479
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
479
480
|
createdAt: string;
|
|
480
481
|
updatedAt: string;
|
|
481
|
-
id: string;
|
|
482
482
|
userId: string;
|
|
483
483
|
company?: {
|
|
484
|
-
createdAt: string;
|
|
485
|
-
updatedAt: string;
|
|
486
484
|
id: string;
|
|
487
485
|
name: string;
|
|
488
|
-
} | null | undefined;
|
|
489
|
-
client?: {
|
|
490
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
491
486
|
createdAt: string;
|
|
492
487
|
updatedAt: string;
|
|
488
|
+
} | null | undefined;
|
|
489
|
+
client?: {
|
|
493
490
|
id: string;
|
|
494
491
|
name: string;
|
|
492
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
493
|
+
createdAt: string;
|
|
494
|
+
updatedAt: string;
|
|
495
495
|
crn: string;
|
|
496
496
|
govLink: string;
|
|
497
497
|
director: string;
|
|
@@ -514,23 +514,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
514
514
|
} | null | undefined;
|
|
515
515
|
} | null | undefined;
|
|
516
516
|
}, {
|
|
517
|
-
|
|
517
|
+
id: string;
|
|
518
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
518
519
|
createdAt: string | Date;
|
|
519
520
|
updatedAt: string | Date;
|
|
520
|
-
id: string;
|
|
521
521
|
userId: string;
|
|
522
522
|
company?: {
|
|
523
|
-
createdAt: string | Date;
|
|
524
|
-
updatedAt: string | Date;
|
|
525
523
|
id: string;
|
|
526
524
|
name: string;
|
|
527
|
-
} | null | undefined;
|
|
528
|
-
client?: {
|
|
529
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
530
525
|
createdAt: string | Date;
|
|
531
526
|
updatedAt: string | Date;
|
|
527
|
+
} | null | undefined;
|
|
528
|
+
client?: {
|
|
532
529
|
id: string;
|
|
533
530
|
name: string;
|
|
531
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
532
|
+
createdAt: string | Date;
|
|
533
|
+
updatedAt: string | Date;
|
|
534
534
|
crn: string;
|
|
535
535
|
govLink: string;
|
|
536
536
|
director: string;
|
|
@@ -552,23 +552,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
552
552
|
email: string;
|
|
553
553
|
} | null | undefined;
|
|
554
554
|
newCollaboration?: {
|
|
555
|
-
|
|
555
|
+
id: string;
|
|
556
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
556
557
|
createdAt: string | Date;
|
|
557
558
|
updatedAt: string | Date;
|
|
558
|
-
id: string;
|
|
559
559
|
userId: string;
|
|
560
560
|
company?: {
|
|
561
|
-
createdAt: string | Date;
|
|
562
|
-
updatedAt: string | Date;
|
|
563
561
|
id: string;
|
|
564
562
|
name: string;
|
|
565
|
-
} | null | undefined;
|
|
566
|
-
client?: {
|
|
567
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
568
563
|
createdAt: string | Date;
|
|
569
564
|
updatedAt: string | Date;
|
|
565
|
+
} | null | undefined;
|
|
566
|
+
client?: {
|
|
570
567
|
id: string;
|
|
571
568
|
name: string;
|
|
569
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
570
|
+
createdAt: string | Date;
|
|
571
|
+
updatedAt: string | Date;
|
|
572
572
|
crn: string;
|
|
573
573
|
govLink: string;
|
|
574
574
|
director: string;
|
|
@@ -594,12 +594,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
594
594
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
595
595
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
596
596
|
}, "strip", z.ZodTypeAny, {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
597
|
+
id: string;
|
|
598
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
600
599
|
createdAt: string;
|
|
601
600
|
updatedAt: string;
|
|
602
|
-
|
|
601
|
+
description: string;
|
|
602
|
+
numberOfPositions: number;
|
|
603
603
|
pay: {
|
|
604
604
|
rateUnit: "DAILY" | "HOURLY";
|
|
605
605
|
rate: number;
|
|
@@ -623,23 +623,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
623
623
|
areaCovered?: string | null | undefined;
|
|
624
624
|
} | null | undefined;
|
|
625
625
|
currentCollaboration?: {
|
|
626
|
-
|
|
626
|
+
id: string;
|
|
627
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
627
628
|
createdAt: string;
|
|
628
629
|
updatedAt: string;
|
|
629
|
-
id: string;
|
|
630
630
|
userId: string;
|
|
631
631
|
company?: {
|
|
632
|
-
createdAt: string;
|
|
633
|
-
updatedAt: string;
|
|
634
632
|
id: string;
|
|
635
633
|
name: string;
|
|
636
|
-
} | null | undefined;
|
|
637
|
-
client?: {
|
|
638
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
639
634
|
createdAt: string;
|
|
640
635
|
updatedAt: string;
|
|
636
|
+
} | null | undefined;
|
|
637
|
+
client?: {
|
|
641
638
|
id: string;
|
|
642
639
|
name: string;
|
|
640
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
641
|
+
createdAt: string;
|
|
642
|
+
updatedAt: string;
|
|
643
643
|
crn: string;
|
|
644
644
|
govLink: string;
|
|
645
645
|
director: string;
|
|
@@ -661,23 +661,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
661
661
|
email: string;
|
|
662
662
|
} | null | undefined;
|
|
663
663
|
newCollaboration?: {
|
|
664
|
-
|
|
664
|
+
id: string;
|
|
665
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
665
666
|
createdAt: string;
|
|
666
667
|
updatedAt: string;
|
|
667
|
-
id: string;
|
|
668
668
|
userId: string;
|
|
669
669
|
company?: {
|
|
670
|
-
createdAt: string;
|
|
671
|
-
updatedAt: string;
|
|
672
670
|
id: string;
|
|
673
671
|
name: string;
|
|
674
|
-
} | null | undefined;
|
|
675
|
-
client?: {
|
|
676
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
677
672
|
createdAt: string;
|
|
678
673
|
updatedAt: string;
|
|
674
|
+
} | null | undefined;
|
|
675
|
+
client?: {
|
|
679
676
|
id: string;
|
|
680
677
|
name: string;
|
|
678
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
679
|
+
createdAt: string;
|
|
680
|
+
updatedAt: string;
|
|
681
681
|
crn: string;
|
|
682
682
|
govLink: string;
|
|
683
683
|
director: string;
|
|
@@ -701,12 +701,12 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
701
701
|
} | null | undefined;
|
|
702
702
|
} | null | undefined;
|
|
703
703
|
}, {
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
704
|
+
id: string;
|
|
705
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
707
706
|
createdAt: string | Date;
|
|
708
707
|
updatedAt: string | Date;
|
|
709
|
-
|
|
708
|
+
description: string;
|
|
709
|
+
numberOfPositions: number;
|
|
710
710
|
pay: {
|
|
711
711
|
rateUnit: "DAILY" | "HOURLY";
|
|
712
712
|
rate: number;
|
|
@@ -730,23 +730,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
730
730
|
qualificationTypeId?: string | null | undefined;
|
|
731
731
|
}[] | undefined;
|
|
732
732
|
currentCollaboration?: {
|
|
733
|
-
|
|
733
|
+
id: string;
|
|
734
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
734
735
|
createdAt: string | Date;
|
|
735
736
|
updatedAt: string | Date;
|
|
736
|
-
id: string;
|
|
737
737
|
userId: string;
|
|
738
738
|
company?: {
|
|
739
|
-
createdAt: string | Date;
|
|
740
|
-
updatedAt: string | Date;
|
|
741
739
|
id: string;
|
|
742
740
|
name: string;
|
|
743
|
-
} | null | undefined;
|
|
744
|
-
client?: {
|
|
745
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
746
741
|
createdAt: string | Date;
|
|
747
742
|
updatedAt: string | Date;
|
|
743
|
+
} | null | undefined;
|
|
744
|
+
client?: {
|
|
748
745
|
id: string;
|
|
749
746
|
name: string;
|
|
747
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
748
|
+
createdAt: string | Date;
|
|
749
|
+
updatedAt: string | Date;
|
|
750
750
|
crn: string;
|
|
751
751
|
govLink: string;
|
|
752
752
|
director: string;
|
|
@@ -768,23 +768,23 @@ export declare const JobSchema: z.ZodObject<{
|
|
|
768
768
|
email: string;
|
|
769
769
|
} | null | undefined;
|
|
770
770
|
newCollaboration?: {
|
|
771
|
-
|
|
771
|
+
id: string;
|
|
772
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
772
773
|
createdAt: string | Date;
|
|
773
774
|
updatedAt: string | Date;
|
|
774
|
-
id: string;
|
|
775
775
|
userId: string;
|
|
776
776
|
company?: {
|
|
777
|
-
createdAt: string | Date;
|
|
778
|
-
updatedAt: string | Date;
|
|
779
777
|
id: string;
|
|
780
778
|
name: string;
|
|
781
|
-
} | null | undefined;
|
|
782
|
-
client?: {
|
|
783
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
784
779
|
createdAt: string | Date;
|
|
785
780
|
updatedAt: string | Date;
|
|
781
|
+
} | null | undefined;
|
|
782
|
+
client?: {
|
|
786
783
|
id: string;
|
|
787
784
|
name: string;
|
|
785
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
786
|
+
createdAt: string | Date;
|
|
787
|
+
updatedAt: string | Date;
|
|
788
788
|
crn: string;
|
|
789
789
|
govLink: string;
|
|
790
790
|
director: string;
|
|
@@ -861,9 +861,9 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
861
861
|
}>, "many">>;
|
|
862
862
|
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
863
863
|
}, "strip", z.ZodTypeAny, {
|
|
864
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
864
865
|
description: string;
|
|
865
866
|
numberOfPositions: number;
|
|
866
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
867
867
|
pay: {
|
|
868
868
|
rateUnit: "DAILY" | "HOURLY";
|
|
869
869
|
rate: number;
|
|
@@ -896,7 +896,7 @@ export declare const CreateJobSchema: z.ZodObject<{
|
|
|
896
896
|
currentCollaboration: {
|
|
897
897
|
id: string;
|
|
898
898
|
};
|
|
899
|
-
status?: "
|
|
899
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
900
900
|
workHours?: number | undefined;
|
|
901
901
|
location?: {
|
|
902
902
|
address?: string | null | undefined;
|
|
@@ -960,9 +960,9 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
960
960
|
}>, "many">>;
|
|
961
961
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
962
962
|
}, "strip", z.ZodTypeAny, {
|
|
963
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
963
964
|
description?: string | undefined;
|
|
964
965
|
numberOfPositions?: number | undefined;
|
|
965
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
966
966
|
workHours?: number | undefined;
|
|
967
967
|
pay?: {
|
|
968
968
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -983,9 +983,9 @@ export declare const UpdateJobSchema: z.ZodObject<{
|
|
|
983
983
|
id: string;
|
|
984
984
|
} | undefined;
|
|
985
985
|
}, {
|
|
986
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
986
987
|
description?: string | undefined;
|
|
987
988
|
numberOfPositions?: number | undefined;
|
|
988
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
989
989
|
workHours?: number | undefined;
|
|
990
990
|
pay?: {
|
|
991
991
|
rate: number;
|
|
@@ -1014,7 +1014,20 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1014
1014
|
page: z.ZodDefault<z.ZodNumber>;
|
|
1015
1015
|
} & {
|
|
1016
1016
|
tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1017
|
+
qualificationFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1018
|
+
qualificationId: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
qualificationTypeId: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
}, "strip", z.ZodTypeAny, {
|
|
1021
|
+
qualificationId?: string | undefined;
|
|
1022
|
+
qualificationTypeId?: string | undefined;
|
|
1023
|
+
}, {
|
|
1024
|
+
qualificationId?: string | undefined;
|
|
1025
|
+
qualificationTypeId?: string | undefined;
|
|
1026
|
+
}>, "many">>;
|
|
1017
1027
|
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>>;
|
|
1028
|
+
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1029
|
+
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1030
|
+
companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1018
1031
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1019
1032
|
distance: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1020
1033
|
pay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -1042,37 +1055,51 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1042
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1043
1056
|
limit: number;
|
|
1044
1057
|
page: number;
|
|
1045
|
-
status?: "
|
|
1058
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
|
|
1046
1059
|
createdAt?: {
|
|
1047
1060
|
from?: string | null | undefined;
|
|
1048
1061
|
to?: string | null | undefined;
|
|
1049
1062
|
} | null | undefined;
|
|
1063
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
1064
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1065
|
+
companyId?: string | null | undefined;
|
|
1066
|
+
userId?: string | null | undefined;
|
|
1067
|
+
clientId?: string | null | undefined;
|
|
1050
1068
|
pay?: {
|
|
1051
1069
|
minRate?: number | null | undefined;
|
|
1052
1070
|
maxRate?: number | null | undefined;
|
|
1053
1071
|
} | null | undefined;
|
|
1054
1072
|
postcode?: string | null | undefined;
|
|
1055
1073
|
tradeId?: string | null | undefined;
|
|
1074
|
+
qualificationFilters?: {
|
|
1075
|
+
qualificationId?: string | undefined;
|
|
1076
|
+
qualificationTypeId?: string | undefined;
|
|
1077
|
+
}[] | undefined;
|
|
1056
1078
|
distance?: number | null | undefined;
|
|
1057
|
-
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1058
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1059
1079
|
}, {
|
|
1060
|
-
status?: "
|
|
1080
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
|
|
1061
1081
|
createdAt?: {
|
|
1062
1082
|
from?: string | null | undefined;
|
|
1063
1083
|
to?: string | null | undefined;
|
|
1064
1084
|
} | null | undefined;
|
|
1085
|
+
limit?: number | undefined;
|
|
1086
|
+
page?: number | undefined;
|
|
1087
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
1088
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1089
|
+
companyId?: string | null | undefined;
|
|
1090
|
+
userId?: string | null | undefined;
|
|
1091
|
+
clientId?: string | null | undefined;
|
|
1065
1092
|
pay?: {
|
|
1066
1093
|
minRate?: number | null | undefined;
|
|
1067
1094
|
maxRate?: number | null | undefined;
|
|
1068
1095
|
} | null | undefined;
|
|
1069
1096
|
postcode?: string | null | undefined;
|
|
1070
1097
|
tradeId?: string | null | undefined;
|
|
1071
|
-
|
|
1072
|
-
|
|
1098
|
+
qualificationFilters?: {
|
|
1099
|
+
qualificationId?: string | undefined;
|
|
1100
|
+
qualificationTypeId?: string | undefined;
|
|
1101
|
+
}[] | undefined;
|
|
1073
1102
|
distance?: number | null | undefined;
|
|
1074
|
-
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1075
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1076
1103
|
}>;
|
|
1077
1104
|
export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
1078
1105
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1144,15 +1171,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1144
1171
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1145
1172
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1146
1173
|
}, "strip", z.ZodTypeAny, {
|
|
1174
|
+
id: string;
|
|
1175
|
+
name: string;
|
|
1147
1176
|
createdAt: string;
|
|
1148
1177
|
updatedAt: string;
|
|
1178
|
+
}, {
|
|
1149
1179
|
id: string;
|
|
1150
1180
|
name: string;
|
|
1151
|
-
}, {
|
|
1152
1181
|
createdAt: string | Date;
|
|
1153
1182
|
updatedAt: string | Date;
|
|
1154
|
-
id: string;
|
|
1155
|
-
name: string;
|
|
1156
1183
|
}>>>;
|
|
1157
1184
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1158
1185
|
id: z.ZodString;
|
|
@@ -1188,11 +1215,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1188
1215
|
agentId: string;
|
|
1189
1216
|
}>>>;
|
|
1190
1217
|
}, "strip", z.ZodTypeAny, {
|
|
1191
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1192
|
-
createdAt: string;
|
|
1193
|
-
updatedAt: string;
|
|
1194
1218
|
id: string;
|
|
1195
1219
|
name: string;
|
|
1220
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1221
|
+
createdAt: string;
|
|
1222
|
+
updatedAt: string;
|
|
1196
1223
|
crn: string;
|
|
1197
1224
|
govLink: string;
|
|
1198
1225
|
director: string;
|
|
@@ -1207,11 +1234,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1207
1234
|
agentId: string;
|
|
1208
1235
|
} | null | undefined;
|
|
1209
1236
|
}, {
|
|
1210
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1211
|
-
createdAt: string | Date;
|
|
1212
|
-
updatedAt: string | Date;
|
|
1213
1237
|
id: string;
|
|
1214
1238
|
name: string;
|
|
1239
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1240
|
+
createdAt: string | Date;
|
|
1241
|
+
updatedAt: string | Date;
|
|
1215
1242
|
crn: string;
|
|
1216
1243
|
govLink: string;
|
|
1217
1244
|
director: string;
|
|
@@ -1255,15 +1282,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1255
1282
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1256
1283
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1257
1284
|
}, "strip", z.ZodTypeAny, {
|
|
1285
|
+
id: string;
|
|
1286
|
+
name: string;
|
|
1258
1287
|
createdAt: string;
|
|
1259
1288
|
updatedAt: string;
|
|
1289
|
+
}, {
|
|
1260
1290
|
id: string;
|
|
1261
1291
|
name: string;
|
|
1262
|
-
}, {
|
|
1263
1292
|
createdAt: string | Date;
|
|
1264
1293
|
updatedAt: string | Date;
|
|
1265
|
-
id: string;
|
|
1266
|
-
name: string;
|
|
1267
1294
|
}>>>;
|
|
1268
1295
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1269
1296
|
id: z.ZodString;
|
|
@@ -1299,11 +1326,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1299
1326
|
agentId: string;
|
|
1300
1327
|
}>>>;
|
|
1301
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1302
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1303
|
-
createdAt: string;
|
|
1304
|
-
updatedAt: string;
|
|
1305
1329
|
id: string;
|
|
1306
1330
|
name: string;
|
|
1331
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1332
|
+
createdAt: string;
|
|
1333
|
+
updatedAt: string;
|
|
1307
1334
|
crn: string;
|
|
1308
1335
|
govLink: string;
|
|
1309
1336
|
director: string;
|
|
@@ -1318,11 +1345,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1318
1345
|
agentId: string;
|
|
1319
1346
|
} | null | undefined;
|
|
1320
1347
|
}, {
|
|
1321
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1322
|
-
createdAt: string | Date;
|
|
1323
|
-
updatedAt: string | Date;
|
|
1324
1348
|
id: string;
|
|
1325
1349
|
name: string;
|
|
1350
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1351
|
+
createdAt: string | Date;
|
|
1352
|
+
updatedAt: string | Date;
|
|
1326
1353
|
crn: string;
|
|
1327
1354
|
govLink: string;
|
|
1328
1355
|
director: string;
|
|
@@ -1358,23 +1385,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1358
1385
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1359
1386
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1360
1387
|
}, "strip", z.ZodTypeAny, {
|
|
1361
|
-
|
|
1388
|
+
id: string;
|
|
1389
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1362
1390
|
createdAt: string;
|
|
1363
1391
|
updatedAt: string;
|
|
1364
|
-
id: string;
|
|
1365
1392
|
userId: string;
|
|
1366
1393
|
company?: {
|
|
1367
|
-
createdAt: string;
|
|
1368
|
-
updatedAt: string;
|
|
1369
1394
|
id: string;
|
|
1370
1395
|
name: string;
|
|
1371
|
-
} | null | undefined;
|
|
1372
|
-
client?: {
|
|
1373
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1374
1396
|
createdAt: string;
|
|
1375
1397
|
updatedAt: string;
|
|
1398
|
+
} | null | undefined;
|
|
1399
|
+
client?: {
|
|
1376
1400
|
id: string;
|
|
1377
1401
|
name: string;
|
|
1402
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1403
|
+
createdAt: string;
|
|
1404
|
+
updatedAt: string;
|
|
1378
1405
|
crn: string;
|
|
1379
1406
|
govLink: string;
|
|
1380
1407
|
director: string;
|
|
@@ -1396,23 +1423,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1396
1423
|
email: string;
|
|
1397
1424
|
} | null | undefined;
|
|
1398
1425
|
}, {
|
|
1399
|
-
|
|
1426
|
+
id: string;
|
|
1427
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1400
1428
|
createdAt: string | Date;
|
|
1401
1429
|
updatedAt: string | Date;
|
|
1402
|
-
id: string;
|
|
1403
1430
|
userId: string;
|
|
1404
1431
|
company?: {
|
|
1405
|
-
createdAt: string | Date;
|
|
1406
|
-
updatedAt: string | Date;
|
|
1407
1432
|
id: string;
|
|
1408
1433
|
name: string;
|
|
1409
|
-
} | null | undefined;
|
|
1410
|
-
client?: {
|
|
1411
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1412
1434
|
createdAt: string | Date;
|
|
1413
1435
|
updatedAt: string | Date;
|
|
1436
|
+
} | null | undefined;
|
|
1437
|
+
client?: {
|
|
1414
1438
|
id: string;
|
|
1415
1439
|
name: string;
|
|
1440
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1441
|
+
createdAt: string | Date;
|
|
1442
|
+
updatedAt: string | Date;
|
|
1416
1443
|
crn: string;
|
|
1417
1444
|
govLink: string;
|
|
1418
1445
|
director: string;
|
|
@@ -1435,23 +1462,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1435
1462
|
} | null | undefined;
|
|
1436
1463
|
}>>>;
|
|
1437
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1438
|
-
|
|
1465
|
+
id: string;
|
|
1466
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1439
1467
|
createdAt: string;
|
|
1440
1468
|
updatedAt: string;
|
|
1441
|
-
id: string;
|
|
1442
1469
|
userId: string;
|
|
1443
1470
|
company?: {
|
|
1444
|
-
createdAt: string;
|
|
1445
|
-
updatedAt: string;
|
|
1446
1471
|
id: string;
|
|
1447
1472
|
name: string;
|
|
1448
|
-
} | null | undefined;
|
|
1449
|
-
client?: {
|
|
1450
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1451
1473
|
createdAt: string;
|
|
1452
1474
|
updatedAt: string;
|
|
1475
|
+
} | null | undefined;
|
|
1476
|
+
client?: {
|
|
1453
1477
|
id: string;
|
|
1454
1478
|
name: string;
|
|
1479
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1480
|
+
createdAt: string;
|
|
1481
|
+
updatedAt: string;
|
|
1455
1482
|
crn: string;
|
|
1456
1483
|
govLink: string;
|
|
1457
1484
|
director: string;
|
|
@@ -1473,23 +1500,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1473
1500
|
email: string;
|
|
1474
1501
|
} | null | undefined;
|
|
1475
1502
|
newCollaboration?: {
|
|
1476
|
-
|
|
1503
|
+
id: string;
|
|
1504
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1477
1505
|
createdAt: string;
|
|
1478
1506
|
updatedAt: string;
|
|
1479
|
-
id: string;
|
|
1480
1507
|
userId: string;
|
|
1481
1508
|
company?: {
|
|
1482
|
-
createdAt: string;
|
|
1483
|
-
updatedAt: string;
|
|
1484
1509
|
id: string;
|
|
1485
1510
|
name: string;
|
|
1486
|
-
} | null | undefined;
|
|
1487
|
-
client?: {
|
|
1488
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1489
1511
|
createdAt: string;
|
|
1490
1512
|
updatedAt: string;
|
|
1513
|
+
} | null | undefined;
|
|
1514
|
+
client?: {
|
|
1491
1515
|
id: string;
|
|
1492
1516
|
name: string;
|
|
1517
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1518
|
+
createdAt: string;
|
|
1519
|
+
updatedAt: string;
|
|
1493
1520
|
crn: string;
|
|
1494
1521
|
govLink: string;
|
|
1495
1522
|
director: string;
|
|
@@ -1512,23 +1539,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1512
1539
|
} | null | undefined;
|
|
1513
1540
|
} | null | undefined;
|
|
1514
1541
|
}, {
|
|
1515
|
-
|
|
1542
|
+
id: string;
|
|
1543
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1516
1544
|
createdAt: string | Date;
|
|
1517
1545
|
updatedAt: string | Date;
|
|
1518
|
-
id: string;
|
|
1519
1546
|
userId: string;
|
|
1520
1547
|
company?: {
|
|
1521
|
-
createdAt: string | Date;
|
|
1522
|
-
updatedAt: string | Date;
|
|
1523
1548
|
id: string;
|
|
1524
1549
|
name: string;
|
|
1525
|
-
} | null | undefined;
|
|
1526
|
-
client?: {
|
|
1527
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1528
1550
|
createdAt: string | Date;
|
|
1529
1551
|
updatedAt: string | Date;
|
|
1552
|
+
} | null | undefined;
|
|
1553
|
+
client?: {
|
|
1530
1554
|
id: string;
|
|
1531
1555
|
name: string;
|
|
1556
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1557
|
+
createdAt: string | Date;
|
|
1558
|
+
updatedAt: string | Date;
|
|
1532
1559
|
crn: string;
|
|
1533
1560
|
govLink: string;
|
|
1534
1561
|
director: string;
|
|
@@ -1550,23 +1577,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1550
1577
|
email: string;
|
|
1551
1578
|
} | null | undefined;
|
|
1552
1579
|
newCollaboration?: {
|
|
1553
|
-
|
|
1580
|
+
id: string;
|
|
1581
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1554
1582
|
createdAt: string | Date;
|
|
1555
1583
|
updatedAt: string | Date;
|
|
1556
|
-
id: string;
|
|
1557
1584
|
userId: string;
|
|
1558
1585
|
company?: {
|
|
1559
|
-
createdAt: string | Date;
|
|
1560
|
-
updatedAt: string | Date;
|
|
1561
1586
|
id: string;
|
|
1562
1587
|
name: string;
|
|
1563
|
-
} | null | undefined;
|
|
1564
|
-
client?: {
|
|
1565
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1566
1588
|
createdAt: string | Date;
|
|
1567
1589
|
updatedAt: string | Date;
|
|
1590
|
+
} | null | undefined;
|
|
1591
|
+
client?: {
|
|
1568
1592
|
id: string;
|
|
1569
1593
|
name: string;
|
|
1594
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1595
|
+
createdAt: string | Date;
|
|
1596
|
+
updatedAt: string | Date;
|
|
1570
1597
|
crn: string;
|
|
1571
1598
|
govLink: string;
|
|
1572
1599
|
director: string;
|
|
@@ -1592,12 +1619,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1592
1619
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1593
1620
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1594
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1622
|
+
id: string;
|
|
1623
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1598
1624
|
createdAt: string;
|
|
1599
1625
|
updatedAt: string;
|
|
1600
|
-
|
|
1626
|
+
description: string;
|
|
1627
|
+
numberOfPositions: number;
|
|
1601
1628
|
pay: {
|
|
1602
1629
|
rateUnit: "DAILY" | "HOURLY";
|
|
1603
1630
|
rate: number;
|
|
@@ -1621,24 +1648,24 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1621
1648
|
areaCovered?: string | null | undefined;
|
|
1622
1649
|
} | null | undefined;
|
|
1623
1650
|
currentCollaboration?: {
|
|
1624
|
-
|
|
1651
|
+
id: string;
|
|
1652
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1625
1653
|
createdAt: string;
|
|
1626
1654
|
updatedAt: string;
|
|
1627
|
-
id: string;
|
|
1628
1655
|
userId: string;
|
|
1629
1656
|
company?: {
|
|
1630
|
-
createdAt: string;
|
|
1631
|
-
updatedAt: string;
|
|
1632
1657
|
id: string;
|
|
1633
1658
|
name: string;
|
|
1634
|
-
} | null | undefined;
|
|
1635
|
-
client?: {
|
|
1636
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1637
1659
|
createdAt: string;
|
|
1638
1660
|
updatedAt: string;
|
|
1661
|
+
} | null | undefined;
|
|
1662
|
+
client?: {
|
|
1639
1663
|
id: string;
|
|
1640
1664
|
name: string;
|
|
1641
|
-
|
|
1665
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1666
|
+
createdAt: string;
|
|
1667
|
+
updatedAt: string;
|
|
1668
|
+
crn: string;
|
|
1642
1669
|
govLink: string;
|
|
1643
1670
|
director: string;
|
|
1644
1671
|
blacklistReason?: string | null | undefined;
|
|
@@ -1659,23 +1686,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1659
1686
|
email: string;
|
|
1660
1687
|
} | null | undefined;
|
|
1661
1688
|
newCollaboration?: {
|
|
1662
|
-
|
|
1689
|
+
id: string;
|
|
1690
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1663
1691
|
createdAt: string;
|
|
1664
1692
|
updatedAt: string;
|
|
1665
|
-
id: string;
|
|
1666
1693
|
userId: string;
|
|
1667
1694
|
company?: {
|
|
1668
|
-
createdAt: string;
|
|
1669
|
-
updatedAt: string;
|
|
1670
1695
|
id: string;
|
|
1671
1696
|
name: string;
|
|
1672
|
-
} | null | undefined;
|
|
1673
|
-
client?: {
|
|
1674
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1675
1697
|
createdAt: string;
|
|
1676
1698
|
updatedAt: string;
|
|
1699
|
+
} | null | undefined;
|
|
1700
|
+
client?: {
|
|
1677
1701
|
id: string;
|
|
1678
1702
|
name: string;
|
|
1703
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1704
|
+
createdAt: string;
|
|
1705
|
+
updatedAt: string;
|
|
1679
1706
|
crn: string;
|
|
1680
1707
|
govLink: string;
|
|
1681
1708
|
director: string;
|
|
@@ -1699,12 +1726,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1699
1726
|
} | null | undefined;
|
|
1700
1727
|
} | null | undefined;
|
|
1701
1728
|
}, {
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1729
|
+
id: string;
|
|
1730
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1705
1731
|
createdAt: string | Date;
|
|
1706
1732
|
updatedAt: string | Date;
|
|
1707
|
-
|
|
1733
|
+
description: string;
|
|
1734
|
+
numberOfPositions: number;
|
|
1708
1735
|
pay: {
|
|
1709
1736
|
rateUnit: "DAILY" | "HOURLY";
|
|
1710
1737
|
rate: number;
|
|
@@ -1728,23 +1755,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1728
1755
|
qualificationTypeId?: string | null | undefined;
|
|
1729
1756
|
}[] | undefined;
|
|
1730
1757
|
currentCollaboration?: {
|
|
1731
|
-
|
|
1758
|
+
id: string;
|
|
1759
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1732
1760
|
createdAt: string | Date;
|
|
1733
1761
|
updatedAt: string | Date;
|
|
1734
|
-
id: string;
|
|
1735
1762
|
userId: string;
|
|
1736
1763
|
company?: {
|
|
1737
|
-
createdAt: string | Date;
|
|
1738
|
-
updatedAt: string | Date;
|
|
1739
1764
|
id: string;
|
|
1740
1765
|
name: string;
|
|
1741
|
-
} | null | undefined;
|
|
1742
|
-
client?: {
|
|
1743
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1744
1766
|
createdAt: string | Date;
|
|
1745
1767
|
updatedAt: string | Date;
|
|
1768
|
+
} | null | undefined;
|
|
1769
|
+
client?: {
|
|
1746
1770
|
id: string;
|
|
1747
1771
|
name: string;
|
|
1772
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1773
|
+
createdAt: string | Date;
|
|
1774
|
+
updatedAt: string | Date;
|
|
1748
1775
|
crn: string;
|
|
1749
1776
|
govLink: string;
|
|
1750
1777
|
director: string;
|
|
@@ -1766,23 +1793,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1766
1793
|
email: string;
|
|
1767
1794
|
} | null | undefined;
|
|
1768
1795
|
newCollaboration?: {
|
|
1769
|
-
|
|
1796
|
+
id: string;
|
|
1797
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1770
1798
|
createdAt: string | Date;
|
|
1771
1799
|
updatedAt: string | Date;
|
|
1772
|
-
id: string;
|
|
1773
1800
|
userId: string;
|
|
1774
1801
|
company?: {
|
|
1775
|
-
createdAt: string | Date;
|
|
1776
|
-
updatedAt: string | Date;
|
|
1777
1802
|
id: string;
|
|
1778
1803
|
name: string;
|
|
1779
|
-
} | null | undefined;
|
|
1780
|
-
client?: {
|
|
1781
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1782
1804
|
createdAt: string | Date;
|
|
1783
1805
|
updatedAt: string | Date;
|
|
1806
|
+
} | null | undefined;
|
|
1807
|
+
client?: {
|
|
1784
1808
|
id: string;
|
|
1785
1809
|
name: string;
|
|
1810
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1811
|
+
createdAt: string | Date;
|
|
1812
|
+
updatedAt: string | Date;
|
|
1786
1813
|
crn: string;
|
|
1787
1814
|
govLink: string;
|
|
1788
1815
|
director: string;
|
|
@@ -1814,12 +1841,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1814
1841
|
}, "strip", z.ZodTypeAny, {
|
|
1815
1842
|
limit: number;
|
|
1816
1843
|
items: {
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1844
|
+
id: string;
|
|
1845
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1820
1846
|
createdAt: string;
|
|
1821
1847
|
updatedAt: string;
|
|
1822
|
-
|
|
1848
|
+
description: string;
|
|
1849
|
+
numberOfPositions: number;
|
|
1823
1850
|
pay: {
|
|
1824
1851
|
rateUnit: "DAILY" | "HOURLY";
|
|
1825
1852
|
rate: number;
|
|
@@ -1843,23 +1870,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1843
1870
|
areaCovered?: string | null | undefined;
|
|
1844
1871
|
} | null | undefined;
|
|
1845
1872
|
currentCollaboration?: {
|
|
1846
|
-
|
|
1873
|
+
id: string;
|
|
1874
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1847
1875
|
createdAt: string;
|
|
1848
1876
|
updatedAt: string;
|
|
1849
|
-
id: string;
|
|
1850
1877
|
userId: string;
|
|
1851
1878
|
company?: {
|
|
1852
|
-
createdAt: string;
|
|
1853
|
-
updatedAt: string;
|
|
1854
1879
|
id: string;
|
|
1855
1880
|
name: string;
|
|
1856
|
-
} | null | undefined;
|
|
1857
|
-
client?: {
|
|
1858
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1859
1881
|
createdAt: string;
|
|
1860
1882
|
updatedAt: string;
|
|
1883
|
+
} | null | undefined;
|
|
1884
|
+
client?: {
|
|
1861
1885
|
id: string;
|
|
1862
1886
|
name: string;
|
|
1887
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1888
|
+
createdAt: string;
|
|
1889
|
+
updatedAt: string;
|
|
1863
1890
|
crn: string;
|
|
1864
1891
|
govLink: string;
|
|
1865
1892
|
director: string;
|
|
@@ -1881,23 +1908,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1881
1908
|
email: string;
|
|
1882
1909
|
} | null | undefined;
|
|
1883
1910
|
newCollaboration?: {
|
|
1884
|
-
|
|
1911
|
+
id: string;
|
|
1912
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1885
1913
|
createdAt: string;
|
|
1886
1914
|
updatedAt: string;
|
|
1887
|
-
id: string;
|
|
1888
1915
|
userId: string;
|
|
1889
1916
|
company?: {
|
|
1890
|
-
createdAt: string;
|
|
1891
|
-
updatedAt: string;
|
|
1892
1917
|
id: string;
|
|
1893
1918
|
name: string;
|
|
1894
|
-
} | null | undefined;
|
|
1895
|
-
client?: {
|
|
1896
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1897
1919
|
createdAt: string;
|
|
1898
1920
|
updatedAt: string;
|
|
1921
|
+
} | null | undefined;
|
|
1922
|
+
client?: {
|
|
1899
1923
|
id: string;
|
|
1900
1924
|
name: string;
|
|
1925
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1926
|
+
createdAt: string;
|
|
1927
|
+
updatedAt: string;
|
|
1901
1928
|
crn: string;
|
|
1902
1929
|
govLink: string;
|
|
1903
1930
|
director: string;
|
|
@@ -1928,12 +1955,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1928
1955
|
}, {
|
|
1929
1956
|
limit: number;
|
|
1930
1957
|
items: {
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1958
|
+
id: string;
|
|
1959
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1934
1960
|
createdAt: string | Date;
|
|
1935
1961
|
updatedAt: string | Date;
|
|
1936
|
-
|
|
1962
|
+
description: string;
|
|
1963
|
+
numberOfPositions: number;
|
|
1937
1964
|
pay: {
|
|
1938
1965
|
rateUnit: "DAILY" | "HOURLY";
|
|
1939
1966
|
rate: number;
|
|
@@ -1957,23 +1984,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1957
1984
|
qualificationTypeId?: string | null | undefined;
|
|
1958
1985
|
}[] | undefined;
|
|
1959
1986
|
currentCollaboration?: {
|
|
1960
|
-
|
|
1987
|
+
id: string;
|
|
1988
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1961
1989
|
createdAt: string | Date;
|
|
1962
1990
|
updatedAt: string | Date;
|
|
1963
|
-
id: string;
|
|
1964
1991
|
userId: string;
|
|
1965
1992
|
company?: {
|
|
1966
|
-
createdAt: string | Date;
|
|
1967
|
-
updatedAt: string | Date;
|
|
1968
1993
|
id: string;
|
|
1969
1994
|
name: string;
|
|
1970
|
-
} | null | undefined;
|
|
1971
|
-
client?: {
|
|
1972
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1973
1995
|
createdAt: string | Date;
|
|
1974
1996
|
updatedAt: string | Date;
|
|
1997
|
+
} | null | undefined;
|
|
1998
|
+
client?: {
|
|
1975
1999
|
id: string;
|
|
1976
2000
|
name: string;
|
|
2001
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2002
|
+
createdAt: string | Date;
|
|
2003
|
+
updatedAt: string | Date;
|
|
1977
2004
|
crn: string;
|
|
1978
2005
|
govLink: string;
|
|
1979
2006
|
director: string;
|
|
@@ -1995,23 +2022,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1995
2022
|
email: string;
|
|
1996
2023
|
} | null | undefined;
|
|
1997
2024
|
newCollaboration?: {
|
|
1998
|
-
|
|
2025
|
+
id: string;
|
|
2026
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1999
2027
|
createdAt: string | Date;
|
|
2000
2028
|
updatedAt: string | Date;
|
|
2001
|
-
id: string;
|
|
2002
2029
|
userId: string;
|
|
2003
2030
|
company?: {
|
|
2004
|
-
createdAt: string | Date;
|
|
2005
|
-
updatedAt: string | Date;
|
|
2006
2031
|
id: string;
|
|
2007
2032
|
name: string;
|
|
2008
|
-
} | null | undefined;
|
|
2009
|
-
client?: {
|
|
2010
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2011
2033
|
createdAt: string | Date;
|
|
2012
2034
|
updatedAt: string | Date;
|
|
2035
|
+
} | null | undefined;
|
|
2036
|
+
client?: {
|
|
2013
2037
|
id: string;
|
|
2014
2038
|
name: string;
|
|
2039
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2040
|
+
createdAt: string | Date;
|
|
2041
|
+
updatedAt: string | Date;
|
|
2015
2042
|
crn: string;
|
|
2016
2043
|
govLink: string;
|
|
2017
2044
|
director: string;
|
|
@@ -2105,9 +2132,9 @@ export declare const jobsContractRouter: {
|
|
|
2105
2132
|
}>, "many">>;
|
|
2106
2133
|
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
2107
2134
|
}, "strip", z.ZodTypeAny, {
|
|
2135
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
2108
2136
|
description: string;
|
|
2109
2137
|
numberOfPositions: number;
|
|
2110
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2111
2138
|
pay: {
|
|
2112
2139
|
rateUnit: "DAILY" | "HOURLY";
|
|
2113
2140
|
rate: number;
|
|
@@ -2140,7 +2167,7 @@ export declare const jobsContractRouter: {
|
|
|
2140
2167
|
currentCollaboration: {
|
|
2141
2168
|
id: string;
|
|
2142
2169
|
};
|
|
2143
|
-
status?: "
|
|
2170
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
2144
2171
|
workHours?: number | undefined;
|
|
2145
2172
|
location?: {
|
|
2146
2173
|
address?: string | null | undefined;
|
|
@@ -2322,15 +2349,15 @@ export declare const jobsContractRouter: {
|
|
|
2322
2349
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2323
2350
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2324
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2352
|
+
id: string;
|
|
2353
|
+
name: string;
|
|
2325
2354
|
createdAt: string;
|
|
2326
2355
|
updatedAt: string;
|
|
2356
|
+
}, {
|
|
2327
2357
|
id: string;
|
|
2328
2358
|
name: string;
|
|
2329
|
-
}, {
|
|
2330
2359
|
createdAt: string | Date;
|
|
2331
2360
|
updatedAt: string | Date;
|
|
2332
|
-
id: string;
|
|
2333
|
-
name: string;
|
|
2334
2361
|
}>>>;
|
|
2335
2362
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2336
2363
|
id: z.ZodString;
|
|
@@ -2366,11 +2393,11 @@ export declare const jobsContractRouter: {
|
|
|
2366
2393
|
agentId: string;
|
|
2367
2394
|
}>>>;
|
|
2368
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2369
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2370
|
-
createdAt: string;
|
|
2371
|
-
updatedAt: string;
|
|
2372
2396
|
id: string;
|
|
2373
2397
|
name: string;
|
|
2398
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2399
|
+
createdAt: string;
|
|
2400
|
+
updatedAt: string;
|
|
2374
2401
|
crn: string;
|
|
2375
2402
|
govLink: string;
|
|
2376
2403
|
director: string;
|
|
@@ -2385,11 +2412,11 @@ export declare const jobsContractRouter: {
|
|
|
2385
2412
|
agentId: string;
|
|
2386
2413
|
} | null | undefined;
|
|
2387
2414
|
}, {
|
|
2388
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2389
|
-
createdAt: string | Date;
|
|
2390
|
-
updatedAt: string | Date;
|
|
2391
2415
|
id: string;
|
|
2392
2416
|
name: string;
|
|
2417
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2418
|
+
createdAt: string | Date;
|
|
2419
|
+
updatedAt: string | Date;
|
|
2393
2420
|
crn: string;
|
|
2394
2421
|
govLink: string;
|
|
2395
2422
|
director: string;
|
|
@@ -2433,15 +2460,15 @@ export declare const jobsContractRouter: {
|
|
|
2433
2460
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2434
2461
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2435
2462
|
}, "strip", z.ZodTypeAny, {
|
|
2463
|
+
id: string;
|
|
2464
|
+
name: string;
|
|
2436
2465
|
createdAt: string;
|
|
2437
2466
|
updatedAt: string;
|
|
2467
|
+
}, {
|
|
2438
2468
|
id: string;
|
|
2439
2469
|
name: string;
|
|
2440
|
-
}, {
|
|
2441
2470
|
createdAt: string | Date;
|
|
2442
2471
|
updatedAt: string | Date;
|
|
2443
|
-
id: string;
|
|
2444
|
-
name: string;
|
|
2445
2472
|
}>>>;
|
|
2446
2473
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2447
2474
|
id: z.ZodString;
|
|
@@ -2477,11 +2504,11 @@ export declare const jobsContractRouter: {
|
|
|
2477
2504
|
agentId: string;
|
|
2478
2505
|
}>>>;
|
|
2479
2506
|
}, "strip", z.ZodTypeAny, {
|
|
2480
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2481
|
-
createdAt: string;
|
|
2482
|
-
updatedAt: string;
|
|
2483
2507
|
id: string;
|
|
2484
2508
|
name: string;
|
|
2509
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2510
|
+
createdAt: string;
|
|
2511
|
+
updatedAt: string;
|
|
2485
2512
|
crn: string;
|
|
2486
2513
|
govLink: string;
|
|
2487
2514
|
director: string;
|
|
@@ -2496,11 +2523,11 @@ export declare const jobsContractRouter: {
|
|
|
2496
2523
|
agentId: string;
|
|
2497
2524
|
} | null | undefined;
|
|
2498
2525
|
}, {
|
|
2499
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2500
|
-
createdAt: string | Date;
|
|
2501
|
-
updatedAt: string | Date;
|
|
2502
2526
|
id: string;
|
|
2503
2527
|
name: string;
|
|
2528
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2529
|
+
createdAt: string | Date;
|
|
2530
|
+
updatedAt: string | Date;
|
|
2504
2531
|
crn: string;
|
|
2505
2532
|
govLink: string;
|
|
2506
2533
|
director: string;
|
|
@@ -2536,23 +2563,23 @@ export declare const jobsContractRouter: {
|
|
|
2536
2563
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2537
2564
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2538
2565
|
}, "strip", z.ZodTypeAny, {
|
|
2539
|
-
|
|
2566
|
+
id: string;
|
|
2567
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2540
2568
|
createdAt: string;
|
|
2541
2569
|
updatedAt: string;
|
|
2542
|
-
id: string;
|
|
2543
2570
|
userId: string;
|
|
2544
2571
|
company?: {
|
|
2545
|
-
createdAt: string;
|
|
2546
|
-
updatedAt: string;
|
|
2547
2572
|
id: string;
|
|
2548
2573
|
name: string;
|
|
2549
|
-
} | null | undefined;
|
|
2550
|
-
client?: {
|
|
2551
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2552
2574
|
createdAt: string;
|
|
2553
2575
|
updatedAt: string;
|
|
2576
|
+
} | null | undefined;
|
|
2577
|
+
client?: {
|
|
2554
2578
|
id: string;
|
|
2555
2579
|
name: string;
|
|
2580
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2581
|
+
createdAt: string;
|
|
2582
|
+
updatedAt: string;
|
|
2556
2583
|
crn: string;
|
|
2557
2584
|
govLink: string;
|
|
2558
2585
|
director: string;
|
|
@@ -2574,23 +2601,23 @@ export declare const jobsContractRouter: {
|
|
|
2574
2601
|
email: string;
|
|
2575
2602
|
} | null | undefined;
|
|
2576
2603
|
}, {
|
|
2577
|
-
|
|
2604
|
+
id: string;
|
|
2605
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2578
2606
|
createdAt: string | Date;
|
|
2579
2607
|
updatedAt: string | Date;
|
|
2580
|
-
id: string;
|
|
2581
2608
|
userId: string;
|
|
2582
2609
|
company?: {
|
|
2583
|
-
createdAt: string | Date;
|
|
2584
|
-
updatedAt: string | Date;
|
|
2585
2610
|
id: string;
|
|
2586
2611
|
name: string;
|
|
2587
|
-
} | null | undefined;
|
|
2588
|
-
client?: {
|
|
2589
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2590
2612
|
createdAt: string | Date;
|
|
2591
2613
|
updatedAt: string | Date;
|
|
2614
|
+
} | null | undefined;
|
|
2615
|
+
client?: {
|
|
2592
2616
|
id: string;
|
|
2593
2617
|
name: string;
|
|
2618
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2619
|
+
createdAt: string | Date;
|
|
2620
|
+
updatedAt: string | Date;
|
|
2594
2621
|
crn: string;
|
|
2595
2622
|
govLink: string;
|
|
2596
2623
|
director: string;
|
|
@@ -2613,23 +2640,23 @@ export declare const jobsContractRouter: {
|
|
|
2613
2640
|
} | null | undefined;
|
|
2614
2641
|
}>>>;
|
|
2615
2642
|
}, "strip", z.ZodTypeAny, {
|
|
2616
|
-
|
|
2643
|
+
id: string;
|
|
2644
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2617
2645
|
createdAt: string;
|
|
2618
2646
|
updatedAt: string;
|
|
2619
|
-
id: string;
|
|
2620
2647
|
userId: string;
|
|
2621
2648
|
company?: {
|
|
2622
|
-
createdAt: string;
|
|
2623
|
-
updatedAt: string;
|
|
2624
2649
|
id: string;
|
|
2625
2650
|
name: string;
|
|
2626
|
-
} | null | undefined;
|
|
2627
|
-
client?: {
|
|
2628
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2629
2651
|
createdAt: string;
|
|
2630
2652
|
updatedAt: string;
|
|
2653
|
+
} | null | undefined;
|
|
2654
|
+
client?: {
|
|
2631
2655
|
id: string;
|
|
2632
2656
|
name: string;
|
|
2657
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2658
|
+
createdAt: string;
|
|
2659
|
+
updatedAt: string;
|
|
2633
2660
|
crn: string;
|
|
2634
2661
|
govLink: string;
|
|
2635
2662
|
director: string;
|
|
@@ -2651,23 +2678,23 @@ export declare const jobsContractRouter: {
|
|
|
2651
2678
|
email: string;
|
|
2652
2679
|
} | null | undefined;
|
|
2653
2680
|
newCollaboration?: {
|
|
2654
|
-
|
|
2681
|
+
id: string;
|
|
2682
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2655
2683
|
createdAt: string;
|
|
2656
2684
|
updatedAt: string;
|
|
2657
|
-
id: string;
|
|
2658
2685
|
userId: string;
|
|
2659
2686
|
company?: {
|
|
2660
|
-
createdAt: string;
|
|
2661
|
-
updatedAt: string;
|
|
2662
2687
|
id: string;
|
|
2663
2688
|
name: string;
|
|
2664
|
-
} | null | undefined;
|
|
2665
|
-
client?: {
|
|
2666
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2667
2689
|
createdAt: string;
|
|
2668
2690
|
updatedAt: string;
|
|
2691
|
+
} | null | undefined;
|
|
2692
|
+
client?: {
|
|
2669
2693
|
id: string;
|
|
2670
2694
|
name: string;
|
|
2695
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2696
|
+
createdAt: string;
|
|
2697
|
+
updatedAt: string;
|
|
2671
2698
|
crn: string;
|
|
2672
2699
|
govLink: string;
|
|
2673
2700
|
director: string;
|
|
@@ -2690,23 +2717,23 @@ export declare const jobsContractRouter: {
|
|
|
2690
2717
|
} | null | undefined;
|
|
2691
2718
|
} | null | undefined;
|
|
2692
2719
|
}, {
|
|
2693
|
-
|
|
2720
|
+
id: string;
|
|
2721
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2694
2722
|
createdAt: string | Date;
|
|
2695
2723
|
updatedAt: string | Date;
|
|
2696
|
-
id: string;
|
|
2697
2724
|
userId: string;
|
|
2698
2725
|
company?: {
|
|
2699
|
-
createdAt: string | Date;
|
|
2700
|
-
updatedAt: string | Date;
|
|
2701
2726
|
id: string;
|
|
2702
2727
|
name: string;
|
|
2703
|
-
} | null | undefined;
|
|
2704
|
-
client?: {
|
|
2705
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2706
2728
|
createdAt: string | Date;
|
|
2707
2729
|
updatedAt: string | Date;
|
|
2730
|
+
} | null | undefined;
|
|
2731
|
+
client?: {
|
|
2708
2732
|
id: string;
|
|
2709
2733
|
name: string;
|
|
2734
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2735
|
+
createdAt: string | Date;
|
|
2736
|
+
updatedAt: string | Date;
|
|
2710
2737
|
crn: string;
|
|
2711
2738
|
govLink: string;
|
|
2712
2739
|
director: string;
|
|
@@ -2728,23 +2755,23 @@ export declare const jobsContractRouter: {
|
|
|
2728
2755
|
email: string;
|
|
2729
2756
|
} | null | undefined;
|
|
2730
2757
|
newCollaboration?: {
|
|
2731
|
-
|
|
2758
|
+
id: string;
|
|
2759
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2732
2760
|
createdAt: string | Date;
|
|
2733
2761
|
updatedAt: string | Date;
|
|
2734
|
-
id: string;
|
|
2735
2762
|
userId: string;
|
|
2736
2763
|
company?: {
|
|
2737
|
-
createdAt: string | Date;
|
|
2738
|
-
updatedAt: string | Date;
|
|
2739
2764
|
id: string;
|
|
2740
2765
|
name: string;
|
|
2741
|
-
} | null | undefined;
|
|
2742
|
-
client?: {
|
|
2743
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2744
2766
|
createdAt: string | Date;
|
|
2745
2767
|
updatedAt: string | Date;
|
|
2768
|
+
} | null | undefined;
|
|
2769
|
+
client?: {
|
|
2746
2770
|
id: string;
|
|
2747
2771
|
name: string;
|
|
2772
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2773
|
+
createdAt: string | Date;
|
|
2774
|
+
updatedAt: string | Date;
|
|
2748
2775
|
crn: string;
|
|
2749
2776
|
govLink: string;
|
|
2750
2777
|
director: string;
|
|
@@ -2770,12 +2797,12 @@ export declare const jobsContractRouter: {
|
|
|
2770
2797
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2771
2798
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2772
2799
|
}, "strip", z.ZodTypeAny, {
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2800
|
+
id: string;
|
|
2801
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
2776
2802
|
createdAt: string;
|
|
2777
2803
|
updatedAt: string;
|
|
2778
|
-
|
|
2804
|
+
description: string;
|
|
2805
|
+
numberOfPositions: number;
|
|
2779
2806
|
pay: {
|
|
2780
2807
|
rateUnit: "DAILY" | "HOURLY";
|
|
2781
2808
|
rate: number;
|
|
@@ -2799,23 +2826,23 @@ export declare const jobsContractRouter: {
|
|
|
2799
2826
|
areaCovered?: string | null | undefined;
|
|
2800
2827
|
} | null | undefined;
|
|
2801
2828
|
currentCollaboration?: {
|
|
2802
|
-
|
|
2829
|
+
id: string;
|
|
2830
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2803
2831
|
createdAt: string;
|
|
2804
2832
|
updatedAt: string;
|
|
2805
|
-
id: string;
|
|
2806
2833
|
userId: string;
|
|
2807
2834
|
company?: {
|
|
2808
|
-
createdAt: string;
|
|
2809
|
-
updatedAt: string;
|
|
2810
2835
|
id: string;
|
|
2811
2836
|
name: string;
|
|
2812
|
-
} | null | undefined;
|
|
2813
|
-
client?: {
|
|
2814
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2815
2837
|
createdAt: string;
|
|
2816
2838
|
updatedAt: string;
|
|
2839
|
+
} | null | undefined;
|
|
2840
|
+
client?: {
|
|
2817
2841
|
id: string;
|
|
2818
2842
|
name: string;
|
|
2843
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2844
|
+
createdAt: string;
|
|
2845
|
+
updatedAt: string;
|
|
2819
2846
|
crn: string;
|
|
2820
2847
|
govLink: string;
|
|
2821
2848
|
director: string;
|
|
@@ -2837,23 +2864,23 @@ export declare const jobsContractRouter: {
|
|
|
2837
2864
|
email: string;
|
|
2838
2865
|
} | null | undefined;
|
|
2839
2866
|
newCollaboration?: {
|
|
2840
|
-
|
|
2867
|
+
id: string;
|
|
2868
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2841
2869
|
createdAt: string;
|
|
2842
2870
|
updatedAt: string;
|
|
2843
|
-
id: string;
|
|
2844
2871
|
userId: string;
|
|
2845
2872
|
company?: {
|
|
2846
|
-
createdAt: string;
|
|
2847
|
-
updatedAt: string;
|
|
2848
2873
|
id: string;
|
|
2849
2874
|
name: string;
|
|
2850
|
-
} | null | undefined;
|
|
2851
|
-
client?: {
|
|
2852
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2853
2875
|
createdAt: string;
|
|
2854
2876
|
updatedAt: string;
|
|
2877
|
+
} | null | undefined;
|
|
2878
|
+
client?: {
|
|
2855
2879
|
id: string;
|
|
2856
2880
|
name: string;
|
|
2881
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2882
|
+
createdAt: string;
|
|
2883
|
+
updatedAt: string;
|
|
2857
2884
|
crn: string;
|
|
2858
2885
|
govLink: string;
|
|
2859
2886
|
director: string;
|
|
@@ -2877,12 +2904,12 @@ export declare const jobsContractRouter: {
|
|
|
2877
2904
|
} | null | undefined;
|
|
2878
2905
|
} | null | undefined;
|
|
2879
2906
|
}, {
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2907
|
+
id: string;
|
|
2908
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
2883
2909
|
createdAt: string | Date;
|
|
2884
2910
|
updatedAt: string | Date;
|
|
2885
|
-
|
|
2911
|
+
description: string;
|
|
2912
|
+
numberOfPositions: number;
|
|
2886
2913
|
pay: {
|
|
2887
2914
|
rateUnit: "DAILY" | "HOURLY";
|
|
2888
2915
|
rate: number;
|
|
@@ -2906,23 +2933,23 @@ export declare const jobsContractRouter: {
|
|
|
2906
2933
|
qualificationTypeId?: string | null | undefined;
|
|
2907
2934
|
}[] | undefined;
|
|
2908
2935
|
currentCollaboration?: {
|
|
2909
|
-
|
|
2936
|
+
id: string;
|
|
2937
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2910
2938
|
createdAt: string | Date;
|
|
2911
2939
|
updatedAt: string | Date;
|
|
2912
|
-
id: string;
|
|
2913
2940
|
userId: string;
|
|
2914
2941
|
company?: {
|
|
2915
|
-
createdAt: string | Date;
|
|
2916
|
-
updatedAt: string | Date;
|
|
2917
2942
|
id: string;
|
|
2918
2943
|
name: string;
|
|
2919
|
-
} | null | undefined;
|
|
2920
|
-
client?: {
|
|
2921
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2922
2944
|
createdAt: string | Date;
|
|
2923
2945
|
updatedAt: string | Date;
|
|
2946
|
+
} | null | undefined;
|
|
2947
|
+
client?: {
|
|
2924
2948
|
id: string;
|
|
2925
2949
|
name: string;
|
|
2950
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2951
|
+
createdAt: string | Date;
|
|
2952
|
+
updatedAt: string | Date;
|
|
2926
2953
|
crn: string;
|
|
2927
2954
|
govLink: string;
|
|
2928
2955
|
director: string;
|
|
@@ -2944,23 +2971,23 @@ export declare const jobsContractRouter: {
|
|
|
2944
2971
|
email: string;
|
|
2945
2972
|
} | null | undefined;
|
|
2946
2973
|
newCollaboration?: {
|
|
2947
|
-
|
|
2974
|
+
id: string;
|
|
2975
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2948
2976
|
createdAt: string | Date;
|
|
2949
2977
|
updatedAt: string | Date;
|
|
2950
|
-
id: string;
|
|
2951
2978
|
userId: string;
|
|
2952
2979
|
company?: {
|
|
2953
|
-
createdAt: string | Date;
|
|
2954
|
-
updatedAt: string | Date;
|
|
2955
2980
|
id: string;
|
|
2956
2981
|
name: string;
|
|
2957
|
-
} | null | undefined;
|
|
2958
|
-
client?: {
|
|
2959
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2960
2982
|
createdAt: string | Date;
|
|
2961
2983
|
updatedAt: string | Date;
|
|
2984
|
+
} | null | undefined;
|
|
2985
|
+
client?: {
|
|
2962
2986
|
id: string;
|
|
2963
2987
|
name: string;
|
|
2988
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2989
|
+
createdAt: string | Date;
|
|
2990
|
+
updatedAt: string | Date;
|
|
2964
2991
|
crn: string;
|
|
2965
2992
|
govLink: string;
|
|
2966
2993
|
director: string;
|
|
@@ -3023,7 +3050,20 @@ export declare const jobsContractRouter: {
|
|
|
3023
3050
|
page: z.ZodDefault<z.ZodNumber>;
|
|
3024
3051
|
} & {
|
|
3025
3052
|
tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3053
|
+
qualificationFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3054
|
+
qualificationId: z.ZodOptional<z.ZodString>;
|
|
3055
|
+
qualificationTypeId: z.ZodOptional<z.ZodString>;
|
|
3056
|
+
}, "strip", z.ZodTypeAny, {
|
|
3057
|
+
qualificationId?: string | undefined;
|
|
3058
|
+
qualificationTypeId?: string | undefined;
|
|
3059
|
+
}, {
|
|
3060
|
+
qualificationId?: string | undefined;
|
|
3061
|
+
qualificationTypeId?: string | undefined;
|
|
3062
|
+
}>, "many">>;
|
|
3026
3063
|
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>>;
|
|
3064
|
+
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3065
|
+
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3066
|
+
companyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3027
3067
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3028
3068
|
distance: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3029
3069
|
pay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -3051,37 +3091,51 @@ export declare const jobsContractRouter: {
|
|
|
3051
3091
|
}, "strip", z.ZodTypeAny, {
|
|
3052
3092
|
limit: number;
|
|
3053
3093
|
page: number;
|
|
3054
|
-
status?: "
|
|
3094
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
|
|
3055
3095
|
createdAt?: {
|
|
3056
3096
|
from?: string | null | undefined;
|
|
3057
3097
|
to?: string | null | undefined;
|
|
3058
3098
|
} | null | undefined;
|
|
3099
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
3100
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3101
|
+
companyId?: string | null | undefined;
|
|
3102
|
+
userId?: string | null | undefined;
|
|
3103
|
+
clientId?: string | null | undefined;
|
|
3059
3104
|
pay?: {
|
|
3060
3105
|
minRate?: number | null | undefined;
|
|
3061
3106
|
maxRate?: number | null | undefined;
|
|
3062
3107
|
} | null | undefined;
|
|
3063
3108
|
postcode?: string | null | undefined;
|
|
3064
3109
|
tradeId?: string | null | undefined;
|
|
3110
|
+
qualificationFilters?: {
|
|
3111
|
+
qualificationId?: string | undefined;
|
|
3112
|
+
qualificationTypeId?: string | undefined;
|
|
3113
|
+
}[] | undefined;
|
|
3065
3114
|
distance?: number | null | undefined;
|
|
3066
|
-
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
3067
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3068
3115
|
}, {
|
|
3069
|
-
status?: "
|
|
3116
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
|
|
3070
3117
|
createdAt?: {
|
|
3071
3118
|
from?: string | null | undefined;
|
|
3072
3119
|
to?: string | null | undefined;
|
|
3073
3120
|
} | null | undefined;
|
|
3121
|
+
limit?: number | undefined;
|
|
3122
|
+
page?: number | undefined;
|
|
3123
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
|
|
3124
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3125
|
+
companyId?: string | null | undefined;
|
|
3126
|
+
userId?: string | null | undefined;
|
|
3127
|
+
clientId?: string | null | undefined;
|
|
3074
3128
|
pay?: {
|
|
3075
3129
|
minRate?: number | null | undefined;
|
|
3076
3130
|
maxRate?: number | null | undefined;
|
|
3077
3131
|
} | null | undefined;
|
|
3078
3132
|
postcode?: string | null | undefined;
|
|
3079
3133
|
tradeId?: string | null | undefined;
|
|
3080
|
-
|
|
3081
|
-
|
|
3134
|
+
qualificationFilters?: {
|
|
3135
|
+
qualificationId?: string | undefined;
|
|
3136
|
+
qualificationTypeId?: string | undefined;
|
|
3137
|
+
}[] | undefined;
|
|
3082
3138
|
distance?: number | null | undefined;
|
|
3083
|
-
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
3084
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3085
3139
|
}>;
|
|
3086
3140
|
summary: "Get all jobs";
|
|
3087
3141
|
method: "GET";
|
|
@@ -3257,15 +3311,15 @@ export declare const jobsContractRouter: {
|
|
|
3257
3311
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3258
3312
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3259
3313
|
}, "strip", z.ZodTypeAny, {
|
|
3314
|
+
id: string;
|
|
3315
|
+
name: string;
|
|
3260
3316
|
createdAt: string;
|
|
3261
3317
|
updatedAt: string;
|
|
3318
|
+
}, {
|
|
3262
3319
|
id: string;
|
|
3263
3320
|
name: string;
|
|
3264
|
-
}, {
|
|
3265
3321
|
createdAt: string | Date;
|
|
3266
3322
|
updatedAt: string | Date;
|
|
3267
|
-
id: string;
|
|
3268
|
-
name: string;
|
|
3269
3323
|
}>>>;
|
|
3270
3324
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3271
3325
|
id: z.ZodString;
|
|
@@ -3301,11 +3355,11 @@ export declare const jobsContractRouter: {
|
|
|
3301
3355
|
agentId: string;
|
|
3302
3356
|
}>>>;
|
|
3303
3357
|
}, "strip", z.ZodTypeAny, {
|
|
3304
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3305
|
-
createdAt: string;
|
|
3306
|
-
updatedAt: string;
|
|
3307
3358
|
id: string;
|
|
3308
3359
|
name: string;
|
|
3360
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3361
|
+
createdAt: string;
|
|
3362
|
+
updatedAt: string;
|
|
3309
3363
|
crn: string;
|
|
3310
3364
|
govLink: string;
|
|
3311
3365
|
director: string;
|
|
@@ -3320,11 +3374,11 @@ export declare const jobsContractRouter: {
|
|
|
3320
3374
|
agentId: string;
|
|
3321
3375
|
} | null | undefined;
|
|
3322
3376
|
}, {
|
|
3323
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3324
|
-
createdAt: string | Date;
|
|
3325
|
-
updatedAt: string | Date;
|
|
3326
3377
|
id: string;
|
|
3327
3378
|
name: string;
|
|
3379
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3380
|
+
createdAt: string | Date;
|
|
3381
|
+
updatedAt: string | Date;
|
|
3328
3382
|
crn: string;
|
|
3329
3383
|
govLink: string;
|
|
3330
3384
|
director: string;
|
|
@@ -3368,15 +3422,15 @@ export declare const jobsContractRouter: {
|
|
|
3368
3422
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3369
3423
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3370
3424
|
}, "strip", z.ZodTypeAny, {
|
|
3425
|
+
id: string;
|
|
3426
|
+
name: string;
|
|
3371
3427
|
createdAt: string;
|
|
3372
3428
|
updatedAt: string;
|
|
3429
|
+
}, {
|
|
3373
3430
|
id: string;
|
|
3374
3431
|
name: string;
|
|
3375
|
-
}, {
|
|
3376
3432
|
createdAt: string | Date;
|
|
3377
3433
|
updatedAt: string | Date;
|
|
3378
|
-
id: string;
|
|
3379
|
-
name: string;
|
|
3380
3434
|
}>>>;
|
|
3381
3435
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3382
3436
|
id: z.ZodString;
|
|
@@ -3412,11 +3466,11 @@ export declare const jobsContractRouter: {
|
|
|
3412
3466
|
agentId: string;
|
|
3413
3467
|
}>>>;
|
|
3414
3468
|
}, "strip", z.ZodTypeAny, {
|
|
3415
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3416
|
-
createdAt: string;
|
|
3417
|
-
updatedAt: string;
|
|
3418
3469
|
id: string;
|
|
3419
3470
|
name: string;
|
|
3471
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3472
|
+
createdAt: string;
|
|
3473
|
+
updatedAt: string;
|
|
3420
3474
|
crn: string;
|
|
3421
3475
|
govLink: string;
|
|
3422
3476
|
director: string;
|
|
@@ -3431,11 +3485,11 @@ export declare const jobsContractRouter: {
|
|
|
3431
3485
|
agentId: string;
|
|
3432
3486
|
} | null | undefined;
|
|
3433
3487
|
}, {
|
|
3434
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3435
|
-
createdAt: string | Date;
|
|
3436
|
-
updatedAt: string | Date;
|
|
3437
3488
|
id: string;
|
|
3438
3489
|
name: string;
|
|
3490
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3491
|
+
createdAt: string | Date;
|
|
3492
|
+
updatedAt: string | Date;
|
|
3439
3493
|
crn: string;
|
|
3440
3494
|
govLink: string;
|
|
3441
3495
|
director: string;
|
|
@@ -3471,23 +3525,23 @@ export declare const jobsContractRouter: {
|
|
|
3471
3525
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3472
3526
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3473
3527
|
}, "strip", z.ZodTypeAny, {
|
|
3474
|
-
|
|
3528
|
+
id: string;
|
|
3529
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3475
3530
|
createdAt: string;
|
|
3476
3531
|
updatedAt: string;
|
|
3477
|
-
id: string;
|
|
3478
3532
|
userId: string;
|
|
3479
3533
|
company?: {
|
|
3480
|
-
createdAt: string;
|
|
3481
|
-
updatedAt: string;
|
|
3482
3534
|
id: string;
|
|
3483
3535
|
name: string;
|
|
3484
|
-
} | null | undefined;
|
|
3485
|
-
client?: {
|
|
3486
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3487
3536
|
createdAt: string;
|
|
3488
3537
|
updatedAt: string;
|
|
3538
|
+
} | null | undefined;
|
|
3539
|
+
client?: {
|
|
3489
3540
|
id: string;
|
|
3490
3541
|
name: string;
|
|
3542
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3543
|
+
createdAt: string;
|
|
3544
|
+
updatedAt: string;
|
|
3491
3545
|
crn: string;
|
|
3492
3546
|
govLink: string;
|
|
3493
3547
|
director: string;
|
|
@@ -3509,23 +3563,23 @@ export declare const jobsContractRouter: {
|
|
|
3509
3563
|
email: string;
|
|
3510
3564
|
} | null | undefined;
|
|
3511
3565
|
}, {
|
|
3512
|
-
|
|
3566
|
+
id: string;
|
|
3567
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3513
3568
|
createdAt: string | Date;
|
|
3514
3569
|
updatedAt: string | Date;
|
|
3515
|
-
id: string;
|
|
3516
3570
|
userId: string;
|
|
3517
3571
|
company?: {
|
|
3518
|
-
createdAt: string | Date;
|
|
3519
|
-
updatedAt: string | Date;
|
|
3520
3572
|
id: string;
|
|
3521
3573
|
name: string;
|
|
3522
|
-
} | null | undefined;
|
|
3523
|
-
client?: {
|
|
3524
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3525
3574
|
createdAt: string | Date;
|
|
3526
3575
|
updatedAt: string | Date;
|
|
3576
|
+
} | null | undefined;
|
|
3577
|
+
client?: {
|
|
3527
3578
|
id: string;
|
|
3528
3579
|
name: string;
|
|
3580
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3581
|
+
createdAt: string | Date;
|
|
3582
|
+
updatedAt: string | Date;
|
|
3529
3583
|
crn: string;
|
|
3530
3584
|
govLink: string;
|
|
3531
3585
|
director: string;
|
|
@@ -3548,23 +3602,23 @@ export declare const jobsContractRouter: {
|
|
|
3548
3602
|
} | null | undefined;
|
|
3549
3603
|
}>>>;
|
|
3550
3604
|
}, "strip", z.ZodTypeAny, {
|
|
3551
|
-
|
|
3605
|
+
id: string;
|
|
3606
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3552
3607
|
createdAt: string;
|
|
3553
3608
|
updatedAt: string;
|
|
3554
|
-
id: string;
|
|
3555
3609
|
userId: string;
|
|
3556
3610
|
company?: {
|
|
3557
|
-
createdAt: string;
|
|
3558
|
-
updatedAt: string;
|
|
3559
3611
|
id: string;
|
|
3560
3612
|
name: string;
|
|
3561
|
-
} | null | undefined;
|
|
3562
|
-
client?: {
|
|
3563
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3564
3613
|
createdAt: string;
|
|
3565
3614
|
updatedAt: string;
|
|
3615
|
+
} | null | undefined;
|
|
3616
|
+
client?: {
|
|
3566
3617
|
id: string;
|
|
3567
3618
|
name: string;
|
|
3619
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3620
|
+
createdAt: string;
|
|
3621
|
+
updatedAt: string;
|
|
3568
3622
|
crn: string;
|
|
3569
3623
|
govLink: string;
|
|
3570
3624
|
director: string;
|
|
@@ -3586,23 +3640,23 @@ export declare const jobsContractRouter: {
|
|
|
3586
3640
|
email: string;
|
|
3587
3641
|
} | null | undefined;
|
|
3588
3642
|
newCollaboration?: {
|
|
3589
|
-
|
|
3643
|
+
id: string;
|
|
3644
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3590
3645
|
createdAt: string;
|
|
3591
3646
|
updatedAt: string;
|
|
3592
|
-
id: string;
|
|
3593
3647
|
userId: string;
|
|
3594
3648
|
company?: {
|
|
3595
|
-
createdAt: string;
|
|
3596
|
-
updatedAt: string;
|
|
3597
3649
|
id: string;
|
|
3598
3650
|
name: string;
|
|
3599
|
-
} | null | undefined;
|
|
3600
|
-
client?: {
|
|
3601
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3602
3651
|
createdAt: string;
|
|
3603
3652
|
updatedAt: string;
|
|
3653
|
+
} | null | undefined;
|
|
3654
|
+
client?: {
|
|
3604
3655
|
id: string;
|
|
3605
3656
|
name: string;
|
|
3657
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3658
|
+
createdAt: string;
|
|
3659
|
+
updatedAt: string;
|
|
3606
3660
|
crn: string;
|
|
3607
3661
|
govLink: string;
|
|
3608
3662
|
director: string;
|
|
@@ -3625,23 +3679,23 @@ export declare const jobsContractRouter: {
|
|
|
3625
3679
|
} | null | undefined;
|
|
3626
3680
|
} | null | undefined;
|
|
3627
3681
|
}, {
|
|
3628
|
-
|
|
3682
|
+
id: string;
|
|
3683
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3629
3684
|
createdAt: string | Date;
|
|
3630
3685
|
updatedAt: string | Date;
|
|
3631
|
-
id: string;
|
|
3632
3686
|
userId: string;
|
|
3633
3687
|
company?: {
|
|
3634
|
-
createdAt: string | Date;
|
|
3635
|
-
updatedAt: string | Date;
|
|
3636
3688
|
id: string;
|
|
3637
3689
|
name: string;
|
|
3638
|
-
} | null | undefined;
|
|
3639
|
-
client?: {
|
|
3640
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3641
3690
|
createdAt: string | Date;
|
|
3642
3691
|
updatedAt: string | Date;
|
|
3692
|
+
} | null | undefined;
|
|
3693
|
+
client?: {
|
|
3643
3694
|
id: string;
|
|
3644
3695
|
name: string;
|
|
3696
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3697
|
+
createdAt: string | Date;
|
|
3698
|
+
updatedAt: string | Date;
|
|
3645
3699
|
crn: string;
|
|
3646
3700
|
govLink: string;
|
|
3647
3701
|
director: string;
|
|
@@ -3663,23 +3717,23 @@ export declare const jobsContractRouter: {
|
|
|
3663
3717
|
email: string;
|
|
3664
3718
|
} | null | undefined;
|
|
3665
3719
|
newCollaboration?: {
|
|
3666
|
-
|
|
3720
|
+
id: string;
|
|
3721
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3667
3722
|
createdAt: string | Date;
|
|
3668
3723
|
updatedAt: string | Date;
|
|
3669
|
-
id: string;
|
|
3670
3724
|
userId: string;
|
|
3671
3725
|
company?: {
|
|
3672
|
-
createdAt: string | Date;
|
|
3673
|
-
updatedAt: string | Date;
|
|
3674
3726
|
id: string;
|
|
3675
3727
|
name: string;
|
|
3676
|
-
} | null | undefined;
|
|
3677
|
-
client?: {
|
|
3678
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3679
3728
|
createdAt: string | Date;
|
|
3680
3729
|
updatedAt: string | Date;
|
|
3730
|
+
} | null | undefined;
|
|
3731
|
+
client?: {
|
|
3681
3732
|
id: string;
|
|
3682
3733
|
name: string;
|
|
3734
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3735
|
+
createdAt: string | Date;
|
|
3736
|
+
updatedAt: string | Date;
|
|
3683
3737
|
crn: string;
|
|
3684
3738
|
govLink: string;
|
|
3685
3739
|
director: string;
|
|
@@ -3705,12 +3759,12 @@ export declare const jobsContractRouter: {
|
|
|
3705
3759
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3706
3760
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3707
3761
|
}, "strip", z.ZodTypeAny, {
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3762
|
+
id: string;
|
|
3763
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
3711
3764
|
createdAt: string;
|
|
3712
3765
|
updatedAt: string;
|
|
3713
|
-
|
|
3766
|
+
description: string;
|
|
3767
|
+
numberOfPositions: number;
|
|
3714
3768
|
pay: {
|
|
3715
3769
|
rateUnit: "DAILY" | "HOURLY";
|
|
3716
3770
|
rate: number;
|
|
@@ -3734,23 +3788,23 @@ export declare const jobsContractRouter: {
|
|
|
3734
3788
|
areaCovered?: string | null | undefined;
|
|
3735
3789
|
} | null | undefined;
|
|
3736
3790
|
currentCollaboration?: {
|
|
3737
|
-
|
|
3791
|
+
id: string;
|
|
3792
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3738
3793
|
createdAt: string;
|
|
3739
3794
|
updatedAt: string;
|
|
3740
|
-
id: string;
|
|
3741
3795
|
userId: string;
|
|
3742
3796
|
company?: {
|
|
3743
|
-
createdAt: string;
|
|
3744
|
-
updatedAt: string;
|
|
3745
3797
|
id: string;
|
|
3746
3798
|
name: string;
|
|
3747
|
-
} | null | undefined;
|
|
3748
|
-
client?: {
|
|
3749
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3750
3799
|
createdAt: string;
|
|
3751
3800
|
updatedAt: string;
|
|
3801
|
+
} | null | undefined;
|
|
3802
|
+
client?: {
|
|
3752
3803
|
id: string;
|
|
3753
3804
|
name: string;
|
|
3805
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3806
|
+
createdAt: string;
|
|
3807
|
+
updatedAt: string;
|
|
3754
3808
|
crn: string;
|
|
3755
3809
|
govLink: string;
|
|
3756
3810
|
director: string;
|
|
@@ -3772,23 +3826,23 @@ export declare const jobsContractRouter: {
|
|
|
3772
3826
|
email: string;
|
|
3773
3827
|
} | null | undefined;
|
|
3774
3828
|
newCollaboration?: {
|
|
3775
|
-
|
|
3829
|
+
id: string;
|
|
3830
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3776
3831
|
createdAt: string;
|
|
3777
3832
|
updatedAt: string;
|
|
3778
|
-
id: string;
|
|
3779
3833
|
userId: string;
|
|
3780
3834
|
company?: {
|
|
3781
|
-
createdAt: string;
|
|
3782
|
-
updatedAt: string;
|
|
3783
3835
|
id: string;
|
|
3784
3836
|
name: string;
|
|
3785
|
-
} | null | undefined;
|
|
3786
|
-
client?: {
|
|
3787
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3788
3837
|
createdAt: string;
|
|
3789
3838
|
updatedAt: string;
|
|
3839
|
+
} | null | undefined;
|
|
3840
|
+
client?: {
|
|
3790
3841
|
id: string;
|
|
3791
3842
|
name: string;
|
|
3843
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3844
|
+
createdAt: string;
|
|
3845
|
+
updatedAt: string;
|
|
3792
3846
|
crn: string;
|
|
3793
3847
|
govLink: string;
|
|
3794
3848
|
director: string;
|
|
@@ -3812,12 +3866,12 @@ export declare const jobsContractRouter: {
|
|
|
3812
3866
|
} | null | undefined;
|
|
3813
3867
|
} | null | undefined;
|
|
3814
3868
|
}, {
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3869
|
+
id: string;
|
|
3870
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
3818
3871
|
createdAt: string | Date;
|
|
3819
3872
|
updatedAt: string | Date;
|
|
3820
|
-
|
|
3873
|
+
description: string;
|
|
3874
|
+
numberOfPositions: number;
|
|
3821
3875
|
pay: {
|
|
3822
3876
|
rateUnit: "DAILY" | "HOURLY";
|
|
3823
3877
|
rate: number;
|
|
@@ -3841,23 +3895,23 @@ export declare const jobsContractRouter: {
|
|
|
3841
3895
|
qualificationTypeId?: string | null | undefined;
|
|
3842
3896
|
}[] | undefined;
|
|
3843
3897
|
currentCollaboration?: {
|
|
3844
|
-
|
|
3898
|
+
id: string;
|
|
3899
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3845
3900
|
createdAt: string | Date;
|
|
3846
3901
|
updatedAt: string | Date;
|
|
3847
|
-
id: string;
|
|
3848
3902
|
userId: string;
|
|
3849
3903
|
company?: {
|
|
3850
|
-
createdAt: string | Date;
|
|
3851
|
-
updatedAt: string | Date;
|
|
3852
3904
|
id: string;
|
|
3853
3905
|
name: string;
|
|
3854
|
-
} | null | undefined;
|
|
3855
|
-
client?: {
|
|
3856
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3857
3906
|
createdAt: string | Date;
|
|
3858
3907
|
updatedAt: string | Date;
|
|
3908
|
+
} | null | undefined;
|
|
3909
|
+
client?: {
|
|
3859
3910
|
id: string;
|
|
3860
3911
|
name: string;
|
|
3912
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3913
|
+
createdAt: string | Date;
|
|
3914
|
+
updatedAt: string | Date;
|
|
3861
3915
|
crn: string;
|
|
3862
3916
|
govLink: string;
|
|
3863
3917
|
director: string;
|
|
@@ -3879,23 +3933,23 @@ export declare const jobsContractRouter: {
|
|
|
3879
3933
|
email: string;
|
|
3880
3934
|
} | null | undefined;
|
|
3881
3935
|
newCollaboration?: {
|
|
3882
|
-
|
|
3936
|
+
id: string;
|
|
3937
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3883
3938
|
createdAt: string | Date;
|
|
3884
3939
|
updatedAt: string | Date;
|
|
3885
|
-
id: string;
|
|
3886
3940
|
userId: string;
|
|
3887
3941
|
company?: {
|
|
3888
|
-
createdAt: string | Date;
|
|
3889
|
-
updatedAt: string | Date;
|
|
3890
3942
|
id: string;
|
|
3891
3943
|
name: string;
|
|
3892
|
-
} | null | undefined;
|
|
3893
|
-
client?: {
|
|
3894
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3895
3944
|
createdAt: string | Date;
|
|
3896
3945
|
updatedAt: string | Date;
|
|
3946
|
+
} | null | undefined;
|
|
3947
|
+
client?: {
|
|
3897
3948
|
id: string;
|
|
3898
3949
|
name: string;
|
|
3950
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3951
|
+
createdAt: string | Date;
|
|
3952
|
+
updatedAt: string | Date;
|
|
3899
3953
|
crn: string;
|
|
3900
3954
|
govLink: string;
|
|
3901
3955
|
director: string;
|
|
@@ -3927,12 +3981,12 @@ export declare const jobsContractRouter: {
|
|
|
3927
3981
|
}, "strip", z.ZodTypeAny, {
|
|
3928
3982
|
limit: number;
|
|
3929
3983
|
items: {
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3984
|
+
id: string;
|
|
3985
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
3933
3986
|
createdAt: string;
|
|
3934
3987
|
updatedAt: string;
|
|
3935
|
-
|
|
3988
|
+
description: string;
|
|
3989
|
+
numberOfPositions: number;
|
|
3936
3990
|
pay: {
|
|
3937
3991
|
rateUnit: "DAILY" | "HOURLY";
|
|
3938
3992
|
rate: number;
|
|
@@ -3956,23 +4010,23 @@ export declare const jobsContractRouter: {
|
|
|
3956
4010
|
areaCovered?: string | null | undefined;
|
|
3957
4011
|
} | null | undefined;
|
|
3958
4012
|
currentCollaboration?: {
|
|
3959
|
-
|
|
4013
|
+
id: string;
|
|
4014
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3960
4015
|
createdAt: string;
|
|
3961
4016
|
updatedAt: string;
|
|
3962
|
-
id: string;
|
|
3963
4017
|
userId: string;
|
|
3964
4018
|
company?: {
|
|
3965
|
-
createdAt: string;
|
|
3966
|
-
updatedAt: string;
|
|
3967
4019
|
id: string;
|
|
3968
4020
|
name: string;
|
|
3969
|
-
} | null | undefined;
|
|
3970
|
-
client?: {
|
|
3971
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3972
4021
|
createdAt: string;
|
|
3973
4022
|
updatedAt: string;
|
|
4023
|
+
} | null | undefined;
|
|
4024
|
+
client?: {
|
|
3974
4025
|
id: string;
|
|
3975
4026
|
name: string;
|
|
4027
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4028
|
+
createdAt: string;
|
|
4029
|
+
updatedAt: string;
|
|
3976
4030
|
crn: string;
|
|
3977
4031
|
govLink: string;
|
|
3978
4032
|
director: string;
|
|
@@ -3994,23 +4048,23 @@ export declare const jobsContractRouter: {
|
|
|
3994
4048
|
email: string;
|
|
3995
4049
|
} | null | undefined;
|
|
3996
4050
|
newCollaboration?: {
|
|
3997
|
-
|
|
4051
|
+
id: string;
|
|
4052
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3998
4053
|
createdAt: string;
|
|
3999
4054
|
updatedAt: string;
|
|
4000
|
-
id: string;
|
|
4001
4055
|
userId: string;
|
|
4002
4056
|
company?: {
|
|
4003
|
-
createdAt: string;
|
|
4004
|
-
updatedAt: string;
|
|
4005
4057
|
id: string;
|
|
4006
4058
|
name: string;
|
|
4007
|
-
} | null | undefined;
|
|
4008
|
-
client?: {
|
|
4009
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4010
4059
|
createdAt: string;
|
|
4011
4060
|
updatedAt: string;
|
|
4061
|
+
} | null | undefined;
|
|
4062
|
+
client?: {
|
|
4012
4063
|
id: string;
|
|
4013
4064
|
name: string;
|
|
4065
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4066
|
+
createdAt: string;
|
|
4067
|
+
updatedAt: string;
|
|
4014
4068
|
crn: string;
|
|
4015
4069
|
govLink: string;
|
|
4016
4070
|
director: string;
|
|
@@ -4041,12 +4095,12 @@ export declare const jobsContractRouter: {
|
|
|
4041
4095
|
}, {
|
|
4042
4096
|
limit: number;
|
|
4043
4097
|
items: {
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4098
|
+
id: string;
|
|
4099
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
4047
4100
|
createdAt: string | Date;
|
|
4048
4101
|
updatedAt: string | Date;
|
|
4049
|
-
|
|
4102
|
+
description: string;
|
|
4103
|
+
numberOfPositions: number;
|
|
4050
4104
|
pay: {
|
|
4051
4105
|
rateUnit: "DAILY" | "HOURLY";
|
|
4052
4106
|
rate: number;
|
|
@@ -4070,23 +4124,23 @@ export declare const jobsContractRouter: {
|
|
|
4070
4124
|
qualificationTypeId?: string | null | undefined;
|
|
4071
4125
|
}[] | undefined;
|
|
4072
4126
|
currentCollaboration?: {
|
|
4073
|
-
|
|
4127
|
+
id: string;
|
|
4128
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4074
4129
|
createdAt: string | Date;
|
|
4075
4130
|
updatedAt: string | Date;
|
|
4076
|
-
id: string;
|
|
4077
4131
|
userId: string;
|
|
4078
4132
|
company?: {
|
|
4079
|
-
createdAt: string | Date;
|
|
4080
|
-
updatedAt: string | Date;
|
|
4081
4133
|
id: string;
|
|
4082
4134
|
name: string;
|
|
4083
|
-
} | null | undefined;
|
|
4084
|
-
client?: {
|
|
4085
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4086
4135
|
createdAt: string | Date;
|
|
4087
4136
|
updatedAt: string | Date;
|
|
4137
|
+
} | null | undefined;
|
|
4138
|
+
client?: {
|
|
4088
4139
|
id: string;
|
|
4089
4140
|
name: string;
|
|
4141
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4142
|
+
createdAt: string | Date;
|
|
4143
|
+
updatedAt: string | Date;
|
|
4090
4144
|
crn: string;
|
|
4091
4145
|
govLink: string;
|
|
4092
4146
|
director: string;
|
|
@@ -4108,23 +4162,23 @@ export declare const jobsContractRouter: {
|
|
|
4108
4162
|
email: string;
|
|
4109
4163
|
} | null | undefined;
|
|
4110
4164
|
newCollaboration?: {
|
|
4111
|
-
|
|
4165
|
+
id: string;
|
|
4166
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4112
4167
|
createdAt: string | Date;
|
|
4113
4168
|
updatedAt: string | Date;
|
|
4114
|
-
id: string;
|
|
4115
4169
|
userId: string;
|
|
4116
4170
|
company?: {
|
|
4117
|
-
createdAt: string | Date;
|
|
4118
|
-
updatedAt: string | Date;
|
|
4119
4171
|
id: string;
|
|
4120
4172
|
name: string;
|
|
4121
|
-
} | null | undefined;
|
|
4122
|
-
client?: {
|
|
4123
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4124
4173
|
createdAt: string | Date;
|
|
4125
4174
|
updatedAt: string | Date;
|
|
4175
|
+
} | null | undefined;
|
|
4176
|
+
client?: {
|
|
4126
4177
|
id: string;
|
|
4127
4178
|
name: string;
|
|
4179
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4180
|
+
createdAt: string | Date;
|
|
4181
|
+
updatedAt: string | Date;
|
|
4128
4182
|
crn: string;
|
|
4129
4183
|
govLink: string;
|
|
4130
4184
|
director: string;
|
|
@@ -4342,15 +4396,15 @@ export declare const jobsContractRouter: {
|
|
|
4342
4396
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4343
4397
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4344
4398
|
}, "strip", z.ZodTypeAny, {
|
|
4399
|
+
id: string;
|
|
4400
|
+
name: string;
|
|
4345
4401
|
createdAt: string;
|
|
4346
4402
|
updatedAt: string;
|
|
4403
|
+
}, {
|
|
4347
4404
|
id: string;
|
|
4348
4405
|
name: string;
|
|
4349
|
-
}, {
|
|
4350
4406
|
createdAt: string | Date;
|
|
4351
4407
|
updatedAt: string | Date;
|
|
4352
|
-
id: string;
|
|
4353
|
-
name: string;
|
|
4354
4408
|
}>>>;
|
|
4355
4409
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4356
4410
|
id: z.ZodString;
|
|
@@ -4386,11 +4440,11 @@ export declare const jobsContractRouter: {
|
|
|
4386
4440
|
agentId: string;
|
|
4387
4441
|
}>>>;
|
|
4388
4442
|
}, "strip", z.ZodTypeAny, {
|
|
4389
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4390
|
-
createdAt: string;
|
|
4391
|
-
updatedAt: string;
|
|
4392
4443
|
id: string;
|
|
4393
4444
|
name: string;
|
|
4445
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4446
|
+
createdAt: string;
|
|
4447
|
+
updatedAt: string;
|
|
4394
4448
|
crn: string;
|
|
4395
4449
|
govLink: string;
|
|
4396
4450
|
director: string;
|
|
@@ -4405,11 +4459,11 @@ export declare const jobsContractRouter: {
|
|
|
4405
4459
|
agentId: string;
|
|
4406
4460
|
} | null | undefined;
|
|
4407
4461
|
}, {
|
|
4408
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4409
|
-
createdAt: string | Date;
|
|
4410
|
-
updatedAt: string | Date;
|
|
4411
4462
|
id: string;
|
|
4412
4463
|
name: string;
|
|
4464
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4465
|
+
createdAt: string | Date;
|
|
4466
|
+
updatedAt: string | Date;
|
|
4413
4467
|
crn: string;
|
|
4414
4468
|
govLink: string;
|
|
4415
4469
|
director: string;
|
|
@@ -4453,15 +4507,15 @@ export declare const jobsContractRouter: {
|
|
|
4453
4507
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4454
4508
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4455
4509
|
}, "strip", z.ZodTypeAny, {
|
|
4510
|
+
id: string;
|
|
4511
|
+
name: string;
|
|
4456
4512
|
createdAt: string;
|
|
4457
4513
|
updatedAt: string;
|
|
4514
|
+
}, {
|
|
4458
4515
|
id: string;
|
|
4459
4516
|
name: string;
|
|
4460
|
-
}, {
|
|
4461
4517
|
createdAt: string | Date;
|
|
4462
4518
|
updatedAt: string | Date;
|
|
4463
|
-
id: string;
|
|
4464
|
-
name: string;
|
|
4465
4519
|
}>>>;
|
|
4466
4520
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4467
4521
|
id: z.ZodString;
|
|
@@ -4497,11 +4551,11 @@ export declare const jobsContractRouter: {
|
|
|
4497
4551
|
agentId: string;
|
|
4498
4552
|
}>>>;
|
|
4499
4553
|
}, "strip", z.ZodTypeAny, {
|
|
4500
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4501
|
-
createdAt: string;
|
|
4502
|
-
updatedAt: string;
|
|
4503
4554
|
id: string;
|
|
4504
4555
|
name: string;
|
|
4556
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4557
|
+
createdAt: string;
|
|
4558
|
+
updatedAt: string;
|
|
4505
4559
|
crn: string;
|
|
4506
4560
|
govLink: string;
|
|
4507
4561
|
director: string;
|
|
@@ -4516,11 +4570,11 @@ export declare const jobsContractRouter: {
|
|
|
4516
4570
|
agentId: string;
|
|
4517
4571
|
} | null | undefined;
|
|
4518
4572
|
}, {
|
|
4519
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4520
|
-
createdAt: string | Date;
|
|
4521
|
-
updatedAt: string | Date;
|
|
4522
4573
|
id: string;
|
|
4523
4574
|
name: string;
|
|
4575
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4576
|
+
createdAt: string | Date;
|
|
4577
|
+
updatedAt: string | Date;
|
|
4524
4578
|
crn: string;
|
|
4525
4579
|
govLink: string;
|
|
4526
4580
|
director: string;
|
|
@@ -4556,23 +4610,23 @@ export declare const jobsContractRouter: {
|
|
|
4556
4610
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4557
4611
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4558
4612
|
}, "strip", z.ZodTypeAny, {
|
|
4559
|
-
|
|
4613
|
+
id: string;
|
|
4614
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4560
4615
|
createdAt: string;
|
|
4561
4616
|
updatedAt: string;
|
|
4562
|
-
id: string;
|
|
4563
4617
|
userId: string;
|
|
4564
4618
|
company?: {
|
|
4565
|
-
createdAt: string;
|
|
4566
|
-
updatedAt: string;
|
|
4567
4619
|
id: string;
|
|
4568
4620
|
name: string;
|
|
4569
|
-
} | null | undefined;
|
|
4570
|
-
client?: {
|
|
4571
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4572
4621
|
createdAt: string;
|
|
4573
4622
|
updatedAt: string;
|
|
4623
|
+
} | null | undefined;
|
|
4624
|
+
client?: {
|
|
4574
4625
|
id: string;
|
|
4575
4626
|
name: string;
|
|
4627
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4628
|
+
createdAt: string;
|
|
4629
|
+
updatedAt: string;
|
|
4576
4630
|
crn: string;
|
|
4577
4631
|
govLink: string;
|
|
4578
4632
|
director: string;
|
|
@@ -4594,23 +4648,23 @@ export declare const jobsContractRouter: {
|
|
|
4594
4648
|
email: string;
|
|
4595
4649
|
} | null | undefined;
|
|
4596
4650
|
}, {
|
|
4597
|
-
|
|
4651
|
+
id: string;
|
|
4652
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4598
4653
|
createdAt: string | Date;
|
|
4599
4654
|
updatedAt: string | Date;
|
|
4600
|
-
id: string;
|
|
4601
4655
|
userId: string;
|
|
4602
4656
|
company?: {
|
|
4603
|
-
createdAt: string | Date;
|
|
4604
|
-
updatedAt: string | Date;
|
|
4605
4657
|
id: string;
|
|
4606
4658
|
name: string;
|
|
4607
|
-
} | null | undefined;
|
|
4608
|
-
client?: {
|
|
4609
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4610
4659
|
createdAt: string | Date;
|
|
4611
4660
|
updatedAt: string | Date;
|
|
4661
|
+
} | null | undefined;
|
|
4662
|
+
client?: {
|
|
4612
4663
|
id: string;
|
|
4613
4664
|
name: string;
|
|
4665
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4666
|
+
createdAt: string | Date;
|
|
4667
|
+
updatedAt: string | Date;
|
|
4614
4668
|
crn: string;
|
|
4615
4669
|
govLink: string;
|
|
4616
4670
|
director: string;
|
|
@@ -4633,23 +4687,23 @@ export declare const jobsContractRouter: {
|
|
|
4633
4687
|
} | null | undefined;
|
|
4634
4688
|
}>>>;
|
|
4635
4689
|
}, "strip", z.ZodTypeAny, {
|
|
4636
|
-
|
|
4690
|
+
id: string;
|
|
4691
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4637
4692
|
createdAt: string;
|
|
4638
4693
|
updatedAt: string;
|
|
4639
|
-
id: string;
|
|
4640
4694
|
userId: string;
|
|
4641
4695
|
company?: {
|
|
4642
|
-
createdAt: string;
|
|
4643
|
-
updatedAt: string;
|
|
4644
4696
|
id: string;
|
|
4645
4697
|
name: string;
|
|
4646
|
-
} | null | undefined;
|
|
4647
|
-
client?: {
|
|
4648
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4649
4698
|
createdAt: string;
|
|
4650
4699
|
updatedAt: string;
|
|
4700
|
+
} | null | undefined;
|
|
4701
|
+
client?: {
|
|
4651
4702
|
id: string;
|
|
4652
4703
|
name: string;
|
|
4704
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4705
|
+
createdAt: string;
|
|
4706
|
+
updatedAt: string;
|
|
4653
4707
|
crn: string;
|
|
4654
4708
|
govLink: string;
|
|
4655
4709
|
director: string;
|
|
@@ -4671,23 +4725,23 @@ export declare const jobsContractRouter: {
|
|
|
4671
4725
|
email: string;
|
|
4672
4726
|
} | null | undefined;
|
|
4673
4727
|
newCollaboration?: {
|
|
4674
|
-
|
|
4728
|
+
id: string;
|
|
4729
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4675
4730
|
createdAt: string;
|
|
4676
4731
|
updatedAt: string;
|
|
4677
|
-
id: string;
|
|
4678
4732
|
userId: string;
|
|
4679
4733
|
company?: {
|
|
4680
|
-
createdAt: string;
|
|
4681
|
-
updatedAt: string;
|
|
4682
4734
|
id: string;
|
|
4683
4735
|
name: string;
|
|
4684
|
-
} | null | undefined;
|
|
4685
|
-
client?: {
|
|
4686
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4687
4736
|
createdAt: string;
|
|
4688
4737
|
updatedAt: string;
|
|
4738
|
+
} | null | undefined;
|
|
4739
|
+
client?: {
|
|
4689
4740
|
id: string;
|
|
4690
4741
|
name: string;
|
|
4742
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4743
|
+
createdAt: string;
|
|
4744
|
+
updatedAt: string;
|
|
4691
4745
|
crn: string;
|
|
4692
4746
|
govLink: string;
|
|
4693
4747
|
director: string;
|
|
@@ -4710,23 +4764,23 @@ export declare const jobsContractRouter: {
|
|
|
4710
4764
|
} | null | undefined;
|
|
4711
4765
|
} | null | undefined;
|
|
4712
4766
|
}, {
|
|
4713
|
-
|
|
4767
|
+
id: string;
|
|
4768
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4714
4769
|
createdAt: string | Date;
|
|
4715
4770
|
updatedAt: string | Date;
|
|
4716
|
-
id: string;
|
|
4717
4771
|
userId: string;
|
|
4718
4772
|
company?: {
|
|
4719
|
-
createdAt: string | Date;
|
|
4720
|
-
updatedAt: string | Date;
|
|
4721
4773
|
id: string;
|
|
4722
4774
|
name: string;
|
|
4723
|
-
} | null | undefined;
|
|
4724
|
-
client?: {
|
|
4725
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4726
4775
|
createdAt: string | Date;
|
|
4727
4776
|
updatedAt: string | Date;
|
|
4777
|
+
} | null | undefined;
|
|
4778
|
+
client?: {
|
|
4728
4779
|
id: string;
|
|
4729
4780
|
name: string;
|
|
4781
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4782
|
+
createdAt: string | Date;
|
|
4783
|
+
updatedAt: string | Date;
|
|
4730
4784
|
crn: string;
|
|
4731
4785
|
govLink: string;
|
|
4732
4786
|
director: string;
|
|
@@ -4748,23 +4802,23 @@ export declare const jobsContractRouter: {
|
|
|
4748
4802
|
email: string;
|
|
4749
4803
|
} | null | undefined;
|
|
4750
4804
|
newCollaboration?: {
|
|
4751
|
-
|
|
4805
|
+
id: string;
|
|
4806
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4752
4807
|
createdAt: string | Date;
|
|
4753
4808
|
updatedAt: string | Date;
|
|
4754
|
-
id: string;
|
|
4755
4809
|
userId: string;
|
|
4756
4810
|
company?: {
|
|
4757
|
-
createdAt: string | Date;
|
|
4758
|
-
updatedAt: string | Date;
|
|
4759
4811
|
id: string;
|
|
4760
4812
|
name: string;
|
|
4761
|
-
} | null | undefined;
|
|
4762
|
-
client?: {
|
|
4763
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4764
4813
|
createdAt: string | Date;
|
|
4765
4814
|
updatedAt: string | Date;
|
|
4815
|
+
} | null | undefined;
|
|
4816
|
+
client?: {
|
|
4766
4817
|
id: string;
|
|
4767
4818
|
name: string;
|
|
4819
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4820
|
+
createdAt: string | Date;
|
|
4821
|
+
updatedAt: string | Date;
|
|
4768
4822
|
crn: string;
|
|
4769
4823
|
govLink: string;
|
|
4770
4824
|
director: string;
|
|
@@ -4790,12 +4844,12 @@ export declare const jobsContractRouter: {
|
|
|
4790
4844
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4791
4845
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4792
4846
|
}, "strip", z.ZodTypeAny, {
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4847
|
+
id: string;
|
|
4848
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
4796
4849
|
createdAt: string;
|
|
4797
4850
|
updatedAt: string;
|
|
4798
|
-
|
|
4851
|
+
description: string;
|
|
4852
|
+
numberOfPositions: number;
|
|
4799
4853
|
pay: {
|
|
4800
4854
|
rateUnit: "DAILY" | "HOURLY";
|
|
4801
4855
|
rate: number;
|
|
@@ -4819,23 +4873,23 @@ export declare const jobsContractRouter: {
|
|
|
4819
4873
|
areaCovered?: string | null | undefined;
|
|
4820
4874
|
} | null | undefined;
|
|
4821
4875
|
currentCollaboration?: {
|
|
4822
|
-
|
|
4876
|
+
id: string;
|
|
4877
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4823
4878
|
createdAt: string;
|
|
4824
4879
|
updatedAt: string;
|
|
4825
|
-
id: string;
|
|
4826
4880
|
userId: string;
|
|
4827
4881
|
company?: {
|
|
4828
|
-
createdAt: string;
|
|
4829
|
-
updatedAt: string;
|
|
4830
4882
|
id: string;
|
|
4831
4883
|
name: string;
|
|
4832
|
-
} | null | undefined;
|
|
4833
|
-
client?: {
|
|
4834
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4835
4884
|
createdAt: string;
|
|
4836
4885
|
updatedAt: string;
|
|
4886
|
+
} | null | undefined;
|
|
4887
|
+
client?: {
|
|
4837
4888
|
id: string;
|
|
4838
4889
|
name: string;
|
|
4890
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4891
|
+
createdAt: string;
|
|
4892
|
+
updatedAt: string;
|
|
4839
4893
|
crn: string;
|
|
4840
4894
|
govLink: string;
|
|
4841
4895
|
director: string;
|
|
@@ -4857,23 +4911,23 @@ export declare const jobsContractRouter: {
|
|
|
4857
4911
|
email: string;
|
|
4858
4912
|
} | null | undefined;
|
|
4859
4913
|
newCollaboration?: {
|
|
4860
|
-
|
|
4914
|
+
id: string;
|
|
4915
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4861
4916
|
createdAt: string;
|
|
4862
4917
|
updatedAt: string;
|
|
4863
|
-
id: string;
|
|
4864
4918
|
userId: string;
|
|
4865
4919
|
company?: {
|
|
4866
|
-
createdAt: string;
|
|
4867
|
-
updatedAt: string;
|
|
4868
4920
|
id: string;
|
|
4869
4921
|
name: string;
|
|
4870
|
-
} | null | undefined;
|
|
4871
|
-
client?: {
|
|
4872
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4873
4922
|
createdAt: string;
|
|
4874
4923
|
updatedAt: string;
|
|
4924
|
+
} | null | undefined;
|
|
4925
|
+
client?: {
|
|
4875
4926
|
id: string;
|
|
4876
4927
|
name: string;
|
|
4928
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4929
|
+
createdAt: string;
|
|
4930
|
+
updatedAt: string;
|
|
4877
4931
|
crn: string;
|
|
4878
4932
|
govLink: string;
|
|
4879
4933
|
director: string;
|
|
@@ -4897,12 +4951,12 @@ export declare const jobsContractRouter: {
|
|
|
4897
4951
|
} | null | undefined;
|
|
4898
4952
|
} | null | undefined;
|
|
4899
4953
|
}, {
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4954
|
+
id: string;
|
|
4955
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
4903
4956
|
createdAt: string | Date;
|
|
4904
4957
|
updatedAt: string | Date;
|
|
4905
|
-
|
|
4958
|
+
description: string;
|
|
4959
|
+
numberOfPositions: number;
|
|
4906
4960
|
pay: {
|
|
4907
4961
|
rateUnit: "DAILY" | "HOURLY";
|
|
4908
4962
|
rate: number;
|
|
@@ -4926,23 +4980,23 @@ export declare const jobsContractRouter: {
|
|
|
4926
4980
|
qualificationTypeId?: string | null | undefined;
|
|
4927
4981
|
}[] | undefined;
|
|
4928
4982
|
currentCollaboration?: {
|
|
4929
|
-
|
|
4983
|
+
id: string;
|
|
4984
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4930
4985
|
createdAt: string | Date;
|
|
4931
4986
|
updatedAt: string | Date;
|
|
4932
|
-
id: string;
|
|
4933
4987
|
userId: string;
|
|
4934
4988
|
company?: {
|
|
4935
|
-
createdAt: string | Date;
|
|
4936
|
-
updatedAt: string | Date;
|
|
4937
4989
|
id: string;
|
|
4938
4990
|
name: string;
|
|
4939
|
-
} | null | undefined;
|
|
4940
|
-
client?: {
|
|
4941
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4942
4991
|
createdAt: string | Date;
|
|
4943
4992
|
updatedAt: string | Date;
|
|
4993
|
+
} | null | undefined;
|
|
4994
|
+
client?: {
|
|
4944
4995
|
id: string;
|
|
4945
4996
|
name: string;
|
|
4997
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4998
|
+
createdAt: string | Date;
|
|
4999
|
+
updatedAt: string | Date;
|
|
4946
5000
|
crn: string;
|
|
4947
5001
|
govLink: string;
|
|
4948
5002
|
director: string;
|
|
@@ -4964,23 +5018,23 @@ export declare const jobsContractRouter: {
|
|
|
4964
5018
|
email: string;
|
|
4965
5019
|
} | null | undefined;
|
|
4966
5020
|
newCollaboration?: {
|
|
4967
|
-
|
|
5021
|
+
id: string;
|
|
5022
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4968
5023
|
createdAt: string | Date;
|
|
4969
5024
|
updatedAt: string | Date;
|
|
4970
|
-
id: string;
|
|
4971
5025
|
userId: string;
|
|
4972
5026
|
company?: {
|
|
4973
|
-
createdAt: string | Date;
|
|
4974
|
-
updatedAt: string | Date;
|
|
4975
5027
|
id: string;
|
|
4976
5028
|
name: string;
|
|
4977
|
-
} | null | undefined;
|
|
4978
|
-
client?: {
|
|
4979
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4980
5029
|
createdAt: string | Date;
|
|
4981
5030
|
updatedAt: string | Date;
|
|
5031
|
+
} | null | undefined;
|
|
5032
|
+
client?: {
|
|
4982
5033
|
id: string;
|
|
4983
5034
|
name: string;
|
|
5035
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5036
|
+
createdAt: string | Date;
|
|
5037
|
+
updatedAt: string | Date;
|
|
4984
5038
|
crn: string;
|
|
4985
5039
|
govLink: string;
|
|
4986
5040
|
director: string;
|
|
@@ -5097,9 +5151,9 @@ export declare const jobsContractRouter: {
|
|
|
5097
5151
|
}>, "many">>;
|
|
5098
5152
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
5099
5153
|
}, "strip", z.ZodTypeAny, {
|
|
5154
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
5100
5155
|
description?: string | undefined;
|
|
5101
5156
|
numberOfPositions?: number | undefined;
|
|
5102
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
5103
5157
|
workHours?: number | undefined;
|
|
5104
5158
|
pay?: {
|
|
5105
5159
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -5120,9 +5174,9 @@ export declare const jobsContractRouter: {
|
|
|
5120
5174
|
id: string;
|
|
5121
5175
|
} | undefined;
|
|
5122
5176
|
}, {
|
|
5177
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
5123
5178
|
description?: string | undefined;
|
|
5124
5179
|
numberOfPositions?: number | undefined;
|
|
5125
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
5126
5180
|
workHours?: number | undefined;
|
|
5127
5181
|
pay?: {
|
|
5128
5182
|
rate: number;
|
|
@@ -5314,15 +5368,15 @@ export declare const jobsContractRouter: {
|
|
|
5314
5368
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5315
5369
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5316
5370
|
}, "strip", z.ZodTypeAny, {
|
|
5371
|
+
id: string;
|
|
5372
|
+
name: string;
|
|
5317
5373
|
createdAt: string;
|
|
5318
5374
|
updatedAt: string;
|
|
5375
|
+
}, {
|
|
5319
5376
|
id: string;
|
|
5320
5377
|
name: string;
|
|
5321
|
-
}, {
|
|
5322
5378
|
createdAt: string | Date;
|
|
5323
5379
|
updatedAt: string | Date;
|
|
5324
|
-
id: string;
|
|
5325
|
-
name: string;
|
|
5326
5380
|
}>>>;
|
|
5327
5381
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5328
5382
|
id: z.ZodString;
|
|
@@ -5358,11 +5412,11 @@ export declare const jobsContractRouter: {
|
|
|
5358
5412
|
agentId: string;
|
|
5359
5413
|
}>>>;
|
|
5360
5414
|
}, "strip", z.ZodTypeAny, {
|
|
5361
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5362
|
-
createdAt: string;
|
|
5363
|
-
updatedAt: string;
|
|
5364
5415
|
id: string;
|
|
5365
5416
|
name: string;
|
|
5417
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5418
|
+
createdAt: string;
|
|
5419
|
+
updatedAt: string;
|
|
5366
5420
|
crn: string;
|
|
5367
5421
|
govLink: string;
|
|
5368
5422
|
director: string;
|
|
@@ -5377,11 +5431,11 @@ export declare const jobsContractRouter: {
|
|
|
5377
5431
|
agentId: string;
|
|
5378
5432
|
} | null | undefined;
|
|
5379
5433
|
}, {
|
|
5380
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5381
|
-
createdAt: string | Date;
|
|
5382
|
-
updatedAt: string | Date;
|
|
5383
5434
|
id: string;
|
|
5384
5435
|
name: string;
|
|
5436
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5437
|
+
createdAt: string | Date;
|
|
5438
|
+
updatedAt: string | Date;
|
|
5385
5439
|
crn: string;
|
|
5386
5440
|
govLink: string;
|
|
5387
5441
|
director: string;
|
|
@@ -5425,15 +5479,15 @@ export declare const jobsContractRouter: {
|
|
|
5425
5479
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5426
5480
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5427
5481
|
}, "strip", z.ZodTypeAny, {
|
|
5482
|
+
id: string;
|
|
5483
|
+
name: string;
|
|
5428
5484
|
createdAt: string;
|
|
5429
5485
|
updatedAt: string;
|
|
5486
|
+
}, {
|
|
5430
5487
|
id: string;
|
|
5431
5488
|
name: string;
|
|
5432
|
-
}, {
|
|
5433
5489
|
createdAt: string | Date;
|
|
5434
5490
|
updatedAt: string | Date;
|
|
5435
|
-
id: string;
|
|
5436
|
-
name: string;
|
|
5437
5491
|
}>>>;
|
|
5438
5492
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5439
5493
|
id: z.ZodString;
|
|
@@ -5469,11 +5523,11 @@ export declare const jobsContractRouter: {
|
|
|
5469
5523
|
agentId: string;
|
|
5470
5524
|
}>>>;
|
|
5471
5525
|
}, "strip", z.ZodTypeAny, {
|
|
5472
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5473
|
-
createdAt: string;
|
|
5474
|
-
updatedAt: string;
|
|
5475
5526
|
id: string;
|
|
5476
5527
|
name: string;
|
|
5528
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5529
|
+
createdAt: string;
|
|
5530
|
+
updatedAt: string;
|
|
5477
5531
|
crn: string;
|
|
5478
5532
|
govLink: string;
|
|
5479
5533
|
director: string;
|
|
@@ -5488,11 +5542,11 @@ export declare const jobsContractRouter: {
|
|
|
5488
5542
|
agentId: string;
|
|
5489
5543
|
} | null | undefined;
|
|
5490
5544
|
}, {
|
|
5491
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5492
|
-
createdAt: string | Date;
|
|
5493
|
-
updatedAt: string | Date;
|
|
5494
5545
|
id: string;
|
|
5495
5546
|
name: string;
|
|
5547
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5548
|
+
createdAt: string | Date;
|
|
5549
|
+
updatedAt: string | Date;
|
|
5496
5550
|
crn: string;
|
|
5497
5551
|
govLink: string;
|
|
5498
5552
|
director: string;
|
|
@@ -5528,23 +5582,23 @@ export declare const jobsContractRouter: {
|
|
|
5528
5582
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5529
5583
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5530
5584
|
}, "strip", z.ZodTypeAny, {
|
|
5531
|
-
|
|
5585
|
+
id: string;
|
|
5586
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5532
5587
|
createdAt: string;
|
|
5533
5588
|
updatedAt: string;
|
|
5534
|
-
id: string;
|
|
5535
5589
|
userId: string;
|
|
5536
5590
|
company?: {
|
|
5537
|
-
createdAt: string;
|
|
5538
|
-
updatedAt: string;
|
|
5539
5591
|
id: string;
|
|
5540
5592
|
name: string;
|
|
5541
|
-
} | null | undefined;
|
|
5542
|
-
client?: {
|
|
5543
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5544
5593
|
createdAt: string;
|
|
5545
5594
|
updatedAt: string;
|
|
5595
|
+
} | null | undefined;
|
|
5596
|
+
client?: {
|
|
5546
5597
|
id: string;
|
|
5547
5598
|
name: string;
|
|
5599
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5600
|
+
createdAt: string;
|
|
5601
|
+
updatedAt: string;
|
|
5548
5602
|
crn: string;
|
|
5549
5603
|
govLink: string;
|
|
5550
5604
|
director: string;
|
|
@@ -5566,23 +5620,23 @@ export declare const jobsContractRouter: {
|
|
|
5566
5620
|
email: string;
|
|
5567
5621
|
} | null | undefined;
|
|
5568
5622
|
}, {
|
|
5569
|
-
|
|
5623
|
+
id: string;
|
|
5624
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5570
5625
|
createdAt: string | Date;
|
|
5571
5626
|
updatedAt: string | Date;
|
|
5572
|
-
id: string;
|
|
5573
5627
|
userId: string;
|
|
5574
5628
|
company?: {
|
|
5575
|
-
createdAt: string | Date;
|
|
5576
|
-
updatedAt: string | Date;
|
|
5577
5629
|
id: string;
|
|
5578
5630
|
name: string;
|
|
5579
|
-
} | null | undefined;
|
|
5580
|
-
client?: {
|
|
5581
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5582
5631
|
createdAt: string | Date;
|
|
5583
5632
|
updatedAt: string | Date;
|
|
5633
|
+
} | null | undefined;
|
|
5634
|
+
client?: {
|
|
5584
5635
|
id: string;
|
|
5585
5636
|
name: string;
|
|
5637
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5638
|
+
createdAt: string | Date;
|
|
5639
|
+
updatedAt: string | Date;
|
|
5586
5640
|
crn: string;
|
|
5587
5641
|
govLink: string;
|
|
5588
5642
|
director: string;
|
|
@@ -5605,23 +5659,23 @@ export declare const jobsContractRouter: {
|
|
|
5605
5659
|
} | null | undefined;
|
|
5606
5660
|
}>>>;
|
|
5607
5661
|
}, "strip", z.ZodTypeAny, {
|
|
5608
|
-
|
|
5662
|
+
id: string;
|
|
5663
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5609
5664
|
createdAt: string;
|
|
5610
5665
|
updatedAt: string;
|
|
5611
|
-
id: string;
|
|
5612
5666
|
userId: string;
|
|
5613
5667
|
company?: {
|
|
5614
|
-
createdAt: string;
|
|
5615
|
-
updatedAt: string;
|
|
5616
5668
|
id: string;
|
|
5617
5669
|
name: string;
|
|
5618
|
-
} | null | undefined;
|
|
5619
|
-
client?: {
|
|
5620
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5621
5670
|
createdAt: string;
|
|
5622
5671
|
updatedAt: string;
|
|
5672
|
+
} | null | undefined;
|
|
5673
|
+
client?: {
|
|
5623
5674
|
id: string;
|
|
5624
5675
|
name: string;
|
|
5676
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5677
|
+
createdAt: string;
|
|
5678
|
+
updatedAt: string;
|
|
5625
5679
|
crn: string;
|
|
5626
5680
|
govLink: string;
|
|
5627
5681
|
director: string;
|
|
@@ -5643,23 +5697,23 @@ export declare const jobsContractRouter: {
|
|
|
5643
5697
|
email: string;
|
|
5644
5698
|
} | null | undefined;
|
|
5645
5699
|
newCollaboration?: {
|
|
5646
|
-
|
|
5700
|
+
id: string;
|
|
5701
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5647
5702
|
createdAt: string;
|
|
5648
5703
|
updatedAt: string;
|
|
5649
|
-
id: string;
|
|
5650
5704
|
userId: string;
|
|
5651
5705
|
company?: {
|
|
5652
|
-
createdAt: string;
|
|
5653
|
-
updatedAt: string;
|
|
5654
5706
|
id: string;
|
|
5655
5707
|
name: string;
|
|
5656
|
-
} | null | undefined;
|
|
5657
|
-
client?: {
|
|
5658
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5659
5708
|
createdAt: string;
|
|
5660
5709
|
updatedAt: string;
|
|
5710
|
+
} | null | undefined;
|
|
5711
|
+
client?: {
|
|
5661
5712
|
id: string;
|
|
5662
5713
|
name: string;
|
|
5714
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5715
|
+
createdAt: string;
|
|
5716
|
+
updatedAt: string;
|
|
5663
5717
|
crn: string;
|
|
5664
5718
|
govLink: string;
|
|
5665
5719
|
director: string;
|
|
@@ -5682,23 +5736,23 @@ export declare const jobsContractRouter: {
|
|
|
5682
5736
|
} | null | undefined;
|
|
5683
5737
|
} | null | undefined;
|
|
5684
5738
|
}, {
|
|
5685
|
-
|
|
5739
|
+
id: string;
|
|
5740
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5686
5741
|
createdAt: string | Date;
|
|
5687
5742
|
updatedAt: string | Date;
|
|
5688
|
-
id: string;
|
|
5689
5743
|
userId: string;
|
|
5690
5744
|
company?: {
|
|
5691
|
-
createdAt: string | Date;
|
|
5692
|
-
updatedAt: string | Date;
|
|
5693
5745
|
id: string;
|
|
5694
5746
|
name: string;
|
|
5695
|
-
} | null | undefined;
|
|
5696
|
-
client?: {
|
|
5697
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5698
5747
|
createdAt: string | Date;
|
|
5699
5748
|
updatedAt: string | Date;
|
|
5749
|
+
} | null | undefined;
|
|
5750
|
+
client?: {
|
|
5700
5751
|
id: string;
|
|
5701
5752
|
name: string;
|
|
5753
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5754
|
+
createdAt: string | Date;
|
|
5755
|
+
updatedAt: string | Date;
|
|
5702
5756
|
crn: string;
|
|
5703
5757
|
govLink: string;
|
|
5704
5758
|
director: string;
|
|
@@ -5720,23 +5774,23 @@ export declare const jobsContractRouter: {
|
|
|
5720
5774
|
email: string;
|
|
5721
5775
|
} | null | undefined;
|
|
5722
5776
|
newCollaboration?: {
|
|
5723
|
-
|
|
5777
|
+
id: string;
|
|
5778
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5724
5779
|
createdAt: string | Date;
|
|
5725
5780
|
updatedAt: string | Date;
|
|
5726
|
-
id: string;
|
|
5727
5781
|
userId: string;
|
|
5728
5782
|
company?: {
|
|
5729
|
-
createdAt: string | Date;
|
|
5730
|
-
updatedAt: string | Date;
|
|
5731
5783
|
id: string;
|
|
5732
5784
|
name: string;
|
|
5733
|
-
} | null | undefined;
|
|
5734
|
-
client?: {
|
|
5735
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5736
5785
|
createdAt: string | Date;
|
|
5737
5786
|
updatedAt: string | Date;
|
|
5787
|
+
} | null | undefined;
|
|
5788
|
+
client?: {
|
|
5738
5789
|
id: string;
|
|
5739
5790
|
name: string;
|
|
5791
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5792
|
+
createdAt: string | Date;
|
|
5793
|
+
updatedAt: string | Date;
|
|
5740
5794
|
crn: string;
|
|
5741
5795
|
govLink: string;
|
|
5742
5796
|
director: string;
|
|
@@ -5762,12 +5816,12 @@ export declare const jobsContractRouter: {
|
|
|
5762
5816
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5763
5817
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5764
5818
|
}, "strip", z.ZodTypeAny, {
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5819
|
+
id: string;
|
|
5820
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
5768
5821
|
createdAt: string;
|
|
5769
5822
|
updatedAt: string;
|
|
5770
|
-
|
|
5823
|
+
description: string;
|
|
5824
|
+
numberOfPositions: number;
|
|
5771
5825
|
pay: {
|
|
5772
5826
|
rateUnit: "DAILY" | "HOURLY";
|
|
5773
5827
|
rate: number;
|
|
@@ -5791,23 +5845,23 @@ export declare const jobsContractRouter: {
|
|
|
5791
5845
|
areaCovered?: string | null | undefined;
|
|
5792
5846
|
} | null | undefined;
|
|
5793
5847
|
currentCollaboration?: {
|
|
5794
|
-
|
|
5848
|
+
id: string;
|
|
5849
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5795
5850
|
createdAt: string;
|
|
5796
5851
|
updatedAt: string;
|
|
5797
|
-
id: string;
|
|
5798
5852
|
userId: string;
|
|
5799
5853
|
company?: {
|
|
5800
|
-
createdAt: string;
|
|
5801
|
-
updatedAt: string;
|
|
5802
5854
|
id: string;
|
|
5803
5855
|
name: string;
|
|
5804
|
-
} | null | undefined;
|
|
5805
|
-
client?: {
|
|
5806
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5807
5856
|
createdAt: string;
|
|
5808
5857
|
updatedAt: string;
|
|
5858
|
+
} | null | undefined;
|
|
5859
|
+
client?: {
|
|
5809
5860
|
id: string;
|
|
5810
5861
|
name: string;
|
|
5862
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5863
|
+
createdAt: string;
|
|
5864
|
+
updatedAt: string;
|
|
5811
5865
|
crn: string;
|
|
5812
5866
|
govLink: string;
|
|
5813
5867
|
director: string;
|
|
@@ -5829,23 +5883,23 @@ export declare const jobsContractRouter: {
|
|
|
5829
5883
|
email: string;
|
|
5830
5884
|
} | null | undefined;
|
|
5831
5885
|
newCollaboration?: {
|
|
5832
|
-
|
|
5886
|
+
id: string;
|
|
5887
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5833
5888
|
createdAt: string;
|
|
5834
5889
|
updatedAt: string;
|
|
5835
|
-
id: string;
|
|
5836
5890
|
userId: string;
|
|
5837
5891
|
company?: {
|
|
5838
|
-
createdAt: string;
|
|
5839
|
-
updatedAt: string;
|
|
5840
5892
|
id: string;
|
|
5841
5893
|
name: string;
|
|
5842
|
-
} | null | undefined;
|
|
5843
|
-
client?: {
|
|
5844
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5845
5894
|
createdAt: string;
|
|
5846
5895
|
updatedAt: string;
|
|
5896
|
+
} | null | undefined;
|
|
5897
|
+
client?: {
|
|
5847
5898
|
id: string;
|
|
5848
5899
|
name: string;
|
|
5900
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5901
|
+
createdAt: string;
|
|
5902
|
+
updatedAt: string;
|
|
5849
5903
|
crn: string;
|
|
5850
5904
|
govLink: string;
|
|
5851
5905
|
director: string;
|
|
@@ -5869,12 +5923,12 @@ export declare const jobsContractRouter: {
|
|
|
5869
5923
|
} | null | undefined;
|
|
5870
5924
|
} | null | undefined;
|
|
5871
5925
|
}, {
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5926
|
+
id: string;
|
|
5927
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
5875
5928
|
createdAt: string | Date;
|
|
5876
5929
|
updatedAt: string | Date;
|
|
5877
|
-
|
|
5930
|
+
description: string;
|
|
5931
|
+
numberOfPositions: number;
|
|
5878
5932
|
pay: {
|
|
5879
5933
|
rateUnit: "DAILY" | "HOURLY";
|
|
5880
5934
|
rate: number;
|
|
@@ -5898,23 +5952,23 @@ export declare const jobsContractRouter: {
|
|
|
5898
5952
|
qualificationTypeId?: string | null | undefined;
|
|
5899
5953
|
}[] | undefined;
|
|
5900
5954
|
currentCollaboration?: {
|
|
5901
|
-
|
|
5955
|
+
id: string;
|
|
5956
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5902
5957
|
createdAt: string | Date;
|
|
5903
5958
|
updatedAt: string | Date;
|
|
5904
|
-
id: string;
|
|
5905
5959
|
userId: string;
|
|
5906
5960
|
company?: {
|
|
5907
|
-
createdAt: string | Date;
|
|
5908
|
-
updatedAt: string | Date;
|
|
5909
5961
|
id: string;
|
|
5910
5962
|
name: string;
|
|
5911
|
-
} | null | undefined;
|
|
5912
|
-
client?: {
|
|
5913
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5914
5963
|
createdAt: string | Date;
|
|
5915
5964
|
updatedAt: string | Date;
|
|
5965
|
+
} | null | undefined;
|
|
5966
|
+
client?: {
|
|
5916
5967
|
id: string;
|
|
5917
5968
|
name: string;
|
|
5969
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5970
|
+
createdAt: string | Date;
|
|
5971
|
+
updatedAt: string | Date;
|
|
5918
5972
|
crn: string;
|
|
5919
5973
|
govLink: string;
|
|
5920
5974
|
director: string;
|
|
@@ -5936,23 +5990,23 @@ export declare const jobsContractRouter: {
|
|
|
5936
5990
|
email: string;
|
|
5937
5991
|
} | null | undefined;
|
|
5938
5992
|
newCollaboration?: {
|
|
5939
|
-
|
|
5993
|
+
id: string;
|
|
5994
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5940
5995
|
createdAt: string | Date;
|
|
5941
5996
|
updatedAt: string | Date;
|
|
5942
|
-
id: string;
|
|
5943
5997
|
userId: string;
|
|
5944
5998
|
company?: {
|
|
5945
|
-
createdAt: string | Date;
|
|
5946
|
-
updatedAt: string | Date;
|
|
5947
5999
|
id: string;
|
|
5948
6000
|
name: string;
|
|
5949
|
-
} | null | undefined;
|
|
5950
|
-
client?: {
|
|
5951
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5952
6001
|
createdAt: string | Date;
|
|
5953
6002
|
updatedAt: string | Date;
|
|
6003
|
+
} | null | undefined;
|
|
6004
|
+
client?: {
|
|
5954
6005
|
id: string;
|
|
5955
6006
|
name: string;
|
|
6007
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
6008
|
+
createdAt: string | Date;
|
|
6009
|
+
updatedAt: string | Date;
|
|
5956
6010
|
crn: string;
|
|
5957
6011
|
govLink: string;
|
|
5958
6012
|
director: string;
|