@deepintel-ltd/farmpro-contracts 1.22.4 → 1.23.1
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 +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/routes/categories.routes.d.ts +26 -26
- package/dist/routes/commodity-deals.routes.d.ts +217 -42
- package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
- 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/index.d.ts +9 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +6 -0
- package/dist/routes/invoices.routes.d.ts +210 -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/organization-capabilities.routes.d.ts +1671 -0
- package/dist/routes/organization-capabilities.routes.d.ts.map +1 -0
- package/dist/routes/organization-capabilities.routes.js +74 -0
- 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 +2061 -0
- package/dist/routes/purchase-orders.routes.d.ts.map +1 -0
- package/dist/routes/purchase-orders.routes.js +55 -0
- 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 +3837 -0
- package/dist/routes/trade-cash-events.routes.d.ts.map +1 -0
- package/dist/routes/trade-cash-events.routes.js +126 -0
- package/dist/routes/waybills.routes.d.ts +229 -15
- 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 +116 -18
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +7 -0
- 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 +153 -39
- package/dist/schemas/invoices.schemas.d.ts.map +1 -1
- package/dist/schemas/invoices.schemas.js +8 -2
- package/dist/schemas/notifications.schemas.d.ts +18 -18
- package/dist/schemas/organization-capabilities.schemas.d.ts +355 -0
- package/dist/schemas/organization-capabilities.schemas.d.ts.map +1 -0
- package/dist/schemas/organization-capabilities.schemas.js +19 -0
- 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 +1031 -0
- package/dist/schemas/purchase-orders.schemas.d.ts.map +1 -0
- package/dist/schemas/purchase-orders.schemas.js +49 -0
- 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 +1524 -0
- package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -0
- package/dist/schemas/trade-cash-events.schemas.js +131 -0
- package/dist/schemas/waybills.schemas.d.ts +177 -9
- package/dist/schemas/waybills.schemas.d.ts.map +1 -1
- package/dist/schemas/waybills.schemas.js +9 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waybills.routes.d.ts","sourceRoot":"","sources":["../../src/routes/waybills.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"waybills.routes.d.ts","sourceRoot":"","sources":["../../src/routes/waybills.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGzB,CAAC"}
|
|
@@ -12,7 +12,10 @@ export const waybillsRouter = c.router({
|
|
|
12
12
|
organizationId: z.string().uuid(),
|
|
13
13
|
}),
|
|
14
14
|
query: jsonApiPaginationQuerySchema
|
|
15
|
-
.merge(jsonApiSortQuerySchema)
|
|
15
|
+
.merge(jsonApiSortQuerySchema)
|
|
16
|
+
.extend({
|
|
17
|
+
'filter[commercialIntent]': z.enum(['farm_sale', 'trade']).optional(),
|
|
18
|
+
}),
|
|
16
19
|
responses: {
|
|
17
20
|
200: waybillListResponseSchema,
|
|
18
21
|
401: jsonApiErrorResponseSchema,
|
|
@@ -14,14 +14,14 @@ export declare const categoryAttributesSchema: z.ZodObject<{
|
|
|
14
14
|
createdAt: string;
|
|
15
15
|
updatedAt: string;
|
|
16
16
|
name: string;
|
|
17
|
-
farmId: string | null;
|
|
18
17
|
isDefault: boolean;
|
|
18
|
+
farmId: string | null;
|
|
19
19
|
}, {
|
|
20
20
|
createdAt: string;
|
|
21
21
|
updatedAt: string;
|
|
22
22
|
name: string;
|
|
23
|
-
farmId: string | null;
|
|
24
23
|
isDefault: boolean;
|
|
24
|
+
farmId: string | null;
|
|
25
25
|
}>;
|
|
26
26
|
export declare const createCategoryAttributesSchema: z.ZodObject<{
|
|
27
27
|
name: z.ZodString;
|
|
@@ -33,8 +33,8 @@ export declare const createCategoryAttributesSchema: z.ZodObject<{
|
|
|
33
33
|
farmId?: string | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
name: string;
|
|
36
|
-
farmId?: string | undefined;
|
|
37
36
|
isDefault?: boolean | undefined;
|
|
37
|
+
farmId?: string | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export declare const updateCategoryAttributesSchema: z.ZodObject<{
|
|
40
40
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -58,8 +58,8 @@ export declare const createCategorySchema: z.ZodObject<{
|
|
|
58
58
|
farmId?: string | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
name: string;
|
|
61
|
-
farmId?: string | undefined;
|
|
62
61
|
isDefault?: boolean | undefined;
|
|
62
|
+
farmId?: string | undefined;
|
|
63
63
|
}>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
65
|
type: "categories";
|
|
@@ -72,8 +72,8 @@ export declare const createCategorySchema: z.ZodObject<{
|
|
|
72
72
|
type: "categories";
|
|
73
73
|
attributes: {
|
|
74
74
|
name: string;
|
|
75
|
-
farmId?: string | undefined;
|
|
76
75
|
isDefault?: boolean | undefined;
|
|
76
|
+
farmId?: string | undefined;
|
|
77
77
|
};
|
|
78
78
|
}>;
|
|
79
79
|
export declare const updateCategorySchema: z.ZodObject<{
|
|
@@ -118,14 +118,14 @@ export declare const categoryResourceSchema: z.ZodObject<{
|
|
|
118
118
|
createdAt: string;
|
|
119
119
|
updatedAt: string;
|
|
120
120
|
name: string;
|
|
121
|
-
farmId: string | null;
|
|
122
121
|
isDefault: boolean;
|
|
122
|
+
farmId: string | null;
|
|
123
123
|
}, {
|
|
124
124
|
createdAt: string;
|
|
125
125
|
updatedAt: string;
|
|
126
126
|
name: string;
|
|
127
|
-
farmId: string | null;
|
|
128
127
|
isDefault: boolean;
|
|
128
|
+
farmId: string | null;
|
|
129
129
|
}>;
|
|
130
130
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
131
131
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -137,8 +137,8 @@ export declare const categoryResourceSchema: z.ZodObject<{
|
|
|
137
137
|
createdAt: string;
|
|
138
138
|
updatedAt: string;
|
|
139
139
|
name: string;
|
|
140
|
-
farmId: string | null;
|
|
141
140
|
isDefault: boolean;
|
|
141
|
+
farmId: string | null;
|
|
142
142
|
};
|
|
143
143
|
relationships?: Record<string, unknown> | undefined;
|
|
144
144
|
links?: Record<string, string> | undefined;
|
|
@@ -150,8 +150,8 @@ export declare const categoryResourceSchema: z.ZodObject<{
|
|
|
150
150
|
createdAt: string;
|
|
151
151
|
updatedAt: string;
|
|
152
152
|
name: string;
|
|
153
|
-
farmId: string | null;
|
|
154
153
|
isDefault: boolean;
|
|
154
|
+
farmId: string | null;
|
|
155
155
|
};
|
|
156
156
|
relationships?: Record<string, unknown> | undefined;
|
|
157
157
|
links?: Record<string, string> | undefined;
|
|
@@ -172,14 +172,14 @@ export declare const categoryResponseSchema: z.ZodObject<{
|
|
|
172
172
|
createdAt: string;
|
|
173
173
|
updatedAt: string;
|
|
174
174
|
name: string;
|
|
175
|
-
farmId: string | null;
|
|
176
175
|
isDefault: boolean;
|
|
176
|
+
farmId: string | null;
|
|
177
177
|
}, {
|
|
178
178
|
createdAt: string;
|
|
179
179
|
updatedAt: string;
|
|
180
180
|
name: string;
|
|
181
|
-
farmId: string | null;
|
|
182
181
|
isDefault: boolean;
|
|
182
|
+
farmId: string | null;
|
|
183
183
|
}>;
|
|
184
184
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
185
185
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -191,8 +191,8 @@ export declare const categoryResponseSchema: z.ZodObject<{
|
|
|
191
191
|
createdAt: string;
|
|
192
192
|
updatedAt: string;
|
|
193
193
|
name: string;
|
|
194
|
-
farmId: string | null;
|
|
195
194
|
isDefault: boolean;
|
|
195
|
+
farmId: string | null;
|
|
196
196
|
};
|
|
197
197
|
relationships?: Record<string, unknown> | undefined;
|
|
198
198
|
links?: Record<string, string> | undefined;
|
|
@@ -204,8 +204,8 @@ export declare const categoryResponseSchema: z.ZodObject<{
|
|
|
204
204
|
createdAt: string;
|
|
205
205
|
updatedAt: string;
|
|
206
206
|
name: string;
|
|
207
|
-
farmId: string | null;
|
|
208
207
|
isDefault: boolean;
|
|
208
|
+
farmId: string | null;
|
|
209
209
|
};
|
|
210
210
|
relationships?: Record<string, unknown> | undefined;
|
|
211
211
|
links?: Record<string, string> | undefined;
|
|
@@ -243,8 +243,8 @@ export declare const categoryResponseSchema: z.ZodObject<{
|
|
|
243
243
|
createdAt: string;
|
|
244
244
|
updatedAt: string;
|
|
245
245
|
name: string;
|
|
246
|
-
farmId: string | null;
|
|
247
246
|
isDefault: boolean;
|
|
247
|
+
farmId: string | null;
|
|
248
248
|
};
|
|
249
249
|
relationships?: Record<string, unknown> | undefined;
|
|
250
250
|
links?: Record<string, string> | undefined;
|
|
@@ -268,8 +268,8 @@ export declare const categoryResponseSchema: z.ZodObject<{
|
|
|
268
268
|
createdAt: string;
|
|
269
269
|
updatedAt: string;
|
|
270
270
|
name: string;
|
|
271
|
-
farmId: string | null;
|
|
272
271
|
isDefault: boolean;
|
|
272
|
+
farmId: string | null;
|
|
273
273
|
};
|
|
274
274
|
relationships?: Record<string, unknown> | undefined;
|
|
275
275
|
links?: Record<string, string> | undefined;
|
|
@@ -301,14 +301,14 @@ export declare const categoryListResponseSchema: z.ZodObject<{
|
|
|
301
301
|
createdAt: string;
|
|
302
302
|
updatedAt: string;
|
|
303
303
|
name: string;
|
|
304
|
-
farmId: string | null;
|
|
305
304
|
isDefault: boolean;
|
|
305
|
+
farmId: string | null;
|
|
306
306
|
}, {
|
|
307
307
|
createdAt: string;
|
|
308
308
|
updatedAt: string;
|
|
309
309
|
name: string;
|
|
310
|
-
farmId: string | null;
|
|
311
310
|
isDefault: boolean;
|
|
311
|
+
farmId: string | null;
|
|
312
312
|
}>;
|
|
313
313
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
314
314
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -320,8 +320,8 @@ export declare const categoryListResponseSchema: z.ZodObject<{
|
|
|
320
320
|
createdAt: string;
|
|
321
321
|
updatedAt: string;
|
|
322
322
|
name: string;
|
|
323
|
-
farmId: string | null;
|
|
324
323
|
isDefault: boolean;
|
|
324
|
+
farmId: string | null;
|
|
325
325
|
};
|
|
326
326
|
relationships?: Record<string, unknown> | undefined;
|
|
327
327
|
links?: Record<string, string> | undefined;
|
|
@@ -333,8 +333,8 @@ export declare const categoryListResponseSchema: z.ZodObject<{
|
|
|
333
333
|
createdAt: string;
|
|
334
334
|
updatedAt: string;
|
|
335
335
|
name: string;
|
|
336
|
-
farmId: string | null;
|
|
337
336
|
isDefault: boolean;
|
|
337
|
+
farmId: string | null;
|
|
338
338
|
};
|
|
339
339
|
relationships?: Record<string, unknown> | undefined;
|
|
340
340
|
links?: Record<string, string> | undefined;
|
|
@@ -372,8 +372,8 @@ export declare const categoryListResponseSchema: z.ZodObject<{
|
|
|
372
372
|
createdAt: string;
|
|
373
373
|
updatedAt: string;
|
|
374
374
|
name: string;
|
|
375
|
-
farmId: string | null;
|
|
376
375
|
isDefault: boolean;
|
|
376
|
+
farmId: string | null;
|
|
377
377
|
};
|
|
378
378
|
relationships?: Record<string, unknown> | undefined;
|
|
379
379
|
links?: Record<string, string> | undefined;
|
|
@@ -397,8 +397,8 @@ export declare const categoryListResponseSchema: z.ZodObject<{
|
|
|
397
397
|
createdAt: string;
|
|
398
398
|
updatedAt: string;
|
|
399
399
|
name: string;
|
|
400
|
-
farmId: string | null;
|
|
401
400
|
isDefault: boolean;
|
|
401
|
+
farmId: string | null;
|
|
402
402
|
};
|
|
403
403
|
relationships?: Record<string, unknown> | undefined;
|
|
404
404
|
links?: Record<string, string> | undefined;
|