@deepintel-ltd/farmpro-contracts 1.27.0 → 1.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/agents.routes.d.ts +681 -12
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/agents.routes.js +21 -1
- package/dist/routes/commodity-deals.routes.d.ts +27 -27
- package/dist/routes/farms.routes.d.ts +46 -46
- package/dist/routes/field-observations.routes.d.ts +34 -34
- package/dist/routes/invoices.routes.d.ts +39 -39
- package/dist/routes/livestock-groups.routes.d.ts +27 -27
- package/dist/routes/livestock.routes.d.ts +21 -21
- package/dist/routes/market-intelligence.routes.d.ts +8 -8
- package/dist/routes/organizations.routes.d.ts +49 -0
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/poultry.routes.d.ts +22 -22
- package/dist/routes/purchase-orders.routes.d.ts +9 -9
- package/dist/routes/subscriptions.routes.d.ts +8 -8
- package/dist/routes/tasks.routes.d.ts +90 -0
- package/dist/routes/tasks.routes.d.ts.map +1 -1
- package/dist/routes/tasks.routes.js +1 -0
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/trade-cash-events.routes.d.ts +39 -39
- package/dist/routes/waybills.routes.d.ts +39 -39
- package/dist/schemas/agents.schemas.d.ts +718 -12
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +41 -0
- package/dist/schemas/commodity-deals.schemas.d.ts +18 -18
- package/dist/schemas/farms.schemas.d.ts +51 -51
- package/dist/schemas/field-observations.schemas.d.ts +24 -24
- package/dist/schemas/invoices.schemas.d.ts +27 -27
- package/dist/schemas/livestock-groups.schemas.d.ts +20 -20
- package/dist/schemas/livestock.schemas.d.ts +18 -18
- package/dist/schemas/organizations.schemas.d.ts +42 -0
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +3 -0
- package/dist/schemas/purchase-orders.schemas.d.ts +9 -9
- package/dist/schemas/subscriptions.schemas.d.ts +6 -6
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/trade-cash-events.schemas.d.ts +29 -27
- package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -1
- package/dist/schemas/trade-cash-events.schemas.js +1 -0
- package/dist/schemas/waybills.schemas.d.ts +27 -27
- package/package.json +1 -1
|
@@ -91,8 +91,8 @@ export declare const waybillsRouter: {
|
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
createdAt: string;
|
|
93
93
|
updatedAt: string;
|
|
94
|
-
organizationId: string;
|
|
95
94
|
currency: string;
|
|
95
|
+
organizationId: string;
|
|
96
96
|
items: {
|
|
97
97
|
description: string;
|
|
98
98
|
quantity: number;
|
|
@@ -142,8 +142,8 @@ export declare const waybillsRouter: {
|
|
|
142
142
|
issueDate: string;
|
|
143
143
|
senderName: string;
|
|
144
144
|
recipientName: string;
|
|
145
|
-
farmId?: string | null | undefined;
|
|
146
145
|
currency?: string | undefined;
|
|
146
|
+
farmId?: string | null | undefined;
|
|
147
147
|
notes?: string | null | undefined;
|
|
148
148
|
totalValue?: number | null | undefined;
|
|
149
149
|
senderAddress?: string | null | undefined;
|
|
@@ -174,8 +174,8 @@ export declare const waybillsRouter: {
|
|
|
174
174
|
attributes: {
|
|
175
175
|
createdAt: string;
|
|
176
176
|
updatedAt: string;
|
|
177
|
-
organizationId: string;
|
|
178
177
|
currency: string;
|
|
178
|
+
organizationId: string;
|
|
179
179
|
items: {
|
|
180
180
|
description: string;
|
|
181
181
|
quantity: number;
|
|
@@ -232,8 +232,8 @@ export declare const waybillsRouter: {
|
|
|
232
232
|
issueDate: string;
|
|
233
233
|
senderName: string;
|
|
234
234
|
recipientName: string;
|
|
235
|
-
farmId?: string | null | undefined;
|
|
236
235
|
currency?: string | undefined;
|
|
236
|
+
farmId?: string | null | undefined;
|
|
237
237
|
notes?: string | null | undefined;
|
|
238
238
|
totalValue?: number | null | undefined;
|
|
239
239
|
senderAddress?: string | null | undefined;
|
|
@@ -290,8 +290,8 @@ export declare const waybillsRouter: {
|
|
|
290
290
|
attributes: {
|
|
291
291
|
createdAt: string;
|
|
292
292
|
updatedAt: string;
|
|
293
|
-
organizationId: string;
|
|
294
293
|
currency: string;
|
|
294
|
+
organizationId: string;
|
|
295
295
|
items: {
|
|
296
296
|
description: string;
|
|
297
297
|
quantity: number;
|
|
@@ -360,8 +360,8 @@ export declare const waybillsRouter: {
|
|
|
360
360
|
issueDate: string;
|
|
361
361
|
senderName: string;
|
|
362
362
|
recipientName: string;
|
|
363
|
-
farmId?: string | null | undefined;
|
|
364
363
|
currency?: string | undefined;
|
|
364
|
+
farmId?: string | null | undefined;
|
|
365
365
|
notes?: string | null | undefined;
|
|
366
366
|
totalValue?: number | null | undefined;
|
|
367
367
|
senderAddress?: string | null | undefined;
|
|
@@ -689,8 +689,8 @@ export declare const waybillsRouter: {
|
|
|
689
689
|
}[];
|
|
690
690
|
senderName: string;
|
|
691
691
|
buyerId: string;
|
|
692
|
-
farmId?: string | undefined;
|
|
693
692
|
currency?: string | undefined;
|
|
693
|
+
farmId?: string | undefined;
|
|
694
694
|
notes?: string | undefined;
|
|
695
695
|
totalValue?: number | undefined;
|
|
696
696
|
transportCost?: number | undefined;
|
|
@@ -765,8 +765,8 @@ export declare const waybillsRouter: {
|
|
|
765
765
|
}[];
|
|
766
766
|
senderName: string;
|
|
767
767
|
buyerId: string;
|
|
768
|
-
farmId?: string | undefined;
|
|
769
768
|
currency?: string | undefined;
|
|
769
|
+
farmId?: string | undefined;
|
|
770
770
|
notes?: string | undefined;
|
|
771
771
|
totalValue?: number | undefined;
|
|
772
772
|
transportCost?: number | undefined;
|
|
@@ -845,8 +845,8 @@ export declare const waybillsRouter: {
|
|
|
845
845
|
}[];
|
|
846
846
|
senderName: string;
|
|
847
847
|
buyerId: string;
|
|
848
|
-
farmId?: string | undefined;
|
|
849
848
|
currency?: string | undefined;
|
|
849
|
+
farmId?: string | undefined;
|
|
850
850
|
notes?: string | undefined;
|
|
851
851
|
totalValue?: number | undefined;
|
|
852
852
|
transportCost?: number | undefined;
|
|
@@ -934,8 +934,8 @@ export declare const waybillsRouter: {
|
|
|
934
934
|
}, "strip", z.ZodTypeAny, {
|
|
935
935
|
createdAt: string;
|
|
936
936
|
updatedAt: string;
|
|
937
|
-
organizationId: string;
|
|
938
937
|
currency: string;
|
|
938
|
+
organizationId: string;
|
|
939
939
|
items: {
|
|
940
940
|
description: string;
|
|
941
941
|
quantity: number;
|
|
@@ -985,8 +985,8 @@ export declare const waybillsRouter: {
|
|
|
985
985
|
issueDate: string;
|
|
986
986
|
senderName: string;
|
|
987
987
|
recipientName: string;
|
|
988
|
-
farmId?: string | null | undefined;
|
|
989
988
|
currency?: string | undefined;
|
|
989
|
+
farmId?: string | null | undefined;
|
|
990
990
|
notes?: string | null | undefined;
|
|
991
991
|
totalValue?: number | null | undefined;
|
|
992
992
|
senderAddress?: string | null | undefined;
|
|
@@ -1017,8 +1017,8 @@ export declare const waybillsRouter: {
|
|
|
1017
1017
|
attributes: {
|
|
1018
1018
|
createdAt: string;
|
|
1019
1019
|
updatedAt: string;
|
|
1020
|
-
organizationId: string;
|
|
1021
1020
|
currency: string;
|
|
1021
|
+
organizationId: string;
|
|
1022
1022
|
items: {
|
|
1023
1023
|
description: string;
|
|
1024
1024
|
quantity: number;
|
|
@@ -1075,8 +1075,8 @@ export declare const waybillsRouter: {
|
|
|
1075
1075
|
issueDate: string;
|
|
1076
1076
|
senderName: string;
|
|
1077
1077
|
recipientName: string;
|
|
1078
|
-
farmId?: string | null | undefined;
|
|
1079
1078
|
currency?: string | undefined;
|
|
1079
|
+
farmId?: string | null | undefined;
|
|
1080
1080
|
notes?: string | null | undefined;
|
|
1081
1081
|
totalValue?: number | null | undefined;
|
|
1082
1082
|
senderAddress?: string | null | undefined;
|
|
@@ -1133,8 +1133,8 @@ export declare const waybillsRouter: {
|
|
|
1133
1133
|
attributes: {
|
|
1134
1134
|
createdAt: string;
|
|
1135
1135
|
updatedAt: string;
|
|
1136
|
-
organizationId: string;
|
|
1137
1136
|
currency: string;
|
|
1137
|
+
organizationId: string;
|
|
1138
1138
|
items: {
|
|
1139
1139
|
description: string;
|
|
1140
1140
|
quantity: number;
|
|
@@ -1203,8 +1203,8 @@ export declare const waybillsRouter: {
|
|
|
1203
1203
|
issueDate: string;
|
|
1204
1204
|
senderName: string;
|
|
1205
1205
|
recipientName: string;
|
|
1206
|
-
farmId?: string | null | undefined;
|
|
1207
1206
|
currency?: string | undefined;
|
|
1207
|
+
farmId?: string | null | undefined;
|
|
1208
1208
|
notes?: string | null | undefined;
|
|
1209
1209
|
totalValue?: number | null | undefined;
|
|
1210
1210
|
senderAddress?: string | null | undefined;
|
|
@@ -1679,8 +1679,8 @@ export declare const waybillsRouter: {
|
|
|
1679
1679
|
}, "strip", z.ZodTypeAny, {
|
|
1680
1680
|
createdAt: string;
|
|
1681
1681
|
updatedAt: string;
|
|
1682
|
-
organizationId: string;
|
|
1683
1682
|
currency: string;
|
|
1683
|
+
organizationId: string;
|
|
1684
1684
|
items: {
|
|
1685
1685
|
description: string;
|
|
1686
1686
|
quantity: number;
|
|
@@ -1730,8 +1730,8 @@ export declare const waybillsRouter: {
|
|
|
1730
1730
|
issueDate: string;
|
|
1731
1731
|
senderName: string;
|
|
1732
1732
|
recipientName: string;
|
|
1733
|
-
farmId?: string | null | undefined;
|
|
1734
1733
|
currency?: string | undefined;
|
|
1734
|
+
farmId?: string | null | undefined;
|
|
1735
1735
|
notes?: string | null | undefined;
|
|
1736
1736
|
totalValue?: number | null | undefined;
|
|
1737
1737
|
senderAddress?: string | null | undefined;
|
|
@@ -1762,8 +1762,8 @@ export declare const waybillsRouter: {
|
|
|
1762
1762
|
attributes: {
|
|
1763
1763
|
createdAt: string;
|
|
1764
1764
|
updatedAt: string;
|
|
1765
|
-
organizationId: string;
|
|
1766
1765
|
currency: string;
|
|
1766
|
+
organizationId: string;
|
|
1767
1767
|
items: {
|
|
1768
1768
|
description: string;
|
|
1769
1769
|
quantity: number;
|
|
@@ -1820,8 +1820,8 @@ export declare const waybillsRouter: {
|
|
|
1820
1820
|
issueDate: string;
|
|
1821
1821
|
senderName: string;
|
|
1822
1822
|
recipientName: string;
|
|
1823
|
-
farmId?: string | null | undefined;
|
|
1824
1823
|
currency?: string | undefined;
|
|
1824
|
+
farmId?: string | null | undefined;
|
|
1825
1825
|
notes?: string | null | undefined;
|
|
1826
1826
|
totalValue?: number | null | undefined;
|
|
1827
1827
|
senderAddress?: string | null | undefined;
|
|
@@ -1878,8 +1878,8 @@ export declare const waybillsRouter: {
|
|
|
1878
1878
|
attributes: {
|
|
1879
1879
|
createdAt: string;
|
|
1880
1880
|
updatedAt: string;
|
|
1881
|
-
organizationId: string;
|
|
1882
1881
|
currency: string;
|
|
1882
|
+
organizationId: string;
|
|
1883
1883
|
items: {
|
|
1884
1884
|
description: string;
|
|
1885
1885
|
quantity: number;
|
|
@@ -1948,8 +1948,8 @@ export declare const waybillsRouter: {
|
|
|
1948
1948
|
issueDate: string;
|
|
1949
1949
|
senderName: string;
|
|
1950
1950
|
recipientName: string;
|
|
1951
|
-
farmId?: string | null | undefined;
|
|
1952
1951
|
currency?: string | undefined;
|
|
1952
|
+
farmId?: string | null | undefined;
|
|
1953
1953
|
notes?: string | null | undefined;
|
|
1954
1954
|
totalValue?: number | null | undefined;
|
|
1955
1955
|
senderAddress?: string | null | undefined;
|
|
@@ -2236,8 +2236,8 @@ export declare const waybillsRouter: {
|
|
|
2236
2236
|
miscellaneousCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2237
2237
|
supplierId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2238
2238
|
}, "strip", z.ZodTypeAny, {
|
|
2239
|
-
farmId?: string | undefined;
|
|
2240
2239
|
currency?: string | undefined;
|
|
2240
|
+
farmId?: string | undefined;
|
|
2241
2241
|
notes?: string | undefined;
|
|
2242
2242
|
totalValue?: number | undefined;
|
|
2243
2243
|
transportCost?: number | undefined;
|
|
@@ -2271,8 +2271,8 @@ export declare const waybillsRouter: {
|
|
|
2271
2271
|
miscellaneousCost?: number | undefined;
|
|
2272
2272
|
supplierId?: string | null | undefined;
|
|
2273
2273
|
}, {
|
|
2274
|
-
farmId?: string | undefined;
|
|
2275
2274
|
currency?: string | undefined;
|
|
2275
|
+
farmId?: string | undefined;
|
|
2276
2276
|
notes?: string | undefined;
|
|
2277
2277
|
totalValue?: number | undefined;
|
|
2278
2278
|
transportCost?: number | undefined;
|
|
@@ -2310,8 +2310,8 @@ export declare const waybillsRouter: {
|
|
|
2310
2310
|
type: "waybills";
|
|
2311
2311
|
id: string;
|
|
2312
2312
|
attributes: {
|
|
2313
|
-
farmId?: string | undefined;
|
|
2314
2313
|
currency?: string | undefined;
|
|
2314
|
+
farmId?: string | undefined;
|
|
2315
2315
|
notes?: string | undefined;
|
|
2316
2316
|
totalValue?: number | undefined;
|
|
2317
2317
|
transportCost?: number | undefined;
|
|
@@ -2349,8 +2349,8 @@ export declare const waybillsRouter: {
|
|
|
2349
2349
|
type: "waybills";
|
|
2350
2350
|
id: string;
|
|
2351
2351
|
attributes: {
|
|
2352
|
-
farmId?: string | undefined;
|
|
2353
2352
|
currency?: string | undefined;
|
|
2353
|
+
farmId?: string | undefined;
|
|
2354
2354
|
notes?: string | undefined;
|
|
2355
2355
|
totalValue?: number | undefined;
|
|
2356
2356
|
transportCost?: number | undefined;
|
|
@@ -2390,8 +2390,8 @@ export declare const waybillsRouter: {
|
|
|
2390
2390
|
type: "waybills";
|
|
2391
2391
|
id: string;
|
|
2392
2392
|
attributes: {
|
|
2393
|
-
farmId?: string | undefined;
|
|
2394
2393
|
currency?: string | undefined;
|
|
2394
|
+
farmId?: string | undefined;
|
|
2395
2395
|
notes?: string | undefined;
|
|
2396
2396
|
totalValue?: number | undefined;
|
|
2397
2397
|
transportCost?: number | undefined;
|
|
@@ -2431,8 +2431,8 @@ export declare const waybillsRouter: {
|
|
|
2431
2431
|
type: "waybills";
|
|
2432
2432
|
id: string;
|
|
2433
2433
|
attributes: {
|
|
2434
|
-
farmId?: string | undefined;
|
|
2435
2434
|
currency?: string | undefined;
|
|
2435
|
+
farmId?: string | undefined;
|
|
2436
2436
|
notes?: string | undefined;
|
|
2437
2437
|
totalValue?: number | undefined;
|
|
2438
2438
|
transportCost?: number | undefined;
|
|
@@ -2530,8 +2530,8 @@ export declare const waybillsRouter: {
|
|
|
2530
2530
|
}, "strip", z.ZodTypeAny, {
|
|
2531
2531
|
createdAt: string;
|
|
2532
2532
|
updatedAt: string;
|
|
2533
|
-
organizationId: string;
|
|
2534
2533
|
currency: string;
|
|
2534
|
+
organizationId: string;
|
|
2535
2535
|
items: {
|
|
2536
2536
|
description: string;
|
|
2537
2537
|
quantity: number;
|
|
@@ -2581,8 +2581,8 @@ export declare const waybillsRouter: {
|
|
|
2581
2581
|
issueDate: string;
|
|
2582
2582
|
senderName: string;
|
|
2583
2583
|
recipientName: string;
|
|
2584
|
-
farmId?: string | null | undefined;
|
|
2585
2584
|
currency?: string | undefined;
|
|
2585
|
+
farmId?: string | null | undefined;
|
|
2586
2586
|
notes?: string | null | undefined;
|
|
2587
2587
|
totalValue?: number | null | undefined;
|
|
2588
2588
|
senderAddress?: string | null | undefined;
|
|
@@ -2613,8 +2613,8 @@ export declare const waybillsRouter: {
|
|
|
2613
2613
|
attributes: {
|
|
2614
2614
|
createdAt: string;
|
|
2615
2615
|
updatedAt: string;
|
|
2616
|
-
organizationId: string;
|
|
2617
2616
|
currency: string;
|
|
2617
|
+
organizationId: string;
|
|
2618
2618
|
items: {
|
|
2619
2619
|
description: string;
|
|
2620
2620
|
quantity: number;
|
|
@@ -2671,8 +2671,8 @@ export declare const waybillsRouter: {
|
|
|
2671
2671
|
issueDate: string;
|
|
2672
2672
|
senderName: string;
|
|
2673
2673
|
recipientName: string;
|
|
2674
|
-
farmId?: string | null | undefined;
|
|
2675
2674
|
currency?: string | undefined;
|
|
2675
|
+
farmId?: string | null | undefined;
|
|
2676
2676
|
notes?: string | null | undefined;
|
|
2677
2677
|
totalValue?: number | null | undefined;
|
|
2678
2678
|
senderAddress?: string | null | undefined;
|
|
@@ -2729,8 +2729,8 @@ export declare const waybillsRouter: {
|
|
|
2729
2729
|
attributes: {
|
|
2730
2730
|
createdAt: string;
|
|
2731
2731
|
updatedAt: string;
|
|
2732
|
-
organizationId: string;
|
|
2733
2732
|
currency: string;
|
|
2733
|
+
organizationId: string;
|
|
2734
2734
|
items: {
|
|
2735
2735
|
description: string;
|
|
2736
2736
|
quantity: number;
|
|
@@ -2799,8 +2799,8 @@ export declare const waybillsRouter: {
|
|
|
2799
2799
|
issueDate: string;
|
|
2800
2800
|
senderName: string;
|
|
2801
2801
|
recipientName: string;
|
|
2802
|
-
farmId?: string | null | undefined;
|
|
2803
2802
|
currency?: string | undefined;
|
|
2803
|
+
farmId?: string | null | undefined;
|
|
2804
2804
|
notes?: string | null | undefined;
|
|
2805
2805
|
totalValue?: number | null | undefined;
|
|
2806
2806
|
senderAddress?: string | null | undefined;
|
|
@@ -3276,8 +3276,8 @@ export declare const waybillsRouter: {
|
|
|
3276
3276
|
}, "strip", z.ZodTypeAny, {
|
|
3277
3277
|
createdAt: string;
|
|
3278
3278
|
updatedAt: string;
|
|
3279
|
-
organizationId: string;
|
|
3280
3279
|
currency: string;
|
|
3280
|
+
organizationId: string;
|
|
3281
3281
|
items: {
|
|
3282
3282
|
description: string;
|
|
3283
3283
|
quantity: number;
|
|
@@ -3327,8 +3327,8 @@ export declare const waybillsRouter: {
|
|
|
3327
3327
|
issueDate: string;
|
|
3328
3328
|
senderName: string;
|
|
3329
3329
|
recipientName: string;
|
|
3330
|
-
farmId?: string | null | undefined;
|
|
3331
3330
|
currency?: string | undefined;
|
|
3331
|
+
farmId?: string | null | undefined;
|
|
3332
3332
|
notes?: string | null | undefined;
|
|
3333
3333
|
totalValue?: number | null | undefined;
|
|
3334
3334
|
senderAddress?: string | null | undefined;
|
|
@@ -3359,8 +3359,8 @@ export declare const waybillsRouter: {
|
|
|
3359
3359
|
attributes: {
|
|
3360
3360
|
createdAt: string;
|
|
3361
3361
|
updatedAt: string;
|
|
3362
|
-
organizationId: string;
|
|
3363
3362
|
currency: string;
|
|
3363
|
+
organizationId: string;
|
|
3364
3364
|
items: {
|
|
3365
3365
|
description: string;
|
|
3366
3366
|
quantity: number;
|
|
@@ -3417,8 +3417,8 @@ export declare const waybillsRouter: {
|
|
|
3417
3417
|
issueDate: string;
|
|
3418
3418
|
senderName: string;
|
|
3419
3419
|
recipientName: string;
|
|
3420
|
-
farmId?: string | null | undefined;
|
|
3421
3420
|
currency?: string | undefined;
|
|
3421
|
+
farmId?: string | null | undefined;
|
|
3422
3422
|
notes?: string | null | undefined;
|
|
3423
3423
|
totalValue?: number | null | undefined;
|
|
3424
3424
|
senderAddress?: string | null | undefined;
|
|
@@ -3475,8 +3475,8 @@ export declare const waybillsRouter: {
|
|
|
3475
3475
|
attributes: {
|
|
3476
3476
|
createdAt: string;
|
|
3477
3477
|
updatedAt: string;
|
|
3478
|
-
organizationId: string;
|
|
3479
3478
|
currency: string;
|
|
3479
|
+
organizationId: string;
|
|
3480
3480
|
items: {
|
|
3481
3481
|
description: string;
|
|
3482
3482
|
quantity: number;
|
|
@@ -3545,8 +3545,8 @@ export declare const waybillsRouter: {
|
|
|
3545
3545
|
issueDate: string;
|
|
3546
3546
|
senderName: string;
|
|
3547
3547
|
recipientName: string;
|
|
3548
|
-
farmId?: string | null | undefined;
|
|
3549
3548
|
currency?: string | undefined;
|
|
3549
|
+
farmId?: string | null | undefined;
|
|
3550
3550
|
notes?: string | null | undefined;
|
|
3551
3551
|
totalValue?: number | null | undefined;
|
|
3552
3552
|
senderAddress?: string | null | undefined;
|