@deepintel-ltd/farmpro-contracts 1.23.0 → 1.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/categories.routes.d.ts +26 -26
- package/dist/routes/commodity-deals.routes.d.ts +42 -42
- package/dist/routes/crop-profile.routes.d.ts +8 -8
- package/dist/routes/farm-enterprises.routes.d.ts +395 -0
- package/dist/routes/farm-enterprises.routes.d.ts.map +1 -1
- package/dist/routes/farm-enterprises.routes.js +14 -1
- package/dist/routes/farms.routes.d.ts +73 -20
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/fertigation.routes.d.ts +96 -96
- package/dist/routes/field-monitoring.routes.d.ts +2 -2
- package/dist/routes/finance.routes.d.ts +8 -8
- package/dist/routes/invoices.routes.d.ts +63 -60
- package/dist/routes/invoices.routes.d.ts.map +1 -1
- package/dist/routes/invoices.routes.js +4 -1
- package/dist/routes/monitoring-visualization.routes.d.ts +2 -2
- package/dist/routes/notifications.routes.d.ts +12 -12
- package/dist/routes/organizations.routes.d.ts +90 -47
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/purchase-orders.routes.d.ts +9 -9
- package/dist/routes/suppliers.routes.d.ts +96 -96
- package/dist/routes/team-payments.routes.d.ts +105 -105
- package/dist/routes/team.routes.d.ts +125 -25
- package/dist/routes/team.routes.d.ts.map +1 -1
- package/dist/routes/trade-cash-events.routes.d.ts +46 -46
- package/dist/routes/waybills.routes.d.ts +61 -57
- package/dist/routes/waybills.routes.d.ts.map +1 -1
- package/dist/routes/waybills.routes.js +4 -1
- package/dist/schemas/categories.schemas.d.ts +21 -21
- package/dist/schemas/commodity-deals.schemas.d.ts +18 -18
- package/dist/schemas/crop-profile.schemas.d.ts +12 -12
- package/dist/schemas/farm-enterprises.schemas.d.ts +185 -0
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-enterprises.schemas.js +21 -0
- package/dist/schemas/farms.schemas.d.ts +121 -19
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +15 -1
- package/dist/schemas/fertigation.schemas.d.ts +36 -36
- package/dist/schemas/field-monitoring.schemas.d.ts +2 -2
- package/dist/schemas/finance.schemas.d.ts +8 -8
- package/dist/schemas/invoices.schemas.d.ts +39 -39
- package/dist/schemas/notifications.schemas.d.ts +18 -18
- package/dist/schemas/organizations.schemas.d.ts +105 -46
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +8 -1
- package/dist/schemas/purchase-orders.schemas.d.ts +9 -9
- package/dist/schemas/suppliers.schemas.d.ts +96 -96
- package/dist/schemas/team-payments.schemas.d.ts +87 -87
- package/dist/schemas/team.schemas.d.ts +137 -20
- package/dist/schemas/team.schemas.d.ts.map +1 -1
- package/dist/schemas/team.schemas.js +29 -1
- package/dist/schemas/trade-cash-events.schemas.d.ts +60 -60
- package/dist/schemas/waybills.schemas.d.ts +39 -39
- package/package.json +1 -1
|
@@ -1,5 +1,400 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const farmEnterprisesRouter: {
|
|
3
|
+
getEffectiveWorkspacePacks: {
|
|
4
|
+
pathParams: z.ZodObject<{
|
|
5
|
+
farmId: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
farmId: string;
|
|
8
|
+
}, {
|
|
9
|
+
farmId: string;
|
|
10
|
+
}>;
|
|
11
|
+
summary: "Effective packs the current user may switch into for this farm";
|
|
12
|
+
description: "Intersection of farm-enabled enterprises and user grants, plus Commodity Trade when org-enabled and granted.";
|
|
13
|
+
method: "GET";
|
|
14
|
+
path: "/farms/:farmId/effective-workspace";
|
|
15
|
+
responses: {
|
|
16
|
+
200: z.ZodObject<{
|
|
17
|
+
data: z.ZodObject<{
|
|
18
|
+
farmId: z.ZodString;
|
|
19
|
+
organizationId: z.ZodNullable<z.ZodString>;
|
|
20
|
+
enabledFarmPacks: z.ZodArray<z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>, "many">;
|
|
21
|
+
grantedFarmPacks: z.ZodArray<z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>, "many">;
|
|
22
|
+
effectiveFarmPacks: z.ZodArray<z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>, "many">;
|
|
23
|
+
trade: z.ZodObject<{
|
|
24
|
+
enabled: z.ZodBoolean;
|
|
25
|
+
granted: z.ZodBoolean;
|
|
26
|
+
effective: z.ZodBoolean;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
granted: boolean;
|
|
30
|
+
effective: boolean;
|
|
31
|
+
}, {
|
|
32
|
+
enabled: boolean;
|
|
33
|
+
granted: boolean;
|
|
34
|
+
effective: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
effectiveWorkspaces: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
37
|
+
kind: z.ZodLiteral<"farm">;
|
|
38
|
+
pack: z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
kind: "farm";
|
|
41
|
+
pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
|
|
42
|
+
}, {
|
|
43
|
+
kind: "farm";
|
|
44
|
+
pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
|
|
45
|
+
}>, z.ZodObject<{
|
|
46
|
+
kind: z.ZodLiteral<"trade">;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
kind: "trade";
|
|
49
|
+
}, {
|
|
50
|
+
kind: "trade";
|
|
51
|
+
}>]>, "many">;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
organizationId: string | null;
|
|
54
|
+
farmId: string;
|
|
55
|
+
enabledFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
56
|
+
grantedFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
57
|
+
effectiveFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
58
|
+
trade: {
|
|
59
|
+
enabled: boolean;
|
|
60
|
+
granted: boolean;
|
|
61
|
+
effective: boolean;
|
|
62
|
+
};
|
|
63
|
+
effectiveWorkspaces: ({
|
|
64
|
+
kind: "farm";
|
|
65
|
+
pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
|
|
66
|
+
} | {
|
|
67
|
+
kind: "trade";
|
|
68
|
+
})[];
|
|
69
|
+
}, {
|
|
70
|
+
organizationId: string | null;
|
|
71
|
+
farmId: string;
|
|
72
|
+
enabledFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
73
|
+
grantedFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
74
|
+
effectiveFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
75
|
+
trade: {
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
granted: boolean;
|
|
78
|
+
effective: boolean;
|
|
79
|
+
};
|
|
80
|
+
effectiveWorkspaces: ({
|
|
81
|
+
kind: "farm";
|
|
82
|
+
pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
|
|
83
|
+
} | {
|
|
84
|
+
kind: "trade";
|
|
85
|
+
})[];
|
|
86
|
+
}>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
data: {
|
|
89
|
+
organizationId: string | null;
|
|
90
|
+
farmId: string;
|
|
91
|
+
enabledFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
92
|
+
grantedFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
93
|
+
effectiveFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
94
|
+
trade: {
|
|
95
|
+
enabled: boolean;
|
|
96
|
+
granted: boolean;
|
|
97
|
+
effective: boolean;
|
|
98
|
+
};
|
|
99
|
+
effectiveWorkspaces: ({
|
|
100
|
+
kind: "farm";
|
|
101
|
+
pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
|
|
102
|
+
} | {
|
|
103
|
+
kind: "trade";
|
|
104
|
+
})[];
|
|
105
|
+
};
|
|
106
|
+
}, {
|
|
107
|
+
data: {
|
|
108
|
+
organizationId: string | null;
|
|
109
|
+
farmId: string;
|
|
110
|
+
enabledFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
111
|
+
grantedFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
112
|
+
effectiveFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
|
|
113
|
+
trade: {
|
|
114
|
+
enabled: boolean;
|
|
115
|
+
granted: boolean;
|
|
116
|
+
effective: boolean;
|
|
117
|
+
};
|
|
118
|
+
effectiveWorkspaces: ({
|
|
119
|
+
kind: "farm";
|
|
120
|
+
pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
|
|
121
|
+
} | {
|
|
122
|
+
kind: "trade";
|
|
123
|
+
})[];
|
|
124
|
+
};
|
|
125
|
+
}>;
|
|
126
|
+
401: z.ZodObject<{
|
|
127
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
128
|
+
id: z.ZodOptional<z.ZodString>;
|
|
129
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
about: z.ZodOptional<z.ZodString>;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
about?: string | undefined;
|
|
133
|
+
}, {
|
|
134
|
+
about?: string | undefined;
|
|
135
|
+
}>>;
|
|
136
|
+
status: z.ZodOptional<z.ZodString>;
|
|
137
|
+
code: z.ZodOptional<z.ZodString>;
|
|
138
|
+
title: z.ZodOptional<z.ZodString>;
|
|
139
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
140
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
142
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
pointer?: string | undefined;
|
|
145
|
+
parameter?: string | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
pointer?: string | undefined;
|
|
148
|
+
parameter?: string | undefined;
|
|
149
|
+
}>>;
|
|
150
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
status?: string | undefined;
|
|
153
|
+
code?: string | undefined;
|
|
154
|
+
id?: string | undefined;
|
|
155
|
+
links?: {
|
|
156
|
+
about?: string | undefined;
|
|
157
|
+
} | undefined;
|
|
158
|
+
meta?: Record<string, unknown> | undefined;
|
|
159
|
+
title?: string | undefined;
|
|
160
|
+
detail?: string | undefined;
|
|
161
|
+
source?: {
|
|
162
|
+
pointer?: string | undefined;
|
|
163
|
+
parameter?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
}, {
|
|
166
|
+
status?: string | undefined;
|
|
167
|
+
code?: string | undefined;
|
|
168
|
+
id?: string | undefined;
|
|
169
|
+
links?: {
|
|
170
|
+
about?: string | undefined;
|
|
171
|
+
} | undefined;
|
|
172
|
+
meta?: Record<string, unknown> | undefined;
|
|
173
|
+
title?: string | undefined;
|
|
174
|
+
detail?: string | undefined;
|
|
175
|
+
source?: {
|
|
176
|
+
pointer?: string | undefined;
|
|
177
|
+
parameter?: string | undefined;
|
|
178
|
+
} | undefined;
|
|
179
|
+
}>, "many">;
|
|
180
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
errors: {
|
|
183
|
+
status?: string | undefined;
|
|
184
|
+
code?: string | undefined;
|
|
185
|
+
id?: string | undefined;
|
|
186
|
+
links?: {
|
|
187
|
+
about?: string | undefined;
|
|
188
|
+
} | undefined;
|
|
189
|
+
meta?: Record<string, unknown> | undefined;
|
|
190
|
+
title?: string | undefined;
|
|
191
|
+
detail?: string | undefined;
|
|
192
|
+
source?: {
|
|
193
|
+
pointer?: string | undefined;
|
|
194
|
+
parameter?: string | undefined;
|
|
195
|
+
} | undefined;
|
|
196
|
+
}[];
|
|
197
|
+
meta?: Record<string, unknown> | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
errors: {
|
|
200
|
+
status?: string | undefined;
|
|
201
|
+
code?: string | undefined;
|
|
202
|
+
id?: string | undefined;
|
|
203
|
+
links?: {
|
|
204
|
+
about?: string | undefined;
|
|
205
|
+
} | undefined;
|
|
206
|
+
meta?: Record<string, unknown> | undefined;
|
|
207
|
+
title?: string | undefined;
|
|
208
|
+
detail?: string | undefined;
|
|
209
|
+
source?: {
|
|
210
|
+
pointer?: string | undefined;
|
|
211
|
+
parameter?: string | undefined;
|
|
212
|
+
} | undefined;
|
|
213
|
+
}[];
|
|
214
|
+
meta?: Record<string, unknown> | undefined;
|
|
215
|
+
}>;
|
|
216
|
+
403: z.ZodObject<{
|
|
217
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
218
|
+
id: z.ZodOptional<z.ZodString>;
|
|
219
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
about: z.ZodOptional<z.ZodString>;
|
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
about?: string | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
about?: string | undefined;
|
|
225
|
+
}>>;
|
|
226
|
+
status: z.ZodOptional<z.ZodString>;
|
|
227
|
+
code: z.ZodOptional<z.ZodString>;
|
|
228
|
+
title: z.ZodOptional<z.ZodString>;
|
|
229
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
230
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
232
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
233
|
+
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
pointer?: string | undefined;
|
|
235
|
+
parameter?: string | undefined;
|
|
236
|
+
}, {
|
|
237
|
+
pointer?: string | undefined;
|
|
238
|
+
parameter?: string | undefined;
|
|
239
|
+
}>>;
|
|
240
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
241
|
+
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
status?: string | undefined;
|
|
243
|
+
code?: string | undefined;
|
|
244
|
+
id?: string | undefined;
|
|
245
|
+
links?: {
|
|
246
|
+
about?: string | undefined;
|
|
247
|
+
} | undefined;
|
|
248
|
+
meta?: Record<string, unknown> | undefined;
|
|
249
|
+
title?: string | undefined;
|
|
250
|
+
detail?: string | undefined;
|
|
251
|
+
source?: {
|
|
252
|
+
pointer?: string | undefined;
|
|
253
|
+
parameter?: string | undefined;
|
|
254
|
+
} | undefined;
|
|
255
|
+
}, {
|
|
256
|
+
status?: string | undefined;
|
|
257
|
+
code?: string | undefined;
|
|
258
|
+
id?: string | undefined;
|
|
259
|
+
links?: {
|
|
260
|
+
about?: string | undefined;
|
|
261
|
+
} | undefined;
|
|
262
|
+
meta?: Record<string, unknown> | undefined;
|
|
263
|
+
title?: string | undefined;
|
|
264
|
+
detail?: string | undefined;
|
|
265
|
+
source?: {
|
|
266
|
+
pointer?: string | undefined;
|
|
267
|
+
parameter?: string | undefined;
|
|
268
|
+
} | undefined;
|
|
269
|
+
}>, "many">;
|
|
270
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
271
|
+
}, "strip", z.ZodTypeAny, {
|
|
272
|
+
errors: {
|
|
273
|
+
status?: string | undefined;
|
|
274
|
+
code?: string | undefined;
|
|
275
|
+
id?: string | undefined;
|
|
276
|
+
links?: {
|
|
277
|
+
about?: string | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
meta?: Record<string, unknown> | undefined;
|
|
280
|
+
title?: string | undefined;
|
|
281
|
+
detail?: string | undefined;
|
|
282
|
+
source?: {
|
|
283
|
+
pointer?: string | undefined;
|
|
284
|
+
parameter?: string | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
}[];
|
|
287
|
+
meta?: Record<string, unknown> | undefined;
|
|
288
|
+
}, {
|
|
289
|
+
errors: {
|
|
290
|
+
status?: string | undefined;
|
|
291
|
+
code?: string | undefined;
|
|
292
|
+
id?: string | undefined;
|
|
293
|
+
links?: {
|
|
294
|
+
about?: string | undefined;
|
|
295
|
+
} | undefined;
|
|
296
|
+
meta?: Record<string, unknown> | undefined;
|
|
297
|
+
title?: string | undefined;
|
|
298
|
+
detail?: string | undefined;
|
|
299
|
+
source?: {
|
|
300
|
+
pointer?: string | undefined;
|
|
301
|
+
parameter?: string | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
}[];
|
|
304
|
+
meta?: Record<string, unknown> | undefined;
|
|
305
|
+
}>;
|
|
306
|
+
404: z.ZodObject<{
|
|
307
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
308
|
+
id: z.ZodOptional<z.ZodString>;
|
|
309
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
about: z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, "strip", z.ZodTypeAny, {
|
|
312
|
+
about?: string | undefined;
|
|
313
|
+
}, {
|
|
314
|
+
about?: string | undefined;
|
|
315
|
+
}>>;
|
|
316
|
+
status: z.ZodOptional<z.ZodString>;
|
|
317
|
+
code: z.ZodOptional<z.ZodString>;
|
|
318
|
+
title: z.ZodOptional<z.ZodString>;
|
|
319
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
320
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
322
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
pointer?: string | undefined;
|
|
325
|
+
parameter?: string | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
pointer?: string | undefined;
|
|
328
|
+
parameter?: string | undefined;
|
|
329
|
+
}>>;
|
|
330
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
|
332
|
+
status?: string | undefined;
|
|
333
|
+
code?: string | undefined;
|
|
334
|
+
id?: string | undefined;
|
|
335
|
+
links?: {
|
|
336
|
+
about?: string | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
meta?: Record<string, unknown> | undefined;
|
|
339
|
+
title?: string | undefined;
|
|
340
|
+
detail?: string | undefined;
|
|
341
|
+
source?: {
|
|
342
|
+
pointer?: string | undefined;
|
|
343
|
+
parameter?: string | undefined;
|
|
344
|
+
} | undefined;
|
|
345
|
+
}, {
|
|
346
|
+
status?: string | undefined;
|
|
347
|
+
code?: string | undefined;
|
|
348
|
+
id?: string | undefined;
|
|
349
|
+
links?: {
|
|
350
|
+
about?: string | undefined;
|
|
351
|
+
} | undefined;
|
|
352
|
+
meta?: Record<string, unknown> | undefined;
|
|
353
|
+
title?: string | undefined;
|
|
354
|
+
detail?: string | undefined;
|
|
355
|
+
source?: {
|
|
356
|
+
pointer?: string | undefined;
|
|
357
|
+
parameter?: string | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
}>, "many">;
|
|
360
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
361
|
+
}, "strip", z.ZodTypeAny, {
|
|
362
|
+
errors: {
|
|
363
|
+
status?: string | undefined;
|
|
364
|
+
code?: string | undefined;
|
|
365
|
+
id?: string | undefined;
|
|
366
|
+
links?: {
|
|
367
|
+
about?: string | undefined;
|
|
368
|
+
} | undefined;
|
|
369
|
+
meta?: Record<string, unknown> | undefined;
|
|
370
|
+
title?: string | undefined;
|
|
371
|
+
detail?: string | undefined;
|
|
372
|
+
source?: {
|
|
373
|
+
pointer?: string | undefined;
|
|
374
|
+
parameter?: string | undefined;
|
|
375
|
+
} | undefined;
|
|
376
|
+
}[];
|
|
377
|
+
meta?: Record<string, unknown> | undefined;
|
|
378
|
+
}, {
|
|
379
|
+
errors: {
|
|
380
|
+
status?: string | undefined;
|
|
381
|
+
code?: string | undefined;
|
|
382
|
+
id?: string | undefined;
|
|
383
|
+
links?: {
|
|
384
|
+
about?: string | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
meta?: Record<string, unknown> | undefined;
|
|
387
|
+
title?: string | undefined;
|
|
388
|
+
detail?: string | undefined;
|
|
389
|
+
source?: {
|
|
390
|
+
pointer?: string | undefined;
|
|
391
|
+
parameter?: string | undefined;
|
|
392
|
+
} | undefined;
|
|
393
|
+
}[];
|
|
394
|
+
meta?: Record<string, unknown> | undefined;
|
|
395
|
+
}>;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
3
398
|
listFarmEnterprises: {
|
|
4
399
|
pathParams: z.ZodObject<{
|
|
5
400
|
farmId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farm-enterprises.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farm-enterprises.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"farm-enterprises.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farm-enterprises.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEhC,CAAC"}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
import { initContract } from '@ts-rest/core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { createFarmEnterpriseSchema, farmEnterpriseListResponseSchema, farmEnterpriseResponseSchema, replaceFarmEnterprisesSchema, } from '../schemas/farm-enterprises.schemas';
|
|
3
|
+
import { createFarmEnterpriseSchema, effectiveWorkspacePacksResponseSchema, farmEnterpriseListResponseSchema, farmEnterpriseResponseSchema, replaceFarmEnterprisesSchema, } from '../schemas/farm-enterprises.schemas';
|
|
4
4
|
import { jsonApiErrorResponseSchema, idParamSchema, } from '../schemas/common.schemas';
|
|
5
5
|
const c = initContract();
|
|
6
6
|
const farmIdParamSchema = z.object({
|
|
7
7
|
farmId: z.string().uuid(),
|
|
8
8
|
});
|
|
9
9
|
export const farmEnterprisesRouter = c.router({
|
|
10
|
+
getEffectiveWorkspacePacks: {
|
|
11
|
+
method: 'GET',
|
|
12
|
+
path: '/farms/:farmId/effective-workspace',
|
|
13
|
+
pathParams: farmIdParamSchema,
|
|
14
|
+
responses: {
|
|
15
|
+
200: effectiveWorkspacePacksResponseSchema,
|
|
16
|
+
401: jsonApiErrorResponseSchema,
|
|
17
|
+
403: jsonApiErrorResponseSchema,
|
|
18
|
+
404: jsonApiErrorResponseSchema,
|
|
19
|
+
},
|
|
20
|
+
summary: 'Effective packs the current user may switch into for this farm',
|
|
21
|
+
description: 'Intersection of farm-enabled enterprises and user grants, plus Commodity Trade when org-enabled and granted.',
|
|
22
|
+
},
|
|
10
23
|
listFarmEnterprises: {
|
|
11
24
|
method: 'GET',
|
|
12
25
|
path: '/farms/:farmId/enterprises',
|
|
@@ -2441,7 +2441,7 @@ export declare const farmsRouter: {
|
|
|
2441
2441
|
body: z.ZodObject<{
|
|
2442
2442
|
data: z.ZodObject<{
|
|
2443
2443
|
type: z.ZodLiteral<"farm-onboarding">;
|
|
2444
|
-
attributes: z.ZodObject<{
|
|
2444
|
+
attributes: z.ZodEffects<z.ZodObject<{
|
|
2445
2445
|
name: z.ZodString;
|
|
2446
2446
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2447
2447
|
location: z.ZodObject<{
|
|
@@ -2470,7 +2470,7 @@ export declare const farmsRouter: {
|
|
|
2470
2470
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2471
2471
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2472
2472
|
}>;
|
|
2473
|
-
firstField: z.ZodObject<{
|
|
2473
|
+
firstField: z.ZodOptional<z.ZodObject<{
|
|
2474
2474
|
name: z.ZodString;
|
|
2475
2475
|
crop: z.ZodString;
|
|
2476
2476
|
geometry: z.ZodObject<{
|
|
@@ -2497,7 +2497,8 @@ export declare const farmsRouter: {
|
|
|
2497
2497
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2498
2498
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2499
2499
|
};
|
|
2500
|
-
}
|
|
2500
|
+
}>>;
|
|
2501
|
+
enterprises: z.ZodOptional<z.ZodArray<z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>, "many">>;
|
|
2501
2502
|
currency: z.ZodOptional<z.ZodEnum<["NGN", "USD", "GHS", "KES", "CAD", "AED", "GBP", "EUR"]>>;
|
|
2502
2503
|
}, "strip", z.ZodTypeAny, {
|
|
2503
2504
|
name: string;
|
|
@@ -2512,17 +2513,42 @@ export declare const farmsRouter: {
|
|
|
2512
2513
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2513
2514
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2514
2515
|
};
|
|
2515
|
-
|
|
2516
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2517
|
+
firstField?: {
|
|
2516
2518
|
name: string;
|
|
2517
2519
|
crop: string;
|
|
2518
2520
|
geometry: {
|
|
2519
2521
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2520
2522
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2521
2523
|
};
|
|
2524
|
+
} | undefined;
|
|
2525
|
+
enterprises?: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[] | undefined;
|
|
2526
|
+
}, {
|
|
2527
|
+
name: string;
|
|
2528
|
+
location: {
|
|
2529
|
+
state: string;
|
|
2530
|
+
lat: number;
|
|
2531
|
+
lng: number;
|
|
2532
|
+
lga: string;
|
|
2533
|
+
};
|
|
2534
|
+
boundary: {
|
|
2535
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2536
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2522
2537
|
};
|
|
2538
|
+
countryCode?: string | undefined;
|
|
2523
2539
|
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2524
|
-
|
|
2540
|
+
firstField?: {
|
|
2541
|
+
name: string;
|
|
2542
|
+
crop: string;
|
|
2543
|
+
geometry: {
|
|
2544
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2545
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2546
|
+
};
|
|
2547
|
+
} | undefined;
|
|
2548
|
+
enterprises?: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[] | undefined;
|
|
2549
|
+
}>, {
|
|
2525
2550
|
name: string;
|
|
2551
|
+
countryCode: string;
|
|
2526
2552
|
location: {
|
|
2527
2553
|
state: string;
|
|
2528
2554
|
lat: number;
|
|
@@ -2533,16 +2559,39 @@ export declare const farmsRouter: {
|
|
|
2533
2559
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2534
2560
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2535
2561
|
};
|
|
2536
|
-
|
|
2562
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2563
|
+
firstField?: {
|
|
2537
2564
|
name: string;
|
|
2538
2565
|
crop: string;
|
|
2539
2566
|
geometry: {
|
|
2540
2567
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2541
2568
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2542
2569
|
};
|
|
2570
|
+
} | undefined;
|
|
2571
|
+
enterprises?: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[] | undefined;
|
|
2572
|
+
}, {
|
|
2573
|
+
name: string;
|
|
2574
|
+
location: {
|
|
2575
|
+
state: string;
|
|
2576
|
+
lat: number;
|
|
2577
|
+
lng: number;
|
|
2578
|
+
lga: string;
|
|
2579
|
+
};
|
|
2580
|
+
boundary: {
|
|
2581
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2582
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2543
2583
|
};
|
|
2544
2584
|
countryCode?: string | undefined;
|
|
2545
2585
|
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2586
|
+
firstField?: {
|
|
2587
|
+
name: string;
|
|
2588
|
+
crop: string;
|
|
2589
|
+
geometry: {
|
|
2590
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2591
|
+
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2592
|
+
};
|
|
2593
|
+
} | undefined;
|
|
2594
|
+
enterprises?: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[] | undefined;
|
|
2546
2595
|
}>;
|
|
2547
2596
|
}, "strip", z.ZodTypeAny, {
|
|
2548
2597
|
type: "farm-onboarding";
|
|
@@ -2559,15 +2608,16 @@ export declare const farmsRouter: {
|
|
|
2559
2608
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2560
2609
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2561
2610
|
};
|
|
2562
|
-
|
|
2611
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2612
|
+
firstField?: {
|
|
2563
2613
|
name: string;
|
|
2564
2614
|
crop: string;
|
|
2565
2615
|
geometry: {
|
|
2566
2616
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2567
2617
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2568
2618
|
};
|
|
2569
|
-
};
|
|
2570
|
-
|
|
2619
|
+
} | undefined;
|
|
2620
|
+
enterprises?: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[] | undefined;
|
|
2571
2621
|
};
|
|
2572
2622
|
}, {
|
|
2573
2623
|
type: "farm-onboarding";
|
|
@@ -2583,16 +2633,17 @@ export declare const farmsRouter: {
|
|
|
2583
2633
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2584
2634
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2585
2635
|
};
|
|
2586
|
-
|
|
2636
|
+
countryCode?: string | undefined;
|
|
2637
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2638
|
+
firstField?: {
|
|
2587
2639
|
name: string;
|
|
2588
2640
|
crop: string;
|
|
2589
2641
|
geometry: {
|
|
2590
2642
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2591
2643
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2592
2644
|
};
|
|
2593
|
-
};
|
|
2594
|
-
|
|
2595
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2645
|
+
} | undefined;
|
|
2646
|
+
enterprises?: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[] | undefined;
|
|
2596
2647
|
};
|
|
2597
2648
|
}>;
|
|
2598
2649
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2611,15 +2662,16 @@ export declare const farmsRouter: {
|
|
|
2611
2662
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2612
2663
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2613
2664
|
};
|
|
2614
|
-
|
|
2665
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2666
|
+
firstField?: {
|
|
2615
2667
|
name: string;
|
|
2616
2668
|
crop: string;
|
|
2617
2669
|
geometry: {
|
|
2618
2670
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2619
2671
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2620
2672
|
};
|
|
2621
|
-
};
|
|
2622
|
-
|
|
2673
|
+
} | undefined;
|
|
2674
|
+
enterprises?: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[] | undefined;
|
|
2623
2675
|
};
|
|
2624
2676
|
};
|
|
2625
2677
|
}, {
|
|
@@ -2637,16 +2689,17 @@ export declare const farmsRouter: {
|
|
|
2637
2689
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2638
2690
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2639
2691
|
};
|
|
2640
|
-
|
|
2692
|
+
countryCode?: string | undefined;
|
|
2693
|
+
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2694
|
+
firstField?: {
|
|
2641
2695
|
name: string;
|
|
2642
2696
|
crop: string;
|
|
2643
2697
|
geometry: {
|
|
2644
2698
|
type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
|
|
2645
2699
|
coordinates: number[] | number[][] | number[][][] | number[][][][];
|
|
2646
2700
|
};
|
|
2647
|
-
};
|
|
2648
|
-
|
|
2649
|
-
currency?: "NGN" | "USD" | "GHS" | "KES" | "CAD" | "AED" | "GBP" | "EUR" | undefined;
|
|
2701
|
+
} | undefined;
|
|
2702
|
+
enterprises?: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[] | undefined;
|
|
2650
2703
|
};
|
|
2651
2704
|
};
|
|
2652
2705
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farms.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farms.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"farms.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farms.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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