@deepintel-ltd/farmpro-contracts 1.10.1 → 1.11.0

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.
@@ -31,6 +31,8 @@ export declare const organizationsRouter: {
31
31
  address: z.ZodNullable<z.ZodString>;
32
32
  logo: z.ZodNullable<z.ZodString>;
33
33
  commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
34
+ companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
34
36
  } & {
35
37
  createdAt: z.ZodString;
36
38
  updatedAt: z.ZodString;
@@ -43,6 +45,8 @@ export declare const organizationsRouter: {
43
45
  address: string | null;
44
46
  logo: string | null;
45
47
  commodityCommissionRate: number | null;
48
+ companyCommissionRate?: number | null | undefined;
49
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
46
50
  }, {
47
51
  email: string | null;
48
52
  createdAt: string;
@@ -52,6 +56,8 @@ export declare const organizationsRouter: {
52
56
  address: string | null;
53
57
  logo: string | null;
54
58
  commodityCommissionRate: number | null;
59
+ companyCommissionRate?: number | null | undefined;
60
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
55
61
  }>;
56
62
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
57
63
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -68,6 +74,8 @@ export declare const organizationsRouter: {
68
74
  address: string | null;
69
75
  logo: string | null;
70
76
  commodityCommissionRate: number | null;
77
+ companyCommissionRate?: number | null | undefined;
78
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
71
79
  };
72
80
  relationships?: Record<string, unknown> | undefined;
73
81
  links?: Record<string, string> | undefined;
@@ -84,6 +92,8 @@ export declare const organizationsRouter: {
84
92
  address: string | null;
85
93
  logo: string | null;
86
94
  commodityCommissionRate: number | null;
95
+ companyCommissionRate?: number | null | undefined;
96
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
87
97
  };
88
98
  relationships?: Record<string, unknown> | undefined;
89
99
  links?: Record<string, string> | undefined;
@@ -126,6 +136,8 @@ export declare const organizationsRouter: {
126
136
  address: string | null;
127
137
  logo: string | null;
128
138
  commodityCommissionRate: number | null;
139
+ companyCommissionRate?: number | null | undefined;
140
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
129
141
  };
130
142
  relationships?: Record<string, unknown> | undefined;
131
143
  links?: Record<string, string> | undefined;
@@ -154,6 +166,8 @@ export declare const organizationsRouter: {
154
166
  address: string | null;
155
167
  logo: string | null;
156
168
  commodityCommissionRate: number | null;
169
+ companyCommissionRate?: number | null | undefined;
170
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
157
171
  };
158
172
  relationships?: Record<string, unknown> | undefined;
159
173
  links?: Record<string, string> | undefined;
@@ -276,6 +290,7 @@ export declare const organizationsRouter: {
276
290
  address: z.ZodOptional<z.ZodString>;
277
291
  logo: z.ZodOptional<z.ZodString>;
278
292
  commodityCommissionRate: z.ZodOptional<z.ZodNumber>;
293
+ companyCommissionRate: z.ZodOptional<z.ZodNumber>;
279
294
  }, "strip", z.ZodTypeAny, {
280
295
  name: string;
281
296
  email?: string | undefined;
@@ -283,6 +298,7 @@ export declare const organizationsRouter: {
283
298
  address?: string | undefined;
284
299
  logo?: string | undefined;
285
300
  commodityCommissionRate?: number | undefined;
301
+ companyCommissionRate?: number | undefined;
286
302
  }, {
287
303
  name: string;
288
304
  email?: string | undefined;
@@ -290,6 +306,7 @@ export declare const organizationsRouter: {
290
306
  address?: string | undefined;
291
307
  logo?: string | undefined;
292
308
  commodityCommissionRate?: number | undefined;
309
+ companyCommissionRate?: number | undefined;
293
310
  }>;
294
311
  }, "strip", z.ZodTypeAny, {
295
312
  type: "organizations";
@@ -300,6 +317,7 @@ export declare const organizationsRouter: {
300
317
  address?: string | undefined;
301
318
  logo?: string | undefined;
302
319
  commodityCommissionRate?: number | undefined;
320
+ companyCommissionRate?: number | undefined;
303
321
  };
304
322
  }, {
305
323
  type: "organizations";
@@ -310,6 +328,7 @@ export declare const organizationsRouter: {
310
328
  address?: string | undefined;
311
329
  logo?: string | undefined;
312
330
  commodityCommissionRate?: number | undefined;
331
+ companyCommissionRate?: number | undefined;
313
332
  };
314
333
  }>;
315
334
  }, "strip", z.ZodTypeAny, {
@@ -322,6 +341,7 @@ export declare const organizationsRouter: {
322
341
  address?: string | undefined;
323
342
  logo?: string | undefined;
324
343
  commodityCommissionRate?: number | undefined;
344
+ companyCommissionRate?: number | undefined;
325
345
  };
326
346
  };
327
347
  }, {
@@ -334,6 +354,7 @@ export declare const organizationsRouter: {
334
354
  address?: string | undefined;
335
355
  logo?: string | undefined;
336
356
  commodityCommissionRate?: number | undefined;
357
+ companyCommissionRate?: number | undefined;
337
358
  };
338
359
  };
339
360
  }>;
@@ -350,6 +371,8 @@ export declare const organizationsRouter: {
350
371
  address: z.ZodNullable<z.ZodString>;
351
372
  logo: z.ZodNullable<z.ZodString>;
352
373
  commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
374
+ companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
375
+ membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
353
376
  } & {
354
377
  createdAt: z.ZodString;
355
378
  updatedAt: z.ZodString;
@@ -362,6 +385,8 @@ export declare const organizationsRouter: {
362
385
  address: string | null;
363
386
  logo: string | null;
364
387
  commodityCommissionRate: number | null;
388
+ companyCommissionRate?: number | null | undefined;
389
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
365
390
  }, {
366
391
  email: string | null;
367
392
  createdAt: string;
@@ -371,6 +396,8 @@ export declare const organizationsRouter: {
371
396
  address: string | null;
372
397
  logo: string | null;
373
398
  commodityCommissionRate: number | null;
399
+ companyCommissionRate?: number | null | undefined;
400
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
374
401
  }>;
375
402
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
376
403
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -387,6 +414,8 @@ export declare const organizationsRouter: {
387
414
  address: string | null;
388
415
  logo: string | null;
389
416
  commodityCommissionRate: number | null;
417
+ companyCommissionRate?: number | null | undefined;
418
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
390
419
  };
391
420
  relationships?: Record<string, unknown> | undefined;
392
421
  links?: Record<string, string> | undefined;
@@ -403,6 +432,8 @@ export declare const organizationsRouter: {
403
432
  address: string | null;
404
433
  logo: string | null;
405
434
  commodityCommissionRate: number | null;
435
+ companyCommissionRate?: number | null | undefined;
436
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
406
437
  };
407
438
  relationships?: Record<string, unknown> | undefined;
408
439
  links?: Record<string, string> | undefined;
@@ -445,6 +476,8 @@ export declare const organizationsRouter: {
445
476
  address: string | null;
446
477
  logo: string | null;
447
478
  commodityCommissionRate: number | null;
479
+ companyCommissionRate?: number | null | undefined;
480
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
448
481
  };
449
482
  relationships?: Record<string, unknown> | undefined;
450
483
  links?: Record<string, string> | undefined;
@@ -473,6 +506,8 @@ export declare const organizationsRouter: {
473
506
  address: string | null;
474
507
  logo: string | null;
475
508
  commodityCommissionRate: number | null;
509
+ companyCommissionRate?: number | null | undefined;
510
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
476
511
  };
477
512
  relationships?: Record<string, unknown> | undefined;
478
513
  links?: Record<string, string> | undefined;
@@ -785,6 +820,8 @@ export declare const organizationsRouter: {
785
820
  address: z.ZodNullable<z.ZodString>;
786
821
  logo: z.ZodNullable<z.ZodString>;
787
822
  commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
823
+ companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
824
+ membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
788
825
  } & {
789
826
  createdAt: z.ZodString;
790
827
  updatedAt: z.ZodString;
@@ -797,6 +834,8 @@ export declare const organizationsRouter: {
797
834
  address: string | null;
798
835
  logo: string | null;
799
836
  commodityCommissionRate: number | null;
837
+ companyCommissionRate?: number | null | undefined;
838
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
800
839
  }, {
801
840
  email: string | null;
802
841
  createdAt: string;
@@ -806,6 +845,8 @@ export declare const organizationsRouter: {
806
845
  address: string | null;
807
846
  logo: string | null;
808
847
  commodityCommissionRate: number | null;
848
+ companyCommissionRate?: number | null | undefined;
849
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
809
850
  }>;
810
851
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
811
852
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -822,6 +863,8 @@ export declare const organizationsRouter: {
822
863
  address: string | null;
823
864
  logo: string | null;
824
865
  commodityCommissionRate: number | null;
866
+ companyCommissionRate?: number | null | undefined;
867
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
825
868
  };
826
869
  relationships?: Record<string, unknown> | undefined;
827
870
  links?: Record<string, string> | undefined;
@@ -838,6 +881,8 @@ export declare const organizationsRouter: {
838
881
  address: string | null;
839
882
  logo: string | null;
840
883
  commodityCommissionRate: number | null;
884
+ companyCommissionRate?: number | null | undefined;
885
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
841
886
  };
842
887
  relationships?: Record<string, unknown> | undefined;
843
888
  links?: Record<string, string> | undefined;
@@ -880,6 +925,8 @@ export declare const organizationsRouter: {
880
925
  address: string | null;
881
926
  logo: string | null;
882
927
  commodityCommissionRate: number | null;
928
+ companyCommissionRate?: number | null | undefined;
929
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
883
930
  };
884
931
  relationships?: Record<string, unknown> | undefined;
885
932
  links?: Record<string, string> | undefined;
@@ -908,6 +955,8 @@ export declare const organizationsRouter: {
908
955
  address: string | null;
909
956
  logo: string | null;
910
957
  commodityCommissionRate: number | null;
958
+ companyCommissionRate?: number | null | undefined;
959
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
911
960
  };
912
961
  relationships?: Record<string, unknown> | undefined;
913
962
  links?: Record<string, string> | undefined;
@@ -1128,8 +1177,10 @@ export declare const organizationsRouter: {
1128
1177
  address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1129
1178
  logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1130
1179
  commodityCommissionRate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1180
+ companyCommissionRate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1131
1181
  } & {
1132
1182
  commodityCommissionApplyTo: z.ZodOptional<z.ZodEnum<["future", "open_and_future"]>>;
1183
+ companyCommissionApplyTo: z.ZodOptional<z.ZodEnum<["future", "open_and_future"]>>;
1133
1184
  }, "strip", z.ZodTypeAny, {
1134
1185
  email?: string | undefined;
1135
1186
  name?: string | undefined;
@@ -1137,7 +1188,9 @@ export declare const organizationsRouter: {
1137
1188
  address?: string | undefined;
1138
1189
  logo?: string | undefined;
1139
1190
  commodityCommissionRate?: number | undefined;
1191
+ companyCommissionRate?: number | undefined;
1140
1192
  commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
1193
+ companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
1141
1194
  }, {
1142
1195
  email?: string | undefined;
1143
1196
  name?: string | undefined;
@@ -1145,7 +1198,9 @@ export declare const organizationsRouter: {
1145
1198
  address?: string | undefined;
1146
1199
  logo?: string | undefined;
1147
1200
  commodityCommissionRate?: number | undefined;
1201
+ companyCommissionRate?: number | undefined;
1148
1202
  commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
1203
+ companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
1149
1204
  }>;
1150
1205
  }, "strip", z.ZodTypeAny, {
1151
1206
  type: "organizations";
@@ -1156,7 +1211,9 @@ export declare const organizationsRouter: {
1156
1211
  address?: string | undefined;
1157
1212
  logo?: string | undefined;
1158
1213
  commodityCommissionRate?: number | undefined;
1214
+ companyCommissionRate?: number | undefined;
1159
1215
  commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
1216
+ companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
1160
1217
  };
1161
1218
  id?: string | undefined;
1162
1219
  }, {
@@ -1168,7 +1225,9 @@ export declare const organizationsRouter: {
1168
1225
  address?: string | undefined;
1169
1226
  logo?: string | undefined;
1170
1227
  commodityCommissionRate?: number | undefined;
1228
+ companyCommissionRate?: number | undefined;
1171
1229
  commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
1230
+ companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
1172
1231
  };
1173
1232
  id?: string | undefined;
1174
1233
  }>;
@@ -1182,7 +1241,9 @@ export declare const organizationsRouter: {
1182
1241
  address?: string | undefined;
1183
1242
  logo?: string | undefined;
1184
1243
  commodityCommissionRate?: number | undefined;
1244
+ companyCommissionRate?: number | undefined;
1185
1245
  commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
1246
+ companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
1186
1247
  };
1187
1248
  id?: string | undefined;
1188
1249
  };
@@ -1196,7 +1257,9 @@ export declare const organizationsRouter: {
1196
1257
  address?: string | undefined;
1197
1258
  logo?: string | undefined;
1198
1259
  commodityCommissionRate?: number | undefined;
1260
+ companyCommissionRate?: number | undefined;
1199
1261
  commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
1262
+ companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
1200
1263
  };
1201
1264
  id?: string | undefined;
1202
1265
  };
@@ -1214,6 +1277,8 @@ export declare const organizationsRouter: {
1214
1277
  address: z.ZodNullable<z.ZodString>;
1215
1278
  logo: z.ZodNullable<z.ZodString>;
1216
1279
  commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
1280
+ companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1281
+ membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
1217
1282
  } & {
1218
1283
  createdAt: z.ZodString;
1219
1284
  updatedAt: z.ZodString;
@@ -1226,6 +1291,8 @@ export declare const organizationsRouter: {
1226
1291
  address: string | null;
1227
1292
  logo: string | null;
1228
1293
  commodityCommissionRate: number | null;
1294
+ companyCommissionRate?: number | null | undefined;
1295
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1229
1296
  }, {
1230
1297
  email: string | null;
1231
1298
  createdAt: string;
@@ -1235,6 +1302,8 @@ export declare const organizationsRouter: {
1235
1302
  address: string | null;
1236
1303
  logo: string | null;
1237
1304
  commodityCommissionRate: number | null;
1305
+ companyCommissionRate?: number | null | undefined;
1306
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1238
1307
  }>;
1239
1308
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1240
1309
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1251,6 +1320,8 @@ export declare const organizationsRouter: {
1251
1320
  address: string | null;
1252
1321
  logo: string | null;
1253
1322
  commodityCommissionRate: number | null;
1323
+ companyCommissionRate?: number | null | undefined;
1324
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1254
1325
  };
1255
1326
  relationships?: Record<string, unknown> | undefined;
1256
1327
  links?: Record<string, string> | undefined;
@@ -1267,6 +1338,8 @@ export declare const organizationsRouter: {
1267
1338
  address: string | null;
1268
1339
  logo: string | null;
1269
1340
  commodityCommissionRate: number | null;
1341
+ companyCommissionRate?: number | null | undefined;
1342
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1270
1343
  };
1271
1344
  relationships?: Record<string, unknown> | undefined;
1272
1345
  links?: Record<string, string> | undefined;
@@ -1309,6 +1382,8 @@ export declare const organizationsRouter: {
1309
1382
  address: string | null;
1310
1383
  logo: string | null;
1311
1384
  commodityCommissionRate: number | null;
1385
+ companyCommissionRate?: number | null | undefined;
1386
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1312
1387
  };
1313
1388
  relationships?: Record<string, unknown> | undefined;
1314
1389
  links?: Record<string, string> | undefined;
@@ -1337,6 +1412,8 @@ export declare const organizationsRouter: {
1337
1412
  address: string | null;
1338
1413
  logo: string | null;
1339
1414
  commodityCommissionRate: number | null;
1415
+ companyCommissionRate?: number | null | undefined;
1416
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1340
1417
  };
1341
1418
  relationships?: Record<string, unknown> | undefined;
1342
1419
  links?: Record<string, string> | undefined;
@@ -1747,6 +1824,8 @@ export declare const organizationsRouter: {
1747
1824
  address: z.ZodNullable<z.ZodString>;
1748
1825
  logo: z.ZodNullable<z.ZodString>;
1749
1826
  commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
1827
+ companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1828
+ membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
1750
1829
  } & {
1751
1830
  createdAt: z.ZodString;
1752
1831
  updatedAt: z.ZodString;
@@ -1759,6 +1838,8 @@ export declare const organizationsRouter: {
1759
1838
  address: string | null;
1760
1839
  logo: string | null;
1761
1840
  commodityCommissionRate: number | null;
1841
+ companyCommissionRate?: number | null | undefined;
1842
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1762
1843
  }, {
1763
1844
  email: string | null;
1764
1845
  createdAt: string;
@@ -1768,6 +1849,8 @@ export declare const organizationsRouter: {
1768
1849
  address: string | null;
1769
1850
  logo: string | null;
1770
1851
  commodityCommissionRate: number | null;
1852
+ companyCommissionRate?: number | null | undefined;
1853
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1771
1854
  }>;
1772
1855
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1773
1856
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1784,6 +1867,8 @@ export declare const organizationsRouter: {
1784
1867
  address: string | null;
1785
1868
  logo: string | null;
1786
1869
  commodityCommissionRate: number | null;
1870
+ companyCommissionRate?: number | null | undefined;
1871
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1787
1872
  };
1788
1873
  relationships?: Record<string, unknown> | undefined;
1789
1874
  links?: Record<string, string> | undefined;
@@ -1800,6 +1885,8 @@ export declare const organizationsRouter: {
1800
1885
  address: string | null;
1801
1886
  logo: string | null;
1802
1887
  commodityCommissionRate: number | null;
1888
+ companyCommissionRate?: number | null | undefined;
1889
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1803
1890
  };
1804
1891
  relationships?: Record<string, unknown> | undefined;
1805
1892
  links?: Record<string, string> | undefined;
@@ -1842,6 +1929,8 @@ export declare const organizationsRouter: {
1842
1929
  address: string | null;
1843
1930
  logo: string | null;
1844
1931
  commodityCommissionRate: number | null;
1932
+ companyCommissionRate?: number | null | undefined;
1933
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1845
1934
  };
1846
1935
  relationships?: Record<string, unknown> | undefined;
1847
1936
  links?: Record<string, string> | undefined;
@@ -1870,6 +1959,8 @@ export declare const organizationsRouter: {
1870
1959
  address: string | null;
1871
1960
  logo: string | null;
1872
1961
  commodityCommissionRate: number | null;
1962
+ companyCommissionRate?: number | null | undefined;
1963
+ membershipRole?: "creator" | "admin" | "investor" | undefined;
1873
1964
  };
1874
1965
  relationships?: Record<string, unknown> | undefined;
1875
1966
  links?: Record<string, string> | undefined;
@@ -2534,6 +2625,1668 @@ export declare const organizationsRouter: {
2534
2625
  }>;
2535
2626
  };
2536
2627
  };
2628
+ listOrganizationContacts: {
2629
+ pathParams: z.ZodObject<{
2630
+ id: z.ZodString;
2631
+ }, "strip", z.ZodTypeAny, {
2632
+ id: string;
2633
+ }, {
2634
+ id: string;
2635
+ }>;
2636
+ summary: "List organization contacts";
2637
+ description: "List contact persons for an organization, including investor/admin role";
2638
+ method: "GET";
2639
+ path: "/organizations/:id/contacts";
2640
+ responses: {
2641
+ 200: z.ZodObject<{
2642
+ data: z.ZodArray<z.ZodObject<{
2643
+ type: z.ZodLiteral<string>;
2644
+ id: z.ZodString;
2645
+ attributes: z.ZodObject<{
2646
+ organizationId: z.ZodString;
2647
+ userId: z.ZodString;
2648
+ role: z.ZodEnum<["admin", "investor"]>;
2649
+ isPrimary: z.ZodBoolean;
2650
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2651
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2652
+ } & {
2653
+ createdAt: z.ZodString;
2654
+ updatedAt: z.ZodString;
2655
+ }, "strip", z.ZodTypeAny, {
2656
+ createdAt: string;
2657
+ updatedAt: string;
2658
+ userId: string;
2659
+ role: "admin" | "investor";
2660
+ organizationId: string;
2661
+ isPrimary: boolean;
2662
+ email?: string | null | undefined;
2663
+ name?: string | null | undefined;
2664
+ }, {
2665
+ createdAt: string;
2666
+ updatedAt: string;
2667
+ userId: string;
2668
+ role: "admin" | "investor";
2669
+ organizationId: string;
2670
+ isPrimary: boolean;
2671
+ email?: string | null | undefined;
2672
+ name?: string | null | undefined;
2673
+ }>;
2674
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2675
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2676
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2677
+ }, "strip", z.ZodTypeAny, {
2678
+ type: string;
2679
+ id: string;
2680
+ attributes: {
2681
+ createdAt: string;
2682
+ updatedAt: string;
2683
+ userId: string;
2684
+ role: "admin" | "investor";
2685
+ organizationId: string;
2686
+ isPrimary: boolean;
2687
+ email?: string | null | undefined;
2688
+ name?: string | null | undefined;
2689
+ };
2690
+ relationships?: Record<string, unknown> | undefined;
2691
+ links?: Record<string, string> | undefined;
2692
+ meta?: Record<string, unknown> | undefined;
2693
+ }, {
2694
+ type: string;
2695
+ id: string;
2696
+ attributes: {
2697
+ createdAt: string;
2698
+ updatedAt: string;
2699
+ userId: string;
2700
+ role: "admin" | "investor";
2701
+ organizationId: string;
2702
+ isPrimary: boolean;
2703
+ email?: string | null | undefined;
2704
+ name?: string | null | undefined;
2705
+ };
2706
+ relationships?: Record<string, unknown> | undefined;
2707
+ links?: Record<string, string> | undefined;
2708
+ meta?: Record<string, unknown> | undefined;
2709
+ }>, "many">;
2710
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
2711
+ type: z.ZodString;
2712
+ id: z.ZodString;
2713
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2714
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2715
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2716
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2717
+ }, "strip", z.ZodTypeAny, {
2718
+ type: string;
2719
+ id: string;
2720
+ attributes?: Record<string, unknown> | undefined;
2721
+ relationships?: Record<string, unknown> | undefined;
2722
+ links?: Record<string, string> | undefined;
2723
+ meta?: Record<string, unknown> | undefined;
2724
+ }, {
2725
+ type: string;
2726
+ id: string;
2727
+ attributes?: Record<string, unknown> | undefined;
2728
+ relationships?: Record<string, unknown> | undefined;
2729
+ links?: Record<string, string> | undefined;
2730
+ meta?: Record<string, unknown> | undefined;
2731
+ }>, "many">>;
2732
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2733
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2734
+ }, "strip", z.ZodTypeAny, {
2735
+ data: {
2736
+ type: string;
2737
+ id: string;
2738
+ attributes: {
2739
+ createdAt: string;
2740
+ updatedAt: string;
2741
+ userId: string;
2742
+ role: "admin" | "investor";
2743
+ organizationId: string;
2744
+ isPrimary: boolean;
2745
+ email?: string | null | undefined;
2746
+ name?: string | null | undefined;
2747
+ };
2748
+ relationships?: Record<string, unknown> | undefined;
2749
+ links?: Record<string, string> | undefined;
2750
+ meta?: Record<string, unknown> | undefined;
2751
+ }[];
2752
+ links?: Record<string, string> | undefined;
2753
+ meta?: Record<string, unknown> | undefined;
2754
+ included?: {
2755
+ type: string;
2756
+ id: string;
2757
+ attributes?: Record<string, unknown> | undefined;
2758
+ relationships?: Record<string, unknown> | undefined;
2759
+ links?: Record<string, string> | undefined;
2760
+ meta?: Record<string, unknown> | undefined;
2761
+ }[] | undefined;
2762
+ }, {
2763
+ data: {
2764
+ type: string;
2765
+ id: string;
2766
+ attributes: {
2767
+ createdAt: string;
2768
+ updatedAt: string;
2769
+ userId: string;
2770
+ role: "admin" | "investor";
2771
+ organizationId: string;
2772
+ isPrimary: boolean;
2773
+ email?: string | null | undefined;
2774
+ name?: string | null | undefined;
2775
+ };
2776
+ relationships?: Record<string, unknown> | undefined;
2777
+ links?: Record<string, string> | undefined;
2778
+ meta?: Record<string, unknown> | undefined;
2779
+ }[];
2780
+ links?: Record<string, string> | undefined;
2781
+ meta?: Record<string, unknown> | undefined;
2782
+ included?: {
2783
+ type: string;
2784
+ id: string;
2785
+ attributes?: Record<string, unknown> | undefined;
2786
+ relationships?: Record<string, unknown> | undefined;
2787
+ links?: Record<string, string> | undefined;
2788
+ meta?: Record<string, unknown> | undefined;
2789
+ }[] | undefined;
2790
+ }>;
2791
+ 401: z.ZodObject<{
2792
+ errors: z.ZodArray<z.ZodObject<{
2793
+ id: z.ZodOptional<z.ZodString>;
2794
+ links: z.ZodOptional<z.ZodObject<{
2795
+ about: z.ZodOptional<z.ZodString>;
2796
+ }, "strip", z.ZodTypeAny, {
2797
+ about?: string | undefined;
2798
+ }, {
2799
+ about?: string | undefined;
2800
+ }>>;
2801
+ status: z.ZodOptional<z.ZodString>;
2802
+ code: z.ZodOptional<z.ZodString>;
2803
+ title: z.ZodOptional<z.ZodString>;
2804
+ detail: z.ZodOptional<z.ZodString>;
2805
+ source: z.ZodOptional<z.ZodObject<{
2806
+ pointer: z.ZodOptional<z.ZodString>;
2807
+ parameter: z.ZodOptional<z.ZodString>;
2808
+ }, "strip", z.ZodTypeAny, {
2809
+ pointer?: string | undefined;
2810
+ parameter?: string | undefined;
2811
+ }, {
2812
+ pointer?: string | undefined;
2813
+ parameter?: string | undefined;
2814
+ }>>;
2815
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2816
+ }, "strip", z.ZodTypeAny, {
2817
+ status?: string | undefined;
2818
+ code?: string | undefined;
2819
+ id?: string | undefined;
2820
+ links?: {
2821
+ about?: string | undefined;
2822
+ } | undefined;
2823
+ meta?: Record<string, unknown> | undefined;
2824
+ title?: string | undefined;
2825
+ detail?: string | undefined;
2826
+ source?: {
2827
+ pointer?: string | undefined;
2828
+ parameter?: string | undefined;
2829
+ } | undefined;
2830
+ }, {
2831
+ status?: string | undefined;
2832
+ code?: string | undefined;
2833
+ id?: string | undefined;
2834
+ links?: {
2835
+ about?: string | undefined;
2836
+ } | undefined;
2837
+ meta?: Record<string, unknown> | undefined;
2838
+ title?: string | undefined;
2839
+ detail?: string | undefined;
2840
+ source?: {
2841
+ pointer?: string | undefined;
2842
+ parameter?: string | undefined;
2843
+ } | undefined;
2844
+ }>, "many">;
2845
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2846
+ }, "strip", z.ZodTypeAny, {
2847
+ errors: {
2848
+ status?: string | undefined;
2849
+ code?: string | undefined;
2850
+ id?: string | undefined;
2851
+ links?: {
2852
+ about?: string | undefined;
2853
+ } | undefined;
2854
+ meta?: Record<string, unknown> | undefined;
2855
+ title?: string | undefined;
2856
+ detail?: string | undefined;
2857
+ source?: {
2858
+ pointer?: string | undefined;
2859
+ parameter?: string | undefined;
2860
+ } | undefined;
2861
+ }[];
2862
+ meta?: Record<string, unknown> | undefined;
2863
+ }, {
2864
+ errors: {
2865
+ status?: string | undefined;
2866
+ code?: string | undefined;
2867
+ id?: string | undefined;
2868
+ links?: {
2869
+ about?: string | undefined;
2870
+ } | undefined;
2871
+ meta?: Record<string, unknown> | undefined;
2872
+ title?: string | undefined;
2873
+ detail?: string | undefined;
2874
+ source?: {
2875
+ pointer?: string | undefined;
2876
+ parameter?: string | undefined;
2877
+ } | undefined;
2878
+ }[];
2879
+ meta?: Record<string, unknown> | undefined;
2880
+ }>;
2881
+ 404: z.ZodObject<{
2882
+ errors: z.ZodArray<z.ZodObject<{
2883
+ id: z.ZodOptional<z.ZodString>;
2884
+ links: z.ZodOptional<z.ZodObject<{
2885
+ about: z.ZodOptional<z.ZodString>;
2886
+ }, "strip", z.ZodTypeAny, {
2887
+ about?: string | undefined;
2888
+ }, {
2889
+ about?: string | undefined;
2890
+ }>>;
2891
+ status: z.ZodOptional<z.ZodString>;
2892
+ code: z.ZodOptional<z.ZodString>;
2893
+ title: z.ZodOptional<z.ZodString>;
2894
+ detail: z.ZodOptional<z.ZodString>;
2895
+ source: z.ZodOptional<z.ZodObject<{
2896
+ pointer: z.ZodOptional<z.ZodString>;
2897
+ parameter: z.ZodOptional<z.ZodString>;
2898
+ }, "strip", z.ZodTypeAny, {
2899
+ pointer?: string | undefined;
2900
+ parameter?: string | undefined;
2901
+ }, {
2902
+ pointer?: string | undefined;
2903
+ parameter?: string | undefined;
2904
+ }>>;
2905
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2906
+ }, "strip", z.ZodTypeAny, {
2907
+ status?: string | undefined;
2908
+ code?: string | undefined;
2909
+ id?: string | undefined;
2910
+ links?: {
2911
+ about?: string | undefined;
2912
+ } | undefined;
2913
+ meta?: Record<string, unknown> | undefined;
2914
+ title?: string | undefined;
2915
+ detail?: string | undefined;
2916
+ source?: {
2917
+ pointer?: string | undefined;
2918
+ parameter?: string | undefined;
2919
+ } | undefined;
2920
+ }, {
2921
+ status?: string | undefined;
2922
+ code?: string | undefined;
2923
+ id?: string | undefined;
2924
+ links?: {
2925
+ about?: string | undefined;
2926
+ } | undefined;
2927
+ meta?: Record<string, unknown> | undefined;
2928
+ title?: string | undefined;
2929
+ detail?: string | undefined;
2930
+ source?: {
2931
+ pointer?: string | undefined;
2932
+ parameter?: string | undefined;
2933
+ } | undefined;
2934
+ }>, "many">;
2935
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2936
+ }, "strip", z.ZodTypeAny, {
2937
+ errors: {
2938
+ status?: string | undefined;
2939
+ code?: string | undefined;
2940
+ id?: string | undefined;
2941
+ links?: {
2942
+ about?: string | undefined;
2943
+ } | undefined;
2944
+ meta?: Record<string, unknown> | undefined;
2945
+ title?: string | undefined;
2946
+ detail?: string | undefined;
2947
+ source?: {
2948
+ pointer?: string | undefined;
2949
+ parameter?: string | undefined;
2950
+ } | undefined;
2951
+ }[];
2952
+ meta?: Record<string, unknown> | undefined;
2953
+ }, {
2954
+ errors: {
2955
+ status?: string | undefined;
2956
+ code?: string | undefined;
2957
+ id?: string | undefined;
2958
+ links?: {
2959
+ about?: string | undefined;
2960
+ } | undefined;
2961
+ meta?: Record<string, unknown> | undefined;
2962
+ title?: string | undefined;
2963
+ detail?: string | undefined;
2964
+ source?: {
2965
+ pointer?: string | undefined;
2966
+ parameter?: string | undefined;
2967
+ } | undefined;
2968
+ }[];
2969
+ meta?: Record<string, unknown> | undefined;
2970
+ }>;
2971
+ };
2972
+ };
2973
+ addOrganizationContact: {
2974
+ pathParams: z.ZodObject<{
2975
+ id: z.ZodString;
2976
+ }, "strip", z.ZodTypeAny, {
2977
+ id: string;
2978
+ }, {
2979
+ id: string;
2980
+ }>;
2981
+ summary: "Add an organization contact";
2982
+ description: "Attach an existing user as an org contact with role admin or investor";
2983
+ method: "POST";
2984
+ body: z.ZodObject<{
2985
+ data: z.ZodObject<{
2986
+ type: z.ZodLiteral<"organization-contacts">;
2987
+ attributes: z.ZodObject<{
2988
+ userId: z.ZodString;
2989
+ role: z.ZodDefault<z.ZodOptional<z.ZodEnum<["admin", "investor"]>>>;
2990
+ }, "strip", z.ZodTypeAny, {
2991
+ userId: string;
2992
+ role: "admin" | "investor";
2993
+ }, {
2994
+ userId: string;
2995
+ role?: "admin" | "investor" | undefined;
2996
+ }>;
2997
+ }, "strip", z.ZodTypeAny, {
2998
+ type: "organization-contacts";
2999
+ attributes: {
3000
+ userId: string;
3001
+ role: "admin" | "investor";
3002
+ };
3003
+ }, {
3004
+ type: "organization-contacts";
3005
+ attributes: {
3006
+ userId: string;
3007
+ role?: "admin" | "investor" | undefined;
3008
+ };
3009
+ }>;
3010
+ }, "strip", z.ZodTypeAny, {
3011
+ data: {
3012
+ type: "organization-contacts";
3013
+ attributes: {
3014
+ userId: string;
3015
+ role: "admin" | "investor";
3016
+ };
3017
+ };
3018
+ }, {
3019
+ data: {
3020
+ type: "organization-contacts";
3021
+ attributes: {
3022
+ userId: string;
3023
+ role?: "admin" | "investor" | undefined;
3024
+ };
3025
+ };
3026
+ }>;
3027
+ path: "/organizations/:id/contacts";
3028
+ responses: {
3029
+ 201: z.ZodObject<{
3030
+ data: z.ZodObject<{
3031
+ type: z.ZodLiteral<string>;
3032
+ id: z.ZodString;
3033
+ attributes: z.ZodObject<{
3034
+ organizationId: z.ZodString;
3035
+ userId: z.ZodString;
3036
+ role: z.ZodEnum<["admin", "investor"]>;
3037
+ isPrimary: z.ZodBoolean;
3038
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3039
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3040
+ } & {
3041
+ createdAt: z.ZodString;
3042
+ updatedAt: z.ZodString;
3043
+ }, "strip", z.ZodTypeAny, {
3044
+ createdAt: string;
3045
+ updatedAt: string;
3046
+ userId: string;
3047
+ role: "admin" | "investor";
3048
+ organizationId: string;
3049
+ isPrimary: boolean;
3050
+ email?: string | null | undefined;
3051
+ name?: string | null | undefined;
3052
+ }, {
3053
+ createdAt: string;
3054
+ updatedAt: string;
3055
+ userId: string;
3056
+ role: "admin" | "investor";
3057
+ organizationId: string;
3058
+ isPrimary: boolean;
3059
+ email?: string | null | undefined;
3060
+ name?: string | null | undefined;
3061
+ }>;
3062
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3063
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3064
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3065
+ }, "strip", z.ZodTypeAny, {
3066
+ type: string;
3067
+ id: string;
3068
+ attributes: {
3069
+ createdAt: string;
3070
+ updatedAt: string;
3071
+ userId: string;
3072
+ role: "admin" | "investor";
3073
+ organizationId: string;
3074
+ isPrimary: boolean;
3075
+ email?: string | null | undefined;
3076
+ name?: string | null | undefined;
3077
+ };
3078
+ relationships?: Record<string, unknown> | undefined;
3079
+ links?: Record<string, string> | undefined;
3080
+ meta?: Record<string, unknown> | undefined;
3081
+ }, {
3082
+ type: string;
3083
+ id: string;
3084
+ attributes: {
3085
+ createdAt: string;
3086
+ updatedAt: string;
3087
+ userId: string;
3088
+ role: "admin" | "investor";
3089
+ organizationId: string;
3090
+ isPrimary: boolean;
3091
+ email?: string | null | undefined;
3092
+ name?: string | null | undefined;
3093
+ };
3094
+ relationships?: Record<string, unknown> | undefined;
3095
+ links?: Record<string, string> | undefined;
3096
+ meta?: Record<string, unknown> | undefined;
3097
+ }>;
3098
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
3099
+ type: z.ZodString;
3100
+ id: z.ZodString;
3101
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3102
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3103
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3104
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3105
+ }, "strip", z.ZodTypeAny, {
3106
+ type: string;
3107
+ id: string;
3108
+ attributes?: Record<string, unknown> | undefined;
3109
+ relationships?: Record<string, unknown> | undefined;
3110
+ links?: Record<string, string> | undefined;
3111
+ meta?: Record<string, unknown> | undefined;
3112
+ }, {
3113
+ type: string;
3114
+ id: string;
3115
+ attributes?: Record<string, unknown> | undefined;
3116
+ relationships?: Record<string, unknown> | undefined;
3117
+ links?: Record<string, string> | undefined;
3118
+ meta?: Record<string, unknown> | undefined;
3119
+ }>, "many">>;
3120
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3121
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3122
+ }, "strip", z.ZodTypeAny, {
3123
+ data: {
3124
+ type: string;
3125
+ id: string;
3126
+ attributes: {
3127
+ createdAt: string;
3128
+ updatedAt: string;
3129
+ userId: string;
3130
+ role: "admin" | "investor";
3131
+ organizationId: string;
3132
+ isPrimary: boolean;
3133
+ email?: string | null | undefined;
3134
+ name?: string | null | undefined;
3135
+ };
3136
+ relationships?: Record<string, unknown> | undefined;
3137
+ links?: Record<string, string> | undefined;
3138
+ meta?: Record<string, unknown> | undefined;
3139
+ };
3140
+ links?: Record<string, string> | undefined;
3141
+ meta?: Record<string, unknown> | undefined;
3142
+ included?: {
3143
+ type: string;
3144
+ id: string;
3145
+ attributes?: Record<string, unknown> | undefined;
3146
+ relationships?: Record<string, unknown> | undefined;
3147
+ links?: Record<string, string> | undefined;
3148
+ meta?: Record<string, unknown> | undefined;
3149
+ }[] | undefined;
3150
+ }, {
3151
+ data: {
3152
+ type: string;
3153
+ id: string;
3154
+ attributes: {
3155
+ createdAt: string;
3156
+ updatedAt: string;
3157
+ userId: string;
3158
+ role: "admin" | "investor";
3159
+ organizationId: string;
3160
+ isPrimary: boolean;
3161
+ email?: string | null | undefined;
3162
+ name?: string | null | undefined;
3163
+ };
3164
+ relationships?: Record<string, unknown> | undefined;
3165
+ links?: Record<string, string> | undefined;
3166
+ meta?: Record<string, unknown> | undefined;
3167
+ };
3168
+ links?: Record<string, string> | undefined;
3169
+ meta?: Record<string, unknown> | undefined;
3170
+ included?: {
3171
+ type: string;
3172
+ id: string;
3173
+ attributes?: Record<string, unknown> | undefined;
3174
+ relationships?: Record<string, unknown> | undefined;
3175
+ links?: Record<string, string> | undefined;
3176
+ meta?: Record<string, unknown> | undefined;
3177
+ }[] | undefined;
3178
+ }>;
3179
+ 400: z.ZodObject<{
3180
+ errors: z.ZodArray<z.ZodObject<{
3181
+ id: z.ZodOptional<z.ZodString>;
3182
+ links: z.ZodOptional<z.ZodObject<{
3183
+ about: z.ZodOptional<z.ZodString>;
3184
+ }, "strip", z.ZodTypeAny, {
3185
+ about?: string | undefined;
3186
+ }, {
3187
+ about?: string | undefined;
3188
+ }>>;
3189
+ status: z.ZodOptional<z.ZodString>;
3190
+ code: z.ZodOptional<z.ZodString>;
3191
+ title: z.ZodOptional<z.ZodString>;
3192
+ detail: z.ZodOptional<z.ZodString>;
3193
+ source: z.ZodOptional<z.ZodObject<{
3194
+ pointer: z.ZodOptional<z.ZodString>;
3195
+ parameter: z.ZodOptional<z.ZodString>;
3196
+ }, "strip", z.ZodTypeAny, {
3197
+ pointer?: string | undefined;
3198
+ parameter?: string | undefined;
3199
+ }, {
3200
+ pointer?: string | undefined;
3201
+ parameter?: string | undefined;
3202
+ }>>;
3203
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3204
+ }, "strip", z.ZodTypeAny, {
3205
+ status?: string | undefined;
3206
+ code?: string | undefined;
3207
+ id?: string | undefined;
3208
+ links?: {
3209
+ about?: string | undefined;
3210
+ } | undefined;
3211
+ meta?: Record<string, unknown> | undefined;
3212
+ title?: string | undefined;
3213
+ detail?: string | undefined;
3214
+ source?: {
3215
+ pointer?: string | undefined;
3216
+ parameter?: string | undefined;
3217
+ } | undefined;
3218
+ }, {
3219
+ status?: string | undefined;
3220
+ code?: string | undefined;
3221
+ id?: string | undefined;
3222
+ links?: {
3223
+ about?: string | undefined;
3224
+ } | undefined;
3225
+ meta?: Record<string, unknown> | undefined;
3226
+ title?: string | undefined;
3227
+ detail?: string | undefined;
3228
+ source?: {
3229
+ pointer?: string | undefined;
3230
+ parameter?: string | undefined;
3231
+ } | undefined;
3232
+ }>, "many">;
3233
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3234
+ }, "strip", z.ZodTypeAny, {
3235
+ errors: {
3236
+ status?: string | undefined;
3237
+ code?: string | undefined;
3238
+ id?: string | undefined;
3239
+ links?: {
3240
+ about?: string | undefined;
3241
+ } | undefined;
3242
+ meta?: Record<string, unknown> | undefined;
3243
+ title?: string | undefined;
3244
+ detail?: string | undefined;
3245
+ source?: {
3246
+ pointer?: string | undefined;
3247
+ parameter?: string | undefined;
3248
+ } | undefined;
3249
+ }[];
3250
+ meta?: Record<string, unknown> | undefined;
3251
+ }, {
3252
+ errors: {
3253
+ status?: string | undefined;
3254
+ code?: string | undefined;
3255
+ id?: string | undefined;
3256
+ links?: {
3257
+ about?: string | undefined;
3258
+ } | undefined;
3259
+ meta?: Record<string, unknown> | undefined;
3260
+ title?: string | undefined;
3261
+ detail?: string | undefined;
3262
+ source?: {
3263
+ pointer?: string | undefined;
3264
+ parameter?: string | undefined;
3265
+ } | undefined;
3266
+ }[];
3267
+ meta?: Record<string, unknown> | undefined;
3268
+ }>;
3269
+ 401: z.ZodObject<{
3270
+ errors: z.ZodArray<z.ZodObject<{
3271
+ id: z.ZodOptional<z.ZodString>;
3272
+ links: z.ZodOptional<z.ZodObject<{
3273
+ about: z.ZodOptional<z.ZodString>;
3274
+ }, "strip", z.ZodTypeAny, {
3275
+ about?: string | undefined;
3276
+ }, {
3277
+ about?: string | undefined;
3278
+ }>>;
3279
+ status: z.ZodOptional<z.ZodString>;
3280
+ code: z.ZodOptional<z.ZodString>;
3281
+ title: z.ZodOptional<z.ZodString>;
3282
+ detail: z.ZodOptional<z.ZodString>;
3283
+ source: z.ZodOptional<z.ZodObject<{
3284
+ pointer: z.ZodOptional<z.ZodString>;
3285
+ parameter: z.ZodOptional<z.ZodString>;
3286
+ }, "strip", z.ZodTypeAny, {
3287
+ pointer?: string | undefined;
3288
+ parameter?: string | undefined;
3289
+ }, {
3290
+ pointer?: string | undefined;
3291
+ parameter?: string | undefined;
3292
+ }>>;
3293
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3294
+ }, "strip", z.ZodTypeAny, {
3295
+ status?: string | undefined;
3296
+ code?: string | undefined;
3297
+ id?: string | undefined;
3298
+ links?: {
3299
+ about?: string | undefined;
3300
+ } | undefined;
3301
+ meta?: Record<string, unknown> | undefined;
3302
+ title?: string | undefined;
3303
+ detail?: string | undefined;
3304
+ source?: {
3305
+ pointer?: string | undefined;
3306
+ parameter?: string | undefined;
3307
+ } | undefined;
3308
+ }, {
3309
+ status?: string | undefined;
3310
+ code?: string | undefined;
3311
+ id?: string | undefined;
3312
+ links?: {
3313
+ about?: string | undefined;
3314
+ } | undefined;
3315
+ meta?: Record<string, unknown> | undefined;
3316
+ title?: string | undefined;
3317
+ detail?: string | undefined;
3318
+ source?: {
3319
+ pointer?: string | undefined;
3320
+ parameter?: string | undefined;
3321
+ } | undefined;
3322
+ }>, "many">;
3323
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3324
+ }, "strip", z.ZodTypeAny, {
3325
+ errors: {
3326
+ status?: string | undefined;
3327
+ code?: string | undefined;
3328
+ id?: string | undefined;
3329
+ links?: {
3330
+ about?: string | undefined;
3331
+ } | undefined;
3332
+ meta?: Record<string, unknown> | undefined;
3333
+ title?: string | undefined;
3334
+ detail?: string | undefined;
3335
+ source?: {
3336
+ pointer?: string | undefined;
3337
+ parameter?: string | undefined;
3338
+ } | undefined;
3339
+ }[];
3340
+ meta?: Record<string, unknown> | undefined;
3341
+ }, {
3342
+ errors: {
3343
+ status?: string | undefined;
3344
+ code?: string | undefined;
3345
+ id?: string | undefined;
3346
+ links?: {
3347
+ about?: string | undefined;
3348
+ } | undefined;
3349
+ meta?: Record<string, unknown> | undefined;
3350
+ title?: string | undefined;
3351
+ detail?: string | undefined;
3352
+ source?: {
3353
+ pointer?: string | undefined;
3354
+ parameter?: string | undefined;
3355
+ } | undefined;
3356
+ }[];
3357
+ meta?: Record<string, unknown> | undefined;
3358
+ }>;
3359
+ 403: z.ZodObject<{
3360
+ errors: z.ZodArray<z.ZodObject<{
3361
+ id: z.ZodOptional<z.ZodString>;
3362
+ links: z.ZodOptional<z.ZodObject<{
3363
+ about: z.ZodOptional<z.ZodString>;
3364
+ }, "strip", z.ZodTypeAny, {
3365
+ about?: string | undefined;
3366
+ }, {
3367
+ about?: string | undefined;
3368
+ }>>;
3369
+ status: z.ZodOptional<z.ZodString>;
3370
+ code: z.ZodOptional<z.ZodString>;
3371
+ title: z.ZodOptional<z.ZodString>;
3372
+ detail: z.ZodOptional<z.ZodString>;
3373
+ source: z.ZodOptional<z.ZodObject<{
3374
+ pointer: z.ZodOptional<z.ZodString>;
3375
+ parameter: z.ZodOptional<z.ZodString>;
3376
+ }, "strip", z.ZodTypeAny, {
3377
+ pointer?: string | undefined;
3378
+ parameter?: string | undefined;
3379
+ }, {
3380
+ pointer?: string | undefined;
3381
+ parameter?: string | undefined;
3382
+ }>>;
3383
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3384
+ }, "strip", z.ZodTypeAny, {
3385
+ status?: string | undefined;
3386
+ code?: string | undefined;
3387
+ id?: string | undefined;
3388
+ links?: {
3389
+ about?: string | undefined;
3390
+ } | undefined;
3391
+ meta?: Record<string, unknown> | undefined;
3392
+ title?: string | undefined;
3393
+ detail?: string | undefined;
3394
+ source?: {
3395
+ pointer?: string | undefined;
3396
+ parameter?: string | undefined;
3397
+ } | undefined;
3398
+ }, {
3399
+ status?: string | undefined;
3400
+ code?: string | undefined;
3401
+ id?: string | undefined;
3402
+ links?: {
3403
+ about?: string | undefined;
3404
+ } | undefined;
3405
+ meta?: Record<string, unknown> | undefined;
3406
+ title?: string | undefined;
3407
+ detail?: string | undefined;
3408
+ source?: {
3409
+ pointer?: string | undefined;
3410
+ parameter?: string | undefined;
3411
+ } | undefined;
3412
+ }>, "many">;
3413
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3414
+ }, "strip", z.ZodTypeAny, {
3415
+ errors: {
3416
+ status?: string | undefined;
3417
+ code?: string | undefined;
3418
+ id?: string | undefined;
3419
+ links?: {
3420
+ about?: string | undefined;
3421
+ } | undefined;
3422
+ meta?: Record<string, unknown> | undefined;
3423
+ title?: string | undefined;
3424
+ detail?: string | undefined;
3425
+ source?: {
3426
+ pointer?: string | undefined;
3427
+ parameter?: string | undefined;
3428
+ } | undefined;
3429
+ }[];
3430
+ meta?: Record<string, unknown> | undefined;
3431
+ }, {
3432
+ errors: {
3433
+ status?: string | undefined;
3434
+ code?: string | undefined;
3435
+ id?: string | undefined;
3436
+ links?: {
3437
+ about?: string | undefined;
3438
+ } | undefined;
3439
+ meta?: Record<string, unknown> | undefined;
3440
+ title?: string | undefined;
3441
+ detail?: string | undefined;
3442
+ source?: {
3443
+ pointer?: string | undefined;
3444
+ parameter?: string | undefined;
3445
+ } | undefined;
3446
+ }[];
3447
+ meta?: Record<string, unknown> | undefined;
3448
+ }>;
3449
+ 404: z.ZodObject<{
3450
+ errors: z.ZodArray<z.ZodObject<{
3451
+ id: z.ZodOptional<z.ZodString>;
3452
+ links: z.ZodOptional<z.ZodObject<{
3453
+ about: z.ZodOptional<z.ZodString>;
3454
+ }, "strip", z.ZodTypeAny, {
3455
+ about?: string | undefined;
3456
+ }, {
3457
+ about?: string | undefined;
3458
+ }>>;
3459
+ status: z.ZodOptional<z.ZodString>;
3460
+ code: z.ZodOptional<z.ZodString>;
3461
+ title: z.ZodOptional<z.ZodString>;
3462
+ detail: z.ZodOptional<z.ZodString>;
3463
+ source: z.ZodOptional<z.ZodObject<{
3464
+ pointer: z.ZodOptional<z.ZodString>;
3465
+ parameter: z.ZodOptional<z.ZodString>;
3466
+ }, "strip", z.ZodTypeAny, {
3467
+ pointer?: string | undefined;
3468
+ parameter?: string | undefined;
3469
+ }, {
3470
+ pointer?: string | undefined;
3471
+ parameter?: string | undefined;
3472
+ }>>;
3473
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3474
+ }, "strip", z.ZodTypeAny, {
3475
+ status?: string | undefined;
3476
+ code?: string | undefined;
3477
+ id?: string | undefined;
3478
+ links?: {
3479
+ about?: string | undefined;
3480
+ } | undefined;
3481
+ meta?: Record<string, unknown> | undefined;
3482
+ title?: string | undefined;
3483
+ detail?: string | undefined;
3484
+ source?: {
3485
+ pointer?: string | undefined;
3486
+ parameter?: string | undefined;
3487
+ } | undefined;
3488
+ }, {
3489
+ status?: string | undefined;
3490
+ code?: string | undefined;
3491
+ id?: string | undefined;
3492
+ links?: {
3493
+ about?: string | undefined;
3494
+ } | undefined;
3495
+ meta?: Record<string, unknown> | undefined;
3496
+ title?: string | undefined;
3497
+ detail?: string | undefined;
3498
+ source?: {
3499
+ pointer?: string | undefined;
3500
+ parameter?: string | undefined;
3501
+ } | undefined;
3502
+ }>, "many">;
3503
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3504
+ }, "strip", z.ZodTypeAny, {
3505
+ errors: {
3506
+ status?: string | undefined;
3507
+ code?: string | undefined;
3508
+ id?: string | undefined;
3509
+ links?: {
3510
+ about?: string | undefined;
3511
+ } | undefined;
3512
+ meta?: Record<string, unknown> | undefined;
3513
+ title?: string | undefined;
3514
+ detail?: string | undefined;
3515
+ source?: {
3516
+ pointer?: string | undefined;
3517
+ parameter?: string | undefined;
3518
+ } | undefined;
3519
+ }[];
3520
+ meta?: Record<string, unknown> | undefined;
3521
+ }, {
3522
+ errors: {
3523
+ status?: string | undefined;
3524
+ code?: string | undefined;
3525
+ id?: string | undefined;
3526
+ links?: {
3527
+ about?: string | undefined;
3528
+ } | undefined;
3529
+ meta?: Record<string, unknown> | undefined;
3530
+ title?: string | undefined;
3531
+ detail?: string | undefined;
3532
+ source?: {
3533
+ pointer?: string | undefined;
3534
+ parameter?: string | undefined;
3535
+ } | undefined;
3536
+ }[];
3537
+ meta?: Record<string, unknown> | undefined;
3538
+ }>;
3539
+ 422: z.ZodObject<{
3540
+ errors: z.ZodArray<z.ZodObject<{
3541
+ id: z.ZodOptional<z.ZodString>;
3542
+ links: z.ZodOptional<z.ZodObject<{
3543
+ about: z.ZodOptional<z.ZodString>;
3544
+ }, "strip", z.ZodTypeAny, {
3545
+ about?: string | undefined;
3546
+ }, {
3547
+ about?: string | undefined;
3548
+ }>>;
3549
+ status: z.ZodOptional<z.ZodString>;
3550
+ code: z.ZodOptional<z.ZodString>;
3551
+ title: z.ZodOptional<z.ZodString>;
3552
+ detail: z.ZodOptional<z.ZodString>;
3553
+ source: z.ZodOptional<z.ZodObject<{
3554
+ pointer: z.ZodOptional<z.ZodString>;
3555
+ parameter: z.ZodOptional<z.ZodString>;
3556
+ }, "strip", z.ZodTypeAny, {
3557
+ pointer?: string | undefined;
3558
+ parameter?: string | undefined;
3559
+ }, {
3560
+ pointer?: string | undefined;
3561
+ parameter?: string | undefined;
3562
+ }>>;
3563
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3564
+ }, "strip", z.ZodTypeAny, {
3565
+ status?: string | undefined;
3566
+ code?: string | undefined;
3567
+ id?: string | undefined;
3568
+ links?: {
3569
+ about?: string | undefined;
3570
+ } | undefined;
3571
+ meta?: Record<string, unknown> | undefined;
3572
+ title?: string | undefined;
3573
+ detail?: string | undefined;
3574
+ source?: {
3575
+ pointer?: string | undefined;
3576
+ parameter?: string | undefined;
3577
+ } | undefined;
3578
+ }, {
3579
+ status?: string | undefined;
3580
+ code?: string | undefined;
3581
+ id?: string | undefined;
3582
+ links?: {
3583
+ about?: string | undefined;
3584
+ } | undefined;
3585
+ meta?: Record<string, unknown> | undefined;
3586
+ title?: string | undefined;
3587
+ detail?: string | undefined;
3588
+ source?: {
3589
+ pointer?: string | undefined;
3590
+ parameter?: string | undefined;
3591
+ } | undefined;
3592
+ }>, "many">;
3593
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3594
+ }, "strip", z.ZodTypeAny, {
3595
+ errors: {
3596
+ status?: string | undefined;
3597
+ code?: string | undefined;
3598
+ id?: string | undefined;
3599
+ links?: {
3600
+ about?: string | undefined;
3601
+ } | undefined;
3602
+ meta?: Record<string, unknown> | undefined;
3603
+ title?: string | undefined;
3604
+ detail?: string | undefined;
3605
+ source?: {
3606
+ pointer?: string | undefined;
3607
+ parameter?: string | undefined;
3608
+ } | undefined;
3609
+ }[];
3610
+ meta?: Record<string, unknown> | undefined;
3611
+ }, {
3612
+ errors: {
3613
+ status?: string | undefined;
3614
+ code?: string | undefined;
3615
+ id?: string | undefined;
3616
+ links?: {
3617
+ about?: string | undefined;
3618
+ } | undefined;
3619
+ meta?: Record<string, unknown> | undefined;
3620
+ title?: string | undefined;
3621
+ detail?: string | undefined;
3622
+ source?: {
3623
+ pointer?: string | undefined;
3624
+ parameter?: string | undefined;
3625
+ } | undefined;
3626
+ }[];
3627
+ meta?: Record<string, unknown> | undefined;
3628
+ }>;
3629
+ };
3630
+ };
3631
+ updateOrganizationContact: {
3632
+ pathParams: z.ZodObject<{
3633
+ id: z.ZodString;
3634
+ } & {
3635
+ contactId: z.ZodString;
3636
+ }, "strip", z.ZodTypeAny, {
3637
+ id: string;
3638
+ contactId: string;
3639
+ }, {
3640
+ id: string;
3641
+ contactId: string;
3642
+ }>;
3643
+ summary: "Update organization contact role";
3644
+ method: "PATCH";
3645
+ body: z.ZodObject<{
3646
+ data: z.ZodObject<{
3647
+ type: z.ZodLiteral<"organization-contacts">;
3648
+ id: z.ZodOptional<z.ZodString>;
3649
+ attributes: z.ZodObject<{
3650
+ role: z.ZodEnum<["admin", "investor"]>;
3651
+ }, "strip", z.ZodTypeAny, {
3652
+ role: "admin" | "investor";
3653
+ }, {
3654
+ role: "admin" | "investor";
3655
+ }>;
3656
+ }, "strip", z.ZodTypeAny, {
3657
+ type: "organization-contacts";
3658
+ attributes: {
3659
+ role: "admin" | "investor";
3660
+ };
3661
+ id?: string | undefined;
3662
+ }, {
3663
+ type: "organization-contacts";
3664
+ attributes: {
3665
+ role: "admin" | "investor";
3666
+ };
3667
+ id?: string | undefined;
3668
+ }>;
3669
+ }, "strip", z.ZodTypeAny, {
3670
+ data: {
3671
+ type: "organization-contacts";
3672
+ attributes: {
3673
+ role: "admin" | "investor";
3674
+ };
3675
+ id?: string | undefined;
3676
+ };
3677
+ }, {
3678
+ data: {
3679
+ type: "organization-contacts";
3680
+ attributes: {
3681
+ role: "admin" | "investor";
3682
+ };
3683
+ id?: string | undefined;
3684
+ };
3685
+ }>;
3686
+ path: "/organizations/:id/contacts/:contactId";
3687
+ responses: {
3688
+ 200: z.ZodObject<{
3689
+ data: z.ZodObject<{
3690
+ type: z.ZodLiteral<string>;
3691
+ id: z.ZodString;
3692
+ attributes: z.ZodObject<{
3693
+ organizationId: z.ZodString;
3694
+ userId: z.ZodString;
3695
+ role: z.ZodEnum<["admin", "investor"]>;
3696
+ isPrimary: z.ZodBoolean;
3697
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3698
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3699
+ } & {
3700
+ createdAt: z.ZodString;
3701
+ updatedAt: z.ZodString;
3702
+ }, "strip", z.ZodTypeAny, {
3703
+ createdAt: string;
3704
+ updatedAt: string;
3705
+ userId: string;
3706
+ role: "admin" | "investor";
3707
+ organizationId: string;
3708
+ isPrimary: boolean;
3709
+ email?: string | null | undefined;
3710
+ name?: string | null | undefined;
3711
+ }, {
3712
+ createdAt: string;
3713
+ updatedAt: string;
3714
+ userId: string;
3715
+ role: "admin" | "investor";
3716
+ organizationId: string;
3717
+ isPrimary: boolean;
3718
+ email?: string | null | undefined;
3719
+ name?: string | null | undefined;
3720
+ }>;
3721
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3722
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3723
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3724
+ }, "strip", z.ZodTypeAny, {
3725
+ type: string;
3726
+ id: string;
3727
+ attributes: {
3728
+ createdAt: string;
3729
+ updatedAt: string;
3730
+ userId: string;
3731
+ role: "admin" | "investor";
3732
+ organizationId: string;
3733
+ isPrimary: boolean;
3734
+ email?: string | null | undefined;
3735
+ name?: string | null | undefined;
3736
+ };
3737
+ relationships?: Record<string, unknown> | undefined;
3738
+ links?: Record<string, string> | undefined;
3739
+ meta?: Record<string, unknown> | undefined;
3740
+ }, {
3741
+ type: string;
3742
+ id: string;
3743
+ attributes: {
3744
+ createdAt: string;
3745
+ updatedAt: string;
3746
+ userId: string;
3747
+ role: "admin" | "investor";
3748
+ organizationId: string;
3749
+ isPrimary: boolean;
3750
+ email?: string | null | undefined;
3751
+ name?: string | null | undefined;
3752
+ };
3753
+ relationships?: Record<string, unknown> | undefined;
3754
+ links?: Record<string, string> | undefined;
3755
+ meta?: Record<string, unknown> | undefined;
3756
+ }>;
3757
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
3758
+ type: z.ZodString;
3759
+ id: z.ZodString;
3760
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3761
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3762
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3763
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3764
+ }, "strip", z.ZodTypeAny, {
3765
+ type: string;
3766
+ id: string;
3767
+ attributes?: Record<string, unknown> | undefined;
3768
+ relationships?: Record<string, unknown> | undefined;
3769
+ links?: Record<string, string> | undefined;
3770
+ meta?: Record<string, unknown> | undefined;
3771
+ }, {
3772
+ type: string;
3773
+ id: string;
3774
+ attributes?: Record<string, unknown> | undefined;
3775
+ relationships?: Record<string, unknown> | undefined;
3776
+ links?: Record<string, string> | undefined;
3777
+ meta?: Record<string, unknown> | undefined;
3778
+ }>, "many">>;
3779
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3780
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3781
+ }, "strip", z.ZodTypeAny, {
3782
+ data: {
3783
+ type: string;
3784
+ id: string;
3785
+ attributes: {
3786
+ createdAt: string;
3787
+ updatedAt: string;
3788
+ userId: string;
3789
+ role: "admin" | "investor";
3790
+ organizationId: string;
3791
+ isPrimary: boolean;
3792
+ email?: string | null | undefined;
3793
+ name?: string | null | undefined;
3794
+ };
3795
+ relationships?: Record<string, unknown> | undefined;
3796
+ links?: Record<string, string> | undefined;
3797
+ meta?: Record<string, unknown> | undefined;
3798
+ };
3799
+ links?: Record<string, string> | undefined;
3800
+ meta?: Record<string, unknown> | undefined;
3801
+ included?: {
3802
+ type: string;
3803
+ id: string;
3804
+ attributes?: Record<string, unknown> | undefined;
3805
+ relationships?: Record<string, unknown> | undefined;
3806
+ links?: Record<string, string> | undefined;
3807
+ meta?: Record<string, unknown> | undefined;
3808
+ }[] | undefined;
3809
+ }, {
3810
+ data: {
3811
+ type: string;
3812
+ id: string;
3813
+ attributes: {
3814
+ createdAt: string;
3815
+ updatedAt: string;
3816
+ userId: string;
3817
+ role: "admin" | "investor";
3818
+ organizationId: string;
3819
+ isPrimary: boolean;
3820
+ email?: string | null | undefined;
3821
+ name?: string | null | undefined;
3822
+ };
3823
+ relationships?: Record<string, unknown> | undefined;
3824
+ links?: Record<string, string> | undefined;
3825
+ meta?: Record<string, unknown> | undefined;
3826
+ };
3827
+ links?: Record<string, string> | undefined;
3828
+ meta?: Record<string, unknown> | undefined;
3829
+ included?: {
3830
+ type: string;
3831
+ id: string;
3832
+ attributes?: Record<string, unknown> | undefined;
3833
+ relationships?: Record<string, unknown> | undefined;
3834
+ links?: Record<string, string> | undefined;
3835
+ meta?: Record<string, unknown> | undefined;
3836
+ }[] | undefined;
3837
+ }>;
3838
+ 400: z.ZodObject<{
3839
+ errors: z.ZodArray<z.ZodObject<{
3840
+ id: z.ZodOptional<z.ZodString>;
3841
+ links: z.ZodOptional<z.ZodObject<{
3842
+ about: z.ZodOptional<z.ZodString>;
3843
+ }, "strip", z.ZodTypeAny, {
3844
+ about?: string | undefined;
3845
+ }, {
3846
+ about?: string | undefined;
3847
+ }>>;
3848
+ status: z.ZodOptional<z.ZodString>;
3849
+ code: z.ZodOptional<z.ZodString>;
3850
+ title: z.ZodOptional<z.ZodString>;
3851
+ detail: z.ZodOptional<z.ZodString>;
3852
+ source: z.ZodOptional<z.ZodObject<{
3853
+ pointer: z.ZodOptional<z.ZodString>;
3854
+ parameter: z.ZodOptional<z.ZodString>;
3855
+ }, "strip", z.ZodTypeAny, {
3856
+ pointer?: string | undefined;
3857
+ parameter?: string | undefined;
3858
+ }, {
3859
+ pointer?: string | undefined;
3860
+ parameter?: string | undefined;
3861
+ }>>;
3862
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3863
+ }, "strip", z.ZodTypeAny, {
3864
+ status?: string | undefined;
3865
+ code?: string | undefined;
3866
+ id?: string | undefined;
3867
+ links?: {
3868
+ about?: string | undefined;
3869
+ } | undefined;
3870
+ meta?: Record<string, unknown> | undefined;
3871
+ title?: string | undefined;
3872
+ detail?: string | undefined;
3873
+ source?: {
3874
+ pointer?: string | undefined;
3875
+ parameter?: string | undefined;
3876
+ } | undefined;
3877
+ }, {
3878
+ status?: string | undefined;
3879
+ code?: string | undefined;
3880
+ id?: string | undefined;
3881
+ links?: {
3882
+ about?: string | undefined;
3883
+ } | undefined;
3884
+ meta?: Record<string, unknown> | undefined;
3885
+ title?: string | undefined;
3886
+ detail?: string | undefined;
3887
+ source?: {
3888
+ pointer?: string | undefined;
3889
+ parameter?: string | undefined;
3890
+ } | undefined;
3891
+ }>, "many">;
3892
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3893
+ }, "strip", z.ZodTypeAny, {
3894
+ errors: {
3895
+ status?: string | undefined;
3896
+ code?: string | undefined;
3897
+ id?: string | undefined;
3898
+ links?: {
3899
+ about?: string | undefined;
3900
+ } | undefined;
3901
+ meta?: Record<string, unknown> | undefined;
3902
+ title?: string | undefined;
3903
+ detail?: string | undefined;
3904
+ source?: {
3905
+ pointer?: string | undefined;
3906
+ parameter?: string | undefined;
3907
+ } | undefined;
3908
+ }[];
3909
+ meta?: Record<string, unknown> | undefined;
3910
+ }, {
3911
+ errors: {
3912
+ status?: string | undefined;
3913
+ code?: string | undefined;
3914
+ id?: string | undefined;
3915
+ links?: {
3916
+ about?: string | undefined;
3917
+ } | undefined;
3918
+ meta?: Record<string, unknown> | undefined;
3919
+ title?: string | undefined;
3920
+ detail?: string | undefined;
3921
+ source?: {
3922
+ pointer?: string | undefined;
3923
+ parameter?: string | undefined;
3924
+ } | undefined;
3925
+ }[];
3926
+ meta?: Record<string, unknown> | undefined;
3927
+ }>;
3928
+ 401: z.ZodObject<{
3929
+ errors: z.ZodArray<z.ZodObject<{
3930
+ id: z.ZodOptional<z.ZodString>;
3931
+ links: z.ZodOptional<z.ZodObject<{
3932
+ about: z.ZodOptional<z.ZodString>;
3933
+ }, "strip", z.ZodTypeAny, {
3934
+ about?: string | undefined;
3935
+ }, {
3936
+ about?: string | undefined;
3937
+ }>>;
3938
+ status: z.ZodOptional<z.ZodString>;
3939
+ code: z.ZodOptional<z.ZodString>;
3940
+ title: z.ZodOptional<z.ZodString>;
3941
+ detail: z.ZodOptional<z.ZodString>;
3942
+ source: z.ZodOptional<z.ZodObject<{
3943
+ pointer: z.ZodOptional<z.ZodString>;
3944
+ parameter: z.ZodOptional<z.ZodString>;
3945
+ }, "strip", z.ZodTypeAny, {
3946
+ pointer?: string | undefined;
3947
+ parameter?: string | undefined;
3948
+ }, {
3949
+ pointer?: string | undefined;
3950
+ parameter?: string | undefined;
3951
+ }>>;
3952
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3953
+ }, "strip", z.ZodTypeAny, {
3954
+ status?: string | undefined;
3955
+ code?: string | undefined;
3956
+ id?: string | undefined;
3957
+ links?: {
3958
+ about?: string | undefined;
3959
+ } | undefined;
3960
+ meta?: Record<string, unknown> | undefined;
3961
+ title?: string | undefined;
3962
+ detail?: string | undefined;
3963
+ source?: {
3964
+ pointer?: string | undefined;
3965
+ parameter?: string | undefined;
3966
+ } | undefined;
3967
+ }, {
3968
+ status?: string | undefined;
3969
+ code?: string | undefined;
3970
+ id?: string | undefined;
3971
+ links?: {
3972
+ about?: string | undefined;
3973
+ } | undefined;
3974
+ meta?: Record<string, unknown> | undefined;
3975
+ title?: string | undefined;
3976
+ detail?: string | undefined;
3977
+ source?: {
3978
+ pointer?: string | undefined;
3979
+ parameter?: string | undefined;
3980
+ } | undefined;
3981
+ }>, "many">;
3982
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3983
+ }, "strip", z.ZodTypeAny, {
3984
+ errors: {
3985
+ status?: string | undefined;
3986
+ code?: string | undefined;
3987
+ id?: string | undefined;
3988
+ links?: {
3989
+ about?: string | undefined;
3990
+ } | undefined;
3991
+ meta?: Record<string, unknown> | undefined;
3992
+ title?: string | undefined;
3993
+ detail?: string | undefined;
3994
+ source?: {
3995
+ pointer?: string | undefined;
3996
+ parameter?: string | undefined;
3997
+ } | undefined;
3998
+ }[];
3999
+ meta?: Record<string, unknown> | undefined;
4000
+ }, {
4001
+ errors: {
4002
+ status?: string | undefined;
4003
+ code?: string | undefined;
4004
+ id?: string | undefined;
4005
+ links?: {
4006
+ about?: string | undefined;
4007
+ } | undefined;
4008
+ meta?: Record<string, unknown> | undefined;
4009
+ title?: string | undefined;
4010
+ detail?: string | undefined;
4011
+ source?: {
4012
+ pointer?: string | undefined;
4013
+ parameter?: string | undefined;
4014
+ } | undefined;
4015
+ }[];
4016
+ meta?: Record<string, unknown> | undefined;
4017
+ }>;
4018
+ 403: z.ZodObject<{
4019
+ errors: z.ZodArray<z.ZodObject<{
4020
+ id: z.ZodOptional<z.ZodString>;
4021
+ links: z.ZodOptional<z.ZodObject<{
4022
+ about: z.ZodOptional<z.ZodString>;
4023
+ }, "strip", z.ZodTypeAny, {
4024
+ about?: string | undefined;
4025
+ }, {
4026
+ about?: string | undefined;
4027
+ }>>;
4028
+ status: z.ZodOptional<z.ZodString>;
4029
+ code: z.ZodOptional<z.ZodString>;
4030
+ title: z.ZodOptional<z.ZodString>;
4031
+ detail: z.ZodOptional<z.ZodString>;
4032
+ source: z.ZodOptional<z.ZodObject<{
4033
+ pointer: z.ZodOptional<z.ZodString>;
4034
+ parameter: z.ZodOptional<z.ZodString>;
4035
+ }, "strip", z.ZodTypeAny, {
4036
+ pointer?: string | undefined;
4037
+ parameter?: string | undefined;
4038
+ }, {
4039
+ pointer?: string | undefined;
4040
+ parameter?: string | undefined;
4041
+ }>>;
4042
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4043
+ }, "strip", z.ZodTypeAny, {
4044
+ status?: string | undefined;
4045
+ code?: string | undefined;
4046
+ id?: string | undefined;
4047
+ links?: {
4048
+ about?: string | undefined;
4049
+ } | undefined;
4050
+ meta?: Record<string, unknown> | undefined;
4051
+ title?: string | undefined;
4052
+ detail?: string | undefined;
4053
+ source?: {
4054
+ pointer?: string | undefined;
4055
+ parameter?: string | undefined;
4056
+ } | undefined;
4057
+ }, {
4058
+ status?: string | undefined;
4059
+ code?: string | undefined;
4060
+ id?: string | undefined;
4061
+ links?: {
4062
+ about?: string | undefined;
4063
+ } | undefined;
4064
+ meta?: Record<string, unknown> | undefined;
4065
+ title?: string | undefined;
4066
+ detail?: string | undefined;
4067
+ source?: {
4068
+ pointer?: string | undefined;
4069
+ parameter?: string | undefined;
4070
+ } | undefined;
4071
+ }>, "many">;
4072
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4073
+ }, "strip", z.ZodTypeAny, {
4074
+ errors: {
4075
+ status?: string | undefined;
4076
+ code?: string | undefined;
4077
+ id?: string | undefined;
4078
+ links?: {
4079
+ about?: string | undefined;
4080
+ } | undefined;
4081
+ meta?: Record<string, unknown> | undefined;
4082
+ title?: string | undefined;
4083
+ detail?: string | undefined;
4084
+ source?: {
4085
+ pointer?: string | undefined;
4086
+ parameter?: string | undefined;
4087
+ } | undefined;
4088
+ }[];
4089
+ meta?: Record<string, unknown> | undefined;
4090
+ }, {
4091
+ errors: {
4092
+ status?: string | undefined;
4093
+ code?: string | undefined;
4094
+ id?: string | undefined;
4095
+ links?: {
4096
+ about?: string | undefined;
4097
+ } | undefined;
4098
+ meta?: Record<string, unknown> | undefined;
4099
+ title?: string | undefined;
4100
+ detail?: string | undefined;
4101
+ source?: {
4102
+ pointer?: string | undefined;
4103
+ parameter?: string | undefined;
4104
+ } | undefined;
4105
+ }[];
4106
+ meta?: Record<string, unknown> | undefined;
4107
+ }>;
4108
+ 404: z.ZodObject<{
4109
+ errors: z.ZodArray<z.ZodObject<{
4110
+ id: z.ZodOptional<z.ZodString>;
4111
+ links: z.ZodOptional<z.ZodObject<{
4112
+ about: z.ZodOptional<z.ZodString>;
4113
+ }, "strip", z.ZodTypeAny, {
4114
+ about?: string | undefined;
4115
+ }, {
4116
+ about?: string | undefined;
4117
+ }>>;
4118
+ status: z.ZodOptional<z.ZodString>;
4119
+ code: z.ZodOptional<z.ZodString>;
4120
+ title: z.ZodOptional<z.ZodString>;
4121
+ detail: z.ZodOptional<z.ZodString>;
4122
+ source: z.ZodOptional<z.ZodObject<{
4123
+ pointer: z.ZodOptional<z.ZodString>;
4124
+ parameter: z.ZodOptional<z.ZodString>;
4125
+ }, "strip", z.ZodTypeAny, {
4126
+ pointer?: string | undefined;
4127
+ parameter?: string | undefined;
4128
+ }, {
4129
+ pointer?: string | undefined;
4130
+ parameter?: string | undefined;
4131
+ }>>;
4132
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4133
+ }, "strip", z.ZodTypeAny, {
4134
+ status?: string | undefined;
4135
+ code?: string | undefined;
4136
+ id?: string | undefined;
4137
+ links?: {
4138
+ about?: string | undefined;
4139
+ } | undefined;
4140
+ meta?: Record<string, unknown> | undefined;
4141
+ title?: string | undefined;
4142
+ detail?: string | undefined;
4143
+ source?: {
4144
+ pointer?: string | undefined;
4145
+ parameter?: string | undefined;
4146
+ } | undefined;
4147
+ }, {
4148
+ status?: string | undefined;
4149
+ code?: string | undefined;
4150
+ id?: string | undefined;
4151
+ links?: {
4152
+ about?: string | undefined;
4153
+ } | undefined;
4154
+ meta?: Record<string, unknown> | undefined;
4155
+ title?: string | undefined;
4156
+ detail?: string | undefined;
4157
+ source?: {
4158
+ pointer?: string | undefined;
4159
+ parameter?: string | undefined;
4160
+ } | undefined;
4161
+ }>, "many">;
4162
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4163
+ }, "strip", z.ZodTypeAny, {
4164
+ errors: {
4165
+ status?: string | undefined;
4166
+ code?: string | undefined;
4167
+ id?: string | undefined;
4168
+ links?: {
4169
+ about?: string | undefined;
4170
+ } | undefined;
4171
+ meta?: Record<string, unknown> | undefined;
4172
+ title?: string | undefined;
4173
+ detail?: string | undefined;
4174
+ source?: {
4175
+ pointer?: string | undefined;
4176
+ parameter?: string | undefined;
4177
+ } | undefined;
4178
+ }[];
4179
+ meta?: Record<string, unknown> | undefined;
4180
+ }, {
4181
+ errors: {
4182
+ status?: string | undefined;
4183
+ code?: string | undefined;
4184
+ id?: string | undefined;
4185
+ links?: {
4186
+ about?: string | undefined;
4187
+ } | undefined;
4188
+ meta?: Record<string, unknown> | undefined;
4189
+ title?: string | undefined;
4190
+ detail?: string | undefined;
4191
+ source?: {
4192
+ pointer?: string | undefined;
4193
+ parameter?: string | undefined;
4194
+ } | undefined;
4195
+ }[];
4196
+ meta?: Record<string, unknown> | undefined;
4197
+ }>;
4198
+ 422: z.ZodObject<{
4199
+ errors: z.ZodArray<z.ZodObject<{
4200
+ id: z.ZodOptional<z.ZodString>;
4201
+ links: z.ZodOptional<z.ZodObject<{
4202
+ about: z.ZodOptional<z.ZodString>;
4203
+ }, "strip", z.ZodTypeAny, {
4204
+ about?: string | undefined;
4205
+ }, {
4206
+ about?: string | undefined;
4207
+ }>>;
4208
+ status: z.ZodOptional<z.ZodString>;
4209
+ code: z.ZodOptional<z.ZodString>;
4210
+ title: z.ZodOptional<z.ZodString>;
4211
+ detail: z.ZodOptional<z.ZodString>;
4212
+ source: z.ZodOptional<z.ZodObject<{
4213
+ pointer: z.ZodOptional<z.ZodString>;
4214
+ parameter: z.ZodOptional<z.ZodString>;
4215
+ }, "strip", z.ZodTypeAny, {
4216
+ pointer?: string | undefined;
4217
+ parameter?: string | undefined;
4218
+ }, {
4219
+ pointer?: string | undefined;
4220
+ parameter?: string | undefined;
4221
+ }>>;
4222
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4223
+ }, "strip", z.ZodTypeAny, {
4224
+ status?: string | undefined;
4225
+ code?: string | undefined;
4226
+ id?: string | undefined;
4227
+ links?: {
4228
+ about?: string | undefined;
4229
+ } | undefined;
4230
+ meta?: Record<string, unknown> | undefined;
4231
+ title?: string | undefined;
4232
+ detail?: string | undefined;
4233
+ source?: {
4234
+ pointer?: string | undefined;
4235
+ parameter?: string | undefined;
4236
+ } | undefined;
4237
+ }, {
4238
+ status?: string | undefined;
4239
+ code?: string | undefined;
4240
+ id?: string | undefined;
4241
+ links?: {
4242
+ about?: string | undefined;
4243
+ } | undefined;
4244
+ meta?: Record<string, unknown> | undefined;
4245
+ title?: string | undefined;
4246
+ detail?: string | undefined;
4247
+ source?: {
4248
+ pointer?: string | undefined;
4249
+ parameter?: string | undefined;
4250
+ } | undefined;
4251
+ }>, "many">;
4252
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4253
+ }, "strip", z.ZodTypeAny, {
4254
+ errors: {
4255
+ status?: string | undefined;
4256
+ code?: string | undefined;
4257
+ id?: string | undefined;
4258
+ links?: {
4259
+ about?: string | undefined;
4260
+ } | undefined;
4261
+ meta?: Record<string, unknown> | undefined;
4262
+ title?: string | undefined;
4263
+ detail?: string | undefined;
4264
+ source?: {
4265
+ pointer?: string | undefined;
4266
+ parameter?: string | undefined;
4267
+ } | undefined;
4268
+ }[];
4269
+ meta?: Record<string, unknown> | undefined;
4270
+ }, {
4271
+ errors: {
4272
+ status?: string | undefined;
4273
+ code?: string | undefined;
4274
+ id?: string | undefined;
4275
+ links?: {
4276
+ about?: string | undefined;
4277
+ } | undefined;
4278
+ meta?: Record<string, unknown> | undefined;
4279
+ title?: string | undefined;
4280
+ detail?: string | undefined;
4281
+ source?: {
4282
+ pointer?: string | undefined;
4283
+ parameter?: string | undefined;
4284
+ } | undefined;
4285
+ }[];
4286
+ meta?: Record<string, unknown> | undefined;
4287
+ }>;
4288
+ };
4289
+ };
2537
4290
  listBankAccounts: {
2538
4291
  pathParams: z.ZodObject<{
2539
4292
  organizationId: z.ZodString;