@hectare/platform.clients.trading 1.1.197 → 1.1.199

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.
@@ -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,9 +24,14 @@ 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
- type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every';
34
+ type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
30
35
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
31
36
  hourOfDay: number;
32
37
  };
@@ -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,9 +103,14 @@ 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
- type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every';
113
+ type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
109
114
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
110
115
  hourOfDay: number;
111
116
  };
@@ -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,9 +104,14 @@ 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
- type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every';
114
+ type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
110
115
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
111
116
  hourOfDay: number;
112
117
  };
@@ -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,9 +103,14 @@ 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
- type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every';
113
+ type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
109
114
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
110
115
  hourOfDay: number;
111
116
  };
@@ -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?: {
@@ -10,6 +10,7 @@ export type PatchMarketingPlanScheduleSchema = {
10
10
  amount: number;
11
11
  currency: string;
12
12
  } | null;
13
+ targetPriceAutoOpen?: boolean;
13
14
  movement: {
14
15
  months: Array<string>;
15
16
  asAvailable: boolean | null;
@@ -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,9 +24,14 @@ 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
- type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every';
34
+ type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every' | 'every-other';
30
35
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
31
36
  hourOfDay: number;
32
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.197",
3
+ "version": "1.1.199",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",