@hectare/platform.clients.trading 1.1.53 → 1.1.55

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.
@@ -4,7 +4,7 @@ export type BidDetail = {
4
4
  listing?: {
5
5
  id: string;
6
6
  status: 'active' | 'closed' | 'traded';
7
- substatus: 'unsold' | 'archived' | null;
7
+ substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | null;
8
8
  business: {
9
9
  organisationId?: string;
10
10
  organisationCreatedAtUTC?: string;
@@ -35,6 +35,8 @@ export type CreateListing = {
35
35
  currency: string;
36
36
  } | null;
37
37
  isBasePremOnly?: boolean;
38
+ startDateUTC?: string | null;
39
+ endDateUTC?: string | null;
38
40
  };
39
41
  inventory: {
40
42
  commodity: {
@@ -1,7 +1,7 @@
1
1
  export type ListingDetail = {
2
2
  id: string;
3
3
  status: 'active' | 'closed' | 'traded';
4
- substatus: 'unsold' | 'archived' | null;
4
+ substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | null;
5
5
  business: {
6
6
  organisationId?: string;
7
7
  organisationCreatedAtUTC?: string;
@@ -241,7 +241,7 @@ export type ListingDetail = {
241
241
  listing?: {
242
242
  id: string;
243
243
  status: 'active' | 'closed' | 'traded';
244
- substatus: 'unsold' | 'archived' | null;
244
+ substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | null;
245
245
  business: {
246
246
  organisationId?: string;
247
247
  organisationCreatedAtUTC?: string;
@@ -1,7 +1,7 @@
1
1
  export type ListingSummary = {
2
2
  id: string;
3
3
  status: 'active' | 'closed' | 'traded';
4
- substatus: 'unsold' | 'archived' | null;
4
+ substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | null;
5
5
  business: {
6
6
  organisationId?: string;
7
7
  organisationCreatedAtUTC?: string;
@@ -4,11 +4,11 @@ export type PriceScoreSchema = {
4
4
  prevPrice: number;
5
5
  marketTrend: 'up' | 'down' | 'no-change';
6
6
  marketPercentile: {
7
- condition: 'new-low' | 'new-high' | 'freezing' | 'cold' | 'cool' | 'mild' | 'warm' | 'hot' | 'scorching' | null;
7
+ condition: 'new-low' | 'new-high' | 'very-low' | 'low' | 'average' | 'high' | 'very-high' | null;
8
8
  percentile: number | null;
9
9
  } | null;
10
10
  marketPercentileMovementMonthNorm: {
11
- condition: 'new-low' | 'new-high' | 'freezing' | 'cold' | 'cool' | 'mild' | 'warm' | 'hot' | 'scorching' | null;
11
+ condition: 'new-low' | 'new-high' | 'very-low' | 'low' | 'average' | 'high' | 'very-high' | null;
12
12
  percentile: number | null;
13
13
  } | null;
14
14
  marketMomentum: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.53",
3
+ "version": "1.1.55",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",