@hectare/platform.clients.trading 1.1.7 → 1.1.9

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.
@@ -42,10 +42,7 @@ export type BidDetail = {
42
42
  } | null;
43
43
  holdingNumber?: string;
44
44
  assuranceScheme?: 'RT' | 'SQC';
45
- sqc?: {
46
- number: string;
47
- isAssured: boolean;
48
- } | null;
45
+ assuranceId?: string;
49
46
  };
50
47
  details: {
51
48
  startDateUTC: string;
@@ -273,6 +273,7 @@ export type ContractDetail = {
273
273
  number: string;
274
274
  isAssured: boolean;
275
275
  } | null;
276
+ assuranceId?: string;
276
277
  assuranceScheme?: 'RT' | 'SQC';
277
278
  advancePay?: {
278
279
  accountName: string;
@@ -8,7 +8,7 @@ export type CreateTradeRequest = {
8
8
  variety?: string | null;
9
9
  tags?: Array<number> | null;
10
10
  };
11
- regionISOs?: Array<string>;
11
+ regionISOs: Array<string>;
12
12
  harvestYear: string;
13
13
  type?: 'crop' | 'produce';
14
14
  farmAssured?: boolean;
@@ -39,10 +39,7 @@ export type ListingDetail = {
39
39
  } | null;
40
40
  holdingNumber?: string;
41
41
  assuranceScheme?: 'RT' | 'SQC';
42
- sqc?: {
43
- number: string;
44
- isAssured: boolean;
45
- } | null;
42
+ assuranceId?: string;
46
43
  };
47
44
  details: {
48
45
  startDateUTC: string;
@@ -249,10 +246,7 @@ export type ListingDetail = {
249
246
  } | null;
250
247
  holdingNumber?: string;
251
248
  assuranceScheme?: 'RT' | 'SQC';
252
- sqc?: {
253
- number: string;
254
- isAssured: boolean;
255
- } | null;
249
+ assuranceId?: string;
256
250
  };
257
251
  details: {
258
252
  startDateUTC: string;
@@ -39,10 +39,7 @@ export type ListingSummary = {
39
39
  } | null;
40
40
  holdingNumber?: string;
41
41
  assuranceScheme?: 'RT' | 'SQC';
42
- sqc?: {
43
- number: string;
44
- isAssured: boolean;
45
- } | null;
42
+ assuranceId?: string;
46
43
  };
47
44
  details: {
48
45
  startDateUTC: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",