@deepintel-ltd/farmpro-contracts 1.16.12 → 1.16.14
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/commodity-deals.routes.d.ts +118 -20
- package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
- package/dist/routes/finance.routes.d.ts +9 -9
- package/dist/routes/suppliers.routes.d.ts +32 -32
- package/dist/schemas/commodity-deals.schemas.d.ts +258 -38
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +18 -2
- package/dist/schemas/finance.schemas.d.ts +9 -9
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +8 -1
- package/dist/schemas/suppliers.schemas.d.ts +30 -30
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ export declare const suppliersRouter: {
|
|
|
31
31
|
'filter[status]'?: string | undefined;
|
|
32
32
|
'filter[crop]'?: string | undefined;
|
|
33
33
|
include?: string | undefined;
|
|
34
|
-
'filter[type]'?: "other" | "fertilizer" | "
|
|
34
|
+
'filter[type]'?: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide" | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
sort?: string | undefined;
|
|
37
37
|
'page[number]'?: number | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const suppliersRouter: {
|
|
|
41
41
|
'filter[status]'?: string | undefined;
|
|
42
42
|
'filter[crop]'?: string | undefined;
|
|
43
43
|
include?: string | undefined;
|
|
44
|
-
'filter[type]'?: "other" | "fertilizer" | "
|
|
44
|
+
'filter[type]'?: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide" | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
summary: "List suppliers";
|
|
47
47
|
description: "Get all suppliers for an organization with optional filtering";
|
|
@@ -88,7 +88,7 @@ export declare const suppliersRouter: {
|
|
|
88
88
|
createdAt: z.ZodString;
|
|
89
89
|
updatedAt: z.ZodString;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
type: "other" | "fertilizer" | "
|
|
91
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
92
92
|
email: string | null;
|
|
93
93
|
createdAt: string;
|
|
94
94
|
updatedAt: string;
|
|
@@ -108,7 +108,7 @@ export declare const suppliersRouter: {
|
|
|
108
108
|
price: number;
|
|
109
109
|
}[] | undefined;
|
|
110
110
|
}, {
|
|
111
|
-
type: "other" | "fertilizer" | "
|
|
111
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
112
112
|
email: string | null;
|
|
113
113
|
createdAt: string;
|
|
114
114
|
updatedAt: string;
|
|
@@ -135,7 +135,7 @@ export declare const suppliersRouter: {
|
|
|
135
135
|
type: string;
|
|
136
136
|
id: string;
|
|
137
137
|
attributes: {
|
|
138
|
-
type: "other" | "fertilizer" | "
|
|
138
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
139
139
|
email: string | null;
|
|
140
140
|
createdAt: string;
|
|
141
141
|
updatedAt: string;
|
|
@@ -162,7 +162,7 @@ export declare const suppliersRouter: {
|
|
|
162
162
|
type: string;
|
|
163
163
|
id: string;
|
|
164
164
|
attributes: {
|
|
165
|
-
type: "other" | "fertilizer" | "
|
|
165
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
166
166
|
email: string | null;
|
|
167
167
|
createdAt: string;
|
|
168
168
|
updatedAt: string;
|
|
@@ -215,7 +215,7 @@ export declare const suppliersRouter: {
|
|
|
215
215
|
type: string;
|
|
216
216
|
id: string;
|
|
217
217
|
attributes: {
|
|
218
|
-
type: "other" | "fertilizer" | "
|
|
218
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
219
219
|
email: string | null;
|
|
220
220
|
createdAt: string;
|
|
221
221
|
updatedAt: string;
|
|
@@ -254,7 +254,7 @@ export declare const suppliersRouter: {
|
|
|
254
254
|
type: string;
|
|
255
255
|
id: string;
|
|
256
256
|
attributes: {
|
|
257
|
-
type: "other" | "fertilizer" | "
|
|
257
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
258
258
|
email: string | null;
|
|
259
259
|
createdAt: string;
|
|
260
260
|
updatedAt: string;
|
|
@@ -495,7 +495,7 @@ export declare const suppliersRouter: {
|
|
|
495
495
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
496
496
|
notes: z.ZodOptional<z.ZodString>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
type: "other" | "fertilizer" | "
|
|
498
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
499
499
|
name: string;
|
|
500
500
|
email?: string | undefined;
|
|
501
501
|
phone?: string | undefined;
|
|
@@ -504,7 +504,7 @@ export declare const suppliersRouter: {
|
|
|
504
504
|
address?: string | undefined;
|
|
505
505
|
rating?: number | undefined;
|
|
506
506
|
}, {
|
|
507
|
-
type: "other" | "fertilizer" | "
|
|
507
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
508
508
|
name: string;
|
|
509
509
|
email?: string | undefined;
|
|
510
510
|
phone?: string | undefined;
|
|
@@ -516,7 +516,7 @@ export declare const suppliersRouter: {
|
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
type: "suppliers";
|
|
518
518
|
attributes: {
|
|
519
|
-
type: "other" | "fertilizer" | "
|
|
519
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
520
520
|
name: string;
|
|
521
521
|
email?: string | undefined;
|
|
522
522
|
phone?: string | undefined;
|
|
@@ -528,7 +528,7 @@ export declare const suppliersRouter: {
|
|
|
528
528
|
}, {
|
|
529
529
|
type: "suppliers";
|
|
530
530
|
attributes: {
|
|
531
|
-
type: "other" | "fertilizer" | "
|
|
531
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
532
532
|
name: string;
|
|
533
533
|
email?: string | undefined;
|
|
534
534
|
phone?: string | undefined;
|
|
@@ -542,7 +542,7 @@ export declare const suppliersRouter: {
|
|
|
542
542
|
data: {
|
|
543
543
|
type: "suppliers";
|
|
544
544
|
attributes: {
|
|
545
|
-
type: "other" | "fertilizer" | "
|
|
545
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
546
546
|
name: string;
|
|
547
547
|
email?: string | undefined;
|
|
548
548
|
phone?: string | undefined;
|
|
@@ -556,7 +556,7 @@ export declare const suppliersRouter: {
|
|
|
556
556
|
data: {
|
|
557
557
|
type: "suppliers";
|
|
558
558
|
attributes: {
|
|
559
|
-
type: "other" | "fertilizer" | "
|
|
559
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
560
560
|
name: string;
|
|
561
561
|
email?: string | undefined;
|
|
562
562
|
phone?: string | undefined;
|
|
@@ -609,7 +609,7 @@ export declare const suppliersRouter: {
|
|
|
609
609
|
createdAt: z.ZodString;
|
|
610
610
|
updatedAt: z.ZodString;
|
|
611
611
|
}, "strip", z.ZodTypeAny, {
|
|
612
|
-
type: "other" | "fertilizer" | "
|
|
612
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
613
613
|
email: string | null;
|
|
614
614
|
createdAt: string;
|
|
615
615
|
updatedAt: string;
|
|
@@ -629,7 +629,7 @@ export declare const suppliersRouter: {
|
|
|
629
629
|
price: number;
|
|
630
630
|
}[] | undefined;
|
|
631
631
|
}, {
|
|
632
|
-
type: "other" | "fertilizer" | "
|
|
632
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
633
633
|
email: string | null;
|
|
634
634
|
createdAt: string;
|
|
635
635
|
updatedAt: string;
|
|
@@ -656,7 +656,7 @@ export declare const suppliersRouter: {
|
|
|
656
656
|
type: string;
|
|
657
657
|
id: string;
|
|
658
658
|
attributes: {
|
|
659
|
-
type: "other" | "fertilizer" | "
|
|
659
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
660
660
|
email: string | null;
|
|
661
661
|
createdAt: string;
|
|
662
662
|
updatedAt: string;
|
|
@@ -683,7 +683,7 @@ export declare const suppliersRouter: {
|
|
|
683
683
|
type: string;
|
|
684
684
|
id: string;
|
|
685
685
|
attributes: {
|
|
686
|
-
type: "other" | "fertilizer" | "
|
|
686
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
687
687
|
email: string | null;
|
|
688
688
|
createdAt: string;
|
|
689
689
|
updatedAt: string;
|
|
@@ -736,7 +736,7 @@ export declare const suppliersRouter: {
|
|
|
736
736
|
type: string;
|
|
737
737
|
id: string;
|
|
738
738
|
attributes: {
|
|
739
|
-
type: "other" | "fertilizer" | "
|
|
739
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
740
740
|
email: string | null;
|
|
741
741
|
createdAt: string;
|
|
742
742
|
updatedAt: string;
|
|
@@ -775,7 +775,7 @@ export declare const suppliersRouter: {
|
|
|
775
775
|
type: string;
|
|
776
776
|
id: string;
|
|
777
777
|
attributes: {
|
|
778
|
-
type: "other" | "fertilizer" | "
|
|
778
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
779
779
|
email: string | null;
|
|
780
780
|
createdAt: string;
|
|
781
781
|
updatedAt: string;
|
|
@@ -1200,7 +1200,7 @@ export declare const suppliersRouter: {
|
|
|
1200
1200
|
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1201
1201
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
1202
|
}, "strip", z.ZodTypeAny, {
|
|
1203
|
-
type?: "other" | "fertilizer" | "
|
|
1203
|
+
type?: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide" | undefined;
|
|
1204
1204
|
email?: string | null | undefined;
|
|
1205
1205
|
name?: string | undefined;
|
|
1206
1206
|
phone?: string | null | undefined;
|
|
@@ -1209,7 +1209,7 @@ export declare const suppliersRouter: {
|
|
|
1209
1209
|
address?: string | null | undefined;
|
|
1210
1210
|
rating?: number | null | undefined;
|
|
1211
1211
|
}, {
|
|
1212
|
-
type?: "other" | "fertilizer" | "
|
|
1212
|
+
type?: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide" | undefined;
|
|
1213
1213
|
email?: string | null | undefined;
|
|
1214
1214
|
name?: string | undefined;
|
|
1215
1215
|
phone?: string | null | undefined;
|
|
@@ -1222,7 +1222,7 @@ export declare const suppliersRouter: {
|
|
|
1222
1222
|
type: "suppliers";
|
|
1223
1223
|
id: string;
|
|
1224
1224
|
attributes: {
|
|
1225
|
-
type?: "other" | "fertilizer" | "
|
|
1225
|
+
type?: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide" | undefined;
|
|
1226
1226
|
email?: string | null | undefined;
|
|
1227
1227
|
name?: string | undefined;
|
|
1228
1228
|
phone?: string | null | undefined;
|
|
@@ -1235,7 +1235,7 @@ export declare const suppliersRouter: {
|
|
|
1235
1235
|
type: "suppliers";
|
|
1236
1236
|
id: string;
|
|
1237
1237
|
attributes: {
|
|
1238
|
-
type?: "other" | "fertilizer" | "
|
|
1238
|
+
type?: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide" | undefined;
|
|
1239
1239
|
email?: string | null | undefined;
|
|
1240
1240
|
name?: string | undefined;
|
|
1241
1241
|
phone?: string | null | undefined;
|
|
@@ -1250,7 +1250,7 @@ export declare const suppliersRouter: {
|
|
|
1250
1250
|
type: "suppliers";
|
|
1251
1251
|
id: string;
|
|
1252
1252
|
attributes: {
|
|
1253
|
-
type?: "other" | "fertilizer" | "
|
|
1253
|
+
type?: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide" | undefined;
|
|
1254
1254
|
email?: string | null | undefined;
|
|
1255
1255
|
name?: string | undefined;
|
|
1256
1256
|
phone?: string | null | undefined;
|
|
@@ -1265,7 +1265,7 @@ export declare const suppliersRouter: {
|
|
|
1265
1265
|
type: "suppliers";
|
|
1266
1266
|
id: string;
|
|
1267
1267
|
attributes: {
|
|
1268
|
-
type?: "other" | "fertilizer" | "
|
|
1268
|
+
type?: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide" | undefined;
|
|
1269
1269
|
email?: string | null | undefined;
|
|
1270
1270
|
name?: string | undefined;
|
|
1271
1271
|
phone?: string | null | undefined;
|
|
@@ -1318,7 +1318,7 @@ export declare const suppliersRouter: {
|
|
|
1318
1318
|
createdAt: z.ZodString;
|
|
1319
1319
|
updatedAt: z.ZodString;
|
|
1320
1320
|
}, "strip", z.ZodTypeAny, {
|
|
1321
|
-
type: "other" | "fertilizer" | "
|
|
1321
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
1322
1322
|
email: string | null;
|
|
1323
1323
|
createdAt: string;
|
|
1324
1324
|
updatedAt: string;
|
|
@@ -1338,7 +1338,7 @@ export declare const suppliersRouter: {
|
|
|
1338
1338
|
price: number;
|
|
1339
1339
|
}[] | undefined;
|
|
1340
1340
|
}, {
|
|
1341
|
-
type: "other" | "fertilizer" | "
|
|
1341
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
1342
1342
|
email: string | null;
|
|
1343
1343
|
createdAt: string;
|
|
1344
1344
|
updatedAt: string;
|
|
@@ -1365,7 +1365,7 @@ export declare const suppliersRouter: {
|
|
|
1365
1365
|
type: string;
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
attributes: {
|
|
1368
|
-
type: "other" | "fertilizer" | "
|
|
1368
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
1369
1369
|
email: string | null;
|
|
1370
1370
|
createdAt: string;
|
|
1371
1371
|
updatedAt: string;
|
|
@@ -1392,7 +1392,7 @@ export declare const suppliersRouter: {
|
|
|
1392
1392
|
type: string;
|
|
1393
1393
|
id: string;
|
|
1394
1394
|
attributes: {
|
|
1395
|
-
type: "other" | "fertilizer" | "
|
|
1395
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
1396
1396
|
email: string | null;
|
|
1397
1397
|
createdAt: string;
|
|
1398
1398
|
updatedAt: string;
|
|
@@ -1445,7 +1445,7 @@ export declare const suppliersRouter: {
|
|
|
1445
1445
|
type: string;
|
|
1446
1446
|
id: string;
|
|
1447
1447
|
attributes: {
|
|
1448
|
-
type: "other" | "fertilizer" | "
|
|
1448
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
1449
1449
|
email: string | null;
|
|
1450
1450
|
createdAt: string;
|
|
1451
1451
|
updatedAt: string;
|
|
@@ -1484,7 +1484,7 @@ export declare const suppliersRouter: {
|
|
|
1484
1484
|
type: string;
|
|
1485
1485
|
id: string;
|
|
1486
1486
|
attributes: {
|
|
1487
|
-
type: "other" | "fertilizer" | "
|
|
1487
|
+
type: "other" | "fertilizer" | "labor" | "equipment" | "seed" | "pesticide";
|
|
1488
1488
|
email: string | null;
|
|
1489
1489
|
createdAt: string;
|
|
1490
1490
|
updatedAt: string;
|