@hectare/platform.clients.trading 1.1.9 → 1.1.11

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.
@@ -55,6 +55,7 @@ export type BidDetail = {
55
55
  startDateUTC: string;
56
56
  endDateUTC: string;
57
57
  type: 'date' | 'month';
58
+ asAvailable: boolean | null;
58
59
  };
59
60
  buyerNotes: string | null;
60
61
  files?: Array<{
@@ -148,7 +149,7 @@ export type BidDetail = {
148
149
  soldWeight: number | null;
149
150
  bids: Record<string, {
150
151
  userId: string;
151
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
152
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
152
153
  weight: {
153
154
  min: number;
154
155
  max: number;
@@ -172,7 +173,7 @@ export type BidDetail = {
172
173
  organisationVetted: boolean | null;
173
174
  organisationsInNetwork: boolean | null;
174
175
  createdAtUTC: string;
175
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
176
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
176
177
  expiresAtUTC: string;
177
178
  options: Array<{
178
179
  id: number;
@@ -24,6 +24,7 @@ export type CreateListing = {
24
24
  startDateUTC: string;
25
25
  endDateUTC: string;
26
26
  type: 'date' | 'month';
27
+ asAvailable: boolean | null;
27
28
  };
28
29
  price?: {
29
30
  amount: number;
@@ -1,6 +1,6 @@
1
1
  export type ListingBidInfoBid = {
2
2
  userId: string;
3
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
3
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
4
4
  weight: {
5
5
  min: number;
6
6
  max: number;
@@ -52,6 +52,7 @@ export type ListingDetail = {
52
52
  startDateUTC: string;
53
53
  endDateUTC: string;
54
54
  type: 'date' | 'month';
55
+ asAvailable: boolean | null;
55
56
  };
56
57
  buyerNotes: string | null;
57
58
  files?: Array<{
@@ -145,7 +146,7 @@ export type ListingDetail = {
145
146
  soldWeight: number | null;
146
147
  bids: Record<string, {
147
148
  userId: string;
148
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
149
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
149
150
  weight: {
150
151
  min: number;
151
152
  max: number;
@@ -259,6 +260,7 @@ export type ListingDetail = {
259
260
  startDateUTC: string;
260
261
  endDateUTC: string;
261
262
  type: 'date' | 'month';
263
+ asAvailable: boolean | null;
262
264
  };
263
265
  buyerNotes: string | null;
264
266
  files?: Array<{
@@ -352,7 +354,7 @@ export type ListingDetail = {
352
354
  soldWeight: number | null;
353
355
  bids: Record<string, {
354
356
  userId: string;
355
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
357
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
356
358
  weight: {
357
359
  min: number;
358
360
  max: number;
@@ -376,7 +378,7 @@ export type ListingDetail = {
376
378
  organisationVetted: boolean | null;
377
379
  organisationsInNetwork: boolean | null;
378
380
  createdAtUTC: string;
379
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
381
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
380
382
  expiresAtUTC: string;
381
383
  options: Array<{
382
384
  id: number;
@@ -52,6 +52,7 @@ export type ListingSummary = {
52
52
  startDateUTC: string;
53
53
  endDateUTC: string;
54
54
  type: 'date' | 'month';
55
+ asAvailable: boolean | null;
55
56
  };
56
57
  buyerNotes: string | null;
57
58
  files?: Array<{
@@ -145,7 +146,7 @@ export type ListingSummary = {
145
146
  soldWeight: number | null;
146
147
  bids: Record<string, {
147
148
  userId: string;
148
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
149
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
149
150
  weight: {
150
151
  min: number;
151
152
  max: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",