@hectare/platform.clients.trading 1.1.224 → 1.1.226

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,6 +6,7 @@ export type BidDetail = {
6
6
  createdAtUTC: string;
7
7
  status: 'active' | 'closed' | 'traded';
8
8
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
9
+ tradingStatus?: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
9
10
  business: {
10
11
  organisationId: string;
11
12
  organisationCreatedAtUTC?: string;
@@ -122,6 +122,8 @@ export type InventorySearchResultsSchema = {
122
122
  clearUrl: string;
123
123
  terms: Array<{
124
124
  name: string;
125
+ id: string;
126
+ hits: string;
125
127
  clearUrl: string;
126
128
  }>;
127
129
  }>;
@@ -3,6 +3,7 @@ export type ListingDetail = {
3
3
  createdAtUTC: string;
4
4
  status: 'active' | 'closed' | 'traded';
5
5
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
6
+ tradingStatus?: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
6
7
  business: {
7
8
  organisationId: string;
8
9
  organisationCreatedAtUTC?: string;
@@ -304,6 +305,7 @@ export type ListingDetail = {
304
305
  createdAtUTC: string;
305
306
  status: 'active' | 'closed' | 'traded';
306
307
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
308
+ tradingStatus?: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
307
309
  business: {
308
310
  organisationId: string;
309
311
  organisationCreatedAtUTC?: string;
@@ -3,6 +3,7 @@ export type ListingSummary = {
3
3
  createdAtUTC: string;
4
4
  status: 'active' | 'closed' | 'traded';
5
5
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
6
+ tradingStatus?: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
6
7
  business: {
7
8
  organisationId: string;
8
9
  organisationCreatedAtUTC?: string;
@@ -173,6 +173,8 @@ export type MarketingPlanSearchResultsSchema = {
173
173
  clearUrl: string;
174
174
  terms: Array<{
175
175
  name: string;
176
+ id: string;
177
+ hits: string;
176
178
  clearUrl: string;
177
179
  }>;
178
180
  }>;
@@ -7,6 +7,7 @@ export type SearchResultsBidSchema = {
7
7
  createdAtUTC: string;
8
8
  status: 'active' | 'closed' | 'traded';
9
9
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
10
+ tradingStatus?: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
10
11
  business: {
11
12
  organisationId: string;
12
13
  organisationCreatedAtUTC?: string;
@@ -395,6 +396,8 @@ export type SearchResultsBidSchema = {
395
396
  clearUrl: string;
396
397
  terms: Array<{
397
398
  name: string;
399
+ id: string;
400
+ hits: string;
398
401
  clearUrl: string;
399
402
  }>;
400
403
  }>;
@@ -4,6 +4,7 @@ export type SearchResultsListingSchema = {
4
4
  createdAtUTC: string;
5
5
  status: 'active' | 'closed' | 'traded';
6
6
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
7
+ tradingStatus?: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
7
8
  business: {
8
9
  organisationId: string;
9
10
  organisationCreatedAtUTC?: string;
@@ -279,6 +280,8 @@ export type SearchResultsListingSchema = {
279
280
  clearUrl: string;
280
281
  terms: Array<{
281
282
  name: string;
283
+ id: string;
284
+ hits: string;
282
285
  clearUrl: string;
283
286
  }>;
284
287
  }>;
@@ -94,6 +94,8 @@ export type TradeRequestSearchResultsSchema = {
94
94
  clearUrl: string;
95
95
  terms: Array<{
96
96
  name: string;
97
+ id: string;
98
+ hits: string;
97
99
  clearUrl: string;
98
100
  }>;
99
101
  }>;
@@ -68,6 +68,8 @@ export type WantedAdSearchResultsSchema = {
68
68
  clearUrl: string;
69
69
  terms: Array<{
70
70
  name: string;
71
+ id: string;
72
+ hits: string;
71
73
  clearUrl: string;
72
74
  }>;
73
75
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.224",
3
+ "version": "1.1.226",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",