@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
|
@@ -36,6 +36,7 @@ export declare const farmAttributesSchema: z.ZodObject<{
|
|
|
36
36
|
createdAt: string;
|
|
37
37
|
updatedAt: string;
|
|
38
38
|
name: string;
|
|
39
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
39
40
|
countryCode: string;
|
|
40
41
|
regionCode: string | null;
|
|
41
42
|
subRegionCode: string | null;
|
|
@@ -51,12 +52,12 @@ export declare const farmAttributesSchema: z.ZodObject<{
|
|
|
51
52
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
52
53
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
53
54
|
} | null;
|
|
54
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
55
55
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
createdAt: string;
|
|
58
58
|
updatedAt: string;
|
|
59
59
|
name: string;
|
|
60
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
60
61
|
countryCode: string;
|
|
61
62
|
regionCode: string | null;
|
|
62
63
|
subRegionCode: string | null;
|
|
@@ -72,7 +73,6 @@ export declare const farmAttributesSchema: z.ZodObject<{
|
|
|
72
73
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
73
74
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
74
75
|
} | null;
|
|
75
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
76
76
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
77
77
|
}>;
|
|
78
78
|
export declare const createFarmAttributesSchema: z.ZodObject<{
|
|
@@ -102,6 +102,7 @@ export declare const createFarmAttributesSchema: z.ZodObject<{
|
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
name: string;
|
|
104
104
|
location: string;
|
|
105
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
105
106
|
countryCode?: string | undefined;
|
|
106
107
|
regionCode?: string | undefined;
|
|
107
108
|
subRegionCode?: string | undefined;
|
|
@@ -116,10 +117,10 @@ export declare const createFarmAttributesSchema: z.ZodObject<{
|
|
|
116
117
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
117
118
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
118
119
|
} | undefined;
|
|
119
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
120
120
|
}, {
|
|
121
121
|
name: string;
|
|
122
122
|
location: string;
|
|
123
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
123
124
|
countryCode?: string | undefined;
|
|
124
125
|
regionCode?: string | undefined;
|
|
125
126
|
subRegionCode?: string | undefined;
|
|
@@ -134,7 +135,6 @@ export declare const createFarmAttributesSchema: z.ZodObject<{
|
|
|
134
135
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
135
136
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
136
137
|
} | undefined;
|
|
137
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
138
138
|
}>;
|
|
139
139
|
export declare const updateFarmAttributesSchema: z.ZodObject<{
|
|
140
140
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -162,6 +162,7 @@ export declare const updateFarmAttributesSchema: z.ZodObject<{
|
|
|
162
162
|
lng: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
164
|
name?: string | undefined;
|
|
165
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
165
166
|
countryCode?: string | undefined;
|
|
166
167
|
regionCode?: string | undefined;
|
|
167
168
|
subRegionCode?: string | undefined;
|
|
@@ -177,9 +178,9 @@ export declare const updateFarmAttributesSchema: z.ZodObject<{
|
|
|
177
178
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
178
179
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
179
180
|
} | undefined;
|
|
180
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
181
181
|
}, {
|
|
182
182
|
name?: string | undefined;
|
|
183
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
183
184
|
countryCode?: string | undefined;
|
|
184
185
|
regionCode?: string | undefined;
|
|
185
186
|
subRegionCode?: string | undefined;
|
|
@@ -195,7 +196,6 @@ export declare const updateFarmAttributesSchema: z.ZodObject<{
|
|
|
195
196
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
196
197
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
197
198
|
} | undefined;
|
|
198
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
199
199
|
}>;
|
|
200
200
|
export declare const createFarmSchema: z.ZodObject<{
|
|
201
201
|
type: z.ZodLiteral<"farms">;
|
|
@@ -226,6 +226,7 @@ export declare const createFarmSchema: z.ZodObject<{
|
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
name: string;
|
|
228
228
|
location: string;
|
|
229
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
229
230
|
countryCode?: string | undefined;
|
|
230
231
|
regionCode?: string | undefined;
|
|
231
232
|
subRegionCode?: string | undefined;
|
|
@@ -240,10 +241,10 @@ export declare const createFarmSchema: z.ZodObject<{
|
|
|
240
241
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
241
242
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
242
243
|
} | undefined;
|
|
243
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
244
244
|
}, {
|
|
245
245
|
name: string;
|
|
246
246
|
location: string;
|
|
247
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
247
248
|
countryCode?: string | undefined;
|
|
248
249
|
regionCode?: string | undefined;
|
|
249
250
|
subRegionCode?: string | undefined;
|
|
@@ -258,13 +259,13 @@ export declare const createFarmSchema: z.ZodObject<{
|
|
|
258
259
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
259
260
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
260
261
|
} | undefined;
|
|
261
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
264
|
type: "farms";
|
|
265
265
|
attributes: {
|
|
266
266
|
name: string;
|
|
267
267
|
location: string;
|
|
268
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
268
269
|
countryCode?: string | undefined;
|
|
269
270
|
regionCode?: string | undefined;
|
|
270
271
|
subRegionCode?: string | undefined;
|
|
@@ -279,13 +280,13 @@ export declare const createFarmSchema: z.ZodObject<{
|
|
|
279
280
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
280
281
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
281
282
|
} | undefined;
|
|
282
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
283
283
|
};
|
|
284
284
|
}, {
|
|
285
285
|
type: "farms";
|
|
286
286
|
attributes: {
|
|
287
287
|
name: string;
|
|
288
288
|
location: string;
|
|
289
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
289
290
|
countryCode?: string | undefined;
|
|
290
291
|
regionCode?: string | undefined;
|
|
291
292
|
subRegionCode?: string | undefined;
|
|
@@ -300,7 +301,6 @@ export declare const createFarmSchema: z.ZodObject<{
|
|
|
300
301
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
301
302
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
302
303
|
} | undefined;
|
|
303
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
304
304
|
};
|
|
305
305
|
}>;
|
|
306
306
|
export declare const updateFarmSchema: z.ZodObject<{
|
|
@@ -332,6 +332,7 @@ export declare const updateFarmSchema: z.ZodObject<{
|
|
|
332
332
|
lng: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
333
333
|
}, "strip", z.ZodTypeAny, {
|
|
334
334
|
name?: string | undefined;
|
|
335
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
335
336
|
countryCode?: string | undefined;
|
|
336
337
|
regionCode?: string | undefined;
|
|
337
338
|
subRegionCode?: string | undefined;
|
|
@@ -347,9 +348,9 @@ export declare const updateFarmSchema: z.ZodObject<{
|
|
|
347
348
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
348
349
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
349
350
|
} | undefined;
|
|
350
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
351
351
|
}, {
|
|
352
352
|
name?: string | undefined;
|
|
353
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
353
354
|
countryCode?: string | undefined;
|
|
354
355
|
regionCode?: string | undefined;
|
|
355
356
|
subRegionCode?: string | undefined;
|
|
@@ -365,13 +366,13 @@ export declare const updateFarmSchema: z.ZodObject<{
|
|
|
365
366
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
366
367
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
367
368
|
} | undefined;
|
|
368
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
369
369
|
}>;
|
|
370
370
|
}, "strip", z.ZodTypeAny, {
|
|
371
371
|
type: "farms";
|
|
372
372
|
id: string;
|
|
373
373
|
attributes: {
|
|
374
374
|
name?: string | undefined;
|
|
375
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
375
376
|
countryCode?: string | undefined;
|
|
376
377
|
regionCode?: string | undefined;
|
|
377
378
|
subRegionCode?: string | undefined;
|
|
@@ -387,13 +388,13 @@ export declare const updateFarmSchema: z.ZodObject<{
|
|
|
387
388
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
388
389
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
389
390
|
} | undefined;
|
|
390
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
391
391
|
};
|
|
392
392
|
}, {
|
|
393
393
|
type: "farms";
|
|
394
394
|
id: string;
|
|
395
395
|
attributes: {
|
|
396
396
|
name?: string | undefined;
|
|
397
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
397
398
|
countryCode?: string | undefined;
|
|
398
399
|
regionCode?: string | undefined;
|
|
399
400
|
subRegionCode?: string | undefined;
|
|
@@ -409,7 +410,6 @@ export declare const updateFarmSchema: z.ZodObject<{
|
|
|
409
410
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
410
411
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
411
412
|
} | undefined;
|
|
412
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
413
413
|
};
|
|
414
414
|
}>;
|
|
415
415
|
export declare const farmResourceSchema: z.ZodObject<{
|
|
@@ -448,6 +448,7 @@ export declare const farmResourceSchema: z.ZodObject<{
|
|
|
448
448
|
createdAt: string;
|
|
449
449
|
updatedAt: string;
|
|
450
450
|
name: string;
|
|
451
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
451
452
|
countryCode: string;
|
|
452
453
|
regionCode: string | null;
|
|
453
454
|
subRegionCode: string | null;
|
|
@@ -463,12 +464,12 @@ export declare const farmResourceSchema: z.ZodObject<{
|
|
|
463
464
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
464
465
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
465
466
|
} | null;
|
|
466
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
467
467
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
468
468
|
}, {
|
|
469
469
|
createdAt: string;
|
|
470
470
|
updatedAt: string;
|
|
471
471
|
name: string;
|
|
472
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
472
473
|
countryCode: string;
|
|
473
474
|
regionCode: string | null;
|
|
474
475
|
subRegionCode: string | null;
|
|
@@ -484,7 +485,6 @@ export declare const farmResourceSchema: z.ZodObject<{
|
|
|
484
485
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
485
486
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
486
487
|
} | null;
|
|
487
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
488
488
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
489
489
|
}>;
|
|
490
490
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -497,6 +497,7 @@ export declare const farmResourceSchema: z.ZodObject<{
|
|
|
497
497
|
createdAt: string;
|
|
498
498
|
updatedAt: string;
|
|
499
499
|
name: string;
|
|
500
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
500
501
|
countryCode: string;
|
|
501
502
|
regionCode: string | null;
|
|
502
503
|
subRegionCode: string | null;
|
|
@@ -512,7 +513,6 @@ export declare const farmResourceSchema: z.ZodObject<{
|
|
|
512
513
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
513
514
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
514
515
|
} | null;
|
|
515
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
516
516
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
517
517
|
};
|
|
518
518
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -525,6 +525,7 @@ export declare const farmResourceSchema: z.ZodObject<{
|
|
|
525
525
|
createdAt: string;
|
|
526
526
|
updatedAt: string;
|
|
527
527
|
name: string;
|
|
528
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
528
529
|
countryCode: string;
|
|
529
530
|
regionCode: string | null;
|
|
530
531
|
subRegionCode: string | null;
|
|
@@ -540,7 +541,6 @@ export declare const farmResourceSchema: z.ZodObject<{
|
|
|
540
541
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
541
542
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
542
543
|
} | null;
|
|
543
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
544
544
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
545
545
|
};
|
|
546
546
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -583,6 +583,7 @@ export declare const farmDetailResourceSchema: z.ZodObject<{
|
|
|
583
583
|
createdAt: string;
|
|
584
584
|
updatedAt: string;
|
|
585
585
|
name: string;
|
|
586
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
586
587
|
countryCode: string;
|
|
587
588
|
regionCode: string | null;
|
|
588
589
|
subRegionCode: string | null;
|
|
@@ -598,12 +599,12 @@ export declare const farmDetailResourceSchema: z.ZodObject<{
|
|
|
598
599
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
599
600
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
600
601
|
} | null;
|
|
601
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
602
602
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
603
603
|
}, {
|
|
604
604
|
createdAt: string;
|
|
605
605
|
updatedAt: string;
|
|
606
606
|
name: string;
|
|
607
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
607
608
|
countryCode: string;
|
|
608
609
|
regionCode: string | null;
|
|
609
610
|
subRegionCode: string | null;
|
|
@@ -619,7 +620,6 @@ export declare const farmDetailResourceSchema: z.ZodObject<{
|
|
|
619
620
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
620
621
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
621
622
|
} | null;
|
|
622
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
623
623
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
624
624
|
}>;
|
|
625
625
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -728,6 +728,7 @@ export declare const farmDetailResourceSchema: z.ZodObject<{
|
|
|
728
728
|
createdAt: string;
|
|
729
729
|
updatedAt: string;
|
|
730
730
|
name: string;
|
|
731
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
731
732
|
countryCode: string;
|
|
732
733
|
regionCode: string | null;
|
|
733
734
|
subRegionCode: string | null;
|
|
@@ -743,7 +744,6 @@ export declare const farmDetailResourceSchema: z.ZodObject<{
|
|
|
743
744
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
744
745
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
745
746
|
} | null;
|
|
746
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
747
747
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
748
748
|
};
|
|
749
749
|
relationships?: {
|
|
@@ -773,6 +773,7 @@ export declare const farmDetailResourceSchema: z.ZodObject<{
|
|
|
773
773
|
createdAt: string;
|
|
774
774
|
updatedAt: string;
|
|
775
775
|
name: string;
|
|
776
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
776
777
|
countryCode: string;
|
|
777
778
|
regionCode: string | null;
|
|
778
779
|
subRegionCode: string | null;
|
|
@@ -788,7 +789,6 @@ export declare const farmDetailResourceSchema: z.ZodObject<{
|
|
|
788
789
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
789
790
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
790
791
|
} | null;
|
|
791
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
792
792
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
793
793
|
};
|
|
794
794
|
relationships?: {
|
|
@@ -849,6 +849,7 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
849
849
|
createdAt: string;
|
|
850
850
|
updatedAt: string;
|
|
851
851
|
name: string;
|
|
852
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
852
853
|
countryCode: string;
|
|
853
854
|
regionCode: string | null;
|
|
854
855
|
subRegionCode: string | null;
|
|
@@ -864,12 +865,12 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
864
865
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
865
866
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
866
867
|
} | null;
|
|
867
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
868
868
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
869
869
|
}, {
|
|
870
870
|
createdAt: string;
|
|
871
871
|
updatedAt: string;
|
|
872
872
|
name: string;
|
|
873
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
873
874
|
countryCode: string;
|
|
874
875
|
regionCode: string | null;
|
|
875
876
|
subRegionCode: string | null;
|
|
@@ -885,7 +886,6 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
885
886
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
886
887
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
887
888
|
} | null;
|
|
888
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
889
889
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
890
890
|
}>;
|
|
891
891
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -898,6 +898,7 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
898
898
|
createdAt: string;
|
|
899
899
|
updatedAt: string;
|
|
900
900
|
name: string;
|
|
901
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
901
902
|
countryCode: string;
|
|
902
903
|
regionCode: string | null;
|
|
903
904
|
subRegionCode: string | null;
|
|
@@ -913,7 +914,6 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
913
914
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
914
915
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
915
916
|
} | null;
|
|
916
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
917
917
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
918
918
|
};
|
|
919
919
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -926,6 +926,7 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
926
926
|
createdAt: string;
|
|
927
927
|
updatedAt: string;
|
|
928
928
|
name: string;
|
|
929
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
929
930
|
countryCode: string;
|
|
930
931
|
regionCode: string | null;
|
|
931
932
|
subRegionCode: string | null;
|
|
@@ -941,7 +942,6 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
941
942
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
942
943
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
943
944
|
} | null;
|
|
944
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
945
945
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
946
946
|
};
|
|
947
947
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -980,6 +980,7 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
980
980
|
createdAt: string;
|
|
981
981
|
updatedAt: string;
|
|
982
982
|
name: string;
|
|
983
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
983
984
|
countryCode: string;
|
|
984
985
|
regionCode: string | null;
|
|
985
986
|
subRegionCode: string | null;
|
|
@@ -995,7 +996,6 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
995
996
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
996
997
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
997
998
|
} | null;
|
|
998
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
999
999
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1000
1000
|
};
|
|
1001
1001
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1020,6 +1020,7 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
1020
1020
|
createdAt: string;
|
|
1021
1021
|
updatedAt: string;
|
|
1022
1022
|
name: string;
|
|
1023
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1023
1024
|
countryCode: string;
|
|
1024
1025
|
regionCode: string | null;
|
|
1025
1026
|
subRegionCode: string | null;
|
|
@@ -1035,7 +1036,6 @@ export declare const farmResponseSchema: z.ZodObject<{
|
|
|
1035
1036
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1036
1037
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1037
1038
|
} | null;
|
|
1038
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1039
1039
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1040
1040
|
};
|
|
1041
1041
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1090,6 +1090,7 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1090
1090
|
createdAt: string;
|
|
1091
1091
|
updatedAt: string;
|
|
1092
1092
|
name: string;
|
|
1093
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1093
1094
|
countryCode: string;
|
|
1094
1095
|
regionCode: string | null;
|
|
1095
1096
|
subRegionCode: string | null;
|
|
@@ -1105,12 +1106,12 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1105
1106
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1106
1107
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1107
1108
|
} | null;
|
|
1108
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1109
1109
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1110
1110
|
}, {
|
|
1111
1111
|
createdAt: string;
|
|
1112
1112
|
updatedAt: string;
|
|
1113
1113
|
name: string;
|
|
1114
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1114
1115
|
countryCode: string;
|
|
1115
1116
|
regionCode: string | null;
|
|
1116
1117
|
subRegionCode: string | null;
|
|
@@ -1126,7 +1127,6 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1126
1127
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1127
1128
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1128
1129
|
} | null;
|
|
1129
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1130
1130
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1131
1131
|
}>;
|
|
1132
1132
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1235,6 +1235,7 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1235
1235
|
createdAt: string;
|
|
1236
1236
|
updatedAt: string;
|
|
1237
1237
|
name: string;
|
|
1238
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1238
1239
|
countryCode: string;
|
|
1239
1240
|
regionCode: string | null;
|
|
1240
1241
|
subRegionCode: string | null;
|
|
@@ -1250,7 +1251,6 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1250
1251
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1251
1252
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1252
1253
|
} | null;
|
|
1253
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1254
1254
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1255
1255
|
};
|
|
1256
1256
|
relationships?: {
|
|
@@ -1280,6 +1280,7 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1280
1280
|
createdAt: string;
|
|
1281
1281
|
updatedAt: string;
|
|
1282
1282
|
name: string;
|
|
1283
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1283
1284
|
countryCode: string;
|
|
1284
1285
|
regionCode: string | null;
|
|
1285
1286
|
subRegionCode: string | null;
|
|
@@ -1295,7 +1296,6 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1295
1296
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1296
1297
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1297
1298
|
} | null;
|
|
1298
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1299
1299
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1300
1300
|
};
|
|
1301
1301
|
relationships?: {
|
|
@@ -1351,6 +1351,7 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1351
1351
|
createdAt: string;
|
|
1352
1352
|
updatedAt: string;
|
|
1353
1353
|
name: string;
|
|
1354
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1354
1355
|
countryCode: string;
|
|
1355
1356
|
regionCode: string | null;
|
|
1356
1357
|
subRegionCode: string | null;
|
|
@@ -1366,7 +1367,6 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1366
1367
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1367
1368
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1368
1369
|
} | null;
|
|
1369
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1370
1370
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1371
1371
|
};
|
|
1372
1372
|
relationships?: {
|
|
@@ -1408,6 +1408,7 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1408
1408
|
createdAt: string;
|
|
1409
1409
|
updatedAt: string;
|
|
1410
1410
|
name: string;
|
|
1411
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1411
1412
|
countryCode: string;
|
|
1412
1413
|
regionCode: string | null;
|
|
1413
1414
|
subRegionCode: string | null;
|
|
@@ -1423,7 +1424,6 @@ export declare const farmDetailResponseSchema: z.ZodObject<{
|
|
|
1423
1424
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1424
1425
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1425
1426
|
} | null;
|
|
1426
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1427
1427
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1428
1428
|
};
|
|
1429
1429
|
relationships?: {
|
|
@@ -1495,6 +1495,7 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1495
1495
|
createdAt: string;
|
|
1496
1496
|
updatedAt: string;
|
|
1497
1497
|
name: string;
|
|
1498
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1498
1499
|
countryCode: string;
|
|
1499
1500
|
regionCode: string | null;
|
|
1500
1501
|
subRegionCode: string | null;
|
|
@@ -1510,12 +1511,12 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1510
1511
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1511
1512
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1512
1513
|
} | null;
|
|
1513
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1514
1514
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1515
1515
|
}, {
|
|
1516
1516
|
createdAt: string;
|
|
1517
1517
|
updatedAt: string;
|
|
1518
1518
|
name: string;
|
|
1519
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1519
1520
|
countryCode: string;
|
|
1520
1521
|
regionCode: string | null;
|
|
1521
1522
|
subRegionCode: string | null;
|
|
@@ -1531,7 +1532,6 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1531
1532
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1532
1533
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1533
1534
|
} | null;
|
|
1534
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1535
1535
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1536
1536
|
}>;
|
|
1537
1537
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1544,6 +1544,7 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1544
1544
|
createdAt: string;
|
|
1545
1545
|
updatedAt: string;
|
|
1546
1546
|
name: string;
|
|
1547
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1547
1548
|
countryCode: string;
|
|
1548
1549
|
regionCode: string | null;
|
|
1549
1550
|
subRegionCode: string | null;
|
|
@@ -1559,7 +1560,6 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1559
1560
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1560
1561
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1561
1562
|
} | null;
|
|
1562
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1563
1563
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1564
1564
|
};
|
|
1565
1565
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1572,6 +1572,7 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1572
1572
|
createdAt: string;
|
|
1573
1573
|
updatedAt: string;
|
|
1574
1574
|
name: string;
|
|
1575
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1575
1576
|
countryCode: string;
|
|
1576
1577
|
regionCode: string | null;
|
|
1577
1578
|
subRegionCode: string | null;
|
|
@@ -1587,7 +1588,6 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1587
1588
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1588
1589
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1589
1590
|
} | null;
|
|
1590
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1591
1591
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1592
1592
|
};
|
|
1593
1593
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1626,6 +1626,7 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1626
1626
|
createdAt: string;
|
|
1627
1627
|
updatedAt: string;
|
|
1628
1628
|
name: string;
|
|
1629
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1629
1630
|
countryCode: string;
|
|
1630
1631
|
regionCode: string | null;
|
|
1631
1632
|
subRegionCode: string | null;
|
|
@@ -1641,7 +1642,6 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1641
1642
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1642
1643
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1643
1644
|
} | null;
|
|
1644
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1645
1645
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1646
1646
|
};
|
|
1647
1647
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1666,6 +1666,7 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1666
1666
|
createdAt: string;
|
|
1667
1667
|
updatedAt: string;
|
|
1668
1668
|
name: string;
|
|
1669
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1669
1670
|
countryCode: string;
|
|
1670
1671
|
regionCode: string | null;
|
|
1671
1672
|
subRegionCode: string | null;
|
|
@@ -1681,7 +1682,6 @@ export declare const farmListResponseSchema: z.ZodObject<{
|
|
|
1681
1682
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1682
1683
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1683
1684
|
} | null;
|
|
1684
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
1685
1685
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
1686
1686
|
};
|
|
1687
1687
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -1848,8 +1848,8 @@ export declare const farmOnboardingAttributesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1848
1848
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1849
1849
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1850
1850
|
};
|
|
1851
|
-
countryCode?: string | undefined;
|
|
1852
1851
|
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
1852
|
+
countryCode?: string | undefined;
|
|
1853
1853
|
firstField?: {
|
|
1854
1854
|
name: string;
|
|
1855
1855
|
crop: string;
|
|
@@ -1894,8 +1894,8 @@ export declare const farmOnboardingAttributesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1894
1894
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
1895
1895
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
1896
1896
|
};
|
|
1897
|
-
countryCode?: string | undefined;
|
|
1898
1897
|
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
1898
|
+
countryCode?: string | undefined;
|
|
1899
1899
|
firstField?: {
|
|
1900
1900
|
name: string;
|
|
1901
1901
|
crop: string;
|
|
@@ -2003,8 +2003,8 @@ export declare const farmOnboardingInputSchema: z.ZodObject<{
|
|
|
2003
2003
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2004
2004
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2005
2005
|
};
|
|
2006
|
-
countryCode?: string | undefined;
|
|
2007
2006
|
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2007
|
+
countryCode?: string | undefined;
|
|
2008
2008
|
firstField?: {
|
|
2009
2009
|
name: string;
|
|
2010
2010
|
crop: string;
|
|
@@ -2049,8 +2049,8 @@ export declare const farmOnboardingInputSchema: z.ZodObject<{
|
|
|
2049
2049
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2050
2050
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2051
2051
|
};
|
|
2052
|
-
countryCode?: string | undefined;
|
|
2053
2052
|
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2053
|
+
countryCode?: string | undefined;
|
|
2054
2054
|
firstField?: {
|
|
2055
2055
|
name: string;
|
|
2056
2056
|
crop: string;
|
|
@@ -2101,8 +2101,8 @@ export declare const farmOnboardingInputSchema: z.ZodObject<{
|
|
|
2101
2101
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2102
2102
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2103
2103
|
};
|
|
2104
|
-
countryCode?: string | undefined;
|
|
2105
2104
|
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2105
|
+
countryCode?: string | undefined;
|
|
2106
2106
|
firstField?: {
|
|
2107
2107
|
name: string;
|
|
2108
2108
|
crop: string;
|
|
@@ -2151,6 +2151,7 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2151
2151
|
createdAt: string;
|
|
2152
2152
|
updatedAt: string;
|
|
2153
2153
|
name: string;
|
|
2154
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2154
2155
|
countryCode: string;
|
|
2155
2156
|
regionCode: string | null;
|
|
2156
2157
|
subRegionCode: string | null;
|
|
@@ -2166,12 +2167,12 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2166
2167
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2167
2168
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2168
2169
|
} | null;
|
|
2169
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2170
2170
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
2171
2171
|
}, {
|
|
2172
2172
|
createdAt: string;
|
|
2173
2173
|
updatedAt: string;
|
|
2174
2174
|
name: string;
|
|
2175
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2175
2176
|
countryCode: string;
|
|
2176
2177
|
regionCode: string | null;
|
|
2177
2178
|
subRegionCode: string | null;
|
|
@@ -2187,7 +2188,6 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2187
2188
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2188
2189
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2189
2190
|
} | null;
|
|
2190
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2191
2191
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
2192
2192
|
}>;
|
|
2193
2193
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2200,6 +2200,7 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2200
2200
|
createdAt: string;
|
|
2201
2201
|
updatedAt: string;
|
|
2202
2202
|
name: string;
|
|
2203
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2203
2204
|
countryCode: string;
|
|
2204
2205
|
regionCode: string | null;
|
|
2205
2206
|
subRegionCode: string | null;
|
|
@@ -2215,7 +2216,6 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2215
2216
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2216
2217
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2217
2218
|
} | null;
|
|
2218
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2219
2219
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
2220
2220
|
};
|
|
2221
2221
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -2228,6 +2228,7 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2228
2228
|
createdAt: string;
|
|
2229
2229
|
updatedAt: string;
|
|
2230
2230
|
name: string;
|
|
2231
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2231
2232
|
countryCode: string;
|
|
2232
2233
|
regionCode: string | null;
|
|
2233
2234
|
subRegionCode: string | null;
|
|
@@ -2243,7 +2244,6 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2243
2244
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2244
2245
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2245
2246
|
} | null;
|
|
2246
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2247
2247
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
2248
2248
|
};
|
|
2249
2249
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -2385,6 +2385,7 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2385
2385
|
createdAt: string;
|
|
2386
2386
|
updatedAt: string;
|
|
2387
2387
|
name: string;
|
|
2388
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2388
2389
|
countryCode: string;
|
|
2389
2390
|
regionCode: string | null;
|
|
2390
2391
|
subRegionCode: string | null;
|
|
@@ -2400,7 +2401,6 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2400
2401
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2401
2402
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2402
2403
|
} | null;
|
|
2403
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2404
2404
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
2405
2405
|
};
|
|
2406
2406
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -2442,6 +2442,7 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2442
2442
|
createdAt: string;
|
|
2443
2443
|
updatedAt: string;
|
|
2444
2444
|
name: string;
|
|
2445
|
+
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2445
2446
|
countryCode: string;
|
|
2446
2447
|
regionCode: string | null;
|
|
2447
2448
|
subRegionCode: string | null;
|
|
@@ -2457,7 +2458,6 @@ export declare const farmOnboardingResponseSchema: z.ZodObject<{
|
|
|
2457
2458
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2458
2459
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2459
2460
|
} | null;
|
|
2460
|
-
currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
|
|
2461
2461
|
myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
|
|
2462
2462
|
};
|
|
2463
2463
|
relationships?: Record<string, unknown> | undefined;
|