@hectare/platform.clients.trading 1.1.234 → 1.1.236

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.
@@ -11,9 +11,9 @@ export type BidDetail = {
11
11
  tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
12
12
  business: {
13
13
  organisationId: string;
14
- organisationCreatedAtUTC?: string;
14
+ organisationCreatedAtUTC: string;
15
15
  organisationName: string;
16
- organisationLogo?: string;
16
+ organisationLogo: string;
17
17
  organisationVetted: boolean;
18
18
  businessUnitId: string;
19
19
  businessUnitName: string;
@@ -83,28 +83,6 @@ export type BidDetail = {
83
83
  name?: string | null;
84
84
  location?: string | null;
85
85
  } | null;
86
- holdingNumber?: string;
87
- collectionLocation?: {
88
- what3words: string | null;
89
- address: {
90
- name?: string | null;
91
- line1: string;
92
- line2?: string | null;
93
- line3?: string | null;
94
- city?: string | null;
95
- region?: string | null;
96
- regionISO?: string | null;
97
- postcode: string;
98
- countryName?: string | null;
99
- countryISO: 'GB' | 'US' | 'ZA' | 'FR';
100
- };
101
- coordinates: {
102
- lat: number;
103
- lon: number;
104
- } | null;
105
- } | null;
106
- assuranceScheme?: 'RT' | 'SQC';
107
- assuranceId?: string;
108
86
  };
109
87
  details: {
110
88
  startDateUTC: string;
@@ -230,7 +208,7 @@ export type BidDetail = {
230
208
  } | null;
231
209
  soldWeight: number | null;
232
210
  bids: Record<string, {
233
- organisationId: string;
211
+ organisationId: string | null;
234
212
  userId: string;
235
213
  userFullName: string;
236
214
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
@@ -110,9 +110,9 @@ export type ContractDetail = {
110
110
  tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
111
111
  business: {
112
112
  organisationId: string;
113
- organisationCreatedAtUTC?: string;
113
+ organisationCreatedAtUTC: string;
114
114
  organisationName: string;
115
- organisationLogo?: string;
115
+ organisationLogo: string;
116
116
  organisationVetted: boolean;
117
117
  businessUnitId: string;
118
118
  businessUnitName: string;
@@ -182,28 +182,6 @@ export type ContractDetail = {
182
182
  name?: string | null;
183
183
  location?: string | null;
184
184
  } | null;
185
- holdingNumber?: string;
186
- collectionLocation?: {
187
- what3words: string | null;
188
- address: {
189
- name?: string | null;
190
- line1: string;
191
- line2?: string | null;
192
- line3?: string | null;
193
- city?: string | null;
194
- region?: string | null;
195
- regionISO?: string | null;
196
- postcode: string;
197
- countryName?: string | null;
198
- countryISO: 'GB' | 'US' | 'ZA' | 'FR';
199
- };
200
- coordinates: {
201
- lat: number;
202
- lon: number;
203
- } | null;
204
- } | null;
205
- assuranceScheme?: 'RT' | 'SQC';
206
- assuranceId?: string;
207
185
  };
208
186
  details: {
209
187
  startDateUTC: string;
@@ -329,7 +307,7 @@ export type ContractDetail = {
329
307
  } | null;
330
308
  soldWeight: number | null;
331
309
  bids: Record<string, {
332
- organisationId: string;
310
+ organisationId: string | null;
333
311
  userId: string;
334
312
  userFullName: string;
335
313
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
@@ -1,5 +1,5 @@
1
1
  export type ListingBidInfoBid = {
2
- organisationId: string;
2
+ organisationId: string | null;
3
3
  userId: string;
4
4
  userFullName: string;
5
5
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
@@ -8,9 +8,9 @@ export type ListingDetail = {
8
8
  tradingStatus?: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
9
9
  business: {
10
10
  organisationId: string;
11
- organisationCreatedAtUTC?: string;
11
+ organisationCreatedAtUTC: string;
12
12
  organisationName: string;
13
- organisationLogo?: string;
13
+ organisationLogo: string;
14
14
  organisationVetted: boolean;
15
15
  businessUnitId: string;
16
16
  businessUnitName: string;
@@ -80,28 +80,6 @@ export type ListingDetail = {
80
80
  name?: string | null;
81
81
  location?: string | null;
82
82
  } | null;
83
- holdingNumber?: string;
84
- collectionLocation?: {
85
- what3words: string | null;
86
- address: {
87
- name?: string | null;
88
- line1: string;
89
- line2?: string | null;
90
- line3?: string | null;
91
- city?: string | null;
92
- region?: string | null;
93
- regionISO?: string | null;
94
- postcode: string;
95
- countryName?: string | null;
96
- countryISO: 'GB' | 'US' | 'ZA' | 'FR';
97
- };
98
- coordinates: {
99
- lat: number;
100
- lon: number;
101
- } | null;
102
- } | null;
103
- assuranceScheme?: 'RT' | 'SQC';
104
- assuranceId?: string;
105
83
  };
106
84
  details: {
107
85
  startDateUTC: string;
@@ -227,7 +205,7 @@ export type ListingDetail = {
227
205
  } | null;
228
206
  soldWeight: number | null;
229
207
  bids: Record<string, {
230
- organisationId: string;
208
+ organisationId: string | null;
231
209
  userId: string;
232
210
  userFullName: string;
233
211
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
@@ -313,9 +291,9 @@ export type ListingDetail = {
313
291
  tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
314
292
  business: {
315
293
  organisationId: string;
316
- organisationCreatedAtUTC?: string;
294
+ organisationCreatedAtUTC: string;
317
295
  organisationName: string;
318
- organisationLogo?: string;
296
+ organisationLogo: string;
319
297
  organisationVetted: boolean;
320
298
  businessUnitId: string;
321
299
  businessUnitName: string;
@@ -385,28 +363,6 @@ export type ListingDetail = {
385
363
  name?: string | null;
386
364
  location?: string | null;
387
365
  } | null;
388
- holdingNumber?: string;
389
- collectionLocation?: {
390
- what3words: string | null;
391
- address: {
392
- name?: string | null;
393
- line1: string;
394
- line2?: string | null;
395
- line3?: string | null;
396
- city?: string | null;
397
- region?: string | null;
398
- regionISO?: string | null;
399
- postcode: string;
400
- countryName?: string | null;
401
- countryISO: 'GB' | 'US' | 'ZA' | 'FR';
402
- };
403
- coordinates: {
404
- lat: number;
405
- lon: number;
406
- } | null;
407
- } | null;
408
- assuranceScheme?: 'RT' | 'SQC';
409
- assuranceId?: string;
410
366
  };
411
367
  details: {
412
368
  startDateUTC: string;
@@ -532,7 +488,7 @@ export type ListingDetail = {
532
488
  } | null;
533
489
  soldWeight: number | null;
534
490
  bids: Record<string, {
535
- organisationId: string;
491
+ organisationId: string | null;
536
492
  userId: string;
537
493
  userFullName: string;
538
494
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
@@ -8,9 +8,9 @@ export type ListingSummary = {
8
8
  tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
9
9
  business: {
10
10
  organisationId: string;
11
- organisationCreatedAtUTC?: string;
11
+ organisationCreatedAtUTC: string;
12
12
  organisationName: string;
13
- organisationLogo?: string;
13
+ organisationLogo: string;
14
14
  organisationVetted: boolean;
15
15
  businessUnitId: string;
16
16
  businessUnitName: string;
@@ -80,28 +80,6 @@ export type ListingSummary = {
80
80
  name?: string | null;
81
81
  location?: string | null;
82
82
  } | null;
83
- holdingNumber?: string;
84
- collectionLocation?: {
85
- what3words: string | null;
86
- address: {
87
- name?: string | null;
88
- line1: string;
89
- line2?: string | null;
90
- line3?: string | null;
91
- city?: string | null;
92
- region?: string | null;
93
- regionISO?: string | null;
94
- postcode: string;
95
- countryName?: string | null;
96
- countryISO: 'GB' | 'US' | 'ZA' | 'FR';
97
- };
98
- coordinates: {
99
- lat: number;
100
- lon: number;
101
- } | null;
102
- } | null;
103
- assuranceScheme?: 'RT' | 'SQC';
104
- assuranceId?: string;
105
83
  };
106
84
  details: {
107
85
  startDateUTC: string;
@@ -227,7 +205,7 @@ export type ListingSummary = {
227
205
  } | null;
228
206
  soldWeight: number | null;
229
207
  bids: Record<string, {
230
- organisationId: string;
208
+ organisationId: string | null;
231
209
  userId: string;
232
210
  userFullName: string;
233
211
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
@@ -12,9 +12,9 @@ export type SearchResultsBidSchema = {
12
12
  tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
13
13
  business: {
14
14
  organisationId: string;
15
- organisationCreatedAtUTC?: string;
15
+ organisationCreatedAtUTC: string;
16
16
  organisationName: string;
17
- organisationLogo?: string;
17
+ organisationLogo: string;
18
18
  organisationVetted: boolean;
19
19
  businessUnitId: string;
20
20
  businessUnitName: string;
@@ -84,28 +84,6 @@ export type SearchResultsBidSchema = {
84
84
  name?: string | null;
85
85
  location?: string | null;
86
86
  } | null;
87
- holdingNumber?: string;
88
- collectionLocation?: {
89
- what3words: string | null;
90
- address: {
91
- name?: string | null;
92
- line1: string;
93
- line2?: string | null;
94
- line3?: string | null;
95
- city?: string | null;
96
- region?: string | null;
97
- regionISO?: string | null;
98
- postcode: string;
99
- countryName?: string | null;
100
- countryISO: 'GB' | 'US' | 'ZA' | 'FR';
101
- };
102
- coordinates: {
103
- lat: number;
104
- lon: number;
105
- } | null;
106
- } | null;
107
- assuranceScheme?: 'RT' | 'SQC';
108
- assuranceId?: string;
109
87
  };
110
88
  details: {
111
89
  startDateUTC: string;
@@ -231,7 +209,7 @@ export type SearchResultsBidSchema = {
231
209
  } | null;
232
210
  soldWeight: number | null;
233
211
  bids: Record<string, {
234
- organisationId: string;
212
+ organisationId: string | null;
235
213
  userId: string;
236
214
  userFullName: string;
237
215
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
@@ -9,9 +9,9 @@ export type SearchResultsListingSchema = {
9
9
  tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
10
10
  business: {
11
11
  organisationId: string;
12
- organisationCreatedAtUTC?: string;
12
+ organisationCreatedAtUTC: string;
13
13
  organisationName: string;
14
- organisationLogo?: string;
14
+ organisationLogo: string;
15
15
  organisationVetted: boolean;
16
16
  businessUnitId: string;
17
17
  businessUnitName: string;
@@ -81,28 +81,6 @@ export type SearchResultsListingSchema = {
81
81
  name?: string | null;
82
82
  location?: string | null;
83
83
  } | null;
84
- holdingNumber?: string;
85
- collectionLocation?: {
86
- what3words: string | null;
87
- address: {
88
- name?: string | null;
89
- line1: string;
90
- line2?: string | null;
91
- line3?: string | null;
92
- city?: string | null;
93
- region?: string | null;
94
- regionISO?: string | null;
95
- postcode: string;
96
- countryName?: string | null;
97
- countryISO: 'GB' | 'US' | 'ZA' | 'FR';
98
- };
99
- coordinates: {
100
- lat: number;
101
- lon: number;
102
- } | null;
103
- } | null;
104
- assuranceScheme?: 'RT' | 'SQC';
105
- assuranceId?: string;
106
84
  };
107
85
  details: {
108
86
  startDateUTC: string;
@@ -228,7 +206,7 @@ export type SearchResultsListingSchema = {
228
206
  } | null;
229
207
  soldWeight: number | null;
230
208
  bids: Record<string, {
231
- organisationId: string;
209
+ organisationId: string | null;
232
210
  userId: string;
233
211
  userFullName: string;
234
212
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.234",
3
+ "version": "1.1.236",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",