@deepintel-ltd/farmpro-contracts 1.11.0 → 1.11.2

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.
@@ -50,6 +50,7 @@ export declare const commodityDealsRouter: {
50
50
  notes: z.ZodNullable<z.ZodString>;
51
51
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
52
52
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
53
+ id: z.ZodOptional<z.ZodString>;
53
54
  userId: z.ZodString;
54
55
  name: z.ZodOptional<z.ZodString>;
55
56
  email: z.ZodOptional<z.ZodString>;
@@ -61,6 +62,7 @@ export declare const commodityDealsRouter: {
61
62
  capitalContributed: number;
62
63
  ownershipPercent: number;
63
64
  earningsAmount: number | null;
65
+ id?: string | undefined;
64
66
  email?: string | undefined;
65
67
  name?: string | undefined;
66
68
  }, {
@@ -68,6 +70,7 @@ export declare const commodityDealsRouter: {
68
70
  capitalContributed: number;
69
71
  ownershipPercent: number;
70
72
  earningsAmount: number | null;
73
+ id?: string | undefined;
71
74
  email?: string | undefined;
72
75
  name?: string | undefined;
73
76
  }>, "many">>;
@@ -154,6 +157,7 @@ export declare const commodityDealsRouter: {
154
157
  capitalContributed: number;
155
158
  ownershipPercent: number;
156
159
  earningsAmount: number | null;
160
+ id?: string | undefined;
157
161
  email?: string | undefined;
158
162
  name?: string | undefined;
159
163
  }[] | undefined;
@@ -194,6 +198,7 @@ export declare const commodityDealsRouter: {
194
198
  capitalContributed: number;
195
199
  ownershipPercent: number;
196
200
  earningsAmount: number | null;
201
+ id?: string | undefined;
197
202
  email?: string | undefined;
198
203
  name?: string | undefined;
199
204
  }[] | undefined;
@@ -241,6 +246,7 @@ export declare const commodityDealsRouter: {
241
246
  capitalContributed: number;
242
247
  ownershipPercent: number;
243
248
  earningsAmount: number | null;
249
+ id?: string | undefined;
244
250
  email?: string | undefined;
245
251
  name?: string | undefined;
246
252
  }[] | undefined;
@@ -288,6 +294,7 @@ export declare const commodityDealsRouter: {
288
294
  capitalContributed: number;
289
295
  ownershipPercent: number;
290
296
  earningsAmount: number | null;
297
+ id?: string | undefined;
291
298
  email?: string | undefined;
292
299
  name?: string | undefined;
293
300
  }[] | undefined;
@@ -361,6 +368,7 @@ export declare const commodityDealsRouter: {
361
368
  capitalContributed: number;
362
369
  ownershipPercent: number;
363
370
  earningsAmount: number | null;
371
+ id?: string | undefined;
364
372
  email?: string | undefined;
365
373
  name?: string | undefined;
366
374
  }[] | undefined;
@@ -420,6 +428,7 @@ export declare const commodityDealsRouter: {
420
428
  capitalContributed: number;
421
429
  ownershipPercent: number;
422
430
  earningsAmount: number | null;
431
+ id?: string | undefined;
423
432
  email?: string | undefined;
424
433
  name?: string | undefined;
425
434
  }[] | undefined;
@@ -1180,6 +1189,7 @@ export declare const commodityDealsRouter: {
1180
1189
  notes: z.ZodNullable<z.ZodString>;
1181
1190
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
1182
1191
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1192
+ id: z.ZodOptional<z.ZodString>;
1183
1193
  userId: z.ZodString;
1184
1194
  name: z.ZodOptional<z.ZodString>;
1185
1195
  email: z.ZodOptional<z.ZodString>;
@@ -1191,6 +1201,7 @@ export declare const commodityDealsRouter: {
1191
1201
  capitalContributed: number;
1192
1202
  ownershipPercent: number;
1193
1203
  earningsAmount: number | null;
1204
+ id?: string | undefined;
1194
1205
  email?: string | undefined;
1195
1206
  name?: string | undefined;
1196
1207
  }, {
@@ -1198,6 +1209,7 @@ export declare const commodityDealsRouter: {
1198
1209
  capitalContributed: number;
1199
1210
  ownershipPercent: number;
1200
1211
  earningsAmount: number | null;
1212
+ id?: string | undefined;
1201
1213
  email?: string | undefined;
1202
1214
  name?: string | undefined;
1203
1215
  }>, "many">>;
@@ -1284,6 +1296,7 @@ export declare const commodityDealsRouter: {
1284
1296
  capitalContributed: number;
1285
1297
  ownershipPercent: number;
1286
1298
  earningsAmount: number | null;
1299
+ id?: string | undefined;
1287
1300
  email?: string | undefined;
1288
1301
  name?: string | undefined;
1289
1302
  }[] | undefined;
@@ -1324,6 +1337,7 @@ export declare const commodityDealsRouter: {
1324
1337
  capitalContributed: number;
1325
1338
  ownershipPercent: number;
1326
1339
  earningsAmount: number | null;
1340
+ id?: string | undefined;
1327
1341
  email?: string | undefined;
1328
1342
  name?: string | undefined;
1329
1343
  }[] | undefined;
@@ -1371,6 +1385,7 @@ export declare const commodityDealsRouter: {
1371
1385
  capitalContributed: number;
1372
1386
  ownershipPercent: number;
1373
1387
  earningsAmount: number | null;
1388
+ id?: string | undefined;
1374
1389
  email?: string | undefined;
1375
1390
  name?: string | undefined;
1376
1391
  }[] | undefined;
@@ -1418,6 +1433,7 @@ export declare const commodityDealsRouter: {
1418
1433
  capitalContributed: number;
1419
1434
  ownershipPercent: number;
1420
1435
  earningsAmount: number | null;
1436
+ id?: string | undefined;
1421
1437
  email?: string | undefined;
1422
1438
  name?: string | undefined;
1423
1439
  }[] | undefined;
@@ -1491,6 +1507,7 @@ export declare const commodityDealsRouter: {
1491
1507
  capitalContributed: number;
1492
1508
  ownershipPercent: number;
1493
1509
  earningsAmount: number | null;
1510
+ id?: string | undefined;
1494
1511
  email?: string | undefined;
1495
1512
  name?: string | undefined;
1496
1513
  }[] | undefined;
@@ -1550,6 +1567,7 @@ export declare const commodityDealsRouter: {
1550
1567
  capitalContributed: number;
1551
1568
  ownershipPercent: number;
1552
1569
  earningsAmount: number | null;
1570
+ id?: string | undefined;
1553
1571
  email?: string | undefined;
1554
1572
  name?: string | undefined;
1555
1573
  }[] | undefined;
@@ -1875,6 +1893,7 @@ export declare const commodityDealsRouter: {
1875
1893
  notes: z.ZodNullable<z.ZodString>;
1876
1894
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
1877
1895
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1896
+ id: z.ZodOptional<z.ZodString>;
1878
1897
  userId: z.ZodString;
1879
1898
  name: z.ZodOptional<z.ZodString>;
1880
1899
  email: z.ZodOptional<z.ZodString>;
@@ -1886,6 +1905,7 @@ export declare const commodityDealsRouter: {
1886
1905
  capitalContributed: number;
1887
1906
  ownershipPercent: number;
1888
1907
  earningsAmount: number | null;
1908
+ id?: string | undefined;
1889
1909
  email?: string | undefined;
1890
1910
  name?: string | undefined;
1891
1911
  }, {
@@ -1893,6 +1913,7 @@ export declare const commodityDealsRouter: {
1893
1913
  capitalContributed: number;
1894
1914
  ownershipPercent: number;
1895
1915
  earningsAmount: number | null;
1916
+ id?: string | undefined;
1896
1917
  email?: string | undefined;
1897
1918
  name?: string | undefined;
1898
1919
  }>, "many">>;
@@ -1979,6 +2000,7 @@ export declare const commodityDealsRouter: {
1979
2000
  capitalContributed: number;
1980
2001
  ownershipPercent: number;
1981
2002
  earningsAmount: number | null;
2003
+ id?: string | undefined;
1982
2004
  email?: string | undefined;
1983
2005
  name?: string | undefined;
1984
2006
  }[] | undefined;
@@ -2019,6 +2041,7 @@ export declare const commodityDealsRouter: {
2019
2041
  capitalContributed: number;
2020
2042
  ownershipPercent: number;
2021
2043
  earningsAmount: number | null;
2044
+ id?: string | undefined;
2022
2045
  email?: string | undefined;
2023
2046
  name?: string | undefined;
2024
2047
  }[] | undefined;
@@ -2066,6 +2089,7 @@ export declare const commodityDealsRouter: {
2066
2089
  capitalContributed: number;
2067
2090
  ownershipPercent: number;
2068
2091
  earningsAmount: number | null;
2092
+ id?: string | undefined;
2069
2093
  email?: string | undefined;
2070
2094
  name?: string | undefined;
2071
2095
  }[] | undefined;
@@ -2113,6 +2137,7 @@ export declare const commodityDealsRouter: {
2113
2137
  capitalContributed: number;
2114
2138
  ownershipPercent: number;
2115
2139
  earningsAmount: number | null;
2140
+ id?: string | undefined;
2116
2141
  email?: string | undefined;
2117
2142
  name?: string | undefined;
2118
2143
  }[] | undefined;
@@ -2186,6 +2211,7 @@ export declare const commodityDealsRouter: {
2186
2211
  capitalContributed: number;
2187
2212
  ownershipPercent: number;
2188
2213
  earningsAmount: number | null;
2214
+ id?: string | undefined;
2189
2215
  email?: string | undefined;
2190
2216
  name?: string | undefined;
2191
2217
  }[] | undefined;
@@ -2245,6 +2271,7 @@ export declare const commodityDealsRouter: {
2245
2271
  capitalContributed: number;
2246
2272
  ownershipPercent: number;
2247
2273
  earningsAmount: number | null;
2274
+ id?: string | undefined;
2248
2275
  email?: string | undefined;
2249
2276
  name?: string | undefined;
2250
2277
  }[] | undefined;
@@ -2848,6 +2875,7 @@ export declare const commodityDealsRouter: {
2848
2875
  notes: z.ZodNullable<z.ZodString>;
2849
2876
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
2850
2877
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
2878
+ id: z.ZodOptional<z.ZodString>;
2851
2879
  userId: z.ZodString;
2852
2880
  name: z.ZodOptional<z.ZodString>;
2853
2881
  email: z.ZodOptional<z.ZodString>;
@@ -2859,6 +2887,7 @@ export declare const commodityDealsRouter: {
2859
2887
  capitalContributed: number;
2860
2888
  ownershipPercent: number;
2861
2889
  earningsAmount: number | null;
2890
+ id?: string | undefined;
2862
2891
  email?: string | undefined;
2863
2892
  name?: string | undefined;
2864
2893
  }, {
@@ -2866,6 +2895,7 @@ export declare const commodityDealsRouter: {
2866
2895
  capitalContributed: number;
2867
2896
  ownershipPercent: number;
2868
2897
  earningsAmount: number | null;
2898
+ id?: string | undefined;
2869
2899
  email?: string | undefined;
2870
2900
  name?: string | undefined;
2871
2901
  }>, "many">>;
@@ -2952,6 +2982,7 @@ export declare const commodityDealsRouter: {
2952
2982
  capitalContributed: number;
2953
2983
  ownershipPercent: number;
2954
2984
  earningsAmount: number | null;
2985
+ id?: string | undefined;
2955
2986
  email?: string | undefined;
2956
2987
  name?: string | undefined;
2957
2988
  }[] | undefined;
@@ -2992,6 +3023,7 @@ export declare const commodityDealsRouter: {
2992
3023
  capitalContributed: number;
2993
3024
  ownershipPercent: number;
2994
3025
  earningsAmount: number | null;
3026
+ id?: string | undefined;
2995
3027
  email?: string | undefined;
2996
3028
  name?: string | undefined;
2997
3029
  }[] | undefined;
@@ -3039,6 +3071,7 @@ export declare const commodityDealsRouter: {
3039
3071
  capitalContributed: number;
3040
3072
  ownershipPercent: number;
3041
3073
  earningsAmount: number | null;
3074
+ id?: string | undefined;
3042
3075
  email?: string | undefined;
3043
3076
  name?: string | undefined;
3044
3077
  }[] | undefined;
@@ -3086,6 +3119,7 @@ export declare const commodityDealsRouter: {
3086
3119
  capitalContributed: number;
3087
3120
  ownershipPercent: number;
3088
3121
  earningsAmount: number | null;
3122
+ id?: string | undefined;
3089
3123
  email?: string | undefined;
3090
3124
  name?: string | undefined;
3091
3125
  }[] | undefined;
@@ -3159,6 +3193,7 @@ export declare const commodityDealsRouter: {
3159
3193
  capitalContributed: number;
3160
3194
  ownershipPercent: number;
3161
3195
  earningsAmount: number | null;
3196
+ id?: string | undefined;
3162
3197
  email?: string | undefined;
3163
3198
  name?: string | undefined;
3164
3199
  }[] | undefined;
@@ -3218,6 +3253,7 @@ export declare const commodityDealsRouter: {
3218
3253
  capitalContributed: number;
3219
3254
  ownershipPercent: number;
3220
3255
  earningsAmount: number | null;
3256
+ id?: string | undefined;
3221
3257
  email?: string | undefined;
3222
3258
  name?: string | undefined;
3223
3259
  }[] | undefined;
@@ -3767,6 +3803,7 @@ export declare const commodityDealsRouter: {
3767
3803
  notes: z.ZodNullable<z.ZodString>;
3768
3804
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
3769
3805
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
3806
+ id: z.ZodOptional<z.ZodString>;
3770
3807
  userId: z.ZodString;
3771
3808
  name: z.ZodOptional<z.ZodString>;
3772
3809
  email: z.ZodOptional<z.ZodString>;
@@ -3778,6 +3815,7 @@ export declare const commodityDealsRouter: {
3778
3815
  capitalContributed: number;
3779
3816
  ownershipPercent: number;
3780
3817
  earningsAmount: number | null;
3818
+ id?: string | undefined;
3781
3819
  email?: string | undefined;
3782
3820
  name?: string | undefined;
3783
3821
  }, {
@@ -3785,6 +3823,7 @@ export declare const commodityDealsRouter: {
3785
3823
  capitalContributed: number;
3786
3824
  ownershipPercent: number;
3787
3825
  earningsAmount: number | null;
3826
+ id?: string | undefined;
3788
3827
  email?: string | undefined;
3789
3828
  name?: string | undefined;
3790
3829
  }>, "many">>;
@@ -3871,6 +3910,7 @@ export declare const commodityDealsRouter: {
3871
3910
  capitalContributed: number;
3872
3911
  ownershipPercent: number;
3873
3912
  earningsAmount: number | null;
3913
+ id?: string | undefined;
3874
3914
  email?: string | undefined;
3875
3915
  name?: string | undefined;
3876
3916
  }[] | undefined;
@@ -3911,6 +3951,7 @@ export declare const commodityDealsRouter: {
3911
3951
  capitalContributed: number;
3912
3952
  ownershipPercent: number;
3913
3953
  earningsAmount: number | null;
3954
+ id?: string | undefined;
3914
3955
  email?: string | undefined;
3915
3956
  name?: string | undefined;
3916
3957
  }[] | undefined;
@@ -3958,6 +3999,7 @@ export declare const commodityDealsRouter: {
3958
3999
  capitalContributed: number;
3959
4000
  ownershipPercent: number;
3960
4001
  earningsAmount: number | null;
4002
+ id?: string | undefined;
3961
4003
  email?: string | undefined;
3962
4004
  name?: string | undefined;
3963
4005
  }[] | undefined;
@@ -4005,6 +4047,7 @@ export declare const commodityDealsRouter: {
4005
4047
  capitalContributed: number;
4006
4048
  ownershipPercent: number;
4007
4049
  earningsAmount: number | null;
4050
+ id?: string | undefined;
4008
4051
  email?: string | undefined;
4009
4052
  name?: string | undefined;
4010
4053
  }[] | undefined;
@@ -4078,6 +4121,7 @@ export declare const commodityDealsRouter: {
4078
4121
  capitalContributed: number;
4079
4122
  ownershipPercent: number;
4080
4123
  earningsAmount: number | null;
4124
+ id?: string | undefined;
4081
4125
  email?: string | undefined;
4082
4126
  name?: string | undefined;
4083
4127
  }[] | undefined;
@@ -4137,6 +4181,7 @@ export declare const commodityDealsRouter: {
4137
4181
  capitalContributed: number;
4138
4182
  ownershipPercent: number;
4139
4183
  earningsAmount: number | null;
4184
+ id?: string | undefined;
4140
4185
  email?: string | undefined;
4141
4186
  name?: string | undefined;
4142
4187
  }[] | undefined;
@@ -4687,6 +4732,7 @@ export declare const commodityDealsRouter: {
4687
4732
  notes: z.ZodNullable<z.ZodString>;
4688
4733
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
4689
4734
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
4735
+ id: z.ZodOptional<z.ZodString>;
4690
4736
  userId: z.ZodString;
4691
4737
  name: z.ZodOptional<z.ZodString>;
4692
4738
  email: z.ZodOptional<z.ZodString>;
@@ -4698,6 +4744,7 @@ export declare const commodityDealsRouter: {
4698
4744
  capitalContributed: number;
4699
4745
  ownershipPercent: number;
4700
4746
  earningsAmount: number | null;
4747
+ id?: string | undefined;
4701
4748
  email?: string | undefined;
4702
4749
  name?: string | undefined;
4703
4750
  }, {
@@ -4705,6 +4752,7 @@ export declare const commodityDealsRouter: {
4705
4752
  capitalContributed: number;
4706
4753
  ownershipPercent: number;
4707
4754
  earningsAmount: number | null;
4755
+ id?: string | undefined;
4708
4756
  email?: string | undefined;
4709
4757
  name?: string | undefined;
4710
4758
  }>, "many">>;
@@ -4791,6 +4839,7 @@ export declare const commodityDealsRouter: {
4791
4839
  capitalContributed: number;
4792
4840
  ownershipPercent: number;
4793
4841
  earningsAmount: number | null;
4842
+ id?: string | undefined;
4794
4843
  email?: string | undefined;
4795
4844
  name?: string | undefined;
4796
4845
  }[] | undefined;
@@ -4831,6 +4880,7 @@ export declare const commodityDealsRouter: {
4831
4880
  capitalContributed: number;
4832
4881
  ownershipPercent: number;
4833
4882
  earningsAmount: number | null;
4883
+ id?: string | undefined;
4834
4884
  email?: string | undefined;
4835
4885
  name?: string | undefined;
4836
4886
  }[] | undefined;
@@ -4878,6 +4928,7 @@ export declare const commodityDealsRouter: {
4878
4928
  capitalContributed: number;
4879
4929
  ownershipPercent: number;
4880
4930
  earningsAmount: number | null;
4931
+ id?: string | undefined;
4881
4932
  email?: string | undefined;
4882
4933
  name?: string | undefined;
4883
4934
  }[] | undefined;
@@ -4925,6 +4976,7 @@ export declare const commodityDealsRouter: {
4925
4976
  capitalContributed: number;
4926
4977
  ownershipPercent: number;
4927
4978
  earningsAmount: number | null;
4979
+ id?: string | undefined;
4928
4980
  email?: string | undefined;
4929
4981
  name?: string | undefined;
4930
4982
  }[] | undefined;
@@ -4998,6 +5050,7 @@ export declare const commodityDealsRouter: {
4998
5050
  capitalContributed: number;
4999
5051
  ownershipPercent: number;
5000
5052
  earningsAmount: number | null;
5053
+ id?: string | undefined;
5001
5054
  email?: string | undefined;
5002
5055
  name?: string | undefined;
5003
5056
  }[] | undefined;
@@ -5057,6 +5110,7 @@ export declare const commodityDealsRouter: {
5057
5110
  capitalContributed: number;
5058
5111
  ownershipPercent: number;
5059
5112
  earningsAmount: number | null;
5113
+ id?: string | undefined;
5060
5114
  email?: string | undefined;
5061
5115
  name?: string | undefined;
5062
5116
  }[] | undefined;
@@ -5566,6 +5620,7 @@ export declare const commodityDealsRouter: {
5566
5620
  notes: z.ZodNullable<z.ZodString>;
5567
5621
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
5568
5622
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
5623
+ id: z.ZodOptional<z.ZodString>;
5569
5624
  userId: z.ZodString;
5570
5625
  name: z.ZodOptional<z.ZodString>;
5571
5626
  email: z.ZodOptional<z.ZodString>;
@@ -5577,6 +5632,7 @@ export declare const commodityDealsRouter: {
5577
5632
  capitalContributed: number;
5578
5633
  ownershipPercent: number;
5579
5634
  earningsAmount: number | null;
5635
+ id?: string | undefined;
5580
5636
  email?: string | undefined;
5581
5637
  name?: string | undefined;
5582
5638
  }, {
@@ -5584,6 +5640,7 @@ export declare const commodityDealsRouter: {
5584
5640
  capitalContributed: number;
5585
5641
  ownershipPercent: number;
5586
5642
  earningsAmount: number | null;
5643
+ id?: string | undefined;
5587
5644
  email?: string | undefined;
5588
5645
  name?: string | undefined;
5589
5646
  }>, "many">>;
@@ -5670,6 +5727,7 @@ export declare const commodityDealsRouter: {
5670
5727
  capitalContributed: number;
5671
5728
  ownershipPercent: number;
5672
5729
  earningsAmount: number | null;
5730
+ id?: string | undefined;
5673
5731
  email?: string | undefined;
5674
5732
  name?: string | undefined;
5675
5733
  }[] | undefined;
@@ -5710,6 +5768,7 @@ export declare const commodityDealsRouter: {
5710
5768
  capitalContributed: number;
5711
5769
  ownershipPercent: number;
5712
5770
  earningsAmount: number | null;
5771
+ id?: string | undefined;
5713
5772
  email?: string | undefined;
5714
5773
  name?: string | undefined;
5715
5774
  }[] | undefined;
@@ -5757,6 +5816,7 @@ export declare const commodityDealsRouter: {
5757
5816
  capitalContributed: number;
5758
5817
  ownershipPercent: number;
5759
5818
  earningsAmount: number | null;
5819
+ id?: string | undefined;
5760
5820
  email?: string | undefined;
5761
5821
  name?: string | undefined;
5762
5822
  }[] | undefined;
@@ -5804,6 +5864,7 @@ export declare const commodityDealsRouter: {
5804
5864
  capitalContributed: number;
5805
5865
  ownershipPercent: number;
5806
5866
  earningsAmount: number | null;
5867
+ id?: string | undefined;
5807
5868
  email?: string | undefined;
5808
5869
  name?: string | undefined;
5809
5870
  }[] | undefined;
@@ -5877,6 +5938,7 @@ export declare const commodityDealsRouter: {
5877
5938
  capitalContributed: number;
5878
5939
  ownershipPercent: number;
5879
5940
  earningsAmount: number | null;
5941
+ id?: string | undefined;
5880
5942
  email?: string | undefined;
5881
5943
  name?: string | undefined;
5882
5944
  }[] | undefined;
@@ -5936,6 +5998,7 @@ export declare const commodityDealsRouter: {
5936
5998
  capitalContributed: number;
5937
5999
  ownershipPercent: number;
5938
6000
  earningsAmount: number | null;
6001
+ id?: string | undefined;
5939
6002
  email?: string | undefined;
5940
6003
  name?: string | undefined;
5941
6004
  }[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"commodity-deals.routes.d.ts","sourceRoot":"","sources":["../../src/routes/commodity-deals.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0J/B,CAAC"}
@@ -2984,26 +2984,39 @@ export declare const organizationsRouter: {
2984
2984
  body: z.ZodObject<{
2985
2985
  data: z.ZodObject<{
2986
2986
  type: z.ZodLiteral<"organization-contacts">;
2987
- attributes: z.ZodObject<{
2988
- userId: z.ZodString;
2987
+ attributes: z.ZodEffects<z.ZodObject<{
2988
+ userId: z.ZodOptional<z.ZodString>;
2989
+ email: z.ZodOptional<z.ZodString>;
2989
2990
  role: z.ZodDefault<z.ZodOptional<z.ZodEnum<["admin", "investor"]>>>;
2990
2991
  }, "strip", z.ZodTypeAny, {
2991
- userId: string;
2992
2992
  role: "admin" | "investor";
2993
+ email?: string | undefined;
2994
+ userId?: string | undefined;
2993
2995
  }, {
2994
- userId: string;
2996
+ email?: string | undefined;
2997
+ userId?: string | undefined;
2998
+ role?: "admin" | "investor" | undefined;
2999
+ }>, {
3000
+ role: "admin" | "investor";
3001
+ email?: string | undefined;
3002
+ userId?: string | undefined;
3003
+ }, {
3004
+ email?: string | undefined;
3005
+ userId?: string | undefined;
2995
3006
  role?: "admin" | "investor" | undefined;
2996
3007
  }>;
2997
3008
  }, "strip", z.ZodTypeAny, {
2998
3009
  type: "organization-contacts";
2999
3010
  attributes: {
3000
- userId: string;
3001
3011
  role: "admin" | "investor";
3012
+ email?: string | undefined;
3013
+ userId?: string | undefined;
3002
3014
  };
3003
3015
  }, {
3004
3016
  type: "organization-contacts";
3005
3017
  attributes: {
3006
- userId: string;
3018
+ email?: string | undefined;
3019
+ userId?: string | undefined;
3007
3020
  role?: "admin" | "investor" | undefined;
3008
3021
  };
3009
3022
  }>;
@@ -3011,15 +3024,17 @@ export declare const organizationsRouter: {
3011
3024
  data: {
3012
3025
  type: "organization-contacts";
3013
3026
  attributes: {
3014
- userId: string;
3015
3027
  role: "admin" | "investor";
3028
+ email?: string | undefined;
3029
+ userId?: string | undefined;
3016
3030
  };
3017
3031
  };
3018
3032
  }, {
3019
3033
  data: {
3020
3034
  type: "organization-contacts";
3021
3035
  attributes: {
3022
- userId: string;
3036
+ email?: string | undefined;
3037
+ userId?: string | undefined;
3023
3038
  role?: "admin" | "investor" | undefined;
3024
3039
  };
3025
3040
  };
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.routes.d.ts","sourceRoot":"","sources":["../../src/routes/organizations.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4O9B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const commodityDealStatusSchema: z.ZodEnum<["draft", "in_transit", "invoiced", "paid", "cancelled"]>;
3
3
  export declare const dealParticipantShareSchema: z.ZodObject<{
4
+ id: z.ZodOptional<z.ZodString>;
4
5
  userId: z.ZodString;
5
6
  name: z.ZodOptional<z.ZodString>;
6
7
  email: z.ZodOptional<z.ZodString>;
@@ -12,6 +13,7 @@ export declare const dealParticipantShareSchema: z.ZodObject<{
12
13
  capitalContributed: number;
13
14
  ownershipPercent: number;
14
15
  earningsAmount: number | null;
16
+ id?: string | undefined;
15
17
  email?: string | undefined;
16
18
  name?: string | undefined;
17
19
  }, {
@@ -19,6 +21,7 @@ export declare const dealParticipantShareSchema: z.ZodObject<{
19
21
  capitalContributed: number;
20
22
  ownershipPercent: number;
21
23
  earningsAmount: number | null;
24
+ id?: string | undefined;
22
25
  email?: string | undefined;
23
26
  name?: string | undefined;
24
27
  }>;
@@ -81,6 +84,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
81
84
  notes: z.ZodNullable<z.ZodString>;
82
85
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
83
86
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
87
+ id: z.ZodOptional<z.ZodString>;
84
88
  userId: z.ZodString;
85
89
  name: z.ZodOptional<z.ZodString>;
86
90
  email: z.ZodOptional<z.ZodString>;
@@ -92,6 +96,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
92
96
  capitalContributed: number;
93
97
  ownershipPercent: number;
94
98
  earningsAmount: number | null;
99
+ id?: string | undefined;
95
100
  email?: string | undefined;
96
101
  name?: string | undefined;
97
102
  }, {
@@ -99,6 +104,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
99
104
  capitalContributed: number;
100
105
  ownershipPercent: number;
101
106
  earningsAmount: number | null;
107
+ id?: string | undefined;
102
108
  email?: string | undefined;
103
109
  name?: string | undefined;
104
110
  }>, "many">>;
@@ -185,6 +191,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
185
191
  capitalContributed: number;
186
192
  ownershipPercent: number;
187
193
  earningsAmount: number | null;
194
+ id?: string | undefined;
188
195
  email?: string | undefined;
189
196
  name?: string | undefined;
190
197
  }[] | undefined;
@@ -225,6 +232,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
225
232
  capitalContributed: number;
226
233
  ownershipPercent: number;
227
234
  earningsAmount: number | null;
235
+ id?: string | undefined;
228
236
  email?: string | undefined;
229
237
  name?: string | undefined;
230
238
  }[] | undefined;
@@ -498,6 +506,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
498
506
  notes: z.ZodNullable<z.ZodString>;
499
507
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
500
508
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
509
+ id: z.ZodOptional<z.ZodString>;
501
510
  userId: z.ZodString;
502
511
  name: z.ZodOptional<z.ZodString>;
503
512
  email: z.ZodOptional<z.ZodString>;
@@ -509,6 +518,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
509
518
  capitalContributed: number;
510
519
  ownershipPercent: number;
511
520
  earningsAmount: number | null;
521
+ id?: string | undefined;
512
522
  email?: string | undefined;
513
523
  name?: string | undefined;
514
524
  }, {
@@ -516,6 +526,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
516
526
  capitalContributed: number;
517
527
  ownershipPercent: number;
518
528
  earningsAmount: number | null;
529
+ id?: string | undefined;
519
530
  email?: string | undefined;
520
531
  name?: string | undefined;
521
532
  }>, "many">>;
@@ -602,6 +613,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
602
613
  capitalContributed: number;
603
614
  ownershipPercent: number;
604
615
  earningsAmount: number | null;
616
+ id?: string | undefined;
605
617
  email?: string | undefined;
606
618
  name?: string | undefined;
607
619
  }[] | undefined;
@@ -642,6 +654,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
642
654
  capitalContributed: number;
643
655
  ownershipPercent: number;
644
656
  earningsAmount: number | null;
657
+ id?: string | undefined;
645
658
  email?: string | undefined;
646
659
  name?: string | undefined;
647
660
  }[] | undefined;
@@ -689,6 +702,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
689
702
  capitalContributed: number;
690
703
  ownershipPercent: number;
691
704
  earningsAmount: number | null;
705
+ id?: string | undefined;
692
706
  email?: string | undefined;
693
707
  name?: string | undefined;
694
708
  }[] | undefined;
@@ -736,6 +750,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
736
750
  capitalContributed: number;
737
751
  ownershipPercent: number;
738
752
  earningsAmount: number | null;
753
+ id?: string | undefined;
739
754
  email?: string | undefined;
740
755
  name?: string | undefined;
741
756
  }[] | undefined;
@@ -764,6 +779,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
764
779
  notes: z.ZodNullable<z.ZodString>;
765
780
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
766
781
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
782
+ id: z.ZodOptional<z.ZodString>;
767
783
  userId: z.ZodString;
768
784
  name: z.ZodOptional<z.ZodString>;
769
785
  email: z.ZodOptional<z.ZodString>;
@@ -775,6 +791,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
775
791
  capitalContributed: number;
776
792
  ownershipPercent: number;
777
793
  earningsAmount: number | null;
794
+ id?: string | undefined;
778
795
  email?: string | undefined;
779
796
  name?: string | undefined;
780
797
  }, {
@@ -782,6 +799,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
782
799
  capitalContributed: number;
783
800
  ownershipPercent: number;
784
801
  earningsAmount: number | null;
802
+ id?: string | undefined;
785
803
  email?: string | undefined;
786
804
  name?: string | undefined;
787
805
  }>, "many">>;
@@ -868,6 +886,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
868
886
  capitalContributed: number;
869
887
  ownershipPercent: number;
870
888
  earningsAmount: number | null;
889
+ id?: string | undefined;
871
890
  email?: string | undefined;
872
891
  name?: string | undefined;
873
892
  }[] | undefined;
@@ -908,6 +927,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
908
927
  capitalContributed: number;
909
928
  ownershipPercent: number;
910
929
  earningsAmount: number | null;
930
+ id?: string | undefined;
911
931
  email?: string | undefined;
912
932
  name?: string | undefined;
913
933
  }[] | undefined;
@@ -955,6 +975,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
955
975
  capitalContributed: number;
956
976
  ownershipPercent: number;
957
977
  earningsAmount: number | null;
978
+ id?: string | undefined;
958
979
  email?: string | undefined;
959
980
  name?: string | undefined;
960
981
  }[] | undefined;
@@ -1002,6 +1023,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1002
1023
  capitalContributed: number;
1003
1024
  ownershipPercent: number;
1004
1025
  earningsAmount: number | null;
1026
+ id?: string | undefined;
1005
1027
  email?: string | undefined;
1006
1028
  name?: string | undefined;
1007
1029
  }[] | undefined;
@@ -1075,6 +1097,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1075
1097
  capitalContributed: number;
1076
1098
  ownershipPercent: number;
1077
1099
  earningsAmount: number | null;
1100
+ id?: string | undefined;
1078
1101
  email?: string | undefined;
1079
1102
  name?: string | undefined;
1080
1103
  }[] | undefined;
@@ -1134,6 +1157,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1134
1157
  capitalContributed: number;
1135
1158
  ownershipPercent: number;
1136
1159
  earningsAmount: number | null;
1160
+ id?: string | undefined;
1137
1161
  email?: string | undefined;
1138
1162
  name?: string | undefined;
1139
1163
  }[] | undefined;
@@ -1173,6 +1197,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1173
1197
  notes: z.ZodNullable<z.ZodString>;
1174
1198
  companyCommissionRate: z.ZodNullable<z.ZodNumber>;
1175
1199
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1200
+ id: z.ZodOptional<z.ZodString>;
1176
1201
  userId: z.ZodString;
1177
1202
  name: z.ZodOptional<z.ZodString>;
1178
1203
  email: z.ZodOptional<z.ZodString>;
@@ -1184,6 +1209,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1184
1209
  capitalContributed: number;
1185
1210
  ownershipPercent: number;
1186
1211
  earningsAmount: number | null;
1212
+ id?: string | undefined;
1187
1213
  email?: string | undefined;
1188
1214
  name?: string | undefined;
1189
1215
  }, {
@@ -1191,6 +1217,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1191
1217
  capitalContributed: number;
1192
1218
  ownershipPercent: number;
1193
1219
  earningsAmount: number | null;
1220
+ id?: string | undefined;
1194
1221
  email?: string | undefined;
1195
1222
  name?: string | undefined;
1196
1223
  }>, "many">>;
@@ -1277,6 +1304,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1277
1304
  capitalContributed: number;
1278
1305
  ownershipPercent: number;
1279
1306
  earningsAmount: number | null;
1307
+ id?: string | undefined;
1280
1308
  email?: string | undefined;
1281
1309
  name?: string | undefined;
1282
1310
  }[] | undefined;
@@ -1317,6 +1345,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1317
1345
  capitalContributed: number;
1318
1346
  ownershipPercent: number;
1319
1347
  earningsAmount: number | null;
1348
+ id?: string | undefined;
1320
1349
  email?: string | undefined;
1321
1350
  name?: string | undefined;
1322
1351
  }[] | undefined;
@@ -1364,6 +1393,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1364
1393
  capitalContributed: number;
1365
1394
  ownershipPercent: number;
1366
1395
  earningsAmount: number | null;
1396
+ id?: string | undefined;
1367
1397
  email?: string | undefined;
1368
1398
  name?: string | undefined;
1369
1399
  }[] | undefined;
@@ -1411,6 +1441,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1411
1441
  capitalContributed: number;
1412
1442
  ownershipPercent: number;
1413
1443
  earningsAmount: number | null;
1444
+ id?: string | undefined;
1414
1445
  email?: string | undefined;
1415
1446
  name?: string | undefined;
1416
1447
  }[] | undefined;
@@ -1484,6 +1515,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1484
1515
  capitalContributed: number;
1485
1516
  ownershipPercent: number;
1486
1517
  earningsAmount: number | null;
1518
+ id?: string | undefined;
1487
1519
  email?: string | undefined;
1488
1520
  name?: string | undefined;
1489
1521
  }[] | undefined;
@@ -1543,6 +1575,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1543
1575
  capitalContributed: number;
1544
1576
  ownershipPercent: number;
1545
1577
  earningsAmount: number | null;
1578
+ id?: string | undefined;
1546
1579
  email?: string | undefined;
1547
1580
  name?: string | undefined;
1548
1581
  }[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"commodity-deals.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/commodity-deals.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,yBAAyB,qEAMpC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AAEH,eAAO,MAAM,2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B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACrF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACrF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -8,6 +8,7 @@ export const commodityDealStatusSchema = z.enum([
8
8
  'cancelled',
9
9
  ]);
10
10
  export const dealParticipantShareSchema = z.object({
11
+ id: z.string().uuid().optional(),
11
12
  userId: z.string().uuid(),
12
13
  name: z.string().optional(),
13
14
  email: z.string().email().optional(),
@@ -671,14 +671,25 @@ export declare const organizationContactAttributesSchema: z.ZodObject<{
671
671
  email?: string | null | undefined;
672
672
  name?: string | null | undefined;
673
673
  }>;
674
- export declare const createOrganizationContactAttributesSchema: z.ZodObject<{
675
- userId: z.ZodString;
674
+ export declare const createOrganizationContactAttributesSchema: z.ZodEffects<z.ZodObject<{
675
+ userId: z.ZodOptional<z.ZodString>;
676
+ email: z.ZodOptional<z.ZodString>;
676
677
  role: z.ZodDefault<z.ZodOptional<z.ZodEnum<["admin", "investor"]>>>;
677
678
  }, "strip", z.ZodTypeAny, {
678
- userId: string;
679
679
  role: "admin" | "investor";
680
+ email?: string | undefined;
681
+ userId?: string | undefined;
680
682
  }, {
681
- userId: string;
683
+ email?: string | undefined;
684
+ userId?: string | undefined;
685
+ role?: "admin" | "investor" | undefined;
686
+ }>, {
687
+ role: "admin" | "investor";
688
+ email?: string | undefined;
689
+ userId?: string | undefined;
690
+ }, {
691
+ email?: string | undefined;
692
+ userId?: string | undefined;
682
693
  role?: "admin" | "investor" | undefined;
683
694
  }>;
684
695
  export declare const updateOrganizationContactAttributesSchema: z.ZodObject<{
@@ -690,26 +701,39 @@ export declare const updateOrganizationContactAttributesSchema: z.ZodObject<{
690
701
  }>;
691
702
  export declare const createOrganizationContactSchema: z.ZodObject<{
692
703
  type: z.ZodLiteral<"organization-contacts">;
693
- attributes: z.ZodObject<{
694
- userId: z.ZodString;
704
+ attributes: z.ZodEffects<z.ZodObject<{
705
+ userId: z.ZodOptional<z.ZodString>;
706
+ email: z.ZodOptional<z.ZodString>;
695
707
  role: z.ZodDefault<z.ZodOptional<z.ZodEnum<["admin", "investor"]>>>;
696
708
  }, "strip", z.ZodTypeAny, {
697
- userId: string;
698
709
  role: "admin" | "investor";
710
+ email?: string | undefined;
711
+ userId?: string | undefined;
699
712
  }, {
700
- userId: string;
713
+ email?: string | undefined;
714
+ userId?: string | undefined;
715
+ role?: "admin" | "investor" | undefined;
716
+ }>, {
717
+ role: "admin" | "investor";
718
+ email?: string | undefined;
719
+ userId?: string | undefined;
720
+ }, {
721
+ email?: string | undefined;
722
+ userId?: string | undefined;
701
723
  role?: "admin" | "investor" | undefined;
702
724
  }>;
703
725
  }, "strip", z.ZodTypeAny, {
704
726
  type: "organization-contacts";
705
727
  attributes: {
706
- userId: string;
707
728
  role: "admin" | "investor";
729
+ email?: string | undefined;
730
+ userId?: string | undefined;
708
731
  };
709
732
  }, {
710
733
  type: "organization-contacts";
711
734
  attributes: {
712
- userId: string;
735
+ email?: string | undefined;
736
+ userId?: string | undefined;
713
737
  role?: "admin" | "investor" | undefined;
714
738
  };
715
739
  }>;
@@ -1 +1 @@
1
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G,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -70,9 +70,15 @@ export const organizationContactAttributesSchema = z
70
70
  email: z.string().email().nullable().optional(),
71
71
  })
72
72
  .merge(timestampsSchema);
73
- export const createOrganizationContactAttributesSchema = z.object({
74
- userId: z.string().uuid(),
73
+ export const createOrganizationContactAttributesSchema = z
74
+ .object({
75
+ userId: z.string().uuid().optional(),
76
+ email: z.string().email().optional(),
75
77
  role: organizationContactRoleSchema.optional().default('admin'),
78
+ })
79
+ .refine((data) => Boolean(data.userId || data.email), {
80
+ message: 'Either userId or email is required',
81
+ path: ['userId'],
76
82
  });
77
83
  export const updateOrganizationContactAttributesSchema = z.object({
78
84
  role: organizationContactRoleSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepintel-ltd/farmpro-contracts",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "Type-safe API contracts for FarmPro API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",