@deepintel-ltd/farmpro-contracts 1.11.8 → 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 (40) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -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/fertigation.routes.d.ts +156 -156
  9. package/dist/routes/field-activities.routes.d.ts +2397 -0
  10. package/dist/routes/field-activities.routes.d.ts.map +1 -0
  11. package/dist/routes/field-activities.routes.js +81 -0
  12. package/dist/routes/fields.routes.d.ts +860 -0
  13. package/dist/routes/fields.routes.d.ts.map +1 -1
  14. package/dist/routes/fields.routes.js +20 -1
  15. package/dist/routes/index.d.ts +3 -0
  16. package/dist/routes/index.d.ts.map +1 -1
  17. package/dist/routes/index.js +2 -0
  18. package/dist/routes/irrigation.routes.d.ts +20 -20
  19. package/dist/routes/livestock-groups.routes.d.ts +36 -36
  20. package/dist/routes/livestock.routes.d.ts +30 -30
  21. package/dist/routes/soil-tests.routes.d.ts +36 -36
  22. package/dist/routes/tasks.routes.d.ts +120 -120
  23. package/dist/schemas/agents.schemas.d.ts +163 -0
  24. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  25. package/dist/schemas/agents.schemas.js +23 -0
  26. package/dist/schemas/equipment.schemas.d.ts +30 -30
  27. package/dist/schemas/extension.schemas.d.ts +18 -18
  28. package/dist/schemas/fertigation.schemas.d.ts +42 -42
  29. package/dist/schemas/field-activities.schemas.d.ts +806 -0
  30. package/dist/schemas/field-activities.schemas.d.ts.map +1 -0
  31. package/dist/schemas/field-activities.schemas.js +68 -0
  32. package/dist/schemas/fields.schemas.d.ts +173 -0
  33. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  34. package/dist/schemas/fields.schemas.js +14 -0
  35. package/dist/schemas/irrigation.schemas.d.ts +14 -14
  36. package/dist/schemas/livestock-groups.schemas.d.ts +24 -24
  37. package/dist/schemas/livestock.schemas.d.ts +24 -24
  38. package/dist/schemas/soil-tests.schemas.d.ts +34 -34
  39. package/dist/schemas/tasks.schemas.d.ts +96 -96
  40. package/package.json +1 -1
@@ -3462,12 +3462,35 @@ export declare const harvestReadinessResponseSchema: z.ZodObject<{
3462
3462
  };
3463
3463
  };
3464
3464
  }>;
3465
+ export declare const farmBrainProposedActionSchema: z.ZodObject<{
3466
+ id: z.ZodString;
3467
+ type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity"]>;
3468
+ title: z.ZodString;
3469
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3470
+ requiresConfirmation: z.ZodDefault<z.ZodBoolean>;
3471
+ }, "strip", z.ZodTypeAny, {
3472
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3473
+ id: string;
3474
+ title: string;
3475
+ payload: Record<string, unknown>;
3476
+ requiresConfirmation: boolean;
3477
+ }, {
3478
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3479
+ id: string;
3480
+ title: string;
3481
+ payload: Record<string, unknown>;
3482
+ requiresConfirmation?: boolean | undefined;
3483
+ }>;
3465
3484
  export declare const farmBrainChatRequestSchema: z.ZodObject<{
3466
3485
  message: z.ZodString;
3486
+ /** When true (default), write actions are proposals only until Accept */
3487
+ supervisedMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3467
3488
  }, "strip", z.ZodTypeAny, {
3468
3489
  message: string;
3490
+ supervisedMode: boolean;
3469
3491
  }, {
3470
3492
  message: string;
3493
+ supervisedMode?: boolean | undefined;
3471
3494
  }>;
3472
3495
  export declare const farmBrainChatResponseSchema: z.ZodObject<{
3473
3496
  data: z.ZodObject<{
@@ -3477,14 +3500,50 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
3477
3500
  response: z.ZodString;
3478
3501
  route: z.ZodEnum<["agronomics", "finance", "operations", "general"]>;
3479
3502
  conversationId: z.ZodOptional<z.ZodString>;
3503
+ modelUsed: z.ZodOptional<z.ZodString>;
3504
+ proposedActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3505
+ id: z.ZodString;
3506
+ type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity"]>;
3507
+ title: z.ZodString;
3508
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3509
+ requiresConfirmation: z.ZodDefault<z.ZodBoolean>;
3510
+ }, "strip", z.ZodTypeAny, {
3511
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3512
+ id: string;
3513
+ title: string;
3514
+ payload: Record<string, unknown>;
3515
+ requiresConfirmation: boolean;
3516
+ }, {
3517
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3518
+ id: string;
3519
+ title: string;
3520
+ payload: Record<string, unknown>;
3521
+ requiresConfirmation?: boolean | undefined;
3522
+ }>, "many">>;
3480
3523
  }, "strip", z.ZodTypeAny, {
3481
3524
  response: string;
3482
3525
  route: "general" | "agronomics" | "finance" | "operations";
3483
3526
  conversationId?: string | undefined;
3527
+ modelUsed?: string | undefined;
3528
+ proposedActions?: {
3529
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3530
+ id: string;
3531
+ title: string;
3532
+ payload: Record<string, unknown>;
3533
+ requiresConfirmation: boolean;
3534
+ }[] | undefined;
3484
3535
  }, {
3485
3536
  response: string;
3486
3537
  route: "general" | "agronomics" | "finance" | "operations";
3487
3538
  conversationId?: string | undefined;
3539
+ modelUsed?: string | undefined;
3540
+ proposedActions?: {
3541
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3542
+ id: string;
3543
+ title: string;
3544
+ payload: Record<string, unknown>;
3545
+ requiresConfirmation?: boolean | undefined;
3546
+ }[] | undefined;
3488
3547
  }>;
3489
3548
  }, "strip", z.ZodTypeAny, {
3490
3549
  type: "farm-brain-response";
@@ -3493,6 +3552,14 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
3493
3552
  response: string;
3494
3553
  route: "general" | "agronomics" | "finance" | "operations";
3495
3554
  conversationId?: string | undefined;
3555
+ modelUsed?: string | undefined;
3556
+ proposedActions?: {
3557
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3558
+ id: string;
3559
+ title: string;
3560
+ payload: Record<string, unknown>;
3561
+ requiresConfirmation: boolean;
3562
+ }[] | undefined;
3496
3563
  };
3497
3564
  }, {
3498
3565
  type: "farm-brain-response";
@@ -3501,6 +3568,14 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
3501
3568
  response: string;
3502
3569
  route: "general" | "agronomics" | "finance" | "operations";
3503
3570
  conversationId?: string | undefined;
3571
+ modelUsed?: string | undefined;
3572
+ proposedActions?: {
3573
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3574
+ id: string;
3575
+ title: string;
3576
+ payload: Record<string, unknown>;
3577
+ requiresConfirmation?: boolean | undefined;
3578
+ }[] | undefined;
3504
3579
  };
3505
3580
  }>;
3506
3581
  }, "strip", z.ZodTypeAny, {
@@ -3511,6 +3586,14 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
3511
3586
  response: string;
3512
3587
  route: "general" | "agronomics" | "finance" | "operations";
3513
3588
  conversationId?: string | undefined;
3589
+ modelUsed?: string | undefined;
3590
+ proposedActions?: {
3591
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3592
+ id: string;
3593
+ title: string;
3594
+ payload: Record<string, unknown>;
3595
+ requiresConfirmation: boolean;
3596
+ }[] | undefined;
3514
3597
  };
3515
3598
  };
3516
3599
  }, {
@@ -3521,6 +3604,14 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
3521
3604
  response: string;
3522
3605
  route: "general" | "agronomics" | "finance" | "operations";
3523
3606
  conversationId?: string | undefined;
3607
+ modelUsed?: string | undefined;
3608
+ proposedActions?: {
3609
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3610
+ id: string;
3611
+ title: string;
3612
+ payload: Record<string, unknown>;
3613
+ requiresConfirmation?: boolean | undefined;
3614
+ }[] | undefined;
3524
3615
  };
3525
3616
  };
3526
3617
  }>;
@@ -3589,12 +3680,15 @@ export declare const dailyBriefingResponseSchema: z.ZodObject<{
3589
3680
  export declare const farmBrainLocalizedRequestSchema: z.ZodObject<{
3590
3681
  message: z.ZodString;
3591
3682
  language: z.ZodString;
3683
+ supervisedMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3592
3684
  }, "strip", z.ZodTypeAny, {
3593
3685
  message: string;
3594
3686
  language: string;
3687
+ supervisedMode: boolean;
3595
3688
  }, {
3596
3689
  message: string;
3597
3690
  language: string;
3691
+ supervisedMode?: boolean | undefined;
3598
3692
  }>;
3599
3693
  export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
3600
3694
  data: z.ZodObject<{
@@ -3605,16 +3699,52 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
3605
3699
  language: z.ZodString;
3606
3700
  route: z.ZodEnum<["agronomics", "finance", "operations", "general"]>;
3607
3701
  conversationId: z.ZodOptional<z.ZodString>;
3702
+ modelUsed: z.ZodOptional<z.ZodString>;
3703
+ proposedActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3704
+ id: z.ZodString;
3705
+ type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity"]>;
3706
+ title: z.ZodString;
3707
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3708
+ requiresConfirmation: z.ZodDefault<z.ZodBoolean>;
3709
+ }, "strip", z.ZodTypeAny, {
3710
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3711
+ id: string;
3712
+ title: string;
3713
+ payload: Record<string, unknown>;
3714
+ requiresConfirmation: boolean;
3715
+ }, {
3716
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3717
+ id: string;
3718
+ title: string;
3719
+ payload: Record<string, unknown>;
3720
+ requiresConfirmation?: boolean | undefined;
3721
+ }>, "many">>;
3608
3722
  }, "strip", z.ZodTypeAny, {
3609
3723
  language: string;
3610
3724
  response: string;
3611
3725
  route: "general" | "agronomics" | "finance" | "operations";
3612
3726
  conversationId?: string | undefined;
3727
+ modelUsed?: string | undefined;
3728
+ proposedActions?: {
3729
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3730
+ id: string;
3731
+ title: string;
3732
+ payload: Record<string, unknown>;
3733
+ requiresConfirmation: boolean;
3734
+ }[] | undefined;
3613
3735
  }, {
3614
3736
  language: string;
3615
3737
  response: string;
3616
3738
  route: "general" | "agronomics" | "finance" | "operations";
3617
3739
  conversationId?: string | undefined;
3740
+ modelUsed?: string | undefined;
3741
+ proposedActions?: {
3742
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3743
+ id: string;
3744
+ title: string;
3745
+ payload: Record<string, unknown>;
3746
+ requiresConfirmation?: boolean | undefined;
3747
+ }[] | undefined;
3618
3748
  }>;
3619
3749
  }, "strip", z.ZodTypeAny, {
3620
3750
  type: "farm-brain-localized-response";
@@ -3624,6 +3754,14 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
3624
3754
  response: string;
3625
3755
  route: "general" | "agronomics" | "finance" | "operations";
3626
3756
  conversationId?: string | undefined;
3757
+ modelUsed?: string | undefined;
3758
+ proposedActions?: {
3759
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3760
+ id: string;
3761
+ title: string;
3762
+ payload: Record<string, unknown>;
3763
+ requiresConfirmation: boolean;
3764
+ }[] | undefined;
3627
3765
  };
3628
3766
  }, {
3629
3767
  type: "farm-brain-localized-response";
@@ -3633,6 +3771,14 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
3633
3771
  response: string;
3634
3772
  route: "general" | "agronomics" | "finance" | "operations";
3635
3773
  conversationId?: string | undefined;
3774
+ modelUsed?: string | undefined;
3775
+ proposedActions?: {
3776
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3777
+ id: string;
3778
+ title: string;
3779
+ payload: Record<string, unknown>;
3780
+ requiresConfirmation?: boolean | undefined;
3781
+ }[] | undefined;
3636
3782
  };
3637
3783
  }>;
3638
3784
  }, "strip", z.ZodTypeAny, {
@@ -3644,6 +3790,14 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
3644
3790
  response: string;
3645
3791
  route: "general" | "agronomics" | "finance" | "operations";
3646
3792
  conversationId?: string | undefined;
3793
+ modelUsed?: string | undefined;
3794
+ proposedActions?: {
3795
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3796
+ id: string;
3797
+ title: string;
3798
+ payload: Record<string, unknown>;
3799
+ requiresConfirmation: boolean;
3800
+ }[] | undefined;
3647
3801
  };
3648
3802
  };
3649
3803
  }, {
@@ -3655,6 +3809,14 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
3655
3809
  response: string;
3656
3810
  route: "general" | "agronomics" | "finance" | "operations";
3657
3811
  conversationId?: string | undefined;
3812
+ modelUsed?: string | undefined;
3813
+ proposedActions?: {
3814
+ type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
3815
+ id: string;
3816
+ title: string;
3817
+ payload: Record<string, unknown>;
3818
+ requiresConfirmation?: boolean | undefined;
3819
+ }[] | undefined;
3658
3820
  };
3659
3821
  };
3660
3822
  }>;
@@ -3730,6 +3892,7 @@ export type PestScoutingCalendarResponse = z.infer<typeof pestScoutingCalendarRe
3730
3892
  export type HarvestReadinessResponse = z.infer<typeof harvestReadinessResponseSchema>;
3731
3893
  export type FarmBrainChatRequest = z.infer<typeof farmBrainChatRequestSchema>;
3732
3894
  export type FarmBrainChatResponse = z.infer<typeof farmBrainChatResponseSchema>;
3895
+ export type FarmBrainProposedAction = z.infer<typeof farmBrainProposedActionSchema>;
3733
3896
  export type DailyBriefingResponse = z.infer<typeof dailyBriefingResponseSchema>;
3734
3897
  export type FarmBrainLocalizedRequest = z.infer<typeof farmBrainLocalizedRequestSchema>;
3735
3898
  export type FarmBrainLocalizedResponse = z.infer<typeof farmBrainLocalizedResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"agents.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/agents.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AAGH,eAAO,MAAM,iBAAiB,kCAAgC,CAAC;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAGH,eAAO,MAAM,2B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CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,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,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
@@ -256,8 +256,26 @@ export const harvestReadinessResponseSchema = z.object({
256
256
  }),
257
257
  }),
258
258
  });
259
+ export const farmBrainProposedActionSchema = z.object({
260
+ id: z.string(),
261
+ type: z.enum([
262
+ 'create_task',
263
+ 'log_expense',
264
+ 'log_revenue',
265
+ 'dismiss_alert',
266
+ 'open_entity',
267
+ 'record_planting',
268
+ 'record_harvest',
269
+ 'record_field_activity',
270
+ ]),
271
+ title: z.string(),
272
+ payload: z.record(z.unknown()),
273
+ requiresConfirmation: z.boolean().default(true),
274
+ });
259
275
  export const farmBrainChatRequestSchema = z.object({
260
276
  message: z.string().min(1).max(5000),
277
+ /** When true (default), write actions are proposals only until Accept */
278
+ supervisedMode: z.boolean().optional().default(true),
261
279
  });
262
280
  export const farmBrainChatResponseSchema = z.object({
263
281
  data: z.object({
@@ -267,6 +285,8 @@ export const farmBrainChatResponseSchema = z.object({
267
285
  response: z.string(),
268
286
  route: z.enum(['agronomics', 'finance', 'operations', 'general']),
269
287
  conversationId: z.string().uuid().optional(),
288
+ modelUsed: z.string().optional(),
289
+ proposedActions: z.array(farmBrainProposedActionSchema).optional(),
270
290
  }),
271
291
  }),
272
292
  });
@@ -285,6 +305,7 @@ export const dailyBriefingResponseSchema = z.object({
285
305
  export const farmBrainLocalizedRequestSchema = z.object({
286
306
  message: z.string().min(1).max(5000),
287
307
  language: z.string().min(2).max(20), // e.g. en, fr, sw, yo, ha, am
308
+ supervisedMode: z.boolean().optional().default(true),
288
309
  });
289
310
  export const farmBrainLocalizedResponseSchema = z.object({
290
311
  data: z.object({
@@ -295,6 +316,8 @@ export const farmBrainLocalizedResponseSchema = z.object({
295
316
  language: z.string(),
296
317
  route: z.enum(['agronomics', 'finance', 'operations', 'general']),
297
318
  conversationId: z.string().uuid().optional(),
319
+ modelUsed: z.string().optional(),
320
+ proposedActions: z.array(farmBrainProposedActionSchema).optional(),
298
321
  }),
299
322
  }),
300
323
  });
@@ -120,8 +120,8 @@ export declare const equipmentAttributesSchema: z.ZodObject<{
120
120
  brand: string | null;
121
121
  farmId: string;
122
122
  location: string | null;
123
- assignedTo: string | null;
124
123
  notes: string | null;
124
+ assignedTo: string | null;
125
125
  model: string | null;
126
126
  serialNumber: string | null;
127
127
  purchaseDate: string | null;
@@ -153,8 +153,8 @@ export declare const equipmentAttributesSchema: z.ZodObject<{
153
153
  brand: string | null;
154
154
  farmId: string;
155
155
  location: string | null;
156
- assignedTo: string | null;
157
156
  notes: string | null;
157
+ assignedTo: string | null;
158
158
  model: string | null;
159
159
  serialNumber: string | null;
160
160
  purchaseDate: string | null;
@@ -197,8 +197,8 @@ export declare const createEquipmentAttributesSchema: z.ZodObject<{
197
197
  name: string;
198
198
  brand?: string | undefined;
199
199
  location?: string | undefined;
200
- assignedTo?: string | undefined;
201
200
  notes?: string | undefined;
201
+ assignedTo?: string | undefined;
202
202
  model?: string | undefined;
203
203
  serialNumber?: string | undefined;
204
204
  purchaseDate?: string | undefined;
@@ -210,8 +210,8 @@ export declare const createEquipmentAttributesSchema: z.ZodObject<{
210
210
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
211
211
  brand?: string | undefined;
212
212
  location?: string | undefined;
213
- assignedTo?: string | undefined;
214
213
  notes?: string | undefined;
214
+ assignedTo?: string | undefined;
215
215
  model?: string | undefined;
216
216
  serialNumber?: string | undefined;
217
217
  purchaseDate?: string | undefined;
@@ -237,8 +237,8 @@ export declare const updateEquipmentAttributesSchema: z.ZodObject<{
237
237
  name?: string | undefined;
238
238
  brand?: string | null | undefined;
239
239
  location?: string | null | undefined;
240
- assignedTo?: string | null | undefined;
241
240
  notes?: string | null | undefined;
241
+ assignedTo?: string | null | undefined;
242
242
  model?: string | null | undefined;
243
243
  serialNumber?: string | null | undefined;
244
244
  purchaseDate?: string | null | undefined;
@@ -250,8 +250,8 @@ export declare const updateEquipmentAttributesSchema: z.ZodObject<{
250
250
  name?: string | undefined;
251
251
  brand?: string | null | undefined;
252
252
  location?: string | null | undefined;
253
- assignedTo?: string | null | undefined;
254
253
  notes?: string | null | undefined;
254
+ assignedTo?: string | null | undefined;
255
255
  model?: string | null | undefined;
256
256
  serialNumber?: string | null | undefined;
257
257
  purchaseDate?: string | null | undefined;
@@ -304,8 +304,8 @@ export declare const createEquipmentSchema: z.ZodObject<{
304
304
  name: string;
305
305
  brand?: string | undefined;
306
306
  location?: string | undefined;
307
- assignedTo?: string | undefined;
308
307
  notes?: string | undefined;
308
+ assignedTo?: string | undefined;
309
309
  model?: string | undefined;
310
310
  serialNumber?: string | undefined;
311
311
  purchaseDate?: string | undefined;
@@ -317,8 +317,8 @@ export declare const createEquipmentSchema: z.ZodObject<{
317
317
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
318
318
  brand?: string | undefined;
319
319
  location?: string | undefined;
320
- assignedTo?: string | undefined;
321
320
  notes?: string | undefined;
321
+ assignedTo?: string | undefined;
322
322
  model?: string | undefined;
323
323
  serialNumber?: string | undefined;
324
324
  purchaseDate?: string | undefined;
@@ -333,8 +333,8 @@ export declare const createEquipmentSchema: z.ZodObject<{
333
333
  name: string;
334
334
  brand?: string | undefined;
335
335
  location?: string | undefined;
336
- assignedTo?: string | undefined;
337
336
  notes?: string | undefined;
337
+ assignedTo?: string | undefined;
338
338
  model?: string | undefined;
339
339
  serialNumber?: string | undefined;
340
340
  purchaseDate?: string | undefined;
@@ -349,8 +349,8 @@ export declare const createEquipmentSchema: z.ZodObject<{
349
349
  status?: "operational" | "maintenance" | "repair" | "retired" | undefined;
350
350
  brand?: string | undefined;
351
351
  location?: string | undefined;
352
- assignedTo?: string | undefined;
353
352
  notes?: string | undefined;
353
+ assignedTo?: string | undefined;
354
354
  model?: string | undefined;
355
355
  serialNumber?: string | undefined;
356
356
  purchaseDate?: string | undefined;
@@ -380,8 +380,8 @@ export declare const updateEquipmentSchema: z.ZodObject<{
380
380
  name?: string | undefined;
381
381
  brand?: string | null | undefined;
382
382
  location?: string | null | undefined;
383
- assignedTo?: string | null | undefined;
384
383
  notes?: string | null | undefined;
384
+ assignedTo?: string | null | undefined;
385
385
  model?: string | null | undefined;
386
386
  serialNumber?: string | null | undefined;
387
387
  purchaseDate?: string | null | undefined;
@@ -393,8 +393,8 @@ export declare const updateEquipmentSchema: z.ZodObject<{
393
393
  name?: string | undefined;
394
394
  brand?: string | null | undefined;
395
395
  location?: string | null | undefined;
396
- assignedTo?: string | null | undefined;
397
396
  notes?: string | null | undefined;
397
+ assignedTo?: string | null | undefined;
398
398
  model?: string | null | undefined;
399
399
  serialNumber?: string | null | undefined;
400
400
  purchaseDate?: string | null | undefined;
@@ -410,8 +410,8 @@ export declare const updateEquipmentSchema: z.ZodObject<{
410
410
  name?: string | undefined;
411
411
  brand?: string | null | undefined;
412
412
  location?: string | null | undefined;
413
- assignedTo?: string | null | undefined;
414
413
  notes?: string | null | undefined;
414
+ assignedTo?: string | null | undefined;
415
415
  model?: string | null | undefined;
416
416
  serialNumber?: string | null | undefined;
417
417
  purchaseDate?: string | null | undefined;
@@ -427,8 +427,8 @@ export declare const updateEquipmentSchema: z.ZodObject<{
427
427
  name?: string | undefined;
428
428
  brand?: string | null | undefined;
429
429
  location?: string | null | undefined;
430
- assignedTo?: string | null | undefined;
431
430
  notes?: string | null | undefined;
431
+ assignedTo?: string | null | undefined;
432
432
  model?: string | null | undefined;
433
433
  serialNumber?: string | null | undefined;
434
434
  purchaseDate?: string | null | undefined;
@@ -560,8 +560,8 @@ export declare const equipmentResourceSchema: z.ZodObject<{
560
560
  brand: string | null;
561
561
  farmId: string;
562
562
  location: string | null;
563
- assignedTo: string | null;
564
563
  notes: string | null;
564
+ assignedTo: string | null;
565
565
  model: string | null;
566
566
  serialNumber: string | null;
567
567
  purchaseDate: string | null;
@@ -593,8 +593,8 @@ export declare const equipmentResourceSchema: z.ZodObject<{
593
593
  brand: string | null;
594
594
  farmId: string;
595
595
  location: string | null;
596
- assignedTo: string | null;
597
596
  notes: string | null;
597
+ assignedTo: string | null;
598
598
  model: string | null;
599
599
  serialNumber: string | null;
600
600
  purchaseDate: string | null;
@@ -633,8 +633,8 @@ export declare const equipmentResourceSchema: z.ZodObject<{
633
633
  brand: string | null;
634
634
  farmId: string;
635
635
  location: string | null;
636
- assignedTo: string | null;
637
636
  notes: string | null;
637
+ assignedTo: string | null;
638
638
  model: string | null;
639
639
  serialNumber: string | null;
640
640
  purchaseDate: string | null;
@@ -673,8 +673,8 @@ export declare const equipmentResourceSchema: z.ZodObject<{
673
673
  brand: string | null;
674
674
  farmId: string;
675
675
  location: string | null;
676
- assignedTo: string | null;
677
676
  notes: string | null;
677
+ assignedTo: string | null;
678
678
  model: string | null;
679
679
  serialNumber: string | null;
680
680
  purchaseDate: string | null;
@@ -839,8 +839,8 @@ export declare const equipmentResponseSchema: z.ZodObject<{
839
839
  brand: string | null;
840
840
  farmId: string;
841
841
  location: string | null;
842
- assignedTo: string | null;
843
842
  notes: string | null;
843
+ assignedTo: string | null;
844
844
  model: string | null;
845
845
  serialNumber: string | null;
846
846
  purchaseDate: string | null;
@@ -872,8 +872,8 @@ export declare const equipmentResponseSchema: z.ZodObject<{
872
872
  brand: string | null;
873
873
  farmId: string;
874
874
  location: string | null;
875
- assignedTo: string | null;
876
875
  notes: string | null;
876
+ assignedTo: string | null;
877
877
  model: string | null;
878
878
  serialNumber: string | null;
879
879
  purchaseDate: string | null;
@@ -912,8 +912,8 @@ export declare const equipmentResponseSchema: z.ZodObject<{
912
912
  brand: string | null;
913
913
  farmId: string;
914
914
  location: string | null;
915
- assignedTo: string | null;
916
915
  notes: string | null;
916
+ assignedTo: string | null;
917
917
  model: string | null;
918
918
  serialNumber: string | null;
919
919
  purchaseDate: string | null;
@@ -952,8 +952,8 @@ export declare const equipmentResponseSchema: z.ZodObject<{
952
952
  brand: string | null;
953
953
  farmId: string;
954
954
  location: string | null;
955
- assignedTo: string | null;
956
955
  notes: string | null;
956
+ assignedTo: string | null;
957
957
  model: string | null;
958
958
  serialNumber: string | null;
959
959
  purchaseDate: string | null;
@@ -1018,8 +1018,8 @@ export declare const equipmentResponseSchema: z.ZodObject<{
1018
1018
  brand: string | null;
1019
1019
  farmId: string;
1020
1020
  location: string | null;
1021
- assignedTo: string | null;
1022
1021
  notes: string | null;
1022
+ assignedTo: string | null;
1023
1023
  model: string | null;
1024
1024
  serialNumber: string | null;
1025
1025
  purchaseDate: string | null;
@@ -1070,8 +1070,8 @@ export declare const equipmentResponseSchema: z.ZodObject<{
1070
1070
  brand: string | null;
1071
1071
  farmId: string;
1072
1072
  location: string | null;
1073
- assignedTo: string | null;
1074
1073
  notes: string | null;
1074
+ assignedTo: string | null;
1075
1075
  model: string | null;
1076
1076
  serialNumber: string | null;
1077
1077
  purchaseDate: string | null;
@@ -1185,8 +1185,8 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1185
1185
  brand: string | null;
1186
1186
  farmId: string;
1187
1187
  location: string | null;
1188
- assignedTo: string | null;
1189
1188
  notes: string | null;
1189
+ assignedTo: string | null;
1190
1190
  model: string | null;
1191
1191
  serialNumber: string | null;
1192
1192
  purchaseDate: string | null;
@@ -1218,8 +1218,8 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1218
1218
  brand: string | null;
1219
1219
  farmId: string;
1220
1220
  location: string | null;
1221
- assignedTo: string | null;
1222
1221
  notes: string | null;
1222
+ assignedTo: string | null;
1223
1223
  model: string | null;
1224
1224
  serialNumber: string | null;
1225
1225
  purchaseDate: string | null;
@@ -1258,8 +1258,8 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1258
1258
  brand: string | null;
1259
1259
  farmId: string;
1260
1260
  location: string | null;
1261
- assignedTo: string | null;
1262
1261
  notes: string | null;
1262
+ assignedTo: string | null;
1263
1263
  model: string | null;
1264
1264
  serialNumber: string | null;
1265
1265
  purchaseDate: string | null;
@@ -1298,8 +1298,8 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1298
1298
  brand: string | null;
1299
1299
  farmId: string;
1300
1300
  location: string | null;
1301
- assignedTo: string | null;
1302
1301
  notes: string | null;
1302
+ assignedTo: string | null;
1303
1303
  model: string | null;
1304
1304
  serialNumber: string | null;
1305
1305
  purchaseDate: string | null;
@@ -1364,8 +1364,8 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1364
1364
  brand: string | null;
1365
1365
  farmId: string;
1366
1366
  location: string | null;
1367
- assignedTo: string | null;
1368
1367
  notes: string | null;
1368
+ assignedTo: string | null;
1369
1369
  model: string | null;
1370
1370
  serialNumber: string | null;
1371
1371
  purchaseDate: string | null;
@@ -1416,8 +1416,8 @@ export declare const equipmentListResponseSchema: z.ZodObject<{
1416
1416
  brand: string | null;
1417
1417
  farmId: string;
1418
1418
  location: string | null;
1419
- assignedTo: string | null;
1420
1419
  notes: string | null;
1420
+ assignedTo: string | null;
1421
1421
  model: string | null;
1422
1422
  serialNumber: string | null;
1423
1423
  purchaseDate: string | null;