@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
@@ -67,8 +67,8 @@ export declare const soilTestAttributesSchema: z.ZodObject<{
67
67
  }, "strip", z.ZodTypeAny, {
68
68
  createdAt: string;
69
69
  updatedAt: string;
70
- fieldId: string;
71
70
  notes: string | null;
71
+ fieldId: string;
72
72
  testDate: string;
73
73
  testedBy: string | null;
74
74
  labName: string | null;
@@ -96,8 +96,8 @@ export declare const soilTestAttributesSchema: z.ZodObject<{
96
96
  }, {
97
97
  createdAt: string;
98
98
  updatedAt: string;
99
- fieldId: string;
100
99
  notes: string | null;
100
+ fieldId: string;
101
101
  testDate: string;
102
102
  testedBy: string | null;
103
103
  labName: string | null;
@@ -194,8 +194,8 @@ export declare const updateSoilTestAttributesSchema: z.ZodObject<{
194
194
  fieldId: z.ZodOptional<z.ZodString>;
195
195
  testDate: z.ZodOptional<z.ZodString>;
196
196
  }, "strip", z.ZodTypeAny, {
197
- fieldId?: string | undefined;
198
197
  notes?: string | undefined;
198
+ fieldId?: string | undefined;
199
199
  testDate?: string | undefined;
200
200
  testedBy?: string | undefined;
201
201
  labName?: string | undefined;
@@ -211,8 +211,8 @@ export declare const updateSoilTestAttributesSchema: z.ZodObject<{
211
211
  testCost?: number | undefined;
212
212
  documentUrl?: string | undefined;
213
213
  }, {
214
- fieldId?: string | undefined;
215
214
  notes?: string | undefined;
215
+ fieldId?: string | undefined;
216
216
  testDate?: string | undefined;
217
217
  testedBy?: string | undefined;
218
218
  labName?: string | undefined;
@@ -345,8 +345,8 @@ export declare const updateSoilTestSchema: z.ZodObject<{
345
345
  fieldId: z.ZodOptional<z.ZodString>;
346
346
  testDate: z.ZodOptional<z.ZodString>;
347
347
  }, "strip", z.ZodTypeAny, {
348
- fieldId?: string | undefined;
349
348
  notes?: string | undefined;
349
+ fieldId?: string | undefined;
350
350
  testDate?: string | undefined;
351
351
  testedBy?: string | undefined;
352
352
  labName?: string | undefined;
@@ -362,8 +362,8 @@ export declare const updateSoilTestSchema: z.ZodObject<{
362
362
  testCost?: number | undefined;
363
363
  documentUrl?: string | undefined;
364
364
  }, {
365
- fieldId?: string | undefined;
366
365
  notes?: string | undefined;
366
+ fieldId?: string | undefined;
367
367
  testDate?: string | undefined;
368
368
  testedBy?: string | undefined;
369
369
  labName?: string | undefined;
@@ -383,8 +383,8 @@ export declare const updateSoilTestSchema: z.ZodObject<{
383
383
  type: "soil-tests";
384
384
  id: string;
385
385
  attributes: {
386
- fieldId?: string | undefined;
387
386
  notes?: string | undefined;
387
+ fieldId?: string | undefined;
388
388
  testDate?: string | undefined;
389
389
  testedBy?: string | undefined;
390
390
  labName?: string | undefined;
@@ -404,8 +404,8 @@ export declare const updateSoilTestSchema: z.ZodObject<{
404
404
  type: "soil-tests";
405
405
  id: string;
406
406
  attributes: {
407
- fieldId?: string | undefined;
408
407
  notes?: string | undefined;
408
+ fieldId?: string | undefined;
409
409
  testDate?: string | undefined;
410
410
  testedBy?: string | undefined;
411
411
  labName?: string | undefined;
@@ -470,8 +470,8 @@ export declare const soilTestResourceSchema: z.ZodObject<{
470
470
  }, "strip", z.ZodTypeAny, {
471
471
  createdAt: string;
472
472
  updatedAt: string;
473
- fieldId: string;
474
473
  notes: string | null;
474
+ fieldId: string;
475
475
  testDate: string;
476
476
  testedBy: string | null;
477
477
  labName: string | null;
@@ -499,8 +499,8 @@ export declare const soilTestResourceSchema: z.ZodObject<{
499
499
  }, {
500
500
  createdAt: string;
501
501
  updatedAt: string;
502
- fieldId: string;
503
502
  notes: string | null;
503
+ fieldId: string;
504
504
  testDate: string;
505
505
  testedBy: string | null;
506
506
  labName: string | null;
@@ -535,8 +535,8 @@ export declare const soilTestResourceSchema: z.ZodObject<{
535
535
  attributes: {
536
536
  createdAt: string;
537
537
  updatedAt: string;
538
- fieldId: string;
539
538
  notes: string | null;
539
+ fieldId: string;
540
540
  testDate: string;
541
541
  testedBy: string | null;
542
542
  labName: string | null;
@@ -571,8 +571,8 @@ export declare const soilTestResourceSchema: z.ZodObject<{
571
571
  attributes: {
572
572
  createdAt: string;
573
573
  updatedAt: string;
574
- fieldId: string;
575
574
  notes: string | null;
575
+ fieldId: string;
576
576
  testDate: string;
577
577
  testedBy: string | null;
578
578
  labName: string | null;
@@ -650,8 +650,8 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
650
650
  }, "strip", z.ZodTypeAny, {
651
651
  createdAt: string;
652
652
  updatedAt: string;
653
- fieldId: string;
654
653
  notes: string | null;
654
+ fieldId: string;
655
655
  testDate: string;
656
656
  testedBy: string | null;
657
657
  labName: string | null;
@@ -679,8 +679,8 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
679
679
  }, {
680
680
  createdAt: string;
681
681
  updatedAt: string;
682
- fieldId: string;
683
682
  notes: string | null;
683
+ fieldId: string;
684
684
  testDate: string;
685
685
  testedBy: string | null;
686
686
  labName: string | null;
@@ -773,8 +773,8 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
773
773
  attributes: {
774
774
  createdAt: string;
775
775
  updatedAt: string;
776
- fieldId: string;
777
776
  notes: string | null;
777
+ fieldId: string;
778
778
  testDate: string;
779
779
  testedBy: string | null;
780
780
  labName: string | null;
@@ -820,8 +820,8 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
820
820
  attributes: {
821
821
  createdAt: string;
822
822
  updatedAt: string;
823
- fieldId: string;
824
823
  notes: string | null;
824
+ fieldId: string;
825
825
  testDate: string;
826
826
  testedBy: string | null;
827
827
  labName: string | null;
@@ -911,8 +911,8 @@ export declare const soilTestResponseSchema: z.ZodObject<{
911
911
  }, "strip", z.ZodTypeAny, {
912
912
  createdAt: string;
913
913
  updatedAt: string;
914
- fieldId: string;
915
914
  notes: string | null;
915
+ fieldId: string;
916
916
  testDate: string;
917
917
  testedBy: string | null;
918
918
  labName: string | null;
@@ -940,8 +940,8 @@ export declare const soilTestResponseSchema: z.ZodObject<{
940
940
  }, {
941
941
  createdAt: string;
942
942
  updatedAt: string;
943
- fieldId: string;
944
943
  notes: string | null;
944
+ fieldId: string;
945
945
  testDate: string;
946
946
  testedBy: string | null;
947
947
  labName: string | null;
@@ -976,8 +976,8 @@ export declare const soilTestResponseSchema: z.ZodObject<{
976
976
  attributes: {
977
977
  createdAt: string;
978
978
  updatedAt: string;
979
- fieldId: string;
980
979
  notes: string | null;
980
+ fieldId: string;
981
981
  testDate: string;
982
982
  testedBy: string | null;
983
983
  labName: string | null;
@@ -1012,8 +1012,8 @@ export declare const soilTestResponseSchema: z.ZodObject<{
1012
1012
  attributes: {
1013
1013
  createdAt: string;
1014
1014
  updatedAt: string;
1015
- fieldId: string;
1016
1015
  notes: string | null;
1016
+ fieldId: string;
1017
1017
  testDate: string;
1018
1018
  testedBy: string | null;
1019
1019
  labName: string | null;
@@ -1074,8 +1074,8 @@ export declare const soilTestResponseSchema: z.ZodObject<{
1074
1074
  attributes: {
1075
1075
  createdAt: string;
1076
1076
  updatedAt: string;
1077
- fieldId: string;
1078
1077
  notes: string | null;
1078
+ fieldId: string;
1079
1079
  testDate: string;
1080
1080
  testedBy: string | null;
1081
1081
  labName: string | null;
@@ -1122,8 +1122,8 @@ export declare const soilTestResponseSchema: z.ZodObject<{
1122
1122
  attributes: {
1123
1123
  createdAt: string;
1124
1124
  updatedAt: string;
1125
- fieldId: string;
1126
1125
  notes: string | null;
1126
+ fieldId: string;
1127
1127
  testDate: string;
1128
1128
  testedBy: string | null;
1129
1129
  labName: string | null;
@@ -1213,8 +1213,8 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1213
1213
  }, "strip", z.ZodTypeAny, {
1214
1214
  createdAt: string;
1215
1215
  updatedAt: string;
1216
- fieldId: string;
1217
1216
  notes: string | null;
1217
+ fieldId: string;
1218
1218
  testDate: string;
1219
1219
  testedBy: string | null;
1220
1220
  labName: string | null;
@@ -1242,8 +1242,8 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1242
1242
  }, {
1243
1243
  createdAt: string;
1244
1244
  updatedAt: string;
1245
- fieldId: string;
1246
1245
  notes: string | null;
1246
+ fieldId: string;
1247
1247
  testDate: string;
1248
1248
  testedBy: string | null;
1249
1249
  labName: string | null;
@@ -1336,8 +1336,8 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1336
1336
  attributes: {
1337
1337
  createdAt: string;
1338
1338
  updatedAt: string;
1339
- fieldId: string;
1340
1339
  notes: string | null;
1340
+ fieldId: string;
1341
1341
  testDate: string;
1342
1342
  testedBy: string | null;
1343
1343
  labName: string | null;
@@ -1383,8 +1383,8 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1383
1383
  attributes: {
1384
1384
  createdAt: string;
1385
1385
  updatedAt: string;
1386
- fieldId: string;
1387
1386
  notes: string | null;
1387
+ fieldId: string;
1388
1388
  testDate: string;
1389
1389
  testedBy: string | null;
1390
1390
  labName: string | null;
@@ -1456,8 +1456,8 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1456
1456
  attributes: {
1457
1457
  createdAt: string;
1458
1458
  updatedAt: string;
1459
- fieldId: string;
1460
1459
  notes: string | null;
1460
+ fieldId: string;
1461
1461
  testDate: string;
1462
1462
  testedBy: string | null;
1463
1463
  labName: string | null;
@@ -1515,8 +1515,8 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1515
1515
  attributes: {
1516
1516
  createdAt: string;
1517
1517
  updatedAt: string;
1518
- fieldId: string;
1519
1518
  notes: string | null;
1519
+ fieldId: string;
1520
1520
  testDate: string;
1521
1521
  testedBy: string | null;
1522
1522
  labName: string | null;
@@ -1617,8 +1617,8 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1617
1617
  }, "strip", z.ZodTypeAny, {
1618
1618
  createdAt: string;
1619
1619
  updatedAt: string;
1620
- fieldId: string;
1621
1620
  notes: string | null;
1621
+ fieldId: string;
1622
1622
  testDate: string;
1623
1623
  testedBy: string | null;
1624
1624
  labName: string | null;
@@ -1646,8 +1646,8 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1646
1646
  }, {
1647
1647
  createdAt: string;
1648
1648
  updatedAt: string;
1649
- fieldId: string;
1650
1649
  notes: string | null;
1650
+ fieldId: string;
1651
1651
  testDate: string;
1652
1652
  testedBy: string | null;
1653
1653
  labName: string | null;
@@ -1682,8 +1682,8 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1682
1682
  attributes: {
1683
1683
  createdAt: string;
1684
1684
  updatedAt: string;
1685
- fieldId: string;
1686
1685
  notes: string | null;
1686
+ fieldId: string;
1687
1687
  testDate: string;
1688
1688
  testedBy: string | null;
1689
1689
  labName: string | null;
@@ -1718,8 +1718,8 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1718
1718
  attributes: {
1719
1719
  createdAt: string;
1720
1720
  updatedAt: string;
1721
- fieldId: string;
1722
1721
  notes: string | null;
1722
+ fieldId: string;
1723
1723
  testDate: string;
1724
1724
  testedBy: string | null;
1725
1725
  labName: string | null;
@@ -1780,8 +1780,8 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1780
1780
  attributes: {
1781
1781
  createdAt: string;
1782
1782
  updatedAt: string;
1783
- fieldId: string;
1784
1783
  notes: string | null;
1784
+ fieldId: string;
1785
1785
  testDate: string;
1786
1786
  testedBy: string | null;
1787
1787
  labName: string | null;
@@ -1828,8 +1828,8 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1828
1828
  attributes: {
1829
1829
  createdAt: string;
1830
1830
  updatedAt: string;
1831
- fieldId: string;
1832
1831
  notes: string | null;
1832
+ fieldId: string;
1833
1833
  testDate: string;
1834
1834
  testedBy: string | null;
1835
1835
  labName: string | null;