@hectare/platform.clients.trading 1.1.14 → 1.1.16

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,7 +3,6 @@ export type BidDetail = {
3
3
  listingId: string;
4
4
  listing?: {
5
5
  id: string;
6
- public: boolean;
7
6
  status: 'active' | 'closed' | 'traded';
8
7
  substatus: 'unsold' | 'archived' | null;
9
8
  business: {
@@ -1,5 +1,4 @@
1
1
  export type CreateListing = {
2
- public?: boolean;
3
2
  bidAlerts?: Array<{
4
3
  authPlatformId: string;
5
4
  emailAddress: string;
@@ -35,5 +35,6 @@ export type CreateTradeRequest = {
35
35
  amount: number;
36
36
  currency: string;
37
37
  } | null;
38
+ isAnonymous?: boolean;
38
39
  tags?: Array<string> | null;
39
40
  };
@@ -1,6 +1,5 @@
1
1
  export type ListingDetail = {
2
2
  id: string;
3
- public?: boolean;
4
3
  status: 'active' | 'closed' | 'traded';
5
4
  substatus: 'unsold' | 'archived' | null;
6
5
  business: {
@@ -208,7 +207,6 @@ export type ListingDetail = {
208
207
  listingId: string;
209
208
  listing?: {
210
209
  id: string;
211
- public: boolean;
212
210
  status: 'active' | 'closed' | 'traded';
213
211
  substatus: 'unsold' | 'archived' | null;
214
212
  business: {
@@ -1,6 +1,5 @@
1
1
  export type ListingSummary = {
2
2
  id: string;
3
- public: boolean;
4
3
  status: 'active' | 'closed' | 'traded';
5
4
  substatus: 'unsold' | 'archived' | null;
6
5
  business: {
@@ -70,4 +70,5 @@ export type TradeRequestDetail = {
70
70
  amount: number;
71
71
  currency: string;
72
72
  } | null;
73
+ isAnonymous?: boolean;
73
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",