@deepintel-ltd/farmpro-contracts 1.22.2 → 1.22.4
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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/routes/farm-enterprises.routes.d.ts +1909 -0
- package/dist/routes/farm-enterprises.routes.d.ts.map +1 -0
- package/dist/routes/farm-enterprises.routes.js +64 -0
- package/dist/routes/finance.routes.d.ts +188 -44
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/geofences.routes.d.ts +4 -4
- package/dist/routes/index.d.ts +2 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/livestock-groups.routes.d.ts +398 -90
- package/dist/routes/livestock-groups.routes.d.ts.map +1 -1
- package/dist/routes/livestock-map.routes.d.ts +6 -6
- package/dist/routes/livestock.routes.d.ts +78 -78
- package/dist/routes/staff.routes.d.ts +84 -0
- package/dist/routes/staff.routes.d.ts.map +1 -1
- package/dist/schemas/farm-enterprises.schemas.d.ts +435 -0
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -0
- package/dist/schemas/farm-enterprises.schemas.js +39 -0
- package/dist/schemas/finance.schemas.d.ts +231 -55
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +18 -2
- package/dist/schemas/geofences.schemas.d.ts +8 -8
- package/dist/schemas/livestock-groups.schemas.d.ts +368 -66
- package/dist/schemas/livestock-groups.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock-groups.schemas.js +22 -0
- package/dist/schemas/livestock-map.schemas.d.ts +4 -4
- package/dist/schemas/livestock.schemas.d.ts +66 -66
- package/dist/schemas/staff.schemas.d.ts +76 -0
- package/dist/schemas/staff.schemas.d.ts.map +1 -1
- package/dist/schemas/staff.schemas.js +6 -0
- package/package.json +1 -1
|
@@ -1848,11 +1848,13 @@ export declare const financeRouter: {
|
|
|
1848
1848
|
category: z.ZodString;
|
|
1849
1849
|
description: z.ZodString;
|
|
1850
1850
|
amount: z.ZodNumber;
|
|
1851
|
-
allocationType: z.ZodEnum<["field", "crop", "general"]>;
|
|
1851
|
+
allocationType: z.ZodEnum<["field", "crop", "general", "livestock_group"]>;
|
|
1852
1852
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
1853
1853
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1854
1854
|
cropId: z.ZodNullable<z.ZodString>;
|
|
1855
1855
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1856
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1857
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1856
1858
|
createdById: z.ZodNullable<z.ZodString>;
|
|
1857
1859
|
createdByName: z.ZodNullable<z.ZodString>;
|
|
1858
1860
|
ledgerSourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1870,11 +1872,13 @@ export declare const financeRouter: {
|
|
|
1870
1872
|
fieldId: string | null;
|
|
1871
1873
|
cropId: string | null;
|
|
1872
1874
|
amount: number;
|
|
1873
|
-
allocationType: "crop" | "field" | "general";
|
|
1875
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
1874
1876
|
createdById: string | null;
|
|
1875
1877
|
createdByName: string | null;
|
|
1876
1878
|
fieldName?: string | null | undefined;
|
|
1877
1879
|
cropName?: string | null | undefined;
|
|
1880
|
+
groupId?: string | null | undefined;
|
|
1881
|
+
groupName?: string | null | undefined;
|
|
1878
1882
|
ledgerSourceType?: string | null | undefined;
|
|
1879
1883
|
ledgerSourceId?: string | null | undefined;
|
|
1880
1884
|
documentId?: string | null | undefined;
|
|
@@ -1887,11 +1891,13 @@ export declare const financeRouter: {
|
|
|
1887
1891
|
fieldId: string | null;
|
|
1888
1892
|
cropId: string | null;
|
|
1889
1893
|
amount: number;
|
|
1890
|
-
allocationType: "crop" | "field" | "general";
|
|
1894
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
1891
1895
|
createdById: string | null;
|
|
1892
1896
|
createdByName: string | null;
|
|
1893
1897
|
fieldName?: string | null | undefined;
|
|
1894
1898
|
cropName?: string | null | undefined;
|
|
1899
|
+
groupId?: string | null | undefined;
|
|
1900
|
+
groupName?: string | null | undefined;
|
|
1895
1901
|
ledgerSourceType?: string | null | undefined;
|
|
1896
1902
|
ledgerSourceId?: string | null | undefined;
|
|
1897
1903
|
documentId?: string | null | undefined;
|
|
@@ -1911,11 +1917,13 @@ export declare const financeRouter: {
|
|
|
1911
1917
|
fieldId: string | null;
|
|
1912
1918
|
cropId: string | null;
|
|
1913
1919
|
amount: number;
|
|
1914
|
-
allocationType: "crop" | "field" | "general";
|
|
1920
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
1915
1921
|
createdById: string | null;
|
|
1916
1922
|
createdByName: string | null;
|
|
1917
1923
|
fieldName?: string | null | undefined;
|
|
1918
1924
|
cropName?: string | null | undefined;
|
|
1925
|
+
groupId?: string | null | undefined;
|
|
1926
|
+
groupName?: string | null | undefined;
|
|
1919
1927
|
ledgerSourceType?: string | null | undefined;
|
|
1920
1928
|
ledgerSourceId?: string | null | undefined;
|
|
1921
1929
|
documentId?: string | null | undefined;
|
|
@@ -1935,11 +1943,13 @@ export declare const financeRouter: {
|
|
|
1935
1943
|
fieldId: string | null;
|
|
1936
1944
|
cropId: string | null;
|
|
1937
1945
|
amount: number;
|
|
1938
|
-
allocationType: "crop" | "field" | "general";
|
|
1946
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
1939
1947
|
createdById: string | null;
|
|
1940
1948
|
createdByName: string | null;
|
|
1941
1949
|
fieldName?: string | null | undefined;
|
|
1942
1950
|
cropName?: string | null | undefined;
|
|
1951
|
+
groupId?: string | null | undefined;
|
|
1952
|
+
groupName?: string | null | undefined;
|
|
1943
1953
|
ledgerSourceType?: string | null | undefined;
|
|
1944
1954
|
ledgerSourceId?: string | null | undefined;
|
|
1945
1955
|
documentId?: string | null | undefined;
|
|
@@ -1985,11 +1995,13 @@ export declare const financeRouter: {
|
|
|
1985
1995
|
fieldId: string | null;
|
|
1986
1996
|
cropId: string | null;
|
|
1987
1997
|
amount: number;
|
|
1988
|
-
allocationType: "crop" | "field" | "general";
|
|
1998
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
1989
1999
|
createdById: string | null;
|
|
1990
2000
|
createdByName: string | null;
|
|
1991
2001
|
fieldName?: string | null | undefined;
|
|
1992
2002
|
cropName?: string | null | undefined;
|
|
2003
|
+
groupId?: string | null | undefined;
|
|
2004
|
+
groupName?: string | null | undefined;
|
|
1993
2005
|
ledgerSourceType?: string | null | undefined;
|
|
1994
2006
|
ledgerSourceId?: string | null | undefined;
|
|
1995
2007
|
documentId?: string | null | undefined;
|
|
@@ -2021,11 +2033,13 @@ export declare const financeRouter: {
|
|
|
2021
2033
|
fieldId: string | null;
|
|
2022
2034
|
cropId: string | null;
|
|
2023
2035
|
amount: number;
|
|
2024
|
-
allocationType: "crop" | "field" | "general";
|
|
2036
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2025
2037
|
createdById: string | null;
|
|
2026
2038
|
createdByName: string | null;
|
|
2027
2039
|
fieldName?: string | null | undefined;
|
|
2028
2040
|
cropName?: string | null | undefined;
|
|
2041
|
+
groupId?: string | null | undefined;
|
|
2042
|
+
groupName?: string | null | undefined;
|
|
2029
2043
|
ledgerSourceType?: string | null | undefined;
|
|
2030
2044
|
ledgerSourceId?: string | null | undefined;
|
|
2031
2045
|
documentId?: string | null | undefined;
|
|
@@ -2246,17 +2260,19 @@ export declare const financeRouter: {
|
|
|
2246
2260
|
category: z.ZodOptional<z.ZodString>;
|
|
2247
2261
|
description: z.ZodString;
|
|
2248
2262
|
amount: z.ZodNumber;
|
|
2249
|
-
allocationType: z.ZodDefault<z.ZodEnum<["field", "crop", "general"]>>;
|
|
2263
|
+
allocationType: z.ZodDefault<z.ZodEnum<["field", "crop", "general", "livestock_group"]>>;
|
|
2250
2264
|
fieldId: z.ZodOptional<z.ZodString>;
|
|
2251
2265
|
cropId: z.ZodOptional<z.ZodString>;
|
|
2266
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
2252
2267
|
}, "strip", z.ZodTypeAny, {
|
|
2253
2268
|
date: string;
|
|
2254
2269
|
description: string;
|
|
2255
2270
|
amount: number;
|
|
2256
|
-
allocationType: "crop" | "field" | "general";
|
|
2271
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2257
2272
|
category?: string | undefined;
|
|
2258
2273
|
fieldId?: string | undefined;
|
|
2259
2274
|
cropId?: string | undefined;
|
|
2275
|
+
groupId?: string | undefined;
|
|
2260
2276
|
}, {
|
|
2261
2277
|
date: string;
|
|
2262
2278
|
description: string;
|
|
@@ -2264,15 +2280,17 @@ export declare const financeRouter: {
|
|
|
2264
2280
|
category?: string | undefined;
|
|
2265
2281
|
fieldId?: string | undefined;
|
|
2266
2282
|
cropId?: string | undefined;
|
|
2267
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
2283
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
2284
|
+
groupId?: string | undefined;
|
|
2268
2285
|
}>, {
|
|
2269
2286
|
date: string;
|
|
2270
2287
|
description: string;
|
|
2271
2288
|
amount: number;
|
|
2272
|
-
allocationType: "crop" | "field" | "general";
|
|
2289
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2273
2290
|
category?: string | undefined;
|
|
2274
2291
|
fieldId?: string | undefined;
|
|
2275
2292
|
cropId?: string | undefined;
|
|
2293
|
+
groupId?: string | undefined;
|
|
2276
2294
|
}, {
|
|
2277
2295
|
date: string;
|
|
2278
2296
|
description: string;
|
|
@@ -2280,7 +2298,8 @@ export declare const financeRouter: {
|
|
|
2280
2298
|
category?: string | undefined;
|
|
2281
2299
|
fieldId?: string | undefined;
|
|
2282
2300
|
cropId?: string | undefined;
|
|
2283
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
2301
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
2302
|
+
groupId?: string | undefined;
|
|
2284
2303
|
}>;
|
|
2285
2304
|
}, "strip", z.ZodTypeAny, {
|
|
2286
2305
|
type: "expenses";
|
|
@@ -2288,10 +2307,11 @@ export declare const financeRouter: {
|
|
|
2288
2307
|
date: string;
|
|
2289
2308
|
description: string;
|
|
2290
2309
|
amount: number;
|
|
2291
|
-
allocationType: "crop" | "field" | "general";
|
|
2310
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2292
2311
|
category?: string | undefined;
|
|
2293
2312
|
fieldId?: string | undefined;
|
|
2294
2313
|
cropId?: string | undefined;
|
|
2314
|
+
groupId?: string | undefined;
|
|
2295
2315
|
};
|
|
2296
2316
|
}, {
|
|
2297
2317
|
type: "expenses";
|
|
@@ -2302,7 +2322,8 @@ export declare const financeRouter: {
|
|
|
2302
2322
|
category?: string | undefined;
|
|
2303
2323
|
fieldId?: string | undefined;
|
|
2304
2324
|
cropId?: string | undefined;
|
|
2305
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
2325
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
2326
|
+
groupId?: string | undefined;
|
|
2306
2327
|
};
|
|
2307
2328
|
}>;
|
|
2308
2329
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2312,10 +2333,11 @@ export declare const financeRouter: {
|
|
|
2312
2333
|
date: string;
|
|
2313
2334
|
description: string;
|
|
2314
2335
|
amount: number;
|
|
2315
|
-
allocationType: "crop" | "field" | "general";
|
|
2336
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2316
2337
|
category?: string | undefined;
|
|
2317
2338
|
fieldId?: string | undefined;
|
|
2318
2339
|
cropId?: string | undefined;
|
|
2340
|
+
groupId?: string | undefined;
|
|
2319
2341
|
};
|
|
2320
2342
|
};
|
|
2321
2343
|
}, {
|
|
@@ -2328,7 +2350,8 @@ export declare const financeRouter: {
|
|
|
2328
2350
|
category?: string | undefined;
|
|
2329
2351
|
fieldId?: string | undefined;
|
|
2330
2352
|
cropId?: string | undefined;
|
|
2331
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
2353
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
2354
|
+
groupId?: string | undefined;
|
|
2332
2355
|
};
|
|
2333
2356
|
};
|
|
2334
2357
|
}>;
|
|
@@ -2343,11 +2366,13 @@ export declare const financeRouter: {
|
|
|
2343
2366
|
category: z.ZodString;
|
|
2344
2367
|
description: z.ZodString;
|
|
2345
2368
|
amount: z.ZodNumber;
|
|
2346
|
-
allocationType: z.ZodEnum<["field", "crop", "general"]>;
|
|
2369
|
+
allocationType: z.ZodEnum<["field", "crop", "general", "livestock_group"]>;
|
|
2347
2370
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
2348
2371
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2349
2372
|
cropId: z.ZodNullable<z.ZodString>;
|
|
2350
2373
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2374
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2375
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2351
2376
|
createdById: z.ZodNullable<z.ZodString>;
|
|
2352
2377
|
createdByName: z.ZodNullable<z.ZodString>;
|
|
2353
2378
|
ledgerSourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2365,11 +2390,13 @@ export declare const financeRouter: {
|
|
|
2365
2390
|
fieldId: string | null;
|
|
2366
2391
|
cropId: string | null;
|
|
2367
2392
|
amount: number;
|
|
2368
|
-
allocationType: "crop" | "field" | "general";
|
|
2393
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2369
2394
|
createdById: string | null;
|
|
2370
2395
|
createdByName: string | null;
|
|
2371
2396
|
fieldName?: string | null | undefined;
|
|
2372
2397
|
cropName?: string | null | undefined;
|
|
2398
|
+
groupId?: string | null | undefined;
|
|
2399
|
+
groupName?: string | null | undefined;
|
|
2373
2400
|
ledgerSourceType?: string | null | undefined;
|
|
2374
2401
|
ledgerSourceId?: string | null | undefined;
|
|
2375
2402
|
documentId?: string | null | undefined;
|
|
@@ -2382,11 +2409,13 @@ export declare const financeRouter: {
|
|
|
2382
2409
|
fieldId: string | null;
|
|
2383
2410
|
cropId: string | null;
|
|
2384
2411
|
amount: number;
|
|
2385
|
-
allocationType: "crop" | "field" | "general";
|
|
2412
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2386
2413
|
createdById: string | null;
|
|
2387
2414
|
createdByName: string | null;
|
|
2388
2415
|
fieldName?: string | null | undefined;
|
|
2389
2416
|
cropName?: string | null | undefined;
|
|
2417
|
+
groupId?: string | null | undefined;
|
|
2418
|
+
groupName?: string | null | undefined;
|
|
2390
2419
|
ledgerSourceType?: string | null | undefined;
|
|
2391
2420
|
ledgerSourceId?: string | null | undefined;
|
|
2392
2421
|
documentId?: string | null | undefined;
|
|
@@ -2406,11 +2435,13 @@ export declare const financeRouter: {
|
|
|
2406
2435
|
fieldId: string | null;
|
|
2407
2436
|
cropId: string | null;
|
|
2408
2437
|
amount: number;
|
|
2409
|
-
allocationType: "crop" | "field" | "general";
|
|
2438
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2410
2439
|
createdById: string | null;
|
|
2411
2440
|
createdByName: string | null;
|
|
2412
2441
|
fieldName?: string | null | undefined;
|
|
2413
2442
|
cropName?: string | null | undefined;
|
|
2443
|
+
groupId?: string | null | undefined;
|
|
2444
|
+
groupName?: string | null | undefined;
|
|
2414
2445
|
ledgerSourceType?: string | null | undefined;
|
|
2415
2446
|
ledgerSourceId?: string | null | undefined;
|
|
2416
2447
|
documentId?: string | null | undefined;
|
|
@@ -2430,11 +2461,13 @@ export declare const financeRouter: {
|
|
|
2430
2461
|
fieldId: string | null;
|
|
2431
2462
|
cropId: string | null;
|
|
2432
2463
|
amount: number;
|
|
2433
|
-
allocationType: "crop" | "field" | "general";
|
|
2464
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2434
2465
|
createdById: string | null;
|
|
2435
2466
|
createdByName: string | null;
|
|
2436
2467
|
fieldName?: string | null | undefined;
|
|
2437
2468
|
cropName?: string | null | undefined;
|
|
2469
|
+
groupId?: string | null | undefined;
|
|
2470
|
+
groupName?: string | null | undefined;
|
|
2438
2471
|
ledgerSourceType?: string | null | undefined;
|
|
2439
2472
|
ledgerSourceId?: string | null | undefined;
|
|
2440
2473
|
documentId?: string | null | undefined;
|
|
@@ -2480,11 +2513,13 @@ export declare const financeRouter: {
|
|
|
2480
2513
|
fieldId: string | null;
|
|
2481
2514
|
cropId: string | null;
|
|
2482
2515
|
amount: number;
|
|
2483
|
-
allocationType: "crop" | "field" | "general";
|
|
2516
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2484
2517
|
createdById: string | null;
|
|
2485
2518
|
createdByName: string | null;
|
|
2486
2519
|
fieldName?: string | null | undefined;
|
|
2487
2520
|
cropName?: string | null | undefined;
|
|
2521
|
+
groupId?: string | null | undefined;
|
|
2522
|
+
groupName?: string | null | undefined;
|
|
2488
2523
|
ledgerSourceType?: string | null | undefined;
|
|
2489
2524
|
ledgerSourceId?: string | null | undefined;
|
|
2490
2525
|
documentId?: string | null | undefined;
|
|
@@ -2516,11 +2551,13 @@ export declare const financeRouter: {
|
|
|
2516
2551
|
fieldId: string | null;
|
|
2517
2552
|
cropId: string | null;
|
|
2518
2553
|
amount: number;
|
|
2519
|
-
allocationType: "crop" | "field" | "general";
|
|
2554
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2520
2555
|
createdById: string | null;
|
|
2521
2556
|
createdByName: string | null;
|
|
2522
2557
|
fieldName?: string | null | undefined;
|
|
2523
2558
|
cropName?: string | null | undefined;
|
|
2559
|
+
groupId?: string | null | undefined;
|
|
2560
|
+
groupName?: string | null | undefined;
|
|
2524
2561
|
ledgerSourceType?: string | null | undefined;
|
|
2525
2562
|
ledgerSourceId?: string | null | undefined;
|
|
2526
2563
|
documentId?: string | null | undefined;
|
|
@@ -2934,11 +2971,13 @@ export declare const financeRouter: {
|
|
|
2934
2971
|
category: z.ZodString;
|
|
2935
2972
|
description: z.ZodString;
|
|
2936
2973
|
amount: z.ZodNumber;
|
|
2937
|
-
allocationType: z.ZodEnum<["field", "crop", "general"]>;
|
|
2974
|
+
allocationType: z.ZodEnum<["field", "crop", "general", "livestock_group"]>;
|
|
2938
2975
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
2939
2976
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2940
2977
|
cropId: z.ZodNullable<z.ZodString>;
|
|
2941
2978
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2979
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2980
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2942
2981
|
createdById: z.ZodNullable<z.ZodString>;
|
|
2943
2982
|
createdByName: z.ZodNullable<z.ZodString>;
|
|
2944
2983
|
ledgerSourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2956,11 +2995,13 @@ export declare const financeRouter: {
|
|
|
2956
2995
|
fieldId: string | null;
|
|
2957
2996
|
cropId: string | null;
|
|
2958
2997
|
amount: number;
|
|
2959
|
-
allocationType: "crop" | "field" | "general";
|
|
2998
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2960
2999
|
createdById: string | null;
|
|
2961
3000
|
createdByName: string | null;
|
|
2962
3001
|
fieldName?: string | null | undefined;
|
|
2963
3002
|
cropName?: string | null | undefined;
|
|
3003
|
+
groupId?: string | null | undefined;
|
|
3004
|
+
groupName?: string | null | undefined;
|
|
2964
3005
|
ledgerSourceType?: string | null | undefined;
|
|
2965
3006
|
ledgerSourceId?: string | null | undefined;
|
|
2966
3007
|
documentId?: string | null | undefined;
|
|
@@ -2973,11 +3014,13 @@ export declare const financeRouter: {
|
|
|
2973
3014
|
fieldId: string | null;
|
|
2974
3015
|
cropId: string | null;
|
|
2975
3016
|
amount: number;
|
|
2976
|
-
allocationType: "crop" | "field" | "general";
|
|
3017
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
2977
3018
|
createdById: string | null;
|
|
2978
3019
|
createdByName: string | null;
|
|
2979
3020
|
fieldName?: string | null | undefined;
|
|
2980
3021
|
cropName?: string | null | undefined;
|
|
3022
|
+
groupId?: string | null | undefined;
|
|
3023
|
+
groupName?: string | null | undefined;
|
|
2981
3024
|
ledgerSourceType?: string | null | undefined;
|
|
2982
3025
|
ledgerSourceId?: string | null | undefined;
|
|
2983
3026
|
documentId?: string | null | undefined;
|
|
@@ -3028,11 +3071,13 @@ export declare const financeRouter: {
|
|
|
3028
3071
|
fieldId: string | null;
|
|
3029
3072
|
cropId: string | null;
|
|
3030
3073
|
amount: number;
|
|
3031
|
-
allocationType: "crop" | "field" | "general";
|
|
3074
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3032
3075
|
createdById: string | null;
|
|
3033
3076
|
createdByName: string | null;
|
|
3034
3077
|
fieldName?: string | null | undefined;
|
|
3035
3078
|
cropName?: string | null | undefined;
|
|
3079
|
+
groupId?: string | null | undefined;
|
|
3080
|
+
groupName?: string | null | undefined;
|
|
3036
3081
|
ledgerSourceType?: string | null | undefined;
|
|
3037
3082
|
ledgerSourceId?: string | null | undefined;
|
|
3038
3083
|
documentId?: string | null | undefined;
|
|
@@ -3058,11 +3103,13 @@ export declare const financeRouter: {
|
|
|
3058
3103
|
fieldId: string | null;
|
|
3059
3104
|
cropId: string | null;
|
|
3060
3105
|
amount: number;
|
|
3061
|
-
allocationType: "crop" | "field" | "general";
|
|
3106
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3062
3107
|
createdById: string | null;
|
|
3063
3108
|
createdByName: string | null;
|
|
3064
3109
|
fieldName?: string | null | undefined;
|
|
3065
3110
|
cropName?: string | null | undefined;
|
|
3111
|
+
groupId?: string | null | undefined;
|
|
3112
|
+
groupName?: string | null | undefined;
|
|
3066
3113
|
ledgerSourceType?: string | null | undefined;
|
|
3067
3114
|
ledgerSourceId?: string | null | undefined;
|
|
3068
3115
|
documentId?: string | null | undefined;
|
|
@@ -3114,11 +3161,13 @@ export declare const financeRouter: {
|
|
|
3114
3161
|
fieldId: string | null;
|
|
3115
3162
|
cropId: string | null;
|
|
3116
3163
|
amount: number;
|
|
3117
|
-
allocationType: "crop" | "field" | "general";
|
|
3164
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3118
3165
|
createdById: string | null;
|
|
3119
3166
|
createdByName: string | null;
|
|
3120
3167
|
fieldName?: string | null | undefined;
|
|
3121
3168
|
cropName?: string | null | undefined;
|
|
3169
|
+
groupId?: string | null | undefined;
|
|
3170
|
+
groupName?: string | null | undefined;
|
|
3122
3171
|
ledgerSourceType?: string | null | undefined;
|
|
3123
3172
|
ledgerSourceId?: string | null | undefined;
|
|
3124
3173
|
documentId?: string | null | undefined;
|
|
@@ -3156,11 +3205,13 @@ export declare const financeRouter: {
|
|
|
3156
3205
|
fieldId: string | null;
|
|
3157
3206
|
cropId: string | null;
|
|
3158
3207
|
amount: number;
|
|
3159
|
-
allocationType: "crop" | "field" | "general";
|
|
3208
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3160
3209
|
createdById: string | null;
|
|
3161
3210
|
createdByName: string | null;
|
|
3162
3211
|
fieldName?: string | null | undefined;
|
|
3163
3212
|
cropName?: string | null | undefined;
|
|
3213
|
+
groupId?: string | null | undefined;
|
|
3214
|
+
groupName?: string | null | undefined;
|
|
3164
3215
|
ledgerSourceType?: string | null | undefined;
|
|
3165
3216
|
ledgerSourceId?: string | null | undefined;
|
|
3166
3217
|
documentId?: string | null | undefined;
|
|
@@ -3391,9 +3442,10 @@ export declare const financeRouter: {
|
|
|
3391
3442
|
category: z.ZodOptional<z.ZodString>;
|
|
3392
3443
|
description: z.ZodOptional<z.ZodString>;
|
|
3393
3444
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
3394
|
-
allocationType: z.ZodOptional<z.ZodEnum<["field", "crop", "general"]>>;
|
|
3445
|
+
allocationType: z.ZodOptional<z.ZodEnum<["field", "crop", "general", "livestock_group"]>>;
|
|
3395
3446
|
fieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3396
3447
|
cropId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3448
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3397
3449
|
}, "strip", z.ZodTypeAny, {
|
|
3398
3450
|
date?: string | undefined;
|
|
3399
3451
|
description?: string | undefined;
|
|
@@ -3401,7 +3453,8 @@ export declare const financeRouter: {
|
|
|
3401
3453
|
fieldId?: string | null | undefined;
|
|
3402
3454
|
cropId?: string | null | undefined;
|
|
3403
3455
|
amount?: number | undefined;
|
|
3404
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
3456
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
3457
|
+
groupId?: string | null | undefined;
|
|
3405
3458
|
}, {
|
|
3406
3459
|
date?: string | undefined;
|
|
3407
3460
|
description?: string | undefined;
|
|
@@ -3409,7 +3462,8 @@ export declare const financeRouter: {
|
|
|
3409
3462
|
fieldId?: string | null | undefined;
|
|
3410
3463
|
cropId?: string | null | undefined;
|
|
3411
3464
|
amount?: number | undefined;
|
|
3412
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
3465
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
3466
|
+
groupId?: string | null | undefined;
|
|
3413
3467
|
}>;
|
|
3414
3468
|
}, "strip", z.ZodTypeAny, {
|
|
3415
3469
|
type: "expenses";
|
|
@@ -3421,7 +3475,8 @@ export declare const financeRouter: {
|
|
|
3421
3475
|
fieldId?: string | null | undefined;
|
|
3422
3476
|
cropId?: string | null | undefined;
|
|
3423
3477
|
amount?: number | undefined;
|
|
3424
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
3478
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
3479
|
+
groupId?: string | null | undefined;
|
|
3425
3480
|
};
|
|
3426
3481
|
}, {
|
|
3427
3482
|
type: "expenses";
|
|
@@ -3433,7 +3488,8 @@ export declare const financeRouter: {
|
|
|
3433
3488
|
fieldId?: string | null | undefined;
|
|
3434
3489
|
cropId?: string | null | undefined;
|
|
3435
3490
|
amount?: number | undefined;
|
|
3436
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
3491
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
3492
|
+
groupId?: string | null | undefined;
|
|
3437
3493
|
};
|
|
3438
3494
|
}>;
|
|
3439
3495
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3447,7 +3503,8 @@ export declare const financeRouter: {
|
|
|
3447
3503
|
fieldId?: string | null | undefined;
|
|
3448
3504
|
cropId?: string | null | undefined;
|
|
3449
3505
|
amount?: number | undefined;
|
|
3450
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
3506
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
3507
|
+
groupId?: string | null | undefined;
|
|
3451
3508
|
};
|
|
3452
3509
|
};
|
|
3453
3510
|
}, {
|
|
@@ -3461,7 +3518,8 @@ export declare const financeRouter: {
|
|
|
3461
3518
|
fieldId?: string | null | undefined;
|
|
3462
3519
|
cropId?: string | null | undefined;
|
|
3463
3520
|
amount?: number | undefined;
|
|
3464
|
-
allocationType?: "crop" | "field" | "general" | undefined;
|
|
3521
|
+
allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
|
|
3522
|
+
groupId?: string | null | undefined;
|
|
3465
3523
|
};
|
|
3466
3524
|
};
|
|
3467
3525
|
}>;
|
|
@@ -3476,11 +3534,13 @@ export declare const financeRouter: {
|
|
|
3476
3534
|
category: z.ZodString;
|
|
3477
3535
|
description: z.ZodString;
|
|
3478
3536
|
amount: z.ZodNumber;
|
|
3479
|
-
allocationType: z.ZodEnum<["field", "crop", "general"]>;
|
|
3537
|
+
allocationType: z.ZodEnum<["field", "crop", "general", "livestock_group"]>;
|
|
3480
3538
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
3481
3539
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3482
3540
|
cropId: z.ZodNullable<z.ZodString>;
|
|
3483
3541
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3542
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3543
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3484
3544
|
createdById: z.ZodNullable<z.ZodString>;
|
|
3485
3545
|
createdByName: z.ZodNullable<z.ZodString>;
|
|
3486
3546
|
ledgerSourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3498,11 +3558,13 @@ export declare const financeRouter: {
|
|
|
3498
3558
|
fieldId: string | null;
|
|
3499
3559
|
cropId: string | null;
|
|
3500
3560
|
amount: number;
|
|
3501
|
-
allocationType: "crop" | "field" | "general";
|
|
3561
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3502
3562
|
createdById: string | null;
|
|
3503
3563
|
createdByName: string | null;
|
|
3504
3564
|
fieldName?: string | null | undefined;
|
|
3505
3565
|
cropName?: string | null | undefined;
|
|
3566
|
+
groupId?: string | null | undefined;
|
|
3567
|
+
groupName?: string | null | undefined;
|
|
3506
3568
|
ledgerSourceType?: string | null | undefined;
|
|
3507
3569
|
ledgerSourceId?: string | null | undefined;
|
|
3508
3570
|
documentId?: string | null | undefined;
|
|
@@ -3515,11 +3577,13 @@ export declare const financeRouter: {
|
|
|
3515
3577
|
fieldId: string | null;
|
|
3516
3578
|
cropId: string | null;
|
|
3517
3579
|
amount: number;
|
|
3518
|
-
allocationType: "crop" | "field" | "general";
|
|
3580
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3519
3581
|
createdById: string | null;
|
|
3520
3582
|
createdByName: string | null;
|
|
3521
3583
|
fieldName?: string | null | undefined;
|
|
3522
3584
|
cropName?: string | null | undefined;
|
|
3585
|
+
groupId?: string | null | undefined;
|
|
3586
|
+
groupName?: string | null | undefined;
|
|
3523
3587
|
ledgerSourceType?: string | null | undefined;
|
|
3524
3588
|
ledgerSourceId?: string | null | undefined;
|
|
3525
3589
|
documentId?: string | null | undefined;
|
|
@@ -3539,11 +3603,13 @@ export declare const financeRouter: {
|
|
|
3539
3603
|
fieldId: string | null;
|
|
3540
3604
|
cropId: string | null;
|
|
3541
3605
|
amount: number;
|
|
3542
|
-
allocationType: "crop" | "field" | "general";
|
|
3606
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3543
3607
|
createdById: string | null;
|
|
3544
3608
|
createdByName: string | null;
|
|
3545
3609
|
fieldName?: string | null | undefined;
|
|
3546
3610
|
cropName?: string | null | undefined;
|
|
3611
|
+
groupId?: string | null | undefined;
|
|
3612
|
+
groupName?: string | null | undefined;
|
|
3547
3613
|
ledgerSourceType?: string | null | undefined;
|
|
3548
3614
|
ledgerSourceId?: string | null | undefined;
|
|
3549
3615
|
documentId?: string | null | undefined;
|
|
@@ -3563,11 +3629,13 @@ export declare const financeRouter: {
|
|
|
3563
3629
|
fieldId: string | null;
|
|
3564
3630
|
cropId: string | null;
|
|
3565
3631
|
amount: number;
|
|
3566
|
-
allocationType: "crop" | "field" | "general";
|
|
3632
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3567
3633
|
createdById: string | null;
|
|
3568
3634
|
createdByName: string | null;
|
|
3569
3635
|
fieldName?: string | null | undefined;
|
|
3570
3636
|
cropName?: string | null | undefined;
|
|
3637
|
+
groupId?: string | null | undefined;
|
|
3638
|
+
groupName?: string | null | undefined;
|
|
3571
3639
|
ledgerSourceType?: string | null | undefined;
|
|
3572
3640
|
ledgerSourceId?: string | null | undefined;
|
|
3573
3641
|
documentId?: string | null | undefined;
|
|
@@ -3613,11 +3681,13 @@ export declare const financeRouter: {
|
|
|
3613
3681
|
fieldId: string | null;
|
|
3614
3682
|
cropId: string | null;
|
|
3615
3683
|
amount: number;
|
|
3616
|
-
allocationType: "crop" | "field" | "general";
|
|
3684
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3617
3685
|
createdById: string | null;
|
|
3618
3686
|
createdByName: string | null;
|
|
3619
3687
|
fieldName?: string | null | undefined;
|
|
3620
3688
|
cropName?: string | null | undefined;
|
|
3689
|
+
groupId?: string | null | undefined;
|
|
3690
|
+
groupName?: string | null | undefined;
|
|
3621
3691
|
ledgerSourceType?: string | null | undefined;
|
|
3622
3692
|
ledgerSourceId?: string | null | undefined;
|
|
3623
3693
|
documentId?: string | null | undefined;
|
|
@@ -3649,11 +3719,13 @@ export declare const financeRouter: {
|
|
|
3649
3719
|
fieldId: string | null;
|
|
3650
3720
|
cropId: string | null;
|
|
3651
3721
|
amount: number;
|
|
3652
|
-
allocationType: "crop" | "field" | "general";
|
|
3722
|
+
allocationType: "crop" | "field" | "general" | "livestock_group";
|
|
3653
3723
|
createdById: string | null;
|
|
3654
3724
|
createdByName: string | null;
|
|
3655
3725
|
fieldName?: string | null | undefined;
|
|
3656
3726
|
cropName?: string | null | undefined;
|
|
3727
|
+
groupId?: string | null | undefined;
|
|
3728
|
+
groupName?: string | null | undefined;
|
|
3657
3729
|
ledgerSourceType?: string | null | undefined;
|
|
3658
3730
|
ledgerSourceId?: string | null | undefined;
|
|
3659
3731
|
documentId?: string | null | undefined;
|
|
@@ -4309,6 +4381,8 @@ export declare const financeRouter: {
|
|
|
4309
4381
|
buyer: z.ZodNullable<z.ZodString>;
|
|
4310
4382
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
4311
4383
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4384
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4385
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4312
4386
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
4313
4387
|
invoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4314
4388
|
ledgerSourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4333,6 +4407,8 @@ export declare const financeRouter: {
|
|
|
4333
4407
|
buyer: string | null;
|
|
4334
4408
|
harvestId: string | null;
|
|
4335
4409
|
fieldName?: string | null | undefined;
|
|
4410
|
+
groupId?: string | null | undefined;
|
|
4411
|
+
groupName?: string | null | undefined;
|
|
4336
4412
|
ledgerSourceType?: string | null | undefined;
|
|
4337
4413
|
ledgerSourceId?: string | null | undefined;
|
|
4338
4414
|
invoiceId?: string | null | undefined;
|
|
@@ -4351,6 +4427,8 @@ export declare const financeRouter: {
|
|
|
4351
4427
|
buyer: string | null;
|
|
4352
4428
|
harvestId: string | null;
|
|
4353
4429
|
fieldName?: string | null | undefined;
|
|
4430
|
+
groupId?: string | null | undefined;
|
|
4431
|
+
groupName?: string | null | undefined;
|
|
4354
4432
|
ledgerSourceType?: string | null | undefined;
|
|
4355
4433
|
ledgerSourceId?: string | null | undefined;
|
|
4356
4434
|
invoiceId?: string | null | undefined;
|
|
@@ -4376,6 +4454,8 @@ export declare const financeRouter: {
|
|
|
4376
4454
|
buyer: string | null;
|
|
4377
4455
|
harvestId: string | null;
|
|
4378
4456
|
fieldName?: string | null | undefined;
|
|
4457
|
+
groupId?: string | null | undefined;
|
|
4458
|
+
groupName?: string | null | undefined;
|
|
4379
4459
|
ledgerSourceType?: string | null | undefined;
|
|
4380
4460
|
ledgerSourceId?: string | null | undefined;
|
|
4381
4461
|
invoiceId?: string | null | undefined;
|
|
@@ -4401,6 +4481,8 @@ export declare const financeRouter: {
|
|
|
4401
4481
|
buyer: string | null;
|
|
4402
4482
|
harvestId: string | null;
|
|
4403
4483
|
fieldName?: string | null | undefined;
|
|
4484
|
+
groupId?: string | null | undefined;
|
|
4485
|
+
groupName?: string | null | undefined;
|
|
4404
4486
|
ledgerSourceType?: string | null | undefined;
|
|
4405
4487
|
ledgerSourceId?: string | null | undefined;
|
|
4406
4488
|
invoiceId?: string | null | undefined;
|
|
@@ -4452,6 +4534,8 @@ export declare const financeRouter: {
|
|
|
4452
4534
|
buyer: string | null;
|
|
4453
4535
|
harvestId: string | null;
|
|
4454
4536
|
fieldName?: string | null | undefined;
|
|
4537
|
+
groupId?: string | null | undefined;
|
|
4538
|
+
groupName?: string | null | undefined;
|
|
4455
4539
|
ledgerSourceType?: string | null | undefined;
|
|
4456
4540
|
ledgerSourceId?: string | null | undefined;
|
|
4457
4541
|
invoiceId?: string | null | undefined;
|
|
@@ -4489,6 +4573,8 @@ export declare const financeRouter: {
|
|
|
4489
4573
|
buyer: string | null;
|
|
4490
4574
|
harvestId: string | null;
|
|
4491
4575
|
fieldName?: string | null | undefined;
|
|
4576
|
+
groupId?: string | null | undefined;
|
|
4577
|
+
groupName?: string | null | undefined;
|
|
4492
4578
|
ledgerSourceType?: string | null | undefined;
|
|
4493
4579
|
ledgerSourceId?: string | null | undefined;
|
|
4494
4580
|
invoiceId?: string | null | undefined;
|
|
@@ -4714,6 +4800,7 @@ export declare const financeRouter: {
|
|
|
4714
4800
|
totalAmount: z.ZodOptional<z.ZodNumber>;
|
|
4715
4801
|
buyer: z.ZodOptional<z.ZodString>;
|
|
4716
4802
|
fieldId: z.ZodOptional<z.ZodString>;
|
|
4803
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
4717
4804
|
harvestId: z.ZodOptional<z.ZodString>;
|
|
4718
4805
|
}, "strip", z.ZodTypeAny, {
|
|
4719
4806
|
date: string;
|
|
@@ -4722,6 +4809,7 @@ export declare const financeRouter: {
|
|
|
4722
4809
|
quantity?: number | undefined;
|
|
4723
4810
|
unit?: string | undefined;
|
|
4724
4811
|
fieldId?: string | undefined;
|
|
4812
|
+
groupId?: string | undefined;
|
|
4725
4813
|
pricePerUnit?: number | undefined;
|
|
4726
4814
|
totalAmount?: number | undefined;
|
|
4727
4815
|
buyer?: string | undefined;
|
|
@@ -4733,6 +4821,7 @@ export declare const financeRouter: {
|
|
|
4733
4821
|
quantity?: number | undefined;
|
|
4734
4822
|
unit?: string | undefined;
|
|
4735
4823
|
fieldId?: string | undefined;
|
|
4824
|
+
groupId?: string | undefined;
|
|
4736
4825
|
pricePerUnit?: number | undefined;
|
|
4737
4826
|
totalAmount?: number | undefined;
|
|
4738
4827
|
buyer?: string | undefined;
|
|
@@ -4744,6 +4833,7 @@ export declare const financeRouter: {
|
|
|
4744
4833
|
quantity?: number | undefined;
|
|
4745
4834
|
unit?: string | undefined;
|
|
4746
4835
|
fieldId?: string | undefined;
|
|
4836
|
+
groupId?: string | undefined;
|
|
4747
4837
|
pricePerUnit?: number | undefined;
|
|
4748
4838
|
totalAmount?: number | undefined;
|
|
4749
4839
|
buyer?: string | undefined;
|
|
@@ -4755,6 +4845,7 @@ export declare const financeRouter: {
|
|
|
4755
4845
|
quantity?: number | undefined;
|
|
4756
4846
|
unit?: string | undefined;
|
|
4757
4847
|
fieldId?: string | undefined;
|
|
4848
|
+
groupId?: string | undefined;
|
|
4758
4849
|
pricePerUnit?: number | undefined;
|
|
4759
4850
|
totalAmount?: number | undefined;
|
|
4760
4851
|
buyer?: string | undefined;
|
|
@@ -4769,6 +4860,7 @@ export declare const financeRouter: {
|
|
|
4769
4860
|
quantity?: number | undefined;
|
|
4770
4861
|
unit?: string | undefined;
|
|
4771
4862
|
fieldId?: string | undefined;
|
|
4863
|
+
groupId?: string | undefined;
|
|
4772
4864
|
pricePerUnit?: number | undefined;
|
|
4773
4865
|
totalAmount?: number | undefined;
|
|
4774
4866
|
buyer?: string | undefined;
|
|
@@ -4783,6 +4875,7 @@ export declare const financeRouter: {
|
|
|
4783
4875
|
quantity?: number | undefined;
|
|
4784
4876
|
unit?: string | undefined;
|
|
4785
4877
|
fieldId?: string | undefined;
|
|
4878
|
+
groupId?: string | undefined;
|
|
4786
4879
|
pricePerUnit?: number | undefined;
|
|
4787
4880
|
totalAmount?: number | undefined;
|
|
4788
4881
|
buyer?: string | undefined;
|
|
@@ -4799,6 +4892,7 @@ export declare const financeRouter: {
|
|
|
4799
4892
|
quantity?: number | undefined;
|
|
4800
4893
|
unit?: string | undefined;
|
|
4801
4894
|
fieldId?: string | undefined;
|
|
4895
|
+
groupId?: string | undefined;
|
|
4802
4896
|
pricePerUnit?: number | undefined;
|
|
4803
4897
|
totalAmount?: number | undefined;
|
|
4804
4898
|
buyer?: string | undefined;
|
|
@@ -4815,6 +4909,7 @@ export declare const financeRouter: {
|
|
|
4815
4909
|
quantity?: number | undefined;
|
|
4816
4910
|
unit?: string | undefined;
|
|
4817
4911
|
fieldId?: string | undefined;
|
|
4912
|
+
groupId?: string | undefined;
|
|
4818
4913
|
pricePerUnit?: number | undefined;
|
|
4819
4914
|
totalAmount?: number | undefined;
|
|
4820
4915
|
buyer?: string | undefined;
|
|
@@ -4838,6 +4933,8 @@ export declare const financeRouter: {
|
|
|
4838
4933
|
buyer: z.ZodNullable<z.ZodString>;
|
|
4839
4934
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
4840
4935
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4936
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4937
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4841
4938
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
4842
4939
|
invoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4843
4940
|
ledgerSourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4862,6 +4959,8 @@ export declare const financeRouter: {
|
|
|
4862
4959
|
buyer: string | null;
|
|
4863
4960
|
harvestId: string | null;
|
|
4864
4961
|
fieldName?: string | null | undefined;
|
|
4962
|
+
groupId?: string | null | undefined;
|
|
4963
|
+
groupName?: string | null | undefined;
|
|
4865
4964
|
ledgerSourceType?: string | null | undefined;
|
|
4866
4965
|
ledgerSourceId?: string | null | undefined;
|
|
4867
4966
|
invoiceId?: string | null | undefined;
|
|
@@ -4880,6 +4979,8 @@ export declare const financeRouter: {
|
|
|
4880
4979
|
buyer: string | null;
|
|
4881
4980
|
harvestId: string | null;
|
|
4882
4981
|
fieldName?: string | null | undefined;
|
|
4982
|
+
groupId?: string | null | undefined;
|
|
4983
|
+
groupName?: string | null | undefined;
|
|
4883
4984
|
ledgerSourceType?: string | null | undefined;
|
|
4884
4985
|
ledgerSourceId?: string | null | undefined;
|
|
4885
4986
|
invoiceId?: string | null | undefined;
|
|
@@ -4905,6 +5006,8 @@ export declare const financeRouter: {
|
|
|
4905
5006
|
buyer: string | null;
|
|
4906
5007
|
harvestId: string | null;
|
|
4907
5008
|
fieldName?: string | null | undefined;
|
|
5009
|
+
groupId?: string | null | undefined;
|
|
5010
|
+
groupName?: string | null | undefined;
|
|
4908
5011
|
ledgerSourceType?: string | null | undefined;
|
|
4909
5012
|
ledgerSourceId?: string | null | undefined;
|
|
4910
5013
|
invoiceId?: string | null | undefined;
|
|
@@ -4930,6 +5033,8 @@ export declare const financeRouter: {
|
|
|
4930
5033
|
buyer: string | null;
|
|
4931
5034
|
harvestId: string | null;
|
|
4932
5035
|
fieldName?: string | null | undefined;
|
|
5036
|
+
groupId?: string | null | undefined;
|
|
5037
|
+
groupName?: string | null | undefined;
|
|
4933
5038
|
ledgerSourceType?: string | null | undefined;
|
|
4934
5039
|
ledgerSourceId?: string | null | undefined;
|
|
4935
5040
|
invoiceId?: string | null | undefined;
|
|
@@ -4981,6 +5086,8 @@ export declare const financeRouter: {
|
|
|
4981
5086
|
buyer: string | null;
|
|
4982
5087
|
harvestId: string | null;
|
|
4983
5088
|
fieldName?: string | null | undefined;
|
|
5089
|
+
groupId?: string | null | undefined;
|
|
5090
|
+
groupName?: string | null | undefined;
|
|
4984
5091
|
ledgerSourceType?: string | null | undefined;
|
|
4985
5092
|
ledgerSourceId?: string | null | undefined;
|
|
4986
5093
|
invoiceId?: string | null | undefined;
|
|
@@ -5018,6 +5125,8 @@ export declare const financeRouter: {
|
|
|
5018
5125
|
buyer: string | null;
|
|
5019
5126
|
harvestId: string | null;
|
|
5020
5127
|
fieldName?: string | null | undefined;
|
|
5128
|
+
groupId?: string | null | undefined;
|
|
5129
|
+
groupName?: string | null | undefined;
|
|
5021
5130
|
ledgerSourceType?: string | null | undefined;
|
|
5022
5131
|
ledgerSourceId?: string | null | undefined;
|
|
5023
5132
|
invoiceId?: string | null | undefined;
|
|
@@ -5436,6 +5545,8 @@ export declare const financeRouter: {
|
|
|
5436
5545
|
buyer: z.ZodNullable<z.ZodString>;
|
|
5437
5546
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
5438
5547
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5548
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5549
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5439
5550
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
5440
5551
|
invoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5441
5552
|
ledgerSourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5460,6 +5571,8 @@ export declare const financeRouter: {
|
|
|
5460
5571
|
buyer: string | null;
|
|
5461
5572
|
harvestId: string | null;
|
|
5462
5573
|
fieldName?: string | null | undefined;
|
|
5574
|
+
groupId?: string | null | undefined;
|
|
5575
|
+
groupName?: string | null | undefined;
|
|
5463
5576
|
ledgerSourceType?: string | null | undefined;
|
|
5464
5577
|
ledgerSourceId?: string | null | undefined;
|
|
5465
5578
|
invoiceId?: string | null | undefined;
|
|
@@ -5478,6 +5591,8 @@ export declare const financeRouter: {
|
|
|
5478
5591
|
buyer: string | null;
|
|
5479
5592
|
harvestId: string | null;
|
|
5480
5593
|
fieldName?: string | null | undefined;
|
|
5594
|
+
groupId?: string | null | undefined;
|
|
5595
|
+
groupName?: string | null | undefined;
|
|
5481
5596
|
ledgerSourceType?: string | null | undefined;
|
|
5482
5597
|
ledgerSourceId?: string | null | undefined;
|
|
5483
5598
|
invoiceId?: string | null | undefined;
|
|
@@ -5561,6 +5676,8 @@ export declare const financeRouter: {
|
|
|
5561
5676
|
buyer: string | null;
|
|
5562
5677
|
harvestId: string | null;
|
|
5563
5678
|
fieldName?: string | null | undefined;
|
|
5679
|
+
groupId?: string | null | undefined;
|
|
5680
|
+
groupName?: string | null | undefined;
|
|
5564
5681
|
ledgerSourceType?: string | null | undefined;
|
|
5565
5682
|
ledgerSourceId?: string | null | undefined;
|
|
5566
5683
|
invoiceId?: string | null | undefined;
|
|
@@ -5597,6 +5714,8 @@ export declare const financeRouter: {
|
|
|
5597
5714
|
buyer: string | null;
|
|
5598
5715
|
harvestId: string | null;
|
|
5599
5716
|
fieldName?: string | null | undefined;
|
|
5717
|
+
groupId?: string | null | undefined;
|
|
5718
|
+
groupName?: string | null | undefined;
|
|
5600
5719
|
ledgerSourceType?: string | null | undefined;
|
|
5601
5720
|
ledgerSourceId?: string | null | undefined;
|
|
5602
5721
|
invoiceId?: string | null | undefined;
|
|
@@ -5659,6 +5778,8 @@ export declare const financeRouter: {
|
|
|
5659
5778
|
buyer: string | null;
|
|
5660
5779
|
harvestId: string | null;
|
|
5661
5780
|
fieldName?: string | null | undefined;
|
|
5781
|
+
groupId?: string | null | undefined;
|
|
5782
|
+
groupName?: string | null | undefined;
|
|
5662
5783
|
ledgerSourceType?: string | null | undefined;
|
|
5663
5784
|
ledgerSourceId?: string | null | undefined;
|
|
5664
5785
|
invoiceId?: string | null | undefined;
|
|
@@ -5707,6 +5828,8 @@ export declare const financeRouter: {
|
|
|
5707
5828
|
buyer: string | null;
|
|
5708
5829
|
harvestId: string | null;
|
|
5709
5830
|
fieldName?: string | null | undefined;
|
|
5831
|
+
groupId?: string | null | undefined;
|
|
5832
|
+
groupName?: string | null | undefined;
|
|
5710
5833
|
ledgerSourceType?: string | null | undefined;
|
|
5711
5834
|
ledgerSourceId?: string | null | undefined;
|
|
5712
5835
|
invoiceId?: string | null | undefined;
|
|
@@ -5946,6 +6069,7 @@ export declare const financeRouter: {
|
|
|
5946
6069
|
totalAmount: z.ZodOptional<z.ZodNumber>;
|
|
5947
6070
|
buyer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5948
6071
|
fieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6072
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5949
6073
|
harvestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5950
6074
|
}, "strip", z.ZodTypeAny, {
|
|
5951
6075
|
date?: string | undefined;
|
|
@@ -5953,6 +6077,7 @@ export declare const financeRouter: {
|
|
|
5953
6077
|
quantity?: number | undefined;
|
|
5954
6078
|
unit?: string | undefined;
|
|
5955
6079
|
fieldId?: string | null | undefined;
|
|
6080
|
+
groupId?: string | null | undefined;
|
|
5956
6081
|
pricePerUnit?: number | undefined;
|
|
5957
6082
|
totalAmount?: number | undefined;
|
|
5958
6083
|
buyer?: string | null | undefined;
|
|
@@ -5963,6 +6088,7 @@ export declare const financeRouter: {
|
|
|
5963
6088
|
quantity?: number | undefined;
|
|
5964
6089
|
unit?: string | undefined;
|
|
5965
6090
|
fieldId?: string | null | undefined;
|
|
6091
|
+
groupId?: string | null | undefined;
|
|
5966
6092
|
pricePerUnit?: number | undefined;
|
|
5967
6093
|
totalAmount?: number | undefined;
|
|
5968
6094
|
buyer?: string | null | undefined;
|
|
@@ -5977,6 +6103,7 @@ export declare const financeRouter: {
|
|
|
5977
6103
|
quantity?: number | undefined;
|
|
5978
6104
|
unit?: string | undefined;
|
|
5979
6105
|
fieldId?: string | null | undefined;
|
|
6106
|
+
groupId?: string | null | undefined;
|
|
5980
6107
|
pricePerUnit?: number | undefined;
|
|
5981
6108
|
totalAmount?: number | undefined;
|
|
5982
6109
|
buyer?: string | null | undefined;
|
|
@@ -5991,6 +6118,7 @@ export declare const financeRouter: {
|
|
|
5991
6118
|
quantity?: number | undefined;
|
|
5992
6119
|
unit?: string | undefined;
|
|
5993
6120
|
fieldId?: string | null | undefined;
|
|
6121
|
+
groupId?: string | null | undefined;
|
|
5994
6122
|
pricePerUnit?: number | undefined;
|
|
5995
6123
|
totalAmount?: number | undefined;
|
|
5996
6124
|
buyer?: string | null | undefined;
|
|
@@ -6007,6 +6135,7 @@ export declare const financeRouter: {
|
|
|
6007
6135
|
quantity?: number | undefined;
|
|
6008
6136
|
unit?: string | undefined;
|
|
6009
6137
|
fieldId?: string | null | undefined;
|
|
6138
|
+
groupId?: string | null | undefined;
|
|
6010
6139
|
pricePerUnit?: number | undefined;
|
|
6011
6140
|
totalAmount?: number | undefined;
|
|
6012
6141
|
buyer?: string | null | undefined;
|
|
@@ -6023,6 +6152,7 @@ export declare const financeRouter: {
|
|
|
6023
6152
|
quantity?: number | undefined;
|
|
6024
6153
|
unit?: string | undefined;
|
|
6025
6154
|
fieldId?: string | null | undefined;
|
|
6155
|
+
groupId?: string | null | undefined;
|
|
6026
6156
|
pricePerUnit?: number | undefined;
|
|
6027
6157
|
totalAmount?: number | undefined;
|
|
6028
6158
|
buyer?: string | null | undefined;
|
|
@@ -6046,6 +6176,8 @@ export declare const financeRouter: {
|
|
|
6046
6176
|
buyer: z.ZodNullable<z.ZodString>;
|
|
6047
6177
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
6048
6178
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6179
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6180
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6049
6181
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
6050
6182
|
invoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6051
6183
|
ledgerSourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6070,6 +6202,8 @@ export declare const financeRouter: {
|
|
|
6070
6202
|
buyer: string | null;
|
|
6071
6203
|
harvestId: string | null;
|
|
6072
6204
|
fieldName?: string | null | undefined;
|
|
6205
|
+
groupId?: string | null | undefined;
|
|
6206
|
+
groupName?: string | null | undefined;
|
|
6073
6207
|
ledgerSourceType?: string | null | undefined;
|
|
6074
6208
|
ledgerSourceId?: string | null | undefined;
|
|
6075
6209
|
invoiceId?: string | null | undefined;
|
|
@@ -6088,6 +6222,8 @@ export declare const financeRouter: {
|
|
|
6088
6222
|
buyer: string | null;
|
|
6089
6223
|
harvestId: string | null;
|
|
6090
6224
|
fieldName?: string | null | undefined;
|
|
6225
|
+
groupId?: string | null | undefined;
|
|
6226
|
+
groupName?: string | null | undefined;
|
|
6091
6227
|
ledgerSourceType?: string | null | undefined;
|
|
6092
6228
|
ledgerSourceId?: string | null | undefined;
|
|
6093
6229
|
invoiceId?: string | null | undefined;
|
|
@@ -6113,6 +6249,8 @@ export declare const financeRouter: {
|
|
|
6113
6249
|
buyer: string | null;
|
|
6114
6250
|
harvestId: string | null;
|
|
6115
6251
|
fieldName?: string | null | undefined;
|
|
6252
|
+
groupId?: string | null | undefined;
|
|
6253
|
+
groupName?: string | null | undefined;
|
|
6116
6254
|
ledgerSourceType?: string | null | undefined;
|
|
6117
6255
|
ledgerSourceId?: string | null | undefined;
|
|
6118
6256
|
invoiceId?: string | null | undefined;
|
|
@@ -6138,6 +6276,8 @@ export declare const financeRouter: {
|
|
|
6138
6276
|
buyer: string | null;
|
|
6139
6277
|
harvestId: string | null;
|
|
6140
6278
|
fieldName?: string | null | undefined;
|
|
6279
|
+
groupId?: string | null | undefined;
|
|
6280
|
+
groupName?: string | null | undefined;
|
|
6141
6281
|
ledgerSourceType?: string | null | undefined;
|
|
6142
6282
|
ledgerSourceId?: string | null | undefined;
|
|
6143
6283
|
invoiceId?: string | null | undefined;
|
|
@@ -6189,6 +6329,8 @@ export declare const financeRouter: {
|
|
|
6189
6329
|
buyer: string | null;
|
|
6190
6330
|
harvestId: string | null;
|
|
6191
6331
|
fieldName?: string | null | undefined;
|
|
6332
|
+
groupId?: string | null | undefined;
|
|
6333
|
+
groupName?: string | null | undefined;
|
|
6192
6334
|
ledgerSourceType?: string | null | undefined;
|
|
6193
6335
|
ledgerSourceId?: string | null | undefined;
|
|
6194
6336
|
invoiceId?: string | null | undefined;
|
|
@@ -6226,6 +6368,8 @@ export declare const financeRouter: {
|
|
|
6226
6368
|
buyer: string | null;
|
|
6227
6369
|
harvestId: string | null;
|
|
6228
6370
|
fieldName?: string | null | undefined;
|
|
6371
|
+
groupId?: string | null | undefined;
|
|
6372
|
+
groupName?: string | null | undefined;
|
|
6229
6373
|
ledgerSourceType?: string | null | undefined;
|
|
6230
6374
|
ledgerSourceId?: string | null | undefined;
|
|
6231
6375
|
invoiceId?: string | null | undefined;
|