@hectare/platform.clients.trading 1.1.199 → 1.1.201

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.
@@ -6,6 +6,10 @@ export type CreateInventorySchema = {
6
6
  harvestWeight?: number | null;
7
7
  committedWeight?: number | null;
8
8
  offPlatformWeight?: number | null;
9
+ targetPrice?: {
10
+ amount: number;
11
+ currency: string;
12
+ } | null;
9
13
  crop: {
10
14
  type: 'crop' | 'produce';
11
15
  harvestYear: string;
@@ -17,8 +17,8 @@ export type CreateMarketingPlanSchema = {
17
17
  type: 'steady';
18
18
  deadlines: Array<{
19
19
  sellStartDateUTC: string;
20
- sellEndDateUTC: string;
21
- endDateUTC: string;
20
+ sellEndDateUTC: string | null;
21
+ endDateUTC: string | null;
22
22
  weight: number;
23
23
  weightPerListingAvg: number;
24
24
  weightPerListingMin: number;
@@ -99,6 +99,10 @@ export type InventoryDetailSchema = {
99
99
  };
100
100
  listingCount: number;
101
101
  tradedCount: number;
102
+ targetPrice: {
103
+ amount: number;
104
+ currency: string;
105
+ } | null;
102
106
  };
103
107
  tags: Array<string>;
104
108
  linkedPlans: Array<{
@@ -100,6 +100,10 @@ export type InventorySearchResultsSchema = {
100
100
  };
101
101
  listingCount: number;
102
102
  tradedCount: number;
103
+ targetPrice: {
104
+ amount: number;
105
+ currency: string;
106
+ } | null;
103
107
  };
104
108
  tags: Array<string>;
105
109
  linkedPlans: Array<{
@@ -17,8 +17,8 @@ export type PatchMarketingPlanSchema = {
17
17
  type: 'steady';
18
18
  deadlines: Array<{
19
19
  sellStartDateUTC: string;
20
- sellEndDateUTC: string;
21
- endDateUTC: string;
20
+ sellEndDateUTC: string | null;
21
+ endDateUTC: string | null;
22
22
  weight: number;
23
23
  weightPerListingAvg: number;
24
24
  weightPerListingMin: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.199",
3
+ "version": "1.1.201",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",