@hectare/platform.clients.trading 1.1.128 → 1.1.130

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,12 +6,9 @@ export type CreateMarketingPlanSchema = {
6
6
  amount: number;
7
7
  currency: string;
8
8
  } | null;
9
- movementPeriod: {
10
- startDateUTC: string;
11
- endDateUTC: string;
12
- type: 'date' | 'month';
13
- excludedDatesUTC?: Array<string> | null;
14
- asAvailable?: boolean | null;
9
+ movement: {
10
+ months: Array<string>;
11
+ asAvailable: boolean;
15
12
  };
16
13
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
17
14
  buyerNotes: string | null;
@@ -68,12 +68,9 @@ export type MarketingPlanDetailSchema = {
68
68
  amount: number;
69
69
  currency: string;
70
70
  } | null;
71
- movementPeriod: {
72
- startDateUTC: string;
73
- endDateUTC: string;
74
- type: 'date' | 'month';
75
- excludedDatesUTC?: Array<string> | null;
76
- asAvailable?: boolean | null;
71
+ movement: {
72
+ months: Array<string>;
73
+ asAvailable: boolean;
77
74
  };
78
75
  haulageType: 'ex-farm' | 'delivered' | null;
79
76
  buyerNotes: string | null;
@@ -142,10 +139,9 @@ export type MarketingPlanDetailSchema = {
142
139
  conversion: number;
143
140
  weight?: number;
144
141
  };
145
- movementPeriod?: {
146
- startDateUTC: string;
147
- endDateUTC: string;
148
- type: 'date' | 'month';
142
+ movement?: {
143
+ months: Array<string>;
144
+ asAvailable: boolean;
149
145
  };
150
146
  skipped?: boolean;
151
147
  }>;
@@ -69,12 +69,9 @@ export type MarketingPlanSearchResultsSchema = {
69
69
  amount: number;
70
70
  currency: string;
71
71
  } | null;
72
- movementPeriod: {
73
- startDateUTC: string;
74
- endDateUTC: string;
75
- type: 'date' | 'month';
76
- excludedDatesUTC?: Array<string> | null;
77
- asAvailable?: boolean | null;
72
+ movement: {
73
+ months: Array<string>;
74
+ asAvailable: boolean;
78
75
  };
79
76
  haulageType: 'ex-farm' | 'delivered' | null;
80
77
  buyerNotes: string | null;
@@ -143,10 +140,9 @@ export type MarketingPlanSearchResultsSchema = {
143
140
  conversion: number;
144
141
  weight?: number;
145
142
  };
146
- movementPeriod?: {
147
- startDateUTC: string;
148
- endDateUTC: string;
149
- type: 'date' | 'month';
143
+ movement?: {
144
+ months: Array<string>;
145
+ asAvailable: boolean;
150
146
  };
151
147
  skipped?: boolean;
152
148
  }>;
@@ -68,12 +68,9 @@ export type MarketingPlanSummarySchema = {
68
68
  amount: number;
69
69
  currency: string;
70
70
  } | null;
71
- movementPeriod: {
72
- startDateUTC: string;
73
- endDateUTC: string;
74
- type: 'date' | 'month';
75
- excludedDatesUTC?: Array<string> | null;
76
- asAvailable?: boolean | null;
71
+ movement: {
72
+ months: Array<string>;
73
+ asAvailable: boolean;
77
74
  };
78
75
  haulageType: 'ex-farm' | 'delivered' | null;
79
76
  buyerNotes: string | null;
@@ -142,10 +139,9 @@ export type MarketingPlanSummarySchema = {
142
139
  conversion: number;
143
140
  weight?: number;
144
141
  };
145
- movementPeriod?: {
146
- startDateUTC: string;
147
- endDateUTC: string;
148
- type: 'date' | 'month';
142
+ movement?: {
143
+ months: Array<string>;
144
+ asAvailable: boolean;
149
145
  };
150
146
  skipped?: boolean;
151
147
  }>;
@@ -6,10 +6,9 @@ export type PatchMarketingPlanScheduleSchema = {
6
6
  weight: number;
7
7
  minWeight: number;
8
8
  maxWeight: number;
9
- movementPeriod: {
10
- startDateUTC: string;
11
- endDateUTC: string;
12
- type: 'date' | 'month';
9
+ movement: {
10
+ months: Array<string>;
11
+ asAvailable: boolean;
13
12
  };
14
13
  skipped: boolean;
15
14
  listingId?: string | null;
@@ -6,12 +6,9 @@ export type PatchMarketingPlanSchema = {
6
6
  amount: number;
7
7
  currency: string;
8
8
  } | null;
9
- movementPeriod: {
10
- startDateUTC: string;
11
- endDateUTC: string;
12
- type: 'date' | 'month';
13
- excludedDatesUTC?: Array<string> | null;
14
- asAvailable?: boolean | null;
9
+ movement: {
10
+ months: Array<string>;
11
+ asAvailable: boolean;
15
12
  };
16
13
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
17
14
  buyerNotes: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.128",
3
+ "version": "1.1.130",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",