@deepintel-ltd/farmpro-contracts 1.25.2 → 1.26.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.
- package/dist/routes/farm-enterprises.routes.d.ts +44 -44
- package/dist/routes/farms.routes.d.ts +9 -9
- package/dist/routes/geofences.routes.d.ts +2 -2
- package/dist/routes/livestock-groups.routes.d.ts +724 -54
- package/dist/routes/livestock-groups.routes.d.ts.map +1 -1
- package/dist/routes/livestock-groups.routes.js +17 -1
- package/dist/routes/livestock.routes.d.ts +3505 -42
- package/dist/routes/livestock.routes.d.ts.map +1 -1
- package/dist/routes/livestock.routes.js +111 -1
- package/dist/routes/organizations.routes.d.ts +112 -14
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/team.routes.d.ts +44 -44
- package/dist/routes/trade-cash-events.routes.d.ts +7668 -559
- package/dist/routes/trade-cash-events.routes.d.ts.map +1 -1
- package/dist/routes/trade-cash-events.routes.js +148 -2
- package/dist/schemas/farm-enterprises.schemas.d.ts +58 -58
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-enterprises.schemas.js +1 -0
- package/dist/schemas/farms.schemas.d.ts +12 -12
- package/dist/schemas/farms.schemas.js +1 -1
- package/dist/schemas/geofences.schemas.d.ts +4 -4
- package/dist/schemas/livestock-groups.schemas.d.ts +166 -40
- package/dist/schemas/livestock-groups.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock-groups.schemas.js +25 -0
- package/dist/schemas/livestock.schemas.d.ts +1796 -36
- package/dist/schemas/livestock.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock.schemas.js +129 -0
- package/dist/schemas/organizations.schemas.d.ts +104 -16
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +8 -1
- package/dist/schemas/team.schemas.d.ts +43 -43
- package/dist/schemas/team.schemas.d.ts.map +1 -1
- package/dist/schemas/team.schemas.js +1 -0
- package/dist/schemas/trade-cash-events.schemas.d.ts +2605 -68
- package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -1
- package/dist/schemas/trade-cash-events.schemas.js +204 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"livestock.routes.d.ts","sourceRoot":"","sources":["../../src/routes/livestock.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6BxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4U1B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { initContract } from '@ts-rest/core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { createLivestockSchema, updateLivestockSchema, createHealthRecordSchema, createWeightRecordSchema, createMovementRecordSchema, livestockResponseSchema, livestockListResponseSchema, healthRecordResponseSchema, healthRecordListResponseSchema, weightRecordResponseSchema, movementRecordResponseSchema, movementRecordListResponseSchema, livestockStatsResponseSchema, livestockCategorySchema, livestockStatusSchema, livestockSexSchema, } from '../schemas/livestock.schemas';
|
|
3
|
+
import { createLivestockSchema, updateLivestockSchema, createHealthRecordSchema, createWeightRecordSchema, createMovementRecordSchema, createSaleTicketSchema, createBreedingEventSchema, livestockResponseSchema, livestockListResponseSchema, healthRecordResponseSchema, healthRecordListResponseSchema, weightRecordResponseSchema, movementRecordResponseSchema, movementRecordListResponseSchema, saleTicketResponseSchema, breedingEventResponseSchema, breedingEventListResponseSchema, livestockStatsResponseSchema, livestockCategorySchema, livestockStatusSchema, livestockSexSchema, breedingEventTypeSchema, createFamachaSchema, famachaResponseSchema, famachaListResponseSchema, } from '../schemas/livestock.schemas';
|
|
4
4
|
import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, jsonApiIncludeQuerySchema, } from '../schemas/common.schemas';
|
|
5
5
|
const c = initContract();
|
|
6
6
|
export const livestockRouter = c.router({
|
|
@@ -203,4 +203,114 @@ export const livestockRouter = c.router({
|
|
|
203
203
|
summary: 'List movements',
|
|
204
204
|
description: 'Get all movement records for a livestock',
|
|
205
205
|
},
|
|
206
|
+
// Record sale ticket (SOLD + revenue)
|
|
207
|
+
recordSaleTicket: {
|
|
208
|
+
method: 'POST',
|
|
209
|
+
path: '/farms/:farmId/livestock/:id/sale-ticket',
|
|
210
|
+
pathParams: z.object({
|
|
211
|
+
farmId: z.string().uuid(),
|
|
212
|
+
id: z.string().uuid(),
|
|
213
|
+
}),
|
|
214
|
+
body: z.object({ data: createSaleTicketSchema }),
|
|
215
|
+
responses: {
|
|
216
|
+
201: saleTicketResponseSchema,
|
|
217
|
+
400: jsonApiErrorResponseSchema,
|
|
218
|
+
404: jsonApiErrorResponseSchema,
|
|
219
|
+
401: jsonApiErrorResponseSchema,
|
|
220
|
+
422: jsonApiErrorResponseSchema,
|
|
221
|
+
},
|
|
222
|
+
summary: 'Record livestock sale ticket',
|
|
223
|
+
description: 'Mark animal SOLD, create a sale movement, and post matching Revenue for herd P&L',
|
|
224
|
+
},
|
|
225
|
+
// List breeding events for one animal (as dam or sire)
|
|
226
|
+
listBreedingEvents: {
|
|
227
|
+
method: 'GET',
|
|
228
|
+
path: '/farms/:farmId/livestock/:id/breeding-events',
|
|
229
|
+
pathParams: z.object({
|
|
230
|
+
farmId: z.string().uuid(),
|
|
231
|
+
id: z.string().uuid(),
|
|
232
|
+
}),
|
|
233
|
+
query: jsonApiPaginationQuerySchema.merge(jsonApiSortQuerySchema),
|
|
234
|
+
responses: {
|
|
235
|
+
200: breedingEventListResponseSchema,
|
|
236
|
+
404: jsonApiErrorResponseSchema,
|
|
237
|
+
401: jsonApiErrorResponseSchema,
|
|
238
|
+
},
|
|
239
|
+
summary: 'List breeding events for livestock',
|
|
240
|
+
description: 'Get breeding events where this animal is dam or sire',
|
|
241
|
+
},
|
|
242
|
+
// Create breeding event (path animal is the dam)
|
|
243
|
+
createBreedingEvent: {
|
|
244
|
+
method: 'POST',
|
|
245
|
+
path: '/farms/:farmId/livestock/:id/breeding-events',
|
|
246
|
+
pathParams: z.object({
|
|
247
|
+
farmId: z.string().uuid(),
|
|
248
|
+
id: z.string().uuid(),
|
|
249
|
+
}),
|
|
250
|
+
body: z.object({ data: createBreedingEventSchema }),
|
|
251
|
+
responses: {
|
|
252
|
+
201: breedingEventResponseSchema,
|
|
253
|
+
400: jsonApiErrorResponseSchema,
|
|
254
|
+
404: jsonApiErrorResponseSchema,
|
|
255
|
+
401: jsonApiErrorResponseSchema,
|
|
256
|
+
409: jsonApiErrorResponseSchema,
|
|
257
|
+
422: jsonApiErrorResponseSchema,
|
|
258
|
+
},
|
|
259
|
+
summary: 'Create breeding event',
|
|
260
|
+
description: 'Log heat, serve, pregnancy check, or birth. Birth with calfCount creates offspring linked to dam/sire.',
|
|
261
|
+
},
|
|
262
|
+
// Optional farm-wide breeding event list
|
|
263
|
+
listFarmBreedingEvents: {
|
|
264
|
+
method: 'GET',
|
|
265
|
+
path: '/farms/:farmId/livestock-breeding-events',
|
|
266
|
+
pathParams: z.object({ farmId: z.string().uuid() }),
|
|
267
|
+
query: jsonApiPaginationQuerySchema
|
|
268
|
+
.merge(jsonApiSortQuerySchema)
|
|
269
|
+
.merge(z.object({
|
|
270
|
+
'filter[eventType]': breedingEventTypeSchema.optional(),
|
|
271
|
+
'filter[damId]': z.string().uuid().optional(),
|
|
272
|
+
})),
|
|
273
|
+
responses: {
|
|
274
|
+
200: breedingEventListResponseSchema,
|
|
275
|
+
404: jsonApiErrorResponseSchema,
|
|
276
|
+
401: jsonApiErrorResponseSchema,
|
|
277
|
+
},
|
|
278
|
+
summary: 'List farm breeding events',
|
|
279
|
+
description: 'Get all breeding events for a farm',
|
|
280
|
+
},
|
|
281
|
+
// FAMACHA scores (goat/sheep)
|
|
282
|
+
listFamachaScores: {
|
|
283
|
+
method: 'GET',
|
|
284
|
+
path: '/farms/:farmId/livestock/:id/famacha',
|
|
285
|
+
pathParams: z.object({
|
|
286
|
+
farmId: z.string().uuid(),
|
|
287
|
+
id: z.string().uuid(),
|
|
288
|
+
}),
|
|
289
|
+
query: jsonApiPaginationQuerySchema.merge(jsonApiSortQuerySchema),
|
|
290
|
+
responses: {
|
|
291
|
+
200: famachaListResponseSchema,
|
|
292
|
+
404: jsonApiErrorResponseSchema,
|
|
293
|
+
401: jsonApiErrorResponseSchema,
|
|
294
|
+
},
|
|
295
|
+
summary: 'List FAMACHA scores',
|
|
296
|
+
description: 'Get FAMACHA anemia scores for a goat or sheep',
|
|
297
|
+
},
|
|
298
|
+
createFamachaScore: {
|
|
299
|
+
method: 'POST',
|
|
300
|
+
path: '/farms/:farmId/livestock/:id/famacha',
|
|
301
|
+
pathParams: z.object({
|
|
302
|
+
farmId: z.string().uuid(),
|
|
303
|
+
id: z.string().uuid(),
|
|
304
|
+
}),
|
|
305
|
+
body: z.object({ data: createFamachaSchema }),
|
|
306
|
+
responses: {
|
|
307
|
+
201: famachaResponseSchema,
|
|
308
|
+
400: jsonApiErrorResponseSchema,
|
|
309
|
+
404: jsonApiErrorResponseSchema,
|
|
310
|
+
401: jsonApiErrorResponseSchema,
|
|
311
|
+
422: jsonApiErrorResponseSchema,
|
|
312
|
+
},
|
|
313
|
+
summary: 'Record FAMACHA score',
|
|
314
|
+
description: 'Log a FAMACHA score (1–5) for goat or sheep',
|
|
315
|
+
},
|
|
206
316
|
});
|
|
@@ -32,6 +32,8 @@ export declare const organizationsRouter: {
|
|
|
32
32
|
logo: z.ZodNullable<z.ZodString>;
|
|
33
33
|
commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
|
|
34
34
|
companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
companyFeePercentOfReturns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
+
companyFeePerKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
37
|
membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
|
|
36
38
|
} & {
|
|
37
39
|
createdAt: z.ZodString;
|
|
@@ -46,6 +48,8 @@ export declare const organizationsRouter: {
|
|
|
46
48
|
logo: string | null;
|
|
47
49
|
commodityCommissionRate: number | null;
|
|
48
50
|
companyCommissionRate?: number | null | undefined;
|
|
51
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
52
|
+
companyFeePerKg?: number | null | undefined;
|
|
49
53
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
50
54
|
}, {
|
|
51
55
|
email: string | null;
|
|
@@ -57,6 +61,8 @@ export declare const organizationsRouter: {
|
|
|
57
61
|
logo: string | null;
|
|
58
62
|
commodityCommissionRate: number | null;
|
|
59
63
|
companyCommissionRate?: number | null | undefined;
|
|
64
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
65
|
+
companyFeePerKg?: number | null | undefined;
|
|
60
66
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
61
67
|
}>;
|
|
62
68
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -75,6 +81,8 @@ export declare const organizationsRouter: {
|
|
|
75
81
|
logo: string | null;
|
|
76
82
|
commodityCommissionRate: number | null;
|
|
77
83
|
companyCommissionRate?: number | null | undefined;
|
|
84
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
85
|
+
companyFeePerKg?: number | null | undefined;
|
|
78
86
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
79
87
|
};
|
|
80
88
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -93,6 +101,8 @@ export declare const organizationsRouter: {
|
|
|
93
101
|
logo: string | null;
|
|
94
102
|
commodityCommissionRate: number | null;
|
|
95
103
|
companyCommissionRate?: number | null | undefined;
|
|
104
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
105
|
+
companyFeePerKg?: number | null | undefined;
|
|
96
106
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
97
107
|
};
|
|
98
108
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -137,6 +147,8 @@ export declare const organizationsRouter: {
|
|
|
137
147
|
logo: string | null;
|
|
138
148
|
commodityCommissionRate: number | null;
|
|
139
149
|
companyCommissionRate?: number | null | undefined;
|
|
150
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
151
|
+
companyFeePerKg?: number | null | undefined;
|
|
140
152
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
141
153
|
};
|
|
142
154
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -167,6 +179,8 @@ export declare const organizationsRouter: {
|
|
|
167
179
|
logo: string | null;
|
|
168
180
|
commodityCommissionRate: number | null;
|
|
169
181
|
companyCommissionRate?: number | null | undefined;
|
|
182
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
183
|
+
companyFeePerKg?: number | null | undefined;
|
|
170
184
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
171
185
|
};
|
|
172
186
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -290,7 +304,9 @@ export declare const organizationsRouter: {
|
|
|
290
304
|
address: z.ZodOptional<z.ZodString>;
|
|
291
305
|
logo: z.ZodOptional<z.ZodString>;
|
|
292
306
|
commodityCommissionRate: z.ZodOptional<z.ZodNumber>;
|
|
293
|
-
companyCommissionRate: z.ZodOptional<z.ZodNumber
|
|
307
|
+
companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
308
|
+
companyFeePercentOfReturns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
309
|
+
companyFeePerKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
294
310
|
}, "strip", z.ZodTypeAny, {
|
|
295
311
|
name: string;
|
|
296
312
|
email?: string | undefined;
|
|
@@ -298,7 +314,9 @@ export declare const organizationsRouter: {
|
|
|
298
314
|
address?: string | undefined;
|
|
299
315
|
logo?: string | undefined;
|
|
300
316
|
commodityCommissionRate?: number | undefined;
|
|
301
|
-
companyCommissionRate?: number | undefined;
|
|
317
|
+
companyCommissionRate?: number | null | undefined;
|
|
318
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
319
|
+
companyFeePerKg?: number | null | undefined;
|
|
302
320
|
}, {
|
|
303
321
|
name: string;
|
|
304
322
|
email?: string | undefined;
|
|
@@ -306,7 +324,9 @@ export declare const organizationsRouter: {
|
|
|
306
324
|
address?: string | undefined;
|
|
307
325
|
logo?: string | undefined;
|
|
308
326
|
commodityCommissionRate?: number | undefined;
|
|
309
|
-
companyCommissionRate?: number | undefined;
|
|
327
|
+
companyCommissionRate?: number | null | undefined;
|
|
328
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
329
|
+
companyFeePerKg?: number | null | undefined;
|
|
310
330
|
}>;
|
|
311
331
|
}, "strip", z.ZodTypeAny, {
|
|
312
332
|
type: "organizations";
|
|
@@ -317,7 +337,9 @@ export declare const organizationsRouter: {
|
|
|
317
337
|
address?: string | undefined;
|
|
318
338
|
logo?: string | undefined;
|
|
319
339
|
commodityCommissionRate?: number | undefined;
|
|
320
|
-
companyCommissionRate?: number | undefined;
|
|
340
|
+
companyCommissionRate?: number | null | undefined;
|
|
341
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
342
|
+
companyFeePerKg?: number | null | undefined;
|
|
321
343
|
};
|
|
322
344
|
}, {
|
|
323
345
|
type: "organizations";
|
|
@@ -328,7 +350,9 @@ export declare const organizationsRouter: {
|
|
|
328
350
|
address?: string | undefined;
|
|
329
351
|
logo?: string | undefined;
|
|
330
352
|
commodityCommissionRate?: number | undefined;
|
|
331
|
-
companyCommissionRate?: number | undefined;
|
|
353
|
+
companyCommissionRate?: number | null | undefined;
|
|
354
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
355
|
+
companyFeePerKg?: number | null | undefined;
|
|
332
356
|
};
|
|
333
357
|
}>;
|
|
334
358
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -341,7 +365,9 @@ export declare const organizationsRouter: {
|
|
|
341
365
|
address?: string | undefined;
|
|
342
366
|
logo?: string | undefined;
|
|
343
367
|
commodityCommissionRate?: number | undefined;
|
|
344
|
-
companyCommissionRate?: number | undefined;
|
|
368
|
+
companyCommissionRate?: number | null | undefined;
|
|
369
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
370
|
+
companyFeePerKg?: number | null | undefined;
|
|
345
371
|
};
|
|
346
372
|
};
|
|
347
373
|
}, {
|
|
@@ -354,7 +380,9 @@ export declare const organizationsRouter: {
|
|
|
354
380
|
address?: string | undefined;
|
|
355
381
|
logo?: string | undefined;
|
|
356
382
|
commodityCommissionRate?: number | undefined;
|
|
357
|
-
companyCommissionRate?: number | undefined;
|
|
383
|
+
companyCommissionRate?: number | null | undefined;
|
|
384
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
385
|
+
companyFeePerKg?: number | null | undefined;
|
|
358
386
|
};
|
|
359
387
|
};
|
|
360
388
|
}>;
|
|
@@ -372,6 +400,8 @@ export declare const organizationsRouter: {
|
|
|
372
400
|
logo: z.ZodNullable<z.ZodString>;
|
|
373
401
|
commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
|
|
374
402
|
companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
403
|
+
companyFeePercentOfReturns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
404
|
+
companyFeePerKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
375
405
|
membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
|
|
376
406
|
} & {
|
|
377
407
|
createdAt: z.ZodString;
|
|
@@ -386,6 +416,8 @@ export declare const organizationsRouter: {
|
|
|
386
416
|
logo: string | null;
|
|
387
417
|
commodityCommissionRate: number | null;
|
|
388
418
|
companyCommissionRate?: number | null | undefined;
|
|
419
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
420
|
+
companyFeePerKg?: number | null | undefined;
|
|
389
421
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
390
422
|
}, {
|
|
391
423
|
email: string | null;
|
|
@@ -397,6 +429,8 @@ export declare const organizationsRouter: {
|
|
|
397
429
|
logo: string | null;
|
|
398
430
|
commodityCommissionRate: number | null;
|
|
399
431
|
companyCommissionRate?: number | null | undefined;
|
|
432
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
433
|
+
companyFeePerKg?: number | null | undefined;
|
|
400
434
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
401
435
|
}>;
|
|
402
436
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -415,6 +449,8 @@ export declare const organizationsRouter: {
|
|
|
415
449
|
logo: string | null;
|
|
416
450
|
commodityCommissionRate: number | null;
|
|
417
451
|
companyCommissionRate?: number | null | undefined;
|
|
452
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
453
|
+
companyFeePerKg?: number | null | undefined;
|
|
418
454
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
419
455
|
};
|
|
420
456
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -433,6 +469,8 @@ export declare const organizationsRouter: {
|
|
|
433
469
|
logo: string | null;
|
|
434
470
|
commodityCommissionRate: number | null;
|
|
435
471
|
companyCommissionRate?: number | null | undefined;
|
|
472
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
473
|
+
companyFeePerKg?: number | null | undefined;
|
|
436
474
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
437
475
|
};
|
|
438
476
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -477,6 +515,8 @@ export declare const organizationsRouter: {
|
|
|
477
515
|
logo: string | null;
|
|
478
516
|
commodityCommissionRate: number | null;
|
|
479
517
|
companyCommissionRate?: number | null | undefined;
|
|
518
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
519
|
+
companyFeePerKg?: number | null | undefined;
|
|
480
520
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
481
521
|
};
|
|
482
522
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -507,6 +547,8 @@ export declare const organizationsRouter: {
|
|
|
507
547
|
logo: string | null;
|
|
508
548
|
commodityCommissionRate: number | null;
|
|
509
549
|
companyCommissionRate?: number | null | undefined;
|
|
550
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
551
|
+
companyFeePerKg?: number | null | undefined;
|
|
510
552
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
511
553
|
};
|
|
512
554
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -821,6 +863,8 @@ export declare const organizationsRouter: {
|
|
|
821
863
|
logo: z.ZodNullable<z.ZodString>;
|
|
822
864
|
commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
|
|
823
865
|
companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
866
|
+
companyFeePercentOfReturns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
867
|
+
companyFeePerKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
824
868
|
membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
|
|
825
869
|
} & {
|
|
826
870
|
createdAt: z.ZodString;
|
|
@@ -835,6 +879,8 @@ export declare const organizationsRouter: {
|
|
|
835
879
|
logo: string | null;
|
|
836
880
|
commodityCommissionRate: number | null;
|
|
837
881
|
companyCommissionRate?: number | null | undefined;
|
|
882
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
883
|
+
companyFeePerKg?: number | null | undefined;
|
|
838
884
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
839
885
|
}, {
|
|
840
886
|
email: string | null;
|
|
@@ -846,6 +892,8 @@ export declare const organizationsRouter: {
|
|
|
846
892
|
logo: string | null;
|
|
847
893
|
commodityCommissionRate: number | null;
|
|
848
894
|
companyCommissionRate?: number | null | undefined;
|
|
895
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
896
|
+
companyFeePerKg?: number | null | undefined;
|
|
849
897
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
850
898
|
}>;
|
|
851
899
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -864,6 +912,8 @@ export declare const organizationsRouter: {
|
|
|
864
912
|
logo: string | null;
|
|
865
913
|
commodityCommissionRate: number | null;
|
|
866
914
|
companyCommissionRate?: number | null | undefined;
|
|
915
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
916
|
+
companyFeePerKg?: number | null | undefined;
|
|
867
917
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
868
918
|
};
|
|
869
919
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -882,6 +932,8 @@ export declare const organizationsRouter: {
|
|
|
882
932
|
logo: string | null;
|
|
883
933
|
commodityCommissionRate: number | null;
|
|
884
934
|
companyCommissionRate?: number | null | undefined;
|
|
935
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
936
|
+
companyFeePerKg?: number | null | undefined;
|
|
885
937
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
886
938
|
};
|
|
887
939
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -926,6 +978,8 @@ export declare const organizationsRouter: {
|
|
|
926
978
|
logo: string | null;
|
|
927
979
|
commodityCommissionRate: number | null;
|
|
928
980
|
companyCommissionRate?: number | null | undefined;
|
|
981
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
982
|
+
companyFeePerKg?: number | null | undefined;
|
|
929
983
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
930
984
|
};
|
|
931
985
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -956,6 +1010,8 @@ export declare const organizationsRouter: {
|
|
|
956
1010
|
logo: string | null;
|
|
957
1011
|
commodityCommissionRate: number | null;
|
|
958
1012
|
companyCommissionRate?: number | null | undefined;
|
|
1013
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1014
|
+
companyFeePerKg?: number | null | undefined;
|
|
959
1015
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
960
1016
|
};
|
|
961
1017
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1177,7 +1233,9 @@ export declare const organizationsRouter: {
|
|
|
1177
1233
|
address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1178
1234
|
logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1179
1235
|
commodityCommissionRate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1180
|
-
companyCommissionRate: z.ZodOptional<z.ZodOptional<z.ZodNumber
|
|
1236
|
+
companyCommissionRate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1237
|
+
companyFeePercentOfReturns: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1238
|
+
companyFeePerKg: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1181
1239
|
} & {
|
|
1182
1240
|
commodityCommissionApplyTo: z.ZodOptional<z.ZodEnum<["future", "open_and_future"]>>;
|
|
1183
1241
|
companyCommissionApplyTo: z.ZodOptional<z.ZodEnum<["future", "open_and_future"]>>;
|
|
@@ -1188,7 +1246,9 @@ export declare const organizationsRouter: {
|
|
|
1188
1246
|
address?: string | undefined;
|
|
1189
1247
|
logo?: string | undefined;
|
|
1190
1248
|
commodityCommissionRate?: number | undefined;
|
|
1191
|
-
companyCommissionRate?: number | undefined;
|
|
1249
|
+
companyCommissionRate?: number | null | undefined;
|
|
1250
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1251
|
+
companyFeePerKg?: number | null | undefined;
|
|
1192
1252
|
commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1193
1253
|
companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1194
1254
|
}, {
|
|
@@ -1198,7 +1258,9 @@ export declare const organizationsRouter: {
|
|
|
1198
1258
|
address?: string | undefined;
|
|
1199
1259
|
logo?: string | undefined;
|
|
1200
1260
|
commodityCommissionRate?: number | undefined;
|
|
1201
|
-
companyCommissionRate?: number | undefined;
|
|
1261
|
+
companyCommissionRate?: number | null | undefined;
|
|
1262
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1263
|
+
companyFeePerKg?: number | null | undefined;
|
|
1202
1264
|
commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1203
1265
|
companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1204
1266
|
}>;
|
|
@@ -1211,7 +1273,9 @@ export declare const organizationsRouter: {
|
|
|
1211
1273
|
address?: string | undefined;
|
|
1212
1274
|
logo?: string | undefined;
|
|
1213
1275
|
commodityCommissionRate?: number | undefined;
|
|
1214
|
-
companyCommissionRate?: number | undefined;
|
|
1276
|
+
companyCommissionRate?: number | null | undefined;
|
|
1277
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1278
|
+
companyFeePerKg?: number | null | undefined;
|
|
1215
1279
|
commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1216
1280
|
companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1217
1281
|
};
|
|
@@ -1225,7 +1289,9 @@ export declare const organizationsRouter: {
|
|
|
1225
1289
|
address?: string | undefined;
|
|
1226
1290
|
logo?: string | undefined;
|
|
1227
1291
|
commodityCommissionRate?: number | undefined;
|
|
1228
|
-
companyCommissionRate?: number | undefined;
|
|
1292
|
+
companyCommissionRate?: number | null | undefined;
|
|
1293
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1294
|
+
companyFeePerKg?: number | null | undefined;
|
|
1229
1295
|
commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1230
1296
|
companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1231
1297
|
};
|
|
@@ -1241,7 +1307,9 @@ export declare const organizationsRouter: {
|
|
|
1241
1307
|
address?: string | undefined;
|
|
1242
1308
|
logo?: string | undefined;
|
|
1243
1309
|
commodityCommissionRate?: number | undefined;
|
|
1244
|
-
companyCommissionRate?: number | undefined;
|
|
1310
|
+
companyCommissionRate?: number | null | undefined;
|
|
1311
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1312
|
+
companyFeePerKg?: number | null | undefined;
|
|
1245
1313
|
commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1246
1314
|
companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1247
1315
|
};
|
|
@@ -1257,7 +1325,9 @@ export declare const organizationsRouter: {
|
|
|
1257
1325
|
address?: string | undefined;
|
|
1258
1326
|
logo?: string | undefined;
|
|
1259
1327
|
commodityCommissionRate?: number | undefined;
|
|
1260
|
-
companyCommissionRate?: number | undefined;
|
|
1328
|
+
companyCommissionRate?: number | null | undefined;
|
|
1329
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1330
|
+
companyFeePerKg?: number | null | undefined;
|
|
1261
1331
|
commodityCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1262
1332
|
companyCommissionApplyTo?: "future" | "open_and_future" | undefined;
|
|
1263
1333
|
};
|
|
@@ -1278,6 +1348,8 @@ export declare const organizationsRouter: {
|
|
|
1278
1348
|
logo: z.ZodNullable<z.ZodString>;
|
|
1279
1349
|
commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
|
|
1280
1350
|
companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1351
|
+
companyFeePercentOfReturns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1352
|
+
companyFeePerKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1281
1353
|
membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
|
|
1282
1354
|
} & {
|
|
1283
1355
|
createdAt: z.ZodString;
|
|
@@ -1292,6 +1364,8 @@ export declare const organizationsRouter: {
|
|
|
1292
1364
|
logo: string | null;
|
|
1293
1365
|
commodityCommissionRate: number | null;
|
|
1294
1366
|
companyCommissionRate?: number | null | undefined;
|
|
1367
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1368
|
+
companyFeePerKg?: number | null | undefined;
|
|
1295
1369
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1296
1370
|
}, {
|
|
1297
1371
|
email: string | null;
|
|
@@ -1303,6 +1377,8 @@ export declare const organizationsRouter: {
|
|
|
1303
1377
|
logo: string | null;
|
|
1304
1378
|
commodityCommissionRate: number | null;
|
|
1305
1379
|
companyCommissionRate?: number | null | undefined;
|
|
1380
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1381
|
+
companyFeePerKg?: number | null | undefined;
|
|
1306
1382
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1307
1383
|
}>;
|
|
1308
1384
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1321,6 +1397,8 @@ export declare const organizationsRouter: {
|
|
|
1321
1397
|
logo: string | null;
|
|
1322
1398
|
commodityCommissionRate: number | null;
|
|
1323
1399
|
companyCommissionRate?: number | null | undefined;
|
|
1400
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1401
|
+
companyFeePerKg?: number | null | undefined;
|
|
1324
1402
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1325
1403
|
};
|
|
1326
1404
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1339,6 +1417,8 @@ export declare const organizationsRouter: {
|
|
|
1339
1417
|
logo: string | null;
|
|
1340
1418
|
commodityCommissionRate: number | null;
|
|
1341
1419
|
companyCommissionRate?: number | null | undefined;
|
|
1420
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1421
|
+
companyFeePerKg?: number | null | undefined;
|
|
1342
1422
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1343
1423
|
};
|
|
1344
1424
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1383,6 +1463,8 @@ export declare const organizationsRouter: {
|
|
|
1383
1463
|
logo: string | null;
|
|
1384
1464
|
commodityCommissionRate: number | null;
|
|
1385
1465
|
companyCommissionRate?: number | null | undefined;
|
|
1466
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1467
|
+
companyFeePerKg?: number | null | undefined;
|
|
1386
1468
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1387
1469
|
};
|
|
1388
1470
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1413,6 +1495,8 @@ export declare const organizationsRouter: {
|
|
|
1413
1495
|
logo: string | null;
|
|
1414
1496
|
commodityCommissionRate: number | null;
|
|
1415
1497
|
companyCommissionRate?: number | null | undefined;
|
|
1498
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1499
|
+
companyFeePerKg?: number | null | undefined;
|
|
1416
1500
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1417
1501
|
};
|
|
1418
1502
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1825,6 +1909,8 @@ export declare const organizationsRouter: {
|
|
|
1825
1909
|
logo: z.ZodNullable<z.ZodString>;
|
|
1826
1910
|
commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
|
|
1827
1911
|
companyCommissionRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1912
|
+
companyFeePercentOfReturns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1913
|
+
companyFeePerKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1828
1914
|
membershipRole: z.ZodOptional<z.ZodEnum<["creator", "admin", "investor"]>>;
|
|
1829
1915
|
} & {
|
|
1830
1916
|
createdAt: z.ZodString;
|
|
@@ -1839,6 +1925,8 @@ export declare const organizationsRouter: {
|
|
|
1839
1925
|
logo: string | null;
|
|
1840
1926
|
commodityCommissionRate: number | null;
|
|
1841
1927
|
companyCommissionRate?: number | null | undefined;
|
|
1928
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1929
|
+
companyFeePerKg?: number | null | undefined;
|
|
1842
1930
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1843
1931
|
}, {
|
|
1844
1932
|
email: string | null;
|
|
@@ -1850,6 +1938,8 @@ export declare const organizationsRouter: {
|
|
|
1850
1938
|
logo: string | null;
|
|
1851
1939
|
commodityCommissionRate: number | null;
|
|
1852
1940
|
companyCommissionRate?: number | null | undefined;
|
|
1941
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1942
|
+
companyFeePerKg?: number | null | undefined;
|
|
1853
1943
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1854
1944
|
}>;
|
|
1855
1945
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1868,6 +1958,8 @@ export declare const organizationsRouter: {
|
|
|
1868
1958
|
logo: string | null;
|
|
1869
1959
|
commodityCommissionRate: number | null;
|
|
1870
1960
|
companyCommissionRate?: number | null | undefined;
|
|
1961
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1962
|
+
companyFeePerKg?: number | null | undefined;
|
|
1871
1963
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1872
1964
|
};
|
|
1873
1965
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1886,6 +1978,8 @@ export declare const organizationsRouter: {
|
|
|
1886
1978
|
logo: string | null;
|
|
1887
1979
|
commodityCommissionRate: number | null;
|
|
1888
1980
|
companyCommissionRate?: number | null | undefined;
|
|
1981
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
1982
|
+
companyFeePerKg?: number | null | undefined;
|
|
1889
1983
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1890
1984
|
};
|
|
1891
1985
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1930,6 +2024,8 @@ export declare const organizationsRouter: {
|
|
|
1930
2024
|
logo: string | null;
|
|
1931
2025
|
commodityCommissionRate: number | null;
|
|
1932
2026
|
companyCommissionRate?: number | null | undefined;
|
|
2027
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
2028
|
+
companyFeePerKg?: number | null | undefined;
|
|
1933
2029
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1934
2030
|
};
|
|
1935
2031
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1960,6 +2056,8 @@ export declare const organizationsRouter: {
|
|
|
1960
2056
|
logo: string | null;
|
|
1961
2057
|
commodityCommissionRate: number | null;
|
|
1962
2058
|
companyCommissionRate?: number | null | undefined;
|
|
2059
|
+
companyFeePercentOfReturns?: number | null | undefined;
|
|
2060
|
+
companyFeePerKg?: number | null | undefined;
|
|
1963
2061
|
membershipRole?: "creator" | "admin" | "investor" | undefined;
|
|
1964
2062
|
};
|
|
1965
2063
|
relationships?: Record<string, unknown> | undefined;
|