@hectare/platform.clients.trading 1.1.198 → 1.1.200
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/models/CreateInventorySchema.d.ts +4 -0
- package/models/CreateMarketingPlanSchema.d.ts +6 -1
- package/models/InventoryDetailSchema.d.ts +4 -0
- package/models/InventorySearchResultsSchema.d.ts +4 -0
- package/models/MarketingPlanDetailSchema.d.ts +7 -1
- package/models/MarketingPlanSearchResultsSchema.d.ts +7 -1
- package/models/MarketingPlanSummarySchema.d.ts +7 -1
- package/models/PatchMarketingPlanScheduleSchema.d.ts +1 -0
- package/models/PatchMarketingPlanSchema.d.ts +6 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -2,7 +2,7 @@ export type CreateMarketingPlanSchema = {
|
|
|
2
2
|
inventoryId: string | null;
|
|
3
3
|
details: {
|
|
4
4
|
contractType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
5
|
-
targetPrice
|
|
5
|
+
targetPrice?: {
|
|
6
6
|
amount: number;
|
|
7
7
|
currency: string;
|
|
8
8
|
} | null;
|
|
@@ -24,6 +24,11 @@ export type CreateMarketingPlanSchema = {
|
|
|
24
24
|
weightPerListingMin: number;
|
|
25
25
|
weightPerListingMax: number;
|
|
26
26
|
canListLowerWeight: boolean;
|
|
27
|
+
targetPrice?: {
|
|
28
|
+
amount: number;
|
|
29
|
+
currency: string;
|
|
30
|
+
} | null;
|
|
31
|
+
targetPriceAutoOpen?: boolean;
|
|
27
32
|
}>;
|
|
28
33
|
priceOfferReview: {
|
|
29
34
|
type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
|
|
@@ -64,7 +64,7 @@ export type MarketingPlanDetailSchema = {
|
|
|
64
64
|
};
|
|
65
65
|
details: {
|
|
66
66
|
contractType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
67
|
-
targetPrice
|
|
67
|
+
targetPrice?: {
|
|
68
68
|
amount: number;
|
|
69
69
|
currency: string;
|
|
70
70
|
} | null;
|
|
@@ -103,6 +103,11 @@ export type MarketingPlanDetailSchema = {
|
|
|
103
103
|
weight?: number;
|
|
104
104
|
};
|
|
105
105
|
canListLowerWeight: boolean;
|
|
106
|
+
targetPrice: {
|
|
107
|
+
amount: number;
|
|
108
|
+
currency: string;
|
|
109
|
+
} | null;
|
|
110
|
+
targetPriceAutoOpen: boolean;
|
|
106
111
|
}>;
|
|
107
112
|
priceOfferReview: {
|
|
108
113
|
type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
|
|
@@ -136,6 +141,7 @@ export type MarketingPlanDetailSchema = {
|
|
|
136
141
|
amount: number;
|
|
137
142
|
currency: string;
|
|
138
143
|
} | null;
|
|
144
|
+
targetPriceAutoOpen?: boolean;
|
|
139
145
|
reviewDateUTC?: string;
|
|
140
146
|
listingId?: string;
|
|
141
147
|
weight?: {
|
|
@@ -65,7 +65,7 @@ export type MarketingPlanSearchResultsSchema = {
|
|
|
65
65
|
};
|
|
66
66
|
details: {
|
|
67
67
|
contractType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
68
|
-
targetPrice
|
|
68
|
+
targetPrice?: {
|
|
69
69
|
amount: number;
|
|
70
70
|
currency: string;
|
|
71
71
|
} | null;
|
|
@@ -104,6 +104,11 @@ export type MarketingPlanSearchResultsSchema = {
|
|
|
104
104
|
weight?: number;
|
|
105
105
|
};
|
|
106
106
|
canListLowerWeight: boolean;
|
|
107
|
+
targetPrice: {
|
|
108
|
+
amount: number;
|
|
109
|
+
currency: string;
|
|
110
|
+
} | null;
|
|
111
|
+
targetPriceAutoOpen: boolean;
|
|
107
112
|
}>;
|
|
108
113
|
priceOfferReview: {
|
|
109
114
|
type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
|
|
@@ -137,6 +142,7 @@ export type MarketingPlanSearchResultsSchema = {
|
|
|
137
142
|
amount: number;
|
|
138
143
|
currency: string;
|
|
139
144
|
} | null;
|
|
145
|
+
targetPriceAutoOpen?: boolean;
|
|
140
146
|
reviewDateUTC?: string;
|
|
141
147
|
listingId?: string;
|
|
142
148
|
weight?: {
|
|
@@ -64,7 +64,7 @@ export type MarketingPlanSummarySchema = {
|
|
|
64
64
|
};
|
|
65
65
|
details: {
|
|
66
66
|
contractType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
67
|
-
targetPrice
|
|
67
|
+
targetPrice?: {
|
|
68
68
|
amount: number;
|
|
69
69
|
currency: string;
|
|
70
70
|
} | null;
|
|
@@ -103,6 +103,11 @@ export type MarketingPlanSummarySchema = {
|
|
|
103
103
|
weight?: number;
|
|
104
104
|
};
|
|
105
105
|
canListLowerWeight: boolean;
|
|
106
|
+
targetPrice: {
|
|
107
|
+
amount: number;
|
|
108
|
+
currency: string;
|
|
109
|
+
} | null;
|
|
110
|
+
targetPriceAutoOpen: boolean;
|
|
106
111
|
}>;
|
|
107
112
|
priceOfferReview: {
|
|
108
113
|
type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
|
|
@@ -136,6 +141,7 @@ export type MarketingPlanSummarySchema = {
|
|
|
136
141
|
amount: number;
|
|
137
142
|
currency: string;
|
|
138
143
|
} | null;
|
|
144
|
+
targetPriceAutoOpen?: boolean;
|
|
139
145
|
reviewDateUTC?: string;
|
|
140
146
|
listingId?: string;
|
|
141
147
|
weight?: {
|
|
@@ -2,7 +2,7 @@ export type PatchMarketingPlanSchema = {
|
|
|
2
2
|
inventoryId: string | null;
|
|
3
3
|
details: {
|
|
4
4
|
contractType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
5
|
-
targetPrice
|
|
5
|
+
targetPrice?: {
|
|
6
6
|
amount: number;
|
|
7
7
|
currency: string;
|
|
8
8
|
} | null;
|
|
@@ -24,6 +24,11 @@ export type PatchMarketingPlanSchema = {
|
|
|
24
24
|
weightPerListingMin: number;
|
|
25
25
|
weightPerListingMax: number;
|
|
26
26
|
canListLowerWeight: boolean;
|
|
27
|
+
targetPrice?: {
|
|
28
|
+
amount: number;
|
|
29
|
+
currency: string;
|
|
30
|
+
} | null;
|
|
31
|
+
targetPriceAutoOpen?: boolean;
|
|
27
32
|
}>;
|
|
28
33
|
priceOfferReview: {
|
|
29
34
|
type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
|