@hectare/platform.clients.trading 1.1.8 → 1.1.10

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.
@@ -42,10 +42,7 @@ export type BidDetail = {
42
42
  } | null;
43
43
  holdingNumber?: string;
44
44
  assuranceScheme?: 'RT' | 'SQC';
45
- sqc?: {
46
- number: string;
47
- isAssured: boolean;
48
- } | null;
45
+ assuranceId?: string;
49
46
  };
50
47
  details: {
51
48
  startDateUTC: string;
@@ -151,7 +148,7 @@ export type BidDetail = {
151
148
  soldWeight: number | null;
152
149
  bids: Record<string, {
153
150
  userId: string;
154
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
151
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
155
152
  weight: {
156
153
  min: number;
157
154
  max: number;
@@ -175,7 +172,7 @@ export type BidDetail = {
175
172
  organisationVetted: boolean | null;
176
173
  organisationsInNetwork: boolean | null;
177
174
  createdAtUTC: string;
178
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
175
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
179
176
  expiresAtUTC: string;
180
177
  options: Array<{
181
178
  id: number;
@@ -273,6 +273,7 @@ export type ContractDetail = {
273
273
  number: string;
274
274
  isAssured: boolean;
275
275
  } | null;
276
+ assuranceId?: string;
276
277
  assuranceScheme?: 'RT' | 'SQC';
277
278
  advancePay?: {
278
279
  accountName: string;
@@ -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;
@@ -39,10 +39,7 @@ export type ListingDetail = {
39
39
  } | null;
40
40
  holdingNumber?: string;
41
41
  assuranceScheme?: 'RT' | 'SQC';
42
- sqc?: {
43
- number: string;
44
- isAssured: boolean;
45
- } | null;
42
+ assuranceId?: string;
46
43
  };
47
44
  details: {
48
45
  startDateUTC: string;
@@ -148,7 +145,7 @@ export type ListingDetail = {
148
145
  soldWeight: number | null;
149
146
  bids: Record<string, {
150
147
  userId: string;
151
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
148
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
152
149
  weight: {
153
150
  min: number;
154
151
  max: number;
@@ -249,10 +246,7 @@ export type ListingDetail = {
249
246
  } | null;
250
247
  holdingNumber?: string;
251
248
  assuranceScheme?: 'RT' | 'SQC';
252
- sqc?: {
253
- number: string;
254
- isAssured: boolean;
255
- } | null;
249
+ assuranceId?: string;
256
250
  };
257
251
  details: {
258
252
  startDateUTC: string;
@@ -358,7 +352,7 @@ export type ListingDetail = {
358
352
  soldWeight: number | null;
359
353
  bids: Record<string, {
360
354
  userId: string;
361
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
355
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
362
356
  weight: {
363
357
  min: number;
364
358
  max: number;
@@ -382,7 +376,7 @@ export type ListingDetail = {
382
376
  organisationVetted: boolean | null;
383
377
  organisationsInNetwork: boolean | null;
384
378
  createdAtUTC: string;
385
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
379
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
386
380
  expiresAtUTC: string;
387
381
  options: Array<{
388
382
  id: number;
@@ -39,10 +39,7 @@ export type ListingSummary = {
39
39
  } | null;
40
40
  holdingNumber?: string;
41
41
  assuranceScheme?: 'RT' | 'SQC';
42
- sqc?: {
43
- number: string;
44
- isAssured: boolean;
45
- } | null;
42
+ assuranceId?: string;
46
43
  };
47
44
  details: {
48
45
  startDateUTC: string;
@@ -148,7 +145,7 @@ export type ListingSummary = {
148
145
  soldWeight: number | null;
149
146
  bids: Record<string, {
150
147
  userId: string;
151
- status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined';
148
+ status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
152
149
  weight: {
153
150
  min: number;
154
151
  max: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",