@hectare/platform.clients.trading 1.1.23 → 1.1.25

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.
@@ -37,7 +37,7 @@ export type BidDetail = {
37
37
  coordinates: {
38
38
  lat: number;
39
39
  lon: number;
40
- };
40
+ } | null;
41
41
  } | null;
42
42
  holdingNumber?: string;
43
43
  assuranceScheme?: 'RT' | 'SQC';
@@ -220,7 +220,7 @@ export type ContractDetail = {
220
220
  coordinates: {
221
221
  lat: number;
222
222
  lon: number;
223
- };
223
+ } | null;
224
224
  } | null;
225
225
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
226
226
  status?: 'active' | 'pending' | 'suspended';
@@ -34,7 +34,7 @@ export type ListingDetail = {
34
34
  coordinates: {
35
35
  lat: number;
36
36
  lon: number;
37
- };
37
+ } | null;
38
38
  } | null;
39
39
  holdingNumber?: string;
40
40
  assuranceScheme?: 'RT' | 'SQC';
@@ -241,7 +241,7 @@ export type ListingDetail = {
241
241
  coordinates: {
242
242
  lat: number;
243
243
  lon: number;
244
- };
244
+ } | null;
245
245
  } | null;
246
246
  holdingNumber?: string;
247
247
  assuranceScheme?: 'RT' | 'SQC';
@@ -34,7 +34,7 @@ export type ListingSummary = {
34
34
  coordinates: {
35
35
  lat: number;
36
36
  lon: number;
37
- };
37
+ } | null;
38
38
  } | null;
39
39
  holdingNumber?: string;
40
40
  assuranceScheme?: 'RT' | 'SQC';
@@ -1,20 +1,20 @@
1
1
  export type RecentListingCommodities = Array<{
2
- commodity?: {
2
+ commodity: {
3
3
  id: number;
4
4
  name: string;
5
5
  };
6
- type?: {
6
+ type: {
7
7
  id: number;
8
8
  name: string;
9
9
  };
10
- grade?: {
10
+ grade: {
11
11
  id: number;
12
12
  name: string;
13
13
  };
14
- variety?: string;
15
- attributes?: Array<{
14
+ variety: string | null;
15
+ attributes: Array<{
16
16
  id: number;
17
17
  name: string;
18
- }>;
19
- harvestYear?: string;
18
+ }> | null;
19
+ harvestYear: string;
20
20
  }>;
@@ -1,20 +1,20 @@
1
1
  export type RecentListingCommodity = {
2
- commodity?: {
2
+ commodity: {
3
3
  id: number;
4
4
  name: string;
5
5
  };
6
- type?: {
6
+ type: {
7
7
  id: number;
8
8
  name: string;
9
9
  };
10
- grade?: {
10
+ grade: {
11
11
  id: number;
12
12
  name: string;
13
13
  };
14
- variety?: string;
15
- attributes?: Array<{
14
+ variety: string | null;
15
+ attributes: Array<{
16
16
  id: number;
17
17
  name: string;
18
- }>;
19
- harvestYear?: string;
18
+ }> | null;
19
+ harvestYear: string;
20
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",