@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.
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/routes/agent-workflows.routes.d.ts +88 -88
- package/dist/routes/agents.routes.d.ts +3260 -0
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/agents.routes.js +130 -1
- package/dist/routes/analytics.routes.d.ts +20 -20
- package/dist/routes/documents.routes.d.ts +855 -58
- package/dist/routes/documents.routes.d.ts.map +1 -1
- package/dist/routes/documents.routes.js +43 -1
- package/dist/routes/equipment.routes.d.ts +38 -38
- package/dist/routes/farm-status.routes.d.ts +315 -0
- package/dist/routes/farm-status.routes.d.ts.map +1 -0
- package/dist/routes/farm-status.routes.js +26 -0
- package/dist/routes/fertigation.routes.d.ts +148 -148
- package/dist/routes/field-monitoring.routes.d.ts +52 -52
- package/dist/routes/field-observations.routes.d.ts +56 -56
- package/dist/routes/finance.routes.d.ts +3493 -0
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/finance.routes.js +158 -1
- package/dist/routes/geofences.routes.d.ts.map +1 -1
- package/dist/routes/index.d.ts +3 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/irrigation.routes.d.ts +6 -6
- package/dist/routes/measurements.routes.d.ts +13 -4
- package/dist/routes/measurements.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.d.ts +43 -36
- package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.js +7 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +20 -20
- package/dist/routes/prescription-maps.routes.d.ts +570 -23
- package/dist/routes/prescription-maps.routes.d.ts.map +1 -1
- package/dist/routes/prescription-maps.routes.js +18 -1
- package/dist/routes/soil-tests.routes.d.ts +30 -30
- package/dist/routes/subscriptions.routes.d.ts +14 -14
- package/dist/routes/weather.routes.d.ts +545 -52
- package/dist/routes/weather.routes.d.ts.map +1 -1
- package/dist/routes/weather.routes.js +13 -1
- package/dist/routes/yield-prediction.routes.d.ts +30 -30
- package/dist/schemas/agent-workflows.schemas.d.ts +92 -92
- package/dist/schemas/agents.schemas.d.ts +1120 -0
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +181 -0
- package/dist/schemas/analytics.schemas.d.ts +56 -56
- package/dist/schemas/documents.schemas.d.ts +248 -48
- package/dist/schemas/documents.schemas.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.js +38 -0
- package/dist/schemas/equipment.schemas.d.ts +30 -30
- package/dist/schemas/farm-status.schemas.d.ts +451 -0
- package/dist/schemas/farm-status.schemas.d.ts.map +1 -0
- package/dist/schemas/farm-status.schemas.js +44 -0
- package/dist/schemas/fertigation.schemas.d.ts +50 -50
- package/dist/schemas/field-monitoring.schemas.d.ts +42 -42
- package/dist/schemas/field-observations.schemas.d.ts +44 -44
- package/dist/schemas/finance.schemas.d.ts +1057 -0
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +170 -0
- package/dist/schemas/irrigation.schemas.d.ts +8 -8
- package/dist/schemas/measurements.schemas.d.ts +21 -8
- package/dist/schemas/measurements.schemas.d.ts.map +1 -1
- package/dist/schemas/measurements.schemas.js +13 -6
- package/dist/schemas/monitoring-visualization.schemas.d.ts +50 -43
- package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
- package/dist/schemas/monitoring-visualization.schemas.js +27 -17
- package/dist/schemas/pest-disease-risk.schemas.d.ts +18 -18
- package/dist/schemas/prescription-maps.schemas.d.ts +45 -22
- package/dist/schemas/prescription-maps.schemas.d.ts.map +1 -1
- package/dist/schemas/prescription-maps.schemas.js +9 -1
- package/dist/schemas/recommendations.schemas.d.ts +2 -2
- package/dist/schemas/soil-tests.schemas.d.ts +28 -28
- package/dist/schemas/subscriptions.schemas.d.ts +22 -22
- package/dist/schemas/weather.schemas.d.ts +789 -112
- package/dist/schemas/weather.schemas.d.ts.map +1 -1
- package/dist/schemas/weather.schemas.js +37 -0
- package/dist/schemas/yield-prediction.schemas.d.ts +12 -12
- package/package.json +1 -1
|
@@ -34,7 +34,7 @@ export declare const documentsRouter: {
|
|
|
34
34
|
'filter[crop]'?: string | undefined;
|
|
35
35
|
include?: string | undefined;
|
|
36
36
|
'filter[type]'?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
|
|
37
|
-
'filter[relatedToType]'?: "farm" | "field" | "
|
|
37
|
+
'filter[relatedToType]'?: "farm" | "field" | "expense" | "other" | "equipment" | "purchase" | undefined;
|
|
38
38
|
'filter[relatedToId]'?: string | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
sort?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const documentsRouter: {
|
|
|
46
46
|
'filter[crop]'?: string | undefined;
|
|
47
47
|
include?: string | undefined;
|
|
48
48
|
'filter[type]'?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
|
|
49
|
-
'filter[relatedToType]'?: "farm" | "field" | "
|
|
49
|
+
'filter[relatedToType]'?: "farm" | "field" | "expense" | "other" | "equipment" | "purchase" | undefined;
|
|
50
50
|
'filter[relatedToId]'?: string | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
summary: "List documents";
|
|
@@ -72,10 +72,10 @@ export declare const documentsRouter: {
|
|
|
72
72
|
type: z.ZodEnum<["farm", "field", "purchase", "expense", "equipment", "other"]>;
|
|
73
73
|
id: z.ZodString;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
type: "farm" | "field" | "
|
|
75
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
76
76
|
id: string;
|
|
77
77
|
}, {
|
|
78
|
-
type: "farm" | "field" | "
|
|
78
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
79
79
|
id: string;
|
|
80
80
|
}>>;
|
|
81
81
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -96,7 +96,7 @@ export declare const documentsRouter: {
|
|
|
96
96
|
uploadedDate: string;
|
|
97
97
|
uploadedBy: string | null;
|
|
98
98
|
relatedTo: {
|
|
99
|
-
type: "farm" | "field" | "
|
|
99
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
100
100
|
id: string;
|
|
101
101
|
} | null;
|
|
102
102
|
fileExtension?: string | null | undefined;
|
|
@@ -114,7 +114,7 @@ export declare const documentsRouter: {
|
|
|
114
114
|
uploadedDate: string;
|
|
115
115
|
uploadedBy: string | null;
|
|
116
116
|
relatedTo: {
|
|
117
|
-
type: "farm" | "field" | "
|
|
117
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
118
118
|
id: string;
|
|
119
119
|
} | null;
|
|
120
120
|
fileExtension?: string | null | undefined;
|
|
@@ -139,7 +139,7 @@ export declare const documentsRouter: {
|
|
|
139
139
|
uploadedDate: string;
|
|
140
140
|
uploadedBy: string | null;
|
|
141
141
|
relatedTo: {
|
|
142
|
-
type: "farm" | "field" | "
|
|
142
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
143
143
|
id: string;
|
|
144
144
|
} | null;
|
|
145
145
|
fileExtension?: string | null | undefined;
|
|
@@ -164,7 +164,7 @@ export declare const documentsRouter: {
|
|
|
164
164
|
uploadedDate: string;
|
|
165
165
|
uploadedBy: string | null;
|
|
166
166
|
relatedTo: {
|
|
167
|
-
type: "farm" | "field" | "
|
|
167
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
168
168
|
id: string;
|
|
169
169
|
} | null;
|
|
170
170
|
fileExtension?: string | null | undefined;
|
|
@@ -215,7 +215,7 @@ export declare const documentsRouter: {
|
|
|
215
215
|
uploadedDate: string;
|
|
216
216
|
uploadedBy: string | null;
|
|
217
217
|
relatedTo: {
|
|
218
|
-
type: "farm" | "field" | "
|
|
218
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
219
219
|
id: string;
|
|
220
220
|
} | null;
|
|
221
221
|
fileExtension?: string | null | undefined;
|
|
@@ -252,7 +252,7 @@ export declare const documentsRouter: {
|
|
|
252
252
|
uploadedDate: string;
|
|
253
253
|
uploadedBy: string | null;
|
|
254
254
|
relatedTo: {
|
|
255
|
-
type: "farm" | "field" | "
|
|
255
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
256
256
|
id: string;
|
|
257
257
|
} | null;
|
|
258
258
|
fileExtension?: string | null | undefined;
|
|
@@ -918,10 +918,10 @@ export declare const documentsRouter: {
|
|
|
918
918
|
type: z.ZodEnum<["farm", "field", "purchase", "expense", "equipment", "other"]>;
|
|
919
919
|
id: z.ZodString;
|
|
920
920
|
}, "strip", z.ZodTypeAny, {
|
|
921
|
-
type: "farm" | "field" | "
|
|
921
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
922
922
|
id: string;
|
|
923
923
|
}, {
|
|
924
|
-
type: "farm" | "field" | "
|
|
924
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
925
925
|
id: string;
|
|
926
926
|
}>>;
|
|
927
927
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -942,7 +942,7 @@ export declare const documentsRouter: {
|
|
|
942
942
|
uploadedDate: string;
|
|
943
943
|
uploadedBy: string | null;
|
|
944
944
|
relatedTo: {
|
|
945
|
-
type: "farm" | "field" | "
|
|
945
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
946
946
|
id: string;
|
|
947
947
|
} | null;
|
|
948
948
|
fileExtension?: string | null | undefined;
|
|
@@ -960,7 +960,7 @@ export declare const documentsRouter: {
|
|
|
960
960
|
uploadedDate: string;
|
|
961
961
|
uploadedBy: string | null;
|
|
962
962
|
relatedTo: {
|
|
963
|
-
type: "farm" | "field" | "
|
|
963
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
964
964
|
id: string;
|
|
965
965
|
} | null;
|
|
966
966
|
fileExtension?: string | null | undefined;
|
|
@@ -985,7 +985,7 @@ export declare const documentsRouter: {
|
|
|
985
985
|
uploadedDate: string;
|
|
986
986
|
uploadedBy: string | null;
|
|
987
987
|
relatedTo: {
|
|
988
|
-
type: "farm" | "field" | "
|
|
988
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
989
989
|
id: string;
|
|
990
990
|
} | null;
|
|
991
991
|
fileExtension?: string | null | undefined;
|
|
@@ -1010,7 +1010,7 @@ export declare const documentsRouter: {
|
|
|
1010
1010
|
uploadedDate: string;
|
|
1011
1011
|
uploadedBy: string | null;
|
|
1012
1012
|
relatedTo: {
|
|
1013
|
-
type: "farm" | "field" | "
|
|
1013
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1014
1014
|
id: string;
|
|
1015
1015
|
} | null;
|
|
1016
1016
|
fileExtension?: string | null | undefined;
|
|
@@ -1061,7 +1061,7 @@ export declare const documentsRouter: {
|
|
|
1061
1061
|
uploadedDate: string;
|
|
1062
1062
|
uploadedBy: string | null;
|
|
1063
1063
|
relatedTo: {
|
|
1064
|
-
type: "farm" | "field" | "
|
|
1064
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1065
1065
|
id: string;
|
|
1066
1066
|
} | null;
|
|
1067
1067
|
fileExtension?: string | null | undefined;
|
|
@@ -1098,7 +1098,7 @@ export declare const documentsRouter: {
|
|
|
1098
1098
|
uploadedDate: string;
|
|
1099
1099
|
uploadedBy: string | null;
|
|
1100
1100
|
relatedTo: {
|
|
1101
|
-
type: "farm" | "field" | "
|
|
1101
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1102
1102
|
id: string;
|
|
1103
1103
|
} | null;
|
|
1104
1104
|
fileExtension?: string | null | undefined;
|
|
@@ -1415,10 +1415,10 @@ export declare const documentsRouter: {
|
|
|
1415
1415
|
type: z.ZodEnum<["farm", "field", "purchase", "expense", "equipment", "other"]>;
|
|
1416
1416
|
id: z.ZodString;
|
|
1417
1417
|
}, "strip", z.ZodTypeAny, {
|
|
1418
|
-
type: "farm" | "field" | "
|
|
1418
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1419
1419
|
id: string;
|
|
1420
1420
|
}, {
|
|
1421
|
-
type: "farm" | "field" | "
|
|
1421
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1422
1422
|
id: string;
|
|
1423
1423
|
}>>;
|
|
1424
1424
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1432,7 +1432,7 @@ export declare const documentsRouter: {
|
|
|
1432
1432
|
fileSize?: number | undefined;
|
|
1433
1433
|
tags?: string[] | undefined;
|
|
1434
1434
|
relatedTo?: {
|
|
1435
|
-
type: "farm" | "field" | "
|
|
1435
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1436
1436
|
id: string;
|
|
1437
1437
|
} | undefined;
|
|
1438
1438
|
}, {
|
|
@@ -1444,7 +1444,7 @@ export declare const documentsRouter: {
|
|
|
1444
1444
|
fileSize?: number | undefined;
|
|
1445
1445
|
tags?: string[] | undefined;
|
|
1446
1446
|
relatedTo?: {
|
|
1447
|
-
type: "farm" | "field" | "
|
|
1447
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1448
1448
|
id: string;
|
|
1449
1449
|
} | undefined;
|
|
1450
1450
|
}>;
|
|
@@ -1459,7 +1459,7 @@ export declare const documentsRouter: {
|
|
|
1459
1459
|
fileSize?: number | undefined;
|
|
1460
1460
|
tags?: string[] | undefined;
|
|
1461
1461
|
relatedTo?: {
|
|
1462
|
-
type: "farm" | "field" | "
|
|
1462
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1463
1463
|
id: string;
|
|
1464
1464
|
} | undefined;
|
|
1465
1465
|
};
|
|
@@ -1474,7 +1474,7 @@ export declare const documentsRouter: {
|
|
|
1474
1474
|
fileSize?: number | undefined;
|
|
1475
1475
|
tags?: string[] | undefined;
|
|
1476
1476
|
relatedTo?: {
|
|
1477
|
-
type: "farm" | "field" | "
|
|
1477
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1478
1478
|
id: string;
|
|
1479
1479
|
} | undefined;
|
|
1480
1480
|
};
|
|
@@ -1491,7 +1491,7 @@ export declare const documentsRouter: {
|
|
|
1491
1491
|
fileSize?: number | undefined;
|
|
1492
1492
|
tags?: string[] | undefined;
|
|
1493
1493
|
relatedTo?: {
|
|
1494
|
-
type: "farm" | "field" | "
|
|
1494
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1495
1495
|
id: string;
|
|
1496
1496
|
} | undefined;
|
|
1497
1497
|
};
|
|
@@ -1508,7 +1508,7 @@ export declare const documentsRouter: {
|
|
|
1508
1508
|
fileSize?: number | undefined;
|
|
1509
1509
|
tags?: string[] | undefined;
|
|
1510
1510
|
relatedTo?: {
|
|
1511
|
-
type: "farm" | "field" | "
|
|
1511
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1512
1512
|
id: string;
|
|
1513
1513
|
} | undefined;
|
|
1514
1514
|
};
|
|
@@ -1534,10 +1534,10 @@ export declare const documentsRouter: {
|
|
|
1534
1534
|
type: z.ZodEnum<["farm", "field", "purchase", "expense", "equipment", "other"]>;
|
|
1535
1535
|
id: z.ZodString;
|
|
1536
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1537
|
-
type: "farm" | "field" | "
|
|
1537
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1538
1538
|
id: string;
|
|
1539
1539
|
}, {
|
|
1540
|
-
type: "farm" | "field" | "
|
|
1540
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1541
1541
|
id: string;
|
|
1542
1542
|
}>>;
|
|
1543
1543
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1558,7 +1558,7 @@ export declare const documentsRouter: {
|
|
|
1558
1558
|
uploadedDate: string;
|
|
1559
1559
|
uploadedBy: string | null;
|
|
1560
1560
|
relatedTo: {
|
|
1561
|
-
type: "farm" | "field" | "
|
|
1561
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1562
1562
|
id: string;
|
|
1563
1563
|
} | null;
|
|
1564
1564
|
fileExtension?: string | null | undefined;
|
|
@@ -1576,7 +1576,7 @@ export declare const documentsRouter: {
|
|
|
1576
1576
|
uploadedDate: string;
|
|
1577
1577
|
uploadedBy: string | null;
|
|
1578
1578
|
relatedTo: {
|
|
1579
|
-
type: "farm" | "field" | "
|
|
1579
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1580
1580
|
id: string;
|
|
1581
1581
|
} | null;
|
|
1582
1582
|
fileExtension?: string | null | undefined;
|
|
@@ -1601,7 +1601,7 @@ export declare const documentsRouter: {
|
|
|
1601
1601
|
uploadedDate: string;
|
|
1602
1602
|
uploadedBy: string | null;
|
|
1603
1603
|
relatedTo: {
|
|
1604
|
-
type: "farm" | "field" | "
|
|
1604
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1605
1605
|
id: string;
|
|
1606
1606
|
} | null;
|
|
1607
1607
|
fileExtension?: string | null | undefined;
|
|
@@ -1626,7 +1626,7 @@ export declare const documentsRouter: {
|
|
|
1626
1626
|
uploadedDate: string;
|
|
1627
1627
|
uploadedBy: string | null;
|
|
1628
1628
|
relatedTo: {
|
|
1629
|
-
type: "farm" | "field" | "
|
|
1629
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1630
1630
|
id: string;
|
|
1631
1631
|
} | null;
|
|
1632
1632
|
fileExtension?: string | null | undefined;
|
|
@@ -1677,7 +1677,7 @@ export declare const documentsRouter: {
|
|
|
1677
1677
|
uploadedDate: string;
|
|
1678
1678
|
uploadedBy: string | null;
|
|
1679
1679
|
relatedTo: {
|
|
1680
|
-
type: "farm" | "field" | "
|
|
1680
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1681
1681
|
id: string;
|
|
1682
1682
|
} | null;
|
|
1683
1683
|
fileExtension?: string | null | undefined;
|
|
@@ -1714,7 +1714,7 @@ export declare const documentsRouter: {
|
|
|
1714
1714
|
uploadedDate: string;
|
|
1715
1715
|
uploadedBy: string | null;
|
|
1716
1716
|
relatedTo: {
|
|
1717
|
-
type: "farm" | "field" | "
|
|
1717
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
1718
1718
|
id: string;
|
|
1719
1719
|
} | null;
|
|
1720
1720
|
fileExtension?: string | null | undefined;
|
|
@@ -2138,10 +2138,10 @@ export declare const documentsRouter: {
|
|
|
2138
2138
|
type: z.ZodEnum<["farm", "field", "purchase", "expense", "equipment", "other"]>;
|
|
2139
2139
|
id: z.ZodString;
|
|
2140
2140
|
}, "strip", z.ZodTypeAny, {
|
|
2141
|
-
type: "farm" | "field" | "
|
|
2141
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2142
2142
|
id: string;
|
|
2143
2143
|
}, {
|
|
2144
|
-
type: "farm" | "field" | "
|
|
2144
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2145
2145
|
id: string;
|
|
2146
2146
|
}>>;
|
|
2147
2147
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2162,7 +2162,7 @@ export declare const documentsRouter: {
|
|
|
2162
2162
|
uploadedDate: string;
|
|
2163
2163
|
uploadedBy: string | null;
|
|
2164
2164
|
relatedTo: {
|
|
2165
|
-
type: "farm" | "field" | "
|
|
2165
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2166
2166
|
id: string;
|
|
2167
2167
|
} | null;
|
|
2168
2168
|
fileExtension?: string | null | undefined;
|
|
@@ -2180,7 +2180,7 @@ export declare const documentsRouter: {
|
|
|
2180
2180
|
uploadedDate: string;
|
|
2181
2181
|
uploadedBy: string | null;
|
|
2182
2182
|
relatedTo: {
|
|
2183
|
-
type: "farm" | "field" | "
|
|
2183
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2184
2184
|
id: string;
|
|
2185
2185
|
} | null;
|
|
2186
2186
|
fileExtension?: string | null | undefined;
|
|
@@ -2205,7 +2205,7 @@ export declare const documentsRouter: {
|
|
|
2205
2205
|
uploadedDate: string;
|
|
2206
2206
|
uploadedBy: string | null;
|
|
2207
2207
|
relatedTo: {
|
|
2208
|
-
type: "farm" | "field" | "
|
|
2208
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2209
2209
|
id: string;
|
|
2210
2210
|
} | null;
|
|
2211
2211
|
fileExtension?: string | null | undefined;
|
|
@@ -2230,7 +2230,7 @@ export declare const documentsRouter: {
|
|
|
2230
2230
|
uploadedDate: string;
|
|
2231
2231
|
uploadedBy: string | null;
|
|
2232
2232
|
relatedTo: {
|
|
2233
|
-
type: "farm" | "field" | "
|
|
2233
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2234
2234
|
id: string;
|
|
2235
2235
|
} | null;
|
|
2236
2236
|
fileExtension?: string | null | undefined;
|
|
@@ -2281,7 +2281,7 @@ export declare const documentsRouter: {
|
|
|
2281
2281
|
uploadedDate: string;
|
|
2282
2282
|
uploadedBy: string | null;
|
|
2283
2283
|
relatedTo: {
|
|
2284
|
-
type: "farm" | "field" | "
|
|
2284
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2285
2285
|
id: string;
|
|
2286
2286
|
} | null;
|
|
2287
2287
|
fileExtension?: string | null | undefined;
|
|
@@ -2318,7 +2318,7 @@ export declare const documentsRouter: {
|
|
|
2318
2318
|
uploadedDate: string;
|
|
2319
2319
|
uploadedBy: string | null;
|
|
2320
2320
|
relatedTo: {
|
|
2321
|
-
type: "farm" | "field" | "
|
|
2321
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2322
2322
|
id: string;
|
|
2323
2323
|
} | null;
|
|
2324
2324
|
fileExtension?: string | null | undefined;
|
|
@@ -2549,10 +2549,10 @@ export declare const documentsRouter: {
|
|
|
2549
2549
|
type: z.ZodEnum<["farm", "field", "purchase", "expense", "equipment", "other"]>;
|
|
2550
2550
|
id: z.ZodString;
|
|
2551
2551
|
}, "strip", z.ZodTypeAny, {
|
|
2552
|
-
type: "farm" | "field" | "
|
|
2552
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2553
2553
|
id: string;
|
|
2554
2554
|
}, {
|
|
2555
|
-
type: "farm" | "field" | "
|
|
2555
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2556
2556
|
id: string;
|
|
2557
2557
|
}>>>;
|
|
2558
2558
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2566,7 +2566,7 @@ export declare const documentsRouter: {
|
|
|
2566
2566
|
fileSize?: number | undefined;
|
|
2567
2567
|
tags?: string[] | undefined;
|
|
2568
2568
|
relatedTo?: {
|
|
2569
|
-
type: "farm" | "field" | "
|
|
2569
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2570
2570
|
id: string;
|
|
2571
2571
|
} | null | undefined;
|
|
2572
2572
|
}, {
|
|
@@ -2578,7 +2578,7 @@ export declare const documentsRouter: {
|
|
|
2578
2578
|
fileSize?: number | undefined;
|
|
2579
2579
|
tags?: string[] | undefined;
|
|
2580
2580
|
relatedTo?: {
|
|
2581
|
-
type: "farm" | "field" | "
|
|
2581
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2582
2582
|
id: string;
|
|
2583
2583
|
} | null | undefined;
|
|
2584
2584
|
}>;
|
|
@@ -2594,7 +2594,7 @@ export declare const documentsRouter: {
|
|
|
2594
2594
|
fileSize?: number | undefined;
|
|
2595
2595
|
tags?: string[] | undefined;
|
|
2596
2596
|
relatedTo?: {
|
|
2597
|
-
type: "farm" | "field" | "
|
|
2597
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2598
2598
|
id: string;
|
|
2599
2599
|
} | null | undefined;
|
|
2600
2600
|
};
|
|
@@ -2610,7 +2610,7 @@ export declare const documentsRouter: {
|
|
|
2610
2610
|
fileSize?: number | undefined;
|
|
2611
2611
|
tags?: string[] | undefined;
|
|
2612
2612
|
relatedTo?: {
|
|
2613
|
-
type: "farm" | "field" | "
|
|
2613
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2614
2614
|
id: string;
|
|
2615
2615
|
} | null | undefined;
|
|
2616
2616
|
};
|
|
@@ -2628,7 +2628,7 @@ export declare const documentsRouter: {
|
|
|
2628
2628
|
fileSize?: number | undefined;
|
|
2629
2629
|
tags?: string[] | undefined;
|
|
2630
2630
|
relatedTo?: {
|
|
2631
|
-
type: "farm" | "field" | "
|
|
2631
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2632
2632
|
id: string;
|
|
2633
2633
|
} | null | undefined;
|
|
2634
2634
|
};
|
|
@@ -2646,7 +2646,7 @@ export declare const documentsRouter: {
|
|
|
2646
2646
|
fileSize?: number | undefined;
|
|
2647
2647
|
tags?: string[] | undefined;
|
|
2648
2648
|
relatedTo?: {
|
|
2649
|
-
type: "farm" | "field" | "
|
|
2649
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2650
2650
|
id: string;
|
|
2651
2651
|
} | null | undefined;
|
|
2652
2652
|
};
|
|
@@ -2672,10 +2672,10 @@ export declare const documentsRouter: {
|
|
|
2672
2672
|
type: z.ZodEnum<["farm", "field", "purchase", "expense", "equipment", "other"]>;
|
|
2673
2673
|
id: z.ZodString;
|
|
2674
2674
|
}, "strip", z.ZodTypeAny, {
|
|
2675
|
-
type: "farm" | "field" | "
|
|
2675
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2676
2676
|
id: string;
|
|
2677
2677
|
}, {
|
|
2678
|
-
type: "farm" | "field" | "
|
|
2678
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2679
2679
|
id: string;
|
|
2680
2680
|
}>>;
|
|
2681
2681
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2696,7 +2696,7 @@ export declare const documentsRouter: {
|
|
|
2696
2696
|
uploadedDate: string;
|
|
2697
2697
|
uploadedBy: string | null;
|
|
2698
2698
|
relatedTo: {
|
|
2699
|
-
type: "farm" | "field" | "
|
|
2699
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2700
2700
|
id: string;
|
|
2701
2701
|
} | null;
|
|
2702
2702
|
fileExtension?: string | null | undefined;
|
|
@@ -2714,7 +2714,7 @@ export declare const documentsRouter: {
|
|
|
2714
2714
|
uploadedDate: string;
|
|
2715
2715
|
uploadedBy: string | null;
|
|
2716
2716
|
relatedTo: {
|
|
2717
|
-
type: "farm" | "field" | "
|
|
2717
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2718
2718
|
id: string;
|
|
2719
2719
|
} | null;
|
|
2720
2720
|
fileExtension?: string | null | undefined;
|
|
@@ -2739,7 +2739,7 @@ export declare const documentsRouter: {
|
|
|
2739
2739
|
uploadedDate: string;
|
|
2740
2740
|
uploadedBy: string | null;
|
|
2741
2741
|
relatedTo: {
|
|
2742
|
-
type: "farm" | "field" | "
|
|
2742
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2743
2743
|
id: string;
|
|
2744
2744
|
} | null;
|
|
2745
2745
|
fileExtension?: string | null | undefined;
|
|
@@ -2764,7 +2764,7 @@ export declare const documentsRouter: {
|
|
|
2764
2764
|
uploadedDate: string;
|
|
2765
2765
|
uploadedBy: string | null;
|
|
2766
2766
|
relatedTo: {
|
|
2767
|
-
type: "farm" | "field" | "
|
|
2767
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2768
2768
|
id: string;
|
|
2769
2769
|
} | null;
|
|
2770
2770
|
fileExtension?: string | null | undefined;
|
|
@@ -2815,7 +2815,7 @@ export declare const documentsRouter: {
|
|
|
2815
2815
|
uploadedDate: string;
|
|
2816
2816
|
uploadedBy: string | null;
|
|
2817
2817
|
relatedTo: {
|
|
2818
|
-
type: "farm" | "field" | "
|
|
2818
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2819
2819
|
id: string;
|
|
2820
2820
|
} | null;
|
|
2821
2821
|
fileExtension?: string | null | undefined;
|
|
@@ -2852,7 +2852,7 @@ export declare const documentsRouter: {
|
|
|
2852
2852
|
uploadedDate: string;
|
|
2853
2853
|
uploadedBy: string | null;
|
|
2854
2854
|
relatedTo: {
|
|
2855
|
-
type: "farm" | "field" | "
|
|
2855
|
+
type: "farm" | "field" | "expense" | "other" | "equipment" | "purchase";
|
|
2856
2856
|
id: string;
|
|
2857
2857
|
} | null;
|
|
2858
2858
|
fileExtension?: string | null | undefined;
|
|
@@ -3736,5 +3736,802 @@ export declare const documentsRouter: {
|
|
|
3736
3736
|
}>;
|
|
3737
3737
|
};
|
|
3738
3738
|
};
|
|
3739
|
+
scanReceipt: {
|
|
3740
|
+
pathParams: z.ZodObject<{
|
|
3741
|
+
farmId: z.ZodString;
|
|
3742
|
+
id: z.ZodString;
|
|
3743
|
+
}, "strip", z.ZodTypeAny, {
|
|
3744
|
+
id: string;
|
|
3745
|
+
farmId: string;
|
|
3746
|
+
}, {
|
|
3747
|
+
id: string;
|
|
3748
|
+
farmId: string;
|
|
3749
|
+
}>;
|
|
3750
|
+
summary: "Scan receipt with AI";
|
|
3751
|
+
method: "POST";
|
|
3752
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3753
|
+
path: "/farms/:farmId/documents/:id/scan-receipt";
|
|
3754
|
+
responses: {
|
|
3755
|
+
200: z.ZodObject<{
|
|
3756
|
+
data: z.ZodObject<{
|
|
3757
|
+
type: z.ZodLiteral<"receipt-scan">;
|
|
3758
|
+
id: z.ZodString;
|
|
3759
|
+
attributes: z.ZodObject<{
|
|
3760
|
+
vendor: z.ZodNullable<z.ZodString>;
|
|
3761
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
3762
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
3763
|
+
date: z.ZodNullable<z.ZodString>;
|
|
3764
|
+
suggestedCategory: z.ZodNullable<z.ZodString>;
|
|
3765
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
3766
|
+
}, "strip", z.ZodTypeAny, {
|
|
3767
|
+
date: string | null;
|
|
3768
|
+
currency: string | null;
|
|
3769
|
+
notes: string | null;
|
|
3770
|
+
amount: number | null;
|
|
3771
|
+
vendor: string | null;
|
|
3772
|
+
suggestedCategory: string | null;
|
|
3773
|
+
}, {
|
|
3774
|
+
date: string | null;
|
|
3775
|
+
currency: string | null;
|
|
3776
|
+
notes: string | null;
|
|
3777
|
+
amount: number | null;
|
|
3778
|
+
vendor: string | null;
|
|
3779
|
+
suggestedCategory: string | null;
|
|
3780
|
+
}>;
|
|
3781
|
+
}, "strip", z.ZodTypeAny, {
|
|
3782
|
+
type: "receipt-scan";
|
|
3783
|
+
id: string;
|
|
3784
|
+
attributes: {
|
|
3785
|
+
date: string | null;
|
|
3786
|
+
currency: string | null;
|
|
3787
|
+
notes: string | null;
|
|
3788
|
+
amount: number | null;
|
|
3789
|
+
vendor: string | null;
|
|
3790
|
+
suggestedCategory: string | null;
|
|
3791
|
+
};
|
|
3792
|
+
}, {
|
|
3793
|
+
type: "receipt-scan";
|
|
3794
|
+
id: string;
|
|
3795
|
+
attributes: {
|
|
3796
|
+
date: string | null;
|
|
3797
|
+
currency: string | null;
|
|
3798
|
+
notes: string | null;
|
|
3799
|
+
amount: number | null;
|
|
3800
|
+
vendor: string | null;
|
|
3801
|
+
suggestedCategory: string | null;
|
|
3802
|
+
};
|
|
3803
|
+
}>;
|
|
3804
|
+
}, "strip", z.ZodTypeAny, {
|
|
3805
|
+
data: {
|
|
3806
|
+
type: "receipt-scan";
|
|
3807
|
+
id: string;
|
|
3808
|
+
attributes: {
|
|
3809
|
+
date: string | null;
|
|
3810
|
+
currency: string | null;
|
|
3811
|
+
notes: string | null;
|
|
3812
|
+
amount: number | null;
|
|
3813
|
+
vendor: string | null;
|
|
3814
|
+
suggestedCategory: string | null;
|
|
3815
|
+
};
|
|
3816
|
+
};
|
|
3817
|
+
}, {
|
|
3818
|
+
data: {
|
|
3819
|
+
type: "receipt-scan";
|
|
3820
|
+
id: string;
|
|
3821
|
+
attributes: {
|
|
3822
|
+
date: string | null;
|
|
3823
|
+
currency: string | null;
|
|
3824
|
+
notes: string | null;
|
|
3825
|
+
amount: number | null;
|
|
3826
|
+
vendor: string | null;
|
|
3827
|
+
suggestedCategory: string | null;
|
|
3828
|
+
};
|
|
3829
|
+
};
|
|
3830
|
+
}>;
|
|
3831
|
+
401: z.ZodObject<{
|
|
3832
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3833
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3834
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
3835
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3836
|
+
}, "strip", z.ZodTypeAny, {
|
|
3837
|
+
about?: string | undefined;
|
|
3838
|
+
}, {
|
|
3839
|
+
about?: string | undefined;
|
|
3840
|
+
}>>;
|
|
3841
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3842
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3843
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3844
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3845
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
3846
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
3847
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
3848
|
+
}, "strip", z.ZodTypeAny, {
|
|
3849
|
+
pointer?: string | undefined;
|
|
3850
|
+
parameter?: string | undefined;
|
|
3851
|
+
}, {
|
|
3852
|
+
pointer?: string | undefined;
|
|
3853
|
+
parameter?: string | undefined;
|
|
3854
|
+
}>>;
|
|
3855
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3856
|
+
}, "strip", z.ZodTypeAny, {
|
|
3857
|
+
status?: string | undefined;
|
|
3858
|
+
code?: string | undefined;
|
|
3859
|
+
id?: string | undefined;
|
|
3860
|
+
links?: {
|
|
3861
|
+
about?: string | undefined;
|
|
3862
|
+
} | undefined;
|
|
3863
|
+
meta?: Record<string, unknown> | undefined;
|
|
3864
|
+
title?: string | undefined;
|
|
3865
|
+
detail?: string | undefined;
|
|
3866
|
+
source?: {
|
|
3867
|
+
pointer?: string | undefined;
|
|
3868
|
+
parameter?: string | undefined;
|
|
3869
|
+
} | undefined;
|
|
3870
|
+
}, {
|
|
3871
|
+
status?: string | undefined;
|
|
3872
|
+
code?: string | undefined;
|
|
3873
|
+
id?: string | undefined;
|
|
3874
|
+
links?: {
|
|
3875
|
+
about?: string | undefined;
|
|
3876
|
+
} | undefined;
|
|
3877
|
+
meta?: Record<string, unknown> | undefined;
|
|
3878
|
+
title?: string | undefined;
|
|
3879
|
+
detail?: string | undefined;
|
|
3880
|
+
source?: {
|
|
3881
|
+
pointer?: string | undefined;
|
|
3882
|
+
parameter?: string | undefined;
|
|
3883
|
+
} | undefined;
|
|
3884
|
+
}>, "many">;
|
|
3885
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3886
|
+
}, "strip", z.ZodTypeAny, {
|
|
3887
|
+
errors: {
|
|
3888
|
+
status?: string | undefined;
|
|
3889
|
+
code?: string | undefined;
|
|
3890
|
+
id?: string | undefined;
|
|
3891
|
+
links?: {
|
|
3892
|
+
about?: string | undefined;
|
|
3893
|
+
} | undefined;
|
|
3894
|
+
meta?: Record<string, unknown> | undefined;
|
|
3895
|
+
title?: string | undefined;
|
|
3896
|
+
detail?: string | undefined;
|
|
3897
|
+
source?: {
|
|
3898
|
+
pointer?: string | undefined;
|
|
3899
|
+
parameter?: string | undefined;
|
|
3900
|
+
} | undefined;
|
|
3901
|
+
}[];
|
|
3902
|
+
meta?: Record<string, unknown> | undefined;
|
|
3903
|
+
}, {
|
|
3904
|
+
errors: {
|
|
3905
|
+
status?: string | undefined;
|
|
3906
|
+
code?: string | undefined;
|
|
3907
|
+
id?: string | undefined;
|
|
3908
|
+
links?: {
|
|
3909
|
+
about?: string | undefined;
|
|
3910
|
+
} | undefined;
|
|
3911
|
+
meta?: Record<string, unknown> | undefined;
|
|
3912
|
+
title?: string | undefined;
|
|
3913
|
+
detail?: string | undefined;
|
|
3914
|
+
source?: {
|
|
3915
|
+
pointer?: string | undefined;
|
|
3916
|
+
parameter?: string | undefined;
|
|
3917
|
+
} | undefined;
|
|
3918
|
+
}[];
|
|
3919
|
+
meta?: Record<string, unknown> | undefined;
|
|
3920
|
+
}>;
|
|
3921
|
+
404: z.ZodObject<{
|
|
3922
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3923
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3924
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
3925
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3926
|
+
}, "strip", z.ZodTypeAny, {
|
|
3927
|
+
about?: string | undefined;
|
|
3928
|
+
}, {
|
|
3929
|
+
about?: string | undefined;
|
|
3930
|
+
}>>;
|
|
3931
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3932
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3933
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3934
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3935
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
3936
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
3937
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
3938
|
+
}, "strip", z.ZodTypeAny, {
|
|
3939
|
+
pointer?: string | undefined;
|
|
3940
|
+
parameter?: string | undefined;
|
|
3941
|
+
}, {
|
|
3942
|
+
pointer?: string | undefined;
|
|
3943
|
+
parameter?: string | undefined;
|
|
3944
|
+
}>>;
|
|
3945
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3946
|
+
}, "strip", z.ZodTypeAny, {
|
|
3947
|
+
status?: string | undefined;
|
|
3948
|
+
code?: string | undefined;
|
|
3949
|
+
id?: string | undefined;
|
|
3950
|
+
links?: {
|
|
3951
|
+
about?: string | undefined;
|
|
3952
|
+
} | undefined;
|
|
3953
|
+
meta?: Record<string, unknown> | undefined;
|
|
3954
|
+
title?: string | undefined;
|
|
3955
|
+
detail?: string | undefined;
|
|
3956
|
+
source?: {
|
|
3957
|
+
pointer?: string | undefined;
|
|
3958
|
+
parameter?: string | undefined;
|
|
3959
|
+
} | undefined;
|
|
3960
|
+
}, {
|
|
3961
|
+
status?: string | undefined;
|
|
3962
|
+
code?: string | undefined;
|
|
3963
|
+
id?: string | undefined;
|
|
3964
|
+
links?: {
|
|
3965
|
+
about?: string | undefined;
|
|
3966
|
+
} | undefined;
|
|
3967
|
+
meta?: Record<string, unknown> | undefined;
|
|
3968
|
+
title?: string | undefined;
|
|
3969
|
+
detail?: string | undefined;
|
|
3970
|
+
source?: {
|
|
3971
|
+
pointer?: string | undefined;
|
|
3972
|
+
parameter?: string | undefined;
|
|
3973
|
+
} | undefined;
|
|
3974
|
+
}>, "many">;
|
|
3975
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3976
|
+
}, "strip", z.ZodTypeAny, {
|
|
3977
|
+
errors: {
|
|
3978
|
+
status?: string | undefined;
|
|
3979
|
+
code?: string | undefined;
|
|
3980
|
+
id?: string | undefined;
|
|
3981
|
+
links?: {
|
|
3982
|
+
about?: string | undefined;
|
|
3983
|
+
} | undefined;
|
|
3984
|
+
meta?: Record<string, unknown> | undefined;
|
|
3985
|
+
title?: string | undefined;
|
|
3986
|
+
detail?: string | undefined;
|
|
3987
|
+
source?: {
|
|
3988
|
+
pointer?: string | undefined;
|
|
3989
|
+
parameter?: string | undefined;
|
|
3990
|
+
} | undefined;
|
|
3991
|
+
}[];
|
|
3992
|
+
meta?: Record<string, unknown> | undefined;
|
|
3993
|
+
}, {
|
|
3994
|
+
errors: {
|
|
3995
|
+
status?: string | undefined;
|
|
3996
|
+
code?: string | undefined;
|
|
3997
|
+
id?: string | undefined;
|
|
3998
|
+
links?: {
|
|
3999
|
+
about?: string | undefined;
|
|
4000
|
+
} | undefined;
|
|
4001
|
+
meta?: Record<string, unknown> | undefined;
|
|
4002
|
+
title?: string | undefined;
|
|
4003
|
+
detail?: string | undefined;
|
|
4004
|
+
source?: {
|
|
4005
|
+
pointer?: string | undefined;
|
|
4006
|
+
parameter?: string | undefined;
|
|
4007
|
+
} | undefined;
|
|
4008
|
+
}[];
|
|
4009
|
+
meta?: Record<string, unknown> | undefined;
|
|
4010
|
+
}>;
|
|
4011
|
+
};
|
|
4012
|
+
};
|
|
4013
|
+
analyzeContract: {
|
|
4014
|
+
pathParams: z.ZodObject<{
|
|
4015
|
+
farmId: z.ZodString;
|
|
4016
|
+
id: z.ZodString;
|
|
4017
|
+
}, "strip", z.ZodTypeAny, {
|
|
4018
|
+
id: string;
|
|
4019
|
+
farmId: string;
|
|
4020
|
+
}, {
|
|
4021
|
+
id: string;
|
|
4022
|
+
farmId: string;
|
|
4023
|
+
}>;
|
|
4024
|
+
summary: "Analyze contract risk with AI";
|
|
4025
|
+
method: "POST";
|
|
4026
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
4027
|
+
path: "/farms/:farmId/documents/:id/analyze-contract";
|
|
4028
|
+
responses: {
|
|
4029
|
+
200: z.ZodObject<{
|
|
4030
|
+
data: z.ZodObject<{
|
|
4031
|
+
type: z.ZodLiteral<"contract-analysis">;
|
|
4032
|
+
id: z.ZodString;
|
|
4033
|
+
attributes: z.ZodObject<{
|
|
4034
|
+
riskScore: z.ZodNumber;
|
|
4035
|
+
risks: z.ZodArray<z.ZodString, "many">;
|
|
4036
|
+
recommendedChanges: z.ZodArray<z.ZodString, "many">;
|
|
4037
|
+
summary: z.ZodString;
|
|
4038
|
+
}, "strip", z.ZodTypeAny, {
|
|
4039
|
+
summary: string;
|
|
4040
|
+
risks: string[];
|
|
4041
|
+
riskScore: number;
|
|
4042
|
+
recommendedChanges: string[];
|
|
4043
|
+
}, {
|
|
4044
|
+
summary: string;
|
|
4045
|
+
risks: string[];
|
|
4046
|
+
riskScore: number;
|
|
4047
|
+
recommendedChanges: string[];
|
|
4048
|
+
}>;
|
|
4049
|
+
}, "strip", z.ZodTypeAny, {
|
|
4050
|
+
type: "contract-analysis";
|
|
4051
|
+
id: string;
|
|
4052
|
+
attributes: {
|
|
4053
|
+
summary: string;
|
|
4054
|
+
risks: string[];
|
|
4055
|
+
riskScore: number;
|
|
4056
|
+
recommendedChanges: string[];
|
|
4057
|
+
};
|
|
4058
|
+
}, {
|
|
4059
|
+
type: "contract-analysis";
|
|
4060
|
+
id: string;
|
|
4061
|
+
attributes: {
|
|
4062
|
+
summary: string;
|
|
4063
|
+
risks: string[];
|
|
4064
|
+
riskScore: number;
|
|
4065
|
+
recommendedChanges: string[];
|
|
4066
|
+
};
|
|
4067
|
+
}>;
|
|
4068
|
+
}, "strip", z.ZodTypeAny, {
|
|
4069
|
+
data: {
|
|
4070
|
+
type: "contract-analysis";
|
|
4071
|
+
id: string;
|
|
4072
|
+
attributes: {
|
|
4073
|
+
summary: string;
|
|
4074
|
+
risks: string[];
|
|
4075
|
+
riskScore: number;
|
|
4076
|
+
recommendedChanges: string[];
|
|
4077
|
+
};
|
|
4078
|
+
};
|
|
4079
|
+
}, {
|
|
4080
|
+
data: {
|
|
4081
|
+
type: "contract-analysis";
|
|
4082
|
+
id: string;
|
|
4083
|
+
attributes: {
|
|
4084
|
+
summary: string;
|
|
4085
|
+
risks: string[];
|
|
4086
|
+
riskScore: number;
|
|
4087
|
+
recommendedChanges: string[];
|
|
4088
|
+
};
|
|
4089
|
+
};
|
|
4090
|
+
}>;
|
|
4091
|
+
401: z.ZodObject<{
|
|
4092
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4093
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4094
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
4095
|
+
about: z.ZodOptional<z.ZodString>;
|
|
4096
|
+
}, "strip", z.ZodTypeAny, {
|
|
4097
|
+
about?: string | undefined;
|
|
4098
|
+
}, {
|
|
4099
|
+
about?: string | undefined;
|
|
4100
|
+
}>>;
|
|
4101
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4102
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4103
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4104
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4105
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
4106
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
4107
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
4108
|
+
}, "strip", z.ZodTypeAny, {
|
|
4109
|
+
pointer?: string | undefined;
|
|
4110
|
+
parameter?: string | undefined;
|
|
4111
|
+
}, {
|
|
4112
|
+
pointer?: string | undefined;
|
|
4113
|
+
parameter?: string | undefined;
|
|
4114
|
+
}>>;
|
|
4115
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4116
|
+
}, "strip", z.ZodTypeAny, {
|
|
4117
|
+
status?: string | undefined;
|
|
4118
|
+
code?: string | undefined;
|
|
4119
|
+
id?: string | undefined;
|
|
4120
|
+
links?: {
|
|
4121
|
+
about?: string | undefined;
|
|
4122
|
+
} | undefined;
|
|
4123
|
+
meta?: Record<string, unknown> | undefined;
|
|
4124
|
+
title?: string | undefined;
|
|
4125
|
+
detail?: string | undefined;
|
|
4126
|
+
source?: {
|
|
4127
|
+
pointer?: string | undefined;
|
|
4128
|
+
parameter?: string | undefined;
|
|
4129
|
+
} | undefined;
|
|
4130
|
+
}, {
|
|
4131
|
+
status?: string | undefined;
|
|
4132
|
+
code?: string | undefined;
|
|
4133
|
+
id?: string | undefined;
|
|
4134
|
+
links?: {
|
|
4135
|
+
about?: string | undefined;
|
|
4136
|
+
} | undefined;
|
|
4137
|
+
meta?: Record<string, unknown> | undefined;
|
|
4138
|
+
title?: string | undefined;
|
|
4139
|
+
detail?: string | undefined;
|
|
4140
|
+
source?: {
|
|
4141
|
+
pointer?: string | undefined;
|
|
4142
|
+
parameter?: string | undefined;
|
|
4143
|
+
} | undefined;
|
|
4144
|
+
}>, "many">;
|
|
4145
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4146
|
+
}, "strip", z.ZodTypeAny, {
|
|
4147
|
+
errors: {
|
|
4148
|
+
status?: string | undefined;
|
|
4149
|
+
code?: string | undefined;
|
|
4150
|
+
id?: string | undefined;
|
|
4151
|
+
links?: {
|
|
4152
|
+
about?: string | undefined;
|
|
4153
|
+
} | undefined;
|
|
4154
|
+
meta?: Record<string, unknown> | undefined;
|
|
4155
|
+
title?: string | undefined;
|
|
4156
|
+
detail?: string | undefined;
|
|
4157
|
+
source?: {
|
|
4158
|
+
pointer?: string | undefined;
|
|
4159
|
+
parameter?: string | undefined;
|
|
4160
|
+
} | undefined;
|
|
4161
|
+
}[];
|
|
4162
|
+
meta?: Record<string, unknown> | undefined;
|
|
4163
|
+
}, {
|
|
4164
|
+
errors: {
|
|
4165
|
+
status?: string | undefined;
|
|
4166
|
+
code?: string | undefined;
|
|
4167
|
+
id?: string | undefined;
|
|
4168
|
+
links?: {
|
|
4169
|
+
about?: string | undefined;
|
|
4170
|
+
} | undefined;
|
|
4171
|
+
meta?: Record<string, unknown> | undefined;
|
|
4172
|
+
title?: string | undefined;
|
|
4173
|
+
detail?: string | undefined;
|
|
4174
|
+
source?: {
|
|
4175
|
+
pointer?: string | undefined;
|
|
4176
|
+
parameter?: string | undefined;
|
|
4177
|
+
} | undefined;
|
|
4178
|
+
}[];
|
|
4179
|
+
meta?: Record<string, unknown> | undefined;
|
|
4180
|
+
}>;
|
|
4181
|
+
404: z.ZodObject<{
|
|
4182
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4183
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4184
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
4185
|
+
about: z.ZodOptional<z.ZodString>;
|
|
4186
|
+
}, "strip", z.ZodTypeAny, {
|
|
4187
|
+
about?: string | undefined;
|
|
4188
|
+
}, {
|
|
4189
|
+
about?: string | undefined;
|
|
4190
|
+
}>>;
|
|
4191
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4192
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4193
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4194
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4195
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
4196
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
4197
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
4198
|
+
}, "strip", z.ZodTypeAny, {
|
|
4199
|
+
pointer?: string | undefined;
|
|
4200
|
+
parameter?: string | undefined;
|
|
4201
|
+
}, {
|
|
4202
|
+
pointer?: string | undefined;
|
|
4203
|
+
parameter?: string | undefined;
|
|
4204
|
+
}>>;
|
|
4205
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4206
|
+
}, "strip", z.ZodTypeAny, {
|
|
4207
|
+
status?: string | undefined;
|
|
4208
|
+
code?: string | undefined;
|
|
4209
|
+
id?: string | undefined;
|
|
4210
|
+
links?: {
|
|
4211
|
+
about?: string | undefined;
|
|
4212
|
+
} | undefined;
|
|
4213
|
+
meta?: Record<string, unknown> | undefined;
|
|
4214
|
+
title?: string | undefined;
|
|
4215
|
+
detail?: string | undefined;
|
|
4216
|
+
source?: {
|
|
4217
|
+
pointer?: string | undefined;
|
|
4218
|
+
parameter?: string | undefined;
|
|
4219
|
+
} | undefined;
|
|
4220
|
+
}, {
|
|
4221
|
+
status?: string | undefined;
|
|
4222
|
+
code?: string | undefined;
|
|
4223
|
+
id?: string | undefined;
|
|
4224
|
+
links?: {
|
|
4225
|
+
about?: string | undefined;
|
|
4226
|
+
} | undefined;
|
|
4227
|
+
meta?: Record<string, unknown> | undefined;
|
|
4228
|
+
title?: string | undefined;
|
|
4229
|
+
detail?: string | undefined;
|
|
4230
|
+
source?: {
|
|
4231
|
+
pointer?: string | undefined;
|
|
4232
|
+
parameter?: string | undefined;
|
|
4233
|
+
} | undefined;
|
|
4234
|
+
}>, "many">;
|
|
4235
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4236
|
+
}, "strip", z.ZodTypeAny, {
|
|
4237
|
+
errors: {
|
|
4238
|
+
status?: string | undefined;
|
|
4239
|
+
code?: string | undefined;
|
|
4240
|
+
id?: string | undefined;
|
|
4241
|
+
links?: {
|
|
4242
|
+
about?: string | undefined;
|
|
4243
|
+
} | undefined;
|
|
4244
|
+
meta?: Record<string, unknown> | undefined;
|
|
4245
|
+
title?: string | undefined;
|
|
4246
|
+
detail?: string | undefined;
|
|
4247
|
+
source?: {
|
|
4248
|
+
pointer?: string | undefined;
|
|
4249
|
+
parameter?: string | undefined;
|
|
4250
|
+
} | undefined;
|
|
4251
|
+
}[];
|
|
4252
|
+
meta?: Record<string, unknown> | undefined;
|
|
4253
|
+
}, {
|
|
4254
|
+
errors: {
|
|
4255
|
+
status?: string | undefined;
|
|
4256
|
+
code?: string | undefined;
|
|
4257
|
+
id?: string | undefined;
|
|
4258
|
+
links?: {
|
|
4259
|
+
about?: string | undefined;
|
|
4260
|
+
} | undefined;
|
|
4261
|
+
meta?: Record<string, unknown> | undefined;
|
|
4262
|
+
title?: string | undefined;
|
|
4263
|
+
detail?: string | undefined;
|
|
4264
|
+
source?: {
|
|
4265
|
+
pointer?: string | undefined;
|
|
4266
|
+
parameter?: string | undefined;
|
|
4267
|
+
} | undefined;
|
|
4268
|
+
}[];
|
|
4269
|
+
meta?: Record<string, unknown> | undefined;
|
|
4270
|
+
}>;
|
|
4271
|
+
};
|
|
4272
|
+
};
|
|
4273
|
+
complianceSummary: {
|
|
4274
|
+
pathParams: z.ZodObject<{
|
|
4275
|
+
farmId: z.ZodString;
|
|
4276
|
+
}, "strip", z.ZodTypeAny, {
|
|
4277
|
+
farmId: string;
|
|
4278
|
+
}, {
|
|
4279
|
+
farmId: string;
|
|
4280
|
+
}>;
|
|
4281
|
+
query: z.ZodObject<{
|
|
4282
|
+
days: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
4283
|
+
}, "strip", z.ZodTypeAny, {
|
|
4284
|
+
days?: number | undefined;
|
|
4285
|
+
}, {
|
|
4286
|
+
days?: number | undefined;
|
|
4287
|
+
}>;
|
|
4288
|
+
summary: "Generate compliance summary";
|
|
4289
|
+
method: "GET";
|
|
4290
|
+
path: "/farms/:farmId/documents/compliance-summary";
|
|
4291
|
+
responses: {
|
|
4292
|
+
200: z.ZodObject<{
|
|
4293
|
+
data: z.ZodObject<{
|
|
4294
|
+
type: z.ZodLiteral<"compliance-summary">;
|
|
4295
|
+
id: z.ZodString;
|
|
4296
|
+
attributes: z.ZodObject<{
|
|
4297
|
+
farmId: z.ZodString;
|
|
4298
|
+
periodDays: z.ZodNumber;
|
|
4299
|
+
summary: z.ZodString;
|
|
4300
|
+
actionItems: z.ZodArray<z.ZodString, "many">;
|
|
4301
|
+
}, "strip", z.ZodTypeAny, {
|
|
4302
|
+
summary: string;
|
|
4303
|
+
farmId: string;
|
|
4304
|
+
periodDays: number;
|
|
4305
|
+
actionItems: string[];
|
|
4306
|
+
}, {
|
|
4307
|
+
summary: string;
|
|
4308
|
+
farmId: string;
|
|
4309
|
+
periodDays: number;
|
|
4310
|
+
actionItems: string[];
|
|
4311
|
+
}>;
|
|
4312
|
+
}, "strip", z.ZodTypeAny, {
|
|
4313
|
+
type: "compliance-summary";
|
|
4314
|
+
id: string;
|
|
4315
|
+
attributes: {
|
|
4316
|
+
summary: string;
|
|
4317
|
+
farmId: string;
|
|
4318
|
+
periodDays: number;
|
|
4319
|
+
actionItems: string[];
|
|
4320
|
+
};
|
|
4321
|
+
}, {
|
|
4322
|
+
type: "compliance-summary";
|
|
4323
|
+
id: string;
|
|
4324
|
+
attributes: {
|
|
4325
|
+
summary: string;
|
|
4326
|
+
farmId: string;
|
|
4327
|
+
periodDays: number;
|
|
4328
|
+
actionItems: string[];
|
|
4329
|
+
};
|
|
4330
|
+
}>;
|
|
4331
|
+
}, "strip", z.ZodTypeAny, {
|
|
4332
|
+
data: {
|
|
4333
|
+
type: "compliance-summary";
|
|
4334
|
+
id: string;
|
|
4335
|
+
attributes: {
|
|
4336
|
+
summary: string;
|
|
4337
|
+
farmId: string;
|
|
4338
|
+
periodDays: number;
|
|
4339
|
+
actionItems: string[];
|
|
4340
|
+
};
|
|
4341
|
+
};
|
|
4342
|
+
}, {
|
|
4343
|
+
data: {
|
|
4344
|
+
type: "compliance-summary";
|
|
4345
|
+
id: string;
|
|
4346
|
+
attributes: {
|
|
4347
|
+
summary: string;
|
|
4348
|
+
farmId: string;
|
|
4349
|
+
periodDays: number;
|
|
4350
|
+
actionItems: string[];
|
|
4351
|
+
};
|
|
4352
|
+
};
|
|
4353
|
+
}>;
|
|
4354
|
+
401: z.ZodObject<{
|
|
4355
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4356
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4357
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
4358
|
+
about: z.ZodOptional<z.ZodString>;
|
|
4359
|
+
}, "strip", z.ZodTypeAny, {
|
|
4360
|
+
about?: string | undefined;
|
|
4361
|
+
}, {
|
|
4362
|
+
about?: string | undefined;
|
|
4363
|
+
}>>;
|
|
4364
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4365
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4366
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4367
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4368
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
4369
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
4370
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
4371
|
+
}, "strip", z.ZodTypeAny, {
|
|
4372
|
+
pointer?: string | undefined;
|
|
4373
|
+
parameter?: string | undefined;
|
|
4374
|
+
}, {
|
|
4375
|
+
pointer?: string | undefined;
|
|
4376
|
+
parameter?: string | undefined;
|
|
4377
|
+
}>>;
|
|
4378
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4379
|
+
}, "strip", z.ZodTypeAny, {
|
|
4380
|
+
status?: string | undefined;
|
|
4381
|
+
code?: string | undefined;
|
|
4382
|
+
id?: string | undefined;
|
|
4383
|
+
links?: {
|
|
4384
|
+
about?: string | undefined;
|
|
4385
|
+
} | undefined;
|
|
4386
|
+
meta?: Record<string, unknown> | undefined;
|
|
4387
|
+
title?: string | undefined;
|
|
4388
|
+
detail?: string | undefined;
|
|
4389
|
+
source?: {
|
|
4390
|
+
pointer?: string | undefined;
|
|
4391
|
+
parameter?: string | undefined;
|
|
4392
|
+
} | undefined;
|
|
4393
|
+
}, {
|
|
4394
|
+
status?: string | undefined;
|
|
4395
|
+
code?: string | undefined;
|
|
4396
|
+
id?: string | undefined;
|
|
4397
|
+
links?: {
|
|
4398
|
+
about?: string | undefined;
|
|
4399
|
+
} | undefined;
|
|
4400
|
+
meta?: Record<string, unknown> | undefined;
|
|
4401
|
+
title?: string | undefined;
|
|
4402
|
+
detail?: string | undefined;
|
|
4403
|
+
source?: {
|
|
4404
|
+
pointer?: string | undefined;
|
|
4405
|
+
parameter?: string | undefined;
|
|
4406
|
+
} | undefined;
|
|
4407
|
+
}>, "many">;
|
|
4408
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4409
|
+
}, "strip", z.ZodTypeAny, {
|
|
4410
|
+
errors: {
|
|
4411
|
+
status?: string | undefined;
|
|
4412
|
+
code?: string | undefined;
|
|
4413
|
+
id?: string | undefined;
|
|
4414
|
+
links?: {
|
|
4415
|
+
about?: string | undefined;
|
|
4416
|
+
} | undefined;
|
|
4417
|
+
meta?: Record<string, unknown> | undefined;
|
|
4418
|
+
title?: string | undefined;
|
|
4419
|
+
detail?: string | undefined;
|
|
4420
|
+
source?: {
|
|
4421
|
+
pointer?: string | undefined;
|
|
4422
|
+
parameter?: string | undefined;
|
|
4423
|
+
} | undefined;
|
|
4424
|
+
}[];
|
|
4425
|
+
meta?: Record<string, unknown> | undefined;
|
|
4426
|
+
}, {
|
|
4427
|
+
errors: {
|
|
4428
|
+
status?: string | undefined;
|
|
4429
|
+
code?: string | undefined;
|
|
4430
|
+
id?: string | undefined;
|
|
4431
|
+
links?: {
|
|
4432
|
+
about?: string | undefined;
|
|
4433
|
+
} | undefined;
|
|
4434
|
+
meta?: Record<string, unknown> | undefined;
|
|
4435
|
+
title?: string | undefined;
|
|
4436
|
+
detail?: string | undefined;
|
|
4437
|
+
source?: {
|
|
4438
|
+
pointer?: string | undefined;
|
|
4439
|
+
parameter?: string | undefined;
|
|
4440
|
+
} | undefined;
|
|
4441
|
+
}[];
|
|
4442
|
+
meta?: Record<string, unknown> | undefined;
|
|
4443
|
+
}>;
|
|
4444
|
+
404: z.ZodObject<{
|
|
4445
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4446
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4447
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
4448
|
+
about: z.ZodOptional<z.ZodString>;
|
|
4449
|
+
}, "strip", z.ZodTypeAny, {
|
|
4450
|
+
about?: string | undefined;
|
|
4451
|
+
}, {
|
|
4452
|
+
about?: string | undefined;
|
|
4453
|
+
}>>;
|
|
4454
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4455
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4456
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4457
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4458
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
4459
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
4460
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
4461
|
+
}, "strip", z.ZodTypeAny, {
|
|
4462
|
+
pointer?: string | undefined;
|
|
4463
|
+
parameter?: string | undefined;
|
|
4464
|
+
}, {
|
|
4465
|
+
pointer?: string | undefined;
|
|
4466
|
+
parameter?: string | undefined;
|
|
4467
|
+
}>>;
|
|
4468
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4469
|
+
}, "strip", z.ZodTypeAny, {
|
|
4470
|
+
status?: string | undefined;
|
|
4471
|
+
code?: string | undefined;
|
|
4472
|
+
id?: string | undefined;
|
|
4473
|
+
links?: {
|
|
4474
|
+
about?: string | undefined;
|
|
4475
|
+
} | undefined;
|
|
4476
|
+
meta?: Record<string, unknown> | undefined;
|
|
4477
|
+
title?: string | undefined;
|
|
4478
|
+
detail?: string | undefined;
|
|
4479
|
+
source?: {
|
|
4480
|
+
pointer?: string | undefined;
|
|
4481
|
+
parameter?: string | undefined;
|
|
4482
|
+
} | undefined;
|
|
4483
|
+
}, {
|
|
4484
|
+
status?: string | undefined;
|
|
4485
|
+
code?: string | undefined;
|
|
4486
|
+
id?: string | undefined;
|
|
4487
|
+
links?: {
|
|
4488
|
+
about?: string | undefined;
|
|
4489
|
+
} | undefined;
|
|
4490
|
+
meta?: Record<string, unknown> | undefined;
|
|
4491
|
+
title?: string | undefined;
|
|
4492
|
+
detail?: string | undefined;
|
|
4493
|
+
source?: {
|
|
4494
|
+
pointer?: string | undefined;
|
|
4495
|
+
parameter?: string | undefined;
|
|
4496
|
+
} | undefined;
|
|
4497
|
+
}>, "many">;
|
|
4498
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4499
|
+
}, "strip", z.ZodTypeAny, {
|
|
4500
|
+
errors: {
|
|
4501
|
+
status?: string | undefined;
|
|
4502
|
+
code?: string | undefined;
|
|
4503
|
+
id?: string | undefined;
|
|
4504
|
+
links?: {
|
|
4505
|
+
about?: string | undefined;
|
|
4506
|
+
} | undefined;
|
|
4507
|
+
meta?: Record<string, unknown> | undefined;
|
|
4508
|
+
title?: string | undefined;
|
|
4509
|
+
detail?: string | undefined;
|
|
4510
|
+
source?: {
|
|
4511
|
+
pointer?: string | undefined;
|
|
4512
|
+
parameter?: string | undefined;
|
|
4513
|
+
} | undefined;
|
|
4514
|
+
}[];
|
|
4515
|
+
meta?: Record<string, unknown> | undefined;
|
|
4516
|
+
}, {
|
|
4517
|
+
errors: {
|
|
4518
|
+
status?: string | undefined;
|
|
4519
|
+
code?: string | undefined;
|
|
4520
|
+
id?: string | undefined;
|
|
4521
|
+
links?: {
|
|
4522
|
+
about?: string | undefined;
|
|
4523
|
+
} | undefined;
|
|
4524
|
+
meta?: Record<string, unknown> | undefined;
|
|
4525
|
+
title?: string | undefined;
|
|
4526
|
+
detail?: string | undefined;
|
|
4527
|
+
source?: {
|
|
4528
|
+
pointer?: string | undefined;
|
|
4529
|
+
parameter?: string | undefined;
|
|
4530
|
+
} | undefined;
|
|
4531
|
+
}[];
|
|
4532
|
+
meta?: Record<string, unknown> | undefined;
|
|
4533
|
+
}>;
|
|
4534
|
+
};
|
|
4535
|
+
};
|
|
3739
4536
|
};
|
|
3740
4537
|
//# sourceMappingURL=documents.routes.d.ts.map
|