@dakkitor/api-contracts 1.1.22 → 1.1.24

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.
@@ -14,7 +14,7 @@ export type CollaborationSortableFields = z.infer<typeof CollaborationSortableFi
14
14
  */
15
15
  export declare const CollaborationSchema: z.ZodObject<{
16
16
  id: z.ZodString;
17
- company: z.ZodObject<{
17
+ company: z.ZodOptional<z.ZodObject<{
18
18
  id: z.ZodString;
19
19
  name: z.ZodString;
20
20
  }, "strip", z.ZodTypeAny, {
@@ -23,8 +23,8 @@ export declare const CollaborationSchema: z.ZodObject<{
23
23
  }, {
24
24
  id: string;
25
25
  name: string;
26
- }>;
27
- client: z.ZodObject<{
26
+ }>>;
27
+ client: z.ZodOptional<z.ZodObject<{
28
28
  id: z.ZodString;
29
29
  name: z.ZodString;
30
30
  }, "strip", z.ZodTypeAny, {
@@ -33,8 +33,8 @@ export declare const CollaborationSchema: z.ZodObject<{
33
33
  }, {
34
34
  id: string;
35
35
  name: string;
36
- }>;
37
- user: z.ZodObject<{
36
+ }>>;
37
+ user: z.ZodOptional<z.ZodObject<{
38
38
  id: z.ZodString;
39
39
  firstName: z.ZodString;
40
40
  lastName: z.ZodString;
@@ -49,7 +49,7 @@ export declare const CollaborationSchema: z.ZodObject<{
49
49
  firstName: string;
50
50
  lastName: string;
51
51
  email: string;
52
- }>;
52
+ }>>;
53
53
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
54
54
  userId: z.ZodString;
55
55
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -66,21 +66,21 @@ export declare const CollaborationSchema: z.ZodObject<{
66
66
  updatedAt: string;
67
67
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
68
68
  id: string;
69
- company: {
69
+ userId: string;
70
+ company?: {
70
71
  id: string;
71
72
  name: string;
72
- };
73
- client: {
73
+ } | undefined;
74
+ client?: {
74
75
  id: string;
75
76
  name: string;
76
- };
77
- user: {
77
+ } | undefined;
78
+ user?: {
78
79
  id: string;
79
80
  firstName: string;
80
81
  lastName: string;
81
82
  email: string;
82
- };
83
- userId: string;
83
+ } | undefined;
84
84
  newCollaboration?: {
85
85
  id: string;
86
86
  } | null | undefined;
@@ -89,21 +89,21 @@ export declare const CollaborationSchema: z.ZodObject<{
89
89
  updatedAt: string | Date;
90
90
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
91
91
  id: string;
92
- company: {
92
+ userId: string;
93
+ company?: {
93
94
  id: string;
94
95
  name: string;
95
- };
96
- client: {
96
+ } | undefined;
97
+ client?: {
97
98
  id: string;
98
99
  name: string;
99
- };
100
- user: {
100
+ } | undefined;
101
+ user?: {
101
102
  id: string;
102
103
  firstName: string;
103
104
  lastName: string;
104
105
  email: string;
105
- };
106
- userId: string;
106
+ } | undefined;
107
107
  newCollaboration?: {
108
108
  id: string;
109
109
  } | null | undefined;
@@ -356,7 +356,7 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
356
356
  export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
357
357
  items: z.ZodArray<z.ZodObject<{
358
358
  id: z.ZodString;
359
- company: z.ZodObject<{
359
+ company: z.ZodOptional<z.ZodObject<{
360
360
  id: z.ZodString;
361
361
  name: z.ZodString;
362
362
  }, "strip", z.ZodTypeAny, {
@@ -365,8 +365,8 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
365
365
  }, {
366
366
  id: string;
367
367
  name: string;
368
- }>;
369
- client: z.ZodObject<{
368
+ }>>;
369
+ client: z.ZodOptional<z.ZodObject<{
370
370
  id: z.ZodString;
371
371
  name: z.ZodString;
372
372
  }, "strip", z.ZodTypeAny, {
@@ -375,8 +375,8 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
375
375
  }, {
376
376
  id: string;
377
377
  name: string;
378
- }>;
379
- user: z.ZodObject<{
378
+ }>>;
379
+ user: z.ZodOptional<z.ZodObject<{
380
380
  id: z.ZodString;
381
381
  firstName: z.ZodString;
382
382
  lastName: z.ZodString;
@@ -391,7 +391,7 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
391
391
  firstName: string;
392
392
  lastName: string;
393
393
  email: string;
394
- }>;
394
+ }>>;
395
395
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
396
396
  userId: z.ZodString;
397
397
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -408,21 +408,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
408
408
  updatedAt: string;
409
409
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
410
410
  id: string;
411
- company: {
411
+ userId: string;
412
+ company?: {
412
413
  id: string;
413
414
  name: string;
414
- };
415
- client: {
415
+ } | undefined;
416
+ client?: {
416
417
  id: string;
417
418
  name: string;
418
- };
419
- user: {
419
+ } | undefined;
420
+ user?: {
420
421
  id: string;
421
422
  firstName: string;
422
423
  lastName: string;
423
424
  email: string;
424
- };
425
- userId: string;
425
+ } | undefined;
426
426
  newCollaboration?: {
427
427
  id: string;
428
428
  } | null | undefined;
@@ -431,21 +431,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
431
431
  updatedAt: string | Date;
432
432
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
433
433
  id: string;
434
- company: {
434
+ userId: string;
435
+ company?: {
435
436
  id: string;
436
437
  name: string;
437
- };
438
- client: {
438
+ } | undefined;
439
+ client?: {
439
440
  id: string;
440
441
  name: string;
441
- };
442
- user: {
442
+ } | undefined;
443
+ user?: {
443
444
  id: string;
444
445
  firstName: string;
445
446
  lastName: string;
446
447
  email: string;
447
- };
448
- userId: string;
448
+ } | undefined;
449
449
  newCollaboration?: {
450
450
  id: string;
451
451
  } | null | undefined;
@@ -462,21 +462,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
462
462
  updatedAt: string;
463
463
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
464
464
  id: string;
465
- company: {
465
+ userId: string;
466
+ company?: {
466
467
  id: string;
467
468
  name: string;
468
- };
469
- client: {
469
+ } | undefined;
470
+ client?: {
470
471
  id: string;
471
472
  name: string;
472
- };
473
- user: {
473
+ } | undefined;
474
+ user?: {
474
475
  id: string;
475
476
  firstName: string;
476
477
  lastName: string;
477
478
  email: string;
478
- };
479
- userId: string;
479
+ } | undefined;
480
480
  newCollaboration?: {
481
481
  id: string;
482
482
  } | null | undefined;
@@ -492,21 +492,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
492
492
  updatedAt: string | Date;
493
493
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
494
494
  id: string;
495
- company: {
495
+ userId: string;
496
+ company?: {
496
497
  id: string;
497
498
  name: string;
498
- };
499
- client: {
499
+ } | undefined;
500
+ client?: {
500
501
  id: string;
501
502
  name: string;
502
- };
503
- user: {
503
+ } | undefined;
504
+ user?: {
504
505
  id: string;
505
506
  firstName: string;
506
507
  lastName: string;
507
508
  email: string;
508
- };
509
- userId: string;
509
+ } | undefined;
510
510
  newCollaboration?: {
511
511
  id: string;
512
512
  } | null | undefined;
@@ -684,7 +684,7 @@ export declare const collaborationsContractRouter: {
684
684
  }>;
685
685
  201: z.ZodObject<{
686
686
  id: z.ZodString;
687
- company: z.ZodObject<{
687
+ company: z.ZodOptional<z.ZodObject<{
688
688
  id: z.ZodString;
689
689
  name: z.ZodString;
690
690
  }, "strip", z.ZodTypeAny, {
@@ -693,8 +693,8 @@ export declare const collaborationsContractRouter: {
693
693
  }, {
694
694
  id: string;
695
695
  name: string;
696
- }>;
697
- client: z.ZodObject<{
696
+ }>>;
697
+ client: z.ZodOptional<z.ZodObject<{
698
698
  id: z.ZodString;
699
699
  name: z.ZodString;
700
700
  }, "strip", z.ZodTypeAny, {
@@ -703,8 +703,8 @@ export declare const collaborationsContractRouter: {
703
703
  }, {
704
704
  id: string;
705
705
  name: string;
706
- }>;
707
- user: z.ZodObject<{
706
+ }>>;
707
+ user: z.ZodOptional<z.ZodObject<{
708
708
  id: z.ZodString;
709
709
  firstName: z.ZodString;
710
710
  lastName: z.ZodString;
@@ -719,7 +719,7 @@ export declare const collaborationsContractRouter: {
719
719
  firstName: string;
720
720
  lastName: string;
721
721
  email: string;
722
- }>;
722
+ }>>;
723
723
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
724
724
  userId: z.ZodString;
725
725
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -736,21 +736,21 @@ export declare const collaborationsContractRouter: {
736
736
  updatedAt: string;
737
737
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
738
738
  id: string;
739
- company: {
739
+ userId: string;
740
+ company?: {
740
741
  id: string;
741
742
  name: string;
742
- };
743
- client: {
743
+ } | undefined;
744
+ client?: {
744
745
  id: string;
745
746
  name: string;
746
- };
747
- user: {
747
+ } | undefined;
748
+ user?: {
748
749
  id: string;
749
750
  firstName: string;
750
751
  lastName: string;
751
752
  email: string;
752
- };
753
- userId: string;
753
+ } | undefined;
754
754
  newCollaboration?: {
755
755
  id: string;
756
756
  } | null | undefined;
@@ -759,21 +759,21 @@ export declare const collaborationsContractRouter: {
759
759
  updatedAt: string | Date;
760
760
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
761
761
  id: string;
762
- company: {
762
+ userId: string;
763
+ company?: {
763
764
  id: string;
764
765
  name: string;
765
- };
766
- client: {
766
+ } | undefined;
767
+ client?: {
767
768
  id: string;
768
769
  name: string;
769
- };
770
- user: {
770
+ } | undefined;
771
+ user?: {
771
772
  id: string;
772
773
  firstName: string;
773
774
  lastName: string;
774
775
  email: string;
775
- };
776
- userId: string;
776
+ } | undefined;
777
777
  newCollaboration?: {
778
778
  id: string;
779
779
  } | null | undefined;
@@ -948,7 +948,7 @@ export declare const collaborationsContractRouter: {
948
948
  200: z.ZodObject<{
949
949
  items: z.ZodArray<z.ZodObject<{
950
950
  id: z.ZodString;
951
- company: z.ZodObject<{
951
+ company: z.ZodOptional<z.ZodObject<{
952
952
  id: z.ZodString;
953
953
  name: z.ZodString;
954
954
  }, "strip", z.ZodTypeAny, {
@@ -957,8 +957,8 @@ export declare const collaborationsContractRouter: {
957
957
  }, {
958
958
  id: string;
959
959
  name: string;
960
- }>;
961
- client: z.ZodObject<{
960
+ }>>;
961
+ client: z.ZodOptional<z.ZodObject<{
962
962
  id: z.ZodString;
963
963
  name: z.ZodString;
964
964
  }, "strip", z.ZodTypeAny, {
@@ -967,8 +967,8 @@ export declare const collaborationsContractRouter: {
967
967
  }, {
968
968
  id: string;
969
969
  name: string;
970
- }>;
971
- user: z.ZodObject<{
970
+ }>>;
971
+ user: z.ZodOptional<z.ZodObject<{
972
972
  id: z.ZodString;
973
973
  firstName: z.ZodString;
974
974
  lastName: z.ZodString;
@@ -983,7 +983,7 @@ export declare const collaborationsContractRouter: {
983
983
  firstName: string;
984
984
  lastName: string;
985
985
  email: string;
986
- }>;
986
+ }>>;
987
987
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
988
988
  userId: z.ZodString;
989
989
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1000,21 +1000,21 @@ export declare const collaborationsContractRouter: {
1000
1000
  updatedAt: string;
1001
1001
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1002
1002
  id: string;
1003
- company: {
1003
+ userId: string;
1004
+ company?: {
1004
1005
  id: string;
1005
1006
  name: string;
1006
- };
1007
- client: {
1007
+ } | undefined;
1008
+ client?: {
1008
1009
  id: string;
1009
1010
  name: string;
1010
- };
1011
- user: {
1011
+ } | undefined;
1012
+ user?: {
1012
1013
  id: string;
1013
1014
  firstName: string;
1014
1015
  lastName: string;
1015
1016
  email: string;
1016
- };
1017
- userId: string;
1017
+ } | undefined;
1018
1018
  newCollaboration?: {
1019
1019
  id: string;
1020
1020
  } | null | undefined;
@@ -1023,21 +1023,21 @@ export declare const collaborationsContractRouter: {
1023
1023
  updatedAt: string | Date;
1024
1024
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1025
1025
  id: string;
1026
- company: {
1026
+ userId: string;
1027
+ company?: {
1027
1028
  id: string;
1028
1029
  name: string;
1029
- };
1030
- client: {
1030
+ } | undefined;
1031
+ client?: {
1031
1032
  id: string;
1032
1033
  name: string;
1033
- };
1034
- user: {
1034
+ } | undefined;
1035
+ user?: {
1035
1036
  id: string;
1036
1037
  firstName: string;
1037
1038
  lastName: string;
1038
1039
  email: string;
1039
- };
1040
- userId: string;
1040
+ } | undefined;
1041
1041
  newCollaboration?: {
1042
1042
  id: string;
1043
1043
  } | null | undefined;
@@ -1054,21 +1054,21 @@ export declare const collaborationsContractRouter: {
1054
1054
  updatedAt: string;
1055
1055
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1056
1056
  id: string;
1057
- company: {
1057
+ userId: string;
1058
+ company?: {
1058
1059
  id: string;
1059
1060
  name: string;
1060
- };
1061
- client: {
1061
+ } | undefined;
1062
+ client?: {
1062
1063
  id: string;
1063
1064
  name: string;
1064
- };
1065
- user: {
1065
+ } | undefined;
1066
+ user?: {
1066
1067
  id: string;
1067
1068
  firstName: string;
1068
1069
  lastName: string;
1069
1070
  email: string;
1070
- };
1071
- userId: string;
1071
+ } | undefined;
1072
1072
  newCollaboration?: {
1073
1073
  id: string;
1074
1074
  } | null | undefined;
@@ -1084,21 +1084,21 @@ export declare const collaborationsContractRouter: {
1084
1084
  updatedAt: string | Date;
1085
1085
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1086
1086
  id: string;
1087
- company: {
1087
+ userId: string;
1088
+ company?: {
1088
1089
  id: string;
1089
1090
  name: string;
1090
- };
1091
- client: {
1091
+ } | undefined;
1092
+ client?: {
1092
1093
  id: string;
1093
1094
  name: string;
1094
- };
1095
- user: {
1095
+ } | undefined;
1096
+ user?: {
1096
1097
  id: string;
1097
1098
  firstName: string;
1098
1099
  lastName: string;
1099
1100
  email: string;
1100
- };
1101
- userId: string;
1101
+ } | undefined;
1102
1102
  newCollaboration?: {
1103
1103
  id: string;
1104
1104
  } | null | undefined;
@@ -1404,7 +1404,7 @@ export declare const collaborationsContractRouter: {
1404
1404
  }>;
1405
1405
  200: z.ZodObject<{
1406
1406
  id: z.ZodString;
1407
- company: z.ZodObject<{
1407
+ company: z.ZodOptional<z.ZodObject<{
1408
1408
  id: z.ZodString;
1409
1409
  name: z.ZodString;
1410
1410
  }, "strip", z.ZodTypeAny, {
@@ -1413,8 +1413,8 @@ export declare const collaborationsContractRouter: {
1413
1413
  }, {
1414
1414
  id: string;
1415
1415
  name: string;
1416
- }>;
1417
- client: z.ZodObject<{
1416
+ }>>;
1417
+ client: z.ZodOptional<z.ZodObject<{
1418
1418
  id: z.ZodString;
1419
1419
  name: z.ZodString;
1420
1420
  }, "strip", z.ZodTypeAny, {
@@ -1423,8 +1423,8 @@ export declare const collaborationsContractRouter: {
1423
1423
  }, {
1424
1424
  id: string;
1425
1425
  name: string;
1426
- }>;
1427
- user: z.ZodObject<{
1426
+ }>>;
1427
+ user: z.ZodOptional<z.ZodObject<{
1428
1428
  id: z.ZodString;
1429
1429
  firstName: z.ZodString;
1430
1430
  lastName: z.ZodString;
@@ -1439,7 +1439,7 @@ export declare const collaborationsContractRouter: {
1439
1439
  firstName: string;
1440
1440
  lastName: string;
1441
1441
  email: string;
1442
- }>;
1442
+ }>>;
1443
1443
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
1444
1444
  userId: z.ZodString;
1445
1445
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1456,21 +1456,21 @@ export declare const collaborationsContractRouter: {
1456
1456
  updatedAt: string;
1457
1457
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1458
1458
  id: string;
1459
- company: {
1459
+ userId: string;
1460
+ company?: {
1460
1461
  id: string;
1461
1462
  name: string;
1462
- };
1463
- client: {
1463
+ } | undefined;
1464
+ client?: {
1464
1465
  id: string;
1465
1466
  name: string;
1466
- };
1467
- user: {
1467
+ } | undefined;
1468
+ user?: {
1468
1469
  id: string;
1469
1470
  firstName: string;
1470
1471
  lastName: string;
1471
1472
  email: string;
1472
- };
1473
- userId: string;
1473
+ } | undefined;
1474
1474
  newCollaboration?: {
1475
1475
  id: string;
1476
1476
  } | null | undefined;
@@ -1479,21 +1479,21 @@ export declare const collaborationsContractRouter: {
1479
1479
  updatedAt: string | Date;
1480
1480
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1481
1481
  id: string;
1482
- company: {
1482
+ userId: string;
1483
+ company?: {
1483
1484
  id: string;
1484
1485
  name: string;
1485
- };
1486
- client: {
1486
+ } | undefined;
1487
+ client?: {
1487
1488
  id: string;
1488
1489
  name: string;
1489
- };
1490
- user: {
1490
+ } | undefined;
1491
+ user?: {
1491
1492
  id: string;
1492
1493
  firstName: string;
1493
1494
  lastName: string;
1494
1495
  email: string;
1495
- };
1496
- userId: string;
1496
+ } | undefined;
1497
1497
  newCollaboration?: {
1498
1498
  id: string;
1499
1499
  } | null | undefined;
@@ -1652,7 +1652,7 @@ export declare const collaborationsContractRouter: {
1652
1652
  }>;
1653
1653
  200: z.ZodObject<{
1654
1654
  id: z.ZodString;
1655
- company: z.ZodObject<{
1655
+ company: z.ZodOptional<z.ZodObject<{
1656
1656
  id: z.ZodString;
1657
1657
  name: z.ZodString;
1658
1658
  }, "strip", z.ZodTypeAny, {
@@ -1661,8 +1661,8 @@ export declare const collaborationsContractRouter: {
1661
1661
  }, {
1662
1662
  id: string;
1663
1663
  name: string;
1664
- }>;
1665
- client: z.ZodObject<{
1664
+ }>>;
1665
+ client: z.ZodOptional<z.ZodObject<{
1666
1666
  id: z.ZodString;
1667
1667
  name: z.ZodString;
1668
1668
  }, "strip", z.ZodTypeAny, {
@@ -1671,8 +1671,8 @@ export declare const collaborationsContractRouter: {
1671
1671
  }, {
1672
1672
  id: string;
1673
1673
  name: string;
1674
- }>;
1675
- user: z.ZodObject<{
1674
+ }>>;
1675
+ user: z.ZodOptional<z.ZodObject<{
1676
1676
  id: z.ZodString;
1677
1677
  firstName: z.ZodString;
1678
1678
  lastName: z.ZodString;
@@ -1687,7 +1687,7 @@ export declare const collaborationsContractRouter: {
1687
1687
  firstName: string;
1688
1688
  lastName: string;
1689
1689
  email: string;
1690
- }>;
1690
+ }>>;
1691
1691
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
1692
1692
  userId: z.ZodString;
1693
1693
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1704,21 +1704,21 @@ export declare const collaborationsContractRouter: {
1704
1704
  updatedAt: string;
1705
1705
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1706
1706
  id: string;
1707
- company: {
1707
+ userId: string;
1708
+ company?: {
1708
1709
  id: string;
1709
1710
  name: string;
1710
- };
1711
- client: {
1711
+ } | undefined;
1712
+ client?: {
1712
1713
  id: string;
1713
1714
  name: string;
1714
- };
1715
- user: {
1715
+ } | undefined;
1716
+ user?: {
1716
1717
  id: string;
1717
1718
  firstName: string;
1718
1719
  lastName: string;
1719
1720
  email: string;
1720
- };
1721
- userId: string;
1721
+ } | undefined;
1722
1722
  newCollaboration?: {
1723
1723
  id: string;
1724
1724
  } | null | undefined;
@@ -1727,21 +1727,21 @@ export declare const collaborationsContractRouter: {
1727
1727
  updatedAt: string | Date;
1728
1728
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
1729
1729
  id: string;
1730
- company: {
1730
+ userId: string;
1731
+ company?: {
1731
1732
  id: string;
1732
1733
  name: string;
1733
- };
1734
- client: {
1734
+ } | undefined;
1735
+ client?: {
1735
1736
  id: string;
1736
1737
  name: string;
1737
- };
1738
- user: {
1738
+ } | undefined;
1739
+ user?: {
1739
1740
  id: string;
1740
1741
  firstName: string;
1741
1742
  lastName: string;
1742
1743
  email: string;
1743
- };
1744
- userId: string;
1744
+ } | undefined;
1745
1745
  newCollaboration?: {
1746
1746
  id: string;
1747
1747
  } | null | undefined;
@@ -2104,7 +2104,7 @@ export declare const collaborationsContractRouter: {
2104
2104
  }>;
2105
2105
  201: z.ZodObject<{
2106
2106
  id: z.ZodString;
2107
- company: z.ZodObject<{
2107
+ company: z.ZodOptional<z.ZodObject<{
2108
2108
  id: z.ZodString;
2109
2109
  name: z.ZodString;
2110
2110
  }, "strip", z.ZodTypeAny, {
@@ -2113,8 +2113,8 @@ export declare const collaborationsContractRouter: {
2113
2113
  }, {
2114
2114
  id: string;
2115
2115
  name: string;
2116
- }>;
2117
- client: z.ZodObject<{
2116
+ }>>;
2117
+ client: z.ZodOptional<z.ZodObject<{
2118
2118
  id: z.ZodString;
2119
2119
  name: z.ZodString;
2120
2120
  }, "strip", z.ZodTypeAny, {
@@ -2123,8 +2123,8 @@ export declare const collaborationsContractRouter: {
2123
2123
  }, {
2124
2124
  id: string;
2125
2125
  name: string;
2126
- }>;
2127
- user: z.ZodObject<{
2126
+ }>>;
2127
+ user: z.ZodOptional<z.ZodObject<{
2128
2128
  id: z.ZodString;
2129
2129
  firstName: z.ZodString;
2130
2130
  lastName: z.ZodString;
@@ -2139,7 +2139,7 @@ export declare const collaborationsContractRouter: {
2139
2139
  firstName: string;
2140
2140
  lastName: string;
2141
2141
  email: string;
2142
- }>;
2142
+ }>>;
2143
2143
  status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
2144
2144
  userId: z.ZodString;
2145
2145
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -2156,21 +2156,21 @@ export declare const collaborationsContractRouter: {
2156
2156
  updatedAt: string;
2157
2157
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2158
2158
  id: string;
2159
- company: {
2159
+ userId: string;
2160
+ company?: {
2160
2161
  id: string;
2161
2162
  name: string;
2162
- };
2163
- client: {
2163
+ } | undefined;
2164
+ client?: {
2164
2165
  id: string;
2165
2166
  name: string;
2166
- };
2167
- user: {
2167
+ } | undefined;
2168
+ user?: {
2168
2169
  id: string;
2169
2170
  firstName: string;
2170
2171
  lastName: string;
2171
2172
  email: string;
2172
- };
2173
- userId: string;
2173
+ } | undefined;
2174
2174
  newCollaboration?: {
2175
2175
  id: string;
2176
2176
  } | null | undefined;
@@ -2179,21 +2179,21 @@ export declare const collaborationsContractRouter: {
2179
2179
  updatedAt: string | Date;
2180
2180
  status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
2181
2181
  id: string;
2182
- company: {
2182
+ userId: string;
2183
+ company?: {
2183
2184
  id: string;
2184
2185
  name: string;
2185
- };
2186
- client: {
2186
+ } | undefined;
2187
+ client?: {
2187
2188
  id: string;
2188
2189
  name: string;
2189
- };
2190
- user: {
2190
+ } | undefined;
2191
+ user?: {
2191
2192
  id: string;
2192
2193
  firstName: string;
2193
2194
  lastName: string;
2194
2195
  email: string;
2195
- };
2196
- userId: string;
2196
+ } | undefined;
2197
2197
  newCollaboration?: {
2198
2198
  id: string;
2199
2199
  } | null | undefined;