@deepintel-ltd/farmpro-contracts 1.16.10 → 1.16.12

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 (35) hide show
  1. package/dist/routes/admin.routes.d.ts +1036 -0
  2. package/dist/routes/admin.routes.d.ts.map +1 -1
  3. package/dist/routes/admin.routes.js +29 -1
  4. package/dist/routes/agent-workflows.routes.d.ts +246 -246
  5. package/dist/routes/agents.routes.d.ts +16 -16
  6. package/dist/routes/fertigation.routes.d.ts +336 -336
  7. package/dist/routes/field-monitoring.routes.d.ts +8 -8
  8. package/dist/routes/field-observations.routes.d.ts +56 -56
  9. package/dist/routes/fields.routes.d.ts +63 -63
  10. package/dist/routes/health.routes.d.ts +66 -0
  11. package/dist/routes/health.routes.d.ts.map +1 -1
  12. package/dist/routes/livestock-groups.routes.d.ts +8 -8
  13. package/dist/routes/livestock.routes.d.ts +50 -50
  14. package/dist/routes/payments.routes.d.ts +20 -20
  15. package/dist/routes/pest-disease-risk.routes.d.ts +4 -4
  16. package/dist/routes/soil-tests.routes.d.ts +40 -40
  17. package/dist/schemas/admin.schemas.d.ts +267 -0
  18. package/dist/schemas/admin.schemas.d.ts.map +1 -1
  19. package/dist/schemas/admin.schemas.js +38 -0
  20. package/dist/schemas/agent-workflows.schemas.d.ts +206 -206
  21. package/dist/schemas/agents.schemas.d.ts +16 -16
  22. package/dist/schemas/fertigation.schemas.d.ts +128 -128
  23. package/dist/schemas/field-monitoring.schemas.d.ts +8 -8
  24. package/dist/schemas/field-observations.schemas.d.ts +46 -46
  25. package/dist/schemas/fields.schemas.d.ts +59 -59
  26. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  27. package/dist/schemas/fields.schemas.js +8 -1
  28. package/dist/schemas/health.schemas.d.ts +33 -0
  29. package/dist/schemas/health.schemas.d.ts.map +1 -1
  30. package/dist/schemas/health.schemas.js +1 -0
  31. package/dist/schemas/livestock.schemas.d.ts +50 -50
  32. package/dist/schemas/payments.schemas.d.ts +20 -20
  33. package/dist/schemas/pest-disease-risk.schemas.d.ts +2 -2
  34. package/dist/schemas/soil-tests.schemas.d.ts +42 -42
  35. package/package.json +1 -1
@@ -36,6 +36,19 @@ export declare const healthRouter: {
36
36
  message?: string | undefined;
37
37
  responseTime?: number | undefined;
38
38
  }>;
39
+ queue: import("zod").ZodOptional<import("zod").ZodObject<{
40
+ status: import("zod").ZodEnum<["healthy", "unhealthy", "degraded"]>;
41
+ message: import("zod").ZodOptional<import("zod").ZodString>;
42
+ responseTime: import("zod").ZodOptional<import("zod").ZodNumber>;
43
+ }, "strip", import("zod").ZodTypeAny, {
44
+ status: "healthy" | "unhealthy" | "degraded";
45
+ message?: string | undefined;
46
+ responseTime?: number | undefined;
47
+ }, {
48
+ status: "healthy" | "unhealthy" | "degraded";
49
+ message?: string | undefined;
50
+ responseTime?: number | undefined;
51
+ }>>;
39
52
  storage: import("zod").ZodOptional<import("zod").ZodObject<{
40
53
  status: import("zod").ZodEnum<["healthy", "unhealthy", "degraded"]>;
41
54
  message: import("zod").ZodOptional<import("zod").ZodString>;
@@ -73,6 +86,11 @@ export declare const healthRouter: {
73
86
  message?: string | undefined;
74
87
  responseTime?: number | undefined;
75
88
  };
89
+ queue?: {
90
+ status: "healthy" | "unhealthy" | "degraded";
91
+ message?: string | undefined;
92
+ responseTime?: number | undefined;
93
+ } | undefined;
76
94
  storage?: {
77
95
  status: "healthy" | "unhealthy" | "degraded";
78
96
  message?: string | undefined;
@@ -94,6 +112,11 @@ export declare const healthRouter: {
94
112
  message?: string | undefined;
95
113
  responseTime?: number | undefined;
96
114
  };
115
+ queue?: {
116
+ status: "healthy" | "unhealthy" | "degraded";
117
+ message?: string | undefined;
118
+ responseTime?: number | undefined;
119
+ } | undefined;
97
120
  storage?: {
98
121
  status: "healthy" | "unhealthy" | "degraded";
99
122
  message?: string | undefined;
@@ -120,6 +143,11 @@ export declare const healthRouter: {
120
143
  message?: string | undefined;
121
144
  responseTime?: number | undefined;
122
145
  };
146
+ queue?: {
147
+ status: "healthy" | "unhealthy" | "degraded";
148
+ message?: string | undefined;
149
+ responseTime?: number | undefined;
150
+ } | undefined;
123
151
  storage?: {
124
152
  status: "healthy" | "unhealthy" | "degraded";
125
153
  message?: string | undefined;
@@ -146,6 +174,11 @@ export declare const healthRouter: {
146
174
  message?: string | undefined;
147
175
  responseTime?: number | undefined;
148
176
  };
177
+ queue?: {
178
+ status: "healthy" | "unhealthy" | "degraded";
179
+ message?: string | undefined;
180
+ responseTime?: number | undefined;
181
+ } | undefined;
149
182
  storage?: {
150
183
  status: "healthy" | "unhealthy" | "degraded";
151
184
  message?: string | undefined;
@@ -189,6 +222,19 @@ export declare const healthRouter: {
189
222
  message?: string | undefined;
190
223
  responseTime?: number | undefined;
191
224
  }>;
225
+ queue: import("zod").ZodOptional<import("zod").ZodObject<{
226
+ status: import("zod").ZodEnum<["healthy", "unhealthy", "degraded"]>;
227
+ message: import("zod").ZodOptional<import("zod").ZodString>;
228
+ responseTime: import("zod").ZodOptional<import("zod").ZodNumber>;
229
+ }, "strip", import("zod").ZodTypeAny, {
230
+ status: "healthy" | "unhealthy" | "degraded";
231
+ message?: string | undefined;
232
+ responseTime?: number | undefined;
233
+ }, {
234
+ status: "healthy" | "unhealthy" | "degraded";
235
+ message?: string | undefined;
236
+ responseTime?: number | undefined;
237
+ }>>;
192
238
  storage: import("zod").ZodOptional<import("zod").ZodObject<{
193
239
  status: import("zod").ZodEnum<["healthy", "unhealthy", "degraded"]>;
194
240
  message: import("zod").ZodOptional<import("zod").ZodString>;
@@ -226,6 +272,11 @@ export declare const healthRouter: {
226
272
  message?: string | undefined;
227
273
  responseTime?: number | undefined;
228
274
  };
275
+ queue?: {
276
+ status: "healthy" | "unhealthy" | "degraded";
277
+ message?: string | undefined;
278
+ responseTime?: number | undefined;
279
+ } | undefined;
229
280
  storage?: {
230
281
  status: "healthy" | "unhealthy" | "degraded";
231
282
  message?: string | undefined;
@@ -247,6 +298,11 @@ export declare const healthRouter: {
247
298
  message?: string | undefined;
248
299
  responseTime?: number | undefined;
249
300
  };
301
+ queue?: {
302
+ status: "healthy" | "unhealthy" | "degraded";
303
+ message?: string | undefined;
304
+ responseTime?: number | undefined;
305
+ } | undefined;
250
306
  storage?: {
251
307
  status: "healthy" | "unhealthy" | "degraded";
252
308
  message?: string | undefined;
@@ -273,6 +329,11 @@ export declare const healthRouter: {
273
329
  message?: string | undefined;
274
330
  responseTime?: number | undefined;
275
331
  };
332
+ queue?: {
333
+ status: "healthy" | "unhealthy" | "degraded";
334
+ message?: string | undefined;
335
+ responseTime?: number | undefined;
336
+ } | undefined;
276
337
  storage?: {
277
338
  status: "healthy" | "unhealthy" | "degraded";
278
339
  message?: string | undefined;
@@ -299,6 +360,11 @@ export declare const healthRouter: {
299
360
  message?: string | undefined;
300
361
  responseTime?: number | undefined;
301
362
  };
363
+ queue?: {
364
+ status: "healthy" | "unhealthy" | "degraded";
365
+ message?: string | undefined;
366
+ responseTime?: number | undefined;
367
+ } | undefined;
302
368
  storage?: {
303
369
  status: "healthy" | "unhealthy" | "degraded";
304
370
  message?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"health.routes.d.ts","sourceRoot":"","sources":["../../src/routes/health.routes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWvB,CAAC"}
1
+ {"version":3,"file":"health.routes.d.ts","sourceRoot":"","sources":["../../src/routes/health.routes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWvB,CAAC"}
@@ -3575,9 +3575,9 @@ export declare const livestockGroupsRouter: {
3575
3575
  notes: z.ZodNullable<z.ZodString>;
3576
3576
  }, "strip", z.ZodTypeAny, {
3577
3577
  id: string;
3578
+ reason: string | null;
3578
3579
  currency: string;
3579
3580
  notes: string | null;
3580
- reason: string | null;
3581
3581
  movementDate: string;
3582
3582
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3583
3583
  fromLocation: string | null;
@@ -3587,8 +3587,8 @@ export declare const livestockGroupsRouter: {
3587
3587
  documentRef: string | null;
3588
3588
  }, {
3589
3589
  id: string;
3590
- notes: string | null;
3591
3590
  reason: string | null;
3591
+ notes: string | null;
3592
3592
  movementDate: string;
3593
3593
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3594
3594
  fromLocation: string | null;
@@ -3659,9 +3659,9 @@ export declare const livestockGroupsRouter: {
3659
3659
  }[] | undefined;
3660
3660
  recentMovements?: {
3661
3661
  id: string;
3662
+ reason: string | null;
3662
3663
  currency: string;
3663
3664
  notes: string | null;
3664
- reason: string | null;
3665
3665
  movementDate: string;
3666
3666
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3667
3667
  fromLocation: string | null;
@@ -3728,8 +3728,8 @@ export declare const livestockGroupsRouter: {
3728
3728
  }[] | undefined;
3729
3729
  recentMovements?: {
3730
3730
  id: string;
3731
- notes: string | null;
3732
3731
  reason: string | null;
3732
+ notes: string | null;
3733
3733
  movementDate: string;
3734
3734
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3735
3735
  fromLocation: string | null;
@@ -3804,9 +3804,9 @@ export declare const livestockGroupsRouter: {
3804
3804
  }[] | undefined;
3805
3805
  recentMovements?: {
3806
3806
  id: string;
3807
+ reason: string | null;
3807
3808
  currency: string;
3808
3809
  notes: string | null;
3809
- reason: string | null;
3810
3810
  movementDate: string;
3811
3811
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3812
3812
  fromLocation: string | null;
@@ -3880,8 +3880,8 @@ export declare const livestockGroupsRouter: {
3880
3880
  }[] | undefined;
3881
3881
  recentMovements?: {
3882
3882
  id: string;
3883
- notes: string | null;
3884
3883
  reason: string | null;
3884
+ notes: string | null;
3885
3885
  movementDate: string;
3886
3886
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3887
3887
  fromLocation: string | null;
@@ -3982,9 +3982,9 @@ export declare const livestockGroupsRouter: {
3982
3982
  }[] | undefined;
3983
3983
  recentMovements?: {
3984
3984
  id: string;
3985
+ reason: string | null;
3985
3986
  currency: string;
3986
3987
  notes: string | null;
3987
- reason: string | null;
3988
3988
  movementDate: string;
3989
3989
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
3990
3990
  fromLocation: string | null;
@@ -4070,8 +4070,8 @@ export declare const livestockGroupsRouter: {
4070
4070
  }[] | undefined;
4071
4071
  recentMovements?: {
4072
4072
  id: string;
4073
- notes: string | null;
4074
4073
  reason: string | null;
4074
+ notes: string | null;
4075
4075
  movementDate: string;
4076
4076
  movementType: "purchase" | "transfer_in" | "transfer_out" | "sale" | "death" | "birth";
4077
4077
  fromLocation: string | null;