@deepintel-ltd/farmpro-contracts 1.32.0 → 1.34.0
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/routes/fields.routes.d.ts +70 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/trade-cash-events.routes.d.ts +31 -31
- package/dist/schemas/fields.schemas.d.ts +48 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +3 -0
- package/dist/schemas/trade-cash-events.schemas.d.ts +31 -31
- package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -1
- package/dist/schemas/trade-cash-events.schemas.js +1 -0
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
9
9
|
organizationId: string;
|
|
10
10
|
}>;
|
|
11
11
|
query: z.ZodObject<{
|
|
12
|
-
type: z.ZodOptional<z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>>;
|
|
12
|
+
type: z.ZodOptional<z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "deal_cost_adjustment", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>>;
|
|
13
13
|
dealId: z.ZodOptional<z.ZodString>;
|
|
14
14
|
invoiceId: z.ZodOptional<z.ZodString>;
|
|
15
15
|
partyId: z.ZodOptional<z.ZodString>;
|
|
@@ -17,7 +17,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
17
17
|
page: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
type?: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff" | undefined;
|
|
20
|
+
type?: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff" | undefined;
|
|
21
21
|
pageSize?: number | undefined;
|
|
22
22
|
invoiceId?: string | undefined;
|
|
23
23
|
dealId?: string | undefined;
|
|
@@ -25,7 +25,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
25
25
|
includeVoided?: boolean | undefined;
|
|
26
26
|
page?: number | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
type?: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff" | undefined;
|
|
28
|
+
type?: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff" | undefined;
|
|
29
29
|
pageSize?: number | undefined;
|
|
30
30
|
invoiceId?: string | undefined;
|
|
31
31
|
dealId?: string | undefined;
|
|
@@ -43,7 +43,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
43
43
|
id: z.ZodString;
|
|
44
44
|
attributes: z.ZodObject<{
|
|
45
45
|
organizationId: z.ZodString;
|
|
46
|
-
type: z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>;
|
|
46
|
+
type: z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "deal_cost_adjustment", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>;
|
|
47
47
|
partyType: z.ZodEnum<["investor", "staff", "supplier", "buyer", "broker", "other", "company"]>;
|
|
48
48
|
partyId: z.ZodString;
|
|
49
49
|
partyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -66,7 +66,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
66
66
|
createdAt: z.ZodString;
|
|
67
67
|
updatedAt: z.ZodString;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
69
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
70
70
|
createdAt: string;
|
|
71
71
|
updatedAt: string;
|
|
72
72
|
currency: string;
|
|
@@ -89,7 +89,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
89
89
|
voidedById?: string | null | undefined;
|
|
90
90
|
voidReason?: string | null | undefined;
|
|
91
91
|
}, {
|
|
92
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
92
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
93
93
|
createdAt: string;
|
|
94
94
|
updatedAt: string;
|
|
95
95
|
organizationId: string;
|
|
@@ -119,7 +119,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
119
119
|
type: string;
|
|
120
120
|
id: string;
|
|
121
121
|
attributes: {
|
|
122
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
122
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
123
123
|
createdAt: string;
|
|
124
124
|
updatedAt: string;
|
|
125
125
|
currency: string;
|
|
@@ -149,7 +149,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
149
149
|
type: string;
|
|
150
150
|
id: string;
|
|
151
151
|
attributes: {
|
|
152
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
152
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
153
153
|
createdAt: string;
|
|
154
154
|
updatedAt: string;
|
|
155
155
|
organizationId: string;
|
|
@@ -205,7 +205,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
205
205
|
type: string;
|
|
206
206
|
id: string;
|
|
207
207
|
attributes: {
|
|
208
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
208
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
209
209
|
createdAt: string;
|
|
210
210
|
updatedAt: string;
|
|
211
211
|
currency: string;
|
|
@@ -247,7 +247,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
247
247
|
type: string;
|
|
248
248
|
id: string;
|
|
249
249
|
attributes: {
|
|
250
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
250
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
251
251
|
createdAt: string;
|
|
252
252
|
updatedAt: string;
|
|
253
253
|
organizationId: string;
|
|
@@ -571,7 +571,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
571
571
|
data: z.ZodObject<{
|
|
572
572
|
type: z.ZodLiteral<"trade-cash-events">;
|
|
573
573
|
attributes: z.ZodObject<{
|
|
574
|
-
type: z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>;
|
|
574
|
+
type: z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "deal_cost_adjustment", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>;
|
|
575
575
|
partyType: z.ZodEnum<["investor", "staff", "supplier", "buyer", "broker", "other", "company"]>;
|
|
576
576
|
partyId: z.ZodString;
|
|
577
577
|
partyName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -588,7 +588,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
588
588
|
funderName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
589
589
|
advanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
590
590
|
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
591
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
592
592
|
currency: string;
|
|
593
593
|
occurredAt: string;
|
|
594
594
|
amount: number;
|
|
@@ -605,7 +605,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
605
605
|
funderName?: string | null | undefined;
|
|
606
606
|
advanceId?: string | null | undefined;
|
|
607
607
|
}, {
|
|
608
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
608
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
609
609
|
occurredAt: string;
|
|
610
610
|
amount: number;
|
|
611
611
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -625,7 +625,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
625
625
|
}, "strip", z.ZodTypeAny, {
|
|
626
626
|
type: "trade-cash-events";
|
|
627
627
|
attributes: {
|
|
628
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
628
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
629
629
|
currency: string;
|
|
630
630
|
occurredAt: string;
|
|
631
631
|
amount: number;
|
|
@@ -645,7 +645,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
645
645
|
}, {
|
|
646
646
|
type: "trade-cash-events";
|
|
647
647
|
attributes: {
|
|
648
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
648
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
649
649
|
occurredAt: string;
|
|
650
650
|
amount: number;
|
|
651
651
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -667,7 +667,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
667
667
|
data: {
|
|
668
668
|
type: "trade-cash-events";
|
|
669
669
|
attributes: {
|
|
670
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
670
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
671
671
|
currency: string;
|
|
672
672
|
occurredAt: string;
|
|
673
673
|
amount: number;
|
|
@@ -689,7 +689,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
689
689
|
data: {
|
|
690
690
|
type: "trade-cash-events";
|
|
691
691
|
attributes: {
|
|
692
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
692
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
693
693
|
occurredAt: string;
|
|
694
694
|
amount: number;
|
|
695
695
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -716,7 +716,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
716
716
|
id: z.ZodString;
|
|
717
717
|
attributes: z.ZodObject<{
|
|
718
718
|
organizationId: z.ZodString;
|
|
719
|
-
type: z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>;
|
|
719
|
+
type: z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "deal_cost_adjustment", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>;
|
|
720
720
|
partyType: z.ZodEnum<["investor", "staff", "supplier", "buyer", "broker", "other", "company"]>;
|
|
721
721
|
partyId: z.ZodString;
|
|
722
722
|
partyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -739,7 +739,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
739
739
|
createdAt: z.ZodString;
|
|
740
740
|
updatedAt: z.ZodString;
|
|
741
741
|
}, "strip", z.ZodTypeAny, {
|
|
742
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
742
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
743
743
|
createdAt: string;
|
|
744
744
|
updatedAt: string;
|
|
745
745
|
currency: string;
|
|
@@ -762,7 +762,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
762
762
|
voidedById?: string | null | undefined;
|
|
763
763
|
voidReason?: string | null | undefined;
|
|
764
764
|
}, {
|
|
765
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
765
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
766
766
|
createdAt: string;
|
|
767
767
|
updatedAt: string;
|
|
768
768
|
organizationId: string;
|
|
@@ -792,7 +792,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
792
792
|
type: string;
|
|
793
793
|
id: string;
|
|
794
794
|
attributes: {
|
|
795
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
795
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
796
796
|
createdAt: string;
|
|
797
797
|
updatedAt: string;
|
|
798
798
|
currency: string;
|
|
@@ -822,7 +822,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
822
822
|
type: string;
|
|
823
823
|
id: string;
|
|
824
824
|
attributes: {
|
|
825
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
825
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
826
826
|
createdAt: string;
|
|
827
827
|
updatedAt: string;
|
|
828
828
|
organizationId: string;
|
|
@@ -878,7 +878,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
878
878
|
type: string;
|
|
879
879
|
id: string;
|
|
880
880
|
attributes: {
|
|
881
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
881
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
882
882
|
createdAt: string;
|
|
883
883
|
updatedAt: string;
|
|
884
884
|
currency: string;
|
|
@@ -920,7 +920,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
920
920
|
type: string;
|
|
921
921
|
id: string;
|
|
922
922
|
attributes: {
|
|
923
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
923
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
924
924
|
createdAt: string;
|
|
925
925
|
updatedAt: string;
|
|
926
926
|
organizationId: string;
|
|
@@ -1378,7 +1378,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
1378
1378
|
id: z.ZodString;
|
|
1379
1379
|
attributes: z.ZodObject<{
|
|
1380
1380
|
organizationId: z.ZodString;
|
|
1381
|
-
type: z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>;
|
|
1381
|
+
type: z.ZodEnum<["capital_in", "capital_out", "deal_allocate", "deal_return", "deal_cost_adjustment", "commission_payout", "supplier_payment", "buyer_receipt", "advance_disburse", "advance_handoff", "advance_settle", "advance_return", "advance_writeoff"]>;
|
|
1382
1382
|
partyType: z.ZodEnum<["investor", "staff", "supplier", "buyer", "broker", "other", "company"]>;
|
|
1383
1383
|
partyId: z.ZodString;
|
|
1384
1384
|
partyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1401,7 +1401,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
1401
1401
|
createdAt: z.ZodString;
|
|
1402
1402
|
updatedAt: z.ZodString;
|
|
1403
1403
|
}, "strip", z.ZodTypeAny, {
|
|
1404
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1404
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1405
1405
|
createdAt: string;
|
|
1406
1406
|
updatedAt: string;
|
|
1407
1407
|
currency: string;
|
|
@@ -1424,7 +1424,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
1424
1424
|
voidedById?: string | null | undefined;
|
|
1425
1425
|
voidReason?: string | null | undefined;
|
|
1426
1426
|
}, {
|
|
1427
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1427
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1428
1428
|
createdAt: string;
|
|
1429
1429
|
updatedAt: string;
|
|
1430
1430
|
organizationId: string;
|
|
@@ -1454,7 +1454,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
1454
1454
|
type: string;
|
|
1455
1455
|
id: string;
|
|
1456
1456
|
attributes: {
|
|
1457
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1457
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1458
1458
|
createdAt: string;
|
|
1459
1459
|
updatedAt: string;
|
|
1460
1460
|
currency: string;
|
|
@@ -1484,7 +1484,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
1484
1484
|
type: string;
|
|
1485
1485
|
id: string;
|
|
1486
1486
|
attributes: {
|
|
1487
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1487
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1488
1488
|
createdAt: string;
|
|
1489
1489
|
updatedAt: string;
|
|
1490
1490
|
organizationId: string;
|
|
@@ -1540,7 +1540,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
1540
1540
|
type: string;
|
|
1541
1541
|
id: string;
|
|
1542
1542
|
attributes: {
|
|
1543
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1543
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1544
1544
|
createdAt: string;
|
|
1545
1545
|
updatedAt: string;
|
|
1546
1546
|
currency: string;
|
|
@@ -1582,7 +1582,7 @@ export declare const tradeCashEventsRouter: {
|
|
|
1582
1582
|
type: string;
|
|
1583
1583
|
id: string;
|
|
1584
1584
|
attributes: {
|
|
1585
|
-
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1585
|
+
type: "capital_in" | "capital_out" | "deal_allocate" | "deal_return" | "deal_cost_adjustment" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
1586
1586
|
createdAt: string;
|
|
1587
1587
|
updatedAt: string;
|
|
1588
1588
|
organizationId: string;
|
|
@@ -62,6 +62,8 @@ export declare const fieldAttributesSchema: z.ZodObject<{
|
|
|
62
62
|
soilType: z.ZodNullable<z.ZodString>;
|
|
63
63
|
currentCrop: z.ZodNullable<z.ZodString>;
|
|
64
64
|
plantingDate: z.ZodNullable<z.ZodString>;
|
|
65
|
+
/** Day seedlings went into the field (pepper nursery). Null until confirmed. */
|
|
66
|
+
transplantedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
67
|
expectedHarvestDate: z.ZodNullable<z.ZodString>;
|
|
66
68
|
cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "fruiting", "mature", "harvested"]>>;
|
|
67
69
|
/** Established plant population (plants per hectare). Null if not recorded. */
|
|
@@ -130,6 +132,7 @@ export declare const fieldAttributesSchema: z.ZodObject<{
|
|
|
130
132
|
soilType: string | null;
|
|
131
133
|
expectedHarvestDate: string | null;
|
|
132
134
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
135
|
+
transplantedAt?: string | null | undefined;
|
|
133
136
|
standCountPerHa?: number | null | undefined;
|
|
134
137
|
targetStandPerHa?: number | null | undefined;
|
|
135
138
|
coverImage?: string | null | undefined;
|
|
@@ -166,6 +169,7 @@ export declare const fieldAttributesSchema: z.ZodObject<{
|
|
|
166
169
|
soilType: string | null;
|
|
167
170
|
expectedHarvestDate: string | null;
|
|
168
171
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
172
|
+
transplantedAt?: string | null | undefined;
|
|
169
173
|
standCountPerHa?: number | null | undefined;
|
|
170
174
|
targetStandPerHa?: number | null | undefined;
|
|
171
175
|
coverImage?: string | null | undefined;
|
|
@@ -260,6 +264,7 @@ export declare const updateFieldAttributesSchema: z.ZodObject<{
|
|
|
260
264
|
area: z.ZodOptional<z.ZodNumber>;
|
|
261
265
|
currentCrop: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
262
266
|
plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
267
|
+
transplantedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
268
|
expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
264
269
|
cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "fruiting", "mature", "harvested"]>>>;
|
|
265
270
|
standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -306,6 +311,7 @@ export declare const updateFieldAttributesSchema: z.ZodObject<{
|
|
|
306
311
|
ndvi?: number | undefined;
|
|
307
312
|
moisture?: string | undefined;
|
|
308
313
|
soilType?: string | undefined;
|
|
314
|
+
transplantedAt?: string | null | undefined;
|
|
309
315
|
expectedHarvestDate?: string | null | undefined;
|
|
310
316
|
cropStage?: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null | undefined;
|
|
311
317
|
standCountPerHa?: number | null | undefined;
|
|
@@ -334,6 +340,7 @@ export declare const updateFieldAttributesSchema: z.ZodObject<{
|
|
|
334
340
|
ndvi?: number | undefined;
|
|
335
341
|
moisture?: string | undefined;
|
|
336
342
|
soilType?: string | undefined;
|
|
343
|
+
transplantedAt?: string | null | undefined;
|
|
337
344
|
expectedHarvestDate?: string | null | undefined;
|
|
338
345
|
cropStage?: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null | undefined;
|
|
339
346
|
standCountPerHa?: number | null | undefined;
|
|
@@ -662,6 +669,7 @@ export declare const updateFieldSchema: z.ZodObject<{
|
|
|
662
669
|
area: z.ZodOptional<z.ZodNumber>;
|
|
663
670
|
currentCrop: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
664
671
|
plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
672
|
+
transplantedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
665
673
|
expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
666
674
|
cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "fruiting", "mature", "harvested"]>>>;
|
|
667
675
|
standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -708,6 +716,7 @@ export declare const updateFieldSchema: z.ZodObject<{
|
|
|
708
716
|
ndvi?: number | undefined;
|
|
709
717
|
moisture?: string | undefined;
|
|
710
718
|
soilType?: string | undefined;
|
|
719
|
+
transplantedAt?: string | null | undefined;
|
|
711
720
|
expectedHarvestDate?: string | null | undefined;
|
|
712
721
|
cropStage?: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null | undefined;
|
|
713
722
|
standCountPerHa?: number | null | undefined;
|
|
@@ -736,6 +745,7 @@ export declare const updateFieldSchema: z.ZodObject<{
|
|
|
736
745
|
ndvi?: number | undefined;
|
|
737
746
|
moisture?: string | undefined;
|
|
738
747
|
soilType?: string | undefined;
|
|
748
|
+
transplantedAt?: string | null | undefined;
|
|
739
749
|
expectedHarvestDate?: string | null | undefined;
|
|
740
750
|
cropStage?: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null | undefined;
|
|
741
751
|
standCountPerHa?: number | null | undefined;
|
|
@@ -768,6 +778,7 @@ export declare const updateFieldSchema: z.ZodObject<{
|
|
|
768
778
|
ndvi?: number | undefined;
|
|
769
779
|
moisture?: string | undefined;
|
|
770
780
|
soilType?: string | undefined;
|
|
781
|
+
transplantedAt?: string | null | undefined;
|
|
771
782
|
expectedHarvestDate?: string | null | undefined;
|
|
772
783
|
cropStage?: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null | undefined;
|
|
773
784
|
standCountPerHa?: number | null | undefined;
|
|
@@ -800,6 +811,7 @@ export declare const updateFieldSchema: z.ZodObject<{
|
|
|
800
811
|
ndvi?: number | undefined;
|
|
801
812
|
moisture?: string | undefined;
|
|
802
813
|
soilType?: string | undefined;
|
|
814
|
+
transplantedAt?: string | null | undefined;
|
|
803
815
|
expectedHarvestDate?: string | null | undefined;
|
|
804
816
|
cropStage?: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null | undefined;
|
|
805
817
|
standCountPerHa?: number | null | undefined;
|
|
@@ -840,6 +852,8 @@ export declare const fieldResourceSchema: z.ZodObject<{
|
|
|
840
852
|
soilType: z.ZodNullable<z.ZodString>;
|
|
841
853
|
currentCrop: z.ZodNullable<z.ZodString>;
|
|
842
854
|
plantingDate: z.ZodNullable<z.ZodString>;
|
|
855
|
+
/** Day seedlings went into the field (pepper nursery). Null until confirmed. */
|
|
856
|
+
transplantedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
843
857
|
expectedHarvestDate: z.ZodNullable<z.ZodString>;
|
|
844
858
|
cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "fruiting", "mature", "harvested"]>>;
|
|
845
859
|
/** Established plant population (plants per hectare). Null if not recorded. */
|
|
@@ -908,6 +922,7 @@ export declare const fieldResourceSchema: z.ZodObject<{
|
|
|
908
922
|
soilType: string | null;
|
|
909
923
|
expectedHarvestDate: string | null;
|
|
910
924
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
925
|
+
transplantedAt?: string | null | undefined;
|
|
911
926
|
standCountPerHa?: number | null | undefined;
|
|
912
927
|
targetStandPerHa?: number | null | undefined;
|
|
913
928
|
coverImage?: string | null | undefined;
|
|
@@ -944,6 +959,7 @@ export declare const fieldResourceSchema: z.ZodObject<{
|
|
|
944
959
|
soilType: string | null;
|
|
945
960
|
expectedHarvestDate: string | null;
|
|
946
961
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
962
|
+
transplantedAt?: string | null | undefined;
|
|
947
963
|
standCountPerHa?: number | null | undefined;
|
|
948
964
|
targetStandPerHa?: number | null | undefined;
|
|
949
965
|
coverImage?: string | null | undefined;
|
|
@@ -987,6 +1003,7 @@ export declare const fieldResourceSchema: z.ZodObject<{
|
|
|
987
1003
|
soilType: string | null;
|
|
988
1004
|
expectedHarvestDate: string | null;
|
|
989
1005
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1006
|
+
transplantedAt?: string | null | undefined;
|
|
990
1007
|
standCountPerHa?: number | null | undefined;
|
|
991
1008
|
targetStandPerHa?: number | null | undefined;
|
|
992
1009
|
coverImage?: string | null | undefined;
|
|
@@ -1030,6 +1047,7 @@ export declare const fieldResourceSchema: z.ZodObject<{
|
|
|
1030
1047
|
soilType: string | null;
|
|
1031
1048
|
expectedHarvestDate: string | null;
|
|
1032
1049
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1050
|
+
transplantedAt?: string | null | undefined;
|
|
1033
1051
|
standCountPerHa?: number | null | undefined;
|
|
1034
1052
|
targetStandPerHa?: number | null | undefined;
|
|
1035
1053
|
coverImage?: string | null | undefined;
|
|
@@ -1076,6 +1094,8 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
|
|
|
1076
1094
|
soilType: z.ZodNullable<z.ZodString>;
|
|
1077
1095
|
currentCrop: z.ZodNullable<z.ZodString>;
|
|
1078
1096
|
plantingDate: z.ZodNullable<z.ZodString>;
|
|
1097
|
+
/** Day seedlings went into the field (pepper nursery). Null until confirmed. */
|
|
1098
|
+
transplantedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1079
1099
|
expectedHarvestDate: z.ZodNullable<z.ZodString>;
|
|
1080
1100
|
cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "fruiting", "mature", "harvested"]>>;
|
|
1081
1101
|
/** Established plant population (plants per hectare). Null if not recorded. */
|
|
@@ -1144,6 +1164,7 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
|
|
|
1144
1164
|
soilType: string | null;
|
|
1145
1165
|
expectedHarvestDate: string | null;
|
|
1146
1166
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1167
|
+
transplantedAt?: string | null | undefined;
|
|
1147
1168
|
standCountPerHa?: number | null | undefined;
|
|
1148
1169
|
targetStandPerHa?: number | null | undefined;
|
|
1149
1170
|
coverImage?: string | null | undefined;
|
|
@@ -1180,6 +1201,7 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
|
|
|
1180
1201
|
soilType: string | null;
|
|
1181
1202
|
expectedHarvestDate: string | null;
|
|
1182
1203
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1204
|
+
transplantedAt?: string | null | undefined;
|
|
1183
1205
|
standCountPerHa?: number | null | undefined;
|
|
1184
1206
|
targetStandPerHa?: number | null | undefined;
|
|
1185
1207
|
coverImage?: string | null | undefined;
|
|
@@ -1418,6 +1440,7 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
|
|
|
1418
1440
|
soilType: string | null;
|
|
1419
1441
|
expectedHarvestDate: string | null;
|
|
1420
1442
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1443
|
+
transplantedAt?: string | null | undefined;
|
|
1421
1444
|
standCountPerHa?: number | null | undefined;
|
|
1422
1445
|
targetStandPerHa?: number | null | undefined;
|
|
1423
1446
|
coverImage?: string | null | undefined;
|
|
@@ -1495,6 +1518,7 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
|
|
|
1495
1518
|
soilType: string | null;
|
|
1496
1519
|
expectedHarvestDate: string | null;
|
|
1497
1520
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1521
|
+
transplantedAt?: string | null | undefined;
|
|
1498
1522
|
standCountPerHa?: number | null | undefined;
|
|
1499
1523
|
targetStandPerHa?: number | null | undefined;
|
|
1500
1524
|
coverImage?: string | null | undefined;
|
|
@@ -1576,6 +1600,8 @@ export declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1576
1600
|
soilType: z.ZodNullable<z.ZodString>;
|
|
1577
1601
|
currentCrop: z.ZodNullable<z.ZodString>;
|
|
1578
1602
|
plantingDate: z.ZodNullable<z.ZodString>;
|
|
1603
|
+
/** Day seedlings went into the field (pepper nursery). Null until confirmed. */
|
|
1604
|
+
transplantedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1579
1605
|
expectedHarvestDate: z.ZodNullable<z.ZodString>;
|
|
1580
1606
|
cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "fruiting", "mature", "harvested"]>>;
|
|
1581
1607
|
/** Established plant population (plants per hectare). Null if not recorded. */
|
|
@@ -1644,6 +1670,7 @@ export declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1644
1670
|
soilType: string | null;
|
|
1645
1671
|
expectedHarvestDate: string | null;
|
|
1646
1672
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1673
|
+
transplantedAt?: string | null | undefined;
|
|
1647
1674
|
standCountPerHa?: number | null | undefined;
|
|
1648
1675
|
targetStandPerHa?: number | null | undefined;
|
|
1649
1676
|
coverImage?: string | null | undefined;
|
|
@@ -1680,6 +1707,7 @@ export declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1680
1707
|
soilType: string | null;
|
|
1681
1708
|
expectedHarvestDate: string | null;
|
|
1682
1709
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1710
|
+
transplantedAt?: string | null | undefined;
|
|
1683
1711
|
standCountPerHa?: number | null | undefined;
|
|
1684
1712
|
targetStandPerHa?: number | null | undefined;
|
|
1685
1713
|
coverImage?: string | null | undefined;
|
|
@@ -1723,6 +1751,7 @@ export declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1723
1751
|
soilType: string | null;
|
|
1724
1752
|
expectedHarvestDate: string | null;
|
|
1725
1753
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1754
|
+
transplantedAt?: string | null | undefined;
|
|
1726
1755
|
standCountPerHa?: number | null | undefined;
|
|
1727
1756
|
targetStandPerHa?: number | null | undefined;
|
|
1728
1757
|
coverImage?: string | null | undefined;
|
|
@@ -1766,6 +1795,7 @@ export declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1766
1795
|
soilType: string | null;
|
|
1767
1796
|
expectedHarvestDate: string | null;
|
|
1768
1797
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1798
|
+
transplantedAt?: string | null | undefined;
|
|
1769
1799
|
standCountPerHa?: number | null | undefined;
|
|
1770
1800
|
targetStandPerHa?: number | null | undefined;
|
|
1771
1801
|
coverImage?: string | null | undefined;
|
|
@@ -1835,6 +1865,7 @@ export declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1835
1865
|
soilType: string | null;
|
|
1836
1866
|
expectedHarvestDate: string | null;
|
|
1837
1867
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1868
|
+
transplantedAt?: string | null | undefined;
|
|
1838
1869
|
standCountPerHa?: number | null | undefined;
|
|
1839
1870
|
targetStandPerHa?: number | null | undefined;
|
|
1840
1871
|
coverImage?: string | null | undefined;
|
|
@@ -1890,6 +1921,7 @@ export declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1890
1921
|
soilType: string | null;
|
|
1891
1922
|
expectedHarvestDate: string | null;
|
|
1892
1923
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
1924
|
+
transplantedAt?: string | null | undefined;
|
|
1893
1925
|
standCountPerHa?: number | null | undefined;
|
|
1894
1926
|
targetStandPerHa?: number | null | undefined;
|
|
1895
1927
|
coverImage?: string | null | undefined;
|
|
@@ -1948,6 +1980,8 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
|
|
|
1948
1980
|
soilType: z.ZodNullable<z.ZodString>;
|
|
1949
1981
|
currentCrop: z.ZodNullable<z.ZodString>;
|
|
1950
1982
|
plantingDate: z.ZodNullable<z.ZodString>;
|
|
1983
|
+
/** Day seedlings went into the field (pepper nursery). Null until confirmed. */
|
|
1984
|
+
transplantedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1951
1985
|
expectedHarvestDate: z.ZodNullable<z.ZodString>;
|
|
1952
1986
|
cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "fruiting", "mature", "harvested"]>>;
|
|
1953
1987
|
/** Established plant population (plants per hectare). Null if not recorded. */
|
|
@@ -2016,6 +2050,7 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
|
|
|
2016
2050
|
soilType: string | null;
|
|
2017
2051
|
expectedHarvestDate: string | null;
|
|
2018
2052
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2053
|
+
transplantedAt?: string | null | undefined;
|
|
2019
2054
|
standCountPerHa?: number | null | undefined;
|
|
2020
2055
|
targetStandPerHa?: number | null | undefined;
|
|
2021
2056
|
coverImage?: string | null | undefined;
|
|
@@ -2052,6 +2087,7 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
|
|
|
2052
2087
|
soilType: string | null;
|
|
2053
2088
|
expectedHarvestDate: string | null;
|
|
2054
2089
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2090
|
+
transplantedAt?: string | null | undefined;
|
|
2055
2091
|
standCountPerHa?: number | null | undefined;
|
|
2056
2092
|
targetStandPerHa?: number | null | undefined;
|
|
2057
2093
|
coverImage?: string | null | undefined;
|
|
@@ -2290,6 +2326,7 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
|
|
|
2290
2326
|
soilType: string | null;
|
|
2291
2327
|
expectedHarvestDate: string | null;
|
|
2292
2328
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2329
|
+
transplantedAt?: string | null | undefined;
|
|
2293
2330
|
standCountPerHa?: number | null | undefined;
|
|
2294
2331
|
targetStandPerHa?: number | null | undefined;
|
|
2295
2332
|
coverImage?: string | null | undefined;
|
|
@@ -2367,6 +2404,7 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
|
|
|
2367
2404
|
soilType: string | null;
|
|
2368
2405
|
expectedHarvestDate: string | null;
|
|
2369
2406
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2407
|
+
transplantedAt?: string | null | undefined;
|
|
2370
2408
|
standCountPerHa?: number | null | undefined;
|
|
2371
2409
|
targetStandPerHa?: number | null | undefined;
|
|
2372
2410
|
coverImage?: string | null | undefined;
|
|
@@ -2470,6 +2508,7 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
|
|
|
2470
2508
|
soilType: string | null;
|
|
2471
2509
|
expectedHarvestDate: string | null;
|
|
2472
2510
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2511
|
+
transplantedAt?: string | null | undefined;
|
|
2473
2512
|
standCountPerHa?: number | null | undefined;
|
|
2474
2513
|
targetStandPerHa?: number | null | undefined;
|
|
2475
2514
|
coverImage?: string | null | undefined;
|
|
@@ -2559,6 +2598,7 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
|
|
|
2559
2598
|
soilType: string | null;
|
|
2560
2599
|
expectedHarvestDate: string | null;
|
|
2561
2600
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2601
|
+
transplantedAt?: string | null | undefined;
|
|
2562
2602
|
standCountPerHa?: number | null | undefined;
|
|
2563
2603
|
targetStandPerHa?: number | null | undefined;
|
|
2564
2604
|
coverImage?: string | null | undefined;
|
|
@@ -2651,6 +2691,8 @@ export declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
2651
2691
|
soilType: z.ZodNullable<z.ZodString>;
|
|
2652
2692
|
currentCrop: z.ZodNullable<z.ZodString>;
|
|
2653
2693
|
plantingDate: z.ZodNullable<z.ZodString>;
|
|
2694
|
+
/** Day seedlings went into the field (pepper nursery). Null until confirmed. */
|
|
2695
|
+
transplantedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2654
2696
|
expectedHarvestDate: z.ZodNullable<z.ZodString>;
|
|
2655
2697
|
cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "fruiting", "mature", "harvested"]>>;
|
|
2656
2698
|
/** Established plant population (plants per hectare). Null if not recorded. */
|
|
@@ -2719,6 +2761,7 @@ export declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
2719
2761
|
soilType: string | null;
|
|
2720
2762
|
expectedHarvestDate: string | null;
|
|
2721
2763
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2764
|
+
transplantedAt?: string | null | undefined;
|
|
2722
2765
|
standCountPerHa?: number | null | undefined;
|
|
2723
2766
|
targetStandPerHa?: number | null | undefined;
|
|
2724
2767
|
coverImage?: string | null | undefined;
|
|
@@ -2755,6 +2798,7 @@ export declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
2755
2798
|
soilType: string | null;
|
|
2756
2799
|
expectedHarvestDate: string | null;
|
|
2757
2800
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2801
|
+
transplantedAt?: string | null | undefined;
|
|
2758
2802
|
standCountPerHa?: number | null | undefined;
|
|
2759
2803
|
targetStandPerHa?: number | null | undefined;
|
|
2760
2804
|
coverImage?: string | null | undefined;
|
|
@@ -2798,6 +2842,7 @@ export declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
2798
2842
|
soilType: string | null;
|
|
2799
2843
|
expectedHarvestDate: string | null;
|
|
2800
2844
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2845
|
+
transplantedAt?: string | null | undefined;
|
|
2801
2846
|
standCountPerHa?: number | null | undefined;
|
|
2802
2847
|
targetStandPerHa?: number | null | undefined;
|
|
2803
2848
|
coverImage?: string | null | undefined;
|
|
@@ -2841,6 +2886,7 @@ export declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
2841
2886
|
soilType: string | null;
|
|
2842
2887
|
expectedHarvestDate: string | null;
|
|
2843
2888
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2889
|
+
transplantedAt?: string | null | undefined;
|
|
2844
2890
|
standCountPerHa?: number | null | undefined;
|
|
2845
2891
|
targetStandPerHa?: number | null | undefined;
|
|
2846
2892
|
coverImage?: string | null | undefined;
|
|
@@ -2910,6 +2956,7 @@ export declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
2910
2956
|
soilType: string | null;
|
|
2911
2957
|
expectedHarvestDate: string | null;
|
|
2912
2958
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
2959
|
+
transplantedAt?: string | null | undefined;
|
|
2913
2960
|
standCountPerHa?: number | null | undefined;
|
|
2914
2961
|
targetStandPerHa?: number | null | undefined;
|
|
2915
2962
|
coverImage?: string | null | undefined;
|
|
@@ -2965,6 +3012,7 @@ export declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
2965
3012
|
soilType: string | null;
|
|
2966
3013
|
expectedHarvestDate: string | null;
|
|
2967
3014
|
cropStage: "planted" | "growing" | "flowering" | "fruiting" | "mature" | "harvested" | null;
|
|
3015
|
+
transplantedAt?: string | null | undefined;
|
|
2968
3016
|
standCountPerHa?: number | null | undefined;
|
|
2969
3017
|
targetStandPerHa?: number | null | undefined;
|
|
2970
3018
|
coverImage?: string | null | undefined;
|