@dakkitor/api-contracts 1.1.42 → 1.1.45

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.
@@ -159,8 +159,9 @@ export declare const JobSchema: z.ZodObject<{
159
159
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
160
160
  id: z.ZodString;
161
161
  name: z.ZodString;
162
- crn: z.ZodString;
162
+ crn: z.ZodNullable<z.ZodString>;
163
163
  govLink: z.ZodString;
164
+ soleTrader: z.ZodBoolean;
164
165
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
165
166
  director: z.ZodString;
166
167
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -190,13 +191,14 @@ export declare const JobSchema: z.ZodObject<{
190
191
  agentId: string;
191
192
  }>>>;
192
193
  }, "strip", z.ZodTypeAny, {
194
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
193
195
  createdAt: string;
194
196
  updatedAt: string;
195
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
196
197
  id: string;
197
198
  name: string;
198
- crn: string;
199
+ crn: string | null;
199
200
  govLink: string;
201
+ soleTrader: boolean;
200
202
  director: string;
201
203
  blacklistReason?: string | null | undefined;
202
204
  lastUpdatedBy?: {
@@ -209,13 +211,14 @@ export declare const JobSchema: z.ZodObject<{
209
211
  agentId: string;
210
212
  } | null | undefined;
211
213
  }, {
214
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
212
215
  createdAt: string | Date;
213
216
  updatedAt: string | Date;
214
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
215
217
  id: string;
216
218
  name: string;
217
- crn: string;
219
+ crn: string | null;
218
220
  govLink: string;
221
+ soleTrader: boolean;
219
222
  director: string;
220
223
  blacklistReason?: string | null | undefined;
221
224
  lastUpdatedBy?: {
@@ -270,8 +273,9 @@ export declare const JobSchema: z.ZodObject<{
270
273
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
271
274
  id: z.ZodString;
272
275
  name: z.ZodString;
273
- crn: z.ZodString;
276
+ crn: z.ZodNullable<z.ZodString>;
274
277
  govLink: z.ZodString;
278
+ soleTrader: z.ZodBoolean;
275
279
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
276
280
  director: z.ZodString;
277
281
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -301,13 +305,14 @@ export declare const JobSchema: z.ZodObject<{
301
305
  agentId: string;
302
306
  }>>>;
303
307
  }, "strip", z.ZodTypeAny, {
308
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
304
309
  createdAt: string;
305
310
  updatedAt: string;
306
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
307
311
  id: string;
308
312
  name: string;
309
- crn: string;
313
+ crn: string | null;
310
314
  govLink: string;
315
+ soleTrader: boolean;
311
316
  director: string;
312
317
  blacklistReason?: string | null | undefined;
313
318
  lastUpdatedBy?: {
@@ -320,13 +325,14 @@ export declare const JobSchema: z.ZodObject<{
320
325
  agentId: string;
321
326
  } | null | undefined;
322
327
  }, {
328
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
323
329
  createdAt: string | Date;
324
330
  updatedAt: string | Date;
325
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
326
331
  id: string;
327
332
  name: string;
328
- crn: string;
333
+ crn: string | null;
329
334
  govLink: string;
335
+ soleTrader: boolean;
330
336
  director: string;
331
337
  blacklistReason?: string | null | undefined;
332
338
  lastUpdatedBy?: {
@@ -360,9 +366,9 @@ export declare const JobSchema: z.ZodObject<{
360
366
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
361
367
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
362
368
  }, "strip", z.ZodTypeAny, {
369
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
363
370
  createdAt: string;
364
371
  updatedAt: string;
365
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
366
372
  id: string;
367
373
  userId: string;
368
374
  company?: {
@@ -372,13 +378,14 @@ export declare const JobSchema: z.ZodObject<{
372
378
  name: string;
373
379
  } | null | undefined;
374
380
  client?: {
381
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
375
382
  createdAt: string;
376
383
  updatedAt: string;
377
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
378
384
  id: string;
379
385
  name: string;
380
- crn: string;
386
+ crn: string | null;
381
387
  govLink: string;
388
+ soleTrader: boolean;
382
389
  director: string;
383
390
  blacklistReason?: string | null | undefined;
384
391
  lastUpdatedBy?: {
@@ -398,9 +405,9 @@ export declare const JobSchema: z.ZodObject<{
398
405
  email: string;
399
406
  } | null | undefined;
400
407
  }, {
408
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
401
409
  createdAt: string | Date;
402
410
  updatedAt: string | Date;
403
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
404
411
  id: string;
405
412
  userId: string;
406
413
  company?: {
@@ -410,13 +417,14 @@ export declare const JobSchema: z.ZodObject<{
410
417
  name: string;
411
418
  } | null | undefined;
412
419
  client?: {
420
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
413
421
  createdAt: string | Date;
414
422
  updatedAt: string | Date;
415
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
416
423
  id: string;
417
424
  name: string;
418
- crn: string;
425
+ crn: string | null;
419
426
  govLink: string;
427
+ soleTrader: boolean;
420
428
  director: string;
421
429
  blacklistReason?: string | null | undefined;
422
430
  lastUpdatedBy?: {
@@ -437,9 +445,9 @@ export declare const JobSchema: z.ZodObject<{
437
445
  } | null | undefined;
438
446
  }>>>;
439
447
  }, "strip", z.ZodTypeAny, {
448
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
440
449
  createdAt: string;
441
450
  updatedAt: string;
442
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
443
451
  id: string;
444
452
  userId: string;
445
453
  company?: {
@@ -449,13 +457,14 @@ export declare const JobSchema: z.ZodObject<{
449
457
  name: string;
450
458
  } | null | undefined;
451
459
  client?: {
460
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
452
461
  createdAt: string;
453
462
  updatedAt: string;
454
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
455
463
  id: string;
456
464
  name: string;
457
- crn: string;
465
+ crn: string | null;
458
466
  govLink: string;
467
+ soleTrader: boolean;
459
468
  director: string;
460
469
  blacklistReason?: string | null | undefined;
461
470
  lastUpdatedBy?: {
@@ -475,9 +484,9 @@ export declare const JobSchema: z.ZodObject<{
475
484
  email: string;
476
485
  } | null | undefined;
477
486
  newCollaboration?: {
487
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
478
488
  createdAt: string;
479
489
  updatedAt: string;
480
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
481
490
  id: string;
482
491
  userId: string;
483
492
  company?: {
@@ -487,13 +496,14 @@ export declare const JobSchema: z.ZodObject<{
487
496
  name: string;
488
497
  } | null | undefined;
489
498
  client?: {
499
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
490
500
  createdAt: string;
491
501
  updatedAt: string;
492
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
493
502
  id: string;
494
503
  name: string;
495
- crn: string;
504
+ crn: string | null;
496
505
  govLink: string;
506
+ soleTrader: boolean;
497
507
  director: string;
498
508
  blacklistReason?: string | null | undefined;
499
509
  lastUpdatedBy?: {
@@ -514,9 +524,9 @@ export declare const JobSchema: z.ZodObject<{
514
524
  } | null | undefined;
515
525
  } | null | undefined;
516
526
  }, {
527
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
517
528
  createdAt: string | Date;
518
529
  updatedAt: string | Date;
519
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
520
530
  id: string;
521
531
  userId: string;
522
532
  company?: {
@@ -526,13 +536,14 @@ export declare const JobSchema: z.ZodObject<{
526
536
  name: string;
527
537
  } | null | undefined;
528
538
  client?: {
539
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
529
540
  createdAt: string | Date;
530
541
  updatedAt: string | Date;
531
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
532
542
  id: string;
533
543
  name: string;
534
- crn: string;
544
+ crn: string | null;
535
545
  govLink: string;
546
+ soleTrader: boolean;
536
547
  director: string;
537
548
  blacklistReason?: string | null | undefined;
538
549
  lastUpdatedBy?: {
@@ -552,9 +563,9 @@ export declare const JobSchema: z.ZodObject<{
552
563
  email: string;
553
564
  } | null | undefined;
554
565
  newCollaboration?: {
566
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
555
567
  createdAt: string | Date;
556
568
  updatedAt: string | Date;
557
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
558
569
  id: string;
559
570
  userId: string;
560
571
  company?: {
@@ -564,13 +575,14 @@ export declare const JobSchema: z.ZodObject<{
564
575
  name: string;
565
576
  } | null | undefined;
566
577
  client?: {
578
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
567
579
  createdAt: string | Date;
568
580
  updatedAt: string | Date;
569
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
570
581
  id: string;
571
582
  name: string;
572
- crn: string;
583
+ crn: string | null;
573
584
  govLink: string;
585
+ soleTrader: boolean;
574
586
  director: string;
575
587
  blacklistReason?: string | null | undefined;
576
588
  lastUpdatedBy?: {
@@ -594,12 +606,12 @@ export declare const JobSchema: z.ZodObject<{
594
606
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
595
607
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
596
608
  }, "strip", z.ZodTypeAny, {
609
+ description: string;
610
+ numberOfPositions: number;
611
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
597
612
  createdAt: string;
598
613
  updatedAt: string;
599
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
600
614
  id: string;
601
- description: string;
602
- numberOfPositions: number;
603
615
  pay: {
604
616
  rateUnit: "DAILY" | "HOURLY";
605
617
  rate: number;
@@ -623,9 +635,9 @@ export declare const JobSchema: z.ZodObject<{
623
635
  areaCovered?: string | null | undefined;
624
636
  } | null | undefined;
625
637
  currentCollaboration?: {
638
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
626
639
  createdAt: string;
627
640
  updatedAt: string;
628
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
629
641
  id: string;
630
642
  userId: string;
631
643
  company?: {
@@ -635,13 +647,14 @@ export declare const JobSchema: z.ZodObject<{
635
647
  name: string;
636
648
  } | null | undefined;
637
649
  client?: {
650
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
638
651
  createdAt: string;
639
652
  updatedAt: string;
640
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
641
653
  id: string;
642
654
  name: string;
643
- crn: string;
655
+ crn: string | null;
644
656
  govLink: string;
657
+ soleTrader: boolean;
645
658
  director: string;
646
659
  blacklistReason?: string | null | undefined;
647
660
  lastUpdatedBy?: {
@@ -661,9 +674,9 @@ export declare const JobSchema: z.ZodObject<{
661
674
  email: string;
662
675
  } | null | undefined;
663
676
  newCollaboration?: {
677
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
664
678
  createdAt: string;
665
679
  updatedAt: string;
666
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
667
680
  id: string;
668
681
  userId: string;
669
682
  company?: {
@@ -673,13 +686,14 @@ export declare const JobSchema: z.ZodObject<{
673
686
  name: string;
674
687
  } | null | undefined;
675
688
  client?: {
689
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
676
690
  createdAt: string;
677
691
  updatedAt: string;
678
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
679
692
  id: string;
680
693
  name: string;
681
- crn: string;
694
+ crn: string | null;
682
695
  govLink: string;
696
+ soleTrader: boolean;
683
697
  director: string;
684
698
  blacklistReason?: string | null | undefined;
685
699
  lastUpdatedBy?: {
@@ -701,12 +715,12 @@ export declare const JobSchema: z.ZodObject<{
701
715
  } | null | undefined;
702
716
  } | null | undefined;
703
717
  }, {
718
+ description: string;
719
+ numberOfPositions: number;
720
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
704
721
  createdAt: string | Date;
705
722
  updatedAt: string | Date;
706
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
707
723
  id: string;
708
- description: string;
709
- numberOfPositions: number;
710
724
  pay: {
711
725
  rateUnit: "DAILY" | "HOURLY";
712
726
  rate: number;
@@ -730,9 +744,9 @@ export declare const JobSchema: z.ZodObject<{
730
744
  qualificationTypeId?: string | null | undefined;
731
745
  }[] | undefined;
732
746
  currentCollaboration?: {
747
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
733
748
  createdAt: string | Date;
734
749
  updatedAt: string | Date;
735
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
736
750
  id: string;
737
751
  userId: string;
738
752
  company?: {
@@ -742,13 +756,14 @@ export declare const JobSchema: z.ZodObject<{
742
756
  name: string;
743
757
  } | null | undefined;
744
758
  client?: {
759
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
745
760
  createdAt: string | Date;
746
761
  updatedAt: string | Date;
747
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
748
762
  id: string;
749
763
  name: string;
750
- crn: string;
764
+ crn: string | null;
751
765
  govLink: string;
766
+ soleTrader: boolean;
752
767
  director: string;
753
768
  blacklistReason?: string | null | undefined;
754
769
  lastUpdatedBy?: {
@@ -768,9 +783,9 @@ export declare const JobSchema: z.ZodObject<{
768
783
  email: string;
769
784
  } | null | undefined;
770
785
  newCollaboration?: {
786
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
771
787
  createdAt: string | Date;
772
788
  updatedAt: string | Date;
773
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
774
789
  id: string;
775
790
  userId: string;
776
791
  company?: {
@@ -780,13 +795,14 @@ export declare const JobSchema: z.ZodObject<{
780
795
  name: string;
781
796
  } | null | undefined;
782
797
  client?: {
798
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
783
799
  createdAt: string | Date;
784
800
  updatedAt: string | Date;
785
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
786
801
  id: string;
787
802
  name: string;
788
- crn: string;
803
+ crn: string | null;
789
804
  govLink: string;
805
+ soleTrader: boolean;
790
806
  director: string;
791
807
  blacklistReason?: string | null | undefined;
792
808
  lastUpdatedBy?: {
@@ -824,7 +840,7 @@ export declare const CreateJobSchema: z.ZodObject<{
824
840
  postcode?: string | null | undefined;
825
841
  }>>;
826
842
  numberOfPositions: z.ZodNumber;
827
- workHours: z.ZodOptional<z.ZodNumber>;
843
+ workHours: z.ZodDefault<z.ZodNumber>;
828
844
  pay: z.ZodObject<{
829
845
  rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
830
846
  rate: z.ZodNumber;
@@ -861,9 +877,10 @@ export declare const CreateJobSchema: z.ZodObject<{
861
877
  }>, "many">>;
862
878
  status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
863
879
  }, "strip", z.ZodTypeAny, {
864
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
865
880
  description: string;
866
881
  numberOfPositions: number;
882
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
883
+ workHours: number;
867
884
  pay: {
868
885
  rateUnit: "DAILY" | "HOURLY";
869
886
  rate: number;
@@ -874,7 +891,6 @@ export declare const CreateJobSchema: z.ZodObject<{
874
891
  currentCollaboration: {
875
892
  id: string;
876
893
  };
877
- workHours?: number | undefined;
878
894
  location?: {
879
895
  address?: string | null | undefined;
880
896
  postcode?: string | null | undefined;
@@ -960,9 +976,9 @@ export declare const UpdateJobSchema: z.ZodObject<{
960
976
  }>, "many">>;
961
977
  status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
962
978
  }, "strip", z.ZodTypeAny, {
963
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
964
979
  description?: string | undefined;
965
980
  numberOfPositions?: number | undefined;
981
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
966
982
  workHours?: number | undefined;
967
983
  pay?: {
968
984
  rateUnit: "DAILY" | "HOURLY";
@@ -983,9 +999,9 @@ export declare const UpdateJobSchema: z.ZodObject<{
983
999
  id: string;
984
1000
  } | undefined;
985
1001
  }, {
986
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
987
1002
  description?: string | undefined;
988
1003
  numberOfPositions?: number | undefined;
1004
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
989
1005
  workHours?: number | undefined;
990
1006
  pay?: {
991
1007
  rate: number;
@@ -1055,51 +1071,51 @@ export declare const FilterJobSchema: z.ZodObject<{
1055
1071
  }, "strip", z.ZodTypeAny, {
1056
1072
  limit: number;
1057
1073
  page: number;
1074
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
1058
1075
  createdAt?: {
1059
1076
  from?: string | null | undefined;
1060
1077
  to?: string | null | undefined;
1061
1078
  } | null | undefined;
1062
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
1063
- userId?: string | null | undefined;
1064
- companyId?: string | null | undefined;
1065
- clientId?: string | null | undefined;
1066
- sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
1067
- sortOrder?: "ASC" | "DESC" | null | undefined;
1068
1079
  pay?: {
1069
1080
  minRate?: number | null | undefined;
1070
1081
  maxRate?: number | null | undefined;
1071
1082
  } | null | undefined;
1072
1083
  postcode?: string | null | undefined;
1073
1084
  tradeId?: string | null | undefined;
1085
+ userId?: string | null | undefined;
1074
1086
  qualificationFilters?: {
1075
1087
  qualificationId?: string | undefined;
1076
1088
  qualificationTypeId?: string | undefined;
1077
1089
  }[] | undefined;
1090
+ clientId?: string | null | undefined;
1091
+ companyId?: string | null | undefined;
1078
1092
  distance?: number | null | undefined;
1093
+ sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
1094
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1079
1095
  }, {
1096
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
1080
1097
  createdAt?: {
1081
1098
  from?: string | null | undefined;
1082
1099
  to?: string | null | undefined;
1083
1100
  } | null | undefined;
1084
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
1085
- userId?: string | null | undefined;
1086
- limit?: number | undefined;
1087
- page?: number | undefined;
1088
- companyId?: string | null | undefined;
1089
- clientId?: string | null | undefined;
1090
- sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
1091
- sortOrder?: "ASC" | "DESC" | null | undefined;
1092
1101
  pay?: {
1093
1102
  minRate?: number | null | undefined;
1094
1103
  maxRate?: number | null | undefined;
1095
1104
  } | null | undefined;
1096
1105
  postcode?: string | null | undefined;
1097
1106
  tradeId?: string | null | undefined;
1107
+ userId?: string | null | undefined;
1108
+ limit?: number | undefined;
1109
+ page?: number | undefined;
1098
1110
  qualificationFilters?: {
1099
1111
  qualificationId?: string | undefined;
1100
1112
  qualificationTypeId?: string | undefined;
1101
1113
  }[] | undefined;
1114
+ clientId?: string | null | undefined;
1115
+ companyId?: string | null | undefined;
1102
1116
  distance?: number | null | undefined;
1117
+ sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
1118
+ sortOrder?: "ASC" | "DESC" | null | undefined;
1103
1119
  }>;
1104
1120
  export declare const PaginatedJobResponseSchema: z.ZodObject<{
1105
1121
  items: z.ZodArray<z.ZodObject<{
@@ -1184,8 +1200,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1184
1200
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1185
1201
  id: z.ZodString;
1186
1202
  name: z.ZodString;
1187
- crn: z.ZodString;
1203
+ crn: z.ZodNullable<z.ZodString>;
1188
1204
  govLink: z.ZodString;
1205
+ soleTrader: z.ZodBoolean;
1189
1206
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1190
1207
  director: z.ZodString;
1191
1208
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1215,13 +1232,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1215
1232
  agentId: string;
1216
1233
  }>>>;
1217
1234
  }, "strip", z.ZodTypeAny, {
1235
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1218
1236
  createdAt: string;
1219
1237
  updatedAt: string;
1220
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1221
1238
  id: string;
1222
1239
  name: string;
1223
- crn: string;
1240
+ crn: string | null;
1224
1241
  govLink: string;
1242
+ soleTrader: boolean;
1225
1243
  director: string;
1226
1244
  blacklistReason?: string | null | undefined;
1227
1245
  lastUpdatedBy?: {
@@ -1234,13 +1252,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1234
1252
  agentId: string;
1235
1253
  } | null | undefined;
1236
1254
  }, {
1255
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1237
1256
  createdAt: string | Date;
1238
1257
  updatedAt: string | Date;
1239
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1240
1258
  id: string;
1241
1259
  name: string;
1242
- crn: string;
1260
+ crn: string | null;
1243
1261
  govLink: string;
1262
+ soleTrader: boolean;
1244
1263
  director: string;
1245
1264
  blacklistReason?: string | null | undefined;
1246
1265
  lastUpdatedBy?: {
@@ -1295,8 +1314,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1295
1314
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1296
1315
  id: z.ZodString;
1297
1316
  name: z.ZodString;
1298
- crn: z.ZodString;
1317
+ crn: z.ZodNullable<z.ZodString>;
1299
1318
  govLink: z.ZodString;
1319
+ soleTrader: z.ZodBoolean;
1300
1320
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1301
1321
  director: z.ZodString;
1302
1322
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1326,13 +1346,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1326
1346
  agentId: string;
1327
1347
  }>>>;
1328
1348
  }, "strip", z.ZodTypeAny, {
1349
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1329
1350
  createdAt: string;
1330
1351
  updatedAt: string;
1331
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1332
1352
  id: string;
1333
1353
  name: string;
1334
- crn: string;
1354
+ crn: string | null;
1335
1355
  govLink: string;
1356
+ soleTrader: boolean;
1336
1357
  director: string;
1337
1358
  blacklistReason?: string | null | undefined;
1338
1359
  lastUpdatedBy?: {
@@ -1345,13 +1366,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1345
1366
  agentId: string;
1346
1367
  } | null | undefined;
1347
1368
  }, {
1369
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1348
1370
  createdAt: string | Date;
1349
1371
  updatedAt: string | Date;
1350
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1351
1372
  id: string;
1352
1373
  name: string;
1353
- crn: string;
1374
+ crn: string | null;
1354
1375
  govLink: string;
1376
+ soleTrader: boolean;
1355
1377
  director: string;
1356
1378
  blacklistReason?: string | null | undefined;
1357
1379
  lastUpdatedBy?: {
@@ -1385,9 +1407,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1385
1407
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1386
1408
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1387
1409
  }, "strip", z.ZodTypeAny, {
1410
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1388
1411
  createdAt: string;
1389
1412
  updatedAt: string;
1390
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1391
1413
  id: string;
1392
1414
  userId: string;
1393
1415
  company?: {
@@ -1397,13 +1419,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1397
1419
  name: string;
1398
1420
  } | null | undefined;
1399
1421
  client?: {
1422
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1400
1423
  createdAt: string;
1401
1424
  updatedAt: string;
1402
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1403
1425
  id: string;
1404
1426
  name: string;
1405
- crn: string;
1427
+ crn: string | null;
1406
1428
  govLink: string;
1429
+ soleTrader: boolean;
1407
1430
  director: string;
1408
1431
  blacklistReason?: string | null | undefined;
1409
1432
  lastUpdatedBy?: {
@@ -1423,9 +1446,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1423
1446
  email: string;
1424
1447
  } | null | undefined;
1425
1448
  }, {
1449
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1426
1450
  createdAt: string | Date;
1427
1451
  updatedAt: string | Date;
1428
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1429
1452
  id: string;
1430
1453
  userId: string;
1431
1454
  company?: {
@@ -1435,13 +1458,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1435
1458
  name: string;
1436
1459
  } | null | undefined;
1437
1460
  client?: {
1461
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1438
1462
  createdAt: string | Date;
1439
1463
  updatedAt: string | Date;
1440
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1441
1464
  id: string;
1442
1465
  name: string;
1443
- crn: string;
1466
+ crn: string | null;
1444
1467
  govLink: string;
1468
+ soleTrader: boolean;
1445
1469
  director: string;
1446
1470
  blacklistReason?: string | null | undefined;
1447
1471
  lastUpdatedBy?: {
@@ -1462,9 +1486,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1462
1486
  } | null | undefined;
1463
1487
  }>>>;
1464
1488
  }, "strip", z.ZodTypeAny, {
1489
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1465
1490
  createdAt: string;
1466
1491
  updatedAt: string;
1467
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1468
1492
  id: string;
1469
1493
  userId: string;
1470
1494
  company?: {
@@ -1474,13 +1498,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1474
1498
  name: string;
1475
1499
  } | null | undefined;
1476
1500
  client?: {
1501
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1477
1502
  createdAt: string;
1478
1503
  updatedAt: string;
1479
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1480
1504
  id: string;
1481
1505
  name: string;
1482
- crn: string;
1506
+ crn: string | null;
1483
1507
  govLink: string;
1508
+ soleTrader: boolean;
1484
1509
  director: string;
1485
1510
  blacklistReason?: string | null | undefined;
1486
1511
  lastUpdatedBy?: {
@@ -1500,9 +1525,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1500
1525
  email: string;
1501
1526
  } | null | undefined;
1502
1527
  newCollaboration?: {
1528
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1503
1529
  createdAt: string;
1504
1530
  updatedAt: string;
1505
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1506
1531
  id: string;
1507
1532
  userId: string;
1508
1533
  company?: {
@@ -1512,13 +1537,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1512
1537
  name: string;
1513
1538
  } | null | undefined;
1514
1539
  client?: {
1540
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1515
1541
  createdAt: string;
1516
1542
  updatedAt: string;
1517
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1518
1543
  id: string;
1519
1544
  name: string;
1520
- crn: string;
1545
+ crn: string | null;
1521
1546
  govLink: string;
1547
+ soleTrader: boolean;
1522
1548
  director: string;
1523
1549
  blacklistReason?: string | null | undefined;
1524
1550
  lastUpdatedBy?: {
@@ -1539,9 +1565,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1539
1565
  } | null | undefined;
1540
1566
  } | null | undefined;
1541
1567
  }, {
1568
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1542
1569
  createdAt: string | Date;
1543
1570
  updatedAt: string | Date;
1544
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1545
1571
  id: string;
1546
1572
  userId: string;
1547
1573
  company?: {
@@ -1551,13 +1577,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1551
1577
  name: string;
1552
1578
  } | null | undefined;
1553
1579
  client?: {
1580
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1554
1581
  createdAt: string | Date;
1555
1582
  updatedAt: string | Date;
1556
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1557
1583
  id: string;
1558
1584
  name: string;
1559
- crn: string;
1585
+ crn: string | null;
1560
1586
  govLink: string;
1587
+ soleTrader: boolean;
1561
1588
  director: string;
1562
1589
  blacklistReason?: string | null | undefined;
1563
1590
  lastUpdatedBy?: {
@@ -1577,9 +1604,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1577
1604
  email: string;
1578
1605
  } | null | undefined;
1579
1606
  newCollaboration?: {
1607
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1580
1608
  createdAt: string | Date;
1581
1609
  updatedAt: string | Date;
1582
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1583
1610
  id: string;
1584
1611
  userId: string;
1585
1612
  company?: {
@@ -1589,13 +1616,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1589
1616
  name: string;
1590
1617
  } | null | undefined;
1591
1618
  client?: {
1619
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1592
1620
  createdAt: string | Date;
1593
1621
  updatedAt: string | Date;
1594
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1595
1622
  id: string;
1596
1623
  name: string;
1597
- crn: string;
1624
+ crn: string | null;
1598
1625
  govLink: string;
1626
+ soleTrader: boolean;
1599
1627
  director: string;
1600
1628
  blacklistReason?: string | null | undefined;
1601
1629
  lastUpdatedBy?: {
@@ -1619,12 +1647,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1619
1647
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1620
1648
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1621
1649
  }, "strip", z.ZodTypeAny, {
1650
+ description: string;
1651
+ numberOfPositions: number;
1652
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1622
1653
  createdAt: string;
1623
1654
  updatedAt: string;
1624
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1625
1655
  id: string;
1626
- description: string;
1627
- numberOfPositions: number;
1628
1656
  pay: {
1629
1657
  rateUnit: "DAILY" | "HOURLY";
1630
1658
  rate: number;
@@ -1648,9 +1676,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1648
1676
  areaCovered?: string | null | undefined;
1649
1677
  } | null | undefined;
1650
1678
  currentCollaboration?: {
1679
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1651
1680
  createdAt: string;
1652
1681
  updatedAt: string;
1653
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1654
1682
  id: string;
1655
1683
  userId: string;
1656
1684
  company?: {
@@ -1660,13 +1688,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1660
1688
  name: string;
1661
1689
  } | null | undefined;
1662
1690
  client?: {
1691
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1663
1692
  createdAt: string;
1664
1693
  updatedAt: string;
1665
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1666
1694
  id: string;
1667
1695
  name: string;
1668
- crn: string;
1696
+ crn: string | null;
1669
1697
  govLink: string;
1698
+ soleTrader: boolean;
1670
1699
  director: string;
1671
1700
  blacklistReason?: string | null | undefined;
1672
1701
  lastUpdatedBy?: {
@@ -1686,9 +1715,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1686
1715
  email: string;
1687
1716
  } | null | undefined;
1688
1717
  newCollaboration?: {
1718
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1689
1719
  createdAt: string;
1690
1720
  updatedAt: string;
1691
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1692
1721
  id: string;
1693
1722
  userId: string;
1694
1723
  company?: {
@@ -1698,13 +1727,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1698
1727
  name: string;
1699
1728
  } | null | undefined;
1700
1729
  client?: {
1730
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1701
1731
  createdAt: string;
1702
1732
  updatedAt: string;
1703
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1704
1733
  id: string;
1705
1734
  name: string;
1706
- crn: string;
1735
+ crn: string | null;
1707
1736
  govLink: string;
1737
+ soleTrader: boolean;
1708
1738
  director: string;
1709
1739
  blacklistReason?: string | null | undefined;
1710
1740
  lastUpdatedBy?: {
@@ -1726,12 +1756,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1726
1756
  } | null | undefined;
1727
1757
  } | null | undefined;
1728
1758
  }, {
1759
+ description: string;
1760
+ numberOfPositions: number;
1761
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1729
1762
  createdAt: string | Date;
1730
1763
  updatedAt: string | Date;
1731
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1732
1764
  id: string;
1733
- description: string;
1734
- numberOfPositions: number;
1735
1765
  pay: {
1736
1766
  rateUnit: "DAILY" | "HOURLY";
1737
1767
  rate: number;
@@ -1755,9 +1785,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1755
1785
  qualificationTypeId?: string | null | undefined;
1756
1786
  }[] | undefined;
1757
1787
  currentCollaboration?: {
1788
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1758
1789
  createdAt: string | Date;
1759
1790
  updatedAt: string | Date;
1760
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1761
1791
  id: string;
1762
1792
  userId: string;
1763
1793
  company?: {
@@ -1767,13 +1797,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1767
1797
  name: string;
1768
1798
  } | null | undefined;
1769
1799
  client?: {
1800
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1770
1801
  createdAt: string | Date;
1771
1802
  updatedAt: string | Date;
1772
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1773
1803
  id: string;
1774
1804
  name: string;
1775
- crn: string;
1805
+ crn: string | null;
1776
1806
  govLink: string;
1807
+ soleTrader: boolean;
1777
1808
  director: string;
1778
1809
  blacklistReason?: string | null | undefined;
1779
1810
  lastUpdatedBy?: {
@@ -1793,9 +1824,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1793
1824
  email: string;
1794
1825
  } | null | undefined;
1795
1826
  newCollaboration?: {
1827
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1796
1828
  createdAt: string | Date;
1797
1829
  updatedAt: string | Date;
1798
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1799
1830
  id: string;
1800
1831
  userId: string;
1801
1832
  company?: {
@@ -1805,13 +1836,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1805
1836
  name: string;
1806
1837
  } | null | undefined;
1807
1838
  client?: {
1839
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1808
1840
  createdAt: string | Date;
1809
1841
  updatedAt: string | Date;
1810
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1811
1842
  id: string;
1812
1843
  name: string;
1813
- crn: string;
1844
+ crn: string | null;
1814
1845
  govLink: string;
1846
+ soleTrader: boolean;
1815
1847
  director: string;
1816
1848
  blacklistReason?: string | null | undefined;
1817
1849
  lastUpdatedBy?: {
@@ -1841,12 +1873,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1841
1873
  }, "strip", z.ZodTypeAny, {
1842
1874
  limit: number;
1843
1875
  items: {
1876
+ description: string;
1877
+ numberOfPositions: number;
1878
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1844
1879
  createdAt: string;
1845
1880
  updatedAt: string;
1846
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1847
1881
  id: string;
1848
- description: string;
1849
- numberOfPositions: number;
1850
1882
  pay: {
1851
1883
  rateUnit: "DAILY" | "HOURLY";
1852
1884
  rate: number;
@@ -1870,9 +1902,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1870
1902
  areaCovered?: string | null | undefined;
1871
1903
  } | null | undefined;
1872
1904
  currentCollaboration?: {
1905
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1873
1906
  createdAt: string;
1874
1907
  updatedAt: string;
1875
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1876
1908
  id: string;
1877
1909
  userId: string;
1878
1910
  company?: {
@@ -1882,13 +1914,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1882
1914
  name: string;
1883
1915
  } | null | undefined;
1884
1916
  client?: {
1917
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1885
1918
  createdAt: string;
1886
1919
  updatedAt: string;
1887
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1888
1920
  id: string;
1889
1921
  name: string;
1890
- crn: string;
1922
+ crn: string | null;
1891
1923
  govLink: string;
1924
+ soleTrader: boolean;
1892
1925
  director: string;
1893
1926
  blacklistReason?: string | null | undefined;
1894
1927
  lastUpdatedBy?: {
@@ -1908,9 +1941,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1908
1941
  email: string;
1909
1942
  } | null | undefined;
1910
1943
  newCollaboration?: {
1944
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1911
1945
  createdAt: string;
1912
1946
  updatedAt: string;
1913
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1914
1947
  id: string;
1915
1948
  userId: string;
1916
1949
  company?: {
@@ -1920,13 +1953,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1920
1953
  name: string;
1921
1954
  } | null | undefined;
1922
1955
  client?: {
1956
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1923
1957
  createdAt: string;
1924
1958
  updatedAt: string;
1925
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1926
1959
  id: string;
1927
1960
  name: string;
1928
- crn: string;
1961
+ crn: string | null;
1929
1962
  govLink: string;
1963
+ soleTrader: boolean;
1930
1964
  director: string;
1931
1965
  blacklistReason?: string | null | undefined;
1932
1966
  lastUpdatedBy?: {
@@ -1955,12 +1989,12 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1955
1989
  }, {
1956
1990
  limit: number;
1957
1991
  items: {
1992
+ description: string;
1993
+ numberOfPositions: number;
1994
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1958
1995
  createdAt: string | Date;
1959
1996
  updatedAt: string | Date;
1960
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
1961
1997
  id: string;
1962
- description: string;
1963
- numberOfPositions: number;
1964
1998
  pay: {
1965
1999
  rateUnit: "DAILY" | "HOURLY";
1966
2000
  rate: number;
@@ -1984,9 +2018,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1984
2018
  qualificationTypeId?: string | null | undefined;
1985
2019
  }[] | undefined;
1986
2020
  currentCollaboration?: {
2021
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1987
2022
  createdAt: string | Date;
1988
2023
  updatedAt: string | Date;
1989
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1990
2024
  id: string;
1991
2025
  userId: string;
1992
2026
  company?: {
@@ -1996,13 +2030,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
1996
2030
  name: string;
1997
2031
  } | null | undefined;
1998
2032
  client?: {
2033
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1999
2034
  createdAt: string | Date;
2000
2035
  updatedAt: string | Date;
2001
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2002
2036
  id: string;
2003
2037
  name: string;
2004
- crn: string;
2038
+ crn: string | null;
2005
2039
  govLink: string;
2040
+ soleTrader: boolean;
2006
2041
  director: string;
2007
2042
  blacklistReason?: string | null | undefined;
2008
2043
  lastUpdatedBy?: {
@@ -2022,9 +2057,9 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
2022
2057
  email: string;
2023
2058
  } | null | undefined;
2024
2059
  newCollaboration?: {
2060
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2025
2061
  createdAt: string | Date;
2026
2062
  updatedAt: string | Date;
2027
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2028
2063
  id: string;
2029
2064
  userId: string;
2030
2065
  company?: {
@@ -2034,13 +2069,14 @@ export declare const PaginatedJobResponseSchema: z.ZodObject<{
2034
2069
  name: string;
2035
2070
  } | null | undefined;
2036
2071
  client?: {
2072
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2037
2073
  createdAt: string | Date;
2038
2074
  updatedAt: string | Date;
2039
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2040
2075
  id: string;
2041
2076
  name: string;
2042
- crn: string;
2077
+ crn: string | null;
2043
2078
  govLink: string;
2079
+ soleTrader: boolean;
2044
2080
  director: string;
2045
2081
  blacklistReason?: string | null | undefined;
2046
2082
  lastUpdatedBy?: {
@@ -2095,7 +2131,7 @@ export declare const jobsContractRouter: {
2095
2131
  postcode?: string | null | undefined;
2096
2132
  }>>;
2097
2133
  numberOfPositions: z.ZodNumber;
2098
- workHours: z.ZodOptional<z.ZodNumber>;
2134
+ workHours: z.ZodDefault<z.ZodNumber>;
2099
2135
  pay: z.ZodObject<{
2100
2136
  rateUnit: z.ZodDefault<z.ZodEnum<["DAILY", "HOURLY"]>>;
2101
2137
  rate: z.ZodNumber;
@@ -2132,9 +2168,10 @@ export declare const jobsContractRouter: {
2132
2168
  }>, "many">>;
2133
2169
  status: z.ZodDefault<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
2134
2170
  }, "strip", z.ZodTypeAny, {
2135
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2136
2171
  description: string;
2137
2172
  numberOfPositions: number;
2173
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2174
+ workHours: number;
2138
2175
  pay: {
2139
2176
  rateUnit: "DAILY" | "HOURLY";
2140
2177
  rate: number;
@@ -2145,7 +2182,6 @@ export declare const jobsContractRouter: {
2145
2182
  currentCollaboration: {
2146
2183
  id: string;
2147
2184
  };
2148
- workHours?: number | undefined;
2149
2185
  location?: {
2150
2186
  address?: string | null | undefined;
2151
2187
  postcode?: string | null | undefined;
@@ -2362,8 +2398,9 @@ export declare const jobsContractRouter: {
2362
2398
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2363
2399
  id: z.ZodString;
2364
2400
  name: z.ZodString;
2365
- crn: z.ZodString;
2401
+ crn: z.ZodNullable<z.ZodString>;
2366
2402
  govLink: z.ZodString;
2403
+ soleTrader: z.ZodBoolean;
2367
2404
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
2368
2405
  director: z.ZodString;
2369
2406
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2393,13 +2430,14 @@ export declare const jobsContractRouter: {
2393
2430
  agentId: string;
2394
2431
  }>>>;
2395
2432
  }, "strip", z.ZodTypeAny, {
2433
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2396
2434
  createdAt: string;
2397
2435
  updatedAt: string;
2398
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2399
2436
  id: string;
2400
2437
  name: string;
2401
- crn: string;
2438
+ crn: string | null;
2402
2439
  govLink: string;
2440
+ soleTrader: boolean;
2403
2441
  director: string;
2404
2442
  blacklistReason?: string | null | undefined;
2405
2443
  lastUpdatedBy?: {
@@ -2412,13 +2450,14 @@ export declare const jobsContractRouter: {
2412
2450
  agentId: string;
2413
2451
  } | null | undefined;
2414
2452
  }, {
2453
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2415
2454
  createdAt: string | Date;
2416
2455
  updatedAt: string | Date;
2417
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2418
2456
  id: string;
2419
2457
  name: string;
2420
- crn: string;
2458
+ crn: string | null;
2421
2459
  govLink: string;
2460
+ soleTrader: boolean;
2422
2461
  director: string;
2423
2462
  blacklistReason?: string | null | undefined;
2424
2463
  lastUpdatedBy?: {
@@ -2473,8 +2512,9 @@ export declare const jobsContractRouter: {
2473
2512
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2474
2513
  id: z.ZodString;
2475
2514
  name: z.ZodString;
2476
- crn: z.ZodString;
2515
+ crn: z.ZodNullable<z.ZodString>;
2477
2516
  govLink: z.ZodString;
2517
+ soleTrader: z.ZodBoolean;
2478
2518
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
2479
2519
  director: z.ZodString;
2480
2520
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2504,13 +2544,14 @@ export declare const jobsContractRouter: {
2504
2544
  agentId: string;
2505
2545
  }>>>;
2506
2546
  }, "strip", z.ZodTypeAny, {
2547
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2507
2548
  createdAt: string;
2508
2549
  updatedAt: string;
2509
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2510
2550
  id: string;
2511
2551
  name: string;
2512
- crn: string;
2552
+ crn: string | null;
2513
2553
  govLink: string;
2554
+ soleTrader: boolean;
2514
2555
  director: string;
2515
2556
  blacklistReason?: string | null | undefined;
2516
2557
  lastUpdatedBy?: {
@@ -2523,13 +2564,14 @@ export declare const jobsContractRouter: {
2523
2564
  agentId: string;
2524
2565
  } | null | undefined;
2525
2566
  }, {
2567
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2526
2568
  createdAt: string | Date;
2527
2569
  updatedAt: string | Date;
2528
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2529
2570
  id: string;
2530
2571
  name: string;
2531
- crn: string;
2572
+ crn: string | null;
2532
2573
  govLink: string;
2574
+ soleTrader: boolean;
2533
2575
  director: string;
2534
2576
  blacklistReason?: string | null | undefined;
2535
2577
  lastUpdatedBy?: {
@@ -2563,9 +2605,9 @@ export declare const jobsContractRouter: {
2563
2605
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2564
2606
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2565
2607
  }, "strip", z.ZodTypeAny, {
2608
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2566
2609
  createdAt: string;
2567
2610
  updatedAt: string;
2568
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2569
2611
  id: string;
2570
2612
  userId: string;
2571
2613
  company?: {
@@ -2575,13 +2617,14 @@ export declare const jobsContractRouter: {
2575
2617
  name: string;
2576
2618
  } | null | undefined;
2577
2619
  client?: {
2620
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2578
2621
  createdAt: string;
2579
2622
  updatedAt: string;
2580
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2581
2623
  id: string;
2582
2624
  name: string;
2583
- crn: string;
2625
+ crn: string | null;
2584
2626
  govLink: string;
2627
+ soleTrader: boolean;
2585
2628
  director: string;
2586
2629
  blacklistReason?: string | null | undefined;
2587
2630
  lastUpdatedBy?: {
@@ -2601,9 +2644,9 @@ export declare const jobsContractRouter: {
2601
2644
  email: string;
2602
2645
  } | null | undefined;
2603
2646
  }, {
2647
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2604
2648
  createdAt: string | Date;
2605
2649
  updatedAt: string | Date;
2606
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2607
2650
  id: string;
2608
2651
  userId: string;
2609
2652
  company?: {
@@ -2613,13 +2656,14 @@ export declare const jobsContractRouter: {
2613
2656
  name: string;
2614
2657
  } | null | undefined;
2615
2658
  client?: {
2659
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2616
2660
  createdAt: string | Date;
2617
2661
  updatedAt: string | Date;
2618
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2619
2662
  id: string;
2620
2663
  name: string;
2621
- crn: string;
2664
+ crn: string | null;
2622
2665
  govLink: string;
2666
+ soleTrader: boolean;
2623
2667
  director: string;
2624
2668
  blacklistReason?: string | null | undefined;
2625
2669
  lastUpdatedBy?: {
@@ -2640,9 +2684,9 @@ export declare const jobsContractRouter: {
2640
2684
  } | null | undefined;
2641
2685
  }>>>;
2642
2686
  }, "strip", z.ZodTypeAny, {
2687
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2643
2688
  createdAt: string;
2644
2689
  updatedAt: string;
2645
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2646
2690
  id: string;
2647
2691
  userId: string;
2648
2692
  company?: {
@@ -2652,13 +2696,14 @@ export declare const jobsContractRouter: {
2652
2696
  name: string;
2653
2697
  } | null | undefined;
2654
2698
  client?: {
2699
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2655
2700
  createdAt: string;
2656
2701
  updatedAt: string;
2657
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2658
2702
  id: string;
2659
2703
  name: string;
2660
- crn: string;
2704
+ crn: string | null;
2661
2705
  govLink: string;
2706
+ soleTrader: boolean;
2662
2707
  director: string;
2663
2708
  blacklistReason?: string | null | undefined;
2664
2709
  lastUpdatedBy?: {
@@ -2678,9 +2723,9 @@ export declare const jobsContractRouter: {
2678
2723
  email: string;
2679
2724
  } | null | undefined;
2680
2725
  newCollaboration?: {
2726
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2681
2727
  createdAt: string;
2682
2728
  updatedAt: string;
2683
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2684
2729
  id: string;
2685
2730
  userId: string;
2686
2731
  company?: {
@@ -2690,13 +2735,14 @@ export declare const jobsContractRouter: {
2690
2735
  name: string;
2691
2736
  } | null | undefined;
2692
2737
  client?: {
2738
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2693
2739
  createdAt: string;
2694
2740
  updatedAt: string;
2695
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2696
2741
  id: string;
2697
2742
  name: string;
2698
- crn: string;
2743
+ crn: string | null;
2699
2744
  govLink: string;
2745
+ soleTrader: boolean;
2700
2746
  director: string;
2701
2747
  blacklistReason?: string | null | undefined;
2702
2748
  lastUpdatedBy?: {
@@ -2717,9 +2763,9 @@ export declare const jobsContractRouter: {
2717
2763
  } | null | undefined;
2718
2764
  } | null | undefined;
2719
2765
  }, {
2766
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2720
2767
  createdAt: string | Date;
2721
2768
  updatedAt: string | Date;
2722
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2723
2769
  id: string;
2724
2770
  userId: string;
2725
2771
  company?: {
@@ -2729,13 +2775,14 @@ export declare const jobsContractRouter: {
2729
2775
  name: string;
2730
2776
  } | null | undefined;
2731
2777
  client?: {
2778
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2732
2779
  createdAt: string | Date;
2733
2780
  updatedAt: string | Date;
2734
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2735
2781
  id: string;
2736
2782
  name: string;
2737
- crn: string;
2783
+ crn: string | null;
2738
2784
  govLink: string;
2785
+ soleTrader: boolean;
2739
2786
  director: string;
2740
2787
  blacklistReason?: string | null | undefined;
2741
2788
  lastUpdatedBy?: {
@@ -2755,9 +2802,9 @@ export declare const jobsContractRouter: {
2755
2802
  email: string;
2756
2803
  } | null | undefined;
2757
2804
  newCollaboration?: {
2805
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2758
2806
  createdAt: string | Date;
2759
2807
  updatedAt: string | Date;
2760
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2761
2808
  id: string;
2762
2809
  userId: string;
2763
2810
  company?: {
@@ -2767,13 +2814,14 @@ export declare const jobsContractRouter: {
2767
2814
  name: string;
2768
2815
  } | null | undefined;
2769
2816
  client?: {
2817
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2770
2818
  createdAt: string | Date;
2771
2819
  updatedAt: string | Date;
2772
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2773
2820
  id: string;
2774
2821
  name: string;
2775
- crn: string;
2822
+ crn: string | null;
2776
2823
  govLink: string;
2824
+ soleTrader: boolean;
2777
2825
  director: string;
2778
2826
  blacklistReason?: string | null | undefined;
2779
2827
  lastUpdatedBy?: {
@@ -2797,12 +2845,12 @@ export declare const jobsContractRouter: {
2797
2845
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2798
2846
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2799
2847
  }, "strip", z.ZodTypeAny, {
2848
+ description: string;
2849
+ numberOfPositions: number;
2850
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2800
2851
  createdAt: string;
2801
2852
  updatedAt: string;
2802
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2803
2853
  id: string;
2804
- description: string;
2805
- numberOfPositions: number;
2806
2854
  pay: {
2807
2855
  rateUnit: "DAILY" | "HOURLY";
2808
2856
  rate: number;
@@ -2826,9 +2874,9 @@ export declare const jobsContractRouter: {
2826
2874
  areaCovered?: string | null | undefined;
2827
2875
  } | null | undefined;
2828
2876
  currentCollaboration?: {
2877
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2829
2878
  createdAt: string;
2830
2879
  updatedAt: string;
2831
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2832
2880
  id: string;
2833
2881
  userId: string;
2834
2882
  company?: {
@@ -2838,13 +2886,14 @@ export declare const jobsContractRouter: {
2838
2886
  name: string;
2839
2887
  } | null | undefined;
2840
2888
  client?: {
2889
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2841
2890
  createdAt: string;
2842
2891
  updatedAt: string;
2843
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2844
2892
  id: string;
2845
2893
  name: string;
2846
- crn: string;
2894
+ crn: string | null;
2847
2895
  govLink: string;
2896
+ soleTrader: boolean;
2848
2897
  director: string;
2849
2898
  blacklistReason?: string | null | undefined;
2850
2899
  lastUpdatedBy?: {
@@ -2864,9 +2913,9 @@ export declare const jobsContractRouter: {
2864
2913
  email: string;
2865
2914
  } | null | undefined;
2866
2915
  newCollaboration?: {
2916
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2867
2917
  createdAt: string;
2868
2918
  updatedAt: string;
2869
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2870
2919
  id: string;
2871
2920
  userId: string;
2872
2921
  company?: {
@@ -2876,13 +2925,14 @@ export declare const jobsContractRouter: {
2876
2925
  name: string;
2877
2926
  } | null | undefined;
2878
2927
  client?: {
2928
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2879
2929
  createdAt: string;
2880
2930
  updatedAt: string;
2881
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2882
2931
  id: string;
2883
2932
  name: string;
2884
- crn: string;
2933
+ crn: string | null;
2885
2934
  govLink: string;
2935
+ soleTrader: boolean;
2886
2936
  director: string;
2887
2937
  blacklistReason?: string | null | undefined;
2888
2938
  lastUpdatedBy?: {
@@ -2904,12 +2954,12 @@ export declare const jobsContractRouter: {
2904
2954
  } | null | undefined;
2905
2955
  } | null | undefined;
2906
2956
  }, {
2957
+ description: string;
2958
+ numberOfPositions: number;
2959
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2907
2960
  createdAt: string | Date;
2908
2961
  updatedAt: string | Date;
2909
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
2910
2962
  id: string;
2911
- description: string;
2912
- numberOfPositions: number;
2913
2963
  pay: {
2914
2964
  rateUnit: "DAILY" | "HOURLY";
2915
2965
  rate: number;
@@ -2933,9 +2983,9 @@ export declare const jobsContractRouter: {
2933
2983
  qualificationTypeId?: string | null | undefined;
2934
2984
  }[] | undefined;
2935
2985
  currentCollaboration?: {
2986
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2936
2987
  createdAt: string | Date;
2937
2988
  updatedAt: string | Date;
2938
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2939
2989
  id: string;
2940
2990
  userId: string;
2941
2991
  company?: {
@@ -2945,13 +2995,14 @@ export declare const jobsContractRouter: {
2945
2995
  name: string;
2946
2996
  } | null | undefined;
2947
2997
  client?: {
2998
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2948
2999
  createdAt: string | Date;
2949
3000
  updatedAt: string | Date;
2950
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2951
3001
  id: string;
2952
3002
  name: string;
2953
- crn: string;
3003
+ crn: string | null;
2954
3004
  govLink: string;
3005
+ soleTrader: boolean;
2955
3006
  director: string;
2956
3007
  blacklistReason?: string | null | undefined;
2957
3008
  lastUpdatedBy?: {
@@ -2971,9 +3022,9 @@ export declare const jobsContractRouter: {
2971
3022
  email: string;
2972
3023
  } | null | undefined;
2973
3024
  newCollaboration?: {
3025
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2974
3026
  createdAt: string | Date;
2975
3027
  updatedAt: string | Date;
2976
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2977
3028
  id: string;
2978
3029
  userId: string;
2979
3030
  company?: {
@@ -2983,13 +3034,14 @@ export declare const jobsContractRouter: {
2983
3034
  name: string;
2984
3035
  } | null | undefined;
2985
3036
  client?: {
3037
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2986
3038
  createdAt: string | Date;
2987
3039
  updatedAt: string | Date;
2988
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2989
3040
  id: string;
2990
3041
  name: string;
2991
- crn: string;
3042
+ crn: string | null;
2992
3043
  govLink: string;
3044
+ soleTrader: boolean;
2993
3045
  director: string;
2994
3046
  blacklistReason?: string | null | undefined;
2995
3047
  lastUpdatedBy?: {
@@ -3091,51 +3143,51 @@ export declare const jobsContractRouter: {
3091
3143
  }, "strip", z.ZodTypeAny, {
3092
3144
  limit: number;
3093
3145
  page: number;
3146
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
3094
3147
  createdAt?: {
3095
3148
  from?: string | null | undefined;
3096
3149
  to?: string | null | undefined;
3097
3150
  } | null | undefined;
3098
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
3099
- userId?: string | null | undefined;
3100
- companyId?: string | null | undefined;
3101
- clientId?: string | null | undefined;
3102
- sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
3103
- sortOrder?: "ASC" | "DESC" | null | undefined;
3104
3151
  pay?: {
3105
3152
  minRate?: number | null | undefined;
3106
3153
  maxRate?: number | null | undefined;
3107
3154
  } | null | undefined;
3108
3155
  postcode?: string | null | undefined;
3109
3156
  tradeId?: string | null | undefined;
3157
+ userId?: string | null | undefined;
3110
3158
  qualificationFilters?: {
3111
3159
  qualificationId?: string | undefined;
3112
3160
  qualificationTypeId?: string | undefined;
3113
3161
  }[] | undefined;
3162
+ clientId?: string | null | undefined;
3163
+ companyId?: string | null | undefined;
3114
3164
  distance?: number | null | undefined;
3165
+ sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
3166
+ sortOrder?: "ASC" | "DESC" | null | undefined;
3115
3167
  }, {
3168
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
3116
3169
  createdAt?: {
3117
3170
  from?: string | null | undefined;
3118
3171
  to?: string | null | undefined;
3119
3172
  } | null | undefined;
3120
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
3121
- userId?: string | null | undefined;
3122
- limit?: number | undefined;
3123
- page?: number | undefined;
3124
- companyId?: string | null | undefined;
3125
- clientId?: string | null | undefined;
3126
- sortBy?: "createdAt" | "updatedAt" | "status" | "description" | "numberOfPositions" | null | undefined;
3127
- sortOrder?: "ASC" | "DESC" | null | undefined;
3128
3173
  pay?: {
3129
3174
  minRate?: number | null | undefined;
3130
3175
  maxRate?: number | null | undefined;
3131
3176
  } | null | undefined;
3132
3177
  postcode?: string | null | undefined;
3133
3178
  tradeId?: string | null | undefined;
3179
+ userId?: string | null | undefined;
3180
+ limit?: number | undefined;
3181
+ page?: number | undefined;
3134
3182
  qualificationFilters?: {
3135
3183
  qualificationId?: string | undefined;
3136
3184
  qualificationTypeId?: string | undefined;
3137
3185
  }[] | undefined;
3186
+ clientId?: string | null | undefined;
3187
+ companyId?: string | null | undefined;
3138
3188
  distance?: number | null | undefined;
3189
+ sortBy?: "description" | "numberOfPositions" | "status" | "createdAt" | "updatedAt" | null | undefined;
3190
+ sortOrder?: "ASC" | "DESC" | null | undefined;
3139
3191
  }>;
3140
3192
  summary: "Get all jobs";
3141
3193
  method: "GET";
@@ -3324,8 +3376,9 @@ export declare const jobsContractRouter: {
3324
3376
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3325
3377
  id: z.ZodString;
3326
3378
  name: z.ZodString;
3327
- crn: z.ZodString;
3379
+ crn: z.ZodNullable<z.ZodString>;
3328
3380
  govLink: z.ZodString;
3381
+ soleTrader: z.ZodBoolean;
3329
3382
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
3330
3383
  director: z.ZodString;
3331
3384
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3355,13 +3408,14 @@ export declare const jobsContractRouter: {
3355
3408
  agentId: string;
3356
3409
  }>>>;
3357
3410
  }, "strip", z.ZodTypeAny, {
3411
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3358
3412
  createdAt: string;
3359
3413
  updatedAt: string;
3360
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3361
3414
  id: string;
3362
3415
  name: string;
3363
- crn: string;
3416
+ crn: string | null;
3364
3417
  govLink: string;
3418
+ soleTrader: boolean;
3365
3419
  director: string;
3366
3420
  blacklistReason?: string | null | undefined;
3367
3421
  lastUpdatedBy?: {
@@ -3374,13 +3428,14 @@ export declare const jobsContractRouter: {
3374
3428
  agentId: string;
3375
3429
  } | null | undefined;
3376
3430
  }, {
3431
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3377
3432
  createdAt: string | Date;
3378
3433
  updatedAt: string | Date;
3379
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3380
3434
  id: string;
3381
3435
  name: string;
3382
- crn: string;
3436
+ crn: string | null;
3383
3437
  govLink: string;
3438
+ soleTrader: boolean;
3384
3439
  director: string;
3385
3440
  blacklistReason?: string | null | undefined;
3386
3441
  lastUpdatedBy?: {
@@ -3435,8 +3490,9 @@ export declare const jobsContractRouter: {
3435
3490
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3436
3491
  id: z.ZodString;
3437
3492
  name: z.ZodString;
3438
- crn: z.ZodString;
3493
+ crn: z.ZodNullable<z.ZodString>;
3439
3494
  govLink: z.ZodString;
3495
+ soleTrader: z.ZodBoolean;
3440
3496
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
3441
3497
  director: z.ZodString;
3442
3498
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3466,13 +3522,14 @@ export declare const jobsContractRouter: {
3466
3522
  agentId: string;
3467
3523
  }>>>;
3468
3524
  }, "strip", z.ZodTypeAny, {
3525
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3469
3526
  createdAt: string;
3470
3527
  updatedAt: string;
3471
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3472
3528
  id: string;
3473
3529
  name: string;
3474
- crn: string;
3530
+ crn: string | null;
3475
3531
  govLink: string;
3532
+ soleTrader: boolean;
3476
3533
  director: string;
3477
3534
  blacklistReason?: string | null | undefined;
3478
3535
  lastUpdatedBy?: {
@@ -3485,13 +3542,14 @@ export declare const jobsContractRouter: {
3485
3542
  agentId: string;
3486
3543
  } | null | undefined;
3487
3544
  }, {
3545
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3488
3546
  createdAt: string | Date;
3489
3547
  updatedAt: string | Date;
3490
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3491
3548
  id: string;
3492
3549
  name: string;
3493
- crn: string;
3550
+ crn: string | null;
3494
3551
  govLink: string;
3552
+ soleTrader: boolean;
3495
3553
  director: string;
3496
3554
  blacklistReason?: string | null | undefined;
3497
3555
  lastUpdatedBy?: {
@@ -3525,9 +3583,9 @@ export declare const jobsContractRouter: {
3525
3583
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3526
3584
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3527
3585
  }, "strip", z.ZodTypeAny, {
3586
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3528
3587
  createdAt: string;
3529
3588
  updatedAt: string;
3530
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3531
3589
  id: string;
3532
3590
  userId: string;
3533
3591
  company?: {
@@ -3537,13 +3595,14 @@ export declare const jobsContractRouter: {
3537
3595
  name: string;
3538
3596
  } | null | undefined;
3539
3597
  client?: {
3598
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3540
3599
  createdAt: string;
3541
3600
  updatedAt: string;
3542
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3543
3601
  id: string;
3544
3602
  name: string;
3545
- crn: string;
3603
+ crn: string | null;
3546
3604
  govLink: string;
3605
+ soleTrader: boolean;
3547
3606
  director: string;
3548
3607
  blacklistReason?: string | null | undefined;
3549
3608
  lastUpdatedBy?: {
@@ -3563,9 +3622,9 @@ export declare const jobsContractRouter: {
3563
3622
  email: string;
3564
3623
  } | null | undefined;
3565
3624
  }, {
3625
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3566
3626
  createdAt: string | Date;
3567
3627
  updatedAt: string | Date;
3568
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3569
3628
  id: string;
3570
3629
  userId: string;
3571
3630
  company?: {
@@ -3575,13 +3634,14 @@ export declare const jobsContractRouter: {
3575
3634
  name: string;
3576
3635
  } | null | undefined;
3577
3636
  client?: {
3637
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3578
3638
  createdAt: string | Date;
3579
3639
  updatedAt: string | Date;
3580
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3581
3640
  id: string;
3582
3641
  name: string;
3583
- crn: string;
3642
+ crn: string | null;
3584
3643
  govLink: string;
3644
+ soleTrader: boolean;
3585
3645
  director: string;
3586
3646
  blacklistReason?: string | null | undefined;
3587
3647
  lastUpdatedBy?: {
@@ -3602,9 +3662,9 @@ export declare const jobsContractRouter: {
3602
3662
  } | null | undefined;
3603
3663
  }>>>;
3604
3664
  }, "strip", z.ZodTypeAny, {
3665
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3605
3666
  createdAt: string;
3606
3667
  updatedAt: string;
3607
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3608
3668
  id: string;
3609
3669
  userId: string;
3610
3670
  company?: {
@@ -3614,13 +3674,14 @@ export declare const jobsContractRouter: {
3614
3674
  name: string;
3615
3675
  } | null | undefined;
3616
3676
  client?: {
3677
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3617
3678
  createdAt: string;
3618
3679
  updatedAt: string;
3619
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3620
3680
  id: string;
3621
3681
  name: string;
3622
- crn: string;
3682
+ crn: string | null;
3623
3683
  govLink: string;
3684
+ soleTrader: boolean;
3624
3685
  director: string;
3625
3686
  blacklistReason?: string | null | undefined;
3626
3687
  lastUpdatedBy?: {
@@ -3640,9 +3701,9 @@ export declare const jobsContractRouter: {
3640
3701
  email: string;
3641
3702
  } | null | undefined;
3642
3703
  newCollaboration?: {
3704
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3643
3705
  createdAt: string;
3644
3706
  updatedAt: string;
3645
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3646
3707
  id: string;
3647
3708
  userId: string;
3648
3709
  company?: {
@@ -3652,13 +3713,14 @@ export declare const jobsContractRouter: {
3652
3713
  name: string;
3653
3714
  } | null | undefined;
3654
3715
  client?: {
3716
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3655
3717
  createdAt: string;
3656
3718
  updatedAt: string;
3657
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3658
3719
  id: string;
3659
3720
  name: string;
3660
- crn: string;
3721
+ crn: string | null;
3661
3722
  govLink: string;
3723
+ soleTrader: boolean;
3662
3724
  director: string;
3663
3725
  blacklistReason?: string | null | undefined;
3664
3726
  lastUpdatedBy?: {
@@ -3679,9 +3741,9 @@ export declare const jobsContractRouter: {
3679
3741
  } | null | undefined;
3680
3742
  } | null | undefined;
3681
3743
  }, {
3744
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3682
3745
  createdAt: string | Date;
3683
3746
  updatedAt: string | Date;
3684
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3685
3747
  id: string;
3686
3748
  userId: string;
3687
3749
  company?: {
@@ -3691,13 +3753,14 @@ export declare const jobsContractRouter: {
3691
3753
  name: string;
3692
3754
  } | null | undefined;
3693
3755
  client?: {
3756
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3694
3757
  createdAt: string | Date;
3695
3758
  updatedAt: string | Date;
3696
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3697
3759
  id: string;
3698
3760
  name: string;
3699
- crn: string;
3761
+ crn: string | null;
3700
3762
  govLink: string;
3763
+ soleTrader: boolean;
3701
3764
  director: string;
3702
3765
  blacklistReason?: string | null | undefined;
3703
3766
  lastUpdatedBy?: {
@@ -3717,9 +3780,9 @@ export declare const jobsContractRouter: {
3717
3780
  email: string;
3718
3781
  } | null | undefined;
3719
3782
  newCollaboration?: {
3783
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3720
3784
  createdAt: string | Date;
3721
3785
  updatedAt: string | Date;
3722
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3723
3786
  id: string;
3724
3787
  userId: string;
3725
3788
  company?: {
@@ -3729,13 +3792,14 @@ export declare const jobsContractRouter: {
3729
3792
  name: string;
3730
3793
  } | null | undefined;
3731
3794
  client?: {
3795
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3732
3796
  createdAt: string | Date;
3733
3797
  updatedAt: string | Date;
3734
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3735
3798
  id: string;
3736
3799
  name: string;
3737
- crn: string;
3800
+ crn: string | null;
3738
3801
  govLink: string;
3802
+ soleTrader: boolean;
3739
3803
  director: string;
3740
3804
  blacklistReason?: string | null | undefined;
3741
3805
  lastUpdatedBy?: {
@@ -3759,12 +3823,12 @@ export declare const jobsContractRouter: {
3759
3823
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3760
3824
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3761
3825
  }, "strip", z.ZodTypeAny, {
3826
+ description: string;
3827
+ numberOfPositions: number;
3828
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3762
3829
  createdAt: string;
3763
3830
  updatedAt: string;
3764
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3765
3831
  id: string;
3766
- description: string;
3767
- numberOfPositions: number;
3768
3832
  pay: {
3769
3833
  rateUnit: "DAILY" | "HOURLY";
3770
3834
  rate: number;
@@ -3788,9 +3852,9 @@ export declare const jobsContractRouter: {
3788
3852
  areaCovered?: string | null | undefined;
3789
3853
  } | null | undefined;
3790
3854
  currentCollaboration?: {
3855
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3791
3856
  createdAt: string;
3792
3857
  updatedAt: string;
3793
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3794
3858
  id: string;
3795
3859
  userId: string;
3796
3860
  company?: {
@@ -3800,13 +3864,14 @@ export declare const jobsContractRouter: {
3800
3864
  name: string;
3801
3865
  } | null | undefined;
3802
3866
  client?: {
3867
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3803
3868
  createdAt: string;
3804
3869
  updatedAt: string;
3805
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3806
3870
  id: string;
3807
3871
  name: string;
3808
- crn: string;
3872
+ crn: string | null;
3809
3873
  govLink: string;
3874
+ soleTrader: boolean;
3810
3875
  director: string;
3811
3876
  blacklistReason?: string | null | undefined;
3812
3877
  lastUpdatedBy?: {
@@ -3826,9 +3891,9 @@ export declare const jobsContractRouter: {
3826
3891
  email: string;
3827
3892
  } | null | undefined;
3828
3893
  newCollaboration?: {
3894
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3829
3895
  createdAt: string;
3830
3896
  updatedAt: string;
3831
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3832
3897
  id: string;
3833
3898
  userId: string;
3834
3899
  company?: {
@@ -3838,13 +3903,14 @@ export declare const jobsContractRouter: {
3838
3903
  name: string;
3839
3904
  } | null | undefined;
3840
3905
  client?: {
3906
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3841
3907
  createdAt: string;
3842
3908
  updatedAt: string;
3843
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3844
3909
  id: string;
3845
3910
  name: string;
3846
- crn: string;
3911
+ crn: string | null;
3847
3912
  govLink: string;
3913
+ soleTrader: boolean;
3848
3914
  director: string;
3849
3915
  blacklistReason?: string | null | undefined;
3850
3916
  lastUpdatedBy?: {
@@ -3866,12 +3932,12 @@ export declare const jobsContractRouter: {
3866
3932
  } | null | undefined;
3867
3933
  } | null | undefined;
3868
3934
  }, {
3935
+ description: string;
3936
+ numberOfPositions: number;
3937
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3869
3938
  createdAt: string | Date;
3870
3939
  updatedAt: string | Date;
3871
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3872
3940
  id: string;
3873
- description: string;
3874
- numberOfPositions: number;
3875
3941
  pay: {
3876
3942
  rateUnit: "DAILY" | "HOURLY";
3877
3943
  rate: number;
@@ -3895,9 +3961,9 @@ export declare const jobsContractRouter: {
3895
3961
  qualificationTypeId?: string | null | undefined;
3896
3962
  }[] | undefined;
3897
3963
  currentCollaboration?: {
3964
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3898
3965
  createdAt: string | Date;
3899
3966
  updatedAt: string | Date;
3900
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3901
3967
  id: string;
3902
3968
  userId: string;
3903
3969
  company?: {
@@ -3907,13 +3973,14 @@ export declare const jobsContractRouter: {
3907
3973
  name: string;
3908
3974
  } | null | undefined;
3909
3975
  client?: {
3976
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3910
3977
  createdAt: string | Date;
3911
3978
  updatedAt: string | Date;
3912
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3913
3979
  id: string;
3914
3980
  name: string;
3915
- crn: string;
3981
+ crn: string | null;
3916
3982
  govLink: string;
3983
+ soleTrader: boolean;
3917
3984
  director: string;
3918
3985
  blacklistReason?: string | null | undefined;
3919
3986
  lastUpdatedBy?: {
@@ -3933,9 +4000,9 @@ export declare const jobsContractRouter: {
3933
4000
  email: string;
3934
4001
  } | null | undefined;
3935
4002
  newCollaboration?: {
4003
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3936
4004
  createdAt: string | Date;
3937
4005
  updatedAt: string | Date;
3938
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
3939
4006
  id: string;
3940
4007
  userId: string;
3941
4008
  company?: {
@@ -3945,13 +4012,14 @@ export declare const jobsContractRouter: {
3945
4012
  name: string;
3946
4013
  } | null | undefined;
3947
4014
  client?: {
4015
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3948
4016
  createdAt: string | Date;
3949
4017
  updatedAt: string | Date;
3950
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3951
4018
  id: string;
3952
4019
  name: string;
3953
- crn: string;
4020
+ crn: string | null;
3954
4021
  govLink: string;
4022
+ soleTrader: boolean;
3955
4023
  director: string;
3956
4024
  blacklistReason?: string | null | undefined;
3957
4025
  lastUpdatedBy?: {
@@ -3981,12 +4049,12 @@ export declare const jobsContractRouter: {
3981
4049
  }, "strip", z.ZodTypeAny, {
3982
4050
  limit: number;
3983
4051
  items: {
4052
+ description: string;
4053
+ numberOfPositions: number;
4054
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3984
4055
  createdAt: string;
3985
4056
  updatedAt: string;
3986
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
3987
4057
  id: string;
3988
- description: string;
3989
- numberOfPositions: number;
3990
4058
  pay: {
3991
4059
  rateUnit: "DAILY" | "HOURLY";
3992
4060
  rate: number;
@@ -4010,9 +4078,9 @@ export declare const jobsContractRouter: {
4010
4078
  areaCovered?: string | null | undefined;
4011
4079
  } | null | undefined;
4012
4080
  currentCollaboration?: {
4081
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4013
4082
  createdAt: string;
4014
4083
  updatedAt: string;
4015
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4016
4084
  id: string;
4017
4085
  userId: string;
4018
4086
  company?: {
@@ -4022,13 +4090,14 @@ export declare const jobsContractRouter: {
4022
4090
  name: string;
4023
4091
  } | null | undefined;
4024
4092
  client?: {
4093
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4025
4094
  createdAt: string;
4026
4095
  updatedAt: string;
4027
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4028
4096
  id: string;
4029
4097
  name: string;
4030
- crn: string;
4098
+ crn: string | null;
4031
4099
  govLink: string;
4100
+ soleTrader: boolean;
4032
4101
  director: string;
4033
4102
  blacklistReason?: string | null | undefined;
4034
4103
  lastUpdatedBy?: {
@@ -4048,9 +4117,9 @@ export declare const jobsContractRouter: {
4048
4117
  email: string;
4049
4118
  } | null | undefined;
4050
4119
  newCollaboration?: {
4120
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4051
4121
  createdAt: string;
4052
4122
  updatedAt: string;
4053
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4054
4123
  id: string;
4055
4124
  userId: string;
4056
4125
  company?: {
@@ -4060,13 +4129,14 @@ export declare const jobsContractRouter: {
4060
4129
  name: string;
4061
4130
  } | null | undefined;
4062
4131
  client?: {
4132
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4063
4133
  createdAt: string;
4064
4134
  updatedAt: string;
4065
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4066
4135
  id: string;
4067
4136
  name: string;
4068
- crn: string;
4137
+ crn: string | null;
4069
4138
  govLink: string;
4139
+ soleTrader: boolean;
4070
4140
  director: string;
4071
4141
  blacklistReason?: string | null | undefined;
4072
4142
  lastUpdatedBy?: {
@@ -4095,12 +4165,12 @@ export declare const jobsContractRouter: {
4095
4165
  }, {
4096
4166
  limit: number;
4097
4167
  items: {
4168
+ description: string;
4169
+ numberOfPositions: number;
4170
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
4098
4171
  createdAt: string | Date;
4099
4172
  updatedAt: string | Date;
4100
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
4101
4173
  id: string;
4102
- description: string;
4103
- numberOfPositions: number;
4104
4174
  pay: {
4105
4175
  rateUnit: "DAILY" | "HOURLY";
4106
4176
  rate: number;
@@ -4124,9 +4194,9 @@ export declare const jobsContractRouter: {
4124
4194
  qualificationTypeId?: string | null | undefined;
4125
4195
  }[] | undefined;
4126
4196
  currentCollaboration?: {
4197
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4127
4198
  createdAt: string | Date;
4128
4199
  updatedAt: string | Date;
4129
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4130
4200
  id: string;
4131
4201
  userId: string;
4132
4202
  company?: {
@@ -4136,13 +4206,14 @@ export declare const jobsContractRouter: {
4136
4206
  name: string;
4137
4207
  } | null | undefined;
4138
4208
  client?: {
4209
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4139
4210
  createdAt: string | Date;
4140
4211
  updatedAt: string | Date;
4141
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4142
4212
  id: string;
4143
4213
  name: string;
4144
- crn: string;
4214
+ crn: string | null;
4145
4215
  govLink: string;
4216
+ soleTrader: boolean;
4146
4217
  director: string;
4147
4218
  blacklistReason?: string | null | undefined;
4148
4219
  lastUpdatedBy?: {
@@ -4162,9 +4233,9 @@ export declare const jobsContractRouter: {
4162
4233
  email: string;
4163
4234
  } | null | undefined;
4164
4235
  newCollaboration?: {
4236
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4165
4237
  createdAt: string | Date;
4166
4238
  updatedAt: string | Date;
4167
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4168
4239
  id: string;
4169
4240
  userId: string;
4170
4241
  company?: {
@@ -4174,13 +4245,14 @@ export declare const jobsContractRouter: {
4174
4245
  name: string;
4175
4246
  } | null | undefined;
4176
4247
  client?: {
4248
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4177
4249
  createdAt: string | Date;
4178
4250
  updatedAt: string | Date;
4179
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4180
4251
  id: string;
4181
4252
  name: string;
4182
- crn: string;
4253
+ crn: string | null;
4183
4254
  govLink: string;
4255
+ soleTrader: boolean;
4184
4256
  director: string;
4185
4257
  blacklistReason?: string | null | undefined;
4186
4258
  lastUpdatedBy?: {
@@ -4409,8 +4481,9 @@ export declare const jobsContractRouter: {
4409
4481
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4410
4482
  id: z.ZodString;
4411
4483
  name: z.ZodString;
4412
- crn: z.ZodString;
4484
+ crn: z.ZodNullable<z.ZodString>;
4413
4485
  govLink: z.ZodString;
4486
+ soleTrader: z.ZodBoolean;
4414
4487
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
4415
4488
  director: z.ZodString;
4416
4489
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4440,13 +4513,14 @@ export declare const jobsContractRouter: {
4440
4513
  agentId: string;
4441
4514
  }>>>;
4442
4515
  }, "strip", z.ZodTypeAny, {
4516
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4443
4517
  createdAt: string;
4444
4518
  updatedAt: string;
4445
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4446
4519
  id: string;
4447
4520
  name: string;
4448
- crn: string;
4521
+ crn: string | null;
4449
4522
  govLink: string;
4523
+ soleTrader: boolean;
4450
4524
  director: string;
4451
4525
  blacklistReason?: string | null | undefined;
4452
4526
  lastUpdatedBy?: {
@@ -4459,13 +4533,14 @@ export declare const jobsContractRouter: {
4459
4533
  agentId: string;
4460
4534
  } | null | undefined;
4461
4535
  }, {
4536
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4462
4537
  createdAt: string | Date;
4463
4538
  updatedAt: string | Date;
4464
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4465
4539
  id: string;
4466
4540
  name: string;
4467
- crn: string;
4541
+ crn: string | null;
4468
4542
  govLink: string;
4543
+ soleTrader: boolean;
4469
4544
  director: string;
4470
4545
  blacklistReason?: string | null | undefined;
4471
4546
  lastUpdatedBy?: {
@@ -4520,8 +4595,9 @@ export declare const jobsContractRouter: {
4520
4595
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4521
4596
  id: z.ZodString;
4522
4597
  name: z.ZodString;
4523
- crn: z.ZodString;
4598
+ crn: z.ZodNullable<z.ZodString>;
4524
4599
  govLink: z.ZodString;
4600
+ soleTrader: z.ZodBoolean;
4525
4601
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
4526
4602
  director: z.ZodString;
4527
4603
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4551,13 +4627,14 @@ export declare const jobsContractRouter: {
4551
4627
  agentId: string;
4552
4628
  }>>>;
4553
4629
  }, "strip", z.ZodTypeAny, {
4630
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4554
4631
  createdAt: string;
4555
4632
  updatedAt: string;
4556
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4557
4633
  id: string;
4558
4634
  name: string;
4559
- crn: string;
4635
+ crn: string | null;
4560
4636
  govLink: string;
4637
+ soleTrader: boolean;
4561
4638
  director: string;
4562
4639
  blacklistReason?: string | null | undefined;
4563
4640
  lastUpdatedBy?: {
@@ -4570,13 +4647,14 @@ export declare const jobsContractRouter: {
4570
4647
  agentId: string;
4571
4648
  } | null | undefined;
4572
4649
  }, {
4650
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4573
4651
  createdAt: string | Date;
4574
4652
  updatedAt: string | Date;
4575
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4576
4653
  id: string;
4577
4654
  name: string;
4578
- crn: string;
4655
+ crn: string | null;
4579
4656
  govLink: string;
4657
+ soleTrader: boolean;
4580
4658
  director: string;
4581
4659
  blacklistReason?: string | null | undefined;
4582
4660
  lastUpdatedBy?: {
@@ -4610,9 +4688,9 @@ export declare const jobsContractRouter: {
4610
4688
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4611
4689
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4612
4690
  }, "strip", z.ZodTypeAny, {
4691
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4613
4692
  createdAt: string;
4614
4693
  updatedAt: string;
4615
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4616
4694
  id: string;
4617
4695
  userId: string;
4618
4696
  company?: {
@@ -4622,13 +4700,14 @@ export declare const jobsContractRouter: {
4622
4700
  name: string;
4623
4701
  } | null | undefined;
4624
4702
  client?: {
4703
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4625
4704
  createdAt: string;
4626
4705
  updatedAt: string;
4627
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4628
4706
  id: string;
4629
4707
  name: string;
4630
- crn: string;
4708
+ crn: string | null;
4631
4709
  govLink: string;
4710
+ soleTrader: boolean;
4632
4711
  director: string;
4633
4712
  blacklistReason?: string | null | undefined;
4634
4713
  lastUpdatedBy?: {
@@ -4648,9 +4727,9 @@ export declare const jobsContractRouter: {
4648
4727
  email: string;
4649
4728
  } | null | undefined;
4650
4729
  }, {
4730
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4651
4731
  createdAt: string | Date;
4652
4732
  updatedAt: string | Date;
4653
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4654
4733
  id: string;
4655
4734
  userId: string;
4656
4735
  company?: {
@@ -4660,13 +4739,14 @@ export declare const jobsContractRouter: {
4660
4739
  name: string;
4661
4740
  } | null | undefined;
4662
4741
  client?: {
4742
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4663
4743
  createdAt: string | Date;
4664
4744
  updatedAt: string | Date;
4665
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4666
4745
  id: string;
4667
4746
  name: string;
4668
- crn: string;
4747
+ crn: string | null;
4669
4748
  govLink: string;
4749
+ soleTrader: boolean;
4670
4750
  director: string;
4671
4751
  blacklistReason?: string | null | undefined;
4672
4752
  lastUpdatedBy?: {
@@ -4687,9 +4767,9 @@ export declare const jobsContractRouter: {
4687
4767
  } | null | undefined;
4688
4768
  }>>>;
4689
4769
  }, "strip", z.ZodTypeAny, {
4770
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4690
4771
  createdAt: string;
4691
4772
  updatedAt: string;
4692
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4693
4773
  id: string;
4694
4774
  userId: string;
4695
4775
  company?: {
@@ -4699,13 +4779,14 @@ export declare const jobsContractRouter: {
4699
4779
  name: string;
4700
4780
  } | null | undefined;
4701
4781
  client?: {
4782
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4702
4783
  createdAt: string;
4703
4784
  updatedAt: string;
4704
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4705
4785
  id: string;
4706
4786
  name: string;
4707
- crn: string;
4787
+ crn: string | null;
4708
4788
  govLink: string;
4789
+ soleTrader: boolean;
4709
4790
  director: string;
4710
4791
  blacklistReason?: string | null | undefined;
4711
4792
  lastUpdatedBy?: {
@@ -4725,9 +4806,9 @@ export declare const jobsContractRouter: {
4725
4806
  email: string;
4726
4807
  } | null | undefined;
4727
4808
  newCollaboration?: {
4809
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4728
4810
  createdAt: string;
4729
4811
  updatedAt: string;
4730
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4731
4812
  id: string;
4732
4813
  userId: string;
4733
4814
  company?: {
@@ -4737,13 +4818,14 @@ export declare const jobsContractRouter: {
4737
4818
  name: string;
4738
4819
  } | null | undefined;
4739
4820
  client?: {
4821
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4740
4822
  createdAt: string;
4741
4823
  updatedAt: string;
4742
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4743
4824
  id: string;
4744
4825
  name: string;
4745
- crn: string;
4826
+ crn: string | null;
4746
4827
  govLink: string;
4828
+ soleTrader: boolean;
4747
4829
  director: string;
4748
4830
  blacklistReason?: string | null | undefined;
4749
4831
  lastUpdatedBy?: {
@@ -4764,9 +4846,9 @@ export declare const jobsContractRouter: {
4764
4846
  } | null | undefined;
4765
4847
  } | null | undefined;
4766
4848
  }, {
4849
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4767
4850
  createdAt: string | Date;
4768
4851
  updatedAt: string | Date;
4769
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4770
4852
  id: string;
4771
4853
  userId: string;
4772
4854
  company?: {
@@ -4776,13 +4858,14 @@ export declare const jobsContractRouter: {
4776
4858
  name: string;
4777
4859
  } | null | undefined;
4778
4860
  client?: {
4861
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4779
4862
  createdAt: string | Date;
4780
4863
  updatedAt: string | Date;
4781
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4782
4864
  id: string;
4783
4865
  name: string;
4784
- crn: string;
4866
+ crn: string | null;
4785
4867
  govLink: string;
4868
+ soleTrader: boolean;
4786
4869
  director: string;
4787
4870
  blacklistReason?: string | null | undefined;
4788
4871
  lastUpdatedBy?: {
@@ -4802,9 +4885,9 @@ export declare const jobsContractRouter: {
4802
4885
  email: string;
4803
4886
  } | null | undefined;
4804
4887
  newCollaboration?: {
4888
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4805
4889
  createdAt: string | Date;
4806
4890
  updatedAt: string | Date;
4807
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4808
4891
  id: string;
4809
4892
  userId: string;
4810
4893
  company?: {
@@ -4814,13 +4897,14 @@ export declare const jobsContractRouter: {
4814
4897
  name: string;
4815
4898
  } | null | undefined;
4816
4899
  client?: {
4900
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4817
4901
  createdAt: string | Date;
4818
4902
  updatedAt: string | Date;
4819
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4820
4903
  id: string;
4821
4904
  name: string;
4822
- crn: string;
4905
+ crn: string | null;
4823
4906
  govLink: string;
4907
+ soleTrader: boolean;
4824
4908
  director: string;
4825
4909
  blacklistReason?: string | null | undefined;
4826
4910
  lastUpdatedBy?: {
@@ -4844,12 +4928,12 @@ export declare const jobsContractRouter: {
4844
4928
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4845
4929
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4846
4930
  }, "strip", z.ZodTypeAny, {
4931
+ description: string;
4932
+ numberOfPositions: number;
4933
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
4847
4934
  createdAt: string;
4848
4935
  updatedAt: string;
4849
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
4850
4936
  id: string;
4851
- description: string;
4852
- numberOfPositions: number;
4853
4937
  pay: {
4854
4938
  rateUnit: "DAILY" | "HOURLY";
4855
4939
  rate: number;
@@ -4873,9 +4957,9 @@ export declare const jobsContractRouter: {
4873
4957
  areaCovered?: string | null | undefined;
4874
4958
  } | null | undefined;
4875
4959
  currentCollaboration?: {
4960
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4876
4961
  createdAt: string;
4877
4962
  updatedAt: string;
4878
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4879
4963
  id: string;
4880
4964
  userId: string;
4881
4965
  company?: {
@@ -4885,13 +4969,14 @@ export declare const jobsContractRouter: {
4885
4969
  name: string;
4886
4970
  } | null | undefined;
4887
4971
  client?: {
4972
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4888
4973
  createdAt: string;
4889
4974
  updatedAt: string;
4890
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4891
4975
  id: string;
4892
4976
  name: string;
4893
- crn: string;
4977
+ crn: string | null;
4894
4978
  govLink: string;
4979
+ soleTrader: boolean;
4895
4980
  director: string;
4896
4981
  blacklistReason?: string | null | undefined;
4897
4982
  lastUpdatedBy?: {
@@ -4911,9 +4996,9 @@ export declare const jobsContractRouter: {
4911
4996
  email: string;
4912
4997
  } | null | undefined;
4913
4998
  newCollaboration?: {
4999
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4914
5000
  createdAt: string;
4915
5001
  updatedAt: string;
4916
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4917
5002
  id: string;
4918
5003
  userId: string;
4919
5004
  company?: {
@@ -4923,13 +5008,14 @@ export declare const jobsContractRouter: {
4923
5008
  name: string;
4924
5009
  } | null | undefined;
4925
5010
  client?: {
5011
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4926
5012
  createdAt: string;
4927
5013
  updatedAt: string;
4928
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4929
5014
  id: string;
4930
5015
  name: string;
4931
- crn: string;
5016
+ crn: string | null;
4932
5017
  govLink: string;
5018
+ soleTrader: boolean;
4933
5019
  director: string;
4934
5020
  blacklistReason?: string | null | undefined;
4935
5021
  lastUpdatedBy?: {
@@ -4951,12 +5037,12 @@ export declare const jobsContractRouter: {
4951
5037
  } | null | undefined;
4952
5038
  } | null | undefined;
4953
5039
  }, {
5040
+ description: string;
5041
+ numberOfPositions: number;
5042
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
4954
5043
  createdAt: string | Date;
4955
5044
  updatedAt: string | Date;
4956
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
4957
5045
  id: string;
4958
- description: string;
4959
- numberOfPositions: number;
4960
5046
  pay: {
4961
5047
  rateUnit: "DAILY" | "HOURLY";
4962
5048
  rate: number;
@@ -4980,9 +5066,9 @@ export declare const jobsContractRouter: {
4980
5066
  qualificationTypeId?: string | null | undefined;
4981
5067
  }[] | undefined;
4982
5068
  currentCollaboration?: {
5069
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4983
5070
  createdAt: string | Date;
4984
5071
  updatedAt: string | Date;
4985
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
4986
5072
  id: string;
4987
5073
  userId: string;
4988
5074
  company?: {
@@ -4992,13 +5078,14 @@ export declare const jobsContractRouter: {
4992
5078
  name: string;
4993
5079
  } | null | undefined;
4994
5080
  client?: {
5081
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4995
5082
  createdAt: string | Date;
4996
5083
  updatedAt: string | Date;
4997
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4998
5084
  id: string;
4999
5085
  name: string;
5000
- crn: string;
5086
+ crn: string | null;
5001
5087
  govLink: string;
5088
+ soleTrader: boolean;
5002
5089
  director: string;
5003
5090
  blacklistReason?: string | null | undefined;
5004
5091
  lastUpdatedBy?: {
@@ -5018,9 +5105,9 @@ export declare const jobsContractRouter: {
5018
5105
  email: string;
5019
5106
  } | null | undefined;
5020
5107
  newCollaboration?: {
5108
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5021
5109
  createdAt: string | Date;
5022
5110
  updatedAt: string | Date;
5023
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5024
5111
  id: string;
5025
5112
  userId: string;
5026
5113
  company?: {
@@ -5030,13 +5117,14 @@ export declare const jobsContractRouter: {
5030
5117
  name: string;
5031
5118
  } | null | undefined;
5032
5119
  client?: {
5120
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5033
5121
  createdAt: string | Date;
5034
5122
  updatedAt: string | Date;
5035
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5036
5123
  id: string;
5037
5124
  name: string;
5038
- crn: string;
5125
+ crn: string | null;
5039
5126
  govLink: string;
5127
+ soleTrader: boolean;
5040
5128
  director: string;
5041
5129
  blacklistReason?: string | null | undefined;
5042
5130
  lastUpdatedBy?: {
@@ -5151,9 +5239,9 @@ export declare const jobsContractRouter: {
5151
5239
  }>, "many">>;
5152
5240
  status: z.ZodOptional<z.ZodEnum<["CANCELED", "FILLED", "AVAILABLE", "NOT_AVAILABLE"]>>;
5153
5241
  }, "strip", z.ZodTypeAny, {
5154
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
5155
5242
  description?: string | undefined;
5156
5243
  numberOfPositions?: number | undefined;
5244
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
5157
5245
  workHours?: number | undefined;
5158
5246
  pay?: {
5159
5247
  rateUnit: "DAILY" | "HOURLY";
@@ -5174,9 +5262,9 @@ export declare const jobsContractRouter: {
5174
5262
  id: string;
5175
5263
  } | undefined;
5176
5264
  }, {
5177
- status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
5178
5265
  description?: string | undefined;
5179
5266
  numberOfPositions?: number | undefined;
5267
+ status?: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE" | undefined;
5180
5268
  workHours?: number | undefined;
5181
5269
  pay?: {
5182
5270
  rate: number;
@@ -5381,8 +5469,9 @@ export declare const jobsContractRouter: {
5381
5469
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5382
5470
  id: z.ZodString;
5383
5471
  name: z.ZodString;
5384
- crn: z.ZodString;
5472
+ crn: z.ZodNullable<z.ZodString>;
5385
5473
  govLink: z.ZodString;
5474
+ soleTrader: z.ZodBoolean;
5386
5475
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
5387
5476
  director: z.ZodString;
5388
5477
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5412,13 +5501,14 @@ export declare const jobsContractRouter: {
5412
5501
  agentId: string;
5413
5502
  }>>>;
5414
5503
  }, "strip", z.ZodTypeAny, {
5504
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5415
5505
  createdAt: string;
5416
5506
  updatedAt: string;
5417
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5418
5507
  id: string;
5419
5508
  name: string;
5420
- crn: string;
5509
+ crn: string | null;
5421
5510
  govLink: string;
5511
+ soleTrader: boolean;
5422
5512
  director: string;
5423
5513
  blacklistReason?: string | null | undefined;
5424
5514
  lastUpdatedBy?: {
@@ -5431,13 +5521,14 @@ export declare const jobsContractRouter: {
5431
5521
  agentId: string;
5432
5522
  } | null | undefined;
5433
5523
  }, {
5524
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5434
5525
  createdAt: string | Date;
5435
5526
  updatedAt: string | Date;
5436
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5437
5527
  id: string;
5438
5528
  name: string;
5439
- crn: string;
5529
+ crn: string | null;
5440
5530
  govLink: string;
5531
+ soleTrader: boolean;
5441
5532
  director: string;
5442
5533
  blacklistReason?: string | null | undefined;
5443
5534
  lastUpdatedBy?: {
@@ -5492,8 +5583,9 @@ export declare const jobsContractRouter: {
5492
5583
  client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5493
5584
  id: z.ZodString;
5494
5585
  name: z.ZodString;
5495
- crn: z.ZodString;
5586
+ crn: z.ZodNullable<z.ZodString>;
5496
5587
  govLink: z.ZodString;
5588
+ soleTrader: z.ZodBoolean;
5497
5589
  status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
5498
5590
  director: z.ZodString;
5499
5591
  blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5523,13 +5615,14 @@ export declare const jobsContractRouter: {
5523
5615
  agentId: string;
5524
5616
  }>>>;
5525
5617
  }, "strip", z.ZodTypeAny, {
5618
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5526
5619
  createdAt: string;
5527
5620
  updatedAt: string;
5528
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5529
5621
  id: string;
5530
5622
  name: string;
5531
- crn: string;
5623
+ crn: string | null;
5532
5624
  govLink: string;
5625
+ soleTrader: boolean;
5533
5626
  director: string;
5534
5627
  blacklistReason?: string | null | undefined;
5535
5628
  lastUpdatedBy?: {
@@ -5542,13 +5635,14 @@ export declare const jobsContractRouter: {
5542
5635
  agentId: string;
5543
5636
  } | null | undefined;
5544
5637
  }, {
5638
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5545
5639
  createdAt: string | Date;
5546
5640
  updatedAt: string | Date;
5547
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5548
5641
  id: string;
5549
5642
  name: string;
5550
- crn: string;
5643
+ crn: string | null;
5551
5644
  govLink: string;
5645
+ soleTrader: boolean;
5552
5646
  director: string;
5553
5647
  blacklistReason?: string | null | undefined;
5554
5648
  lastUpdatedBy?: {
@@ -5582,9 +5676,9 @@ export declare const jobsContractRouter: {
5582
5676
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
5583
5677
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
5584
5678
  }, "strip", z.ZodTypeAny, {
5679
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5585
5680
  createdAt: string;
5586
5681
  updatedAt: string;
5587
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5588
5682
  id: string;
5589
5683
  userId: string;
5590
5684
  company?: {
@@ -5594,13 +5688,14 @@ export declare const jobsContractRouter: {
5594
5688
  name: string;
5595
5689
  } | null | undefined;
5596
5690
  client?: {
5691
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5597
5692
  createdAt: string;
5598
5693
  updatedAt: string;
5599
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5600
5694
  id: string;
5601
5695
  name: string;
5602
- crn: string;
5696
+ crn: string | null;
5603
5697
  govLink: string;
5698
+ soleTrader: boolean;
5604
5699
  director: string;
5605
5700
  blacklistReason?: string | null | undefined;
5606
5701
  lastUpdatedBy?: {
@@ -5620,9 +5715,9 @@ export declare const jobsContractRouter: {
5620
5715
  email: string;
5621
5716
  } | null | undefined;
5622
5717
  }, {
5718
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5623
5719
  createdAt: string | Date;
5624
5720
  updatedAt: string | Date;
5625
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5626
5721
  id: string;
5627
5722
  userId: string;
5628
5723
  company?: {
@@ -5632,13 +5727,14 @@ export declare const jobsContractRouter: {
5632
5727
  name: string;
5633
5728
  } | null | undefined;
5634
5729
  client?: {
5730
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5635
5731
  createdAt: string | Date;
5636
5732
  updatedAt: string | Date;
5637
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5638
5733
  id: string;
5639
5734
  name: string;
5640
- crn: string;
5735
+ crn: string | null;
5641
5736
  govLink: string;
5737
+ soleTrader: boolean;
5642
5738
  director: string;
5643
5739
  blacklistReason?: string | null | undefined;
5644
5740
  lastUpdatedBy?: {
@@ -5659,9 +5755,9 @@ export declare const jobsContractRouter: {
5659
5755
  } | null | undefined;
5660
5756
  }>>>;
5661
5757
  }, "strip", z.ZodTypeAny, {
5758
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5662
5759
  createdAt: string;
5663
5760
  updatedAt: string;
5664
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5665
5761
  id: string;
5666
5762
  userId: string;
5667
5763
  company?: {
@@ -5671,13 +5767,14 @@ export declare const jobsContractRouter: {
5671
5767
  name: string;
5672
5768
  } | null | undefined;
5673
5769
  client?: {
5770
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5674
5771
  createdAt: string;
5675
5772
  updatedAt: string;
5676
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5677
5773
  id: string;
5678
5774
  name: string;
5679
- crn: string;
5775
+ crn: string | null;
5680
5776
  govLink: string;
5777
+ soleTrader: boolean;
5681
5778
  director: string;
5682
5779
  blacklistReason?: string | null | undefined;
5683
5780
  lastUpdatedBy?: {
@@ -5697,9 +5794,9 @@ export declare const jobsContractRouter: {
5697
5794
  email: string;
5698
5795
  } | null | undefined;
5699
5796
  newCollaboration?: {
5797
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5700
5798
  createdAt: string;
5701
5799
  updatedAt: string;
5702
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5703
5800
  id: string;
5704
5801
  userId: string;
5705
5802
  company?: {
@@ -5709,13 +5806,14 @@ export declare const jobsContractRouter: {
5709
5806
  name: string;
5710
5807
  } | null | undefined;
5711
5808
  client?: {
5809
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5712
5810
  createdAt: string;
5713
5811
  updatedAt: string;
5714
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5715
5812
  id: string;
5716
5813
  name: string;
5717
- crn: string;
5814
+ crn: string | null;
5718
5815
  govLink: string;
5816
+ soleTrader: boolean;
5719
5817
  director: string;
5720
5818
  blacklistReason?: string | null | undefined;
5721
5819
  lastUpdatedBy?: {
@@ -5736,9 +5834,9 @@ export declare const jobsContractRouter: {
5736
5834
  } | null | undefined;
5737
5835
  } | null | undefined;
5738
5836
  }, {
5837
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5739
5838
  createdAt: string | Date;
5740
5839
  updatedAt: string | Date;
5741
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5742
5840
  id: string;
5743
5841
  userId: string;
5744
5842
  company?: {
@@ -5748,13 +5846,14 @@ export declare const jobsContractRouter: {
5748
5846
  name: string;
5749
5847
  } | null | undefined;
5750
5848
  client?: {
5849
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5751
5850
  createdAt: string | Date;
5752
5851
  updatedAt: string | Date;
5753
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5754
5852
  id: string;
5755
5853
  name: string;
5756
- crn: string;
5854
+ crn: string | null;
5757
5855
  govLink: string;
5856
+ soleTrader: boolean;
5758
5857
  director: string;
5759
5858
  blacklistReason?: string | null | undefined;
5760
5859
  lastUpdatedBy?: {
@@ -5774,9 +5873,9 @@ export declare const jobsContractRouter: {
5774
5873
  email: string;
5775
5874
  } | null | undefined;
5776
5875
  newCollaboration?: {
5876
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5777
5877
  createdAt: string | Date;
5778
5878
  updatedAt: string | Date;
5779
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5780
5879
  id: string;
5781
5880
  userId: string;
5782
5881
  company?: {
@@ -5786,13 +5885,14 @@ export declare const jobsContractRouter: {
5786
5885
  name: string;
5787
5886
  } | null | undefined;
5788
5887
  client?: {
5888
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5789
5889
  createdAt: string | Date;
5790
5890
  updatedAt: string | Date;
5791
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5792
5891
  id: string;
5793
5892
  name: string;
5794
- crn: string;
5893
+ crn: string | null;
5795
5894
  govLink: string;
5895
+ soleTrader: boolean;
5796
5896
  director: string;
5797
5897
  blacklistReason?: string | null | undefined;
5798
5898
  lastUpdatedBy?: {
@@ -5816,12 +5916,12 @@ export declare const jobsContractRouter: {
5816
5916
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
5817
5917
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
5818
5918
  }, "strip", z.ZodTypeAny, {
5919
+ description: string;
5920
+ numberOfPositions: number;
5921
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
5819
5922
  createdAt: string;
5820
5923
  updatedAt: string;
5821
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
5822
5924
  id: string;
5823
- description: string;
5824
- numberOfPositions: number;
5825
5925
  pay: {
5826
5926
  rateUnit: "DAILY" | "HOURLY";
5827
5927
  rate: number;
@@ -5845,9 +5945,9 @@ export declare const jobsContractRouter: {
5845
5945
  areaCovered?: string | null | undefined;
5846
5946
  } | null | undefined;
5847
5947
  currentCollaboration?: {
5948
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5848
5949
  createdAt: string;
5849
5950
  updatedAt: string;
5850
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5851
5951
  id: string;
5852
5952
  userId: string;
5853
5953
  company?: {
@@ -5857,13 +5957,14 @@ export declare const jobsContractRouter: {
5857
5957
  name: string;
5858
5958
  } | null | undefined;
5859
5959
  client?: {
5960
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5860
5961
  createdAt: string;
5861
5962
  updatedAt: string;
5862
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5863
5963
  id: string;
5864
5964
  name: string;
5865
- crn: string;
5965
+ crn: string | null;
5866
5966
  govLink: string;
5967
+ soleTrader: boolean;
5867
5968
  director: string;
5868
5969
  blacklistReason?: string | null | undefined;
5869
5970
  lastUpdatedBy?: {
@@ -5883,9 +5984,9 @@ export declare const jobsContractRouter: {
5883
5984
  email: string;
5884
5985
  } | null | undefined;
5885
5986
  newCollaboration?: {
5987
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5886
5988
  createdAt: string;
5887
5989
  updatedAt: string;
5888
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5889
5990
  id: string;
5890
5991
  userId: string;
5891
5992
  company?: {
@@ -5895,13 +5996,14 @@ export declare const jobsContractRouter: {
5895
5996
  name: string;
5896
5997
  } | null | undefined;
5897
5998
  client?: {
5999
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5898
6000
  createdAt: string;
5899
6001
  updatedAt: string;
5900
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5901
6002
  id: string;
5902
6003
  name: string;
5903
- crn: string;
6004
+ crn: string | null;
5904
6005
  govLink: string;
6006
+ soleTrader: boolean;
5905
6007
  director: string;
5906
6008
  blacklistReason?: string | null | undefined;
5907
6009
  lastUpdatedBy?: {
@@ -5923,12 +6025,12 @@ export declare const jobsContractRouter: {
5923
6025
  } | null | undefined;
5924
6026
  } | null | undefined;
5925
6027
  }, {
6028
+ description: string;
6029
+ numberOfPositions: number;
6030
+ status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
5926
6031
  createdAt: string | Date;
5927
6032
  updatedAt: string | Date;
5928
- status: "CANCELED" | "FILLED" | "AVAILABLE" | "NOT_AVAILABLE";
5929
6033
  id: string;
5930
- description: string;
5931
- numberOfPositions: number;
5932
6034
  pay: {
5933
6035
  rateUnit: "DAILY" | "HOURLY";
5934
6036
  rate: number;
@@ -5952,9 +6054,9 @@ export declare const jobsContractRouter: {
5952
6054
  qualificationTypeId?: string | null | undefined;
5953
6055
  }[] | undefined;
5954
6056
  currentCollaboration?: {
6057
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5955
6058
  createdAt: string | Date;
5956
6059
  updatedAt: string | Date;
5957
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5958
6060
  id: string;
5959
6061
  userId: string;
5960
6062
  company?: {
@@ -5964,13 +6066,14 @@ export declare const jobsContractRouter: {
5964
6066
  name: string;
5965
6067
  } | null | undefined;
5966
6068
  client?: {
6069
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5967
6070
  createdAt: string | Date;
5968
6071
  updatedAt: string | Date;
5969
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
5970
6072
  id: string;
5971
6073
  name: string;
5972
- crn: string;
6074
+ crn: string | null;
5973
6075
  govLink: string;
6076
+ soleTrader: boolean;
5974
6077
  director: string;
5975
6078
  blacklistReason?: string | null | undefined;
5976
6079
  lastUpdatedBy?: {
@@ -5990,9 +6093,9 @@ export declare const jobsContractRouter: {
5990
6093
  email: string;
5991
6094
  } | null | undefined;
5992
6095
  newCollaboration?: {
6096
+ status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5993
6097
  createdAt: string | Date;
5994
6098
  updatedAt: string | Date;
5995
- status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
5996
6099
  id: string;
5997
6100
  userId: string;
5998
6101
  company?: {
@@ -6002,13 +6105,14 @@ export declare const jobsContractRouter: {
6002
6105
  name: string;
6003
6106
  } | null | undefined;
6004
6107
  client?: {
6108
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
6005
6109
  createdAt: string | Date;
6006
6110
  updatedAt: string | Date;
6007
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
6008
6111
  id: string;
6009
6112
  name: string;
6010
- crn: string;
6113
+ crn: string | null;
6011
6114
  govLink: string;
6115
+ soleTrader: boolean;
6012
6116
  director: string;
6013
6117
  blacklistReason?: string | null | undefined;
6014
6118
  lastUpdatedBy?: {