@deepintel-ltd/farmpro-contracts 1.23.2 → 1.24.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.
Files changed (43) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -0
  4. package/dist/routes/commodity-deals.routes.d.ts +1339 -0
  5. package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
  6. package/dist/routes/commodity-deals.routes.js +49 -1
  7. package/dist/routes/finance.routes.d.ts +68 -68
  8. package/dist/routes/index.d.ts +2 -0
  9. package/dist/routes/index.d.ts.map +1 -1
  10. package/dist/routes/index.js +2 -0
  11. package/dist/routes/inventory.routes.d.ts +584 -0
  12. package/dist/routes/inventory.routes.d.ts.map +1 -1
  13. package/dist/routes/inventory.routes.js +26 -1
  14. package/dist/routes/live-monitor.routes.d.ts +15 -10
  15. package/dist/routes/live-monitor.routes.d.ts.map +1 -1
  16. package/dist/routes/monitoring-visualization.routes.d.ts +3 -0
  17. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  18. package/dist/routes/poultry.routes.d.ts +3318 -0
  19. package/dist/routes/poultry.routes.d.ts.map +1 -0
  20. package/dist/routes/poultry.routes.js +195 -0
  21. package/dist/routes/team-payments.routes.d.ts +42 -42
  22. package/dist/routes/trade-cash-events.routes.d.ts +20 -20
  23. package/dist/routes/waybills.routes.d.ts +14 -0
  24. package/dist/routes/waybills.routes.d.ts.map +1 -1
  25. package/dist/schemas/commodity-deals.schemas.d.ts +484 -0
  26. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
  27. package/dist/schemas/commodity-deals.schemas.js +34 -0
  28. package/dist/schemas/finance.schemas.d.ts +78 -78
  29. package/dist/schemas/inventory.schemas.d.ts +122 -0
  30. package/dist/schemas/inventory.schemas.d.ts.map +1 -1
  31. package/dist/schemas/inventory.schemas.js +35 -0
  32. package/dist/schemas/live-monitor.schemas.d.ts +24 -16
  33. package/dist/schemas/live-monitor.schemas.d.ts.map +1 -1
  34. package/dist/schemas/live-monitor.schemas.js +3 -2
  35. package/dist/schemas/monitoring-visualization.schemas.d.ts +64 -0
  36. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  37. package/dist/schemas/monitoring-visualization.schemas.js +25 -1
  38. package/dist/schemas/team-payments.schemas.d.ts +30 -30
  39. package/dist/schemas/trade-cash-events.schemas.d.ts +24 -24
  40. package/dist/schemas/waybills.schemas.d.ts +16 -0
  41. package/dist/schemas/waybills.schemas.d.ts.map +1 -1
  42. package/dist/schemas/waybills.schemas.js +1 -0
  43. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"commodity-deals.routes.d.ts","sourceRoot":"","sources":["../../src/routes/commodity-deals.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8O/B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
- import { createCommodityDealSchema, updateCommodityDealSchema, commodityDealResponseSchema, commodityDealListResponseSchema, commodityDealSummaryResponseSchema, commodityDealInsightsResponseSchema, commodityDealInsightsPeriodSchema, commodityDealStatusSchema, createDealParticipantSchema, updateDealParticipantSchema, myEarningsResponseSchema, payAllStaffCommissionsResponseSchema, } from '../schemas/commodity-deals.schemas';
3
+ import { createCommodityDealSchema, updateCommodityDealSchema, commodityDealResponseSchema, commodityDealListResponseSchema, commodityDealSummaryResponseSchema, commodityDealInsightsResponseSchema, commodityDealInsightsPeriodSchema, commodityDealStatusSchema, createDealParticipantSchema, updateDealParticipantSchema, myEarningsResponseSchema, payAllStaffCommissionsResponseSchema, createTradeCostLineSchema, tradeCostLineListResponseSchema, tradeCostLineResponseSchema, } from '../schemas/commodity-deals.schemas';
4
4
  import { jsonApiErrorResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, } from '../schemas/common.schemas';
5
5
  const c = initContract();
6
6
  export const commodityDealsRouter = c.router({
@@ -180,4 +180,52 @@ export const commodityDealsRouter = c.router({
180
180
  },
181
181
  summary: 'Remove a participant from a commodity deal',
182
182
  },
183
+ listTradeCostLines: {
184
+ method: 'GET',
185
+ path: '/organizations/:organizationId/commodity-deals/:id/cost-lines',
186
+ pathParams: z.object({
187
+ organizationId: z.string().uuid(),
188
+ id: z.string().uuid(),
189
+ }),
190
+ responses: {
191
+ 200: tradeCostLineListResponseSchema,
192
+ 401: jsonApiErrorResponseSchema,
193
+ 403: jsonApiErrorResponseSchema,
194
+ 404: jsonApiErrorResponseSchema,
195
+ },
196
+ summary: 'List landed-cost line items for a deal (audit detail; does not alter margin math)',
197
+ },
198
+ createTradeCostLine: {
199
+ method: 'POST',
200
+ path: '/organizations/:organizationId/commodity-deals/:id/cost-lines',
201
+ pathParams: z.object({
202
+ organizationId: z.string().uuid(),
203
+ id: z.string().uuid(),
204
+ }),
205
+ body: z.object({ data: createTradeCostLineSchema }),
206
+ responses: {
207
+ 201: tradeCostLineResponseSchema,
208
+ 400: jsonApiErrorResponseSchema,
209
+ 401: jsonApiErrorResponseSchema,
210
+ 403: jsonApiErrorResponseSchema,
211
+ 404: jsonApiErrorResponseSchema,
212
+ },
213
+ summary: 'Add a landed-cost line item to a deal',
214
+ },
215
+ deleteTradeCostLine: {
216
+ method: 'DELETE',
217
+ path: '/organizations/:organizationId/commodity-deals/:id/cost-lines/:lineId',
218
+ pathParams: z.object({
219
+ organizationId: z.string().uuid(),
220
+ id: z.string().uuid(),
221
+ lineId: z.string().uuid(),
222
+ }),
223
+ responses: {
224
+ 200: z.object({ data: z.null() }),
225
+ 401: jsonApiErrorResponseSchema,
226
+ 403: jsonApiErrorResponseSchema,
227
+ 404: jsonApiErrorResponseSchema,
228
+ },
229
+ summary: 'Delete a landed-cost line item',
230
+ },
183
231
  });
@@ -1871,13 +1871,13 @@ export declare const financeRouter: {
1871
1871
  category: string;
1872
1872
  fieldId: string | null;
1873
1873
  cropId: string | null;
1874
- amount: number;
1875
1874
  allocationType: "crop" | "field" | "general" | "livestock_group";
1875
+ amount: number;
1876
1876
  createdById: string | null;
1877
1877
  createdByName: string | null;
1878
1878
  fieldName?: string | null | undefined;
1879
- cropName?: string | null | undefined;
1880
1879
  groupId?: string | null | undefined;
1880
+ cropName?: string | null | undefined;
1881
1881
  groupName?: string | null | undefined;
1882
1882
  ledgerSourceType?: string | null | undefined;
1883
1883
  ledgerSourceId?: string | null | undefined;
@@ -1890,13 +1890,13 @@ export declare const financeRouter: {
1890
1890
  category: string;
1891
1891
  fieldId: string | null;
1892
1892
  cropId: string | null;
1893
- amount: number;
1894
1893
  allocationType: "crop" | "field" | "general" | "livestock_group";
1894
+ amount: number;
1895
1895
  createdById: string | null;
1896
1896
  createdByName: string | null;
1897
1897
  fieldName?: string | null | undefined;
1898
- cropName?: string | null | undefined;
1899
1898
  groupId?: string | null | undefined;
1899
+ cropName?: string | null | undefined;
1900
1900
  groupName?: string | null | undefined;
1901
1901
  ledgerSourceType?: string | null | undefined;
1902
1902
  ledgerSourceId?: string | null | undefined;
@@ -1916,13 +1916,13 @@ export declare const financeRouter: {
1916
1916
  category: string;
1917
1917
  fieldId: string | null;
1918
1918
  cropId: string | null;
1919
- amount: number;
1920
1919
  allocationType: "crop" | "field" | "general" | "livestock_group";
1920
+ amount: number;
1921
1921
  createdById: string | null;
1922
1922
  createdByName: string | null;
1923
1923
  fieldName?: string | null | undefined;
1924
- cropName?: string | null | undefined;
1925
1924
  groupId?: string | null | undefined;
1925
+ cropName?: string | null | undefined;
1926
1926
  groupName?: string | null | undefined;
1927
1927
  ledgerSourceType?: string | null | undefined;
1928
1928
  ledgerSourceId?: string | null | undefined;
@@ -1942,13 +1942,13 @@ export declare const financeRouter: {
1942
1942
  category: string;
1943
1943
  fieldId: string | null;
1944
1944
  cropId: string | null;
1945
- amount: number;
1946
1945
  allocationType: "crop" | "field" | "general" | "livestock_group";
1946
+ amount: number;
1947
1947
  createdById: string | null;
1948
1948
  createdByName: string | null;
1949
1949
  fieldName?: string | null | undefined;
1950
- cropName?: string | null | undefined;
1951
1950
  groupId?: string | null | undefined;
1951
+ cropName?: string | null | undefined;
1952
1952
  groupName?: string | null | undefined;
1953
1953
  ledgerSourceType?: string | null | undefined;
1954
1954
  ledgerSourceId?: string | null | undefined;
@@ -1994,13 +1994,13 @@ export declare const financeRouter: {
1994
1994
  category: string;
1995
1995
  fieldId: string | null;
1996
1996
  cropId: string | null;
1997
- amount: number;
1998
1997
  allocationType: "crop" | "field" | "general" | "livestock_group";
1998
+ amount: number;
1999
1999
  createdById: string | null;
2000
2000
  createdByName: string | null;
2001
2001
  fieldName?: string | null | undefined;
2002
- cropName?: string | null | undefined;
2003
2002
  groupId?: string | null | undefined;
2003
+ cropName?: string | null | undefined;
2004
2004
  groupName?: string | null | undefined;
2005
2005
  ledgerSourceType?: string | null | undefined;
2006
2006
  ledgerSourceId?: string | null | undefined;
@@ -2032,13 +2032,13 @@ export declare const financeRouter: {
2032
2032
  category: string;
2033
2033
  fieldId: string | null;
2034
2034
  cropId: string | null;
2035
- amount: number;
2036
2035
  allocationType: "crop" | "field" | "general" | "livestock_group";
2036
+ amount: number;
2037
2037
  createdById: string | null;
2038
2038
  createdByName: string | null;
2039
2039
  fieldName?: string | null | undefined;
2040
- cropName?: string | null | undefined;
2041
2040
  groupId?: string | null | undefined;
2041
+ cropName?: string | null | undefined;
2042
2042
  groupName?: string | null | undefined;
2043
2043
  ledgerSourceType?: string | null | undefined;
2044
2044
  ledgerSourceId?: string | null | undefined;
@@ -2267,8 +2267,8 @@ export declare const financeRouter: {
2267
2267
  }, "strip", z.ZodTypeAny, {
2268
2268
  date: string;
2269
2269
  description: string;
2270
- amount: number;
2271
2270
  allocationType: "crop" | "field" | "general" | "livestock_group";
2271
+ amount: number;
2272
2272
  category?: string | undefined;
2273
2273
  fieldId?: string | undefined;
2274
2274
  cropId?: string | undefined;
@@ -2280,13 +2280,13 @@ export declare const financeRouter: {
2280
2280
  category?: string | undefined;
2281
2281
  fieldId?: string | undefined;
2282
2282
  cropId?: string | undefined;
2283
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
2284
2283
  groupId?: string | undefined;
2284
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
2285
2285
  }>, {
2286
2286
  date: string;
2287
2287
  description: string;
2288
- amount: number;
2289
2288
  allocationType: "crop" | "field" | "general" | "livestock_group";
2289
+ amount: number;
2290
2290
  category?: string | undefined;
2291
2291
  fieldId?: string | undefined;
2292
2292
  cropId?: string | undefined;
@@ -2298,16 +2298,16 @@ export declare const financeRouter: {
2298
2298
  category?: string | undefined;
2299
2299
  fieldId?: string | undefined;
2300
2300
  cropId?: string | undefined;
2301
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
2302
2301
  groupId?: string | undefined;
2302
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
2303
2303
  }>;
2304
2304
  }, "strip", z.ZodTypeAny, {
2305
2305
  type: "expenses";
2306
2306
  attributes: {
2307
2307
  date: string;
2308
2308
  description: string;
2309
- amount: number;
2310
2309
  allocationType: "crop" | "field" | "general" | "livestock_group";
2310
+ amount: number;
2311
2311
  category?: string | undefined;
2312
2312
  fieldId?: string | undefined;
2313
2313
  cropId?: string | undefined;
@@ -2322,8 +2322,8 @@ export declare const financeRouter: {
2322
2322
  category?: string | undefined;
2323
2323
  fieldId?: string | undefined;
2324
2324
  cropId?: string | undefined;
2325
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
2326
2325
  groupId?: string | undefined;
2326
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
2327
2327
  };
2328
2328
  }>;
2329
2329
  }, "strip", z.ZodTypeAny, {
@@ -2332,8 +2332,8 @@ export declare const financeRouter: {
2332
2332
  attributes: {
2333
2333
  date: string;
2334
2334
  description: string;
2335
- amount: number;
2336
2335
  allocationType: "crop" | "field" | "general" | "livestock_group";
2336
+ amount: number;
2337
2337
  category?: string | undefined;
2338
2338
  fieldId?: string | undefined;
2339
2339
  cropId?: string | undefined;
@@ -2350,8 +2350,8 @@ export declare const financeRouter: {
2350
2350
  category?: string | undefined;
2351
2351
  fieldId?: string | undefined;
2352
2352
  cropId?: string | undefined;
2353
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
2354
2353
  groupId?: string | undefined;
2354
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
2355
2355
  };
2356
2356
  };
2357
2357
  }>;
@@ -2389,13 +2389,13 @@ export declare const financeRouter: {
2389
2389
  category: string;
2390
2390
  fieldId: string | null;
2391
2391
  cropId: string | null;
2392
- amount: number;
2393
2392
  allocationType: "crop" | "field" | "general" | "livestock_group";
2393
+ amount: number;
2394
2394
  createdById: string | null;
2395
2395
  createdByName: string | null;
2396
2396
  fieldName?: string | null | undefined;
2397
- cropName?: string | null | undefined;
2398
2397
  groupId?: string | null | undefined;
2398
+ cropName?: string | null | undefined;
2399
2399
  groupName?: string | null | undefined;
2400
2400
  ledgerSourceType?: string | null | undefined;
2401
2401
  ledgerSourceId?: string | null | undefined;
@@ -2408,13 +2408,13 @@ export declare const financeRouter: {
2408
2408
  category: string;
2409
2409
  fieldId: string | null;
2410
2410
  cropId: string | null;
2411
- amount: number;
2412
2411
  allocationType: "crop" | "field" | "general" | "livestock_group";
2412
+ amount: number;
2413
2413
  createdById: string | null;
2414
2414
  createdByName: string | null;
2415
2415
  fieldName?: string | null | undefined;
2416
- cropName?: string | null | undefined;
2417
2416
  groupId?: string | null | undefined;
2417
+ cropName?: string | null | undefined;
2418
2418
  groupName?: string | null | undefined;
2419
2419
  ledgerSourceType?: string | null | undefined;
2420
2420
  ledgerSourceId?: string | null | undefined;
@@ -2434,13 +2434,13 @@ export declare const financeRouter: {
2434
2434
  category: string;
2435
2435
  fieldId: string | null;
2436
2436
  cropId: string | null;
2437
- amount: number;
2438
2437
  allocationType: "crop" | "field" | "general" | "livestock_group";
2438
+ amount: number;
2439
2439
  createdById: string | null;
2440
2440
  createdByName: string | null;
2441
2441
  fieldName?: string | null | undefined;
2442
- cropName?: string | null | undefined;
2443
2442
  groupId?: string | null | undefined;
2443
+ cropName?: string | null | undefined;
2444
2444
  groupName?: string | null | undefined;
2445
2445
  ledgerSourceType?: string | null | undefined;
2446
2446
  ledgerSourceId?: string | null | undefined;
@@ -2460,13 +2460,13 @@ export declare const financeRouter: {
2460
2460
  category: string;
2461
2461
  fieldId: string | null;
2462
2462
  cropId: string | null;
2463
- amount: number;
2464
2463
  allocationType: "crop" | "field" | "general" | "livestock_group";
2464
+ amount: number;
2465
2465
  createdById: string | null;
2466
2466
  createdByName: string | null;
2467
2467
  fieldName?: string | null | undefined;
2468
- cropName?: string | null | undefined;
2469
2468
  groupId?: string | null | undefined;
2469
+ cropName?: string | null | undefined;
2470
2470
  groupName?: string | null | undefined;
2471
2471
  ledgerSourceType?: string | null | undefined;
2472
2472
  ledgerSourceId?: string | null | undefined;
@@ -2512,13 +2512,13 @@ export declare const financeRouter: {
2512
2512
  category: string;
2513
2513
  fieldId: string | null;
2514
2514
  cropId: string | null;
2515
- amount: number;
2516
2515
  allocationType: "crop" | "field" | "general" | "livestock_group";
2516
+ amount: number;
2517
2517
  createdById: string | null;
2518
2518
  createdByName: string | null;
2519
2519
  fieldName?: string | null | undefined;
2520
- cropName?: string | null | undefined;
2521
2520
  groupId?: string | null | undefined;
2521
+ cropName?: string | null | undefined;
2522
2522
  groupName?: string | null | undefined;
2523
2523
  ledgerSourceType?: string | null | undefined;
2524
2524
  ledgerSourceId?: string | null | undefined;
@@ -2550,13 +2550,13 @@ export declare const financeRouter: {
2550
2550
  category: string;
2551
2551
  fieldId: string | null;
2552
2552
  cropId: string | null;
2553
- amount: number;
2554
2553
  allocationType: "crop" | "field" | "general" | "livestock_group";
2554
+ amount: number;
2555
2555
  createdById: string | null;
2556
2556
  createdByName: string | null;
2557
2557
  fieldName?: string | null | undefined;
2558
- cropName?: string | null | undefined;
2559
2558
  groupId?: string | null | undefined;
2559
+ cropName?: string | null | undefined;
2560
2560
  groupName?: string | null | undefined;
2561
2561
  ledgerSourceType?: string | null | undefined;
2562
2562
  ledgerSourceId?: string | null | undefined;
@@ -2994,13 +2994,13 @@ export declare const financeRouter: {
2994
2994
  category: string;
2995
2995
  fieldId: string | null;
2996
2996
  cropId: string | null;
2997
- amount: number;
2998
2997
  allocationType: "crop" | "field" | "general" | "livestock_group";
2998
+ amount: number;
2999
2999
  createdById: string | null;
3000
3000
  createdByName: string | null;
3001
3001
  fieldName?: string | null | undefined;
3002
- cropName?: string | null | undefined;
3003
3002
  groupId?: string | null | undefined;
3003
+ cropName?: string | null | undefined;
3004
3004
  groupName?: string | null | undefined;
3005
3005
  ledgerSourceType?: string | null | undefined;
3006
3006
  ledgerSourceId?: string | null | undefined;
@@ -3013,13 +3013,13 @@ export declare const financeRouter: {
3013
3013
  category: string;
3014
3014
  fieldId: string | null;
3015
3015
  cropId: string | null;
3016
- amount: number;
3017
3016
  allocationType: "crop" | "field" | "general" | "livestock_group";
3017
+ amount: number;
3018
3018
  createdById: string | null;
3019
3019
  createdByName: string | null;
3020
3020
  fieldName?: string | null | undefined;
3021
- cropName?: string | null | undefined;
3022
3021
  groupId?: string | null | undefined;
3022
+ cropName?: string | null | undefined;
3023
3023
  groupName?: string | null | undefined;
3024
3024
  ledgerSourceType?: string | null | undefined;
3025
3025
  ledgerSourceId?: string | null | undefined;
@@ -3070,13 +3070,13 @@ export declare const financeRouter: {
3070
3070
  category: string;
3071
3071
  fieldId: string | null;
3072
3072
  cropId: string | null;
3073
- amount: number;
3074
3073
  allocationType: "crop" | "field" | "general" | "livestock_group";
3074
+ amount: number;
3075
3075
  createdById: string | null;
3076
3076
  createdByName: string | null;
3077
3077
  fieldName?: string | null | undefined;
3078
- cropName?: string | null | undefined;
3079
3078
  groupId?: string | null | undefined;
3079
+ cropName?: string | null | undefined;
3080
3080
  groupName?: string | null | undefined;
3081
3081
  ledgerSourceType?: string | null | undefined;
3082
3082
  ledgerSourceId?: string | null | undefined;
@@ -3102,13 +3102,13 @@ export declare const financeRouter: {
3102
3102
  category: string;
3103
3103
  fieldId: string | null;
3104
3104
  cropId: string | null;
3105
- amount: number;
3106
3105
  allocationType: "crop" | "field" | "general" | "livestock_group";
3106
+ amount: number;
3107
3107
  createdById: string | null;
3108
3108
  createdByName: string | null;
3109
3109
  fieldName?: string | null | undefined;
3110
- cropName?: string | null | undefined;
3111
3110
  groupId?: string | null | undefined;
3111
+ cropName?: string | null | undefined;
3112
3112
  groupName?: string | null | undefined;
3113
3113
  ledgerSourceType?: string | null | undefined;
3114
3114
  ledgerSourceId?: string | null | undefined;
@@ -3160,13 +3160,13 @@ export declare const financeRouter: {
3160
3160
  category: string;
3161
3161
  fieldId: string | null;
3162
3162
  cropId: string | null;
3163
- amount: number;
3164
3163
  allocationType: "crop" | "field" | "general" | "livestock_group";
3164
+ amount: number;
3165
3165
  createdById: string | null;
3166
3166
  createdByName: string | null;
3167
3167
  fieldName?: string | null | undefined;
3168
- cropName?: string | null | undefined;
3169
3168
  groupId?: string | null | undefined;
3169
+ cropName?: string | null | undefined;
3170
3170
  groupName?: string | null | undefined;
3171
3171
  ledgerSourceType?: string | null | undefined;
3172
3172
  ledgerSourceId?: string | null | undefined;
@@ -3204,13 +3204,13 @@ export declare const financeRouter: {
3204
3204
  category: string;
3205
3205
  fieldId: string | null;
3206
3206
  cropId: string | null;
3207
- amount: number;
3208
3207
  allocationType: "crop" | "field" | "general" | "livestock_group";
3208
+ amount: number;
3209
3209
  createdById: string | null;
3210
3210
  createdByName: string | null;
3211
3211
  fieldName?: string | null | undefined;
3212
- cropName?: string | null | undefined;
3213
3212
  groupId?: string | null | undefined;
3213
+ cropName?: string | null | undefined;
3214
3214
  groupName?: string | null | undefined;
3215
3215
  ledgerSourceType?: string | null | undefined;
3216
3216
  ledgerSourceId?: string | null | undefined;
@@ -3452,18 +3452,18 @@ export declare const financeRouter: {
3452
3452
  category?: string | undefined;
3453
3453
  fieldId?: string | null | undefined;
3454
3454
  cropId?: string | null | undefined;
3455
- amount?: number | undefined;
3456
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3457
3455
  groupId?: string | null | undefined;
3456
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3457
+ amount?: number | undefined;
3458
3458
  }, {
3459
3459
  date?: string | undefined;
3460
3460
  description?: string | undefined;
3461
3461
  category?: string | undefined;
3462
3462
  fieldId?: string | null | undefined;
3463
3463
  cropId?: string | null | undefined;
3464
- amount?: number | undefined;
3465
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3466
3464
  groupId?: string | null | undefined;
3465
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3466
+ amount?: number | undefined;
3467
3467
  }>;
3468
3468
  }, "strip", z.ZodTypeAny, {
3469
3469
  type: "expenses";
@@ -3474,9 +3474,9 @@ export declare const financeRouter: {
3474
3474
  category?: string | undefined;
3475
3475
  fieldId?: string | null | undefined;
3476
3476
  cropId?: string | null | undefined;
3477
- amount?: number | undefined;
3478
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3479
3477
  groupId?: string | null | undefined;
3478
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3479
+ amount?: number | undefined;
3480
3480
  };
3481
3481
  }, {
3482
3482
  type: "expenses";
@@ -3487,9 +3487,9 @@ export declare const financeRouter: {
3487
3487
  category?: string | undefined;
3488
3488
  fieldId?: string | null | undefined;
3489
3489
  cropId?: string | null | undefined;
3490
- amount?: number | undefined;
3491
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3492
3490
  groupId?: string | null | undefined;
3491
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3492
+ amount?: number | undefined;
3493
3493
  };
3494
3494
  }>;
3495
3495
  }, "strip", z.ZodTypeAny, {
@@ -3502,9 +3502,9 @@ export declare const financeRouter: {
3502
3502
  category?: string | undefined;
3503
3503
  fieldId?: string | null | undefined;
3504
3504
  cropId?: string | null | undefined;
3505
- amount?: number | undefined;
3506
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3507
3505
  groupId?: string | null | undefined;
3506
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3507
+ amount?: number | undefined;
3508
3508
  };
3509
3509
  };
3510
3510
  }, {
@@ -3517,9 +3517,9 @@ export declare const financeRouter: {
3517
3517
  category?: string | undefined;
3518
3518
  fieldId?: string | null | undefined;
3519
3519
  cropId?: string | null | undefined;
3520
- amount?: number | undefined;
3521
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3522
3520
  groupId?: string | null | undefined;
3521
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
3522
+ amount?: number | undefined;
3523
3523
  };
3524
3524
  };
3525
3525
  }>;
@@ -3557,13 +3557,13 @@ export declare const financeRouter: {
3557
3557
  category: string;
3558
3558
  fieldId: string | null;
3559
3559
  cropId: string | null;
3560
- amount: number;
3561
3560
  allocationType: "crop" | "field" | "general" | "livestock_group";
3561
+ amount: number;
3562
3562
  createdById: string | null;
3563
3563
  createdByName: string | null;
3564
3564
  fieldName?: string | null | undefined;
3565
- cropName?: string | null | undefined;
3566
3565
  groupId?: string | null | undefined;
3566
+ cropName?: string | null | undefined;
3567
3567
  groupName?: string | null | undefined;
3568
3568
  ledgerSourceType?: string | null | undefined;
3569
3569
  ledgerSourceId?: string | null | undefined;
@@ -3576,13 +3576,13 @@ export declare const financeRouter: {
3576
3576
  category: string;
3577
3577
  fieldId: string | null;
3578
3578
  cropId: string | null;
3579
- amount: number;
3580
3579
  allocationType: "crop" | "field" | "general" | "livestock_group";
3580
+ amount: number;
3581
3581
  createdById: string | null;
3582
3582
  createdByName: string | null;
3583
3583
  fieldName?: string | null | undefined;
3584
- cropName?: string | null | undefined;
3585
3584
  groupId?: string | null | undefined;
3585
+ cropName?: string | null | undefined;
3586
3586
  groupName?: string | null | undefined;
3587
3587
  ledgerSourceType?: string | null | undefined;
3588
3588
  ledgerSourceId?: string | null | undefined;
@@ -3602,13 +3602,13 @@ export declare const financeRouter: {
3602
3602
  category: string;
3603
3603
  fieldId: string | null;
3604
3604
  cropId: string | null;
3605
- amount: number;
3606
3605
  allocationType: "crop" | "field" | "general" | "livestock_group";
3606
+ amount: number;
3607
3607
  createdById: string | null;
3608
3608
  createdByName: string | null;
3609
3609
  fieldName?: string | null | undefined;
3610
- cropName?: string | null | undefined;
3611
3610
  groupId?: string | null | undefined;
3611
+ cropName?: string | null | undefined;
3612
3612
  groupName?: string | null | undefined;
3613
3613
  ledgerSourceType?: string | null | undefined;
3614
3614
  ledgerSourceId?: string | null | undefined;
@@ -3628,13 +3628,13 @@ export declare const financeRouter: {
3628
3628
  category: string;
3629
3629
  fieldId: string | null;
3630
3630
  cropId: string | null;
3631
- amount: number;
3632
3631
  allocationType: "crop" | "field" | "general" | "livestock_group";
3632
+ amount: number;
3633
3633
  createdById: string | null;
3634
3634
  createdByName: string | null;
3635
3635
  fieldName?: string | null | undefined;
3636
- cropName?: string | null | undefined;
3637
3636
  groupId?: string | null | undefined;
3637
+ cropName?: string | null | undefined;
3638
3638
  groupName?: string | null | undefined;
3639
3639
  ledgerSourceType?: string | null | undefined;
3640
3640
  ledgerSourceId?: string | null | undefined;
@@ -3680,13 +3680,13 @@ export declare const financeRouter: {
3680
3680
  category: string;
3681
3681
  fieldId: string | null;
3682
3682
  cropId: string | null;
3683
- amount: number;
3684
3683
  allocationType: "crop" | "field" | "general" | "livestock_group";
3684
+ amount: number;
3685
3685
  createdById: string | null;
3686
3686
  createdByName: string | null;
3687
3687
  fieldName?: string | null | undefined;
3688
- cropName?: string | null | undefined;
3689
3688
  groupId?: string | null | undefined;
3689
+ cropName?: string | null | undefined;
3690
3690
  groupName?: string | null | undefined;
3691
3691
  ledgerSourceType?: string | null | undefined;
3692
3692
  ledgerSourceId?: string | null | undefined;
@@ -3718,13 +3718,13 @@ export declare const financeRouter: {
3718
3718
  category: string;
3719
3719
  fieldId: string | null;
3720
3720
  cropId: string | null;
3721
- amount: number;
3722
3721
  allocationType: "crop" | "field" | "general" | "livestock_group";
3722
+ amount: number;
3723
3723
  createdById: string | null;
3724
3724
  createdByName: string | null;
3725
3725
  fieldName?: string | null | undefined;
3726
- cropName?: string | null | undefined;
3727
3726
  groupId?: string | null | undefined;
3727
+ cropName?: string | null | undefined;
3728
3728
  groupName?: string | null | undefined;
3729
3729
  ledgerSourceType?: string | null | undefined;
3730
3730
  ledgerSourceId?: string | null | undefined;
@@ -63,6 +63,7 @@ import { farmGatewayDeviceRouter } from './farm-gateway-device.routes';
63
63
  import { farmUpdatesRouter } from './farm-updates.routes';
64
64
  import { fieldActivitiesRouter } from './field-activities.routes';
65
65
  import { marketIntelligenceRouter } from './market-intelligence.routes';
66
+ import { poultryRouter } from './poultry.routes';
66
67
  /**
67
68
  * Explicit interface definition for the API contract.
68
69
  * This avoids TypeScript's type serialization limit when combining many routers
@@ -139,6 +140,7 @@ export interface ApiContractDefinition {
139
140
  farmUpdates: typeof farmUpdatesRouter;
140
141
  fieldActivities: typeof fieldActivitiesRouter;
141
142
  marketIntelligence: typeof marketIntelligenceRouter;
143
+ poultry: typeof poultryRouter;
142
144
  }
143
145
  /**
144
146
  * Main API contract combining all routers