@hectare/platform.clients.trading 1.1.196 → 1.1.197

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.
@@ -7,15 +7,15 @@ export type BidDetail = {
7
7
  status: 'active' | 'closed' | 'traded';
8
8
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
9
9
  business: {
10
- organisationId?: string;
10
+ organisationId: string;
11
11
  organisationCreatedAtUTC?: string;
12
- organisationName?: string;
12
+ organisationName: string;
13
13
  organisationLogo?: string;
14
- organisationVetted?: boolean;
15
- businessUnitId?: string;
16
- businessUnitName?: string;
17
- businessCollectionAddressId?: number | null;
18
- businessCollectionAddress?: {
14
+ organisationVetted: boolean;
15
+ businessUnitId: string;
16
+ businessUnitName: string;
17
+ businessCollectionAddressId: number | null;
18
+ businessCollectionAddress: {
19
19
  id: number | null;
20
20
  reference: string | null;
21
21
  location: {
@@ -46,7 +46,8 @@ export type BidDetail = {
46
46
  };
47
47
  type: 'collection' | 'business' | 'delivery' | 'business-collection';
48
48
  } | null;
49
- id?: string;
49
+ id: string;
50
+ userId: string;
50
51
  name: string;
51
52
  email: string;
52
53
  phone: {
@@ -72,7 +73,7 @@ export type BidDetail = {
72
73
  lon: number;
73
74
  } | null;
74
75
  } | null;
75
- assurance?: {
76
+ assurance: {
76
77
  id: string | null;
77
78
  key?: string | null;
78
79
  body: 'RT' | 'SQC';
@@ -4,15 +4,15 @@ export type ListingDetail = {
4
4
  status: 'active' | 'closed' | 'traded';
5
5
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
6
6
  business: {
7
- organisationId?: string;
7
+ organisationId: string;
8
8
  organisationCreatedAtUTC?: string;
9
- organisationName?: string;
9
+ organisationName: string;
10
10
  organisationLogo?: string;
11
- organisationVetted?: boolean;
12
- businessUnitId?: string;
13
- businessUnitName?: string;
14
- businessCollectionAddressId?: number | null;
15
- businessCollectionAddress?: {
11
+ organisationVetted: boolean;
12
+ businessUnitId: string;
13
+ businessUnitName: string;
14
+ businessCollectionAddressId: number | null;
15
+ businessCollectionAddress: {
16
16
  id: number | null;
17
17
  reference: string | null;
18
18
  location: {
@@ -43,7 +43,8 @@ export type ListingDetail = {
43
43
  };
44
44
  type: 'collection' | 'business' | 'delivery' | 'business-collection';
45
45
  } | null;
46
- id?: string;
46
+ id: string;
47
+ userId: string;
47
48
  name: string;
48
49
  email: string;
49
50
  phone: {
@@ -69,7 +70,7 @@ export type ListingDetail = {
69
70
  lon: number;
70
71
  } | null;
71
72
  } | null;
72
- assurance?: {
73
+ assurance: {
73
74
  id: string | null;
74
75
  key?: string | null;
75
76
  body: 'RT' | 'SQC';
@@ -303,15 +304,15 @@ export type ListingDetail = {
303
304
  status: 'active' | 'closed' | 'traded';
304
305
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
305
306
  business: {
306
- organisationId?: string;
307
+ organisationId: string;
307
308
  organisationCreatedAtUTC?: string;
308
- organisationName?: string;
309
+ organisationName: string;
309
310
  organisationLogo?: string;
310
- organisationVetted?: boolean;
311
- businessUnitId?: string;
312
- businessUnitName?: string;
313
- businessCollectionAddressId?: number | null;
314
- businessCollectionAddress?: {
311
+ organisationVetted: boolean;
312
+ businessUnitId: string;
313
+ businessUnitName: string;
314
+ businessCollectionAddressId: number | null;
315
+ businessCollectionAddress: {
315
316
  id: number | null;
316
317
  reference: string | null;
317
318
  location: {
@@ -342,7 +343,8 @@ export type ListingDetail = {
342
343
  };
343
344
  type: 'collection' | 'business' | 'delivery' | 'business-collection';
344
345
  } | null;
345
- id?: string;
346
+ id: string;
347
+ userId: string;
346
348
  name: string;
347
349
  email: string;
348
350
  phone: {
@@ -368,7 +370,7 @@ export type ListingDetail = {
368
370
  lon: number;
369
371
  } | null;
370
372
  } | null;
371
- assurance?: {
373
+ assurance: {
372
374
  id: string | null;
373
375
  key?: string | null;
374
376
  body: 'RT' | 'SQC';
@@ -4,15 +4,15 @@ export type ListingSummary = {
4
4
  status: 'active' | 'closed' | 'traded';
5
5
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
6
6
  business: {
7
- organisationId?: string;
7
+ organisationId: string;
8
8
  organisationCreatedAtUTC?: string;
9
- organisationName?: string;
9
+ organisationName: string;
10
10
  organisationLogo?: string;
11
- organisationVetted?: boolean;
12
- businessUnitId?: string;
13
- businessUnitName?: string;
14
- businessCollectionAddressId?: number | null;
15
- businessCollectionAddress?: {
11
+ organisationVetted: boolean;
12
+ businessUnitId: string;
13
+ businessUnitName: string;
14
+ businessCollectionAddressId: number | null;
15
+ businessCollectionAddress: {
16
16
  id: number | null;
17
17
  reference: string | null;
18
18
  location: {
@@ -43,7 +43,8 @@ export type ListingSummary = {
43
43
  };
44
44
  type: 'collection' | 'business' | 'delivery' | 'business-collection';
45
45
  } | null;
46
- id?: string;
46
+ id: string;
47
+ userId: string;
47
48
  name: string;
48
49
  email: string;
49
50
  phone: {
@@ -69,7 +70,7 @@ export type ListingSummary = {
69
70
  lon: number;
70
71
  } | null;
71
72
  } | null;
72
- assurance?: {
73
+ assurance: {
73
74
  id: string | null;
74
75
  key?: string | null;
75
76
  body: 'RT' | 'SQC';
@@ -8,15 +8,15 @@ export type SearchResultsBidSchema = {
8
8
  status: 'active' | 'closed' | 'traded';
9
9
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
10
10
  business: {
11
- organisationId?: string;
11
+ organisationId: string;
12
12
  organisationCreatedAtUTC?: string;
13
- organisationName?: string;
13
+ organisationName: string;
14
14
  organisationLogo?: string;
15
- organisationVetted?: boolean;
16
- businessUnitId?: string;
17
- businessUnitName?: string;
18
- businessCollectionAddressId?: number | null;
19
- businessCollectionAddress?: {
15
+ organisationVetted: boolean;
16
+ businessUnitId: string;
17
+ businessUnitName: string;
18
+ businessCollectionAddressId: number | null;
19
+ businessCollectionAddress: {
20
20
  id: number | null;
21
21
  reference: string | null;
22
22
  location: {
@@ -47,7 +47,8 @@ export type SearchResultsBidSchema = {
47
47
  };
48
48
  type: 'collection' | 'business' | 'delivery' | 'business-collection';
49
49
  } | null;
50
- id?: string;
50
+ id: string;
51
+ userId: string;
51
52
  name: string;
52
53
  email: string;
53
54
  phone: {
@@ -73,7 +74,7 @@ export type SearchResultsBidSchema = {
73
74
  lon: number;
74
75
  } | null;
75
76
  } | null;
76
- assurance?: {
77
+ assurance: {
77
78
  id: string | null;
78
79
  key?: string | null;
79
80
  body: 'RT' | 'SQC';
@@ -5,15 +5,15 @@ export type SearchResultsListingSchema = {
5
5
  status: 'active' | 'closed' | 'traded';
6
6
  substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
7
7
  business: {
8
- organisationId?: string;
8
+ organisationId: string;
9
9
  organisationCreatedAtUTC?: string;
10
- organisationName?: string;
10
+ organisationName: string;
11
11
  organisationLogo?: string;
12
- organisationVetted?: boolean;
13
- businessUnitId?: string;
14
- businessUnitName?: string;
15
- businessCollectionAddressId?: number | null;
16
- businessCollectionAddress?: {
12
+ organisationVetted: boolean;
13
+ businessUnitId: string;
14
+ businessUnitName: string;
15
+ businessCollectionAddressId: number | null;
16
+ businessCollectionAddress: {
17
17
  id: number | null;
18
18
  reference: string | null;
19
19
  location: {
@@ -44,7 +44,8 @@ export type SearchResultsListingSchema = {
44
44
  };
45
45
  type: 'collection' | 'business' | 'delivery' | 'business-collection';
46
46
  } | null;
47
- id?: string;
47
+ id: string;
48
+ userId: string;
48
49
  name: string;
49
50
  email: string;
50
51
  phone: {
@@ -70,7 +71,7 @@ export type SearchResultsListingSchema = {
70
71
  lon: number;
71
72
  } | null;
72
73
  } | null;
73
- assurance?: {
74
+ assurance: {
74
75
  id: string | null;
75
76
  key?: string | null;
76
77
  body: 'RT' | 'SQC';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.196",
3
+ "version": "1.1.197",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",