@deepintel-ltd/farmpro-contracts 1.7.13 → 1.7.19

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 (78) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/routes/agent-workflows.routes.d.ts +88 -88
  5. package/dist/routes/agents.routes.d.ts +3260 -0
  6. package/dist/routes/agents.routes.d.ts.map +1 -1
  7. package/dist/routes/agents.routes.js +130 -1
  8. package/dist/routes/analytics.routes.d.ts +20 -20
  9. package/dist/routes/documents.routes.d.ts +855 -58
  10. package/dist/routes/documents.routes.d.ts.map +1 -1
  11. package/dist/routes/documents.routes.js +43 -1
  12. package/dist/routes/equipment.routes.d.ts +38 -38
  13. package/dist/routes/farm-status.routes.d.ts +315 -0
  14. package/dist/routes/farm-status.routes.d.ts.map +1 -0
  15. package/dist/routes/farm-status.routes.js +26 -0
  16. package/dist/routes/fertigation.routes.d.ts +148 -148
  17. package/dist/routes/field-monitoring.routes.d.ts +52 -52
  18. package/dist/routes/field-observations.routes.d.ts +56 -56
  19. package/dist/routes/finance.routes.d.ts +3493 -0
  20. package/dist/routes/finance.routes.d.ts.map +1 -1
  21. package/dist/routes/finance.routes.js +158 -1
  22. package/dist/routes/geofences.routes.d.ts.map +1 -1
  23. package/dist/routes/index.d.ts +3 -0
  24. package/dist/routes/index.d.ts.map +1 -1
  25. package/dist/routes/index.js +2 -0
  26. package/dist/routes/irrigation.routes.d.ts +6 -6
  27. package/dist/routes/measurements.routes.d.ts +13 -4
  28. package/dist/routes/measurements.routes.d.ts.map +1 -1
  29. package/dist/routes/monitoring-visualization.routes.d.ts +43 -36
  30. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  31. package/dist/routes/monitoring-visualization.routes.js +7 -4
  32. package/dist/routes/pest-disease-risk.routes.d.ts +20 -20
  33. package/dist/routes/prescription-maps.routes.d.ts +570 -23
  34. package/dist/routes/prescription-maps.routes.d.ts.map +1 -1
  35. package/dist/routes/prescription-maps.routes.js +18 -1
  36. package/dist/routes/soil-tests.routes.d.ts +30 -30
  37. package/dist/routes/subscriptions.routes.d.ts +14 -14
  38. package/dist/routes/weather.routes.d.ts +545 -52
  39. package/dist/routes/weather.routes.d.ts.map +1 -1
  40. package/dist/routes/weather.routes.js +13 -1
  41. package/dist/routes/yield-prediction.routes.d.ts +30 -30
  42. package/dist/schemas/agent-workflows.schemas.d.ts +92 -92
  43. package/dist/schemas/agents.schemas.d.ts +1120 -0
  44. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  45. package/dist/schemas/agents.schemas.js +181 -0
  46. package/dist/schemas/analytics.schemas.d.ts +56 -56
  47. package/dist/schemas/documents.schemas.d.ts +248 -48
  48. package/dist/schemas/documents.schemas.d.ts.map +1 -1
  49. package/dist/schemas/documents.schemas.js +38 -0
  50. package/dist/schemas/equipment.schemas.d.ts +30 -30
  51. package/dist/schemas/farm-status.schemas.d.ts +451 -0
  52. package/dist/schemas/farm-status.schemas.d.ts.map +1 -0
  53. package/dist/schemas/farm-status.schemas.js +44 -0
  54. package/dist/schemas/fertigation.schemas.d.ts +50 -50
  55. package/dist/schemas/field-monitoring.schemas.d.ts +42 -42
  56. package/dist/schemas/field-observations.schemas.d.ts +44 -44
  57. package/dist/schemas/finance.schemas.d.ts +1057 -0
  58. package/dist/schemas/finance.schemas.d.ts.map +1 -1
  59. package/dist/schemas/finance.schemas.js +170 -0
  60. package/dist/schemas/irrigation.schemas.d.ts +8 -8
  61. package/dist/schemas/measurements.schemas.d.ts +21 -8
  62. package/dist/schemas/measurements.schemas.d.ts.map +1 -1
  63. package/dist/schemas/measurements.schemas.js +13 -6
  64. package/dist/schemas/monitoring-visualization.schemas.d.ts +50 -43
  65. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  66. package/dist/schemas/monitoring-visualization.schemas.js +27 -17
  67. package/dist/schemas/pest-disease-risk.schemas.d.ts +18 -18
  68. package/dist/schemas/prescription-maps.schemas.d.ts +45 -22
  69. package/dist/schemas/prescription-maps.schemas.d.ts.map +1 -1
  70. package/dist/schemas/prescription-maps.schemas.js +9 -1
  71. package/dist/schemas/recommendations.schemas.d.ts +2 -2
  72. package/dist/schemas/soil-tests.schemas.d.ts +28 -28
  73. package/dist/schemas/subscriptions.schemas.d.ts +22 -22
  74. package/dist/schemas/weather.schemas.d.ts +789 -112
  75. package/dist/schemas/weather.schemas.d.ts.map +1 -1
  76. package/dist/schemas/weather.schemas.js +37 -0
  77. package/dist/schemas/yield-prediction.schemas.d.ts +12 -12
  78. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"documents.routes.d.ts","sourceRoot":"","sources":["../../src/routes/documents.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8L1B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
- import { createDocumentSchema, updateDocumentSchema, documentResponseSchema, documentListResponseSchema, uploadedFileResponseSchema, uploadFileBodySchema, documentTypeSchema, relatedEntityTypeSchema, } from '../schemas/documents.schemas';
3
+ import { createDocumentSchema, updateDocumentSchema, documentResponseSchema, documentListResponseSchema, uploadedFileResponseSchema, uploadFileBodySchema, documentTypeSchema, relatedEntityTypeSchema, receiptScanResponseSchema, contractAnalysisResponseSchema, complianceSummaryResponseSchema, } from '../schemas/documents.schemas';
4
4
  import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, jsonApiIncludeQuerySchema, jsonApiFilterQuerySchema } from '../schemas/common.schemas';
5
5
  const c = initContract();
6
6
  export const documentsRouter = c.router({
@@ -144,4 +144,46 @@ export const documentsRouter = c.router({
144
144
  summary: 'View document file',
145
145
  description: 'Stream or download a document file by its UUID. Extension is optional - both /documents/view/{docId} and /documents/view/{docId}.{ext} work for the same file.',
146
146
  },
147
+ scanReceipt: {
148
+ method: 'POST',
149
+ path: '/farms/:farmId/documents/:id/scan-receipt',
150
+ pathParams: z.object({
151
+ farmId: z.string().uuid(),
152
+ id: z.string().uuid(),
153
+ }),
154
+ body: z.object({}),
155
+ responses: {
156
+ 200: receiptScanResponseSchema,
157
+ 401: jsonApiErrorResponseSchema,
158
+ 404: jsonApiErrorResponseSchema,
159
+ },
160
+ summary: 'Scan receipt with AI',
161
+ },
162
+ analyzeContract: {
163
+ method: 'POST',
164
+ path: '/farms/:farmId/documents/:id/analyze-contract',
165
+ pathParams: z.object({
166
+ farmId: z.string().uuid(),
167
+ id: z.string().uuid(),
168
+ }),
169
+ body: z.object({}),
170
+ responses: {
171
+ 200: contractAnalysisResponseSchema,
172
+ 401: jsonApiErrorResponseSchema,
173
+ 404: jsonApiErrorResponseSchema,
174
+ },
175
+ summary: 'Analyze contract risk with AI',
176
+ },
177
+ complianceSummary: {
178
+ method: 'GET',
179
+ path: '/farms/:farmId/documents/compliance-summary',
180
+ pathParams: z.object({ farmId: z.string().uuid() }),
181
+ query: z.object({ days: z.coerce.number().int().positive().default(30).optional() }),
182
+ responses: {
183
+ 200: complianceSummaryResponseSchema,
184
+ 401: jsonApiErrorResponseSchema,
185
+ 404: jsonApiErrorResponseSchema,
186
+ },
187
+ summary: 'Generate compliance summary',
188
+ },
147
189
  });
@@ -28,7 +28,7 @@ export declare const equipmentRouter: {
28
28
  'filter[status]'?: "operational" | "maintenance" | "repair" | "retired" | undefined;
29
29
  'filter[crop]'?: string | undefined;
30
30
  include?: string | undefined;
31
- 'filter[type]'?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
31
+ 'filter[type]'?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
32
32
  }, {
33
33
  sort?: string | undefined;
34
34
  'page[number]'?: number | undefined;
@@ -38,7 +38,7 @@ export declare const equipmentRouter: {
38
38
  'filter[status]'?: "operational" | "maintenance" | "repair" | "retired" | undefined;
39
39
  'filter[crop]'?: string | undefined;
40
40
  include?: string | undefined;
41
- 'filter[type]'?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
41
+ 'filter[type]'?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
42
42
  }>;
43
43
  summary: "List equipment";
44
44
  description: "Get all equipment for a farm with optional filtering";
@@ -112,7 +112,7 @@ export declare const equipmentRouter: {
112
112
  createdAt: z.ZodString;
113
113
  updatedAt: z.ZodString;
114
114
  }, "strip", z.ZodTypeAny, {
115
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
115
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
116
116
  status: "operational" | "maintenance" | "repair" | "retired";
117
117
  createdAt: string;
118
118
  updatedAt: string;
@@ -145,7 +145,7 @@ export declare const equipmentRouter: {
145
145
  performedBy: string | null;
146
146
  }[] | undefined;
147
147
  }, {
148
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
148
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
149
149
  status: "operational" | "maintenance" | "repair" | "retired";
150
150
  createdAt: string;
151
151
  updatedAt: string;
@@ -185,7 +185,7 @@ export declare const equipmentRouter: {
185
185
  type: string;
186
186
  id: string;
187
187
  attributes: {
188
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
188
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
189
189
  status: "operational" | "maintenance" | "repair" | "retired";
190
190
  createdAt: string;
191
191
  updatedAt: string;
@@ -225,7 +225,7 @@ export declare const equipmentRouter: {
225
225
  type: string;
226
226
  id: string;
227
227
  attributes: {
228
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
228
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
229
229
  status: "operational" | "maintenance" | "repair" | "retired";
230
230
  createdAt: string;
231
231
  updatedAt: string;
@@ -291,7 +291,7 @@ export declare const equipmentRouter: {
291
291
  type: string;
292
292
  id: string;
293
293
  attributes: {
294
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
294
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
295
295
  status: "operational" | "maintenance" | "repair" | "retired";
296
296
  createdAt: string;
297
297
  updatedAt: string;
@@ -343,7 +343,7 @@ export declare const equipmentRouter: {
343
343
  type: string;
344
344
  id: string;
345
345
  attributes: {
346
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
346
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
347
347
  status: "operational" | "maintenance" | "repair" | "retired";
348
348
  createdAt: string;
349
349
  updatedAt: string;
@@ -601,7 +601,7 @@ export declare const equipmentRouter: {
601
601
  assignedTo: z.ZodOptional<z.ZodString>;
602
602
  notes: z.ZodOptional<z.ZodString>;
603
603
  }, "strip", z.ZodTypeAny, {
604
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
604
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
605
605
  status: "operational" | "maintenance" | "repair" | "retired";
606
606
  name: string;
607
607
  brand?: string | undefined;
@@ -614,7 +614,7 @@ export declare const equipmentRouter: {
614
614
  purchasePrice?: number | undefined;
615
615
  currentValue?: number | undefined;
616
616
  }, {
617
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
617
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
618
618
  name: string;
619
619
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
620
620
  brand?: string | undefined;
@@ -630,7 +630,7 @@ export declare const equipmentRouter: {
630
630
  }, "strip", z.ZodTypeAny, {
631
631
  type: "equipment";
632
632
  attributes: {
633
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
633
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
634
634
  status: "operational" | "maintenance" | "repair" | "retired";
635
635
  name: string;
636
636
  brand?: string | undefined;
@@ -646,7 +646,7 @@ export declare const equipmentRouter: {
646
646
  }, {
647
647
  type: "equipment";
648
648
  attributes: {
649
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
649
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
650
650
  name: string;
651
651
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
652
652
  brand?: string | undefined;
@@ -664,7 +664,7 @@ export declare const equipmentRouter: {
664
664
  data: {
665
665
  type: "equipment";
666
666
  attributes: {
667
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
667
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
668
668
  status: "operational" | "maintenance" | "repair" | "retired";
669
669
  name: string;
670
670
  brand?: string | undefined;
@@ -682,7 +682,7 @@ export declare const equipmentRouter: {
682
682
  data: {
683
683
  type: "equipment";
684
684
  attributes: {
685
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
685
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
686
686
  name: string;
687
687
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
688
688
  brand?: string | undefined;
@@ -766,7 +766,7 @@ export declare const equipmentRouter: {
766
766
  createdAt: z.ZodString;
767
767
  updatedAt: z.ZodString;
768
768
  }, "strip", z.ZodTypeAny, {
769
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
769
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
770
770
  status: "operational" | "maintenance" | "repair" | "retired";
771
771
  createdAt: string;
772
772
  updatedAt: string;
@@ -799,7 +799,7 @@ export declare const equipmentRouter: {
799
799
  performedBy: string | null;
800
800
  }[] | undefined;
801
801
  }, {
802
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
802
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
803
803
  status: "operational" | "maintenance" | "repair" | "retired";
804
804
  createdAt: string;
805
805
  updatedAt: string;
@@ -839,7 +839,7 @@ export declare const equipmentRouter: {
839
839
  type: string;
840
840
  id: string;
841
841
  attributes: {
842
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
842
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
843
843
  status: "operational" | "maintenance" | "repair" | "retired";
844
844
  createdAt: string;
845
845
  updatedAt: string;
@@ -879,7 +879,7 @@ export declare const equipmentRouter: {
879
879
  type: string;
880
880
  id: string;
881
881
  attributes: {
882
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
882
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
883
883
  status: "operational" | "maintenance" | "repair" | "retired";
884
884
  createdAt: string;
885
885
  updatedAt: string;
@@ -945,7 +945,7 @@ export declare const equipmentRouter: {
945
945
  type: string;
946
946
  id: string;
947
947
  attributes: {
948
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
948
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
949
949
  status: "operational" | "maintenance" | "repair" | "retired";
950
950
  createdAt: string;
951
951
  updatedAt: string;
@@ -997,7 +997,7 @@ export declare const equipmentRouter: {
997
997
  type: string;
998
998
  id: string;
999
999
  attributes: {
1000
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1000
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1001
1001
  status: "operational" | "maintenance" | "repair" | "retired";
1002
1002
  createdAt: string;
1003
1003
  updatedAt: string;
@@ -1497,7 +1497,7 @@ export declare const equipmentRouter: {
1497
1497
  createdAt: z.ZodString;
1498
1498
  updatedAt: z.ZodString;
1499
1499
  }, "strip", z.ZodTypeAny, {
1500
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1500
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1501
1501
  status: "operational" | "maintenance" | "repair" | "retired";
1502
1502
  createdAt: string;
1503
1503
  updatedAt: string;
@@ -1530,7 +1530,7 @@ export declare const equipmentRouter: {
1530
1530
  performedBy: string | null;
1531
1531
  }[] | undefined;
1532
1532
  }, {
1533
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1533
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1534
1534
  status: "operational" | "maintenance" | "repair" | "retired";
1535
1535
  createdAt: string;
1536
1536
  updatedAt: string;
@@ -1570,7 +1570,7 @@ export declare const equipmentRouter: {
1570
1570
  type: string;
1571
1571
  id: string;
1572
1572
  attributes: {
1573
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1573
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1574
1574
  status: "operational" | "maintenance" | "repair" | "retired";
1575
1575
  createdAt: string;
1576
1576
  updatedAt: string;
@@ -1610,7 +1610,7 @@ export declare const equipmentRouter: {
1610
1610
  type: string;
1611
1611
  id: string;
1612
1612
  attributes: {
1613
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1613
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1614
1614
  status: "operational" | "maintenance" | "repair" | "retired";
1615
1615
  createdAt: string;
1616
1616
  updatedAt: string;
@@ -1676,7 +1676,7 @@ export declare const equipmentRouter: {
1676
1676
  type: string;
1677
1677
  id: string;
1678
1678
  attributes: {
1679
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1679
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1680
1680
  status: "operational" | "maintenance" | "repair" | "retired";
1681
1681
  createdAt: string;
1682
1682
  updatedAt: string;
@@ -1728,7 +1728,7 @@ export declare const equipmentRouter: {
1728
1728
  type: string;
1729
1729
  id: string;
1730
1730
  attributes: {
1731
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
1731
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
1732
1732
  status: "operational" | "maintenance" | "repair" | "retired";
1733
1733
  createdAt: string;
1734
1734
  updatedAt: string;
@@ -1990,7 +1990,7 @@ export declare const equipmentRouter: {
1990
1990
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1991
1991
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1992
1992
  }, "strip", z.ZodTypeAny, {
1993
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
1993
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
1994
1994
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
1995
1995
  name?: string | undefined;
1996
1996
  brand?: string | null | undefined;
@@ -2003,7 +2003,7 @@ export declare const equipmentRouter: {
2003
2003
  purchasePrice?: number | null | undefined;
2004
2004
  currentValue?: number | null | undefined;
2005
2005
  }, {
2006
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
2006
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
2007
2007
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
2008
2008
  name?: string | undefined;
2009
2009
  brand?: string | null | undefined;
@@ -2020,7 +2020,7 @@ export declare const equipmentRouter: {
2020
2020
  type: "equipment";
2021
2021
  id: string;
2022
2022
  attributes: {
2023
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
2023
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
2024
2024
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
2025
2025
  name?: string | undefined;
2026
2026
  brand?: string | null | undefined;
@@ -2037,7 +2037,7 @@ export declare const equipmentRouter: {
2037
2037
  type: "equipment";
2038
2038
  id: string;
2039
2039
  attributes: {
2040
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
2040
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
2041
2041
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
2042
2042
  name?: string | undefined;
2043
2043
  brand?: string | null | undefined;
@@ -2056,7 +2056,7 @@ export declare const equipmentRouter: {
2056
2056
  type: "equipment";
2057
2057
  id: string;
2058
2058
  attributes: {
2059
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
2059
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
2060
2060
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
2061
2061
  name?: string | undefined;
2062
2062
  brand?: string | null | undefined;
@@ -2075,7 +2075,7 @@ export declare const equipmentRouter: {
2075
2075
  type: "equipment";
2076
2076
  id: string;
2077
2077
  attributes: {
2078
- type?: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool" | undefined;
2078
+ type?: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool" | undefined;
2079
2079
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
2080
2080
  name?: string | undefined;
2081
2081
  brand?: string | null | undefined;
@@ -2159,7 +2159,7 @@ export declare const equipmentRouter: {
2159
2159
  createdAt: z.ZodString;
2160
2160
  updatedAt: z.ZodString;
2161
2161
  }, "strip", z.ZodTypeAny, {
2162
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
2162
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
2163
2163
  status: "operational" | "maintenance" | "repair" | "retired";
2164
2164
  createdAt: string;
2165
2165
  updatedAt: string;
@@ -2192,7 +2192,7 @@ export declare const equipmentRouter: {
2192
2192
  performedBy: string | null;
2193
2193
  }[] | undefined;
2194
2194
  }, {
2195
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
2195
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
2196
2196
  status: "operational" | "maintenance" | "repair" | "retired";
2197
2197
  createdAt: string;
2198
2198
  updatedAt: string;
@@ -2232,7 +2232,7 @@ export declare const equipmentRouter: {
2232
2232
  type: string;
2233
2233
  id: string;
2234
2234
  attributes: {
2235
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
2235
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
2236
2236
  status: "operational" | "maintenance" | "repair" | "retired";
2237
2237
  createdAt: string;
2238
2238
  updatedAt: string;
@@ -2272,7 +2272,7 @@ export declare const equipmentRouter: {
2272
2272
  type: string;
2273
2273
  id: string;
2274
2274
  attributes: {
2275
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
2275
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
2276
2276
  status: "operational" | "maintenance" | "repair" | "retired";
2277
2277
  createdAt: string;
2278
2278
  updatedAt: string;
@@ -2338,7 +2338,7 @@ export declare const equipmentRouter: {
2338
2338
  type: string;
2339
2339
  id: string;
2340
2340
  attributes: {
2341
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
2341
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
2342
2342
  status: "operational" | "maintenance" | "repair" | "retired";
2343
2343
  createdAt: string;
2344
2344
  updatedAt: string;
@@ -2390,7 +2390,7 @@ export declare const equipmentRouter: {
2390
2390
  type: string;
2391
2391
  id: string;
2392
2392
  attributes: {
2393
- type: "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "irrigation" | "tool";
2393
+ type: "irrigation" | "other" | "tractor" | "sprayer" | "harvester" | "planter" | "tiller" | "tool";
2394
2394
  status: "operational" | "maintenance" | "repair" | "retired";
2395
2395
  createdAt: string;
2396
2396
  updatedAt: string;