@dakkitor/api-contracts 1.1.33 → 1.1.35
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 +25 -0
- package/dist/actives/actives.contract.d.ts +2741 -2741
- package/dist/bookings/bookings.contract.d.ts +2322 -2322
- package/dist/call-history/call-history.contract.d.ts +530 -232
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +14 -14
- package/dist/client-contacts/client-contacts.contract.js +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 +684 -684
- package/dist/lead-assignments/lead-assignments.contract.d.ts +512 -208
- 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 +64 -64
- 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;
|
|
@@ -1055,51 +1055,51 @@ export declare const FilterJobSchema: z.ZodObject<{
|
|
|
1055
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1056
1056
|
limit: number;
|
|
1057
1057
|
page: number;
|
|
1058
|
-
status?: "
|
|
1058
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
|
|
1059
1059
|
createdAt?: {
|
|
1060
1060
|
from?: string | null | undefined;
|
|
1061
1061
|
to?: string | null | undefined;
|
|
1062
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;
|
|
1063
1068
|
pay?: {
|
|
1064
1069
|
minRate?: number | null | undefined;
|
|
1065
1070
|
maxRate?: number | null | undefined;
|
|
1066
1071
|
} | null | undefined;
|
|
1067
1072
|
postcode?: string | null | undefined;
|
|
1068
1073
|
tradeId?: string | null | undefined;
|
|
1069
|
-
userId?: string | null | undefined;
|
|
1070
1074
|
qualificationFilters?: {
|
|
1071
1075
|
qualificationId?: string | undefined;
|
|
1072
1076
|
qualificationTypeId?: string | undefined;
|
|
1073
1077
|
}[] | undefined;
|
|
1074
|
-
clientId?: string | null | undefined;
|
|
1075
|
-
companyId?: string | null | undefined;
|
|
1076
1078
|
distance?: number | null | undefined;
|
|
1077
|
-
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1078
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1079
1079
|
}, {
|
|
1080
|
-
status?: "
|
|
1080
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
|
|
1081
1081
|
createdAt?: {
|
|
1082
1082
|
from?: string | null | undefined;
|
|
1083
1083
|
to?: string | null | undefined;
|
|
1084
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;
|
|
1085
1092
|
pay?: {
|
|
1086
1093
|
minRate?: number | null | undefined;
|
|
1087
1094
|
maxRate?: number | null | undefined;
|
|
1088
1095
|
} | null | undefined;
|
|
1089
1096
|
postcode?: string | null | undefined;
|
|
1090
1097
|
tradeId?: string | null | undefined;
|
|
1091
|
-
userId?: string | null | undefined;
|
|
1092
|
-
limit?: number | undefined;
|
|
1093
|
-
page?: number | undefined;
|
|
1094
1098
|
qualificationFilters?: {
|
|
1095
1099
|
qualificationId?: string | undefined;
|
|
1096
1100
|
qualificationTypeId?: string | undefined;
|
|
1097
1101
|
}[] | undefined;
|
|
1098
|
-
clientId?: string | null | undefined;
|
|
1099
|
-
companyId?: string | null | undefined;
|
|
1100
1102
|
distance?: number | null | undefined;
|
|
1101
|
-
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
1102
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1103
1103
|
}>;
|
|
1104
1104
|
export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
1105
1105
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1171,15 +1171,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1171
1171
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1172
1172
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1173
1173
|
}, "strip", z.ZodTypeAny, {
|
|
1174
|
+
id: string;
|
|
1175
|
+
name: string;
|
|
1174
1176
|
createdAt: string;
|
|
1175
1177
|
updatedAt: string;
|
|
1178
|
+
}, {
|
|
1176
1179
|
id: string;
|
|
1177
1180
|
name: string;
|
|
1178
|
-
}, {
|
|
1179
1181
|
createdAt: string | Date;
|
|
1180
1182
|
updatedAt: string | Date;
|
|
1181
|
-
id: string;
|
|
1182
|
-
name: string;
|
|
1183
1183
|
}>>>;
|
|
1184
1184
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1185
1185
|
id: z.ZodString;
|
|
@@ -1215,11 +1215,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1215
1215
|
agentId: string;
|
|
1216
1216
|
}>>>;
|
|
1217
1217
|
}, "strip", z.ZodTypeAny, {
|
|
1218
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1219
|
-
createdAt: string;
|
|
1220
|
-
updatedAt: string;
|
|
1221
1218
|
id: string;
|
|
1222
1219
|
name: string;
|
|
1220
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1221
|
+
createdAt: string;
|
|
1222
|
+
updatedAt: string;
|
|
1223
1223
|
crn: string;
|
|
1224
1224
|
govLink: string;
|
|
1225
1225
|
director: string;
|
|
@@ -1234,11 +1234,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1234
1234
|
agentId: string;
|
|
1235
1235
|
} | null | undefined;
|
|
1236
1236
|
}, {
|
|
1237
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1238
|
-
createdAt: string | Date;
|
|
1239
|
-
updatedAt: string | Date;
|
|
1240
1237
|
id: string;
|
|
1241
1238
|
name: string;
|
|
1239
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1240
|
+
createdAt: string | Date;
|
|
1241
|
+
updatedAt: string | Date;
|
|
1242
1242
|
crn: string;
|
|
1243
1243
|
govLink: string;
|
|
1244
1244
|
director: string;
|
|
@@ -1282,15 +1282,15 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1282
1282
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1283
1283
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1284
1284
|
}, "strip", z.ZodTypeAny, {
|
|
1285
|
+
id: string;
|
|
1286
|
+
name: string;
|
|
1285
1287
|
createdAt: string;
|
|
1286
1288
|
updatedAt: string;
|
|
1289
|
+
}, {
|
|
1287
1290
|
id: string;
|
|
1288
1291
|
name: string;
|
|
1289
|
-
}, {
|
|
1290
1292
|
createdAt: string | Date;
|
|
1291
1293
|
updatedAt: string | Date;
|
|
1292
|
-
id: string;
|
|
1293
|
-
name: string;
|
|
1294
1294
|
}>>>;
|
|
1295
1295
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1296
1296
|
id: z.ZodString;
|
|
@@ -1326,11 +1326,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1326
1326
|
agentId: string;
|
|
1327
1327
|
}>>>;
|
|
1328
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1329
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1330
|
-
createdAt: string;
|
|
1331
|
-
updatedAt: string;
|
|
1332
1329
|
id: string;
|
|
1333
1330
|
name: string;
|
|
1331
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1332
|
+
createdAt: string;
|
|
1333
|
+
updatedAt: string;
|
|
1334
1334
|
crn: string;
|
|
1335
1335
|
govLink: string;
|
|
1336
1336
|
director: string;
|
|
@@ -1345,11 +1345,11 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1345
1345
|
agentId: string;
|
|
1346
1346
|
} | null | undefined;
|
|
1347
1347
|
}, {
|
|
1348
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1349
|
-
createdAt: string | Date;
|
|
1350
|
-
updatedAt: string | Date;
|
|
1351
1348
|
id: string;
|
|
1352
1349
|
name: string;
|
|
1350
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1351
|
+
createdAt: string | Date;
|
|
1352
|
+
updatedAt: string | Date;
|
|
1353
1353
|
crn: string;
|
|
1354
1354
|
govLink: string;
|
|
1355
1355
|
director: string;
|
|
@@ -1385,23 +1385,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1385
1385
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1386
1386
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1387
1387
|
}, "strip", z.ZodTypeAny, {
|
|
1388
|
-
|
|
1388
|
+
id: string;
|
|
1389
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1389
1390
|
createdAt: string;
|
|
1390
1391
|
updatedAt: string;
|
|
1391
|
-
id: string;
|
|
1392
1392
|
userId: string;
|
|
1393
1393
|
company?: {
|
|
1394
|
-
createdAt: string;
|
|
1395
|
-
updatedAt: string;
|
|
1396
1394
|
id: string;
|
|
1397
1395
|
name: string;
|
|
1398
|
-
} | null | undefined;
|
|
1399
|
-
client?: {
|
|
1400
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1401
1396
|
createdAt: string;
|
|
1402
1397
|
updatedAt: string;
|
|
1398
|
+
} | null | undefined;
|
|
1399
|
+
client?: {
|
|
1403
1400
|
id: string;
|
|
1404
1401
|
name: string;
|
|
1402
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1403
|
+
createdAt: string;
|
|
1404
|
+
updatedAt: string;
|
|
1405
1405
|
crn: string;
|
|
1406
1406
|
govLink: string;
|
|
1407
1407
|
director: string;
|
|
@@ -1423,23 +1423,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1423
1423
|
email: string;
|
|
1424
1424
|
} | null | undefined;
|
|
1425
1425
|
}, {
|
|
1426
|
-
|
|
1426
|
+
id: string;
|
|
1427
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1427
1428
|
createdAt: string | Date;
|
|
1428
1429
|
updatedAt: string | Date;
|
|
1429
|
-
id: string;
|
|
1430
1430
|
userId: string;
|
|
1431
1431
|
company?: {
|
|
1432
|
-
createdAt: string | Date;
|
|
1433
|
-
updatedAt: string | Date;
|
|
1434
1432
|
id: string;
|
|
1435
1433
|
name: string;
|
|
1436
|
-
} | null | undefined;
|
|
1437
|
-
client?: {
|
|
1438
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1439
1434
|
createdAt: string | Date;
|
|
1440
1435
|
updatedAt: string | Date;
|
|
1436
|
+
} | null | undefined;
|
|
1437
|
+
client?: {
|
|
1441
1438
|
id: string;
|
|
1442
1439
|
name: string;
|
|
1440
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1441
|
+
createdAt: string | Date;
|
|
1442
|
+
updatedAt: string | Date;
|
|
1443
1443
|
crn: string;
|
|
1444
1444
|
govLink: string;
|
|
1445
1445
|
director: string;
|
|
@@ -1462,23 +1462,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1462
1462
|
} | null | undefined;
|
|
1463
1463
|
}>>>;
|
|
1464
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1465
|
-
|
|
1465
|
+
id: string;
|
|
1466
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1466
1467
|
createdAt: string;
|
|
1467
1468
|
updatedAt: string;
|
|
1468
|
-
id: string;
|
|
1469
1469
|
userId: string;
|
|
1470
1470
|
company?: {
|
|
1471
|
-
createdAt: string;
|
|
1472
|
-
updatedAt: string;
|
|
1473
1471
|
id: string;
|
|
1474
1472
|
name: string;
|
|
1475
|
-
} | null | undefined;
|
|
1476
|
-
client?: {
|
|
1477
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1478
1473
|
createdAt: string;
|
|
1479
1474
|
updatedAt: string;
|
|
1475
|
+
} | null | undefined;
|
|
1476
|
+
client?: {
|
|
1480
1477
|
id: string;
|
|
1481
1478
|
name: string;
|
|
1479
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1480
|
+
createdAt: string;
|
|
1481
|
+
updatedAt: string;
|
|
1482
1482
|
crn: string;
|
|
1483
1483
|
govLink: string;
|
|
1484
1484
|
director: string;
|
|
@@ -1500,23 +1500,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1500
1500
|
email: string;
|
|
1501
1501
|
} | null | undefined;
|
|
1502
1502
|
newCollaboration?: {
|
|
1503
|
-
|
|
1503
|
+
id: string;
|
|
1504
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1504
1505
|
createdAt: string;
|
|
1505
1506
|
updatedAt: string;
|
|
1506
|
-
id: string;
|
|
1507
1507
|
userId: string;
|
|
1508
1508
|
company?: {
|
|
1509
|
-
createdAt: string;
|
|
1510
|
-
updatedAt: string;
|
|
1511
1509
|
id: string;
|
|
1512
1510
|
name: string;
|
|
1513
|
-
} | null | undefined;
|
|
1514
|
-
client?: {
|
|
1515
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1516
1511
|
createdAt: string;
|
|
1517
1512
|
updatedAt: string;
|
|
1513
|
+
} | null | undefined;
|
|
1514
|
+
client?: {
|
|
1518
1515
|
id: string;
|
|
1519
1516
|
name: string;
|
|
1517
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1518
|
+
createdAt: string;
|
|
1519
|
+
updatedAt: string;
|
|
1520
1520
|
crn: string;
|
|
1521
1521
|
govLink: string;
|
|
1522
1522
|
director: string;
|
|
@@ -1539,23 +1539,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1539
1539
|
} | null | undefined;
|
|
1540
1540
|
} | null | undefined;
|
|
1541
1541
|
}, {
|
|
1542
|
-
|
|
1542
|
+
id: string;
|
|
1543
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1543
1544
|
createdAt: string | Date;
|
|
1544
1545
|
updatedAt: string | Date;
|
|
1545
|
-
id: string;
|
|
1546
1546
|
userId: string;
|
|
1547
1547
|
company?: {
|
|
1548
|
-
createdAt: string | Date;
|
|
1549
|
-
updatedAt: string | Date;
|
|
1550
1548
|
id: string;
|
|
1551
1549
|
name: string;
|
|
1552
|
-
} | null | undefined;
|
|
1553
|
-
client?: {
|
|
1554
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1555
1550
|
createdAt: string | Date;
|
|
1556
1551
|
updatedAt: string | Date;
|
|
1552
|
+
} | null | undefined;
|
|
1553
|
+
client?: {
|
|
1557
1554
|
id: string;
|
|
1558
1555
|
name: string;
|
|
1556
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1557
|
+
createdAt: string | Date;
|
|
1558
|
+
updatedAt: string | Date;
|
|
1559
1559
|
crn: string;
|
|
1560
1560
|
govLink: string;
|
|
1561
1561
|
director: string;
|
|
@@ -1577,23 +1577,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1577
1577
|
email: string;
|
|
1578
1578
|
} | null | undefined;
|
|
1579
1579
|
newCollaboration?: {
|
|
1580
|
-
|
|
1580
|
+
id: string;
|
|
1581
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1581
1582
|
createdAt: string | Date;
|
|
1582
1583
|
updatedAt: string | Date;
|
|
1583
|
-
id: string;
|
|
1584
1584
|
userId: string;
|
|
1585
1585
|
company?: {
|
|
1586
|
-
createdAt: string | Date;
|
|
1587
|
-
updatedAt: string | Date;
|
|
1588
1586
|
id: string;
|
|
1589
1587
|
name: string;
|
|
1590
|
-
} | null | undefined;
|
|
1591
|
-
client?: {
|
|
1592
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1593
1588
|
createdAt: string | Date;
|
|
1594
1589
|
updatedAt: string | Date;
|
|
1590
|
+
} | null | undefined;
|
|
1591
|
+
client?: {
|
|
1595
1592
|
id: string;
|
|
1596
1593
|
name: string;
|
|
1594
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1595
|
+
createdAt: string | Date;
|
|
1596
|
+
updatedAt: string | Date;
|
|
1597
1597
|
crn: string;
|
|
1598
1598
|
govLink: string;
|
|
1599
1599
|
director: string;
|
|
@@ -1619,12 +1619,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1619
1619
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1620
1620
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1621
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1622
|
+
id: string;
|
|
1623
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1625
1624
|
createdAt: string;
|
|
1626
1625
|
updatedAt: string;
|
|
1627
|
-
|
|
1626
|
+
description: string;
|
|
1627
|
+
numberOfPositions: number;
|
|
1628
1628
|
pay: {
|
|
1629
1629
|
rateUnit: "DAILY" | "HOURLY";
|
|
1630
1630
|
rate: number;
|
|
@@ -1648,23 +1648,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1648
1648
|
areaCovered?: string | null | undefined;
|
|
1649
1649
|
} | null | undefined;
|
|
1650
1650
|
currentCollaboration?: {
|
|
1651
|
-
|
|
1651
|
+
id: string;
|
|
1652
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1652
1653
|
createdAt: string;
|
|
1653
1654
|
updatedAt: string;
|
|
1654
|
-
id: string;
|
|
1655
1655
|
userId: string;
|
|
1656
1656
|
company?: {
|
|
1657
|
-
createdAt: string;
|
|
1658
|
-
updatedAt: string;
|
|
1659
1657
|
id: string;
|
|
1660
1658
|
name: string;
|
|
1661
|
-
} | null | undefined;
|
|
1662
|
-
client?: {
|
|
1663
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1664
1659
|
createdAt: string;
|
|
1665
1660
|
updatedAt: string;
|
|
1661
|
+
} | null | undefined;
|
|
1662
|
+
client?: {
|
|
1666
1663
|
id: string;
|
|
1667
1664
|
name: string;
|
|
1665
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1666
|
+
createdAt: string;
|
|
1667
|
+
updatedAt: string;
|
|
1668
1668
|
crn: string;
|
|
1669
1669
|
govLink: string;
|
|
1670
1670
|
director: string;
|
|
@@ -1686,23 +1686,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1686
1686
|
email: string;
|
|
1687
1687
|
} | null | undefined;
|
|
1688
1688
|
newCollaboration?: {
|
|
1689
|
-
|
|
1689
|
+
id: string;
|
|
1690
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1690
1691
|
createdAt: string;
|
|
1691
1692
|
updatedAt: string;
|
|
1692
|
-
id: string;
|
|
1693
1693
|
userId: string;
|
|
1694
1694
|
company?: {
|
|
1695
|
-
createdAt: string;
|
|
1696
|
-
updatedAt: string;
|
|
1697
1695
|
id: string;
|
|
1698
1696
|
name: string;
|
|
1699
|
-
} | null | undefined;
|
|
1700
|
-
client?: {
|
|
1701
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1702
1697
|
createdAt: string;
|
|
1703
1698
|
updatedAt: string;
|
|
1699
|
+
} | null | undefined;
|
|
1700
|
+
client?: {
|
|
1704
1701
|
id: string;
|
|
1705
1702
|
name: string;
|
|
1703
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1704
|
+
createdAt: string;
|
|
1705
|
+
updatedAt: string;
|
|
1706
1706
|
crn: string;
|
|
1707
1707
|
govLink: string;
|
|
1708
1708
|
director: string;
|
|
@@ -1726,12 +1726,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1726
1726
|
} | null | undefined;
|
|
1727
1727
|
} | null | undefined;
|
|
1728
1728
|
}, {
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1729
|
+
id: string;
|
|
1730
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1732
1731
|
createdAt: string | Date;
|
|
1733
1732
|
updatedAt: string | Date;
|
|
1734
|
-
|
|
1733
|
+
description: string;
|
|
1734
|
+
numberOfPositions: number;
|
|
1735
1735
|
pay: {
|
|
1736
1736
|
rateUnit: "DAILY" | "HOURLY";
|
|
1737
1737
|
rate: number;
|
|
@@ -1755,23 +1755,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1755
1755
|
qualificationTypeId?: string | null | undefined;
|
|
1756
1756
|
}[] | undefined;
|
|
1757
1757
|
currentCollaboration?: {
|
|
1758
|
-
|
|
1758
|
+
id: string;
|
|
1759
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1759
1760
|
createdAt: string | Date;
|
|
1760
1761
|
updatedAt: string | Date;
|
|
1761
|
-
id: string;
|
|
1762
1762
|
userId: string;
|
|
1763
1763
|
company?: {
|
|
1764
|
-
createdAt: string | Date;
|
|
1765
|
-
updatedAt: string | Date;
|
|
1766
1764
|
id: string;
|
|
1767
1765
|
name: string;
|
|
1768
|
-
} | null | undefined;
|
|
1769
|
-
client?: {
|
|
1770
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1771
1766
|
createdAt: string | Date;
|
|
1772
1767
|
updatedAt: string | Date;
|
|
1768
|
+
} | null | undefined;
|
|
1769
|
+
client?: {
|
|
1773
1770
|
id: string;
|
|
1774
1771
|
name: string;
|
|
1772
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1773
|
+
createdAt: string | Date;
|
|
1774
|
+
updatedAt: string | Date;
|
|
1775
1775
|
crn: string;
|
|
1776
1776
|
govLink: string;
|
|
1777
1777
|
director: string;
|
|
@@ -1793,23 +1793,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1793
1793
|
email: string;
|
|
1794
1794
|
} | null | undefined;
|
|
1795
1795
|
newCollaboration?: {
|
|
1796
|
-
|
|
1796
|
+
id: string;
|
|
1797
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1797
1798
|
createdAt: string | Date;
|
|
1798
1799
|
updatedAt: string | Date;
|
|
1799
|
-
id: string;
|
|
1800
1800
|
userId: string;
|
|
1801
1801
|
company?: {
|
|
1802
|
-
createdAt: string | Date;
|
|
1803
|
-
updatedAt: string | Date;
|
|
1804
1802
|
id: string;
|
|
1805
1803
|
name: string;
|
|
1806
|
-
} | null | undefined;
|
|
1807
|
-
client?: {
|
|
1808
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1809
1804
|
createdAt: string | Date;
|
|
1810
1805
|
updatedAt: string | Date;
|
|
1806
|
+
} | null | undefined;
|
|
1807
|
+
client?: {
|
|
1811
1808
|
id: string;
|
|
1812
1809
|
name: string;
|
|
1810
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1811
|
+
createdAt: string | Date;
|
|
1812
|
+
updatedAt: string | Date;
|
|
1813
1813
|
crn: string;
|
|
1814
1814
|
govLink: string;
|
|
1815
1815
|
director: string;
|
|
@@ -1841,12 +1841,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1841
1841
|
}, "strip", z.ZodTypeAny, {
|
|
1842
1842
|
limit: number;
|
|
1843
1843
|
items: {
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1844
|
+
id: string;
|
|
1845
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1847
1846
|
createdAt: string;
|
|
1848
1847
|
updatedAt: string;
|
|
1849
|
-
|
|
1848
|
+
description: string;
|
|
1849
|
+
numberOfPositions: number;
|
|
1850
1850
|
pay: {
|
|
1851
1851
|
rateUnit: "DAILY" | "HOURLY";
|
|
1852
1852
|
rate: number;
|
|
@@ -1870,23 +1870,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1870
1870
|
areaCovered?: string | null | undefined;
|
|
1871
1871
|
} | null | undefined;
|
|
1872
1872
|
currentCollaboration?: {
|
|
1873
|
-
|
|
1873
|
+
id: string;
|
|
1874
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1874
1875
|
createdAt: string;
|
|
1875
1876
|
updatedAt: string;
|
|
1876
|
-
id: string;
|
|
1877
1877
|
userId: string;
|
|
1878
1878
|
company?: {
|
|
1879
|
-
createdAt: string;
|
|
1880
|
-
updatedAt: string;
|
|
1881
1879
|
id: string;
|
|
1882
1880
|
name: string;
|
|
1883
|
-
} | null | undefined;
|
|
1884
|
-
client?: {
|
|
1885
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1886
1881
|
createdAt: string;
|
|
1887
1882
|
updatedAt: string;
|
|
1883
|
+
} | null | undefined;
|
|
1884
|
+
client?: {
|
|
1888
1885
|
id: string;
|
|
1889
1886
|
name: string;
|
|
1887
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1888
|
+
createdAt: string;
|
|
1889
|
+
updatedAt: string;
|
|
1890
1890
|
crn: string;
|
|
1891
1891
|
govLink: string;
|
|
1892
1892
|
director: string;
|
|
@@ -1908,23 +1908,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1908
1908
|
email: string;
|
|
1909
1909
|
} | null | undefined;
|
|
1910
1910
|
newCollaboration?: {
|
|
1911
|
-
|
|
1911
|
+
id: string;
|
|
1912
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1912
1913
|
createdAt: string;
|
|
1913
1914
|
updatedAt: string;
|
|
1914
|
-
id: string;
|
|
1915
1915
|
userId: string;
|
|
1916
1916
|
company?: {
|
|
1917
|
-
createdAt: string;
|
|
1918
|
-
updatedAt: string;
|
|
1919
1917
|
id: string;
|
|
1920
1918
|
name: string;
|
|
1921
|
-
} | null | undefined;
|
|
1922
|
-
client?: {
|
|
1923
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1924
1919
|
createdAt: string;
|
|
1925
1920
|
updatedAt: string;
|
|
1921
|
+
} | null | undefined;
|
|
1922
|
+
client?: {
|
|
1926
1923
|
id: string;
|
|
1927
1924
|
name: string;
|
|
1925
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1926
|
+
createdAt: string;
|
|
1927
|
+
updatedAt: string;
|
|
1928
1928
|
crn: string;
|
|
1929
1929
|
govLink: string;
|
|
1930
1930
|
director: string;
|
|
@@ -1955,12 +1955,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1955
1955
|
}, {
|
|
1956
1956
|
limit: number;
|
|
1957
1957
|
items: {
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
1958
|
+
id: string;
|
|
1959
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
1961
1960
|
createdAt: string | Date;
|
|
1962
1961
|
updatedAt: string | Date;
|
|
1963
|
-
|
|
1962
|
+
description: string;
|
|
1963
|
+
numberOfPositions: number;
|
|
1964
1964
|
pay: {
|
|
1965
1965
|
rateUnit: "DAILY" | "HOURLY";
|
|
1966
1966
|
rate: number;
|
|
@@ -1984,23 +1984,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
1984
1984
|
qualificationTypeId?: string | null | undefined;
|
|
1985
1985
|
}[] | undefined;
|
|
1986
1986
|
currentCollaboration?: {
|
|
1987
|
-
|
|
1987
|
+
id: string;
|
|
1988
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1988
1989
|
createdAt: string | Date;
|
|
1989
1990
|
updatedAt: string | Date;
|
|
1990
|
-
id: string;
|
|
1991
1991
|
userId: string;
|
|
1992
1992
|
company?: {
|
|
1993
|
-
createdAt: string | Date;
|
|
1994
|
-
updatedAt: string | Date;
|
|
1995
1993
|
id: string;
|
|
1996
1994
|
name: string;
|
|
1997
|
-
} | null | undefined;
|
|
1998
|
-
client?: {
|
|
1999
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2000
1995
|
createdAt: string | Date;
|
|
2001
1996
|
updatedAt: string | Date;
|
|
1997
|
+
} | null | undefined;
|
|
1998
|
+
client?: {
|
|
2002
1999
|
id: string;
|
|
2003
2000
|
name: string;
|
|
2001
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2002
|
+
createdAt: string | Date;
|
|
2003
|
+
updatedAt: string | Date;
|
|
2004
2004
|
crn: string;
|
|
2005
2005
|
govLink: string;
|
|
2006
2006
|
director: string;
|
|
@@ -2022,23 +2022,23 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
|
|
|
2022
2022
|
email: string;
|
|
2023
2023
|
} | null | undefined;
|
|
2024
2024
|
newCollaboration?: {
|
|
2025
|
-
|
|
2025
|
+
id: string;
|
|
2026
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2026
2027
|
createdAt: string | Date;
|
|
2027
2028
|
updatedAt: string | Date;
|
|
2028
|
-
id: string;
|
|
2029
2029
|
userId: string;
|
|
2030
2030
|
company?: {
|
|
2031
|
-
createdAt: string | Date;
|
|
2032
|
-
updatedAt: string | Date;
|
|
2033
2031
|
id: string;
|
|
2034
2032
|
name: string;
|
|
2035
|
-
} | null | undefined;
|
|
2036
|
-
client?: {
|
|
2037
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2038
2033
|
createdAt: string | Date;
|
|
2039
2034
|
updatedAt: string | Date;
|
|
2035
|
+
} | null | undefined;
|
|
2036
|
+
client?: {
|
|
2040
2037
|
id: string;
|
|
2041
2038
|
name: string;
|
|
2039
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2040
|
+
createdAt: string | Date;
|
|
2041
|
+
updatedAt: string | Date;
|
|
2042
2042
|
crn: string;
|
|
2043
2043
|
govLink: string;
|
|
2044
2044
|
director: string;
|
|
@@ -2132,9 +2132,9 @@ export declare const jobsContractRouter: {
|
|
|
2132
2132
|
}>, "many">>;
|
|
2133
2133
|
status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
2134
2134
|
}, "strip", z.ZodTypeAny, {
|
|
2135
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
2135
2136
|
description: string;
|
|
2136
2137
|
numberOfPositions: number;
|
|
2137
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2138
2138
|
pay: {
|
|
2139
2139
|
rateUnit: "DAILY" | "HOURLY";
|
|
2140
2140
|
rate: number;
|
|
@@ -2167,7 +2167,7 @@ export declare const jobsContractRouter: {
|
|
|
2167
2167
|
currentCollaboration: {
|
|
2168
2168
|
id: string;
|
|
2169
2169
|
};
|
|
2170
|
-
status?: "
|
|
2170
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
2171
2171
|
workHours?: number | undefined;
|
|
2172
2172
|
location?: {
|
|
2173
2173
|
address?: string | null | undefined;
|
|
@@ -2349,15 +2349,15 @@ export declare const jobsContractRouter: {
|
|
|
2349
2349
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2350
2350
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2351
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2352
|
+
id: string;
|
|
2353
|
+
name: string;
|
|
2352
2354
|
createdAt: string;
|
|
2353
2355
|
updatedAt: string;
|
|
2356
|
+
}, {
|
|
2354
2357
|
id: string;
|
|
2355
2358
|
name: string;
|
|
2356
|
-
}, {
|
|
2357
2359
|
createdAt: string | Date;
|
|
2358
2360
|
updatedAt: string | Date;
|
|
2359
|
-
id: string;
|
|
2360
|
-
name: string;
|
|
2361
2361
|
}>>>;
|
|
2362
2362
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2363
2363
|
id: z.ZodString;
|
|
@@ -2393,11 +2393,11 @@ export declare const jobsContractRouter: {
|
|
|
2393
2393
|
agentId: string;
|
|
2394
2394
|
}>>>;
|
|
2395
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2397
|
-
createdAt: string;
|
|
2398
|
-
updatedAt: string;
|
|
2399
2396
|
id: string;
|
|
2400
2397
|
name: string;
|
|
2398
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2399
|
+
createdAt: string;
|
|
2400
|
+
updatedAt: string;
|
|
2401
2401
|
crn: string;
|
|
2402
2402
|
govLink: string;
|
|
2403
2403
|
director: string;
|
|
@@ -2412,11 +2412,11 @@ export declare const jobsContractRouter: {
|
|
|
2412
2412
|
agentId: string;
|
|
2413
2413
|
} | null | undefined;
|
|
2414
2414
|
}, {
|
|
2415
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2416
|
-
createdAt: string | Date;
|
|
2417
|
-
updatedAt: string | Date;
|
|
2418
2415
|
id: string;
|
|
2419
2416
|
name: string;
|
|
2417
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2418
|
+
createdAt: string | Date;
|
|
2419
|
+
updatedAt: string | Date;
|
|
2420
2420
|
crn: string;
|
|
2421
2421
|
govLink: string;
|
|
2422
2422
|
director: string;
|
|
@@ -2460,15 +2460,15 @@ export declare const jobsContractRouter: {
|
|
|
2460
2460
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2461
2461
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2462
2462
|
}, "strip", z.ZodTypeAny, {
|
|
2463
|
+
id: string;
|
|
2464
|
+
name: string;
|
|
2463
2465
|
createdAt: string;
|
|
2464
2466
|
updatedAt: string;
|
|
2467
|
+
}, {
|
|
2465
2468
|
id: string;
|
|
2466
2469
|
name: string;
|
|
2467
|
-
}, {
|
|
2468
2470
|
createdAt: string | Date;
|
|
2469
2471
|
updatedAt: string | Date;
|
|
2470
|
-
id: string;
|
|
2471
|
-
name: string;
|
|
2472
2472
|
}>>>;
|
|
2473
2473
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2474
2474
|
id: z.ZodString;
|
|
@@ -2504,11 +2504,11 @@ export declare const jobsContractRouter: {
|
|
|
2504
2504
|
agentId: string;
|
|
2505
2505
|
}>>>;
|
|
2506
2506
|
}, "strip", z.ZodTypeAny, {
|
|
2507
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2508
|
-
createdAt: string;
|
|
2509
|
-
updatedAt: string;
|
|
2510
2507
|
id: string;
|
|
2511
2508
|
name: string;
|
|
2509
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2510
|
+
createdAt: string;
|
|
2511
|
+
updatedAt: string;
|
|
2512
2512
|
crn: string;
|
|
2513
2513
|
govLink: string;
|
|
2514
2514
|
director: string;
|
|
@@ -2523,11 +2523,11 @@ export declare const jobsContractRouter: {
|
|
|
2523
2523
|
agentId: string;
|
|
2524
2524
|
} | null | undefined;
|
|
2525
2525
|
}, {
|
|
2526
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2527
|
-
createdAt: string | Date;
|
|
2528
|
-
updatedAt: string | Date;
|
|
2529
2526
|
id: string;
|
|
2530
2527
|
name: string;
|
|
2528
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2529
|
+
createdAt: string | Date;
|
|
2530
|
+
updatedAt: string | Date;
|
|
2531
2531
|
crn: string;
|
|
2532
2532
|
govLink: string;
|
|
2533
2533
|
director: string;
|
|
@@ -2563,23 +2563,23 @@ export declare const jobsContractRouter: {
|
|
|
2563
2563
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2564
2564
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2565
2565
|
}, "strip", z.ZodTypeAny, {
|
|
2566
|
-
|
|
2566
|
+
id: string;
|
|
2567
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2567
2568
|
createdAt: string;
|
|
2568
2569
|
updatedAt: string;
|
|
2569
|
-
id: string;
|
|
2570
2570
|
userId: string;
|
|
2571
2571
|
company?: {
|
|
2572
|
-
createdAt: string;
|
|
2573
|
-
updatedAt: string;
|
|
2574
2572
|
id: string;
|
|
2575
2573
|
name: string;
|
|
2576
|
-
} | null | undefined;
|
|
2577
|
-
client?: {
|
|
2578
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2579
2574
|
createdAt: string;
|
|
2580
2575
|
updatedAt: string;
|
|
2576
|
+
} | null | undefined;
|
|
2577
|
+
client?: {
|
|
2581
2578
|
id: string;
|
|
2582
2579
|
name: string;
|
|
2580
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2581
|
+
createdAt: string;
|
|
2582
|
+
updatedAt: string;
|
|
2583
2583
|
crn: string;
|
|
2584
2584
|
govLink: string;
|
|
2585
2585
|
director: string;
|
|
@@ -2601,23 +2601,23 @@ export declare const jobsContractRouter: {
|
|
|
2601
2601
|
email: string;
|
|
2602
2602
|
} | null | undefined;
|
|
2603
2603
|
}, {
|
|
2604
|
-
|
|
2604
|
+
id: string;
|
|
2605
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2605
2606
|
createdAt: string | Date;
|
|
2606
2607
|
updatedAt: string | Date;
|
|
2607
|
-
id: string;
|
|
2608
2608
|
userId: string;
|
|
2609
2609
|
company?: {
|
|
2610
|
-
createdAt: string | Date;
|
|
2611
|
-
updatedAt: string | Date;
|
|
2612
2610
|
id: string;
|
|
2613
2611
|
name: string;
|
|
2614
|
-
} | null | undefined;
|
|
2615
|
-
client?: {
|
|
2616
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2617
2612
|
createdAt: string | Date;
|
|
2618
2613
|
updatedAt: string | Date;
|
|
2614
|
+
} | null | undefined;
|
|
2615
|
+
client?: {
|
|
2619
2616
|
id: string;
|
|
2620
2617
|
name: string;
|
|
2618
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2619
|
+
createdAt: string | Date;
|
|
2620
|
+
updatedAt: string | Date;
|
|
2621
2621
|
crn: string;
|
|
2622
2622
|
govLink: string;
|
|
2623
2623
|
director: string;
|
|
@@ -2640,23 +2640,23 @@ export declare const jobsContractRouter: {
|
|
|
2640
2640
|
} | null | undefined;
|
|
2641
2641
|
}>>>;
|
|
2642
2642
|
}, "strip", z.ZodTypeAny, {
|
|
2643
|
-
|
|
2643
|
+
id: string;
|
|
2644
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2644
2645
|
createdAt: string;
|
|
2645
2646
|
updatedAt: string;
|
|
2646
|
-
id: string;
|
|
2647
2647
|
userId: string;
|
|
2648
2648
|
company?: {
|
|
2649
|
-
createdAt: string;
|
|
2650
|
-
updatedAt: string;
|
|
2651
2649
|
id: string;
|
|
2652
2650
|
name: string;
|
|
2653
|
-
} | null | undefined;
|
|
2654
|
-
client?: {
|
|
2655
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2656
2651
|
createdAt: string;
|
|
2657
2652
|
updatedAt: string;
|
|
2653
|
+
} | null | undefined;
|
|
2654
|
+
client?: {
|
|
2658
2655
|
id: string;
|
|
2659
2656
|
name: string;
|
|
2657
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2658
|
+
createdAt: string;
|
|
2659
|
+
updatedAt: string;
|
|
2660
2660
|
crn: string;
|
|
2661
2661
|
govLink: string;
|
|
2662
2662
|
director: string;
|
|
@@ -2678,23 +2678,23 @@ export declare const jobsContractRouter: {
|
|
|
2678
2678
|
email: string;
|
|
2679
2679
|
} | null | undefined;
|
|
2680
2680
|
newCollaboration?: {
|
|
2681
|
-
|
|
2681
|
+
id: string;
|
|
2682
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2682
2683
|
createdAt: string;
|
|
2683
2684
|
updatedAt: string;
|
|
2684
|
-
id: string;
|
|
2685
2685
|
userId: string;
|
|
2686
2686
|
company?: {
|
|
2687
|
-
createdAt: string;
|
|
2688
|
-
updatedAt: string;
|
|
2689
2687
|
id: string;
|
|
2690
2688
|
name: string;
|
|
2691
|
-
} | null | undefined;
|
|
2692
|
-
client?: {
|
|
2693
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2694
2689
|
createdAt: string;
|
|
2695
2690
|
updatedAt: string;
|
|
2691
|
+
} | null | undefined;
|
|
2692
|
+
client?: {
|
|
2696
2693
|
id: string;
|
|
2697
2694
|
name: string;
|
|
2695
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2696
|
+
createdAt: string;
|
|
2697
|
+
updatedAt: string;
|
|
2698
2698
|
crn: string;
|
|
2699
2699
|
govLink: string;
|
|
2700
2700
|
director: string;
|
|
@@ -2717,23 +2717,23 @@ export declare const jobsContractRouter: {
|
|
|
2717
2717
|
} | null | undefined;
|
|
2718
2718
|
} | null | undefined;
|
|
2719
2719
|
}, {
|
|
2720
|
-
|
|
2720
|
+
id: string;
|
|
2721
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2721
2722
|
createdAt: string | Date;
|
|
2722
2723
|
updatedAt: string | Date;
|
|
2723
|
-
id: string;
|
|
2724
2724
|
userId: string;
|
|
2725
2725
|
company?: {
|
|
2726
|
-
createdAt: string | Date;
|
|
2727
|
-
updatedAt: string | Date;
|
|
2728
2726
|
id: string;
|
|
2729
2727
|
name: string;
|
|
2730
|
-
} | null | undefined;
|
|
2731
|
-
client?: {
|
|
2732
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2733
2728
|
createdAt: string | Date;
|
|
2734
2729
|
updatedAt: string | Date;
|
|
2730
|
+
} | null | undefined;
|
|
2731
|
+
client?: {
|
|
2735
2732
|
id: string;
|
|
2736
2733
|
name: string;
|
|
2734
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2735
|
+
createdAt: string | Date;
|
|
2736
|
+
updatedAt: string | Date;
|
|
2737
2737
|
crn: string;
|
|
2738
2738
|
govLink: string;
|
|
2739
2739
|
director: string;
|
|
@@ -2755,23 +2755,23 @@ export declare const jobsContractRouter: {
|
|
|
2755
2755
|
email: string;
|
|
2756
2756
|
} | null | undefined;
|
|
2757
2757
|
newCollaboration?: {
|
|
2758
|
-
|
|
2758
|
+
id: string;
|
|
2759
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2759
2760
|
createdAt: string | Date;
|
|
2760
2761
|
updatedAt: string | Date;
|
|
2761
|
-
id: string;
|
|
2762
2762
|
userId: string;
|
|
2763
2763
|
company?: {
|
|
2764
|
-
createdAt: string | Date;
|
|
2765
|
-
updatedAt: string | Date;
|
|
2766
2764
|
id: string;
|
|
2767
2765
|
name: string;
|
|
2768
|
-
} | null | undefined;
|
|
2769
|
-
client?: {
|
|
2770
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2771
2766
|
createdAt: string | Date;
|
|
2772
2767
|
updatedAt: string | Date;
|
|
2768
|
+
} | null | undefined;
|
|
2769
|
+
client?: {
|
|
2773
2770
|
id: string;
|
|
2774
2771
|
name: string;
|
|
2772
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2773
|
+
createdAt: string | Date;
|
|
2774
|
+
updatedAt: string | Date;
|
|
2775
2775
|
crn: string;
|
|
2776
2776
|
govLink: string;
|
|
2777
2777
|
director: string;
|
|
@@ -2797,12 +2797,12 @@ export declare const jobsContractRouter: {
|
|
|
2797
2797
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2798
2798
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2799
2799
|
}, "strip", z.ZodTypeAny, {
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2800
|
+
id: string;
|
|
2801
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
2803
2802
|
createdAt: string;
|
|
2804
2803
|
updatedAt: string;
|
|
2805
|
-
|
|
2804
|
+
description: string;
|
|
2805
|
+
numberOfPositions: number;
|
|
2806
2806
|
pay: {
|
|
2807
2807
|
rateUnit: "DAILY" | "HOURLY";
|
|
2808
2808
|
rate: number;
|
|
@@ -2826,23 +2826,23 @@ export declare const jobsContractRouter: {
|
|
|
2826
2826
|
areaCovered?: string | null | undefined;
|
|
2827
2827
|
} | null | undefined;
|
|
2828
2828
|
currentCollaboration?: {
|
|
2829
|
-
|
|
2829
|
+
id: string;
|
|
2830
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2830
2831
|
createdAt: string;
|
|
2831
2832
|
updatedAt: string;
|
|
2832
|
-
id: string;
|
|
2833
2833
|
userId: string;
|
|
2834
2834
|
company?: {
|
|
2835
|
-
createdAt: string;
|
|
2836
|
-
updatedAt: string;
|
|
2837
2835
|
id: string;
|
|
2838
2836
|
name: string;
|
|
2839
|
-
} | null | undefined;
|
|
2840
|
-
client?: {
|
|
2841
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2842
2837
|
createdAt: string;
|
|
2843
2838
|
updatedAt: string;
|
|
2839
|
+
} | null | undefined;
|
|
2840
|
+
client?: {
|
|
2844
2841
|
id: string;
|
|
2845
2842
|
name: string;
|
|
2843
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2844
|
+
createdAt: string;
|
|
2845
|
+
updatedAt: string;
|
|
2846
2846
|
crn: string;
|
|
2847
2847
|
govLink: string;
|
|
2848
2848
|
director: string;
|
|
@@ -2864,23 +2864,23 @@ export declare const jobsContractRouter: {
|
|
|
2864
2864
|
email: string;
|
|
2865
2865
|
} | null | undefined;
|
|
2866
2866
|
newCollaboration?: {
|
|
2867
|
-
|
|
2867
|
+
id: string;
|
|
2868
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2868
2869
|
createdAt: string;
|
|
2869
2870
|
updatedAt: string;
|
|
2870
|
-
id: string;
|
|
2871
2871
|
userId: string;
|
|
2872
2872
|
company?: {
|
|
2873
|
-
createdAt: string;
|
|
2874
|
-
updatedAt: string;
|
|
2875
2873
|
id: string;
|
|
2876
2874
|
name: string;
|
|
2877
|
-
} | null | undefined;
|
|
2878
|
-
client?: {
|
|
2879
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2880
2875
|
createdAt: string;
|
|
2881
2876
|
updatedAt: string;
|
|
2877
|
+
} | null | undefined;
|
|
2878
|
+
client?: {
|
|
2882
2879
|
id: string;
|
|
2883
2880
|
name: string;
|
|
2881
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2882
|
+
createdAt: string;
|
|
2883
|
+
updatedAt: string;
|
|
2884
2884
|
crn: string;
|
|
2885
2885
|
govLink: string;
|
|
2886
2886
|
director: string;
|
|
@@ -2904,12 +2904,12 @@ export declare const jobsContractRouter: {
|
|
|
2904
2904
|
} | null | undefined;
|
|
2905
2905
|
} | null | undefined;
|
|
2906
2906
|
}, {
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
2907
|
+
id: string;
|
|
2908
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
2910
2909
|
createdAt: string | Date;
|
|
2911
2910
|
updatedAt: string | Date;
|
|
2912
|
-
|
|
2911
|
+
description: string;
|
|
2912
|
+
numberOfPositions: number;
|
|
2913
2913
|
pay: {
|
|
2914
2914
|
rateUnit: "DAILY" | "HOURLY";
|
|
2915
2915
|
rate: number;
|
|
@@ -2933,23 +2933,23 @@ export declare const jobsContractRouter: {
|
|
|
2933
2933
|
qualificationTypeId?: string | null | undefined;
|
|
2934
2934
|
}[] | undefined;
|
|
2935
2935
|
currentCollaboration?: {
|
|
2936
|
-
|
|
2936
|
+
id: string;
|
|
2937
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2937
2938
|
createdAt: string | Date;
|
|
2938
2939
|
updatedAt: string | Date;
|
|
2939
|
-
id: string;
|
|
2940
2940
|
userId: string;
|
|
2941
2941
|
company?: {
|
|
2942
|
-
createdAt: string | Date;
|
|
2943
|
-
updatedAt: string | Date;
|
|
2944
2942
|
id: string;
|
|
2945
2943
|
name: string;
|
|
2946
|
-
} | null | undefined;
|
|
2947
|
-
client?: {
|
|
2948
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2949
2944
|
createdAt: string | Date;
|
|
2950
2945
|
updatedAt: string | Date;
|
|
2946
|
+
} | null | undefined;
|
|
2947
|
+
client?: {
|
|
2951
2948
|
id: string;
|
|
2952
2949
|
name: string;
|
|
2950
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2951
|
+
createdAt: string | Date;
|
|
2952
|
+
updatedAt: string | Date;
|
|
2953
2953
|
crn: string;
|
|
2954
2954
|
govLink: string;
|
|
2955
2955
|
director: string;
|
|
@@ -2971,23 +2971,23 @@ export declare const jobsContractRouter: {
|
|
|
2971
2971
|
email: string;
|
|
2972
2972
|
} | null | undefined;
|
|
2973
2973
|
newCollaboration?: {
|
|
2974
|
-
|
|
2974
|
+
id: string;
|
|
2975
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2975
2976
|
createdAt: string | Date;
|
|
2976
2977
|
updatedAt: string | Date;
|
|
2977
|
-
id: string;
|
|
2978
2978
|
userId: string;
|
|
2979
2979
|
company?: {
|
|
2980
|
-
createdAt: string | Date;
|
|
2981
|
-
updatedAt: string | Date;
|
|
2982
2980
|
id: string;
|
|
2983
2981
|
name: string;
|
|
2984
|
-
} | null | undefined;
|
|
2985
|
-
client?: {
|
|
2986
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2987
2982
|
createdAt: string | Date;
|
|
2988
2983
|
updatedAt: string | Date;
|
|
2984
|
+
} | null | undefined;
|
|
2985
|
+
client?: {
|
|
2989
2986
|
id: string;
|
|
2990
2987
|
name: string;
|
|
2988
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2989
|
+
createdAt: string | Date;
|
|
2990
|
+
updatedAt: string | Date;
|
|
2991
2991
|
crn: string;
|
|
2992
2992
|
govLink: string;
|
|
2993
2993
|
director: string;
|
|
@@ -3091,51 +3091,51 @@ export declare const jobsContractRouter: {
|
|
|
3091
3091
|
}, "strip", z.ZodTypeAny, {
|
|
3092
3092
|
limit: number;
|
|
3093
3093
|
page: number;
|
|
3094
|
-
status?: "
|
|
3094
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
|
|
3095
3095
|
createdAt?: {
|
|
3096
3096
|
from?: string | null | undefined;
|
|
3097
3097
|
to?: string | null | undefined;
|
|
3098
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;
|
|
3099
3104
|
pay?: {
|
|
3100
3105
|
minRate?: number | null | undefined;
|
|
3101
3106
|
maxRate?: number | null | undefined;
|
|
3102
3107
|
} | null | undefined;
|
|
3103
3108
|
postcode?: string | null | undefined;
|
|
3104
3109
|
tradeId?: string | null | undefined;
|
|
3105
|
-
userId?: string | null | undefined;
|
|
3106
3110
|
qualificationFilters?: {
|
|
3107
3111
|
qualificationId?: string | undefined;
|
|
3108
3112
|
qualificationTypeId?: string | undefined;
|
|
3109
3113
|
}[] | undefined;
|
|
3110
|
-
clientId?: string | null | undefined;
|
|
3111
|
-
companyId?: string | null | undefined;
|
|
3112
3114
|
distance?: number | null | undefined;
|
|
3113
|
-
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
3114
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3115
3115
|
}, {
|
|
3116
|
-
status?: "
|
|
3116
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | null | undefined;
|
|
3117
3117
|
createdAt?: {
|
|
3118
3118
|
from?: string | null | undefined;
|
|
3119
3119
|
to?: string | null | undefined;
|
|
3120
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;
|
|
3121
3128
|
pay?: {
|
|
3122
3129
|
minRate?: number | null | undefined;
|
|
3123
3130
|
maxRate?: number | null | undefined;
|
|
3124
3131
|
} | null | undefined;
|
|
3125
3132
|
postcode?: string | null | undefined;
|
|
3126
3133
|
tradeId?: string | null | undefined;
|
|
3127
|
-
userId?: string | null | undefined;
|
|
3128
|
-
limit?: number | undefined;
|
|
3129
|
-
page?: number | undefined;
|
|
3130
3134
|
qualificationFilters?: {
|
|
3131
3135
|
qualificationId?: string | undefined;
|
|
3132
3136
|
qualificationTypeId?: string | undefined;
|
|
3133
3137
|
}[] | undefined;
|
|
3134
|
-
clientId?: string | null | undefined;
|
|
3135
|
-
companyId?: string | null | undefined;
|
|
3136
3138
|
distance?: number | null | undefined;
|
|
3137
|
-
sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
3138
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3139
3139
|
}>;
|
|
3140
3140
|
summary: "Get all jobs";
|
|
3141
3141
|
method: "GET";
|
|
@@ -3311,15 +3311,15 @@ export declare const jobsContractRouter: {
|
|
|
3311
3311
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3312
3312
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3313
3313
|
}, "strip", z.ZodTypeAny, {
|
|
3314
|
+
id: string;
|
|
3315
|
+
name: string;
|
|
3314
3316
|
createdAt: string;
|
|
3315
3317
|
updatedAt: string;
|
|
3318
|
+
}, {
|
|
3316
3319
|
id: string;
|
|
3317
3320
|
name: string;
|
|
3318
|
-
}, {
|
|
3319
3321
|
createdAt: string | Date;
|
|
3320
3322
|
updatedAt: string | Date;
|
|
3321
|
-
id: string;
|
|
3322
|
-
name: string;
|
|
3323
3323
|
}>>>;
|
|
3324
3324
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3325
3325
|
id: z.ZodString;
|
|
@@ -3355,11 +3355,11 @@ export declare const jobsContractRouter: {
|
|
|
3355
3355
|
agentId: string;
|
|
3356
3356
|
}>>>;
|
|
3357
3357
|
}, "strip", z.ZodTypeAny, {
|
|
3358
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3359
|
-
createdAt: string;
|
|
3360
|
-
updatedAt: string;
|
|
3361
3358
|
id: string;
|
|
3362
3359
|
name: string;
|
|
3360
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3361
|
+
createdAt: string;
|
|
3362
|
+
updatedAt: string;
|
|
3363
3363
|
crn: string;
|
|
3364
3364
|
govLink: string;
|
|
3365
3365
|
director: string;
|
|
@@ -3374,11 +3374,11 @@ export declare const jobsContractRouter: {
|
|
|
3374
3374
|
agentId: string;
|
|
3375
3375
|
} | null | undefined;
|
|
3376
3376
|
}, {
|
|
3377
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3378
|
-
createdAt: string | Date;
|
|
3379
|
-
updatedAt: string | Date;
|
|
3380
3377
|
id: string;
|
|
3381
3378
|
name: string;
|
|
3379
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3380
|
+
createdAt: string | Date;
|
|
3381
|
+
updatedAt: string | Date;
|
|
3382
3382
|
crn: string;
|
|
3383
3383
|
govLink: string;
|
|
3384
3384
|
director: string;
|
|
@@ -3422,15 +3422,15 @@ export declare const jobsContractRouter: {
|
|
|
3422
3422
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3423
3423
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3424
3424
|
}, "strip", z.ZodTypeAny, {
|
|
3425
|
+
id: string;
|
|
3426
|
+
name: string;
|
|
3425
3427
|
createdAt: string;
|
|
3426
3428
|
updatedAt: string;
|
|
3429
|
+
}, {
|
|
3427
3430
|
id: string;
|
|
3428
3431
|
name: string;
|
|
3429
|
-
}, {
|
|
3430
3432
|
createdAt: string | Date;
|
|
3431
3433
|
updatedAt: string | Date;
|
|
3432
|
-
id: string;
|
|
3433
|
-
name: string;
|
|
3434
3434
|
}>>>;
|
|
3435
3435
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3436
3436
|
id: z.ZodString;
|
|
@@ -3466,11 +3466,11 @@ export declare const jobsContractRouter: {
|
|
|
3466
3466
|
agentId: string;
|
|
3467
3467
|
}>>>;
|
|
3468
3468
|
}, "strip", z.ZodTypeAny, {
|
|
3469
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3470
|
-
createdAt: string;
|
|
3471
|
-
updatedAt: string;
|
|
3472
3469
|
id: string;
|
|
3473
3470
|
name: string;
|
|
3471
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3472
|
+
createdAt: string;
|
|
3473
|
+
updatedAt: string;
|
|
3474
3474
|
crn: string;
|
|
3475
3475
|
govLink: string;
|
|
3476
3476
|
director: string;
|
|
@@ -3485,11 +3485,11 @@ export declare const jobsContractRouter: {
|
|
|
3485
3485
|
agentId: string;
|
|
3486
3486
|
} | null | undefined;
|
|
3487
3487
|
}, {
|
|
3488
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3489
|
-
createdAt: string | Date;
|
|
3490
|
-
updatedAt: string | Date;
|
|
3491
3488
|
id: string;
|
|
3492
3489
|
name: string;
|
|
3490
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3491
|
+
createdAt: string | Date;
|
|
3492
|
+
updatedAt: string | Date;
|
|
3493
3493
|
crn: string;
|
|
3494
3494
|
govLink: string;
|
|
3495
3495
|
director: string;
|
|
@@ -3525,23 +3525,23 @@ export declare const jobsContractRouter: {
|
|
|
3525
3525
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3526
3526
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3527
3527
|
}, "strip", z.ZodTypeAny, {
|
|
3528
|
-
|
|
3528
|
+
id: string;
|
|
3529
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3529
3530
|
createdAt: string;
|
|
3530
3531
|
updatedAt: string;
|
|
3531
|
-
id: string;
|
|
3532
3532
|
userId: string;
|
|
3533
3533
|
company?: {
|
|
3534
|
-
createdAt: string;
|
|
3535
|
-
updatedAt: string;
|
|
3536
3534
|
id: string;
|
|
3537
3535
|
name: string;
|
|
3538
|
-
} | null | undefined;
|
|
3539
|
-
client?: {
|
|
3540
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3541
3536
|
createdAt: string;
|
|
3542
3537
|
updatedAt: string;
|
|
3538
|
+
} | null | undefined;
|
|
3539
|
+
client?: {
|
|
3543
3540
|
id: string;
|
|
3544
3541
|
name: string;
|
|
3542
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3543
|
+
createdAt: string;
|
|
3544
|
+
updatedAt: string;
|
|
3545
3545
|
crn: string;
|
|
3546
3546
|
govLink: string;
|
|
3547
3547
|
director: string;
|
|
@@ -3563,23 +3563,23 @@ export declare const jobsContractRouter: {
|
|
|
3563
3563
|
email: string;
|
|
3564
3564
|
} | null | undefined;
|
|
3565
3565
|
}, {
|
|
3566
|
-
|
|
3566
|
+
id: string;
|
|
3567
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3567
3568
|
createdAt: string | Date;
|
|
3568
3569
|
updatedAt: string | Date;
|
|
3569
|
-
id: string;
|
|
3570
3570
|
userId: string;
|
|
3571
3571
|
company?: {
|
|
3572
|
-
createdAt: string | Date;
|
|
3573
|
-
updatedAt: string | Date;
|
|
3574
3572
|
id: string;
|
|
3575
3573
|
name: string;
|
|
3576
|
-
} | null | undefined;
|
|
3577
|
-
client?: {
|
|
3578
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3579
3574
|
createdAt: string | Date;
|
|
3580
3575
|
updatedAt: string | Date;
|
|
3576
|
+
} | null | undefined;
|
|
3577
|
+
client?: {
|
|
3581
3578
|
id: string;
|
|
3582
3579
|
name: string;
|
|
3580
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3581
|
+
createdAt: string | Date;
|
|
3582
|
+
updatedAt: string | Date;
|
|
3583
3583
|
crn: string;
|
|
3584
3584
|
govLink: string;
|
|
3585
3585
|
director: string;
|
|
@@ -3602,23 +3602,23 @@ export declare const jobsContractRouter: {
|
|
|
3602
3602
|
} | null | undefined;
|
|
3603
3603
|
}>>>;
|
|
3604
3604
|
}, "strip", z.ZodTypeAny, {
|
|
3605
|
-
|
|
3605
|
+
id: string;
|
|
3606
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3606
3607
|
createdAt: string;
|
|
3607
3608
|
updatedAt: string;
|
|
3608
|
-
id: string;
|
|
3609
3609
|
userId: string;
|
|
3610
3610
|
company?: {
|
|
3611
|
-
createdAt: string;
|
|
3612
|
-
updatedAt: string;
|
|
3613
3611
|
id: string;
|
|
3614
3612
|
name: string;
|
|
3615
|
-
} | null | undefined;
|
|
3616
|
-
client?: {
|
|
3617
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3618
3613
|
createdAt: string;
|
|
3619
3614
|
updatedAt: string;
|
|
3615
|
+
} | null | undefined;
|
|
3616
|
+
client?: {
|
|
3620
3617
|
id: string;
|
|
3621
3618
|
name: string;
|
|
3619
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3620
|
+
createdAt: string;
|
|
3621
|
+
updatedAt: string;
|
|
3622
3622
|
crn: string;
|
|
3623
3623
|
govLink: string;
|
|
3624
3624
|
director: string;
|
|
@@ -3640,23 +3640,23 @@ export declare const jobsContractRouter: {
|
|
|
3640
3640
|
email: string;
|
|
3641
3641
|
} | null | undefined;
|
|
3642
3642
|
newCollaboration?: {
|
|
3643
|
-
|
|
3643
|
+
id: string;
|
|
3644
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3644
3645
|
createdAt: string;
|
|
3645
3646
|
updatedAt: string;
|
|
3646
|
-
id: string;
|
|
3647
3647
|
userId: string;
|
|
3648
3648
|
company?: {
|
|
3649
|
-
createdAt: string;
|
|
3650
|
-
updatedAt: string;
|
|
3651
3649
|
id: string;
|
|
3652
3650
|
name: string;
|
|
3653
|
-
} | null | undefined;
|
|
3654
|
-
client?: {
|
|
3655
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3656
3651
|
createdAt: string;
|
|
3657
3652
|
updatedAt: string;
|
|
3653
|
+
} | null | undefined;
|
|
3654
|
+
client?: {
|
|
3658
3655
|
id: string;
|
|
3659
3656
|
name: string;
|
|
3657
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3658
|
+
createdAt: string;
|
|
3659
|
+
updatedAt: string;
|
|
3660
3660
|
crn: string;
|
|
3661
3661
|
govLink: string;
|
|
3662
3662
|
director: string;
|
|
@@ -3679,23 +3679,23 @@ export declare const jobsContractRouter: {
|
|
|
3679
3679
|
} | null | undefined;
|
|
3680
3680
|
} | null | undefined;
|
|
3681
3681
|
}, {
|
|
3682
|
-
|
|
3682
|
+
id: string;
|
|
3683
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3683
3684
|
createdAt: string | Date;
|
|
3684
3685
|
updatedAt: string | Date;
|
|
3685
|
-
id: string;
|
|
3686
3686
|
userId: string;
|
|
3687
3687
|
company?: {
|
|
3688
|
-
createdAt: string | Date;
|
|
3689
|
-
updatedAt: string | Date;
|
|
3690
3688
|
id: string;
|
|
3691
3689
|
name: string;
|
|
3692
|
-
} | null | undefined;
|
|
3693
|
-
client?: {
|
|
3694
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3695
3690
|
createdAt: string | Date;
|
|
3696
3691
|
updatedAt: string | Date;
|
|
3692
|
+
} | null | undefined;
|
|
3693
|
+
client?: {
|
|
3697
3694
|
id: string;
|
|
3698
3695
|
name: string;
|
|
3696
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3697
|
+
createdAt: string | Date;
|
|
3698
|
+
updatedAt: string | Date;
|
|
3699
3699
|
crn: string;
|
|
3700
3700
|
govLink: string;
|
|
3701
3701
|
director: string;
|
|
@@ -3717,23 +3717,23 @@ export declare const jobsContractRouter: {
|
|
|
3717
3717
|
email: string;
|
|
3718
3718
|
} | null | undefined;
|
|
3719
3719
|
newCollaboration?: {
|
|
3720
|
-
|
|
3720
|
+
id: string;
|
|
3721
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3721
3722
|
createdAt: string | Date;
|
|
3722
3723
|
updatedAt: string | Date;
|
|
3723
|
-
id: string;
|
|
3724
3724
|
userId: string;
|
|
3725
3725
|
company?: {
|
|
3726
|
-
createdAt: string | Date;
|
|
3727
|
-
updatedAt: string | Date;
|
|
3728
3726
|
id: string;
|
|
3729
3727
|
name: string;
|
|
3730
|
-
} | null | undefined;
|
|
3731
|
-
client?: {
|
|
3732
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3733
3728
|
createdAt: string | Date;
|
|
3734
3729
|
updatedAt: string | Date;
|
|
3730
|
+
} | null | undefined;
|
|
3731
|
+
client?: {
|
|
3735
3732
|
id: string;
|
|
3736
3733
|
name: string;
|
|
3734
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3735
|
+
createdAt: string | Date;
|
|
3736
|
+
updatedAt: string | Date;
|
|
3737
3737
|
crn: string;
|
|
3738
3738
|
govLink: string;
|
|
3739
3739
|
director: string;
|
|
@@ -3759,12 +3759,12 @@ export declare const jobsContractRouter: {
|
|
|
3759
3759
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3760
3760
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3761
3761
|
}, "strip", z.ZodTypeAny, {
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3762
|
+
id: string;
|
|
3763
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
3765
3764
|
createdAt: string;
|
|
3766
3765
|
updatedAt: string;
|
|
3767
|
-
|
|
3766
|
+
description: string;
|
|
3767
|
+
numberOfPositions: number;
|
|
3768
3768
|
pay: {
|
|
3769
3769
|
rateUnit: "DAILY" | "HOURLY";
|
|
3770
3770
|
rate: number;
|
|
@@ -3788,23 +3788,23 @@ export declare const jobsContractRouter: {
|
|
|
3788
3788
|
areaCovered?: string | null | undefined;
|
|
3789
3789
|
} | null | undefined;
|
|
3790
3790
|
currentCollaboration?: {
|
|
3791
|
-
|
|
3791
|
+
id: string;
|
|
3792
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3792
3793
|
createdAt: string;
|
|
3793
3794
|
updatedAt: string;
|
|
3794
|
-
id: string;
|
|
3795
3795
|
userId: string;
|
|
3796
3796
|
company?: {
|
|
3797
|
-
createdAt: string;
|
|
3798
|
-
updatedAt: string;
|
|
3799
3797
|
id: string;
|
|
3800
3798
|
name: string;
|
|
3801
|
-
} | null | undefined;
|
|
3802
|
-
client?: {
|
|
3803
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3804
3799
|
createdAt: string;
|
|
3805
3800
|
updatedAt: string;
|
|
3801
|
+
} | null | undefined;
|
|
3802
|
+
client?: {
|
|
3806
3803
|
id: string;
|
|
3807
3804
|
name: string;
|
|
3805
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3806
|
+
createdAt: string;
|
|
3807
|
+
updatedAt: string;
|
|
3808
3808
|
crn: string;
|
|
3809
3809
|
govLink: string;
|
|
3810
3810
|
director: string;
|
|
@@ -3826,23 +3826,23 @@ export declare const jobsContractRouter: {
|
|
|
3826
3826
|
email: string;
|
|
3827
3827
|
} | null | undefined;
|
|
3828
3828
|
newCollaboration?: {
|
|
3829
|
-
|
|
3829
|
+
id: string;
|
|
3830
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3830
3831
|
createdAt: string;
|
|
3831
3832
|
updatedAt: string;
|
|
3832
|
-
id: string;
|
|
3833
3833
|
userId: string;
|
|
3834
3834
|
company?: {
|
|
3835
|
-
createdAt: string;
|
|
3836
|
-
updatedAt: string;
|
|
3837
3835
|
id: string;
|
|
3838
3836
|
name: string;
|
|
3839
|
-
} | null | undefined;
|
|
3840
|
-
client?: {
|
|
3841
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3842
3837
|
createdAt: string;
|
|
3843
3838
|
updatedAt: string;
|
|
3839
|
+
} | null | undefined;
|
|
3840
|
+
client?: {
|
|
3844
3841
|
id: string;
|
|
3845
3842
|
name: string;
|
|
3843
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3844
|
+
createdAt: string;
|
|
3845
|
+
updatedAt: string;
|
|
3846
3846
|
crn: string;
|
|
3847
3847
|
govLink: string;
|
|
3848
3848
|
director: string;
|
|
@@ -3866,12 +3866,12 @@ export declare const jobsContractRouter: {
|
|
|
3866
3866
|
} | null | undefined;
|
|
3867
3867
|
} | null | undefined;
|
|
3868
3868
|
}, {
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3869
|
+
id: string;
|
|
3870
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
3872
3871
|
createdAt: string | Date;
|
|
3873
3872
|
updatedAt: string | Date;
|
|
3874
|
-
|
|
3873
|
+
description: string;
|
|
3874
|
+
numberOfPositions: number;
|
|
3875
3875
|
pay: {
|
|
3876
3876
|
rateUnit: "DAILY" | "HOURLY";
|
|
3877
3877
|
rate: number;
|
|
@@ -3895,23 +3895,23 @@ export declare const jobsContractRouter: {
|
|
|
3895
3895
|
qualificationTypeId?: string | null | undefined;
|
|
3896
3896
|
}[] | undefined;
|
|
3897
3897
|
currentCollaboration?: {
|
|
3898
|
-
|
|
3898
|
+
id: string;
|
|
3899
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3899
3900
|
createdAt: string | Date;
|
|
3900
3901
|
updatedAt: string | Date;
|
|
3901
|
-
id: string;
|
|
3902
3902
|
userId: string;
|
|
3903
3903
|
company?: {
|
|
3904
|
-
createdAt: string | Date;
|
|
3905
|
-
updatedAt: string | Date;
|
|
3906
3904
|
id: string;
|
|
3907
3905
|
name: string;
|
|
3908
|
-
} | null | undefined;
|
|
3909
|
-
client?: {
|
|
3910
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3911
3906
|
createdAt: string | Date;
|
|
3912
3907
|
updatedAt: string | Date;
|
|
3908
|
+
} | null | undefined;
|
|
3909
|
+
client?: {
|
|
3913
3910
|
id: string;
|
|
3914
3911
|
name: string;
|
|
3912
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3913
|
+
createdAt: string | Date;
|
|
3914
|
+
updatedAt: string | Date;
|
|
3915
3915
|
crn: string;
|
|
3916
3916
|
govLink: string;
|
|
3917
3917
|
director: string;
|
|
@@ -3933,23 +3933,23 @@ export declare const jobsContractRouter: {
|
|
|
3933
3933
|
email: string;
|
|
3934
3934
|
} | null | undefined;
|
|
3935
3935
|
newCollaboration?: {
|
|
3936
|
-
|
|
3936
|
+
id: string;
|
|
3937
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3937
3938
|
createdAt: string | Date;
|
|
3938
3939
|
updatedAt: string | Date;
|
|
3939
|
-
id: string;
|
|
3940
3940
|
userId: string;
|
|
3941
3941
|
company?: {
|
|
3942
|
-
createdAt: string | Date;
|
|
3943
|
-
updatedAt: string | Date;
|
|
3944
3942
|
id: string;
|
|
3945
3943
|
name: string;
|
|
3946
|
-
} | null | undefined;
|
|
3947
|
-
client?: {
|
|
3948
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3949
3944
|
createdAt: string | Date;
|
|
3950
3945
|
updatedAt: string | Date;
|
|
3946
|
+
} | null | undefined;
|
|
3947
|
+
client?: {
|
|
3951
3948
|
id: string;
|
|
3952
3949
|
name: string;
|
|
3950
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3951
|
+
createdAt: string | Date;
|
|
3952
|
+
updatedAt: string | Date;
|
|
3953
3953
|
crn: string;
|
|
3954
3954
|
govLink: string;
|
|
3955
3955
|
director: string;
|
|
@@ -3981,12 +3981,12 @@ export declare const jobsContractRouter: {
|
|
|
3981
3981
|
}, "strip", z.ZodTypeAny, {
|
|
3982
3982
|
limit: number;
|
|
3983
3983
|
items: {
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
3984
|
+
id: string;
|
|
3985
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
3987
3986
|
createdAt: string;
|
|
3988
3987
|
updatedAt: string;
|
|
3989
|
-
|
|
3988
|
+
description: string;
|
|
3989
|
+
numberOfPositions: number;
|
|
3990
3990
|
pay: {
|
|
3991
3991
|
rateUnit: "DAILY" | "HOURLY";
|
|
3992
3992
|
rate: number;
|
|
@@ -4010,23 +4010,23 @@ export declare const jobsContractRouter: {
|
|
|
4010
4010
|
areaCovered?: string | null | undefined;
|
|
4011
4011
|
} | null | undefined;
|
|
4012
4012
|
currentCollaboration?: {
|
|
4013
|
-
|
|
4013
|
+
id: string;
|
|
4014
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4014
4015
|
createdAt: string;
|
|
4015
4016
|
updatedAt: string;
|
|
4016
|
-
id: string;
|
|
4017
4017
|
userId: string;
|
|
4018
4018
|
company?: {
|
|
4019
|
-
createdAt: string;
|
|
4020
|
-
updatedAt: string;
|
|
4021
4019
|
id: string;
|
|
4022
4020
|
name: string;
|
|
4023
|
-
} | null | undefined;
|
|
4024
|
-
client?: {
|
|
4025
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4026
4021
|
createdAt: string;
|
|
4027
4022
|
updatedAt: string;
|
|
4023
|
+
} | null | undefined;
|
|
4024
|
+
client?: {
|
|
4028
4025
|
id: string;
|
|
4029
4026
|
name: string;
|
|
4027
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4028
|
+
createdAt: string;
|
|
4029
|
+
updatedAt: string;
|
|
4030
4030
|
crn: string;
|
|
4031
4031
|
govLink: string;
|
|
4032
4032
|
director: string;
|
|
@@ -4048,23 +4048,23 @@ export declare const jobsContractRouter: {
|
|
|
4048
4048
|
email: string;
|
|
4049
4049
|
} | null | undefined;
|
|
4050
4050
|
newCollaboration?: {
|
|
4051
|
-
|
|
4051
|
+
id: string;
|
|
4052
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4052
4053
|
createdAt: string;
|
|
4053
4054
|
updatedAt: string;
|
|
4054
|
-
id: string;
|
|
4055
4055
|
userId: string;
|
|
4056
4056
|
company?: {
|
|
4057
|
-
createdAt: string;
|
|
4058
|
-
updatedAt: string;
|
|
4059
4057
|
id: string;
|
|
4060
4058
|
name: string;
|
|
4061
|
-
} | null | undefined;
|
|
4062
|
-
client?: {
|
|
4063
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4064
4059
|
createdAt: string;
|
|
4065
4060
|
updatedAt: string;
|
|
4061
|
+
} | null | undefined;
|
|
4062
|
+
client?: {
|
|
4066
4063
|
id: string;
|
|
4067
4064
|
name: string;
|
|
4065
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4066
|
+
createdAt: string;
|
|
4067
|
+
updatedAt: string;
|
|
4068
4068
|
crn: string;
|
|
4069
4069
|
govLink: string;
|
|
4070
4070
|
director: string;
|
|
@@ -4095,12 +4095,12 @@ export declare const jobsContractRouter: {
|
|
|
4095
4095
|
}, {
|
|
4096
4096
|
limit: number;
|
|
4097
4097
|
items: {
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4098
|
+
id: string;
|
|
4099
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
4101
4100
|
createdAt: string | Date;
|
|
4102
4101
|
updatedAt: string | Date;
|
|
4103
|
-
|
|
4102
|
+
description: string;
|
|
4103
|
+
numberOfPositions: number;
|
|
4104
4104
|
pay: {
|
|
4105
4105
|
rateUnit: "DAILY" | "HOURLY";
|
|
4106
4106
|
rate: number;
|
|
@@ -4124,23 +4124,23 @@ export declare const jobsContractRouter: {
|
|
|
4124
4124
|
qualificationTypeId?: string | null | undefined;
|
|
4125
4125
|
}[] | undefined;
|
|
4126
4126
|
currentCollaboration?: {
|
|
4127
|
-
|
|
4127
|
+
id: string;
|
|
4128
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4128
4129
|
createdAt: string | Date;
|
|
4129
4130
|
updatedAt: string | Date;
|
|
4130
|
-
id: string;
|
|
4131
4131
|
userId: string;
|
|
4132
4132
|
company?: {
|
|
4133
|
-
createdAt: string | Date;
|
|
4134
|
-
updatedAt: string | Date;
|
|
4135
4133
|
id: string;
|
|
4136
4134
|
name: string;
|
|
4137
|
-
} | null | undefined;
|
|
4138
|
-
client?: {
|
|
4139
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4140
4135
|
createdAt: string | Date;
|
|
4141
4136
|
updatedAt: string | Date;
|
|
4137
|
+
} | null | undefined;
|
|
4138
|
+
client?: {
|
|
4142
4139
|
id: string;
|
|
4143
4140
|
name: string;
|
|
4141
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4142
|
+
createdAt: string | Date;
|
|
4143
|
+
updatedAt: string | Date;
|
|
4144
4144
|
crn: string;
|
|
4145
4145
|
govLink: string;
|
|
4146
4146
|
director: string;
|
|
@@ -4162,23 +4162,23 @@ export declare const jobsContractRouter: {
|
|
|
4162
4162
|
email: string;
|
|
4163
4163
|
} | null | undefined;
|
|
4164
4164
|
newCollaboration?: {
|
|
4165
|
-
|
|
4165
|
+
id: string;
|
|
4166
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4166
4167
|
createdAt: string | Date;
|
|
4167
4168
|
updatedAt: string | Date;
|
|
4168
|
-
id: string;
|
|
4169
4169
|
userId: string;
|
|
4170
4170
|
company?: {
|
|
4171
|
-
createdAt: string | Date;
|
|
4172
|
-
updatedAt: string | Date;
|
|
4173
4171
|
id: string;
|
|
4174
4172
|
name: string;
|
|
4175
|
-
} | null | undefined;
|
|
4176
|
-
client?: {
|
|
4177
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4178
4173
|
createdAt: string | Date;
|
|
4179
4174
|
updatedAt: string | Date;
|
|
4175
|
+
} | null | undefined;
|
|
4176
|
+
client?: {
|
|
4180
4177
|
id: string;
|
|
4181
4178
|
name: string;
|
|
4179
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4180
|
+
createdAt: string | Date;
|
|
4181
|
+
updatedAt: string | Date;
|
|
4182
4182
|
crn: string;
|
|
4183
4183
|
govLink: string;
|
|
4184
4184
|
director: string;
|
|
@@ -4396,15 +4396,15 @@ export declare const jobsContractRouter: {
|
|
|
4396
4396
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4397
4397
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4398
4398
|
}, "strip", z.ZodTypeAny, {
|
|
4399
|
+
id: string;
|
|
4400
|
+
name: string;
|
|
4399
4401
|
createdAt: string;
|
|
4400
4402
|
updatedAt: string;
|
|
4403
|
+
}, {
|
|
4401
4404
|
id: string;
|
|
4402
4405
|
name: string;
|
|
4403
|
-
}, {
|
|
4404
4406
|
createdAt: string | Date;
|
|
4405
4407
|
updatedAt: string | Date;
|
|
4406
|
-
id: string;
|
|
4407
|
-
name: string;
|
|
4408
4408
|
}>>>;
|
|
4409
4409
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4410
4410
|
id: z.ZodString;
|
|
@@ -4440,11 +4440,11 @@ export declare const jobsContractRouter: {
|
|
|
4440
4440
|
agentId: string;
|
|
4441
4441
|
}>>>;
|
|
4442
4442
|
}, "strip", z.ZodTypeAny, {
|
|
4443
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4444
|
-
createdAt: string;
|
|
4445
|
-
updatedAt: string;
|
|
4446
4443
|
id: string;
|
|
4447
4444
|
name: string;
|
|
4445
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4446
|
+
createdAt: string;
|
|
4447
|
+
updatedAt: string;
|
|
4448
4448
|
crn: string;
|
|
4449
4449
|
govLink: string;
|
|
4450
4450
|
director: string;
|
|
@@ -4459,11 +4459,11 @@ export declare const jobsContractRouter: {
|
|
|
4459
4459
|
agentId: string;
|
|
4460
4460
|
} | null | undefined;
|
|
4461
4461
|
}, {
|
|
4462
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4463
|
-
createdAt: string | Date;
|
|
4464
|
-
updatedAt: string | Date;
|
|
4465
4462
|
id: string;
|
|
4466
4463
|
name: string;
|
|
4464
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4465
|
+
createdAt: string | Date;
|
|
4466
|
+
updatedAt: string | Date;
|
|
4467
4467
|
crn: string;
|
|
4468
4468
|
govLink: string;
|
|
4469
4469
|
director: string;
|
|
@@ -4507,15 +4507,15 @@ export declare const jobsContractRouter: {
|
|
|
4507
4507
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4508
4508
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4509
4509
|
}, "strip", z.ZodTypeAny, {
|
|
4510
|
+
id: string;
|
|
4511
|
+
name: string;
|
|
4510
4512
|
createdAt: string;
|
|
4511
4513
|
updatedAt: string;
|
|
4514
|
+
}, {
|
|
4512
4515
|
id: string;
|
|
4513
4516
|
name: string;
|
|
4514
|
-
}, {
|
|
4515
4517
|
createdAt: string | Date;
|
|
4516
4518
|
updatedAt: string | Date;
|
|
4517
|
-
id: string;
|
|
4518
|
-
name: string;
|
|
4519
4519
|
}>>>;
|
|
4520
4520
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4521
4521
|
id: z.ZodString;
|
|
@@ -4551,11 +4551,11 @@ export declare const jobsContractRouter: {
|
|
|
4551
4551
|
agentId: string;
|
|
4552
4552
|
}>>>;
|
|
4553
4553
|
}, "strip", z.ZodTypeAny, {
|
|
4554
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4555
|
-
createdAt: string;
|
|
4556
|
-
updatedAt: string;
|
|
4557
4554
|
id: string;
|
|
4558
4555
|
name: string;
|
|
4556
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4557
|
+
createdAt: string;
|
|
4558
|
+
updatedAt: string;
|
|
4559
4559
|
crn: string;
|
|
4560
4560
|
govLink: string;
|
|
4561
4561
|
director: string;
|
|
@@ -4570,11 +4570,11 @@ export declare const jobsContractRouter: {
|
|
|
4570
4570
|
agentId: string;
|
|
4571
4571
|
} | null | undefined;
|
|
4572
4572
|
}, {
|
|
4573
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4574
|
-
createdAt: string | Date;
|
|
4575
|
-
updatedAt: string | Date;
|
|
4576
4573
|
id: string;
|
|
4577
4574
|
name: string;
|
|
4575
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4576
|
+
createdAt: string | Date;
|
|
4577
|
+
updatedAt: string | Date;
|
|
4578
4578
|
crn: string;
|
|
4579
4579
|
govLink: string;
|
|
4580
4580
|
director: string;
|
|
@@ -4610,23 +4610,23 @@ export declare const jobsContractRouter: {
|
|
|
4610
4610
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4611
4611
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4612
4612
|
}, "strip", z.ZodTypeAny, {
|
|
4613
|
-
|
|
4613
|
+
id: string;
|
|
4614
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4614
4615
|
createdAt: string;
|
|
4615
4616
|
updatedAt: string;
|
|
4616
|
-
id: string;
|
|
4617
4617
|
userId: string;
|
|
4618
4618
|
company?: {
|
|
4619
|
-
createdAt: string;
|
|
4620
|
-
updatedAt: string;
|
|
4621
4619
|
id: string;
|
|
4622
4620
|
name: string;
|
|
4623
|
-
} | null | undefined;
|
|
4624
|
-
client?: {
|
|
4625
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4626
4621
|
createdAt: string;
|
|
4627
4622
|
updatedAt: string;
|
|
4623
|
+
} | null | undefined;
|
|
4624
|
+
client?: {
|
|
4628
4625
|
id: string;
|
|
4629
4626
|
name: string;
|
|
4627
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4628
|
+
createdAt: string;
|
|
4629
|
+
updatedAt: string;
|
|
4630
4630
|
crn: string;
|
|
4631
4631
|
govLink: string;
|
|
4632
4632
|
director: string;
|
|
@@ -4648,23 +4648,23 @@ export declare const jobsContractRouter: {
|
|
|
4648
4648
|
email: string;
|
|
4649
4649
|
} | null | undefined;
|
|
4650
4650
|
}, {
|
|
4651
|
-
|
|
4651
|
+
id: string;
|
|
4652
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4652
4653
|
createdAt: string | Date;
|
|
4653
4654
|
updatedAt: string | Date;
|
|
4654
|
-
id: string;
|
|
4655
4655
|
userId: string;
|
|
4656
4656
|
company?: {
|
|
4657
|
-
createdAt: string | Date;
|
|
4658
|
-
updatedAt: string | Date;
|
|
4659
4657
|
id: string;
|
|
4660
4658
|
name: string;
|
|
4661
|
-
} | null | undefined;
|
|
4662
|
-
client?: {
|
|
4663
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4664
4659
|
createdAt: string | Date;
|
|
4665
4660
|
updatedAt: string | Date;
|
|
4661
|
+
} | null | undefined;
|
|
4662
|
+
client?: {
|
|
4666
4663
|
id: string;
|
|
4667
4664
|
name: string;
|
|
4665
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4666
|
+
createdAt: string | Date;
|
|
4667
|
+
updatedAt: string | Date;
|
|
4668
4668
|
crn: string;
|
|
4669
4669
|
govLink: string;
|
|
4670
4670
|
director: string;
|
|
@@ -4687,23 +4687,23 @@ export declare const jobsContractRouter: {
|
|
|
4687
4687
|
} | null | undefined;
|
|
4688
4688
|
}>>>;
|
|
4689
4689
|
}, "strip", z.ZodTypeAny, {
|
|
4690
|
-
|
|
4690
|
+
id: string;
|
|
4691
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4691
4692
|
createdAt: string;
|
|
4692
4693
|
updatedAt: string;
|
|
4693
|
-
id: string;
|
|
4694
4694
|
userId: string;
|
|
4695
4695
|
company?: {
|
|
4696
|
-
createdAt: string;
|
|
4697
|
-
updatedAt: string;
|
|
4698
4696
|
id: string;
|
|
4699
4697
|
name: string;
|
|
4700
|
-
} | null | undefined;
|
|
4701
|
-
client?: {
|
|
4702
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4703
4698
|
createdAt: string;
|
|
4704
4699
|
updatedAt: string;
|
|
4700
|
+
} | null | undefined;
|
|
4701
|
+
client?: {
|
|
4705
4702
|
id: string;
|
|
4706
4703
|
name: string;
|
|
4704
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4705
|
+
createdAt: string;
|
|
4706
|
+
updatedAt: string;
|
|
4707
4707
|
crn: string;
|
|
4708
4708
|
govLink: string;
|
|
4709
4709
|
director: string;
|
|
@@ -4725,23 +4725,23 @@ export declare const jobsContractRouter: {
|
|
|
4725
4725
|
email: string;
|
|
4726
4726
|
} | null | undefined;
|
|
4727
4727
|
newCollaboration?: {
|
|
4728
|
-
|
|
4728
|
+
id: string;
|
|
4729
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4729
4730
|
createdAt: string;
|
|
4730
4731
|
updatedAt: string;
|
|
4731
|
-
id: string;
|
|
4732
4732
|
userId: string;
|
|
4733
4733
|
company?: {
|
|
4734
|
-
createdAt: string;
|
|
4735
|
-
updatedAt: string;
|
|
4736
4734
|
id: string;
|
|
4737
4735
|
name: string;
|
|
4738
|
-
} | null | undefined;
|
|
4739
|
-
client?: {
|
|
4740
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4741
4736
|
createdAt: string;
|
|
4742
4737
|
updatedAt: string;
|
|
4738
|
+
} | null | undefined;
|
|
4739
|
+
client?: {
|
|
4743
4740
|
id: string;
|
|
4744
4741
|
name: string;
|
|
4742
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4743
|
+
createdAt: string;
|
|
4744
|
+
updatedAt: string;
|
|
4745
4745
|
crn: string;
|
|
4746
4746
|
govLink: string;
|
|
4747
4747
|
director: string;
|
|
@@ -4764,23 +4764,23 @@ export declare const jobsContractRouter: {
|
|
|
4764
4764
|
} | null | undefined;
|
|
4765
4765
|
} | null | undefined;
|
|
4766
4766
|
}, {
|
|
4767
|
-
|
|
4767
|
+
id: string;
|
|
4768
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4768
4769
|
createdAt: string | Date;
|
|
4769
4770
|
updatedAt: string | Date;
|
|
4770
|
-
id: string;
|
|
4771
4771
|
userId: string;
|
|
4772
4772
|
company?: {
|
|
4773
|
-
createdAt: string | Date;
|
|
4774
|
-
updatedAt: string | Date;
|
|
4775
4773
|
id: string;
|
|
4776
4774
|
name: string;
|
|
4777
|
-
} | null | undefined;
|
|
4778
|
-
client?: {
|
|
4779
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4780
4775
|
createdAt: string | Date;
|
|
4781
4776
|
updatedAt: string | Date;
|
|
4777
|
+
} | null | undefined;
|
|
4778
|
+
client?: {
|
|
4782
4779
|
id: string;
|
|
4783
4780
|
name: string;
|
|
4781
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4782
|
+
createdAt: string | Date;
|
|
4783
|
+
updatedAt: string | Date;
|
|
4784
4784
|
crn: string;
|
|
4785
4785
|
govLink: string;
|
|
4786
4786
|
director: string;
|
|
@@ -4802,23 +4802,23 @@ export declare const jobsContractRouter: {
|
|
|
4802
4802
|
email: string;
|
|
4803
4803
|
} | null | undefined;
|
|
4804
4804
|
newCollaboration?: {
|
|
4805
|
-
|
|
4805
|
+
id: string;
|
|
4806
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4806
4807
|
createdAt: string | Date;
|
|
4807
4808
|
updatedAt: string | Date;
|
|
4808
|
-
id: string;
|
|
4809
4809
|
userId: string;
|
|
4810
4810
|
company?: {
|
|
4811
|
-
createdAt: string | Date;
|
|
4812
|
-
updatedAt: string | Date;
|
|
4813
4811
|
id: string;
|
|
4814
4812
|
name: string;
|
|
4815
|
-
} | null | undefined;
|
|
4816
|
-
client?: {
|
|
4817
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4818
4813
|
createdAt: string | Date;
|
|
4819
4814
|
updatedAt: string | Date;
|
|
4815
|
+
} | null | undefined;
|
|
4816
|
+
client?: {
|
|
4820
4817
|
id: string;
|
|
4821
4818
|
name: string;
|
|
4819
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4820
|
+
createdAt: string | Date;
|
|
4821
|
+
updatedAt: string | Date;
|
|
4822
4822
|
crn: string;
|
|
4823
4823
|
govLink: string;
|
|
4824
4824
|
director: string;
|
|
@@ -4844,12 +4844,12 @@ export declare const jobsContractRouter: {
|
|
|
4844
4844
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4845
4845
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4846
4846
|
}, "strip", z.ZodTypeAny, {
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4847
|
+
id: string;
|
|
4848
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
4850
4849
|
createdAt: string;
|
|
4851
4850
|
updatedAt: string;
|
|
4852
|
-
|
|
4851
|
+
description: string;
|
|
4852
|
+
numberOfPositions: number;
|
|
4853
4853
|
pay: {
|
|
4854
4854
|
rateUnit: "DAILY" | "HOURLY";
|
|
4855
4855
|
rate: number;
|
|
@@ -4873,23 +4873,23 @@ export declare const jobsContractRouter: {
|
|
|
4873
4873
|
areaCovered?: string | null | undefined;
|
|
4874
4874
|
} | null | undefined;
|
|
4875
4875
|
currentCollaboration?: {
|
|
4876
|
-
|
|
4876
|
+
id: string;
|
|
4877
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4877
4878
|
createdAt: string;
|
|
4878
4879
|
updatedAt: string;
|
|
4879
|
-
id: string;
|
|
4880
4880
|
userId: string;
|
|
4881
4881
|
company?: {
|
|
4882
|
-
createdAt: string;
|
|
4883
|
-
updatedAt: string;
|
|
4884
4882
|
id: string;
|
|
4885
4883
|
name: string;
|
|
4886
|
-
} | null | undefined;
|
|
4887
|
-
client?: {
|
|
4888
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4889
4884
|
createdAt: string;
|
|
4890
4885
|
updatedAt: string;
|
|
4886
|
+
} | null | undefined;
|
|
4887
|
+
client?: {
|
|
4891
4888
|
id: string;
|
|
4892
4889
|
name: string;
|
|
4890
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4891
|
+
createdAt: string;
|
|
4892
|
+
updatedAt: string;
|
|
4893
4893
|
crn: string;
|
|
4894
4894
|
govLink: string;
|
|
4895
4895
|
director: string;
|
|
@@ -4911,23 +4911,23 @@ export declare const jobsContractRouter: {
|
|
|
4911
4911
|
email: string;
|
|
4912
4912
|
} | null | undefined;
|
|
4913
4913
|
newCollaboration?: {
|
|
4914
|
-
|
|
4914
|
+
id: string;
|
|
4915
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4915
4916
|
createdAt: string;
|
|
4916
4917
|
updatedAt: string;
|
|
4917
|
-
id: string;
|
|
4918
4918
|
userId: string;
|
|
4919
4919
|
company?: {
|
|
4920
|
-
createdAt: string;
|
|
4921
|
-
updatedAt: string;
|
|
4922
4920
|
id: string;
|
|
4923
4921
|
name: string;
|
|
4924
|
-
} | null | undefined;
|
|
4925
|
-
client?: {
|
|
4926
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4927
4922
|
createdAt: string;
|
|
4928
4923
|
updatedAt: string;
|
|
4924
|
+
} | null | undefined;
|
|
4925
|
+
client?: {
|
|
4929
4926
|
id: string;
|
|
4930
4927
|
name: string;
|
|
4928
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4929
|
+
createdAt: string;
|
|
4930
|
+
updatedAt: string;
|
|
4931
4931
|
crn: string;
|
|
4932
4932
|
govLink: string;
|
|
4933
4933
|
director: string;
|
|
@@ -4951,12 +4951,12 @@ export declare const jobsContractRouter: {
|
|
|
4951
4951
|
} | null | undefined;
|
|
4952
4952
|
} | null | undefined;
|
|
4953
4953
|
}, {
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
4954
|
+
id: string;
|
|
4955
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
4957
4956
|
createdAt: string | Date;
|
|
4958
4957
|
updatedAt: string | Date;
|
|
4959
|
-
|
|
4958
|
+
description: string;
|
|
4959
|
+
numberOfPositions: number;
|
|
4960
4960
|
pay: {
|
|
4961
4961
|
rateUnit: "DAILY" | "HOURLY";
|
|
4962
4962
|
rate: number;
|
|
@@ -4980,23 +4980,23 @@ export declare const jobsContractRouter: {
|
|
|
4980
4980
|
qualificationTypeId?: string | null | undefined;
|
|
4981
4981
|
}[] | undefined;
|
|
4982
4982
|
currentCollaboration?: {
|
|
4983
|
-
|
|
4983
|
+
id: string;
|
|
4984
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4984
4985
|
createdAt: string | Date;
|
|
4985
4986
|
updatedAt: string | Date;
|
|
4986
|
-
id: string;
|
|
4987
4987
|
userId: string;
|
|
4988
4988
|
company?: {
|
|
4989
|
-
createdAt: string | Date;
|
|
4990
|
-
updatedAt: string | Date;
|
|
4991
4989
|
id: string;
|
|
4992
4990
|
name: string;
|
|
4993
|
-
} | null | undefined;
|
|
4994
|
-
client?: {
|
|
4995
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4996
4991
|
createdAt: string | Date;
|
|
4997
4992
|
updatedAt: string | Date;
|
|
4993
|
+
} | null | undefined;
|
|
4994
|
+
client?: {
|
|
4998
4995
|
id: string;
|
|
4999
4996
|
name: string;
|
|
4997
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4998
|
+
createdAt: string | Date;
|
|
4999
|
+
updatedAt: string | Date;
|
|
5000
5000
|
crn: string;
|
|
5001
5001
|
govLink: string;
|
|
5002
5002
|
director: string;
|
|
@@ -5018,23 +5018,23 @@ export declare const jobsContractRouter: {
|
|
|
5018
5018
|
email: string;
|
|
5019
5019
|
} | null | undefined;
|
|
5020
5020
|
newCollaboration?: {
|
|
5021
|
-
|
|
5021
|
+
id: string;
|
|
5022
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5022
5023
|
createdAt: string | Date;
|
|
5023
5024
|
updatedAt: string | Date;
|
|
5024
|
-
id: string;
|
|
5025
5025
|
userId: string;
|
|
5026
5026
|
company?: {
|
|
5027
|
-
createdAt: string | Date;
|
|
5028
|
-
updatedAt: string | Date;
|
|
5029
5027
|
id: string;
|
|
5030
5028
|
name: string;
|
|
5031
|
-
} | null | undefined;
|
|
5032
|
-
client?: {
|
|
5033
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5034
5029
|
createdAt: string | Date;
|
|
5035
5030
|
updatedAt: string | Date;
|
|
5031
|
+
} | null | undefined;
|
|
5032
|
+
client?: {
|
|
5036
5033
|
id: string;
|
|
5037
5034
|
name: string;
|
|
5035
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5036
|
+
createdAt: string | Date;
|
|
5037
|
+
updatedAt: string | Date;
|
|
5038
5038
|
crn: string;
|
|
5039
5039
|
govLink: string;
|
|
5040
5040
|
director: string;
|
|
@@ -5151,9 +5151,9 @@ export declare const jobsContractRouter: {
|
|
|
5151
5151
|
}>, "many">>;
|
|
5152
5152
|
status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
|
|
5153
5153
|
}, "strip", z.ZodTypeAny, {
|
|
5154
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
5154
5155
|
description?: string | undefined;
|
|
5155
5156
|
numberOfPositions?: number | undefined;
|
|
5156
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
5157
5157
|
workHours?: number | undefined;
|
|
5158
5158
|
pay?: {
|
|
5159
5159
|
rateUnit: "DAILY" | "HOURLY";
|
|
@@ -5174,9 +5174,9 @@ export declare const jobsContractRouter: {
|
|
|
5174
5174
|
id: string;
|
|
5175
5175
|
} | undefined;
|
|
5176
5176
|
}, {
|
|
5177
|
+
status?: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE" | undefined;
|
|
5177
5178
|
description?: string | undefined;
|
|
5178
5179
|
numberOfPositions?: number | undefined;
|
|
5179
|
-
status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
|
|
5180
5180
|
workHours?: number | undefined;
|
|
5181
5181
|
pay?: {
|
|
5182
5182
|
rate: number;
|
|
@@ -5368,15 +5368,15 @@ export declare const jobsContractRouter: {
|
|
|
5368
5368
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5369
5369
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5370
5370
|
}, "strip", z.ZodTypeAny, {
|
|
5371
|
+
id: string;
|
|
5372
|
+
name: string;
|
|
5371
5373
|
createdAt: string;
|
|
5372
5374
|
updatedAt: string;
|
|
5375
|
+
}, {
|
|
5373
5376
|
id: string;
|
|
5374
5377
|
name: string;
|
|
5375
|
-
}, {
|
|
5376
5378
|
createdAt: string | Date;
|
|
5377
5379
|
updatedAt: string | Date;
|
|
5378
|
-
id: string;
|
|
5379
|
-
name: string;
|
|
5380
5380
|
}>>>;
|
|
5381
5381
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5382
5382
|
id: z.ZodString;
|
|
@@ -5412,11 +5412,11 @@ export declare const jobsContractRouter: {
|
|
|
5412
5412
|
agentId: string;
|
|
5413
5413
|
}>>>;
|
|
5414
5414
|
}, "strip", z.ZodTypeAny, {
|
|
5415
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5416
|
-
createdAt: string;
|
|
5417
|
-
updatedAt: string;
|
|
5418
5415
|
id: string;
|
|
5419
5416
|
name: string;
|
|
5417
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5418
|
+
createdAt: string;
|
|
5419
|
+
updatedAt: string;
|
|
5420
5420
|
crn: string;
|
|
5421
5421
|
govLink: string;
|
|
5422
5422
|
director: string;
|
|
@@ -5431,11 +5431,11 @@ export declare const jobsContractRouter: {
|
|
|
5431
5431
|
agentId: string;
|
|
5432
5432
|
} | null | undefined;
|
|
5433
5433
|
}, {
|
|
5434
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5435
|
-
createdAt: string | Date;
|
|
5436
|
-
updatedAt: string | Date;
|
|
5437
5434
|
id: string;
|
|
5438
5435
|
name: string;
|
|
5436
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5437
|
+
createdAt: string | Date;
|
|
5438
|
+
updatedAt: string | Date;
|
|
5439
5439
|
crn: string;
|
|
5440
5440
|
govLink: string;
|
|
5441
5441
|
director: string;
|
|
@@ -5479,15 +5479,15 @@ export declare const jobsContractRouter: {
|
|
|
5479
5479
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5480
5480
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5481
5481
|
}, "strip", z.ZodTypeAny, {
|
|
5482
|
+
id: string;
|
|
5483
|
+
name: string;
|
|
5482
5484
|
createdAt: string;
|
|
5483
5485
|
updatedAt: string;
|
|
5486
|
+
}, {
|
|
5484
5487
|
id: string;
|
|
5485
5488
|
name: string;
|
|
5486
|
-
}, {
|
|
5487
5489
|
createdAt: string | Date;
|
|
5488
5490
|
updatedAt: string | Date;
|
|
5489
|
-
id: string;
|
|
5490
|
-
name: string;
|
|
5491
5491
|
}>>>;
|
|
5492
5492
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5493
5493
|
id: z.ZodString;
|
|
@@ -5523,11 +5523,11 @@ export declare const jobsContractRouter: {
|
|
|
5523
5523
|
agentId: string;
|
|
5524
5524
|
}>>>;
|
|
5525
5525
|
}, "strip", z.ZodTypeAny, {
|
|
5526
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5527
|
-
createdAt: string;
|
|
5528
|
-
updatedAt: string;
|
|
5529
5526
|
id: string;
|
|
5530
5527
|
name: string;
|
|
5528
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5529
|
+
createdAt: string;
|
|
5530
|
+
updatedAt: string;
|
|
5531
5531
|
crn: string;
|
|
5532
5532
|
govLink: string;
|
|
5533
5533
|
director: string;
|
|
@@ -5542,11 +5542,11 @@ export declare const jobsContractRouter: {
|
|
|
5542
5542
|
agentId: string;
|
|
5543
5543
|
} | null | undefined;
|
|
5544
5544
|
}, {
|
|
5545
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5546
|
-
createdAt: string | Date;
|
|
5547
|
-
updatedAt: string | Date;
|
|
5548
5545
|
id: string;
|
|
5549
5546
|
name: string;
|
|
5547
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5548
|
+
createdAt: string | Date;
|
|
5549
|
+
updatedAt: string | Date;
|
|
5550
5550
|
crn: string;
|
|
5551
5551
|
govLink: string;
|
|
5552
5552
|
director: string;
|
|
@@ -5582,23 +5582,23 @@ export declare const jobsContractRouter: {
|
|
|
5582
5582
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5583
5583
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5584
5584
|
}, "strip", z.ZodTypeAny, {
|
|
5585
|
-
|
|
5585
|
+
id: string;
|
|
5586
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5586
5587
|
createdAt: string;
|
|
5587
5588
|
updatedAt: string;
|
|
5588
|
-
id: string;
|
|
5589
5589
|
userId: string;
|
|
5590
5590
|
company?: {
|
|
5591
|
-
createdAt: string;
|
|
5592
|
-
updatedAt: string;
|
|
5593
5591
|
id: string;
|
|
5594
5592
|
name: string;
|
|
5595
|
-
} | null | undefined;
|
|
5596
|
-
client?: {
|
|
5597
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5598
5593
|
createdAt: string;
|
|
5599
5594
|
updatedAt: string;
|
|
5595
|
+
} | null | undefined;
|
|
5596
|
+
client?: {
|
|
5600
5597
|
id: string;
|
|
5601
5598
|
name: string;
|
|
5599
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5600
|
+
createdAt: string;
|
|
5601
|
+
updatedAt: string;
|
|
5602
5602
|
crn: string;
|
|
5603
5603
|
govLink: string;
|
|
5604
5604
|
director: string;
|
|
@@ -5620,23 +5620,23 @@ export declare const jobsContractRouter: {
|
|
|
5620
5620
|
email: string;
|
|
5621
5621
|
} | null | undefined;
|
|
5622
5622
|
}, {
|
|
5623
|
-
|
|
5623
|
+
id: string;
|
|
5624
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5624
5625
|
createdAt: string | Date;
|
|
5625
5626
|
updatedAt: string | Date;
|
|
5626
|
-
id: string;
|
|
5627
5627
|
userId: string;
|
|
5628
5628
|
company?: {
|
|
5629
|
-
createdAt: string | Date;
|
|
5630
|
-
updatedAt: string | Date;
|
|
5631
5629
|
id: string;
|
|
5632
5630
|
name: string;
|
|
5633
|
-
} | null | undefined;
|
|
5634
|
-
client?: {
|
|
5635
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5636
5631
|
createdAt: string | Date;
|
|
5637
5632
|
updatedAt: string | Date;
|
|
5633
|
+
} | null | undefined;
|
|
5634
|
+
client?: {
|
|
5638
5635
|
id: string;
|
|
5639
5636
|
name: string;
|
|
5637
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5638
|
+
createdAt: string | Date;
|
|
5639
|
+
updatedAt: string | Date;
|
|
5640
5640
|
crn: string;
|
|
5641
5641
|
govLink: string;
|
|
5642
5642
|
director: string;
|
|
@@ -5659,23 +5659,23 @@ export declare const jobsContractRouter: {
|
|
|
5659
5659
|
} | null | undefined;
|
|
5660
5660
|
}>>>;
|
|
5661
5661
|
}, "strip", z.ZodTypeAny, {
|
|
5662
|
-
|
|
5662
|
+
id: string;
|
|
5663
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5663
5664
|
createdAt: string;
|
|
5664
5665
|
updatedAt: string;
|
|
5665
|
-
id: string;
|
|
5666
5666
|
userId: string;
|
|
5667
5667
|
company?: {
|
|
5668
|
-
createdAt: string;
|
|
5669
|
-
updatedAt: string;
|
|
5670
5668
|
id: string;
|
|
5671
5669
|
name: string;
|
|
5672
|
-
} | null | undefined;
|
|
5673
|
-
client?: {
|
|
5674
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5675
5670
|
createdAt: string;
|
|
5676
5671
|
updatedAt: string;
|
|
5672
|
+
} | null | undefined;
|
|
5673
|
+
client?: {
|
|
5677
5674
|
id: string;
|
|
5678
5675
|
name: string;
|
|
5676
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5677
|
+
createdAt: string;
|
|
5678
|
+
updatedAt: string;
|
|
5679
5679
|
crn: string;
|
|
5680
5680
|
govLink: string;
|
|
5681
5681
|
director: string;
|
|
@@ -5697,23 +5697,23 @@ export declare const jobsContractRouter: {
|
|
|
5697
5697
|
email: string;
|
|
5698
5698
|
} | null | undefined;
|
|
5699
5699
|
newCollaboration?: {
|
|
5700
|
-
|
|
5700
|
+
id: string;
|
|
5701
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5701
5702
|
createdAt: string;
|
|
5702
5703
|
updatedAt: string;
|
|
5703
|
-
id: string;
|
|
5704
5704
|
userId: string;
|
|
5705
5705
|
company?: {
|
|
5706
|
-
createdAt: string;
|
|
5707
|
-
updatedAt: string;
|
|
5708
5706
|
id: string;
|
|
5709
5707
|
name: string;
|
|
5710
|
-
} | null | undefined;
|
|
5711
|
-
client?: {
|
|
5712
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5713
5708
|
createdAt: string;
|
|
5714
5709
|
updatedAt: string;
|
|
5710
|
+
} | null | undefined;
|
|
5711
|
+
client?: {
|
|
5715
5712
|
id: string;
|
|
5716
5713
|
name: string;
|
|
5714
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5715
|
+
createdAt: string;
|
|
5716
|
+
updatedAt: string;
|
|
5717
5717
|
crn: string;
|
|
5718
5718
|
govLink: string;
|
|
5719
5719
|
director: string;
|
|
@@ -5736,23 +5736,23 @@ export declare const jobsContractRouter: {
|
|
|
5736
5736
|
} | null | undefined;
|
|
5737
5737
|
} | null | undefined;
|
|
5738
5738
|
}, {
|
|
5739
|
-
|
|
5739
|
+
id: string;
|
|
5740
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5740
5741
|
createdAt: string | Date;
|
|
5741
5742
|
updatedAt: string | Date;
|
|
5742
|
-
id: string;
|
|
5743
5743
|
userId: string;
|
|
5744
5744
|
company?: {
|
|
5745
|
-
createdAt: string | Date;
|
|
5746
|
-
updatedAt: string | Date;
|
|
5747
5745
|
id: string;
|
|
5748
5746
|
name: string;
|
|
5749
|
-
} | null | undefined;
|
|
5750
|
-
client?: {
|
|
5751
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5752
5747
|
createdAt: string | Date;
|
|
5753
5748
|
updatedAt: string | Date;
|
|
5749
|
+
} | null | undefined;
|
|
5750
|
+
client?: {
|
|
5754
5751
|
id: string;
|
|
5755
5752
|
name: string;
|
|
5753
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5754
|
+
createdAt: string | Date;
|
|
5755
|
+
updatedAt: string | Date;
|
|
5756
5756
|
crn: string;
|
|
5757
5757
|
govLink: string;
|
|
5758
5758
|
director: string;
|
|
@@ -5774,23 +5774,23 @@ export declare const jobsContractRouter: {
|
|
|
5774
5774
|
email: string;
|
|
5775
5775
|
} | null | undefined;
|
|
5776
5776
|
newCollaboration?: {
|
|
5777
|
-
|
|
5777
|
+
id: string;
|
|
5778
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5778
5779
|
createdAt: string | Date;
|
|
5779
5780
|
updatedAt: string | Date;
|
|
5780
|
-
id: string;
|
|
5781
5781
|
userId: string;
|
|
5782
5782
|
company?: {
|
|
5783
|
-
createdAt: string | Date;
|
|
5784
|
-
updatedAt: string | Date;
|
|
5785
5783
|
id: string;
|
|
5786
5784
|
name: string;
|
|
5787
|
-
} | null | undefined;
|
|
5788
|
-
client?: {
|
|
5789
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5790
5785
|
createdAt: string | Date;
|
|
5791
5786
|
updatedAt: string | Date;
|
|
5787
|
+
} | null | undefined;
|
|
5788
|
+
client?: {
|
|
5792
5789
|
id: string;
|
|
5793
5790
|
name: string;
|
|
5791
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5792
|
+
createdAt: string | Date;
|
|
5793
|
+
updatedAt: string | Date;
|
|
5794
5794
|
crn: string;
|
|
5795
5795
|
govLink: string;
|
|
5796
5796
|
director: string;
|
|
@@ -5816,12 +5816,12 @@ export declare const jobsContractRouter: {
|
|
|
5816
5816
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5817
5817
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5818
5818
|
}, "strip", z.ZodTypeAny, {
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5819
|
+
id: string;
|
|
5820
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
5822
5821
|
createdAt: string;
|
|
5823
5822
|
updatedAt: string;
|
|
5824
|
-
|
|
5823
|
+
description: string;
|
|
5824
|
+
numberOfPositions: number;
|
|
5825
5825
|
pay: {
|
|
5826
5826
|
rateUnit: "DAILY" | "HOURLY";
|
|
5827
5827
|
rate: number;
|
|
@@ -5845,23 +5845,23 @@ export declare const jobsContractRouter: {
|
|
|
5845
5845
|
areaCovered?: string | null | undefined;
|
|
5846
5846
|
} | null | undefined;
|
|
5847
5847
|
currentCollaboration?: {
|
|
5848
|
-
|
|
5848
|
+
id: string;
|
|
5849
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5849
5850
|
createdAt: string;
|
|
5850
5851
|
updatedAt: string;
|
|
5851
|
-
id: string;
|
|
5852
5852
|
userId: string;
|
|
5853
5853
|
company?: {
|
|
5854
|
-
createdAt: string;
|
|
5855
|
-
updatedAt: string;
|
|
5856
5854
|
id: string;
|
|
5857
5855
|
name: string;
|
|
5858
|
-
} | null | undefined;
|
|
5859
|
-
client?: {
|
|
5860
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5861
5856
|
createdAt: string;
|
|
5862
5857
|
updatedAt: string;
|
|
5858
|
+
} | null | undefined;
|
|
5859
|
+
client?: {
|
|
5863
5860
|
id: string;
|
|
5864
5861
|
name: string;
|
|
5862
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5863
|
+
createdAt: string;
|
|
5864
|
+
updatedAt: string;
|
|
5865
5865
|
crn: string;
|
|
5866
5866
|
govLink: string;
|
|
5867
5867
|
director: string;
|
|
@@ -5883,23 +5883,23 @@ export declare const jobsContractRouter: {
|
|
|
5883
5883
|
email: string;
|
|
5884
5884
|
} | null | undefined;
|
|
5885
5885
|
newCollaboration?: {
|
|
5886
|
-
|
|
5886
|
+
id: string;
|
|
5887
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5887
5888
|
createdAt: string;
|
|
5888
5889
|
updatedAt: string;
|
|
5889
|
-
id: string;
|
|
5890
5890
|
userId: string;
|
|
5891
5891
|
company?: {
|
|
5892
|
-
createdAt: string;
|
|
5893
|
-
updatedAt: string;
|
|
5894
5892
|
id: string;
|
|
5895
5893
|
name: string;
|
|
5896
|
-
} | null | undefined;
|
|
5897
|
-
client?: {
|
|
5898
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5899
5894
|
createdAt: string;
|
|
5900
5895
|
updatedAt: string;
|
|
5896
|
+
} | null | undefined;
|
|
5897
|
+
client?: {
|
|
5901
5898
|
id: string;
|
|
5902
5899
|
name: string;
|
|
5900
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5901
|
+
createdAt: string;
|
|
5902
|
+
updatedAt: string;
|
|
5903
5903
|
crn: string;
|
|
5904
5904
|
govLink: string;
|
|
5905
5905
|
director: string;
|
|
@@ -5923,12 +5923,12 @@ export declare const jobsContractRouter: {
|
|
|
5923
5923
|
} | null | undefined;
|
|
5924
5924
|
} | null | undefined;
|
|
5925
5925
|
}, {
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
|
|
5926
|
+
id: string;
|
|
5927
|
+
status: "AVAILABLE" | "CANCELED" | "FILLED" | "NOT_AVAILABLE";
|
|
5929
5928
|
createdAt: string | Date;
|
|
5930
5929
|
updatedAt: string | Date;
|
|
5931
|
-
|
|
5930
|
+
description: string;
|
|
5931
|
+
numberOfPositions: number;
|
|
5932
5932
|
pay: {
|
|
5933
5933
|
rateUnit: "DAILY" | "HOURLY";
|
|
5934
5934
|
rate: number;
|
|
@@ -5952,23 +5952,23 @@ export declare const jobsContractRouter: {
|
|
|
5952
5952
|
qualificationTypeId?: string | null | undefined;
|
|
5953
5953
|
}[] | undefined;
|
|
5954
5954
|
currentCollaboration?: {
|
|
5955
|
-
|
|
5955
|
+
id: string;
|
|
5956
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5956
5957
|
createdAt: string | Date;
|
|
5957
5958
|
updatedAt: string | Date;
|
|
5958
|
-
id: string;
|
|
5959
5959
|
userId: string;
|
|
5960
5960
|
company?: {
|
|
5961
|
-
createdAt: string | Date;
|
|
5962
|
-
updatedAt: string | Date;
|
|
5963
5961
|
id: string;
|
|
5964
5962
|
name: string;
|
|
5965
|
-
} | null | undefined;
|
|
5966
|
-
client?: {
|
|
5967
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5968
5963
|
createdAt: string | Date;
|
|
5969
5964
|
updatedAt: string | Date;
|
|
5965
|
+
} | null | undefined;
|
|
5966
|
+
client?: {
|
|
5970
5967
|
id: string;
|
|
5971
5968
|
name: string;
|
|
5969
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5970
|
+
createdAt: string | Date;
|
|
5971
|
+
updatedAt: string | Date;
|
|
5972
5972
|
crn: string;
|
|
5973
5973
|
govLink: string;
|
|
5974
5974
|
director: string;
|
|
@@ -5990,23 +5990,23 @@ export declare const jobsContractRouter: {
|
|
|
5990
5990
|
email: string;
|
|
5991
5991
|
} | null | undefined;
|
|
5992
5992
|
newCollaboration?: {
|
|
5993
|
-
|
|
5993
|
+
id: string;
|
|
5994
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5994
5995
|
createdAt: string | Date;
|
|
5995
5996
|
updatedAt: string | Date;
|
|
5996
|
-
id: string;
|
|
5997
5997
|
userId: string;
|
|
5998
5998
|
company?: {
|
|
5999
|
-
createdAt: string | Date;
|
|
6000
|
-
updatedAt: string | Date;
|
|
6001
5999
|
id: string;
|
|
6002
6000
|
name: string;
|
|
6003
|
-
} | null | undefined;
|
|
6004
|
-
client?: {
|
|
6005
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6006
6001
|
createdAt: string | Date;
|
|
6007
6002
|
updatedAt: string | Date;
|
|
6003
|
+
} | null | undefined;
|
|
6004
|
+
client?: {
|
|
6008
6005
|
id: string;
|
|
6009
6006
|
name: string;
|
|
6007
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
6008
|
+
createdAt: string | Date;
|
|
6009
|
+
updatedAt: string | Date;
|
|
6010
6010
|
crn: string;
|
|
6011
6011
|
govLink: string;
|
|
6012
6012
|
director: string;
|