@hectare/platform.clients.trading 1.1.174 → 1.1.176

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