@deepintel-ltd/farmpro-contracts 1.11.7 → 1.11.9

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.
Files changed (46) hide show
  1. package/dist/index.d.ts +5 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +4 -0
  4. package/dist/routes/agents.routes.d.ts +142 -0
  5. package/dist/routes/agents.routes.d.ts.map +1 -1
  6. package/dist/routes/equipment.routes.d.ts +36 -36
  7. package/dist/routes/extension.routes.d.ts +12 -12
  8. package/dist/routes/farm-updates.routes.d.ts +5445 -0
  9. package/dist/routes/farm-updates.routes.d.ts.map +1 -0
  10. package/dist/routes/farm-updates.routes.js +149 -0
  11. package/dist/routes/fertigation.routes.d.ts +156 -156
  12. package/dist/routes/field-activities.routes.d.ts +2397 -0
  13. package/dist/routes/field-activities.routes.d.ts.map +1 -0
  14. package/dist/routes/field-activities.routes.js +81 -0
  15. package/dist/routes/fields.routes.d.ts +860 -0
  16. package/dist/routes/fields.routes.d.ts.map +1 -1
  17. package/dist/routes/fields.routes.js +20 -1
  18. package/dist/routes/index.d.ts +6 -0
  19. package/dist/routes/index.d.ts.map +1 -1
  20. package/dist/routes/index.js +4 -0
  21. package/dist/routes/irrigation.routes.d.ts +20 -20
  22. package/dist/routes/livestock-groups.routes.d.ts +36 -36
  23. package/dist/routes/livestock.routes.d.ts +30 -30
  24. package/dist/routes/soil-tests.routes.d.ts +36 -36
  25. package/dist/routes/tasks.routes.d.ts +120 -120
  26. package/dist/schemas/agents.schemas.d.ts +163 -0
  27. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  28. package/dist/schemas/agents.schemas.js +23 -0
  29. package/dist/schemas/equipment.schemas.d.ts +30 -30
  30. package/dist/schemas/extension.schemas.d.ts +18 -18
  31. package/dist/schemas/farm-updates.schemas.d.ts +3595 -0
  32. package/dist/schemas/farm-updates.schemas.d.ts.map +1 -0
  33. package/dist/schemas/farm-updates.schemas.js +91 -0
  34. package/dist/schemas/fertigation.schemas.d.ts +42 -42
  35. package/dist/schemas/field-activities.schemas.d.ts +806 -0
  36. package/dist/schemas/field-activities.schemas.d.ts.map +1 -0
  37. package/dist/schemas/field-activities.schemas.js +68 -0
  38. package/dist/schemas/fields.schemas.d.ts +173 -0
  39. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  40. package/dist/schemas/fields.schemas.js +14 -0
  41. package/dist/schemas/irrigation.schemas.d.ts +14 -14
  42. package/dist/schemas/livestock-groups.schemas.d.ts +24 -24
  43. package/dist/schemas/livestock.schemas.d.ts +24 -24
  44. package/dist/schemas/soil-tests.schemas.d.ts +34 -34
  45. package/dist/schemas/tasks.schemas.d.ts +96 -96
  46. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-activities.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/field-activities.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,uBAAuB,sCAAoC,CAAC;AACzE,eAAO,MAAM,yBAAyB,4CAA0C,CAAC;AAEjF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBhB,CAAC;AAE3B,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB5C,CAAC;AAEL,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9C,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAC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,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
@@ -0,0 +1,68 @@
1
+ import { z } from 'zod';
2
+ import { timestampsSchema, createJsonApiResourceSchema, jsonApiSingleResponseSchema, jsonApiCollectionResponseSchema, } from './common.schemas';
3
+ export const fieldActivityTypeSchema = z.enum(['weeding', 'fertilizer']);
4
+ export const fieldActivitySourceSchema = z.enum(['manual', 'agent', 'whatsapp']);
5
+ export const fieldActivityAttributesSchema = z
6
+ .object({
7
+ fieldId: z.string().uuid(),
8
+ fieldName: z.string().optional(),
9
+ type: fieldActivityTypeSchema,
10
+ occurredAt: z.string().datetime(),
11
+ method: z.string().nullable(),
12
+ productName: z.string().nullable(),
13
+ fertilizerProductId: z.string().uuid().nullable(),
14
+ inventoryItemId: z.string().uuid().nullable(),
15
+ quantity: z.number().nullable(),
16
+ unit: z.string().nullable(),
17
+ notes: z.string().nullable(),
18
+ createdById: z.string().uuid().nullable(),
19
+ source: fieldActivitySourceSchema,
20
+ })
21
+ .merge(timestampsSchema);
22
+ export const createFieldActivityAttributesSchema = z
23
+ .object({
24
+ fieldId: z.string().uuid(),
25
+ type: fieldActivityTypeSchema,
26
+ occurredAt: z.string().datetime(),
27
+ method: z.string().max(100).optional(),
28
+ productName: z.string().max(200).optional(),
29
+ fertilizerProductId: z.string().uuid().optional(),
30
+ inventoryItemId: z.string().uuid().optional(),
31
+ quantity: z.number().positive().optional(),
32
+ unit: z.string().max(50).optional(),
33
+ notes: z.string().optional(),
34
+ source: fieldActivitySourceSchema.optional(),
35
+ })
36
+ .superRefine((data, ctx) => {
37
+ if (data.type === 'fertilizer') {
38
+ if (!data.productName && !data.fertilizerProductId && !data.inventoryItemId) {
39
+ ctx.addIssue({
40
+ code: z.ZodIssueCode.custom,
41
+ message: 'Fertilizer activity requires productName, fertilizerProductId, or inventoryItemId',
42
+ path: ['productName'],
43
+ });
44
+ }
45
+ }
46
+ });
47
+ export const updateFieldActivityAttributesSchema = z.object({
48
+ occurredAt: z.string().datetime().optional(),
49
+ method: z.string().max(100).nullable().optional(),
50
+ productName: z.string().max(200).nullable().optional(),
51
+ fertilizerProductId: z.string().uuid().nullable().optional(),
52
+ inventoryItemId: z.string().uuid().nullable().optional(),
53
+ quantity: z.number().positive().nullable().optional(),
54
+ unit: z.string().max(50).nullable().optional(),
55
+ notes: z.string().nullable().optional(),
56
+ });
57
+ export const createFieldActivitySchema = z.object({
58
+ type: z.literal('field-activities'),
59
+ attributes: createFieldActivityAttributesSchema,
60
+ });
61
+ export const updateFieldActivitySchema = z.object({
62
+ type: z.literal('field-activities'),
63
+ id: z.string().uuid(),
64
+ attributes: updateFieldActivityAttributesSchema,
65
+ });
66
+ export const fieldActivityResourceSchema = createJsonApiResourceSchema('field-activities', fieldActivityAttributesSchema);
67
+ export const fieldActivityResponseSchema = jsonApiSingleResponseSchema(fieldActivityResourceSchema);
68
+ export const fieldActivityListResponseSchema = jsonApiCollectionResponseSchema(fieldActivityResourceSchema);
@@ -232,6 +232,31 @@ export declare const updateFieldAttributesSchema: z.ZodObject<{
232
232
  plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
233
  expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
234
  cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
235
+ cropHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
236
+ id: z.ZodString;
237
+ season: z.ZodString;
238
+ crop: z.ZodString;
239
+ plantingDate: z.ZodString;
240
+ harvestDate: z.ZodNullable<z.ZodString>;
241
+ yield: z.ZodNullable<z.ZodNumber>;
242
+ yieldUnit: z.ZodNullable<z.ZodString>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ id: string;
245
+ crop: string;
246
+ season: string;
247
+ plantingDate: string;
248
+ harvestDate: string | null;
249
+ yield: number | null;
250
+ yieldUnit: string | null;
251
+ }, {
252
+ id: string;
253
+ crop: string;
254
+ season: string;
255
+ plantingDate: string;
256
+ harvestDate: string | null;
257
+ yield: number | null;
258
+ yieldUnit: string | null;
259
+ }>, "many">>;
235
260
  }, "strip", z.ZodTypeAny, {
236
261
  name?: string | undefined;
237
262
  crop?: string | undefined;
@@ -246,6 +271,15 @@ export declare const updateFieldAttributesSchema: z.ZodObject<{
246
271
  soilType?: string | undefined;
247
272
  expectedHarvestDate?: string | null | undefined;
248
273
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
274
+ cropHistory?: {
275
+ id: string;
276
+ crop: string;
277
+ season: string;
278
+ plantingDate: string;
279
+ harvestDate: string | null;
280
+ yield: number | null;
281
+ yieldUnit: string | null;
282
+ }[] | undefined;
249
283
  }, {
250
284
  name?: string | undefined;
251
285
  crop?: string | undefined;
@@ -260,6 +294,82 @@ export declare const updateFieldAttributesSchema: z.ZodObject<{
260
294
  soilType?: string | undefined;
261
295
  expectedHarvestDate?: string | null | undefined;
262
296
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
297
+ cropHistory?: {
298
+ id: string;
299
+ crop: string;
300
+ season: string;
301
+ plantingDate: string;
302
+ harvestDate: string | null;
303
+ yield: number | null;
304
+ yieldUnit: string | null;
305
+ }[] | undefined;
306
+ }>;
307
+ export declare const recordPlantingAttributesSchema: z.ZodObject<{
308
+ plantingDate: z.ZodString;
309
+ currentCrop: z.ZodString;
310
+ expectedHarvestDate: z.ZodOptional<z.ZodString>;
311
+ variety: z.ZodOptional<z.ZodString>;
312
+ notes: z.ZodOptional<z.ZodString>;
313
+ cropStage: z.ZodOptional<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
314
+ }, "strip", z.ZodTypeAny, {
315
+ currentCrop: string;
316
+ plantingDate: string;
317
+ expectedHarvestDate?: string | undefined;
318
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
319
+ variety?: string | undefined;
320
+ notes?: string | undefined;
321
+ }, {
322
+ currentCrop: string;
323
+ plantingDate: string;
324
+ expectedHarvestDate?: string | undefined;
325
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
326
+ variety?: string | undefined;
327
+ notes?: string | undefined;
328
+ }>;
329
+ export declare const recordPlantingSchema: z.ZodObject<{
330
+ type: z.ZodLiteral<"field-plantings">;
331
+ attributes: z.ZodObject<{
332
+ plantingDate: z.ZodString;
333
+ currentCrop: z.ZodString;
334
+ expectedHarvestDate: z.ZodOptional<z.ZodString>;
335
+ variety: z.ZodOptional<z.ZodString>;
336
+ notes: z.ZodOptional<z.ZodString>;
337
+ cropStage: z.ZodOptional<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
338
+ }, "strip", z.ZodTypeAny, {
339
+ currentCrop: string;
340
+ plantingDate: string;
341
+ expectedHarvestDate?: string | undefined;
342
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
343
+ variety?: string | undefined;
344
+ notes?: string | undefined;
345
+ }, {
346
+ currentCrop: string;
347
+ plantingDate: string;
348
+ expectedHarvestDate?: string | undefined;
349
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
350
+ variety?: string | undefined;
351
+ notes?: string | undefined;
352
+ }>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ type: "field-plantings";
355
+ attributes: {
356
+ currentCrop: string;
357
+ plantingDate: string;
358
+ expectedHarvestDate?: string | undefined;
359
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
360
+ variety?: string | undefined;
361
+ notes?: string | undefined;
362
+ };
363
+ }, {
364
+ type: "field-plantings";
365
+ attributes: {
366
+ currentCrop: string;
367
+ plantingDate: string;
368
+ expectedHarvestDate?: string | undefined;
369
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
370
+ variety?: string | undefined;
371
+ notes?: string | undefined;
372
+ };
263
373
  }>;
264
374
  export declare const createFieldSchema: z.ZodObject<{
265
375
  type: z.ZodLiteral<"fields">;
@@ -425,6 +535,31 @@ export declare const updateFieldSchema: z.ZodObject<{
425
535
  plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
536
  expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
427
537
  cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
538
+ cropHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
539
+ id: z.ZodString;
540
+ season: z.ZodString;
541
+ crop: z.ZodString;
542
+ plantingDate: z.ZodString;
543
+ harvestDate: z.ZodNullable<z.ZodString>;
544
+ yield: z.ZodNullable<z.ZodNumber>;
545
+ yieldUnit: z.ZodNullable<z.ZodString>;
546
+ }, "strip", z.ZodTypeAny, {
547
+ id: string;
548
+ crop: string;
549
+ season: string;
550
+ plantingDate: string;
551
+ harvestDate: string | null;
552
+ yield: number | null;
553
+ yieldUnit: string | null;
554
+ }, {
555
+ id: string;
556
+ crop: string;
557
+ season: string;
558
+ plantingDate: string;
559
+ harvestDate: string | null;
560
+ yield: number | null;
561
+ yieldUnit: string | null;
562
+ }>, "many">>;
428
563
  }, "strip", z.ZodTypeAny, {
429
564
  name?: string | undefined;
430
565
  crop?: string | undefined;
@@ -439,6 +574,15 @@ export declare const updateFieldSchema: z.ZodObject<{
439
574
  soilType?: string | undefined;
440
575
  expectedHarvestDate?: string | null | undefined;
441
576
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
577
+ cropHistory?: {
578
+ id: string;
579
+ crop: string;
580
+ season: string;
581
+ plantingDate: string;
582
+ harvestDate: string | null;
583
+ yield: number | null;
584
+ yieldUnit: string | null;
585
+ }[] | undefined;
442
586
  }, {
443
587
  name?: string | undefined;
444
588
  crop?: string | undefined;
@@ -453,6 +597,15 @@ export declare const updateFieldSchema: z.ZodObject<{
453
597
  soilType?: string | undefined;
454
598
  expectedHarvestDate?: string | null | undefined;
455
599
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
600
+ cropHistory?: {
601
+ id: string;
602
+ crop: string;
603
+ season: string;
604
+ plantingDate: string;
605
+ harvestDate: string | null;
606
+ yield: number | null;
607
+ yieldUnit: string | null;
608
+ }[] | undefined;
456
609
  }>;
457
610
  }, "strip", z.ZodTypeAny, {
458
611
  type: "fields";
@@ -471,6 +624,15 @@ export declare const updateFieldSchema: z.ZodObject<{
471
624
  soilType?: string | undefined;
472
625
  expectedHarvestDate?: string | null | undefined;
473
626
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
627
+ cropHistory?: {
628
+ id: string;
629
+ crop: string;
630
+ season: string;
631
+ plantingDate: string;
632
+ harvestDate: string | null;
633
+ yield: number | null;
634
+ yieldUnit: string | null;
635
+ }[] | undefined;
474
636
  };
475
637
  }, {
476
638
  type: "fields";
@@ -489,6 +651,15 @@ export declare const updateFieldSchema: z.ZodObject<{
489
651
  soilType?: string | undefined;
490
652
  expectedHarvestDate?: string | null | undefined;
491
653
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
654
+ cropHistory?: {
655
+ id: string;
656
+ crop: string;
657
+ season: string;
658
+ plantingDate: string;
659
+ harvestDate: string | null;
660
+ yield: number | null;
661
+ yieldUnit: string | null;
662
+ }[] | undefined;
492
663
  };
493
664
  }>;
494
665
  export declare const fieldResourceSchema: z.ZodObject<{
@@ -2507,4 +2678,6 @@ export type FieldDetailResource = z.infer<typeof fieldDetailResourceSchema>;
2507
2678
  export type FieldResponse = z.infer<typeof fieldResponseSchema>;
2508
2679
  export type FieldDetailResponse = z.infer<typeof fieldDetailResponseSchema>;
2509
2680
  export type FieldListResponse = z.infer<typeof fieldListResponseSchema>;
2681
+ export type RecordPlantingAttributes = z.infer<typeof recordPlantingAttributesSchema>;
2682
+ export type RecordPlantingInput = z.infer<typeof recordPlantingSchema>;
2510
2683
  //# sourceMappingURL=fields.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/fields.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;GAEG;AAGH,eAAO,MAAM,iBAAiB,wCAAsC,CAAC;AAGrE,eAAO,MAAM,eAAe,uEAAqE,CAAC;AAGlG,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAGH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EAQjC,CAAC;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBR,CAAC;AAG3B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYtC,CAAC;AAGH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQpC,CAAC;AAGL,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW5B,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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mB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -64,6 +64,20 @@ export const updateFieldAttributesSchema = createFieldAttributesSchema
64
64
  plantingDate: z.string().datetime().nullable().optional(),
65
65
  expectedHarvestDate: z.string().datetime().nullable().optional(),
66
66
  cropStage: cropStageSchema.nullable().optional(),
67
+ cropHistory: z.array(cropHistoryEntrySchema).optional(),
68
+ });
69
+ // Record planting (archives prior season into cropHistory)
70
+ export const recordPlantingAttributesSchema = z.object({
71
+ plantingDate: z.string().datetime(),
72
+ currentCrop: z.string().min(1),
73
+ expectedHarvestDate: z.string().datetime().optional(),
74
+ variety: z.string().max(200).optional(),
75
+ notes: z.string().optional(),
76
+ cropStage: cropStageSchema.optional(),
77
+ });
78
+ export const recordPlantingSchema = z.object({
79
+ type: z.literal('field-plantings'),
80
+ attributes: recordPlantingAttributesSchema,
67
81
  });
68
82
  // Create field input (JSON:API format)
69
83
  export const createFieldSchema = z.object({
@@ -143,8 +143,8 @@ export declare const irrigationScheduleAttributesSchema: z.ZodObject<{
143
143
  name: string;
144
144
  plantingDate: string;
145
145
  soilType: string | null;
146
- fieldId: string;
147
146
  notes: string | null;
147
+ fieldId: string;
148
148
  cropType: string;
149
149
  fieldCapacity: number;
150
150
  wiltingPoint: number;
@@ -166,8 +166,8 @@ export declare const irrigationScheduleAttributesSchema: z.ZodObject<{
166
166
  name: string;
167
167
  plantingDate: string;
168
168
  soilType: string | null;
169
- fieldId: string;
170
169
  notes: string | null;
170
+ fieldId: string;
171
171
  cropType: string;
172
172
  fieldCapacity: number;
173
173
  wiltingPoint: number;
@@ -256,8 +256,8 @@ export declare const updateIrrigationScheduleSchema: z.ZodObject<{
256
256
  name?: string | undefined;
257
257
  plantingDate?: string | undefined;
258
258
  soilType?: string | undefined;
259
- fieldId?: string | undefined;
260
259
  notes?: string | undefined;
260
+ fieldId?: string | undefined;
261
261
  autoGenerateEvents?: boolean | undefined;
262
262
  cropType?: string | undefined;
263
263
  fieldCapacity?: number | undefined;
@@ -273,8 +273,8 @@ export declare const updateIrrigationScheduleSchema: z.ZodObject<{
273
273
  name?: string | undefined;
274
274
  plantingDate?: string | undefined;
275
275
  soilType?: string | undefined;
276
- fieldId?: string | undefined;
277
276
  notes?: string | undefined;
277
+ fieldId?: string | undefined;
278
278
  autoGenerateEvents?: boolean | undefined;
279
279
  cropType?: string | undefined;
280
280
  fieldCapacity?: number | undefined;
@@ -428,8 +428,8 @@ export declare const irrigationScheduleResponseSchema: z.ZodObject<{
428
428
  name: string;
429
429
  plantingDate: string;
430
430
  soilType: string | null;
431
- fieldId: string;
432
431
  notes: string | null;
432
+ fieldId: string;
433
433
  cropType: string;
434
434
  fieldCapacity: number;
435
435
  wiltingPoint: number;
@@ -451,8 +451,8 @@ export declare const irrigationScheduleResponseSchema: z.ZodObject<{
451
451
  name: string;
452
452
  plantingDate: string;
453
453
  soilType: string | null;
454
- fieldId: string;
455
454
  notes: string | null;
455
+ fieldId: string;
456
456
  cropType: string;
457
457
  fieldCapacity: number;
458
458
  wiltingPoint: number;
@@ -478,8 +478,8 @@ export declare const irrigationScheduleResponseSchema: z.ZodObject<{
478
478
  name: string;
479
479
  plantingDate: string;
480
480
  soilType: string | null;
481
- fieldId: string;
482
481
  notes: string | null;
482
+ fieldId: string;
483
483
  cropType: string;
484
484
  fieldCapacity: number;
485
485
  wiltingPoint: number;
@@ -505,8 +505,8 @@ export declare const irrigationScheduleResponseSchema: z.ZodObject<{
505
505
  name: string;
506
506
  plantingDate: string;
507
507
  soilType: string | null;
508
- fieldId: string;
509
508
  notes: string | null;
509
+ fieldId: string;
510
510
  cropType: string;
511
511
  fieldCapacity: number;
512
512
  wiltingPoint: number;
@@ -557,8 +557,8 @@ export declare const irrigationScheduleListResponseSchema: z.ZodObject<{
557
557
  name: string;
558
558
  plantingDate: string;
559
559
  soilType: string | null;
560
- fieldId: string;
561
560
  notes: string | null;
561
+ fieldId: string;
562
562
  cropType: string;
563
563
  fieldCapacity: number;
564
564
  wiltingPoint: number;
@@ -580,8 +580,8 @@ export declare const irrigationScheduleListResponseSchema: z.ZodObject<{
580
580
  name: string;
581
581
  plantingDate: string;
582
582
  soilType: string | null;
583
- fieldId: string;
584
583
  notes: string | null;
584
+ fieldId: string;
585
585
  cropType: string;
586
586
  fieldCapacity: number;
587
587
  wiltingPoint: number;
@@ -607,8 +607,8 @@ export declare const irrigationScheduleListResponseSchema: z.ZodObject<{
607
607
  name: string;
608
608
  plantingDate: string;
609
609
  soilType: string | null;
610
- fieldId: string;
611
610
  notes: string | null;
611
+ fieldId: string;
612
612
  cropType: string;
613
613
  fieldCapacity: number;
614
614
  wiltingPoint: number;
@@ -634,8 +634,8 @@ export declare const irrigationScheduleListResponseSchema: z.ZodObject<{
634
634
  name: string;
635
635
  plantingDate: string;
636
636
  soilType: string | null;
637
- fieldId: string;
638
637
  notes: string | null;
638
+ fieldId: string;
639
639
  cropType: string;
640
640
  fieldCapacity: number;
641
641
  wiltingPoint: number;
@@ -670,8 +670,8 @@ export declare const irrigationScheduleListResponseSchema: z.ZodObject<{
670
670
  name: string;
671
671
  plantingDate: string;
672
672
  soilType: string | null;
673
- fieldId: string;
674
673
  notes: string | null;
674
+ fieldId: string;
675
675
  cropType: string;
676
676
  fieldCapacity: number;
677
677
  wiltingPoint: number;
@@ -702,8 +702,8 @@ export declare const irrigationScheduleListResponseSchema: z.ZodObject<{
702
702
  name: string;
703
703
  plantingDate: string;
704
704
  soilType: string | null;
705
- fieldId: string;
706
705
  notes: string | null;
706
+ fieldId: string;
707
707
  cropType: string;
708
708
  fieldCapacity: number;
709
709
  wiltingPoint: number;