@deepintel-ltd/farmpro-contracts 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1131,10 +1131,9 @@ export declare const uploadObservationBodySchema: z.ZodObject<{
1131
1131
  }>>;
1132
1132
  capturedAt: z.ZodOptional<z.ZodString>;
1133
1133
  } & {
1134
- photo: z.ZodType<import("buffer").File, z.ZodTypeDef, import("buffer").File>;
1134
+ photo: z.ZodAny;
1135
1135
  }, "strip", z.ZodTypeAny, {
1136
1136
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1137
- photo: import("buffer").File;
1138
1137
  location?: {
1139
1138
  lat: number;
1140
1139
  lng: number;
@@ -1144,9 +1143,9 @@ export declare const uploadObservationBodySchema: z.ZodObject<{
1144
1143
  capturedAt?: string | undefined;
1145
1144
  userNotes?: string | undefined;
1146
1145
  cropStageAtTime?: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | undefined;
1146
+ photo?: any;
1147
1147
  }, {
1148
1148
  observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
1149
- photo: import("buffer").File;
1150
1149
  location?: {
1151
1150
  lat: number;
1152
1151
  lng: number;
@@ -1156,6 +1155,7 @@ export declare const uploadObservationBodySchema: z.ZodObject<{
1156
1155
  capturedAt?: string | undefined;
1157
1156
  userNotes?: string | undefined;
1158
1157
  cropStageAtTime?: "planted" | "flowering" | "mature" | "harvested" | "germination" | "vegetative" | "fruiting" | undefined;
1158
+ photo?: any;
1159
1159
  }>;
1160
1160
  export declare const updateObservationActionInputSchema: z.ZodObject<{
1161
1161
  type: z.ZodLiteral<string>;
@@ -140,7 +140,7 @@ exports.updateObservationActionAttributesSchema = zod_1.z.object({
140
140
  exports.observationResourceSchema = (0, common_schemas_1.createJsonApiResourceSchema)('observations', exports.observationAttributesSchema);
141
141
  exports.createObservationInputSchema = (0, common_schemas_1.createJsonApiResourceSchema)('observations', exports.createObservationAttributesSchema);
142
142
  exports.uploadObservationBodySchema = exports.createObservationAttributesSchema.merge(zod_1.z.object({
143
- photo: zod_1.z.instanceof(File),
143
+ photo: zod_1.z.any(),
144
144
  }));
145
145
  exports.updateObservationActionInputSchema = (0, common_schemas_1.createJsonApiResourceSchema)('observations', exports.updateObservationActionAttributesSchema);
146
146
  // Response schemas