@hectare/platform.clients.trading 1.1.225 → 1.1.227

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.
@@ -3,9 +3,12 @@ export type BidDetail = {
3
3
  listingId: string;
4
4
  listing?: {
5
5
  id: string;
6
+ isMyListing: boolean;
7
+ isMyOrganisationsListing: boolean;
6
8
  createdAtUTC: string;
7
9
  status: 'active' | 'closed' | 'traded';
8
10
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
11
+ tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
9
12
  business: {
10
13
  organisationId: string;
11
14
  organisationCreatedAtUTC?: string;
@@ -1,8 +1,11 @@
1
1
  export type ListingDetail = {
2
2
  id: string;
3
+ isMyListing?: boolean;
4
+ isMyOrganisationsListing?: boolean;
3
5
  createdAtUTC: string;
4
6
  status: 'active' | 'closed' | 'traded';
5
7
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
8
+ tradingStatus?: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
6
9
  business: {
7
10
  organisationId: string;
8
11
  organisationCreatedAtUTC?: string;
@@ -301,9 +304,12 @@ export type ListingDetail = {
301
304
  listingId: string;
302
305
  listing?: {
303
306
  id: string;
307
+ isMyListing: boolean;
308
+ isMyOrganisationsListing: boolean;
304
309
  createdAtUTC: string;
305
310
  status: 'active' | 'closed' | 'traded';
306
311
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
312
+ tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
307
313
  business: {
308
314
  organisationId: string;
309
315
  organisationCreatedAtUTC?: string;
@@ -1,8 +1,11 @@
1
1
  export type ListingSummary = {
2
2
  id: string;
3
+ isMyListing: boolean;
4
+ isMyOrganisationsListing: boolean;
3
5
  createdAtUTC: string;
4
6
  status: 'active' | 'closed' | 'traded';
5
7
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
8
+ tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
6
9
  business: {
7
10
  organisationId: string;
8
11
  organisationCreatedAtUTC?: string;
@@ -4,9 +4,12 @@ export type SearchResultsBidSchema = {
4
4
  listingId: string;
5
5
  listing?: {
6
6
  id: string;
7
+ isMyListing: boolean;
8
+ isMyOrganisationsListing: boolean;
7
9
  createdAtUTC: string;
8
10
  status: 'active' | 'closed' | 'traded';
9
11
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
12
+ tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'traded' | 'not-traded';
10
13
  business: {
11
14
  organisationId: string;
12
15
  organisationCreatedAtUTC?: string;
@@ -1,9 +1,12 @@
1
1
  export type SearchResultsListingSchema = {
2
2
  docs: Array<{
3
3
  id: string;
4
+ isMyListing: boolean;
5
+ isMyOrganisationsListing: boolean;
4
6
  createdAtUTC: string;
5
7
  status: 'active' | 'closed' | 'traded';
6
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';
7
10
  business: {
8
11
  organisationId: string;
9
12
  organisationCreatedAtUTC?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.225",
3
+ "version": "1.1.227",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",