@deepintel-ltd/farmpro-contracts 1.23.0 → 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/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
|
@@ -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;
|
|
@@ -187,12 +187,12 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
|
|
|
187
187
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
188
188
|
createdAt: string;
|
|
189
189
|
updatedAt: string;
|
|
190
|
+
organizationId: string;
|
|
190
191
|
currency: string;
|
|
191
192
|
notes: string | null;
|
|
192
193
|
invoiceId: string | null;
|
|
193
194
|
buyerName: string | null;
|
|
194
195
|
transportCost: number;
|
|
195
|
-
organizationId: string;
|
|
196
196
|
waybillNumber: string | null;
|
|
197
197
|
purchaseCost: number;
|
|
198
198
|
storageCost: number;
|
|
@@ -238,11 +238,11 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
|
|
|
238
238
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
239
239
|
createdAt: string;
|
|
240
240
|
updatedAt: string;
|
|
241
|
+
organizationId: string;
|
|
241
242
|
notes: string | null;
|
|
242
243
|
invoiceId: string | null;
|
|
243
244
|
buyerName: string | null;
|
|
244
245
|
transportCost: number;
|
|
245
|
-
organizationId: string;
|
|
246
246
|
waybillNumber: string | null;
|
|
247
247
|
purchaseCost: number;
|
|
248
248
|
miscellaneousCost: number;
|
|
@@ -721,12 +721,12 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
721
721
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
722
722
|
createdAt: string;
|
|
723
723
|
updatedAt: string;
|
|
724
|
+
organizationId: string;
|
|
724
725
|
currency: string;
|
|
725
726
|
notes: string | null;
|
|
726
727
|
invoiceId: string | null;
|
|
727
728
|
buyerName: string | null;
|
|
728
729
|
transportCost: number;
|
|
729
|
-
organizationId: string;
|
|
730
730
|
waybillNumber: string | null;
|
|
731
731
|
purchaseCost: number;
|
|
732
732
|
storageCost: number;
|
|
@@ -772,11 +772,11 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
772
772
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
773
773
|
createdAt: string;
|
|
774
774
|
updatedAt: string;
|
|
775
|
+
organizationId: string;
|
|
775
776
|
notes: string | null;
|
|
776
777
|
invoiceId: string | null;
|
|
777
778
|
buyerName: string | null;
|
|
778
779
|
transportCost: number;
|
|
779
|
-
organizationId: string;
|
|
780
780
|
waybillNumber: string | null;
|
|
781
781
|
purchaseCost: number;
|
|
782
782
|
miscellaneousCost: number;
|
|
@@ -830,12 +830,12 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
830
830
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
831
831
|
createdAt: string;
|
|
832
832
|
updatedAt: string;
|
|
833
|
+
organizationId: string;
|
|
833
834
|
currency: string;
|
|
834
835
|
notes: string | null;
|
|
835
836
|
invoiceId: string | null;
|
|
836
837
|
buyerName: string | null;
|
|
837
838
|
transportCost: number;
|
|
838
|
-
organizationId: string;
|
|
839
839
|
waybillNumber: string | null;
|
|
840
840
|
purchaseCost: number;
|
|
841
841
|
storageCost: number;
|
|
@@ -888,11 +888,11 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
888
888
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
889
889
|
createdAt: string;
|
|
890
890
|
updatedAt: string;
|
|
891
|
+
organizationId: string;
|
|
891
892
|
notes: string | null;
|
|
892
893
|
invoiceId: string | null;
|
|
893
894
|
buyerName: string | null;
|
|
894
895
|
transportCost: number;
|
|
895
|
-
organizationId: string;
|
|
896
896
|
waybillNumber: string | null;
|
|
897
897
|
purchaseCost: number;
|
|
898
898
|
miscellaneousCost: number;
|
|
@@ -1052,12 +1052,12 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1052
1052
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1053
1053
|
createdAt: string;
|
|
1054
1054
|
updatedAt: string;
|
|
1055
|
+
organizationId: string;
|
|
1055
1056
|
currency: string;
|
|
1056
1057
|
notes: string | null;
|
|
1057
1058
|
invoiceId: string | null;
|
|
1058
1059
|
buyerName: string | null;
|
|
1059
1060
|
transportCost: number;
|
|
1060
|
-
organizationId: string;
|
|
1061
1061
|
waybillNumber: string | null;
|
|
1062
1062
|
purchaseCost: number;
|
|
1063
1063
|
storageCost: number;
|
|
@@ -1103,11 +1103,11 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1103
1103
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1104
1104
|
createdAt: string;
|
|
1105
1105
|
updatedAt: string;
|
|
1106
|
+
organizationId: string;
|
|
1106
1107
|
notes: string | null;
|
|
1107
1108
|
invoiceId: string | null;
|
|
1108
1109
|
buyerName: string | null;
|
|
1109
1110
|
transportCost: number;
|
|
1110
|
-
organizationId: string;
|
|
1111
1111
|
waybillNumber: string | null;
|
|
1112
1112
|
purchaseCost: number;
|
|
1113
1113
|
miscellaneousCost: number;
|
|
@@ -1161,12 +1161,12 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1161
1161
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1162
1162
|
createdAt: string;
|
|
1163
1163
|
updatedAt: string;
|
|
1164
|
+
organizationId: string;
|
|
1164
1165
|
currency: string;
|
|
1165
1166
|
notes: string | null;
|
|
1166
1167
|
invoiceId: string | null;
|
|
1167
1168
|
buyerName: string | null;
|
|
1168
1169
|
transportCost: number;
|
|
1169
|
-
organizationId: string;
|
|
1170
1170
|
waybillNumber: string | null;
|
|
1171
1171
|
purchaseCost: number;
|
|
1172
1172
|
storageCost: number;
|
|
@@ -1219,11 +1219,11 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1219
1219
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1220
1220
|
createdAt: string;
|
|
1221
1221
|
updatedAt: string;
|
|
1222
|
+
organizationId: string;
|
|
1222
1223
|
notes: string | null;
|
|
1223
1224
|
invoiceId: string | null;
|
|
1224
1225
|
buyerName: string | null;
|
|
1225
1226
|
transportCost: number;
|
|
1226
|
-
organizationId: string;
|
|
1227
1227
|
waybillNumber: string | null;
|
|
1228
1228
|
purchaseCost: number;
|
|
1229
1229
|
miscellaneousCost: number;
|
|
@@ -1303,12 +1303,12 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1303
1303
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1304
1304
|
createdAt: string;
|
|
1305
1305
|
updatedAt: string;
|
|
1306
|
+
organizationId: string;
|
|
1306
1307
|
currency: string;
|
|
1307
1308
|
notes: string | null;
|
|
1308
1309
|
invoiceId: string | null;
|
|
1309
1310
|
buyerName: string | null;
|
|
1310
1311
|
transportCost: number;
|
|
1311
|
-
organizationId: string;
|
|
1312
1312
|
waybillNumber: string | null;
|
|
1313
1313
|
purchaseCost: number;
|
|
1314
1314
|
storageCost: number;
|
|
@@ -1373,11 +1373,11 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1373
1373
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1374
1374
|
createdAt: string;
|
|
1375
1375
|
updatedAt: string;
|
|
1376
|
+
organizationId: string;
|
|
1376
1377
|
notes: string | null;
|
|
1377
1378
|
invoiceId: string | null;
|
|
1378
1379
|
buyerName: string | null;
|
|
1379
1380
|
transportCost: number;
|
|
1380
|
-
organizationId: string;
|
|
1381
1381
|
waybillNumber: string | null;
|
|
1382
1382
|
purchaseCost: number;
|
|
1383
1383
|
miscellaneousCost: number;
|
|
@@ -1548,12 +1548,12 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1548
1548
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1549
1549
|
createdAt: string;
|
|
1550
1550
|
updatedAt: string;
|
|
1551
|
+
organizationId: string;
|
|
1551
1552
|
currency: string;
|
|
1552
1553
|
notes: string | null;
|
|
1553
1554
|
invoiceId: string | null;
|
|
1554
1555
|
buyerName: string | null;
|
|
1555
1556
|
transportCost: number;
|
|
1556
|
-
organizationId: string;
|
|
1557
1557
|
waybillNumber: string | null;
|
|
1558
1558
|
purchaseCost: number;
|
|
1559
1559
|
storageCost: number;
|
|
@@ -1599,11 +1599,11 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1599
1599
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1600
1600
|
createdAt: string;
|
|
1601
1601
|
updatedAt: string;
|
|
1602
|
+
organizationId: string;
|
|
1602
1603
|
notes: string | null;
|
|
1603
1604
|
invoiceId: string | null;
|
|
1604
1605
|
buyerName: string | null;
|
|
1605
1606
|
transportCost: number;
|
|
1606
|
-
organizationId: string;
|
|
1607
1607
|
waybillNumber: string | null;
|
|
1608
1608
|
purchaseCost: number;
|
|
1609
1609
|
miscellaneousCost: number;
|
|
@@ -1657,12 +1657,12 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1657
1657
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1658
1658
|
createdAt: string;
|
|
1659
1659
|
updatedAt: string;
|
|
1660
|
+
organizationId: string;
|
|
1660
1661
|
currency: string;
|
|
1661
1662
|
notes: string | null;
|
|
1662
1663
|
invoiceId: string | null;
|
|
1663
1664
|
buyerName: string | null;
|
|
1664
1665
|
transportCost: number;
|
|
1665
|
-
organizationId: string;
|
|
1666
1666
|
waybillNumber: string | null;
|
|
1667
1667
|
purchaseCost: number;
|
|
1668
1668
|
storageCost: number;
|
|
@@ -1715,11 +1715,11 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1715
1715
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1716
1716
|
createdAt: string;
|
|
1717
1717
|
updatedAt: string;
|
|
1718
|
+
organizationId: string;
|
|
1718
1719
|
notes: string | null;
|
|
1719
1720
|
invoiceId: string | null;
|
|
1720
1721
|
buyerName: string | null;
|
|
1721
1722
|
transportCost: number;
|
|
1722
|
-
organizationId: string;
|
|
1723
1723
|
waybillNumber: string | null;
|
|
1724
1724
|
purchaseCost: number;
|
|
1725
1725
|
miscellaneousCost: number;
|
|
@@ -1799,12 +1799,12 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1799
1799
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1800
1800
|
createdAt: string;
|
|
1801
1801
|
updatedAt: string;
|
|
1802
|
+
organizationId: string;
|
|
1802
1803
|
currency: string;
|
|
1803
1804
|
notes: string | null;
|
|
1804
1805
|
invoiceId: string | null;
|
|
1805
1806
|
buyerName: string | null;
|
|
1806
1807
|
transportCost: number;
|
|
1807
|
-
organizationId: string;
|
|
1808
1808
|
waybillNumber: string | null;
|
|
1809
1809
|
purchaseCost: number;
|
|
1810
1810
|
storageCost: number;
|
|
@@ -1869,11 +1869,11 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1869
1869
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
1870
1870
|
createdAt: string;
|
|
1871
1871
|
updatedAt: string;
|
|
1872
|
+
organizationId: string;
|
|
1872
1873
|
notes: string | null;
|
|
1873
1874
|
invoiceId: string | null;
|
|
1874
1875
|
buyerName: string | null;
|
|
1875
1876
|
transportCost: number;
|
|
1876
|
-
organizationId: string;
|
|
1877
1877
|
waybillNumber: string | null;
|
|
1878
1878
|
purchaseCost: number;
|
|
1879
1879
|
miscellaneousCost: number;
|
|
@@ -103,9 +103,9 @@ export declare const enhancedAlertConfigSchema: z.ZodObject<{
|
|
|
103
103
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
105
|
message: string;
|
|
106
|
+
enabled: boolean;
|
|
106
107
|
condition: string;
|
|
107
108
|
actions: string[];
|
|
108
|
-
enabled: boolean;
|
|
109
109
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
110
110
|
durationDays?: number | undefined;
|
|
111
111
|
conditionType?: "below_critical" | "below_warning" | "rapid_decline" | "sustained_stress" | "above_excessive" | undefined;
|
|
@@ -113,10 +113,10 @@ export declare const enhancedAlertConfigSchema: z.ZodObject<{
|
|
|
113
113
|
message: string;
|
|
114
114
|
condition: string;
|
|
115
115
|
actions: string[];
|
|
116
|
+
enabled?: boolean | undefined;
|
|
116
117
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
117
118
|
durationDays?: number | undefined;
|
|
118
119
|
conditionType?: "below_critical" | "below_warning" | "rapid_decline" | "sustained_stress" | "above_excessive" | undefined;
|
|
119
|
-
enabled?: boolean | undefined;
|
|
120
120
|
}>;
|
|
121
121
|
export declare const cropProfileSchema: z.ZodObject<{
|
|
122
122
|
id: z.ZodString;
|
|
@@ -170,13 +170,13 @@ export declare const cropProfileSchema: z.ZodObject<{
|
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
171
|
id: string;
|
|
172
172
|
source: string | null;
|
|
173
|
+
isDefault: boolean;
|
|
173
174
|
alerts: {
|
|
174
175
|
message: string;
|
|
175
176
|
condition: string;
|
|
176
177
|
actions: string[];
|
|
177
178
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
178
179
|
}[] | null;
|
|
179
|
-
isDefault: boolean;
|
|
180
180
|
cropVariety: string | null;
|
|
181
181
|
cropType: string;
|
|
182
182
|
stages: {
|
|
@@ -193,13 +193,13 @@ export declare const cropProfileSchema: z.ZodObject<{
|
|
|
193
193
|
}, {
|
|
194
194
|
id: string;
|
|
195
195
|
source: string | null;
|
|
196
|
+
isDefault: boolean;
|
|
196
197
|
alerts: {
|
|
197
198
|
message: string;
|
|
198
199
|
condition: string;
|
|
199
200
|
actions: string[];
|
|
200
201
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
201
202
|
}[] | null;
|
|
202
|
-
isDefault: boolean;
|
|
203
203
|
cropVariety: string | null;
|
|
204
204
|
cropType: string;
|
|
205
205
|
stages: {
|
|
@@ -266,13 +266,13 @@ export declare const cropProfileListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
id: string;
|
|
268
268
|
source: string | null;
|
|
269
|
+
isDefault: boolean;
|
|
269
270
|
alerts: {
|
|
270
271
|
message: string;
|
|
271
272
|
condition: string;
|
|
272
273
|
actions: string[];
|
|
273
274
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
274
275
|
}[] | null;
|
|
275
|
-
isDefault: boolean;
|
|
276
276
|
cropVariety: string | null;
|
|
277
277
|
cropType: string;
|
|
278
278
|
stages: {
|
|
@@ -289,13 +289,13 @@ export declare const cropProfileListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
289
289
|
}, {
|
|
290
290
|
id: string;
|
|
291
291
|
source: string | null;
|
|
292
|
+
isDefault: boolean;
|
|
292
293
|
alerts: {
|
|
293
294
|
message: string;
|
|
294
295
|
condition: string;
|
|
295
296
|
actions: string[];
|
|
296
297
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
297
298
|
}[] | null;
|
|
298
|
-
isDefault: boolean;
|
|
299
299
|
cropVariety: string | null;
|
|
300
300
|
cropType: string;
|
|
301
301
|
stages: {
|
|
@@ -362,13 +362,13 @@ export declare const cropProfileResponseSchema: z.ZodObject<{
|
|
|
362
362
|
}, "strip", z.ZodTypeAny, {
|
|
363
363
|
id: string;
|
|
364
364
|
source: string | null;
|
|
365
|
+
isDefault: boolean;
|
|
365
366
|
alerts: {
|
|
366
367
|
message: string;
|
|
367
368
|
condition: string;
|
|
368
369
|
actions: string[];
|
|
369
370
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
370
371
|
}[] | null;
|
|
371
|
-
isDefault: boolean;
|
|
372
372
|
cropVariety: string | null;
|
|
373
373
|
cropType: string;
|
|
374
374
|
stages: {
|
|
@@ -385,13 +385,13 @@ export declare const cropProfileResponseSchema: z.ZodObject<{
|
|
|
385
385
|
}, {
|
|
386
386
|
id: string;
|
|
387
387
|
source: string | null;
|
|
388
|
+
isDefault: boolean;
|
|
388
389
|
alerts: {
|
|
389
390
|
message: string;
|
|
390
391
|
condition: string;
|
|
391
392
|
actions: string[];
|
|
392
393
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
393
394
|
}[] | null;
|
|
394
|
-
isDefault: boolean;
|
|
395
395
|
cropVariety: string | null;
|
|
396
396
|
cropType: string;
|
|
397
397
|
stages: {
|
|
@@ -546,13 +546,13 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
546
546
|
}, "strip", z.ZodTypeAny, {
|
|
547
547
|
id: string;
|
|
548
548
|
source: string | null;
|
|
549
|
+
isDefault: boolean;
|
|
549
550
|
alerts: {
|
|
550
551
|
message: string;
|
|
551
552
|
condition: string;
|
|
552
553
|
actions: string[];
|
|
553
554
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
554
555
|
}[] | null;
|
|
555
|
-
isDefault: boolean;
|
|
556
556
|
cropVariety: string | null;
|
|
557
557
|
cropType: string;
|
|
558
558
|
stages: {
|
|
@@ -569,13 +569,13 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
569
569
|
}, {
|
|
570
570
|
id: string;
|
|
571
571
|
source: string | null;
|
|
572
|
+
isDefault: boolean;
|
|
572
573
|
alerts: {
|
|
573
574
|
message: string;
|
|
574
575
|
condition: string;
|
|
575
576
|
actions: string[];
|
|
576
577
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
577
578
|
}[] | null;
|
|
578
|
-
isDefault: boolean;
|
|
579
579
|
cropVariety: string | null;
|
|
580
580
|
cropType: string;
|
|
581
581
|
stages: {
|
|
@@ -684,13 +684,13 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
684
684
|
cropProfile: {
|
|
685
685
|
id: string;
|
|
686
686
|
source: string | null;
|
|
687
|
+
isDefault: boolean;
|
|
687
688
|
alerts: {
|
|
688
689
|
message: string;
|
|
689
690
|
condition: string;
|
|
690
691
|
actions: string[];
|
|
691
692
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
692
693
|
}[] | null;
|
|
693
|
-
isDefault: boolean;
|
|
694
694
|
cropVariety: string | null;
|
|
695
695
|
cropType: string;
|
|
696
696
|
stages: {
|
|
@@ -736,13 +736,13 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
736
736
|
cropProfile: {
|
|
737
737
|
id: string;
|
|
738
738
|
source: string | null;
|
|
739
|
+
isDefault: boolean;
|
|
739
740
|
alerts: {
|
|
740
741
|
message: string;
|
|
741
742
|
condition: string;
|
|
742
743
|
actions: string[];
|
|
743
744
|
severity?: "critical" | "warning" | "info" | undefined;
|
|
744
745
|
}[] | null;
|
|
745
|
-
isDefault: boolean;
|
|
746
746
|
cropVariety: string | null;
|
|
747
747
|
cropType: string;
|
|
748
748
|
stages: {
|