@hectare/platform.clients.trading 1.1.104 → 1.1.105

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.
@@ -49,15 +49,16 @@ export type CreateMarketingPlanSchema = {
49
49
  };
50
50
  strategy: {
51
51
  type: 'steady';
52
- frequency: {
53
- type: 'interval' | 'listing-count' | 'cashflow-movement';
54
- interval: 'weekly' | 'fortnightly' | 'monthly' | null;
55
- listingCount: number | null;
56
- cashflowMovement: Array<{
57
- percentageMoved: number;
58
- byMovementDateUTC: string;
59
- }> | null;
60
- };
52
+ startDateUTC: string;
53
+ endDateUTC: string;
54
+ deadlines: Array<{
55
+ weight: number;
56
+ endDateUTC: string;
57
+ weightPerListingAvg: number;
58
+ weightPerListingMin: number;
59
+ weightPerListingMax: number;
60
+ canListLowerWeight: boolean;
61
+ }>;
61
62
  priceOfferReview: {
62
63
  type: 'first' | 'last' | 'every';
63
64
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
@@ -75,15 +75,32 @@ export type MarketingPlanDetailSchema = {
75
75
  };
76
76
  strategy: {
77
77
  type: 'steady';
78
- frequency: {
79
- type: 'interval' | 'listing-count' | 'cashflow-movement';
80
- interval: 'weekly' | 'fortnightly' | 'monthly' | null;
81
- listingCount: number | null;
82
- cashflowMovement: Array<{
83
- percentageMoved: number;
84
- byMovementDateUTC: string;
85
- }> | null;
86
- };
78
+ startDateUTC: string;
79
+ endDateUTC: string;
80
+ deadlines: Array<{
81
+ endDateUTC: string;
82
+ weight: {
83
+ name: string;
84
+ conversion: number;
85
+ weight?: number;
86
+ };
87
+ weightPerListingAvg: {
88
+ name: string;
89
+ conversion: number;
90
+ weight?: number;
91
+ };
92
+ weightPerListingMin: {
93
+ name: string;
94
+ conversion: number;
95
+ weight?: number;
96
+ };
97
+ weightPerListingMax: {
98
+ name: string;
99
+ conversion: number;
100
+ weight?: number;
101
+ };
102
+ canListLowerWeight: boolean;
103
+ }>;
87
104
  priceOfferReview: {
88
105
  type: 'first' | 'last' | 'every';
89
106
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
@@ -76,15 +76,32 @@ export type MarketingPlanSearchResultsSchema = {
76
76
  };
77
77
  strategy: {
78
78
  type: 'steady';
79
- frequency: {
80
- type: 'interval' | 'listing-count' | 'cashflow-movement';
81
- interval: 'weekly' | 'fortnightly' | 'monthly' | null;
82
- listingCount: number | null;
83
- cashflowMovement: Array<{
84
- percentageMoved: number;
85
- byMovementDateUTC: string;
86
- }> | null;
87
- };
79
+ startDateUTC: string;
80
+ endDateUTC: string;
81
+ deadlines: Array<{
82
+ endDateUTC: string;
83
+ weight: {
84
+ name: string;
85
+ conversion: number;
86
+ weight?: number;
87
+ };
88
+ weightPerListingAvg: {
89
+ name: string;
90
+ conversion: number;
91
+ weight?: number;
92
+ };
93
+ weightPerListingMin: {
94
+ name: string;
95
+ conversion: number;
96
+ weight?: number;
97
+ };
98
+ weightPerListingMax: {
99
+ name: string;
100
+ conversion: number;
101
+ weight?: number;
102
+ };
103
+ canListLowerWeight: boolean;
104
+ }>;
88
105
  priceOfferReview: {
89
106
  type: 'first' | 'last' | 'every';
90
107
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
@@ -75,15 +75,32 @@ export type MarketingPlanSummarySchema = {
75
75
  };
76
76
  strategy: {
77
77
  type: 'steady';
78
- frequency: {
79
- type: 'interval' | 'listing-count' | 'cashflow-movement';
80
- interval: 'weekly' | 'fortnightly' | 'monthly' | null;
81
- listingCount: number | null;
82
- cashflowMovement: Array<{
83
- percentageMoved: number;
84
- byMovementDateUTC: string;
85
- }> | null;
86
- };
78
+ startDateUTC: string;
79
+ endDateUTC: string;
80
+ deadlines: Array<{
81
+ endDateUTC: string;
82
+ weight: {
83
+ name: string;
84
+ conversion: number;
85
+ weight?: number;
86
+ };
87
+ weightPerListingAvg: {
88
+ name: string;
89
+ conversion: number;
90
+ weight?: number;
91
+ };
92
+ weightPerListingMin: {
93
+ name: string;
94
+ conversion: number;
95
+ weight?: number;
96
+ };
97
+ weightPerListingMax: {
98
+ name: string;
99
+ conversion: number;
100
+ weight?: number;
101
+ };
102
+ canListLowerWeight: boolean;
103
+ }>;
87
104
  priceOfferReview: {
88
105
  type: 'first' | 'last' | 'every';
89
106
  dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.104",
3
+ "version": "1.1.105",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",