@deepintel-ltd/farmpro-contracts 1.26.0 → 1.27.1
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/team-payments.routes.d.ts +36 -36
- package/dist/routes/trade-cash-events.routes.d.ts +82 -39
- package/dist/routes/trade-cash-events.routes.d.ts.map +1 -1
- 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 +67 -27
- package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -1
- package/dist/schemas/trade-cash-events.schemas.js +6 -0
- package/dist/schemas/waybills.schemas.d.ts +27 -27
- package/package.json +1 -1
|
@@ -222,9 +222,9 @@ export declare const livestockRouter: {
|
|
|
222
222
|
createdAt: string;
|
|
223
223
|
updatedAt: string;
|
|
224
224
|
name: string | null;
|
|
225
|
+
currency: string;
|
|
225
226
|
farmId: string;
|
|
226
227
|
location: string | null;
|
|
227
|
-
currency: string;
|
|
228
228
|
notes: string | null;
|
|
229
229
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
230
230
|
groupId: string | null;
|
|
@@ -383,9 +383,9 @@ export declare const livestockRouter: {
|
|
|
383
383
|
createdAt: string;
|
|
384
384
|
updatedAt: string;
|
|
385
385
|
name: string | null;
|
|
386
|
+
currency: string;
|
|
386
387
|
farmId: string;
|
|
387
388
|
location: string | null;
|
|
388
|
-
currency: string;
|
|
389
389
|
notes: string | null;
|
|
390
390
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
391
391
|
groupId: string | null;
|
|
@@ -577,9 +577,9 @@ export declare const livestockRouter: {
|
|
|
577
577
|
createdAt: string;
|
|
578
578
|
updatedAt: string;
|
|
579
579
|
name: string | null;
|
|
580
|
+
currency: string;
|
|
580
581
|
farmId: string;
|
|
581
582
|
location: string | null;
|
|
582
|
-
currency: string;
|
|
583
583
|
notes: string | null;
|
|
584
584
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
585
585
|
groupId: string | null;
|
|
@@ -1252,8 +1252,8 @@ export declare const livestockRouter: {
|
|
|
1252
1252
|
tagId: string;
|
|
1253
1253
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
1254
1254
|
name?: string | undefined;
|
|
1255
|
-
location?: string | undefined;
|
|
1256
1255
|
currency?: string | undefined;
|
|
1256
|
+
location?: string | undefined;
|
|
1257
1257
|
notes?: string | undefined;
|
|
1258
1258
|
groupId?: string | undefined;
|
|
1259
1259
|
purchasePrice?: number | undefined;
|
|
@@ -1308,8 +1308,8 @@ export declare const livestockRouter: {
|
|
|
1308
1308
|
tagId: string;
|
|
1309
1309
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
1310
1310
|
name?: string | undefined;
|
|
1311
|
-
location?: string | undefined;
|
|
1312
1311
|
currency?: string | undefined;
|
|
1312
|
+
location?: string | undefined;
|
|
1313
1313
|
notes?: string | undefined;
|
|
1314
1314
|
groupId?: string | undefined;
|
|
1315
1315
|
purchasePrice?: number | undefined;
|
|
@@ -1368,8 +1368,8 @@ export declare const livestockRouter: {
|
|
|
1368
1368
|
tagId: string;
|
|
1369
1369
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
1370
1370
|
name?: string | undefined;
|
|
1371
|
-
location?: string | undefined;
|
|
1372
1371
|
currency?: string | undefined;
|
|
1372
|
+
location?: string | undefined;
|
|
1373
1373
|
notes?: string | undefined;
|
|
1374
1374
|
groupId?: string | undefined;
|
|
1375
1375
|
purchasePrice?: number | undefined;
|
|
@@ -1562,9 +1562,9 @@ export declare const livestockRouter: {
|
|
|
1562
1562
|
createdAt: string;
|
|
1563
1563
|
updatedAt: string;
|
|
1564
1564
|
name: string | null;
|
|
1565
|
+
currency: string;
|
|
1565
1566
|
farmId: string;
|
|
1566
1567
|
location: string | null;
|
|
1567
|
-
currency: string;
|
|
1568
1568
|
notes: string | null;
|
|
1569
1569
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1570
1570
|
groupId: string | null;
|
|
@@ -1723,9 +1723,9 @@ export declare const livestockRouter: {
|
|
|
1723
1723
|
createdAt: string;
|
|
1724
1724
|
updatedAt: string;
|
|
1725
1725
|
name: string | null;
|
|
1726
|
+
currency: string;
|
|
1726
1727
|
farmId: string;
|
|
1727
1728
|
location: string | null;
|
|
1728
|
-
currency: string;
|
|
1729
1729
|
notes: string | null;
|
|
1730
1730
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1731
1731
|
groupId: string | null;
|
|
@@ -1917,9 +1917,9 @@ export declare const livestockRouter: {
|
|
|
1917
1917
|
createdAt: string;
|
|
1918
1918
|
updatedAt: string;
|
|
1919
1919
|
name: string | null;
|
|
1920
|
+
currency: string;
|
|
1920
1921
|
farmId: string;
|
|
1921
1922
|
location: string | null;
|
|
1922
|
-
currency: string;
|
|
1923
1923
|
notes: string | null;
|
|
1924
1924
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
1925
1925
|
groupId: string | null;
|
|
@@ -2745,9 +2745,9 @@ export declare const livestockRouter: {
|
|
|
2745
2745
|
createdAt: string;
|
|
2746
2746
|
updatedAt: string;
|
|
2747
2747
|
name: string | null;
|
|
2748
|
+
currency: string;
|
|
2748
2749
|
farmId: string;
|
|
2749
2750
|
location: string | null;
|
|
2750
|
-
currency: string;
|
|
2751
2751
|
notes: string | null;
|
|
2752
2752
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2753
2753
|
groupId: string | null;
|
|
@@ -2906,9 +2906,9 @@ export declare const livestockRouter: {
|
|
|
2906
2906
|
createdAt: string;
|
|
2907
2907
|
updatedAt: string;
|
|
2908
2908
|
name: string | null;
|
|
2909
|
+
currency: string;
|
|
2909
2910
|
farmId: string;
|
|
2910
2911
|
location: string | null;
|
|
2911
|
-
currency: string;
|
|
2912
2912
|
notes: string | null;
|
|
2913
2913
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
2914
2914
|
groupId: string | null;
|
|
@@ -3100,9 +3100,9 @@ export declare const livestockRouter: {
|
|
|
3100
3100
|
createdAt: string;
|
|
3101
3101
|
updatedAt: string;
|
|
3102
3102
|
name: string | null;
|
|
3103
|
+
currency: string;
|
|
3103
3104
|
farmId: string;
|
|
3104
3105
|
location: string | null;
|
|
3105
|
-
currency: string;
|
|
3106
3106
|
notes: string | null;
|
|
3107
3107
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
3108
3108
|
groupId: string | null;
|
|
@@ -3511,8 +3511,8 @@ export declare const livestockRouter: {
|
|
|
3511
3511
|
}, "strip", z.ZodTypeAny, {
|
|
3512
3512
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
3513
3513
|
name?: string | null | undefined;
|
|
3514
|
-
location?: string | null | undefined;
|
|
3515
3514
|
currency?: string | undefined;
|
|
3515
|
+
location?: string | null | undefined;
|
|
3516
3516
|
notes?: string | null | undefined;
|
|
3517
3517
|
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
3518
3518
|
groupId?: string | null | undefined;
|
|
@@ -3535,8 +3535,8 @@ export declare const livestockRouter: {
|
|
|
3535
3535
|
}, {
|
|
3536
3536
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
3537
3537
|
name?: string | null | undefined;
|
|
3538
|
-
location?: string | null | undefined;
|
|
3539
3538
|
currency?: string | undefined;
|
|
3539
|
+
location?: string | null | undefined;
|
|
3540
3540
|
notes?: string | null | undefined;
|
|
3541
3541
|
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
3542
3542
|
groupId?: string | null | undefined;
|
|
@@ -3563,8 +3563,8 @@ export declare const livestockRouter: {
|
|
|
3563
3563
|
attributes: {
|
|
3564
3564
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
3565
3565
|
name?: string | null | undefined;
|
|
3566
|
-
location?: string | null | undefined;
|
|
3567
3566
|
currency?: string | undefined;
|
|
3567
|
+
location?: string | null | undefined;
|
|
3568
3568
|
notes?: string | null | undefined;
|
|
3569
3569
|
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
3570
3570
|
groupId?: string | null | undefined;
|
|
@@ -3591,8 +3591,8 @@ export declare const livestockRouter: {
|
|
|
3591
3591
|
attributes: {
|
|
3592
3592
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
3593
3593
|
name?: string | null | undefined;
|
|
3594
|
-
location?: string | null | undefined;
|
|
3595
3594
|
currency?: string | undefined;
|
|
3595
|
+
location?: string | null | undefined;
|
|
3596
3596
|
notes?: string | null | undefined;
|
|
3597
3597
|
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
3598
3598
|
groupId?: string | null | undefined;
|
|
@@ -3621,8 +3621,8 @@ export declare const livestockRouter: {
|
|
|
3621
3621
|
attributes: {
|
|
3622
3622
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
3623
3623
|
name?: string | null | undefined;
|
|
3624
|
-
location?: string | null | undefined;
|
|
3625
3624
|
currency?: string | undefined;
|
|
3625
|
+
location?: string | null | undefined;
|
|
3626
3626
|
notes?: string | null | undefined;
|
|
3627
3627
|
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
3628
3628
|
groupId?: string | null | undefined;
|
|
@@ -3651,8 +3651,8 @@ export declare const livestockRouter: {
|
|
|
3651
3651
|
attributes: {
|
|
3652
3652
|
status?: "ACTIVE" | "SOLD" | "DECEASED" | "TRANSFERRED" | "QUARANTINE" | undefined;
|
|
3653
3653
|
name?: string | null | undefined;
|
|
3654
|
-
location?: string | null | undefined;
|
|
3655
3654
|
currency?: string | undefined;
|
|
3655
|
+
location?: string | null | undefined;
|
|
3656
3656
|
notes?: string | null | undefined;
|
|
3657
3657
|
category?: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT" | undefined;
|
|
3658
3658
|
groupId?: string | null | undefined;
|
|
@@ -3846,9 +3846,9 @@ export declare const livestockRouter: {
|
|
|
3846
3846
|
createdAt: string;
|
|
3847
3847
|
updatedAt: string;
|
|
3848
3848
|
name: string | null;
|
|
3849
|
+
currency: string;
|
|
3849
3850
|
farmId: string;
|
|
3850
3851
|
location: string | null;
|
|
3851
|
-
currency: string;
|
|
3852
3852
|
notes: string | null;
|
|
3853
3853
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
3854
3854
|
groupId: string | null;
|
|
@@ -4007,9 +4007,9 @@ export declare const livestockRouter: {
|
|
|
4007
4007
|
createdAt: string;
|
|
4008
4008
|
updatedAt: string;
|
|
4009
4009
|
name: string | null;
|
|
4010
|
+
currency: string;
|
|
4010
4011
|
farmId: string;
|
|
4011
4012
|
location: string | null;
|
|
4012
|
-
currency: string;
|
|
4013
4013
|
notes: string | null;
|
|
4014
4014
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
4015
4015
|
groupId: string | null;
|
|
@@ -4201,9 +4201,9 @@ export declare const livestockRouter: {
|
|
|
4201
4201
|
createdAt: string;
|
|
4202
4202
|
updatedAt: string;
|
|
4203
4203
|
name: string | null;
|
|
4204
|
+
currency: string;
|
|
4204
4205
|
farmId: string;
|
|
4205
4206
|
location: string | null;
|
|
4206
|
-
currency: string;
|
|
4207
4207
|
notes: string | null;
|
|
4208
4208
|
category: "POULTRY" | "CATTLE" | "GOAT" | "SHEEP" | "OTHER" | "PIG" | "FISH" | "RABBIT";
|
|
4209
4209
|
groupId: string | null;
|
|
@@ -245,8 +245,8 @@ export declare const marketPriceReportSchema: z.ZodObject<{
|
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
id: string;
|
|
247
247
|
createdAt: string;
|
|
248
|
-
farmId: string;
|
|
249
248
|
currency: string;
|
|
249
|
+
farmId: string;
|
|
250
250
|
crop: string;
|
|
251
251
|
unit: string;
|
|
252
252
|
pricePerUnit: number;
|
|
@@ -256,8 +256,8 @@ export declare const marketPriceReportSchema: z.ZodObject<{
|
|
|
256
256
|
}, {
|
|
257
257
|
id: string;
|
|
258
258
|
createdAt: string;
|
|
259
|
-
farmId: string;
|
|
260
259
|
currency: string;
|
|
260
|
+
farmId: string;
|
|
261
261
|
crop: string;
|
|
262
262
|
unit: string;
|
|
263
263
|
pricePerUnit: number;
|
|
@@ -671,8 +671,8 @@ export declare const marketIntelligenceRouter: {
|
|
|
671
671
|
}, "strip", z.ZodTypeAny, {
|
|
672
672
|
id: string;
|
|
673
673
|
createdAt: string;
|
|
674
|
-
farmId: string;
|
|
675
674
|
currency: string;
|
|
675
|
+
farmId: string;
|
|
676
676
|
crop: string;
|
|
677
677
|
unit: string;
|
|
678
678
|
pricePerUnit: number;
|
|
@@ -682,8 +682,8 @@ export declare const marketIntelligenceRouter: {
|
|
|
682
682
|
}, {
|
|
683
683
|
id: string;
|
|
684
684
|
createdAt: string;
|
|
685
|
-
farmId: string;
|
|
686
685
|
currency: string;
|
|
686
|
+
farmId: string;
|
|
687
687
|
crop: string;
|
|
688
688
|
unit: string;
|
|
689
689
|
pricePerUnit: number;
|
|
@@ -1087,8 +1087,8 @@ export declare const marketIntelligenceRouter: {
|
|
|
1087
1087
|
}, "strip", z.ZodTypeAny, {
|
|
1088
1088
|
id: string;
|
|
1089
1089
|
createdAt: string;
|
|
1090
|
-
farmId: string;
|
|
1091
1090
|
currency: string;
|
|
1091
|
+
farmId: string;
|
|
1092
1092
|
crop: string;
|
|
1093
1093
|
unit: string;
|
|
1094
1094
|
pricePerUnit: number;
|
|
@@ -1098,8 +1098,8 @@ export declare const marketIntelligenceRouter: {
|
|
|
1098
1098
|
}, {
|
|
1099
1099
|
id: string;
|
|
1100
1100
|
createdAt: string;
|
|
1101
|
-
farmId: string;
|
|
1102
1101
|
currency: string;
|
|
1102
|
+
farmId: string;
|
|
1103
1103
|
crop: string;
|
|
1104
1104
|
unit: string;
|
|
1105
1105
|
pricePerUnit: number;
|
|
@@ -1111,8 +1111,8 @@ export declare const marketIntelligenceRouter: {
|
|
|
1111
1111
|
data: {
|
|
1112
1112
|
id: string;
|
|
1113
1113
|
createdAt: string;
|
|
1114
|
-
farmId: string;
|
|
1115
1114
|
currency: string;
|
|
1115
|
+
farmId: string;
|
|
1116
1116
|
crop: string;
|
|
1117
1117
|
unit: string;
|
|
1118
1118
|
pricePerUnit: number;
|
|
@@ -1124,8 +1124,8 @@ export declare const marketIntelligenceRouter: {
|
|
|
1124
1124
|
data: {
|
|
1125
1125
|
id: string;
|
|
1126
1126
|
createdAt: string;
|
|
1127
|
-
farmId: string;
|
|
1128
1127
|
currency: string;
|
|
1128
|
+
farmId: string;
|
|
1129
1129
|
crop: string;
|
|
1130
1130
|
unit: string;
|
|
1131
1131
|
pricePerUnit: number;
|