@deepintel-ltd/farmpro-contracts 1.15.4 → 1.15.6

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 (48) hide show
  1. package/dist/routes/agent-workflows.routes.d.ts +56 -56
  2. package/dist/routes/commodity-deals.routes.d.ts +561 -6
  3. package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
  4. package/dist/routes/commodity-deals.routes.js +17 -1
  5. package/dist/routes/fertigation.routes.d.ts +160 -160
  6. package/dist/routes/field-activities.routes.d.ts +172 -172
  7. package/dist/routes/field-monitoring.routes.d.ts +50 -50
  8. package/dist/routes/field-observations.routes.d.ts +40 -40
  9. package/dist/routes/fields.routes.d.ts +461 -0
  10. package/dist/routes/fields.routes.d.ts.map +1 -1
  11. package/dist/routes/fields.routes.js +19 -1
  12. package/dist/routes/finance.routes.d.ts +78 -78
  13. package/dist/routes/harvest.routes.d.ts +72 -72
  14. package/dist/routes/inventory.routes.d.ts +42 -42
  15. package/dist/routes/live-monitor.routes.d.ts +6 -6
  16. package/dist/routes/measurements.routes.d.ts +6 -6
  17. package/dist/routes/monitoring-visualization.routes.d.ts +12 -12
  18. package/dist/routes/prescription-maps.routes.d.ts +28 -28
  19. package/dist/routes/soil-tests.routes.d.ts +80 -80
  20. package/dist/routes/suppliers.routes.d.ts +80 -80
  21. package/dist/routes/waybills.routes.d.ts +56 -56
  22. package/dist/routes/weather.routes.d.ts +24 -24
  23. package/dist/routes/yield-prediction.routes.d.ts +36 -36
  24. package/dist/schemas/agent-workflows.schemas.d.ts +64 -64
  25. package/dist/schemas/commodity-deals.schemas.d.ts +728 -13
  26. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
  27. package/dist/schemas/commodity-deals.schemas.js +68 -1
  28. package/dist/schemas/fertigation.schemas.d.ts +72 -72
  29. package/dist/schemas/field-activities.schemas.d.ts +148 -148
  30. package/dist/schemas/field-monitoring.schemas.d.ts +30 -30
  31. package/dist/schemas/field-observations.schemas.d.ts +34 -34
  32. package/dist/schemas/fields.schemas.d.ts +286 -0
  33. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  34. package/dist/schemas/fields.schemas.js +26 -0
  35. package/dist/schemas/finance.schemas.d.ts +94 -94
  36. package/dist/schemas/harvest.schemas.d.ts +80 -80
  37. package/dist/schemas/inventory.schemas.d.ts +46 -46
  38. package/dist/schemas/live-monitor.schemas.d.ts +10 -10
  39. package/dist/schemas/measurements.schemas.d.ts +6 -6
  40. package/dist/schemas/monitoring-visualization.schemas.d.ts +14 -14
  41. package/dist/schemas/prescription-maps.schemas.d.ts +22 -22
  42. package/dist/schemas/recommendations.schemas.d.ts +6 -6
  43. package/dist/schemas/soil-tests.schemas.d.ts +84 -84
  44. package/dist/schemas/suppliers.schemas.d.ts +84 -84
  45. package/dist/schemas/waybills.schemas.d.ts +48 -48
  46. package/dist/schemas/weather.schemas.d.ts +68 -68
  47. package/dist/schemas/yield-prediction.schemas.d.ts +24 -24
  48. package/package.json +1 -1
@@ -4236,9 +4236,9 @@ export declare const financeRouter: {
4236
4236
  createdAt: string;
4237
4237
  updatedAt: string;
4238
4238
  crop: string;
4239
- fieldId: string | null;
4240
- unit: string;
4241
4239
  quantity: number;
4240
+ unit: string;
4241
+ fieldId: string | null;
4242
4242
  createdById: string | null;
4243
4243
  createdByName: string | null;
4244
4244
  pricePerUnit: number;
@@ -4251,9 +4251,9 @@ export declare const financeRouter: {
4251
4251
  createdAt: string;
4252
4252
  updatedAt: string;
4253
4253
  crop: string;
4254
- fieldId: string | null;
4255
- unit: string;
4256
4254
  quantity: number;
4255
+ unit: string;
4256
+ fieldId: string | null;
4257
4257
  createdById: string | null;
4258
4258
  createdByName: string | null;
4259
4259
  pricePerUnit: number;
@@ -4273,9 +4273,9 @@ export declare const financeRouter: {
4273
4273
  createdAt: string;
4274
4274
  updatedAt: string;
4275
4275
  crop: string;
4276
- fieldId: string | null;
4277
- unit: string;
4278
4276
  quantity: number;
4277
+ unit: string;
4278
+ fieldId: string | null;
4279
4279
  createdById: string | null;
4280
4280
  createdByName: string | null;
4281
4281
  pricePerUnit: number;
@@ -4295,9 +4295,9 @@ export declare const financeRouter: {
4295
4295
  createdAt: string;
4296
4296
  updatedAt: string;
4297
4297
  crop: string;
4298
- fieldId: string | null;
4299
- unit: string;
4300
4298
  quantity: number;
4299
+ unit: string;
4300
+ fieldId: string | null;
4301
4301
  createdById: string | null;
4302
4302
  createdByName: string | null;
4303
4303
  pricePerUnit: number;
@@ -4343,9 +4343,9 @@ export declare const financeRouter: {
4343
4343
  createdAt: string;
4344
4344
  updatedAt: string;
4345
4345
  crop: string;
4346
- fieldId: string | null;
4347
- unit: string;
4348
4346
  quantity: number;
4347
+ unit: string;
4348
+ fieldId: string | null;
4349
4349
  createdById: string | null;
4350
4350
  createdByName: string | null;
4351
4351
  pricePerUnit: number;
@@ -4377,9 +4377,9 @@ export declare const financeRouter: {
4377
4377
  createdAt: string;
4378
4378
  updatedAt: string;
4379
4379
  crop: string;
4380
- fieldId: string | null;
4381
- unit: string;
4382
4380
  quantity: number;
4381
+ unit: string;
4382
+ fieldId: string | null;
4383
4383
  createdById: string | null;
4384
4384
  createdByName: string | null;
4385
4385
  pricePerUnit: number;
@@ -4612,8 +4612,8 @@ export declare const financeRouter: {
4612
4612
  }, "strip", z.ZodTypeAny, {
4613
4613
  date: string;
4614
4614
  crop: string;
4615
- unit: string;
4616
4615
  quantity: number;
4616
+ unit: string;
4617
4617
  pricePerUnit: number;
4618
4618
  fieldId?: string | undefined;
4619
4619
  totalAmount?: number | undefined;
@@ -4622,8 +4622,8 @@ export declare const financeRouter: {
4622
4622
  }, {
4623
4623
  date: string;
4624
4624
  crop: string;
4625
- unit: string;
4626
4625
  quantity: number;
4626
+ unit: string;
4627
4627
  pricePerUnit: number;
4628
4628
  fieldId?: string | undefined;
4629
4629
  totalAmount?: number | undefined;
@@ -4635,8 +4635,8 @@ export declare const financeRouter: {
4635
4635
  attributes: {
4636
4636
  date: string;
4637
4637
  crop: string;
4638
- unit: string;
4639
4638
  quantity: number;
4639
+ unit: string;
4640
4640
  pricePerUnit: number;
4641
4641
  fieldId?: string | undefined;
4642
4642
  totalAmount?: number | undefined;
@@ -4648,8 +4648,8 @@ export declare const financeRouter: {
4648
4648
  attributes: {
4649
4649
  date: string;
4650
4650
  crop: string;
4651
- unit: string;
4652
4651
  quantity: number;
4652
+ unit: string;
4653
4653
  pricePerUnit: number;
4654
4654
  fieldId?: string | undefined;
4655
4655
  totalAmount?: number | undefined;
@@ -4663,8 +4663,8 @@ export declare const financeRouter: {
4663
4663
  attributes: {
4664
4664
  date: string;
4665
4665
  crop: string;
4666
- unit: string;
4667
4666
  quantity: number;
4667
+ unit: string;
4668
4668
  pricePerUnit: number;
4669
4669
  fieldId?: string | undefined;
4670
4670
  totalAmount?: number | undefined;
@@ -4678,8 +4678,8 @@ export declare const financeRouter: {
4678
4678
  attributes: {
4679
4679
  date: string;
4680
4680
  crop: string;
4681
- unit: string;
4682
4681
  quantity: number;
4682
+ unit: string;
4683
4683
  pricePerUnit: number;
4684
4684
  fieldId?: string | undefined;
4685
4685
  totalAmount?: number | undefined;
@@ -4715,9 +4715,9 @@ export declare const financeRouter: {
4715
4715
  createdAt: string;
4716
4716
  updatedAt: string;
4717
4717
  crop: string;
4718
- fieldId: string | null;
4719
- unit: string;
4720
4718
  quantity: number;
4719
+ unit: string;
4720
+ fieldId: string | null;
4721
4721
  createdById: string | null;
4722
4722
  createdByName: string | null;
4723
4723
  pricePerUnit: number;
@@ -4730,9 +4730,9 @@ export declare const financeRouter: {
4730
4730
  createdAt: string;
4731
4731
  updatedAt: string;
4732
4732
  crop: string;
4733
- fieldId: string | null;
4734
- unit: string;
4735
4733
  quantity: number;
4734
+ unit: string;
4735
+ fieldId: string | null;
4736
4736
  createdById: string | null;
4737
4737
  createdByName: string | null;
4738
4738
  pricePerUnit: number;
@@ -4752,9 +4752,9 @@ export declare const financeRouter: {
4752
4752
  createdAt: string;
4753
4753
  updatedAt: string;
4754
4754
  crop: string;
4755
- fieldId: string | null;
4756
- unit: string;
4757
4755
  quantity: number;
4756
+ unit: string;
4757
+ fieldId: string | null;
4758
4758
  createdById: string | null;
4759
4759
  createdByName: string | null;
4760
4760
  pricePerUnit: number;
@@ -4774,9 +4774,9 @@ export declare const financeRouter: {
4774
4774
  createdAt: string;
4775
4775
  updatedAt: string;
4776
4776
  crop: string;
4777
- fieldId: string | null;
4778
- unit: string;
4779
4777
  quantity: number;
4778
+ unit: string;
4779
+ fieldId: string | null;
4780
4780
  createdById: string | null;
4781
4781
  createdByName: string | null;
4782
4782
  pricePerUnit: number;
@@ -4822,9 +4822,9 @@ export declare const financeRouter: {
4822
4822
  createdAt: string;
4823
4823
  updatedAt: string;
4824
4824
  crop: string;
4825
- fieldId: string | null;
4826
- unit: string;
4827
4825
  quantity: number;
4826
+ unit: string;
4827
+ fieldId: string | null;
4828
4828
  createdById: string | null;
4829
4829
  createdByName: string | null;
4830
4830
  pricePerUnit: number;
@@ -4856,9 +4856,9 @@ export declare const financeRouter: {
4856
4856
  createdAt: string;
4857
4857
  updatedAt: string;
4858
4858
  crop: string;
4859
- fieldId: string | null;
4860
- unit: string;
4861
4859
  quantity: number;
4860
+ unit: string;
4861
+ fieldId: string | null;
4862
4862
  createdById: string | null;
4863
4863
  createdByName: string | null;
4864
4864
  pricePerUnit: number;
@@ -5292,9 +5292,9 @@ export declare const financeRouter: {
5292
5292
  createdAt: string;
5293
5293
  updatedAt: string;
5294
5294
  crop: string;
5295
- fieldId: string | null;
5296
- unit: string;
5297
5295
  quantity: number;
5296
+ unit: string;
5297
+ fieldId: string | null;
5298
5298
  createdById: string | null;
5299
5299
  createdByName: string | null;
5300
5300
  pricePerUnit: number;
@@ -5307,9 +5307,9 @@ export declare const financeRouter: {
5307
5307
  createdAt: string;
5308
5308
  updatedAt: string;
5309
5309
  crop: string;
5310
- fieldId: string | null;
5311
- unit: string;
5312
5310
  quantity: number;
5311
+ unit: string;
5312
+ fieldId: string | null;
5313
5313
  createdById: string | null;
5314
5314
  createdByName: string | null;
5315
5315
  pricePerUnit: number;
@@ -5357,23 +5357,23 @@ export declare const financeRouter: {
5357
5357
  };
5358
5358
  }>>;
5359
5359
  }, "strip", z.ZodTypeAny, {
5360
- field?: {
5360
+ harvest?: {
5361
5361
  links: {
5362
5362
  related: string;
5363
5363
  };
5364
5364
  } | undefined;
5365
- harvest?: {
5365
+ field?: {
5366
5366
  links: {
5367
5367
  related: string;
5368
5368
  };
5369
5369
  } | undefined;
5370
5370
  }, {
5371
- field?: {
5371
+ harvest?: {
5372
5372
  links: {
5373
5373
  related: string;
5374
5374
  };
5375
5375
  } | undefined;
5376
- harvest?: {
5376
+ field?: {
5377
5377
  links: {
5378
5378
  related: string;
5379
5379
  };
@@ -5387,9 +5387,9 @@ export declare const financeRouter: {
5387
5387
  createdAt: string;
5388
5388
  updatedAt: string;
5389
5389
  crop: string;
5390
- fieldId: string | null;
5391
- unit: string;
5392
5390
  quantity: number;
5391
+ unit: string;
5392
+ fieldId: string | null;
5393
5393
  createdById: string | null;
5394
5394
  createdByName: string | null;
5395
5395
  pricePerUnit: number;
@@ -5399,12 +5399,12 @@ export declare const financeRouter: {
5399
5399
  fieldName?: string | null | undefined;
5400
5400
  };
5401
5401
  relationships?: {
5402
- field?: {
5402
+ harvest?: {
5403
5403
  links: {
5404
5404
  related: string;
5405
5405
  };
5406
5406
  } | undefined;
5407
- harvest?: {
5407
+ field?: {
5408
5408
  links: {
5409
5409
  related: string;
5410
5410
  };
@@ -5420,9 +5420,9 @@ export declare const financeRouter: {
5420
5420
  createdAt: string;
5421
5421
  updatedAt: string;
5422
5422
  crop: string;
5423
- fieldId: string | null;
5424
- unit: string;
5425
5423
  quantity: number;
5424
+ unit: string;
5425
+ fieldId: string | null;
5426
5426
  createdById: string | null;
5427
5427
  createdByName: string | null;
5428
5428
  pricePerUnit: number;
@@ -5432,12 +5432,12 @@ export declare const financeRouter: {
5432
5432
  fieldName?: string | null | undefined;
5433
5433
  };
5434
5434
  relationships?: {
5435
- field?: {
5435
+ harvest?: {
5436
5436
  links: {
5437
5437
  related: string;
5438
5438
  };
5439
5439
  } | undefined;
5440
- harvest?: {
5440
+ field?: {
5441
5441
  links: {
5442
5442
  related: string;
5443
5443
  };
@@ -5479,9 +5479,9 @@ export declare const financeRouter: {
5479
5479
  createdAt: string;
5480
5480
  updatedAt: string;
5481
5481
  crop: string;
5482
- fieldId: string | null;
5483
- unit: string;
5484
5482
  quantity: number;
5483
+ unit: string;
5484
+ fieldId: string | null;
5485
5485
  createdById: string | null;
5486
5486
  createdByName: string | null;
5487
5487
  pricePerUnit: number;
@@ -5491,12 +5491,12 @@ export declare const financeRouter: {
5491
5491
  fieldName?: string | null | undefined;
5492
5492
  };
5493
5493
  relationships?: {
5494
- field?: {
5494
+ harvest?: {
5495
5495
  links: {
5496
5496
  related: string;
5497
5497
  };
5498
5498
  } | undefined;
5499
- harvest?: {
5499
+ field?: {
5500
5500
  links: {
5501
5501
  related: string;
5502
5502
  };
@@ -5524,9 +5524,9 @@ export declare const financeRouter: {
5524
5524
  createdAt: string;
5525
5525
  updatedAt: string;
5526
5526
  crop: string;
5527
- fieldId: string | null;
5528
- unit: string;
5529
5527
  quantity: number;
5528
+ unit: string;
5529
+ fieldId: string | null;
5530
5530
  createdById: string | null;
5531
5531
  createdByName: string | null;
5532
5532
  pricePerUnit: number;
@@ -5536,12 +5536,12 @@ export declare const financeRouter: {
5536
5536
  fieldName?: string | null | undefined;
5537
5537
  };
5538
5538
  relationships?: {
5539
- field?: {
5539
+ harvest?: {
5540
5540
  links: {
5541
5541
  related: string;
5542
5542
  };
5543
5543
  } | undefined;
5544
- harvest?: {
5544
+ field?: {
5545
5545
  links: {
5546
5546
  related: string;
5547
5547
  };
@@ -5774,9 +5774,9 @@ export declare const financeRouter: {
5774
5774
  }, "strip", z.ZodTypeAny, {
5775
5775
  date?: string | undefined;
5776
5776
  crop?: string | undefined;
5777
- fieldId?: string | null | undefined;
5778
- unit?: string | undefined;
5779
5777
  quantity?: number | undefined;
5778
+ unit?: string | undefined;
5779
+ fieldId?: string | null | undefined;
5780
5780
  pricePerUnit?: number | undefined;
5781
5781
  totalAmount?: number | undefined;
5782
5782
  buyer?: string | null | undefined;
@@ -5784,9 +5784,9 @@ export declare const financeRouter: {
5784
5784
  }, {
5785
5785
  date?: string | undefined;
5786
5786
  crop?: string | undefined;
5787
- fieldId?: string | null | undefined;
5788
- unit?: string | undefined;
5789
5787
  quantity?: number | undefined;
5788
+ unit?: string | undefined;
5789
+ fieldId?: string | null | undefined;
5790
5790
  pricePerUnit?: number | undefined;
5791
5791
  totalAmount?: number | undefined;
5792
5792
  buyer?: string | null | undefined;
@@ -5798,9 +5798,9 @@ export declare const financeRouter: {
5798
5798
  attributes: {
5799
5799
  date?: string | undefined;
5800
5800
  crop?: string | undefined;
5801
- fieldId?: string | null | undefined;
5802
- unit?: string | undefined;
5803
5801
  quantity?: number | undefined;
5802
+ unit?: string | undefined;
5803
+ fieldId?: string | null | undefined;
5804
5804
  pricePerUnit?: number | undefined;
5805
5805
  totalAmount?: number | undefined;
5806
5806
  buyer?: string | null | undefined;
@@ -5812,9 +5812,9 @@ export declare const financeRouter: {
5812
5812
  attributes: {
5813
5813
  date?: string | undefined;
5814
5814
  crop?: string | undefined;
5815
- fieldId?: string | null | undefined;
5816
- unit?: string | undefined;
5817
5815
  quantity?: number | undefined;
5816
+ unit?: string | undefined;
5817
+ fieldId?: string | null | undefined;
5818
5818
  pricePerUnit?: number | undefined;
5819
5819
  totalAmount?: number | undefined;
5820
5820
  buyer?: string | null | undefined;
@@ -5828,9 +5828,9 @@ export declare const financeRouter: {
5828
5828
  attributes: {
5829
5829
  date?: string | undefined;
5830
5830
  crop?: string | undefined;
5831
- fieldId?: string | null | undefined;
5832
- unit?: string | undefined;
5833
5831
  quantity?: number | undefined;
5832
+ unit?: string | undefined;
5833
+ fieldId?: string | null | undefined;
5834
5834
  pricePerUnit?: number | undefined;
5835
5835
  totalAmount?: number | undefined;
5836
5836
  buyer?: string | null | undefined;
@@ -5844,9 +5844,9 @@ export declare const financeRouter: {
5844
5844
  attributes: {
5845
5845
  date?: string | undefined;
5846
5846
  crop?: string | undefined;
5847
- fieldId?: string | null | undefined;
5848
- unit?: string | undefined;
5849
5847
  quantity?: number | undefined;
5848
+ unit?: string | undefined;
5849
+ fieldId?: string | null | undefined;
5850
5850
  pricePerUnit?: number | undefined;
5851
5851
  totalAmount?: number | undefined;
5852
5852
  buyer?: string | null | undefined;
@@ -5881,9 +5881,9 @@ export declare const financeRouter: {
5881
5881
  createdAt: string;
5882
5882
  updatedAt: string;
5883
5883
  crop: string;
5884
- fieldId: string | null;
5885
- unit: string;
5886
5884
  quantity: number;
5885
+ unit: string;
5886
+ fieldId: string | null;
5887
5887
  createdById: string | null;
5888
5888
  createdByName: string | null;
5889
5889
  pricePerUnit: number;
@@ -5896,9 +5896,9 @@ export declare const financeRouter: {
5896
5896
  createdAt: string;
5897
5897
  updatedAt: string;
5898
5898
  crop: string;
5899
- fieldId: string | null;
5900
- unit: string;
5901
5899
  quantity: number;
5900
+ unit: string;
5901
+ fieldId: string | null;
5902
5902
  createdById: string | null;
5903
5903
  createdByName: string | null;
5904
5904
  pricePerUnit: number;
@@ -5918,9 +5918,9 @@ export declare const financeRouter: {
5918
5918
  createdAt: string;
5919
5919
  updatedAt: string;
5920
5920
  crop: string;
5921
- fieldId: string | null;
5922
- unit: string;
5923
5921
  quantity: number;
5922
+ unit: string;
5923
+ fieldId: string | null;
5924
5924
  createdById: string | null;
5925
5925
  createdByName: string | null;
5926
5926
  pricePerUnit: number;
@@ -5940,9 +5940,9 @@ export declare const financeRouter: {
5940
5940
  createdAt: string;
5941
5941
  updatedAt: string;
5942
5942
  crop: string;
5943
- fieldId: string | null;
5944
- unit: string;
5945
5943
  quantity: number;
5944
+ unit: string;
5945
+ fieldId: string | null;
5946
5946
  createdById: string | null;
5947
5947
  createdByName: string | null;
5948
5948
  pricePerUnit: number;
@@ -5988,9 +5988,9 @@ export declare const financeRouter: {
5988
5988
  createdAt: string;
5989
5989
  updatedAt: string;
5990
5990
  crop: string;
5991
- fieldId: string | null;
5992
- unit: string;
5993
5991
  quantity: number;
5992
+ unit: string;
5993
+ fieldId: string | null;
5994
5994
  createdById: string | null;
5995
5995
  createdByName: string | null;
5996
5996
  pricePerUnit: number;
@@ -6022,9 +6022,9 @@ export declare const financeRouter: {
6022
6022
  createdAt: string;
6023
6023
  updatedAt: string;
6024
6024
  crop: string;
6025
- fieldId: string | null;
6026
- unit: string;
6027
6025
  quantity: number;
6026
+ unit: string;
6027
+ fieldId: string | null;
6028
6028
  createdById: string | null;
6029
6029
  createdByName: string | null;
6030
6030
  pricePerUnit: number;