@deepintel-ltd/farmpro-contracts 1.16.10 → 1.16.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/admin.routes.d.ts +1036 -0
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +29 -1
- package/dist/routes/agent-workflows.routes.d.ts +246 -246
- package/dist/routes/agents.routes.d.ts +16 -16
- package/dist/routes/fertigation.routes.d.ts +80 -80
- package/dist/routes/field-monitoring.routes.d.ts +8 -8
- package/dist/routes/field-observations.routes.d.ts +28 -28
- package/dist/routes/health.routes.d.ts +66 -0
- package/dist/routes/health.routes.d.ts.map +1 -1
- package/dist/routes/livestock-groups.routes.d.ts +8 -8
- package/dist/routes/livestock.routes.d.ts +50 -50
- package/dist/routes/payments.routes.d.ts +20 -20
- package/dist/routes/pest-disease-risk.routes.d.ts +4 -4
- package/dist/routes/soil-tests.routes.d.ts +40 -40
- package/dist/schemas/admin.schemas.d.ts +267 -0
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +38 -0
- package/dist/schemas/agent-workflows.schemas.d.ts +206 -206
- package/dist/schemas/agents.schemas.d.ts +16 -16
- package/dist/schemas/fertigation.schemas.d.ts +36 -36
- package/dist/schemas/field-monitoring.schemas.d.ts +8 -8
- package/dist/schemas/field-observations.schemas.d.ts +20 -20
- package/dist/schemas/health.schemas.d.ts +33 -0
- package/dist/schemas/health.schemas.d.ts.map +1 -1
- package/dist/schemas/health.schemas.js +1 -0
- package/dist/schemas/livestock.schemas.d.ts +50 -50
- package/dist/schemas/payments.schemas.d.ts +20 -20
- package/dist/schemas/pest-disease-risk.schemas.d.ts +2 -2
- package/dist/schemas/soil-tests.schemas.d.ts +42 -42
- package/package.json +1 -1
|
@@ -1916,4 +1916,271 @@ export type Effectiveness = z.infer<typeof effectivenessSchema>;
|
|
|
1916
1916
|
export type LearnedPattern = z.infer<typeof learnedPatternSchema>;
|
|
1917
1917
|
export type AutonomousMonitoringStatsAttributes = z.infer<typeof autonomousMonitoringStatsAttributesSchema>;
|
|
1918
1918
|
export type AutonomousMonitoringStatsResponse = z.infer<typeof autonomousMonitoringStatsResponseSchema>;
|
|
1919
|
+
export declare const observationAnalysisRetryAttributesSchema: z.ZodObject<{
|
|
1920
|
+
queued: z.ZodNumber;
|
|
1921
|
+
skipped: z.ZodNumber;
|
|
1922
|
+
results: z.ZodArray<z.ZodObject<{
|
|
1923
|
+
observationId: z.ZodString;
|
|
1924
|
+
status: z.ZodEnum<["queued", "skipped"]>;
|
|
1925
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1926
|
+
}, "strip", z.ZodTypeAny, {
|
|
1927
|
+
status: "skipped" | "queued";
|
|
1928
|
+
observationId: string;
|
|
1929
|
+
reason?: string | undefined;
|
|
1930
|
+
}, {
|
|
1931
|
+
status: "skipped" | "queued";
|
|
1932
|
+
observationId: string;
|
|
1933
|
+
reason?: string | undefined;
|
|
1934
|
+
}>, "many">;
|
|
1935
|
+
}, "strip", z.ZodTypeAny, {
|
|
1936
|
+
skipped: number;
|
|
1937
|
+
queued: number;
|
|
1938
|
+
results: {
|
|
1939
|
+
status: "skipped" | "queued";
|
|
1940
|
+
observationId: string;
|
|
1941
|
+
reason?: string | undefined;
|
|
1942
|
+
}[];
|
|
1943
|
+
}, {
|
|
1944
|
+
skipped: number;
|
|
1945
|
+
queued: number;
|
|
1946
|
+
results: {
|
|
1947
|
+
status: "skipped" | "queued";
|
|
1948
|
+
observationId: string;
|
|
1949
|
+
reason?: string | undefined;
|
|
1950
|
+
}[];
|
|
1951
|
+
}>;
|
|
1952
|
+
export declare const observationAnalysisRetryRequestSchema: z.ZodDefault<z.ZodObject<{
|
|
1953
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
1954
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1955
|
+
observationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1956
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["pending", "failed", "processing"]>, "many">>;
|
|
1957
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1958
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
1959
|
+
}, "strip", z.ZodTypeAny, {
|
|
1960
|
+
limit?: number | undefined;
|
|
1961
|
+
observationIds?: string[] | undefined;
|
|
1962
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
1963
|
+
force?: boolean | undefined;
|
|
1964
|
+
}, {
|
|
1965
|
+
limit?: number | undefined;
|
|
1966
|
+
observationIds?: string[] | undefined;
|
|
1967
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
1968
|
+
force?: boolean | undefined;
|
|
1969
|
+
}>>;
|
|
1970
|
+
}, "strip", z.ZodTypeAny, {
|
|
1971
|
+
attributes?: {
|
|
1972
|
+
limit?: number | undefined;
|
|
1973
|
+
observationIds?: string[] | undefined;
|
|
1974
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
1975
|
+
force?: boolean | undefined;
|
|
1976
|
+
} | undefined;
|
|
1977
|
+
}, {
|
|
1978
|
+
attributes?: {
|
|
1979
|
+
limit?: number | undefined;
|
|
1980
|
+
observationIds?: string[] | undefined;
|
|
1981
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
1982
|
+
force?: boolean | undefined;
|
|
1983
|
+
} | undefined;
|
|
1984
|
+
}>>;
|
|
1985
|
+
}, "strip", z.ZodTypeAny, {
|
|
1986
|
+
data?: {
|
|
1987
|
+
attributes?: {
|
|
1988
|
+
limit?: number | undefined;
|
|
1989
|
+
observationIds?: string[] | undefined;
|
|
1990
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
1991
|
+
force?: boolean | undefined;
|
|
1992
|
+
} | undefined;
|
|
1993
|
+
} | undefined;
|
|
1994
|
+
}, {
|
|
1995
|
+
data?: {
|
|
1996
|
+
attributes?: {
|
|
1997
|
+
limit?: number | undefined;
|
|
1998
|
+
observationIds?: string[] | undefined;
|
|
1999
|
+
statuses?: ("pending" | "failed" | "processing")[] | undefined;
|
|
2000
|
+
force?: boolean | undefined;
|
|
2001
|
+
} | undefined;
|
|
2002
|
+
} | undefined;
|
|
2003
|
+
}>>;
|
|
2004
|
+
export declare const observationAnalysisRetrySingleRequestSchema: z.ZodObject<{
|
|
2005
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2006
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2007
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
2008
|
+
}, "strip", z.ZodTypeAny, {
|
|
2009
|
+
force?: boolean | undefined;
|
|
2010
|
+
}, {
|
|
2011
|
+
force?: boolean | undefined;
|
|
2012
|
+
}>>;
|
|
2013
|
+
}, "strip", z.ZodTypeAny, {
|
|
2014
|
+
attributes?: {
|
|
2015
|
+
force?: boolean | undefined;
|
|
2016
|
+
} | undefined;
|
|
2017
|
+
}, {
|
|
2018
|
+
attributes?: {
|
|
2019
|
+
force?: boolean | undefined;
|
|
2020
|
+
} | undefined;
|
|
2021
|
+
}>>;
|
|
2022
|
+
}, "strip", z.ZodTypeAny, {
|
|
2023
|
+
data?: {
|
|
2024
|
+
attributes?: {
|
|
2025
|
+
force?: boolean | undefined;
|
|
2026
|
+
} | undefined;
|
|
2027
|
+
} | undefined;
|
|
2028
|
+
}, {
|
|
2029
|
+
data?: {
|
|
2030
|
+
attributes?: {
|
|
2031
|
+
force?: boolean | undefined;
|
|
2032
|
+
} | undefined;
|
|
2033
|
+
} | undefined;
|
|
2034
|
+
}>;
|
|
2035
|
+
export declare const observationAnalysisRetryResponseSchema: z.ZodObject<{
|
|
2036
|
+
data: z.ZodObject<{
|
|
2037
|
+
type: z.ZodLiteral<string>;
|
|
2038
|
+
id: z.ZodString;
|
|
2039
|
+
attributes: z.ZodObject<{
|
|
2040
|
+
queued: z.ZodNumber;
|
|
2041
|
+
skipped: z.ZodNumber;
|
|
2042
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2043
|
+
observationId: z.ZodString;
|
|
2044
|
+
status: z.ZodEnum<["queued", "skipped"]>;
|
|
2045
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2046
|
+
}, "strip", z.ZodTypeAny, {
|
|
2047
|
+
status: "skipped" | "queued";
|
|
2048
|
+
observationId: string;
|
|
2049
|
+
reason?: string | undefined;
|
|
2050
|
+
}, {
|
|
2051
|
+
status: "skipped" | "queued";
|
|
2052
|
+
observationId: string;
|
|
2053
|
+
reason?: string | undefined;
|
|
2054
|
+
}>, "many">;
|
|
2055
|
+
}, "strip", z.ZodTypeAny, {
|
|
2056
|
+
skipped: number;
|
|
2057
|
+
queued: number;
|
|
2058
|
+
results: {
|
|
2059
|
+
status: "skipped" | "queued";
|
|
2060
|
+
observationId: string;
|
|
2061
|
+
reason?: string | undefined;
|
|
2062
|
+
}[];
|
|
2063
|
+
}, {
|
|
2064
|
+
skipped: number;
|
|
2065
|
+
queued: number;
|
|
2066
|
+
results: {
|
|
2067
|
+
status: "skipped" | "queued";
|
|
2068
|
+
observationId: string;
|
|
2069
|
+
reason?: string | undefined;
|
|
2070
|
+
}[];
|
|
2071
|
+
}>;
|
|
2072
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2073
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2074
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2075
|
+
}, "strip", z.ZodTypeAny, {
|
|
2076
|
+
type: string;
|
|
2077
|
+
id: string;
|
|
2078
|
+
attributes: {
|
|
2079
|
+
skipped: number;
|
|
2080
|
+
queued: number;
|
|
2081
|
+
results: {
|
|
2082
|
+
status: "skipped" | "queued";
|
|
2083
|
+
observationId: string;
|
|
2084
|
+
reason?: string | undefined;
|
|
2085
|
+
}[];
|
|
2086
|
+
};
|
|
2087
|
+
relationships?: Record<string, unknown> | undefined;
|
|
2088
|
+
links?: Record<string, string> | undefined;
|
|
2089
|
+
meta?: Record<string, unknown> | undefined;
|
|
2090
|
+
}, {
|
|
2091
|
+
type: string;
|
|
2092
|
+
id: string;
|
|
2093
|
+
attributes: {
|
|
2094
|
+
skipped: number;
|
|
2095
|
+
queued: number;
|
|
2096
|
+
results: {
|
|
2097
|
+
status: "skipped" | "queued";
|
|
2098
|
+
observationId: string;
|
|
2099
|
+
reason?: string | undefined;
|
|
2100
|
+
}[];
|
|
2101
|
+
};
|
|
2102
|
+
relationships?: Record<string, unknown> | undefined;
|
|
2103
|
+
links?: Record<string, string> | undefined;
|
|
2104
|
+
meta?: Record<string, unknown> | undefined;
|
|
2105
|
+
}>;
|
|
2106
|
+
included: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2107
|
+
type: z.ZodString;
|
|
2108
|
+
id: z.ZodString;
|
|
2109
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2110
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2111
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2112
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2113
|
+
}, "strip", z.ZodTypeAny, {
|
|
2114
|
+
type: string;
|
|
2115
|
+
id: string;
|
|
2116
|
+
attributes?: Record<string, unknown> | undefined;
|
|
2117
|
+
relationships?: Record<string, unknown> | undefined;
|
|
2118
|
+
links?: Record<string, string> | undefined;
|
|
2119
|
+
meta?: Record<string, unknown> | undefined;
|
|
2120
|
+
}, {
|
|
2121
|
+
type: string;
|
|
2122
|
+
id: string;
|
|
2123
|
+
attributes?: Record<string, unknown> | undefined;
|
|
2124
|
+
relationships?: Record<string, unknown> | undefined;
|
|
2125
|
+
links?: Record<string, string> | undefined;
|
|
2126
|
+
meta?: Record<string, unknown> | undefined;
|
|
2127
|
+
}>, "many">>;
|
|
2128
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2129
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2130
|
+
}, "strip", z.ZodTypeAny, {
|
|
2131
|
+
data: {
|
|
2132
|
+
type: string;
|
|
2133
|
+
id: string;
|
|
2134
|
+
attributes: {
|
|
2135
|
+
skipped: number;
|
|
2136
|
+
queued: number;
|
|
2137
|
+
results: {
|
|
2138
|
+
status: "skipped" | "queued";
|
|
2139
|
+
observationId: string;
|
|
2140
|
+
reason?: string | undefined;
|
|
2141
|
+
}[];
|
|
2142
|
+
};
|
|
2143
|
+
relationships?: Record<string, unknown> | undefined;
|
|
2144
|
+
links?: Record<string, string> | undefined;
|
|
2145
|
+
meta?: Record<string, unknown> | undefined;
|
|
2146
|
+
};
|
|
2147
|
+
links?: Record<string, string> | undefined;
|
|
2148
|
+
meta?: Record<string, unknown> | undefined;
|
|
2149
|
+
included?: {
|
|
2150
|
+
type: string;
|
|
2151
|
+
id: string;
|
|
2152
|
+
attributes?: Record<string, unknown> | undefined;
|
|
2153
|
+
relationships?: Record<string, unknown> | undefined;
|
|
2154
|
+
links?: Record<string, string> | undefined;
|
|
2155
|
+
meta?: Record<string, unknown> | undefined;
|
|
2156
|
+
}[] | undefined;
|
|
2157
|
+
}, {
|
|
2158
|
+
data: {
|
|
2159
|
+
type: string;
|
|
2160
|
+
id: string;
|
|
2161
|
+
attributes: {
|
|
2162
|
+
skipped: number;
|
|
2163
|
+
queued: number;
|
|
2164
|
+
results: {
|
|
2165
|
+
status: "skipped" | "queued";
|
|
2166
|
+
observationId: string;
|
|
2167
|
+
reason?: string | undefined;
|
|
2168
|
+
}[];
|
|
2169
|
+
};
|
|
2170
|
+
relationships?: Record<string, unknown> | undefined;
|
|
2171
|
+
links?: Record<string, string> | undefined;
|
|
2172
|
+
meta?: Record<string, unknown> | undefined;
|
|
2173
|
+
};
|
|
2174
|
+
links?: Record<string, string> | undefined;
|
|
2175
|
+
meta?: Record<string, unknown> | undefined;
|
|
2176
|
+
included?: {
|
|
2177
|
+
type: string;
|
|
2178
|
+
id: string;
|
|
2179
|
+
attributes?: Record<string, unknown> | undefined;
|
|
2180
|
+
relationships?: Record<string, unknown> | undefined;
|
|
2181
|
+
links?: Record<string, string> | undefined;
|
|
2182
|
+
meta?: Record<string, unknown> | undefined;
|
|
2183
|
+
}[] | undefined;
|
|
2184
|
+
}>;
|
|
2185
|
+
export type ObservationAnalysisRetryResponse = z.infer<typeof observationAnalysisRetryResponseSchema>;
|
|
1919
2186
|
//# sourceMappingURL=admin.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/admin.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAGrD;;GAEG;AAGH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAAyB,CAAC;AAEtE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAGH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhB,CAAC;AAE3B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAItC,CAAC;AAGH,eAAO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CAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,uCAAuC,CAC/C,CAAC;AAQF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInD,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAepC,CAAC;AAEf,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtD,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKlD,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC"}
|
|
@@ -132,3 +132,41 @@ export const autonomousMonitoringStatsAttributesSchema = z.object({
|
|
|
132
132
|
export const autonomousMonitoringStatsResourceSchema = createJsonApiResourceSchema('autonomous-monitoring-stats', autonomousMonitoringStatsAttributesSchema);
|
|
133
133
|
// Response schema
|
|
134
134
|
export const autonomousMonitoringStatsResponseSchema = jsonApiSingleResponseSchema(autonomousMonitoringStatsResourceSchema);
|
|
135
|
+
const observationAnalysisRetryItemSchema = z.object({
|
|
136
|
+
observationId: z.string().uuid(),
|
|
137
|
+
status: z.enum(['queued', 'skipped']),
|
|
138
|
+
reason: z.string().optional(),
|
|
139
|
+
});
|
|
140
|
+
export const observationAnalysisRetryAttributesSchema = z.object({
|
|
141
|
+
queued: z.number().int().nonnegative(),
|
|
142
|
+
skipped: z.number().int().nonnegative(),
|
|
143
|
+
results: z.array(observationAnalysisRetryItemSchema),
|
|
144
|
+
});
|
|
145
|
+
export const observationAnalysisRetryRequestSchema = z
|
|
146
|
+
.object({
|
|
147
|
+
data: z
|
|
148
|
+
.object({
|
|
149
|
+
attributes: z
|
|
150
|
+
.object({
|
|
151
|
+
observationIds: z.array(z.string().uuid()).max(500).optional(),
|
|
152
|
+
statuses: z.array(z.enum(['pending', 'failed', 'processing'])).optional(),
|
|
153
|
+
limit: z.number().int().min(1).max(500).optional(),
|
|
154
|
+
force: z.boolean().optional(),
|
|
155
|
+
})
|
|
156
|
+
.optional(),
|
|
157
|
+
})
|
|
158
|
+
.optional(),
|
|
159
|
+
})
|
|
160
|
+
.default({});
|
|
161
|
+
export const observationAnalysisRetrySingleRequestSchema = z.object({
|
|
162
|
+
data: z
|
|
163
|
+
.object({
|
|
164
|
+
attributes: z
|
|
165
|
+
.object({
|
|
166
|
+
force: z.boolean().optional(),
|
|
167
|
+
})
|
|
168
|
+
.optional(),
|
|
169
|
+
})
|
|
170
|
+
.optional(),
|
|
171
|
+
});
|
|
172
|
+
export const observationAnalysisRetryResponseSchema = jsonApiSingleResponseSchema(createJsonApiResourceSchema('observation-analysis-retry', observationAnalysisRetryAttributesSchema));
|