@deepintel-ltd/farmpro-contracts 1.16.15 → 1.18.0

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.
Files changed (47) hide show
  1. package/dist/index.d.ts +4 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +3 -0
  4. package/dist/routes/accounting.routes.d.ts +13861 -0
  5. package/dist/routes/accounting.routes.d.ts.map +1 -0
  6. package/dist/routes/accounting.routes.js +448 -0
  7. package/dist/routes/commodity-deals.routes.d.ts +48 -48
  8. package/dist/routes/farms.routes.d.ts +523 -70
  9. package/dist/routes/farms.routes.d.ts.map +1 -1
  10. package/dist/routes/field-activities.routes.d.ts +32 -32
  11. package/dist/routes/finance.routes.d.ts +235 -38
  12. package/dist/routes/finance.routes.d.ts.map +1 -1
  13. package/dist/routes/index.d.ts +3 -0
  14. package/dist/routes/index.d.ts.map +1 -1
  15. package/dist/routes/index.js +2 -0
  16. package/dist/routes/live-monitor.routes.d.ts +4 -4
  17. package/dist/routes/monitoring-visualization.routes.d.ts +16 -10
  18. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  19. package/dist/routes/payments.routes.d.ts +22 -22
  20. package/dist/routes/staff.routes.d.ts +36 -36
  21. package/dist/routes/subscriptions.routes.d.ts +52 -16
  22. package/dist/routes/subscriptions.routes.d.ts.map +1 -1
  23. package/dist/routes/subscriptions.routes.js +2 -1
  24. package/dist/schemas/accounting.schemas.d.ts +6002 -0
  25. package/dist/schemas/accounting.schemas.d.ts.map +1 -0
  26. package/dist/schemas/accounting.schemas.js +341 -0
  27. package/dist/schemas/commodity-deals.schemas.d.ts +24 -24
  28. package/dist/schemas/farms.schemas.d.ts +610 -84
  29. package/dist/schemas/farms.schemas.d.ts.map +1 -1
  30. package/dist/schemas/farms.schemas.js +25 -4
  31. package/dist/schemas/field-activities.schemas.d.ts +28 -28
  32. package/dist/schemas/finance.schemas.d.ts +304 -46
  33. package/dist/schemas/finance.schemas.d.ts.map +1 -1
  34. package/dist/schemas/finance.schemas.js +23 -9
  35. package/dist/schemas/live-monitor.schemas.d.ts +6 -6
  36. package/dist/schemas/locale.schemas.d.ts +98 -0
  37. package/dist/schemas/locale.schemas.d.ts.map +1 -0
  38. package/dist/schemas/locale.schemas.js +55 -0
  39. package/dist/schemas/monitoring-visualization.schemas.d.ts +43 -12
  40. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  41. package/dist/schemas/monitoring-visualization.schemas.js +5 -1
  42. package/dist/schemas/payments.schemas.d.ts +22 -22
  43. package/dist/schemas/staff.schemas.d.ts +30 -30
  44. package/dist/schemas/subscriptions.schemas.d.ts +77 -13
  45. package/dist/schemas/subscriptions.schemas.d.ts.map +1 -1
  46. package/dist/schemas/subscriptions.schemas.js +11 -10
  47. package/package.json +1 -1
@@ -55,7 +55,16 @@ export declare const farmsRouter: {
55
55
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
56
56
  coordinates: number[] | number[][] | number[][][] | number[][][][];
57
57
  }>>;
58
- currency: z.ZodEnum<["NGN", "USD"]>;
58
+ currency: z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>;
59
+ countryCode: z.ZodString;
60
+ regionCode: z.ZodNullable<z.ZodString>;
61
+ subRegionCode: z.ZodNullable<z.ZodString>;
62
+ timezone: z.ZodString;
63
+ locale: z.ZodString;
64
+ unitSystem: z.ZodEnum<["metric", "imperial", "mixed"]>;
65
+ areaUnit: z.ZodEnum<["hectares", "acres"]>;
66
+ lat: z.ZodNullable<z.ZodNumber>;
67
+ lng: z.ZodNullable<z.ZodNumber>;
59
68
  myTeamRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "farm-manager", "agronomist", "field-worker", "accountant", "other"]>>>;
60
69
  } & {
61
70
  createdAt: z.ZodString;
@@ -64,25 +73,43 @@ export declare const farmsRouter: {
64
73
  createdAt: string;
65
74
  updatedAt: string;
66
75
  name: string;
76
+ countryCode: string;
77
+ regionCode: string | null;
78
+ subRegionCode: string | null;
79
+ timezone: string;
80
+ locale: string;
81
+ unitSystem: "metric" | "imperial" | "mixed";
82
+ areaUnit: "hectares" | "acres";
83
+ lat: number | null;
84
+ lng: number | null;
67
85
  location: string;
68
86
  size: number | null;
69
87
  boundary: {
70
88
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
71
89
  coordinates: number[] | number[][] | number[][][] | number[][][][];
72
90
  } | null;
73
- currency: "NGN" | "USD";
91
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
74
92
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
75
93
  }, {
76
94
  createdAt: string;
77
95
  updatedAt: string;
78
96
  name: string;
97
+ countryCode: string;
98
+ regionCode: string | null;
99
+ subRegionCode: string | null;
100
+ timezone: string;
101
+ locale: string;
102
+ unitSystem: "metric" | "imperial" | "mixed";
103
+ areaUnit: "hectares" | "acres";
104
+ lat: number | null;
105
+ lng: number | null;
79
106
  location: string;
80
107
  size: number | null;
81
108
  boundary: {
82
109
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
83
110
  coordinates: number[] | number[][] | number[][][] | number[][][][];
84
111
  } | null;
85
- currency: "NGN" | "USD";
112
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
86
113
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
87
114
  }>;
88
115
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -95,13 +122,22 @@ export declare const farmsRouter: {
95
122
  createdAt: string;
96
123
  updatedAt: string;
97
124
  name: string;
125
+ countryCode: string;
126
+ regionCode: string | null;
127
+ subRegionCode: string | null;
128
+ timezone: string;
129
+ locale: string;
130
+ unitSystem: "metric" | "imperial" | "mixed";
131
+ areaUnit: "hectares" | "acres";
132
+ lat: number | null;
133
+ lng: number | null;
98
134
  location: string;
99
135
  size: number | null;
100
136
  boundary: {
101
137
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
102
138
  coordinates: number[] | number[][] | number[][][] | number[][][][];
103
139
  } | null;
104
- currency: "NGN" | "USD";
140
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
105
141
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
106
142
  };
107
143
  relationships?: Record<string, unknown> | undefined;
@@ -114,13 +150,22 @@ export declare const farmsRouter: {
114
150
  createdAt: string;
115
151
  updatedAt: string;
116
152
  name: string;
153
+ countryCode: string;
154
+ regionCode: string | null;
155
+ subRegionCode: string | null;
156
+ timezone: string;
157
+ locale: string;
158
+ unitSystem: "metric" | "imperial" | "mixed";
159
+ areaUnit: "hectares" | "acres";
160
+ lat: number | null;
161
+ lng: number | null;
117
162
  location: string;
118
163
  size: number | null;
119
164
  boundary: {
120
165
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
121
166
  coordinates: number[] | number[][] | number[][][] | number[][][][];
122
167
  } | null;
123
- currency: "NGN" | "USD";
168
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
124
169
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
125
170
  };
126
171
  relationships?: Record<string, unknown> | undefined;
@@ -159,13 +204,22 @@ export declare const farmsRouter: {
159
204
  createdAt: string;
160
205
  updatedAt: string;
161
206
  name: string;
207
+ countryCode: string;
208
+ regionCode: string | null;
209
+ subRegionCode: string | null;
210
+ timezone: string;
211
+ locale: string;
212
+ unitSystem: "metric" | "imperial" | "mixed";
213
+ areaUnit: "hectares" | "acres";
214
+ lat: number | null;
215
+ lng: number | null;
162
216
  location: string;
163
217
  size: number | null;
164
218
  boundary: {
165
219
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
166
220
  coordinates: number[] | number[][] | number[][][] | number[][][][];
167
221
  } | null;
168
- currency: "NGN" | "USD";
222
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
169
223
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
170
224
  };
171
225
  relationships?: Record<string, unknown> | undefined;
@@ -190,13 +244,22 @@ export declare const farmsRouter: {
190
244
  createdAt: string;
191
245
  updatedAt: string;
192
246
  name: string;
247
+ countryCode: string;
248
+ regionCode: string | null;
249
+ subRegionCode: string | null;
250
+ timezone: string;
251
+ locale: string;
252
+ unitSystem: "metric" | "imperial" | "mixed";
253
+ areaUnit: "hectares" | "acres";
254
+ lat: number | null;
255
+ lng: number | null;
193
256
  location: string;
194
257
  size: number | null;
195
258
  boundary: {
196
259
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
197
260
  coordinates: number[] | number[][] | number[][][] | number[][][][];
198
261
  } | null;
199
- currency: "NGN" | "USD";
262
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
200
263
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
201
264
  };
202
265
  relationships?: Record<string, unknown> | undefined;
@@ -340,49 +403,94 @@ export declare const farmsRouter: {
340
403
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
341
404
  coordinates: number[] | number[][] | number[][][] | number[][][][];
342
405
  }>>;
343
- currency: z.ZodDefault<z.ZodOptional<z.ZodEnum<["NGN", "USD"]>>>;
406
+ currency: z.ZodOptional<z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>>;
407
+ countryCode: z.ZodOptional<z.ZodString>;
408
+ regionCode: z.ZodOptional<z.ZodString>;
409
+ subRegionCode: z.ZodOptional<z.ZodString>;
410
+ timezone: z.ZodOptional<z.ZodString>;
411
+ locale: z.ZodOptional<z.ZodString>;
412
+ unitSystem: z.ZodOptional<z.ZodEnum<["metric", "imperial", "mixed"]>>;
413
+ areaUnit: z.ZodOptional<z.ZodEnum<["hectares", "acres"]>>;
414
+ lat: z.ZodOptional<z.ZodNumber>;
415
+ lng: z.ZodOptional<z.ZodNumber>;
344
416
  }, "strip", z.ZodTypeAny, {
345
417
  name: string;
346
418
  location: string;
347
- currency: "NGN" | "USD";
419
+ countryCode?: string | undefined;
420
+ regionCode?: string | undefined;
421
+ subRegionCode?: string | undefined;
422
+ timezone?: string | undefined;
423
+ locale?: string | undefined;
424
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
425
+ areaUnit?: "hectares" | "acres" | undefined;
426
+ lat?: number | undefined;
427
+ lng?: number | undefined;
348
428
  size?: number | undefined;
349
429
  boundary?: {
350
430
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
351
431
  coordinates: number[] | number[][] | number[][][] | number[][][][];
352
432
  } | undefined;
433
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
353
434
  }, {
354
435
  name: string;
355
436
  location: string;
437
+ countryCode?: string | undefined;
438
+ regionCode?: string | undefined;
439
+ subRegionCode?: string | undefined;
440
+ timezone?: string | undefined;
441
+ locale?: string | undefined;
442
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
443
+ areaUnit?: "hectares" | "acres" | undefined;
444
+ lat?: number | undefined;
445
+ lng?: number | undefined;
356
446
  size?: number | undefined;
357
447
  boundary?: {
358
448
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
359
449
  coordinates: number[] | number[][] | number[][][] | number[][][][];
360
450
  } | undefined;
361
- currency?: "NGN" | "USD" | undefined;
451
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
362
452
  }>;
363
453
  }, "strip", z.ZodTypeAny, {
364
454
  type: "farms";
365
455
  attributes: {
366
456
  name: string;
367
457
  location: string;
368
- currency: "NGN" | "USD";
458
+ countryCode?: string | undefined;
459
+ regionCode?: string | undefined;
460
+ subRegionCode?: string | undefined;
461
+ timezone?: string | undefined;
462
+ locale?: string | undefined;
463
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
464
+ areaUnit?: "hectares" | "acres" | undefined;
465
+ lat?: number | undefined;
466
+ lng?: number | undefined;
369
467
  size?: number | undefined;
370
468
  boundary?: {
371
469
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
372
470
  coordinates: number[] | number[][] | number[][][] | number[][][][];
373
471
  } | undefined;
472
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
374
473
  };
375
474
  }, {
376
475
  type: "farms";
377
476
  attributes: {
378
477
  name: string;
379
478
  location: string;
479
+ countryCode?: string | undefined;
480
+ regionCode?: string | undefined;
481
+ subRegionCode?: string | undefined;
482
+ timezone?: string | undefined;
483
+ locale?: string | undefined;
484
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
485
+ areaUnit?: "hectares" | "acres" | undefined;
486
+ lat?: number | undefined;
487
+ lng?: number | undefined;
380
488
  size?: number | undefined;
381
489
  boundary?: {
382
490
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
383
491
  coordinates: number[] | number[][] | number[][][] | number[][][][];
384
492
  } | undefined;
385
- currency?: "NGN" | "USD" | undefined;
493
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
386
494
  };
387
495
  }>;
388
496
  }, "strip", z.ZodTypeAny, {
@@ -391,12 +499,21 @@ export declare const farmsRouter: {
391
499
  attributes: {
392
500
  name: string;
393
501
  location: string;
394
- currency: "NGN" | "USD";
502
+ countryCode?: string | undefined;
503
+ regionCode?: string | undefined;
504
+ subRegionCode?: string | undefined;
505
+ timezone?: string | undefined;
506
+ locale?: string | undefined;
507
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
508
+ areaUnit?: "hectares" | "acres" | undefined;
509
+ lat?: number | undefined;
510
+ lng?: number | undefined;
395
511
  size?: number | undefined;
396
512
  boundary?: {
397
513
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
398
514
  coordinates: number[] | number[][] | number[][][] | number[][][][];
399
515
  } | undefined;
516
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
400
517
  };
401
518
  };
402
519
  }, {
@@ -405,12 +522,21 @@ export declare const farmsRouter: {
405
522
  attributes: {
406
523
  name: string;
407
524
  location: string;
525
+ countryCode?: string | undefined;
526
+ regionCode?: string | undefined;
527
+ subRegionCode?: string | undefined;
528
+ timezone?: string | undefined;
529
+ locale?: string | undefined;
530
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
531
+ areaUnit?: "hectares" | "acres" | undefined;
532
+ lat?: number | undefined;
533
+ lng?: number | undefined;
408
534
  size?: number | undefined;
409
535
  boundary?: {
410
536
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
411
537
  coordinates: number[] | number[][] | number[][][] | number[][][][];
412
538
  } | undefined;
413
- currency?: "NGN" | "USD" | undefined;
539
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
414
540
  };
415
541
  };
416
542
  }>;
@@ -434,7 +560,16 @@ export declare const farmsRouter: {
434
560
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
435
561
  coordinates: number[] | number[][] | number[][][] | number[][][][];
436
562
  }>>;
437
- currency: z.ZodEnum<["NGN", "USD"]>;
563
+ currency: z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>;
564
+ countryCode: z.ZodString;
565
+ regionCode: z.ZodNullable<z.ZodString>;
566
+ subRegionCode: z.ZodNullable<z.ZodString>;
567
+ timezone: z.ZodString;
568
+ locale: z.ZodString;
569
+ unitSystem: z.ZodEnum<["metric", "imperial", "mixed"]>;
570
+ areaUnit: z.ZodEnum<["hectares", "acres"]>;
571
+ lat: z.ZodNullable<z.ZodNumber>;
572
+ lng: z.ZodNullable<z.ZodNumber>;
438
573
  myTeamRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "farm-manager", "agronomist", "field-worker", "accountant", "other"]>>>;
439
574
  } & {
440
575
  createdAt: z.ZodString;
@@ -443,25 +578,43 @@ export declare const farmsRouter: {
443
578
  createdAt: string;
444
579
  updatedAt: string;
445
580
  name: string;
581
+ countryCode: string;
582
+ regionCode: string | null;
583
+ subRegionCode: string | null;
584
+ timezone: string;
585
+ locale: string;
586
+ unitSystem: "metric" | "imperial" | "mixed";
587
+ areaUnit: "hectares" | "acres";
588
+ lat: number | null;
589
+ lng: number | null;
446
590
  location: string;
447
591
  size: number | null;
448
592
  boundary: {
449
593
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
450
594
  coordinates: number[] | number[][] | number[][][] | number[][][][];
451
595
  } | null;
452
- currency: "NGN" | "USD";
596
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
453
597
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
454
598
  }, {
455
599
  createdAt: string;
456
600
  updatedAt: string;
457
601
  name: string;
602
+ countryCode: string;
603
+ regionCode: string | null;
604
+ subRegionCode: string | null;
605
+ timezone: string;
606
+ locale: string;
607
+ unitSystem: "metric" | "imperial" | "mixed";
608
+ areaUnit: "hectares" | "acres";
609
+ lat: number | null;
610
+ lng: number | null;
458
611
  location: string;
459
612
  size: number | null;
460
613
  boundary: {
461
614
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
462
615
  coordinates: number[] | number[][] | number[][][] | number[][][][];
463
616
  } | null;
464
- currency: "NGN" | "USD";
617
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
465
618
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
466
619
  }>;
467
620
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -474,13 +627,22 @@ export declare const farmsRouter: {
474
627
  createdAt: string;
475
628
  updatedAt: string;
476
629
  name: string;
630
+ countryCode: string;
631
+ regionCode: string | null;
632
+ subRegionCode: string | null;
633
+ timezone: string;
634
+ locale: string;
635
+ unitSystem: "metric" | "imperial" | "mixed";
636
+ areaUnit: "hectares" | "acres";
637
+ lat: number | null;
638
+ lng: number | null;
477
639
  location: string;
478
640
  size: number | null;
479
641
  boundary: {
480
642
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
481
643
  coordinates: number[] | number[][] | number[][][] | number[][][][];
482
644
  } | null;
483
- currency: "NGN" | "USD";
645
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
484
646
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
485
647
  };
486
648
  relationships?: Record<string, unknown> | undefined;
@@ -493,13 +655,22 @@ export declare const farmsRouter: {
493
655
  createdAt: string;
494
656
  updatedAt: string;
495
657
  name: string;
658
+ countryCode: string;
659
+ regionCode: string | null;
660
+ subRegionCode: string | null;
661
+ timezone: string;
662
+ locale: string;
663
+ unitSystem: "metric" | "imperial" | "mixed";
664
+ areaUnit: "hectares" | "acres";
665
+ lat: number | null;
666
+ lng: number | null;
496
667
  location: string;
497
668
  size: number | null;
498
669
  boundary: {
499
670
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
500
671
  coordinates: number[] | number[][] | number[][][] | number[][][][];
501
672
  } | null;
502
- currency: "NGN" | "USD";
673
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
503
674
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
504
675
  };
505
676
  relationships?: Record<string, unknown> | undefined;
@@ -538,13 +709,22 @@ export declare const farmsRouter: {
538
709
  createdAt: string;
539
710
  updatedAt: string;
540
711
  name: string;
712
+ countryCode: string;
713
+ regionCode: string | null;
714
+ subRegionCode: string | null;
715
+ timezone: string;
716
+ locale: string;
717
+ unitSystem: "metric" | "imperial" | "mixed";
718
+ areaUnit: "hectares" | "acres";
719
+ lat: number | null;
720
+ lng: number | null;
541
721
  location: string;
542
722
  size: number | null;
543
723
  boundary: {
544
724
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
545
725
  coordinates: number[] | number[][] | number[][][] | number[][][][];
546
726
  } | null;
547
- currency: "NGN" | "USD";
727
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
548
728
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
549
729
  };
550
730
  relationships?: Record<string, unknown> | undefined;
@@ -569,13 +749,22 @@ export declare const farmsRouter: {
569
749
  createdAt: string;
570
750
  updatedAt: string;
571
751
  name: string;
752
+ countryCode: string;
753
+ regionCode: string | null;
754
+ subRegionCode: string | null;
755
+ timezone: string;
756
+ locale: string;
757
+ unitSystem: "metric" | "imperial" | "mixed";
758
+ areaUnit: "hectares" | "acres";
759
+ lat: number | null;
760
+ lng: number | null;
572
761
  location: string;
573
762
  size: number | null;
574
763
  boundary: {
575
764
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
576
765
  coordinates: number[] | number[][] | number[][][] | number[][][][];
577
766
  } | null;
578
- currency: "NGN" | "USD";
767
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
579
768
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
580
769
  };
581
770
  relationships?: Record<string, unknown> | undefined;
@@ -903,7 +1092,16 @@ export declare const farmsRouter: {
903
1092
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
904
1093
  coordinates: number[] | number[][] | number[][][] | number[][][][];
905
1094
  }>>;
906
- currency: z.ZodEnum<["NGN", "USD"]>;
1095
+ currency: z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>;
1096
+ countryCode: z.ZodString;
1097
+ regionCode: z.ZodNullable<z.ZodString>;
1098
+ subRegionCode: z.ZodNullable<z.ZodString>;
1099
+ timezone: z.ZodString;
1100
+ locale: z.ZodString;
1101
+ unitSystem: z.ZodEnum<["metric", "imperial", "mixed"]>;
1102
+ areaUnit: z.ZodEnum<["hectares", "acres"]>;
1103
+ lat: z.ZodNullable<z.ZodNumber>;
1104
+ lng: z.ZodNullable<z.ZodNumber>;
907
1105
  myTeamRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "farm-manager", "agronomist", "field-worker", "accountant", "other"]>>>;
908
1106
  } & {
909
1107
  createdAt: z.ZodString;
@@ -912,25 +1110,43 @@ export declare const farmsRouter: {
912
1110
  createdAt: string;
913
1111
  updatedAt: string;
914
1112
  name: string;
1113
+ countryCode: string;
1114
+ regionCode: string | null;
1115
+ subRegionCode: string | null;
1116
+ timezone: string;
1117
+ locale: string;
1118
+ unitSystem: "metric" | "imperial" | "mixed";
1119
+ areaUnit: "hectares" | "acres";
1120
+ lat: number | null;
1121
+ lng: number | null;
915
1122
  location: string;
916
1123
  size: number | null;
917
1124
  boundary: {
918
1125
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
919
1126
  coordinates: number[] | number[][] | number[][][] | number[][][][];
920
1127
  } | null;
921
- currency: "NGN" | "USD";
1128
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
922
1129
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
923
1130
  }, {
924
1131
  createdAt: string;
925
1132
  updatedAt: string;
926
1133
  name: string;
1134
+ countryCode: string;
1135
+ regionCode: string | null;
1136
+ subRegionCode: string | null;
1137
+ timezone: string;
1138
+ locale: string;
1139
+ unitSystem: "metric" | "imperial" | "mixed";
1140
+ areaUnit: "hectares" | "acres";
1141
+ lat: number | null;
1142
+ lng: number | null;
927
1143
  location: string;
928
1144
  size: number | null;
929
1145
  boundary: {
930
1146
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
931
1147
  coordinates: number[] | number[][] | number[][][] | number[][][][];
932
1148
  } | null;
933
- currency: "NGN" | "USD";
1149
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
934
1150
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
935
1151
  }>;
936
1152
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1039,13 +1255,22 @@ export declare const farmsRouter: {
1039
1255
  createdAt: string;
1040
1256
  updatedAt: string;
1041
1257
  name: string;
1258
+ countryCode: string;
1259
+ regionCode: string | null;
1260
+ subRegionCode: string | null;
1261
+ timezone: string;
1262
+ locale: string;
1263
+ unitSystem: "metric" | "imperial" | "mixed";
1264
+ areaUnit: "hectares" | "acres";
1265
+ lat: number | null;
1266
+ lng: number | null;
1042
1267
  location: string;
1043
1268
  size: number | null;
1044
1269
  boundary: {
1045
1270
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1046
1271
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1047
1272
  } | null;
1048
- currency: "NGN" | "USD";
1273
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1049
1274
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1050
1275
  };
1051
1276
  relationships?: {
@@ -1075,13 +1300,22 @@ export declare const farmsRouter: {
1075
1300
  createdAt: string;
1076
1301
  updatedAt: string;
1077
1302
  name: string;
1303
+ countryCode: string;
1304
+ regionCode: string | null;
1305
+ subRegionCode: string | null;
1306
+ timezone: string;
1307
+ locale: string;
1308
+ unitSystem: "metric" | "imperial" | "mixed";
1309
+ areaUnit: "hectares" | "acres";
1310
+ lat: number | null;
1311
+ lng: number | null;
1078
1312
  location: string;
1079
1313
  size: number | null;
1080
1314
  boundary: {
1081
1315
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1082
1316
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1083
1317
  } | null;
1084
- currency: "NGN" | "USD";
1318
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1085
1319
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1086
1320
  };
1087
1321
  relationships?: {
@@ -1137,13 +1371,22 @@ export declare const farmsRouter: {
1137
1371
  createdAt: string;
1138
1372
  updatedAt: string;
1139
1373
  name: string;
1374
+ countryCode: string;
1375
+ regionCode: string | null;
1376
+ subRegionCode: string | null;
1377
+ timezone: string;
1378
+ locale: string;
1379
+ unitSystem: "metric" | "imperial" | "mixed";
1380
+ areaUnit: "hectares" | "acres";
1381
+ lat: number | null;
1382
+ lng: number | null;
1140
1383
  location: string;
1141
1384
  size: number | null;
1142
1385
  boundary: {
1143
1386
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1144
1387
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1145
1388
  } | null;
1146
- currency: "NGN" | "USD";
1389
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1147
1390
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1148
1391
  };
1149
1392
  relationships?: {
@@ -1185,13 +1428,22 @@ export declare const farmsRouter: {
1185
1428
  createdAt: string;
1186
1429
  updatedAt: string;
1187
1430
  name: string;
1431
+ countryCode: string;
1432
+ regionCode: string | null;
1433
+ subRegionCode: string | null;
1434
+ timezone: string;
1435
+ locale: string;
1436
+ unitSystem: "metric" | "imperial" | "mixed";
1437
+ areaUnit: "hectares" | "acres";
1438
+ lat: number | null;
1439
+ lng: number | null;
1188
1440
  location: string;
1189
1441
  size: number | null;
1190
1442
  boundary: {
1191
1443
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1192
1444
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1193
1445
  } | null;
1194
- currency: "NGN" | "USD";
1446
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1195
1447
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1196
1448
  };
1197
1449
  relationships?: {
@@ -1437,51 +1689,96 @@ export declare const farmsRouter: {
1437
1689
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1438
1690
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1439
1691
  }>>>;
1440
- currency: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["NGN", "USD"]>>>>;
1692
+ currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>>>;
1693
+ countryCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1694
+ regionCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1695
+ subRegionCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1696
+ timezone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1697
+ locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1698
+ unitSystem: z.ZodOptional<z.ZodOptional<z.ZodEnum<["metric", "imperial", "mixed"]>>>;
1699
+ areaUnit: z.ZodOptional<z.ZodOptional<z.ZodEnum<["hectares", "acres"]>>>;
1700
+ lat: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1701
+ lng: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1441
1702
  }, "strip", z.ZodTypeAny, {
1442
1703
  name?: string | undefined;
1704
+ countryCode?: string | undefined;
1705
+ regionCode?: string | undefined;
1706
+ subRegionCode?: string | undefined;
1707
+ timezone?: string | undefined;
1708
+ locale?: string | undefined;
1709
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
1710
+ areaUnit?: "hectares" | "acres" | undefined;
1711
+ lat?: number | undefined;
1712
+ lng?: number | undefined;
1443
1713
  location?: string | undefined;
1444
1714
  size?: number | undefined;
1445
1715
  boundary?: {
1446
1716
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1447
1717
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1448
1718
  } | undefined;
1449
- currency?: "NGN" | "USD" | undefined;
1719
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
1450
1720
  }, {
1451
1721
  name?: string | undefined;
1722
+ countryCode?: string | undefined;
1723
+ regionCode?: string | undefined;
1724
+ subRegionCode?: string | undefined;
1725
+ timezone?: string | undefined;
1726
+ locale?: string | undefined;
1727
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
1728
+ areaUnit?: "hectares" | "acres" | undefined;
1729
+ lat?: number | undefined;
1730
+ lng?: number | undefined;
1452
1731
  location?: string | undefined;
1453
1732
  size?: number | undefined;
1454
1733
  boundary?: {
1455
1734
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1456
1735
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1457
1736
  } | undefined;
1458
- currency?: "NGN" | "USD" | undefined;
1737
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
1459
1738
  }>;
1460
1739
  }, "strip", z.ZodTypeAny, {
1461
1740
  type: "farms";
1462
1741
  id: string;
1463
1742
  attributes: {
1464
1743
  name?: string | undefined;
1744
+ countryCode?: string | undefined;
1745
+ regionCode?: string | undefined;
1746
+ subRegionCode?: string | undefined;
1747
+ timezone?: string | undefined;
1748
+ locale?: string | undefined;
1749
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
1750
+ areaUnit?: "hectares" | "acres" | undefined;
1751
+ lat?: number | undefined;
1752
+ lng?: number | undefined;
1465
1753
  location?: string | undefined;
1466
1754
  size?: number | undefined;
1467
1755
  boundary?: {
1468
1756
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1469
1757
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1470
1758
  } | undefined;
1471
- currency?: "NGN" | "USD" | undefined;
1759
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
1472
1760
  };
1473
1761
  }, {
1474
1762
  type: "farms";
1475
1763
  id: string;
1476
1764
  attributes: {
1477
1765
  name?: string | undefined;
1766
+ countryCode?: string | undefined;
1767
+ regionCode?: string | undefined;
1768
+ subRegionCode?: string | undefined;
1769
+ timezone?: string | undefined;
1770
+ locale?: string | undefined;
1771
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
1772
+ areaUnit?: "hectares" | "acres" | undefined;
1773
+ lat?: number | undefined;
1774
+ lng?: number | undefined;
1478
1775
  location?: string | undefined;
1479
1776
  size?: number | undefined;
1480
1777
  boundary?: {
1481
1778
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1482
1779
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1483
1780
  } | undefined;
1484
- currency?: "NGN" | "USD" | undefined;
1781
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
1485
1782
  };
1486
1783
  }>;
1487
1784
  }, "strip", z.ZodTypeAny, {
@@ -1490,13 +1787,22 @@ export declare const farmsRouter: {
1490
1787
  id: string;
1491
1788
  attributes: {
1492
1789
  name?: string | undefined;
1790
+ countryCode?: string | undefined;
1791
+ regionCode?: string | undefined;
1792
+ subRegionCode?: string | undefined;
1793
+ timezone?: string | undefined;
1794
+ locale?: string | undefined;
1795
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
1796
+ areaUnit?: "hectares" | "acres" | undefined;
1797
+ lat?: number | undefined;
1798
+ lng?: number | undefined;
1493
1799
  location?: string | undefined;
1494
1800
  size?: number | undefined;
1495
1801
  boundary?: {
1496
1802
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1497
1803
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1498
1804
  } | undefined;
1499
- currency?: "NGN" | "USD" | undefined;
1805
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
1500
1806
  };
1501
1807
  };
1502
1808
  }, {
@@ -1505,13 +1811,22 @@ export declare const farmsRouter: {
1505
1811
  id: string;
1506
1812
  attributes: {
1507
1813
  name?: string | undefined;
1814
+ countryCode?: string | undefined;
1815
+ regionCode?: string | undefined;
1816
+ subRegionCode?: string | undefined;
1817
+ timezone?: string | undefined;
1818
+ locale?: string | undefined;
1819
+ unitSystem?: "metric" | "imperial" | "mixed" | undefined;
1820
+ areaUnit?: "hectares" | "acres" | undefined;
1821
+ lat?: number | undefined;
1822
+ lng?: number | undefined;
1508
1823
  location?: string | undefined;
1509
1824
  size?: number | undefined;
1510
1825
  boundary?: {
1511
1826
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1512
1827
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1513
1828
  } | undefined;
1514
- currency?: "NGN" | "USD" | undefined;
1829
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
1515
1830
  };
1516
1831
  };
1517
1832
  }>;
@@ -1535,7 +1850,16 @@ export declare const farmsRouter: {
1535
1850
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1536
1851
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1537
1852
  }>>;
1538
- currency: z.ZodEnum<["NGN", "USD"]>;
1853
+ currency: z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>;
1854
+ countryCode: z.ZodString;
1855
+ regionCode: z.ZodNullable<z.ZodString>;
1856
+ subRegionCode: z.ZodNullable<z.ZodString>;
1857
+ timezone: z.ZodString;
1858
+ locale: z.ZodString;
1859
+ unitSystem: z.ZodEnum<["metric", "imperial", "mixed"]>;
1860
+ areaUnit: z.ZodEnum<["hectares", "acres"]>;
1861
+ lat: z.ZodNullable<z.ZodNumber>;
1862
+ lng: z.ZodNullable<z.ZodNumber>;
1539
1863
  myTeamRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "farm-manager", "agronomist", "field-worker", "accountant", "other"]>>>;
1540
1864
  } & {
1541
1865
  createdAt: z.ZodString;
@@ -1544,25 +1868,43 @@ export declare const farmsRouter: {
1544
1868
  createdAt: string;
1545
1869
  updatedAt: string;
1546
1870
  name: string;
1871
+ countryCode: string;
1872
+ regionCode: string | null;
1873
+ subRegionCode: string | null;
1874
+ timezone: string;
1875
+ locale: string;
1876
+ unitSystem: "metric" | "imperial" | "mixed";
1877
+ areaUnit: "hectares" | "acres";
1878
+ lat: number | null;
1879
+ lng: number | null;
1547
1880
  location: string;
1548
1881
  size: number | null;
1549
1882
  boundary: {
1550
1883
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1551
1884
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1552
1885
  } | null;
1553
- currency: "NGN" | "USD";
1886
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1554
1887
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1555
1888
  }, {
1556
1889
  createdAt: string;
1557
1890
  updatedAt: string;
1558
1891
  name: string;
1892
+ countryCode: string;
1893
+ regionCode: string | null;
1894
+ subRegionCode: string | null;
1895
+ timezone: string;
1896
+ locale: string;
1897
+ unitSystem: "metric" | "imperial" | "mixed";
1898
+ areaUnit: "hectares" | "acres";
1899
+ lat: number | null;
1900
+ lng: number | null;
1559
1901
  location: string;
1560
1902
  size: number | null;
1561
1903
  boundary: {
1562
1904
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1563
1905
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1564
1906
  } | null;
1565
- currency: "NGN" | "USD";
1907
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1566
1908
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1567
1909
  }>;
1568
1910
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1575,13 +1917,22 @@ export declare const farmsRouter: {
1575
1917
  createdAt: string;
1576
1918
  updatedAt: string;
1577
1919
  name: string;
1920
+ countryCode: string;
1921
+ regionCode: string | null;
1922
+ subRegionCode: string | null;
1923
+ timezone: string;
1924
+ locale: string;
1925
+ unitSystem: "metric" | "imperial" | "mixed";
1926
+ areaUnit: "hectares" | "acres";
1927
+ lat: number | null;
1928
+ lng: number | null;
1578
1929
  location: string;
1579
1930
  size: number | null;
1580
1931
  boundary: {
1581
1932
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1582
1933
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1583
1934
  } | null;
1584
- currency: "NGN" | "USD";
1935
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1585
1936
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1586
1937
  };
1587
1938
  relationships?: Record<string, unknown> | undefined;
@@ -1594,13 +1945,22 @@ export declare const farmsRouter: {
1594
1945
  createdAt: string;
1595
1946
  updatedAt: string;
1596
1947
  name: string;
1948
+ countryCode: string;
1949
+ regionCode: string | null;
1950
+ subRegionCode: string | null;
1951
+ timezone: string;
1952
+ locale: string;
1953
+ unitSystem: "metric" | "imperial" | "mixed";
1954
+ areaUnit: "hectares" | "acres";
1955
+ lat: number | null;
1956
+ lng: number | null;
1597
1957
  location: string;
1598
1958
  size: number | null;
1599
1959
  boundary: {
1600
1960
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1601
1961
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1602
1962
  } | null;
1603
- currency: "NGN" | "USD";
1963
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1604
1964
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1605
1965
  };
1606
1966
  relationships?: Record<string, unknown> | undefined;
@@ -1639,13 +1999,22 @@ export declare const farmsRouter: {
1639
1999
  createdAt: string;
1640
2000
  updatedAt: string;
1641
2001
  name: string;
2002
+ countryCode: string;
2003
+ regionCode: string | null;
2004
+ subRegionCode: string | null;
2005
+ timezone: string;
2006
+ locale: string;
2007
+ unitSystem: "metric" | "imperial" | "mixed";
2008
+ areaUnit: "hectares" | "acres";
2009
+ lat: number | null;
2010
+ lng: number | null;
1642
2011
  location: string;
1643
2012
  size: number | null;
1644
2013
  boundary: {
1645
2014
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1646
2015
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1647
2016
  } | null;
1648
- currency: "NGN" | "USD";
2017
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1649
2018
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1650
2019
  };
1651
2020
  relationships?: Record<string, unknown> | undefined;
@@ -1670,13 +2039,22 @@ export declare const farmsRouter: {
1670
2039
  createdAt: string;
1671
2040
  updatedAt: string;
1672
2041
  name: string;
2042
+ countryCode: string;
2043
+ regionCode: string | null;
2044
+ subRegionCode: string | null;
2045
+ timezone: string;
2046
+ locale: string;
2047
+ unitSystem: "metric" | "imperial" | "mixed";
2048
+ areaUnit: "hectares" | "acres";
2049
+ lat: number | null;
2050
+ lng: number | null;
1673
2051
  location: string;
1674
2052
  size: number | null;
1675
2053
  boundary: {
1676
2054
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1677
2055
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1678
2056
  } | null;
1679
- currency: "NGN" | "USD";
2057
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
1680
2058
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
1681
2059
  };
1682
2060
  relationships?: Record<string, unknown> | undefined;
@@ -2065,6 +2443,7 @@ export declare const farmsRouter: {
2065
2443
  type: z.ZodLiteral<"farm-onboarding">;
2066
2444
  attributes: z.ZodObject<{
2067
2445
  name: z.ZodString;
2446
+ countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2068
2447
  location: z.ZodObject<{
2069
2448
  state: z.ZodString;
2070
2449
  lga: z.ZodString;
@@ -2072,14 +2451,14 @@ export declare const farmsRouter: {
2072
2451
  lng: z.ZodNumber;
2073
2452
  }, "strip", z.ZodTypeAny, {
2074
2453
  state: string;
2075
- lga: string;
2076
2454
  lat: number;
2077
2455
  lng: number;
2456
+ lga: string;
2078
2457
  }, {
2079
2458
  state: string;
2080
- lga: string;
2081
2459
  lat: number;
2082
2460
  lng: number;
2461
+ lga: string;
2083
2462
  }>;
2084
2463
  boundary: z.ZodObject<{
2085
2464
  type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
@@ -2119,20 +2498,20 @@ export declare const farmsRouter: {
2119
2498
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2120
2499
  };
2121
2500
  }>;
2122
- currency: z.ZodDefault<z.ZodOptional<z.ZodEnum<["NGN", "USD"]>>>;
2501
+ currency: z.ZodOptional<z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>>;
2123
2502
  }, "strip", z.ZodTypeAny, {
2124
2503
  name: string;
2504
+ countryCode: string;
2125
2505
  location: {
2126
2506
  state: string;
2127
- lga: string;
2128
2507
  lat: number;
2129
2508
  lng: number;
2509
+ lga: string;
2130
2510
  };
2131
2511
  boundary: {
2132
2512
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2133
2513
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2134
2514
  };
2135
- currency: "NGN" | "USD";
2136
2515
  firstField: {
2137
2516
  name: string;
2138
2517
  crop: string;
@@ -2141,13 +2520,14 @@ export declare const farmsRouter: {
2141
2520
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2142
2521
  };
2143
2522
  };
2523
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
2144
2524
  }, {
2145
2525
  name: string;
2146
2526
  location: {
2147
2527
  state: string;
2148
- lga: string;
2149
2528
  lat: number;
2150
2529
  lng: number;
2530
+ lga: string;
2151
2531
  };
2152
2532
  boundary: {
2153
2533
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
@@ -2161,23 +2541,24 @@ export declare const farmsRouter: {
2161
2541
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2162
2542
  };
2163
2543
  };
2164
- currency?: "NGN" | "USD" | undefined;
2544
+ countryCode?: string | undefined;
2545
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
2165
2546
  }>;
2166
2547
  }, "strip", z.ZodTypeAny, {
2167
2548
  type: "farm-onboarding";
2168
2549
  attributes: {
2169
2550
  name: string;
2551
+ countryCode: string;
2170
2552
  location: {
2171
2553
  state: string;
2172
- lga: string;
2173
2554
  lat: number;
2174
2555
  lng: number;
2556
+ lga: string;
2175
2557
  };
2176
2558
  boundary: {
2177
2559
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2178
2560
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2179
2561
  };
2180
- currency: "NGN" | "USD";
2181
2562
  firstField: {
2182
2563
  name: string;
2183
2564
  crop: string;
@@ -2186,6 +2567,7 @@ export declare const farmsRouter: {
2186
2567
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2187
2568
  };
2188
2569
  };
2570
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
2189
2571
  };
2190
2572
  }, {
2191
2573
  type: "farm-onboarding";
@@ -2193,9 +2575,9 @@ export declare const farmsRouter: {
2193
2575
  name: string;
2194
2576
  location: {
2195
2577
  state: string;
2196
- lga: string;
2197
2578
  lat: number;
2198
2579
  lng: number;
2580
+ lga: string;
2199
2581
  };
2200
2582
  boundary: {
2201
2583
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
@@ -2209,7 +2591,8 @@ export declare const farmsRouter: {
2209
2591
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2210
2592
  };
2211
2593
  };
2212
- currency?: "NGN" | "USD" | undefined;
2594
+ countryCode?: string | undefined;
2595
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
2213
2596
  };
2214
2597
  }>;
2215
2598
  }, "strip", z.ZodTypeAny, {
@@ -2217,17 +2600,17 @@ export declare const farmsRouter: {
2217
2600
  type: "farm-onboarding";
2218
2601
  attributes: {
2219
2602
  name: string;
2603
+ countryCode: string;
2220
2604
  location: {
2221
2605
  state: string;
2222
- lga: string;
2223
2606
  lat: number;
2224
2607
  lng: number;
2608
+ lga: string;
2225
2609
  };
2226
2610
  boundary: {
2227
2611
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2228
2612
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2229
2613
  };
2230
- currency: "NGN" | "USD";
2231
2614
  firstField: {
2232
2615
  name: string;
2233
2616
  crop: string;
@@ -2236,6 +2619,7 @@ export declare const farmsRouter: {
2236
2619
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2237
2620
  };
2238
2621
  };
2622
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
2239
2623
  };
2240
2624
  };
2241
2625
  }, {
@@ -2245,9 +2629,9 @@ export declare const farmsRouter: {
2245
2629
  name: string;
2246
2630
  location: {
2247
2631
  state: string;
2248
- lga: string;
2249
2632
  lat: number;
2250
2633
  lng: number;
2634
+ lga: string;
2251
2635
  };
2252
2636
  boundary: {
2253
2637
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
@@ -2261,7 +2645,8 @@ export declare const farmsRouter: {
2261
2645
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2262
2646
  };
2263
2647
  };
2264
- currency?: "NGN" | "USD" | undefined;
2648
+ countryCode?: string | undefined;
2649
+ currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
2265
2650
  };
2266
2651
  };
2267
2652
  }>;
@@ -2285,7 +2670,16 @@ export declare const farmsRouter: {
2285
2670
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2286
2671
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2287
2672
  }>>;
2288
- currency: z.ZodEnum<["NGN", "USD"]>;
2673
+ currency: z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>;
2674
+ countryCode: z.ZodString;
2675
+ regionCode: z.ZodNullable<z.ZodString>;
2676
+ subRegionCode: z.ZodNullable<z.ZodString>;
2677
+ timezone: z.ZodString;
2678
+ locale: z.ZodString;
2679
+ unitSystem: z.ZodEnum<["metric", "imperial", "mixed"]>;
2680
+ areaUnit: z.ZodEnum<["hectares", "acres"]>;
2681
+ lat: z.ZodNullable<z.ZodNumber>;
2682
+ lng: z.ZodNullable<z.ZodNumber>;
2289
2683
  myTeamRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<["owner", "farm-manager", "agronomist", "field-worker", "accountant", "other"]>>>;
2290
2684
  } & {
2291
2685
  createdAt: z.ZodString;
@@ -2294,25 +2688,43 @@ export declare const farmsRouter: {
2294
2688
  createdAt: string;
2295
2689
  updatedAt: string;
2296
2690
  name: string;
2691
+ countryCode: string;
2692
+ regionCode: string | null;
2693
+ subRegionCode: string | null;
2694
+ timezone: string;
2695
+ locale: string;
2696
+ unitSystem: "metric" | "imperial" | "mixed";
2697
+ areaUnit: "hectares" | "acres";
2698
+ lat: number | null;
2699
+ lng: number | null;
2297
2700
  location: string;
2298
2701
  size: number | null;
2299
2702
  boundary: {
2300
2703
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2301
2704
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2302
2705
  } | null;
2303
- currency: "NGN" | "USD";
2706
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
2304
2707
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
2305
2708
  }, {
2306
2709
  createdAt: string;
2307
2710
  updatedAt: string;
2308
2711
  name: string;
2712
+ countryCode: string;
2713
+ regionCode: string | null;
2714
+ subRegionCode: string | null;
2715
+ timezone: string;
2716
+ locale: string;
2717
+ unitSystem: "metric" | "imperial" | "mixed";
2718
+ areaUnit: "hectares" | "acres";
2719
+ lat: number | null;
2720
+ lng: number | null;
2309
2721
  location: string;
2310
2722
  size: number | null;
2311
2723
  boundary: {
2312
2724
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2313
2725
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2314
2726
  } | null;
2315
- currency: "NGN" | "USD";
2727
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
2316
2728
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
2317
2729
  }>;
2318
2730
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2325,13 +2737,22 @@ export declare const farmsRouter: {
2325
2737
  createdAt: string;
2326
2738
  updatedAt: string;
2327
2739
  name: string;
2740
+ countryCode: string;
2741
+ regionCode: string | null;
2742
+ subRegionCode: string | null;
2743
+ timezone: string;
2744
+ locale: string;
2745
+ unitSystem: "metric" | "imperial" | "mixed";
2746
+ areaUnit: "hectares" | "acres";
2747
+ lat: number | null;
2748
+ lng: number | null;
2328
2749
  location: string;
2329
2750
  size: number | null;
2330
2751
  boundary: {
2331
2752
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2332
2753
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2333
2754
  } | null;
2334
- currency: "NGN" | "USD";
2755
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
2335
2756
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
2336
2757
  };
2337
2758
  relationships?: Record<string, unknown> | undefined;
@@ -2344,13 +2765,22 @@ export declare const farmsRouter: {
2344
2765
  createdAt: string;
2345
2766
  updatedAt: string;
2346
2767
  name: string;
2768
+ countryCode: string;
2769
+ regionCode: string | null;
2770
+ subRegionCode: string | null;
2771
+ timezone: string;
2772
+ locale: string;
2773
+ unitSystem: "metric" | "imperial" | "mixed";
2774
+ areaUnit: "hectares" | "acres";
2775
+ lat: number | null;
2776
+ lng: number | null;
2347
2777
  location: string;
2348
2778
  size: number | null;
2349
2779
  boundary: {
2350
2780
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2351
2781
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2352
2782
  } | null;
2353
- currency: "NGN" | "USD";
2783
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
2354
2784
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
2355
2785
  };
2356
2786
  relationships?: Record<string, unknown> | undefined;
@@ -2445,41 +2875,45 @@ export declare const farmsRouter: {
2445
2875
  lng: z.ZodNumber;
2446
2876
  }, "strip", z.ZodTypeAny, {
2447
2877
  state: string;
2448
- lga: string;
2449
2878
  lat: number;
2450
2879
  lng: number;
2880
+ lga: string;
2451
2881
  }, {
2452
2882
  state: string;
2453
- lga: string;
2454
2883
  lat: number;
2455
2884
  lng: number;
2885
+ lga: string;
2456
2886
  }>;
2887
+ countryCode: z.ZodOptional<z.ZodString>;
2457
2888
  }, "strip", z.ZodTypeAny, {
2458
2889
  onboardingCompleted: boolean;
2459
2890
  location: {
2460
2891
  state: string;
2461
- lga: string;
2462
2892
  lat: number;
2463
2893
  lng: number;
2894
+ lga: string;
2464
2895
  };
2896
+ countryCode?: string | undefined;
2465
2897
  }, {
2466
2898
  onboardingCompleted: boolean;
2467
2899
  location: {
2468
2900
  state: string;
2469
- lga: string;
2470
2901
  lat: number;
2471
2902
  lng: number;
2903
+ lga: string;
2472
2904
  };
2905
+ countryCode?: string | undefined;
2473
2906
  }>;
2474
2907
  }, "strip", z.ZodTypeAny, {
2475
2908
  meta: {
2476
2909
  onboardingCompleted: boolean;
2477
2910
  location: {
2478
2911
  state: string;
2479
- lga: string;
2480
2912
  lat: number;
2481
2913
  lng: number;
2914
+ lga: string;
2482
2915
  };
2916
+ countryCode?: string | undefined;
2483
2917
  };
2484
2918
  data: {
2485
2919
  type: string;
@@ -2488,13 +2922,22 @@ export declare const farmsRouter: {
2488
2922
  createdAt: string;
2489
2923
  updatedAt: string;
2490
2924
  name: string;
2925
+ countryCode: string;
2926
+ regionCode: string | null;
2927
+ subRegionCode: string | null;
2928
+ timezone: string;
2929
+ locale: string;
2930
+ unitSystem: "metric" | "imperial" | "mixed";
2931
+ areaUnit: "hectares" | "acres";
2932
+ lat: number | null;
2933
+ lng: number | null;
2491
2934
  location: string;
2492
2935
  size: number | null;
2493
2936
  boundary: {
2494
2937
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2495
2938
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2496
2939
  } | null;
2497
- currency: "NGN" | "USD";
2940
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
2498
2941
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
2499
2942
  };
2500
2943
  relationships?: Record<string, unknown> | undefined;
@@ -2523,10 +2966,11 @@ export declare const farmsRouter: {
2523
2966
  onboardingCompleted: boolean;
2524
2967
  location: {
2525
2968
  state: string;
2526
- lga: string;
2527
2969
  lat: number;
2528
2970
  lng: number;
2971
+ lga: string;
2529
2972
  };
2973
+ countryCode?: string | undefined;
2530
2974
  };
2531
2975
  data: {
2532
2976
  type: string;
@@ -2535,13 +2979,22 @@ export declare const farmsRouter: {
2535
2979
  createdAt: string;
2536
2980
  updatedAt: string;
2537
2981
  name: string;
2982
+ countryCode: string;
2983
+ regionCode: string | null;
2984
+ subRegionCode: string | null;
2985
+ timezone: string;
2986
+ locale: string;
2987
+ unitSystem: "metric" | "imperial" | "mixed";
2988
+ areaUnit: "hectares" | "acres";
2989
+ lat: number | null;
2990
+ lng: number | null;
2538
2991
  location: string;
2539
2992
  size: number | null;
2540
2993
  boundary: {
2541
2994
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2542
2995
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2543
2996
  } | null;
2544
- currency: "NGN" | "USD";
2997
+ currency: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR";
2545
2998
  myTeamRole?: "owner" | "farm-manager" | "agronomist" | "field-worker" | "accountant" | "other" | null | undefined;
2546
2999
  };
2547
3000
  relationships?: Record<string, unknown> | undefined;