@deepintel-ltd/farmpro-contracts 1.12.0 → 1.15.1
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.
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/routes/capital.routes.d.ts +70 -0
- package/dist/routes/capital.routes.d.ts.map +1 -1
- package/dist/routes/field-activities.routes.d.ts +24 -24
- package/dist/routes/finance.routes.d.ts +112 -0
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/market-intelligence.routes.d.ts +1052 -1
- package/dist/routes/market-intelligence.routes.d.ts.map +1 -1
- package/dist/routes/market-intelligence.routes.js +97 -1
- package/dist/routes/yield-prediction.routes.d.ts +133 -0
- package/dist/routes/yield-prediction.routes.d.ts.map +1 -1
- package/dist/schemas/capital.schemas.d.ts +68 -0
- package/dist/schemas/capital.schemas.d.ts.map +1 -1
- package/dist/schemas/capital.schemas.js +2 -0
- package/dist/schemas/field-activities.schemas.d.ts +18 -18
- package/dist/schemas/finance.schemas.d.ts +136 -0
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +4 -0
- package/dist/schemas/yield-prediction.schemas.d.ts +123 -0
- package/dist/schemas/yield-prediction.schemas.d.ts.map +1 -1
- package/dist/schemas/yield-prediction.schemas.js +20 -0
- package/package.json +1 -1
|
@@ -29,10 +29,10 @@ export declare const fieldActivityAttributesSchema: z.ZodObject<{
|
|
|
29
29
|
inventoryItemId: string | null;
|
|
30
30
|
unit: string | null;
|
|
31
31
|
quantity: number | null;
|
|
32
|
+
createdById: string | null;
|
|
32
33
|
productName: string | null;
|
|
33
34
|
fertilizerProductId: string | null;
|
|
34
35
|
occurredAt: string;
|
|
35
|
-
createdById: string | null;
|
|
36
36
|
fieldName?: string | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
type: "fertilizer" | "weeding";
|
|
@@ -45,10 +45,10 @@ export declare const fieldActivityAttributesSchema: z.ZodObject<{
|
|
|
45
45
|
inventoryItemId: string | null;
|
|
46
46
|
unit: string | null;
|
|
47
47
|
quantity: number | null;
|
|
48
|
+
createdById: string | null;
|
|
48
49
|
productName: string | null;
|
|
49
50
|
fertilizerProductId: string | null;
|
|
50
51
|
occurredAt: string;
|
|
51
|
-
createdById: string | null;
|
|
52
52
|
fieldName?: string | undefined;
|
|
53
53
|
}>;
|
|
54
54
|
export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -323,10 +323,10 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
323
323
|
inventoryItemId: string | null;
|
|
324
324
|
unit: string | null;
|
|
325
325
|
quantity: number | null;
|
|
326
|
+
createdById: string | null;
|
|
326
327
|
productName: string | null;
|
|
327
328
|
fertilizerProductId: string | null;
|
|
328
329
|
occurredAt: string;
|
|
329
|
-
createdById: string | null;
|
|
330
330
|
fieldName?: string | undefined;
|
|
331
331
|
}, {
|
|
332
332
|
type: "fertilizer" | "weeding";
|
|
@@ -339,10 +339,10 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
339
339
|
inventoryItemId: string | null;
|
|
340
340
|
unit: string | null;
|
|
341
341
|
quantity: number | null;
|
|
342
|
+
createdById: string | null;
|
|
342
343
|
productName: string | null;
|
|
343
344
|
fertilizerProductId: string | null;
|
|
344
345
|
occurredAt: string;
|
|
345
|
-
createdById: string | null;
|
|
346
346
|
fieldName?: string | undefined;
|
|
347
347
|
}>;
|
|
348
348
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -362,10 +362,10 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
362
362
|
inventoryItemId: string | null;
|
|
363
363
|
unit: string | null;
|
|
364
364
|
quantity: number | null;
|
|
365
|
+
createdById: string | null;
|
|
365
366
|
productName: string | null;
|
|
366
367
|
fertilizerProductId: string | null;
|
|
367
368
|
occurredAt: string;
|
|
368
|
-
createdById: string | null;
|
|
369
369
|
fieldName?: string | undefined;
|
|
370
370
|
};
|
|
371
371
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -385,10 +385,10 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
385
385
|
inventoryItemId: string | null;
|
|
386
386
|
unit: string | null;
|
|
387
387
|
quantity: number | null;
|
|
388
|
+
createdById: string | null;
|
|
388
389
|
productName: string | null;
|
|
389
390
|
fertilizerProductId: string | null;
|
|
390
391
|
occurredAt: string;
|
|
391
|
-
createdById: string | null;
|
|
392
392
|
fieldName?: string | undefined;
|
|
393
393
|
};
|
|
394
394
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -427,10 +427,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
427
427
|
inventoryItemId: string | null;
|
|
428
428
|
unit: string | null;
|
|
429
429
|
quantity: number | null;
|
|
430
|
+
createdById: string | null;
|
|
430
431
|
productName: string | null;
|
|
431
432
|
fertilizerProductId: string | null;
|
|
432
433
|
occurredAt: string;
|
|
433
|
-
createdById: string | null;
|
|
434
434
|
fieldName?: string | undefined;
|
|
435
435
|
}, {
|
|
436
436
|
type: "fertilizer" | "weeding";
|
|
@@ -443,10 +443,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
443
443
|
inventoryItemId: string | null;
|
|
444
444
|
unit: string | null;
|
|
445
445
|
quantity: number | null;
|
|
446
|
+
createdById: string | null;
|
|
446
447
|
productName: string | null;
|
|
447
448
|
fertilizerProductId: string | null;
|
|
448
449
|
occurredAt: string;
|
|
449
|
-
createdById: string | null;
|
|
450
450
|
fieldName?: string | undefined;
|
|
451
451
|
}>;
|
|
452
452
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -466,10 +466,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
466
466
|
inventoryItemId: string | null;
|
|
467
467
|
unit: string | null;
|
|
468
468
|
quantity: number | null;
|
|
469
|
+
createdById: string | null;
|
|
469
470
|
productName: string | null;
|
|
470
471
|
fertilizerProductId: string | null;
|
|
471
472
|
occurredAt: string;
|
|
472
|
-
createdById: string | null;
|
|
473
473
|
fieldName?: string | undefined;
|
|
474
474
|
};
|
|
475
475
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -489,10 +489,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
489
489
|
inventoryItemId: string | null;
|
|
490
490
|
unit: string | null;
|
|
491
491
|
quantity: number | null;
|
|
492
|
+
createdById: string | null;
|
|
492
493
|
productName: string | null;
|
|
493
494
|
fertilizerProductId: string | null;
|
|
494
495
|
occurredAt: string;
|
|
495
|
-
createdById: string | null;
|
|
496
496
|
fieldName?: string | undefined;
|
|
497
497
|
};
|
|
498
498
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -538,10 +538,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
538
538
|
inventoryItemId: string | null;
|
|
539
539
|
unit: string | null;
|
|
540
540
|
quantity: number | null;
|
|
541
|
+
createdById: string | null;
|
|
541
542
|
productName: string | null;
|
|
542
543
|
fertilizerProductId: string | null;
|
|
543
544
|
occurredAt: string;
|
|
544
|
-
createdById: string | null;
|
|
545
545
|
fieldName?: string | undefined;
|
|
546
546
|
};
|
|
547
547
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -573,10 +573,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
573
573
|
inventoryItemId: string | null;
|
|
574
574
|
unit: string | null;
|
|
575
575
|
quantity: number | null;
|
|
576
|
+
createdById: string | null;
|
|
576
577
|
productName: string | null;
|
|
577
578
|
fertilizerProductId: string | null;
|
|
578
579
|
occurredAt: string;
|
|
579
|
-
createdById: string | null;
|
|
580
580
|
fieldName?: string | undefined;
|
|
581
581
|
};
|
|
582
582
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -626,10 +626,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
626
626
|
inventoryItemId: string | null;
|
|
627
627
|
unit: string | null;
|
|
628
628
|
quantity: number | null;
|
|
629
|
+
createdById: string | null;
|
|
629
630
|
productName: string | null;
|
|
630
631
|
fertilizerProductId: string | null;
|
|
631
632
|
occurredAt: string;
|
|
632
|
-
createdById: string | null;
|
|
633
633
|
fieldName?: string | undefined;
|
|
634
634
|
}, {
|
|
635
635
|
type: "fertilizer" | "weeding";
|
|
@@ -642,10 +642,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
642
642
|
inventoryItemId: string | null;
|
|
643
643
|
unit: string | null;
|
|
644
644
|
quantity: number | null;
|
|
645
|
+
createdById: string | null;
|
|
645
646
|
productName: string | null;
|
|
646
647
|
fertilizerProductId: string | null;
|
|
647
648
|
occurredAt: string;
|
|
648
|
-
createdById: string | null;
|
|
649
649
|
fieldName?: string | undefined;
|
|
650
650
|
}>;
|
|
651
651
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -665,10 +665,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
665
665
|
inventoryItemId: string | null;
|
|
666
666
|
unit: string | null;
|
|
667
667
|
quantity: number | null;
|
|
668
|
+
createdById: string | null;
|
|
668
669
|
productName: string | null;
|
|
669
670
|
fertilizerProductId: string | null;
|
|
670
671
|
occurredAt: string;
|
|
671
|
-
createdById: string | null;
|
|
672
672
|
fieldName?: string | undefined;
|
|
673
673
|
};
|
|
674
674
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -688,10 +688,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
688
688
|
inventoryItemId: string | null;
|
|
689
689
|
unit: string | null;
|
|
690
690
|
quantity: number | null;
|
|
691
|
+
createdById: string | null;
|
|
691
692
|
productName: string | null;
|
|
692
693
|
fertilizerProductId: string | null;
|
|
693
694
|
occurredAt: string;
|
|
694
|
-
createdById: string | null;
|
|
695
695
|
fieldName?: string | undefined;
|
|
696
696
|
};
|
|
697
697
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -737,10 +737,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
737
737
|
inventoryItemId: string | null;
|
|
738
738
|
unit: string | null;
|
|
739
739
|
quantity: number | null;
|
|
740
|
+
createdById: string | null;
|
|
740
741
|
productName: string | null;
|
|
741
742
|
fertilizerProductId: string | null;
|
|
742
743
|
occurredAt: string;
|
|
743
|
-
createdById: string | null;
|
|
744
744
|
fieldName?: string | undefined;
|
|
745
745
|
};
|
|
746
746
|
relationships?: Record<string, unknown> | undefined;
|
|
@@ -772,10 +772,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
772
772
|
inventoryItemId: string | null;
|
|
773
773
|
unit: string | null;
|
|
774
774
|
quantity: number | null;
|
|
775
|
+
createdById: string | null;
|
|
775
776
|
productName: string | null;
|
|
776
777
|
fertilizerProductId: string | null;
|
|
777
778
|
occurredAt: string;
|
|
778
|
-
createdById: string | null;
|
|
779
779
|
fieldName?: string | undefined;
|
|
780
780
|
};
|
|
781
781
|
relationships?: Record<string, unknown> | undefined;
|