@hectare/platform.clients.trading 1.1.174 → 1.1.175

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.
@@ -263,14 +263,43 @@ export type BidDetail = {
263
263
  } | null;
264
264
  marketingPlanId?: string;
265
265
  };
266
+ business: {
267
+ id: string | null;
268
+ name: string | null;
269
+ companyNumber: string | null;
270
+ vatNumber: string | null;
271
+ vetted: boolean;
272
+ organisationId: string;
273
+ organisationName: string;
274
+ createdAtUTC: string;
275
+ logo: string | null;
276
+ location: {
277
+ what3words: string | null;
278
+ address: {
279
+ name?: string | null;
280
+ line1: string;
281
+ line2?: string | null;
282
+ line3?: string | null;
283
+ city?: string | null;
284
+ region?: string | null;
285
+ regionISO?: string | null;
286
+ postcode: string;
287
+ countryName?: string | null;
288
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
289
+ };
290
+ coordinates: {
291
+ lat: number;
292
+ lon: number;
293
+ } | null;
294
+ } | null;
295
+ };
266
296
  userId: string;
267
- userFullName: string;
268
- organisationId: string;
269
- organisationCreatedAtUTC: string;
270
- organisationName: string;
271
- organisationLogo: string;
272
- organisationVetted: boolean;
273
- organisationsInNetwork?: boolean;
297
+ userFullName?: string;
298
+ organisationId?: string;
299
+ organisationCreatedAtUTC?: string;
300
+ organisationName?: string;
301
+ organisationLogo?: string;
302
+ organisationVetted?: boolean;
274
303
  createdAtUTC: string;
275
304
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
276
305
  expiresAtUTC: string;
@@ -233,6 +233,7 @@ export type ContractDetail = {
233
233
  status: 'active' | 'pending' | 'suspended';
234
234
  companyId: string;
235
235
  companyHoldingNumber?: string;
236
+ vatNumber: string;
236
237
  bio: string;
237
238
  logo: {
238
239
  name?: string;
@@ -554,14 +554,43 @@ export type ListingDetail = {
554
554
  } | null;
555
555
  marketingPlanId?: string;
556
556
  };
557
+ business: {
558
+ id: string | null;
559
+ name: string | null;
560
+ companyNumber: string | null;
561
+ vatNumber: string | null;
562
+ vetted: boolean;
563
+ organisationId: string;
564
+ organisationName: string;
565
+ createdAtUTC: string;
566
+ logo: string | null;
567
+ location: {
568
+ what3words: string | null;
569
+ address: {
570
+ name?: string | null;
571
+ line1: string;
572
+ line2?: string | null;
573
+ line3?: string | null;
574
+ city?: string | null;
575
+ region?: string | null;
576
+ regionISO?: string | null;
577
+ postcode: string;
578
+ countryName?: string | null;
579
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
580
+ };
581
+ coordinates: {
582
+ lat: number;
583
+ lon: number;
584
+ } | null;
585
+ } | null;
586
+ };
557
587
  userId: string;
558
- userFullName: string;
559
- organisationId: string;
560
- organisationCreatedAtUTC: string;
561
- organisationName: string;
562
- organisationLogo: string;
563
- organisationVetted: boolean;
564
- organisationsInNetwork?: boolean;
588
+ userFullName?: string;
589
+ organisationId?: string;
590
+ organisationCreatedAtUTC?: string;
591
+ organisationName?: string;
592
+ organisationLogo?: string;
593
+ organisationVetted?: boolean;
565
594
  createdAtUTC: string;
566
595
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
567
596
  expiresAtUTC: string;
@@ -264,14 +264,43 @@ export type SearchResultsBidSchema = {
264
264
  } | null;
265
265
  marketingPlanId?: string;
266
266
  };
267
+ business: {
268
+ id: string | null;
269
+ name: string | null;
270
+ companyNumber: string | null;
271
+ vatNumber: string | null;
272
+ vetted: boolean;
273
+ organisationId: string;
274
+ organisationName: string;
275
+ createdAtUTC: string;
276
+ logo: string | null;
277
+ location: {
278
+ what3words: string | null;
279
+ address: {
280
+ name?: string | null;
281
+ line1: string;
282
+ line2?: string | null;
283
+ line3?: string | null;
284
+ city?: string | null;
285
+ region?: string | null;
286
+ regionISO?: string | null;
287
+ postcode: string;
288
+ countryName?: string | null;
289
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
290
+ };
291
+ coordinates: {
292
+ lat: number;
293
+ lon: number;
294
+ } | null;
295
+ } | null;
296
+ };
267
297
  userId: string;
268
- userFullName: string;
269
- organisationId: string;
270
- organisationCreatedAtUTC: string;
271
- organisationName: string;
272
- organisationLogo: string;
273
- organisationVetted: boolean;
274
- organisationsInNetwork?: boolean;
298
+ userFullName?: string;
299
+ organisationId?: string;
300
+ organisationCreatedAtUTC?: string;
301
+ organisationName?: string;
302
+ organisationLogo?: string;
303
+ organisationVetted?: boolean;
275
304
  createdAtUTC: string;
276
305
  status: 'active' | 'accepted' | 'withdrawn' | 'expired' | 'expiredOffered' | 'expiredOfferDeclined' | 'closed';
277
306
  expiresAtUTC: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.174",
3
+ "version": "1.1.175",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",