@deepintel-ltd/farmpro-contracts 1.23.0 → 1.23.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.
Files changed (53) hide show
  1. package/dist/routes/categories.routes.d.ts +26 -26
  2. package/dist/routes/commodity-deals.routes.d.ts +42 -42
  3. package/dist/routes/crop-profile.routes.d.ts +8 -8
  4. package/dist/routes/farm-enterprises.routes.d.ts +395 -0
  5. package/dist/routes/farm-enterprises.routes.d.ts.map +1 -1
  6. package/dist/routes/farm-enterprises.routes.js +14 -1
  7. package/dist/routes/farms.routes.d.ts +73 -20
  8. package/dist/routes/farms.routes.d.ts.map +1 -1
  9. package/dist/routes/fertigation.routes.d.ts +96 -96
  10. package/dist/routes/field-monitoring.routes.d.ts +2 -2
  11. package/dist/routes/finance.routes.d.ts +8 -8
  12. package/dist/routes/invoices.routes.d.ts +63 -60
  13. package/dist/routes/invoices.routes.d.ts.map +1 -1
  14. package/dist/routes/invoices.routes.js +4 -1
  15. package/dist/routes/monitoring-visualization.routes.d.ts +2 -2
  16. package/dist/routes/notifications.routes.d.ts +12 -12
  17. package/dist/routes/organizations.routes.d.ts +90 -47
  18. package/dist/routes/organizations.routes.d.ts.map +1 -1
  19. package/dist/routes/purchase-orders.routes.d.ts +9 -9
  20. package/dist/routes/suppliers.routes.d.ts +96 -96
  21. package/dist/routes/team-payments.routes.d.ts +105 -105
  22. package/dist/routes/team.routes.d.ts +125 -25
  23. package/dist/routes/team.routes.d.ts.map +1 -1
  24. package/dist/routes/trade-cash-events.routes.d.ts +46 -46
  25. package/dist/routes/waybills.routes.d.ts +61 -57
  26. package/dist/routes/waybills.routes.d.ts.map +1 -1
  27. package/dist/routes/waybills.routes.js +4 -1
  28. package/dist/schemas/categories.schemas.d.ts +21 -21
  29. package/dist/schemas/commodity-deals.schemas.d.ts +18 -18
  30. package/dist/schemas/crop-profile.schemas.d.ts +12 -12
  31. package/dist/schemas/farm-enterprises.schemas.d.ts +185 -0
  32. package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
  33. package/dist/schemas/farm-enterprises.schemas.js +21 -0
  34. package/dist/schemas/farms.schemas.d.ts +121 -19
  35. package/dist/schemas/farms.schemas.d.ts.map +1 -1
  36. package/dist/schemas/farms.schemas.js +15 -1
  37. package/dist/schemas/fertigation.schemas.d.ts +36 -36
  38. package/dist/schemas/field-monitoring.schemas.d.ts +2 -2
  39. package/dist/schemas/finance.schemas.d.ts +8 -8
  40. package/dist/schemas/invoices.schemas.d.ts +39 -39
  41. package/dist/schemas/notifications.schemas.d.ts +18 -18
  42. package/dist/schemas/organizations.schemas.d.ts +105 -46
  43. package/dist/schemas/organizations.schemas.d.ts.map +1 -1
  44. package/dist/schemas/organizations.schemas.js +8 -1
  45. package/dist/schemas/purchase-orders.schemas.d.ts +9 -9
  46. package/dist/schemas/suppliers.schemas.d.ts +96 -96
  47. package/dist/schemas/team-payments.schemas.d.ts +87 -87
  48. package/dist/schemas/team.schemas.d.ts +137 -20
  49. package/dist/schemas/team.schemas.d.ts.map +1 -1
  50. package/dist/schemas/team.schemas.js +29 -1
  51. package/dist/schemas/trade-cash-events.schemas.d.ts +60 -60
  52. package/dist/schemas/waybills.schemas.d.ts +39 -39
  53. package/package.json +1 -1
@@ -35,14 +35,14 @@ export declare const categoriesRouter: {
35
35
  createdAt: string;
36
36
  updatedAt: string;
37
37
  name: string;
38
- farmId: string | null;
39
38
  isDefault: boolean;
39
+ farmId: string | null;
40
40
  }, {
41
41
  createdAt: string;
42
42
  updatedAt: string;
43
43
  name: string;
44
- farmId: string | null;
45
44
  isDefault: boolean;
45
+ farmId: string | null;
46
46
  }>;
47
47
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
48
48
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -54,8 +54,8 @@ export declare const categoriesRouter: {
54
54
  createdAt: string;
55
55
  updatedAt: string;
56
56
  name: string;
57
- farmId: string | null;
58
57
  isDefault: boolean;
58
+ farmId: string | null;
59
59
  };
60
60
  relationships?: Record<string, unknown> | undefined;
61
61
  links?: Record<string, string> | undefined;
@@ -67,8 +67,8 @@ export declare const categoriesRouter: {
67
67
  createdAt: string;
68
68
  updatedAt: string;
69
69
  name: string;
70
- farmId: string | null;
71
70
  isDefault: boolean;
71
+ farmId: string | null;
72
72
  };
73
73
  relationships?: Record<string, unknown> | undefined;
74
74
  links?: Record<string, string> | undefined;
@@ -106,8 +106,8 @@ export declare const categoriesRouter: {
106
106
  createdAt: string;
107
107
  updatedAt: string;
108
108
  name: string;
109
- farmId: string | null;
110
109
  isDefault: boolean;
110
+ farmId: string | null;
111
111
  };
112
112
  relationships?: Record<string, unknown> | undefined;
113
113
  links?: Record<string, string> | undefined;
@@ -131,8 +131,8 @@ export declare const categoriesRouter: {
131
131
  createdAt: string;
132
132
  updatedAt: string;
133
133
  name: string;
134
- farmId: string | null;
135
134
  isDefault: boolean;
135
+ farmId: string | null;
136
136
  };
137
137
  relationships?: Record<string, unknown> | undefined;
138
138
  links?: Record<string, string> | undefined;
@@ -172,14 +172,14 @@ export declare const categoriesRouter: {
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 categoriesRouter: {
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 categoriesRouter: {
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 categoriesRouter: {
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 categoriesRouter: {
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;
@@ -394,8 +394,8 @@ export declare const categoriesRouter: {
394
394
  farmId?: string | undefined;
395
395
  }, {
396
396
  name: string;
397
- farmId?: string | undefined;
398
397
  isDefault?: boolean | undefined;
398
+ farmId?: string | undefined;
399
399
  }>;
400
400
  }, "strip", z.ZodTypeAny, {
401
401
  type: "categories";
@@ -408,8 +408,8 @@ export declare const categoriesRouter: {
408
408
  type: "categories";
409
409
  attributes: {
410
410
  name: string;
411
- farmId?: string | undefined;
412
411
  isDefault?: boolean | undefined;
412
+ farmId?: string | undefined;
413
413
  };
414
414
  }>;
415
415
  path: "/categories";
@@ -429,14 +429,14 @@ export declare const categoriesRouter: {
429
429
  createdAt: string;
430
430
  updatedAt: string;
431
431
  name: string;
432
- farmId: string | null;
433
432
  isDefault: boolean;
433
+ farmId: string | null;
434
434
  }, {
435
435
  createdAt: string;
436
436
  updatedAt: string;
437
437
  name: string;
438
- farmId: string | null;
439
438
  isDefault: boolean;
439
+ farmId: string | null;
440
440
  }>;
441
441
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
442
442
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -448,8 +448,8 @@ export declare const categoriesRouter: {
448
448
  createdAt: string;
449
449
  updatedAt: string;
450
450
  name: string;
451
- farmId: string | null;
452
451
  isDefault: boolean;
452
+ farmId: string | null;
453
453
  };
454
454
  relationships?: Record<string, unknown> | undefined;
455
455
  links?: Record<string, string> | undefined;
@@ -461,8 +461,8 @@ export declare const categoriesRouter: {
461
461
  createdAt: string;
462
462
  updatedAt: string;
463
463
  name: string;
464
- farmId: string | null;
465
464
  isDefault: boolean;
465
+ farmId: string | null;
466
466
  };
467
467
  relationships?: Record<string, unknown> | undefined;
468
468
  links?: Record<string, string> | undefined;
@@ -500,8 +500,8 @@ export declare const categoriesRouter: {
500
500
  createdAt: string;
501
501
  updatedAt: string;
502
502
  name: string;
503
- farmId: string | null;
504
503
  isDefault: boolean;
504
+ farmId: string | null;
505
505
  };
506
506
  relationships?: Record<string, unknown> | undefined;
507
507
  links?: Record<string, string> | undefined;
@@ -525,8 +525,8 @@ export declare const categoriesRouter: {
525
525
  createdAt: string;
526
526
  updatedAt: string;
527
527
  name: string;
528
- farmId: string | null;
529
528
  isDefault: boolean;
529
+ farmId: string | null;
530
530
  };
531
531
  relationships?: Record<string, unknown> | undefined;
532
532
  links?: Record<string, string> | undefined;
@@ -781,14 +781,14 @@ export declare const categoriesRouter: {
781
781
  createdAt: string;
782
782
  updatedAt: string;
783
783
  name: string;
784
- farmId: string | null;
785
784
  isDefault: boolean;
785
+ farmId: string | null;
786
786
  }, {
787
787
  createdAt: string;
788
788
  updatedAt: string;
789
789
  name: string;
790
- farmId: string | null;
791
790
  isDefault: boolean;
791
+ farmId: string | null;
792
792
  }>;
793
793
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
794
794
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -800,8 +800,8 @@ export declare const categoriesRouter: {
800
800
  createdAt: string;
801
801
  updatedAt: string;
802
802
  name: string;
803
- farmId: string | null;
804
803
  isDefault: boolean;
804
+ farmId: string | null;
805
805
  };
806
806
  relationships?: Record<string, unknown> | undefined;
807
807
  links?: Record<string, string> | undefined;
@@ -813,8 +813,8 @@ export declare const categoriesRouter: {
813
813
  createdAt: string;
814
814
  updatedAt: string;
815
815
  name: string;
816
- farmId: string | null;
817
816
  isDefault: boolean;
817
+ farmId: string | null;
818
818
  };
819
819
  relationships?: Record<string, unknown> | undefined;
820
820
  links?: Record<string, string> | undefined;
@@ -852,8 +852,8 @@ export declare const categoriesRouter: {
852
852
  createdAt: string;
853
853
  updatedAt: string;
854
854
  name: string;
855
- farmId: string | null;
856
855
  isDefault: boolean;
856
+ farmId: string | null;
857
857
  };
858
858
  relationships?: Record<string, unknown> | undefined;
859
859
  links?: Record<string, string> | undefined;
@@ -877,8 +877,8 @@ export declare const categoriesRouter: {
877
877
  createdAt: string;
878
878
  updatedAt: string;
879
879
  name: string;
880
- farmId: string | null;
881
880
  isDefault: boolean;
881
+ farmId: string | null;
882
882
  };
883
883
  relationships?: Record<string, unknown> | undefined;
884
884
  links?: Record<string, string> | undefined;