@hectare/platform.clients.trading 1.1.340 → 1.1.342

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.
package/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export type { BidMarketMatchesSchema } from './models/BidMarketMatchesSchema.js'
5
5
  export type { BuyerBenchmarkSchema } from './models/BuyerBenchmarkSchema.js';
6
6
  export type { BuyerSettlementSchema } from './models/BuyerSettlementSchema.js';
7
7
  export type { BuyerStatisticsSchema } from './models/BuyerStatisticsSchema.js';
8
+ export type { BuyerSupplyCountySchema } from './models/BuyerSupplyCountySchema.js';
8
9
  export type { BuyListingNow } from './models/BuyListingNow.js';
9
10
  export type { CloseListingReasonSchema } from './models/CloseListingReasonSchema.js';
10
11
  export type { CommodityPrices } from './models/CommodityPrices.js';
@@ -88,3 +89,4 @@ export type { WantedAdQuoteSchema } from './models/WantedAdQuoteSchema.js';
88
89
  export type { WantedAdResponseSchema } from './models/WantedAdResponseSchema.js';
89
90
  export type { WantedMarketSchema } from './models/WantedMarketSchema.js';
90
91
  export type { WantedPriceQuoteSchema } from './models/WantedPriceQuoteSchema.js';
92
+ export type { WantedSpotRegionSchema } from './models/WantedSpotRegionSchema.js';
@@ -0,0 +1,32 @@
1
+ export type BuyerSupplyCountySchema = {
2
+ county: string;
3
+ region: string | null;
4
+ centre: {
5
+ lat: number;
6
+ lon: number;
7
+ } | null;
8
+ available: {
9
+ listings: number;
10
+ farms: number;
11
+ tonnes: number;
12
+ price: {
13
+ low: number;
14
+ median: number;
15
+ high: number;
16
+ };
17
+ latestAtUTC: string;
18
+ } | null;
19
+ targetPrice: {
20
+ farms: number;
21
+ price: {
22
+ low: number;
23
+ median: number;
24
+ high: number;
25
+ };
26
+ latestAtUTC: string;
27
+ } | null;
28
+ planned: {
29
+ farms: number;
30
+ tonnes: number;
31
+ } | null;
32
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -76,6 +76,11 @@ export type SearchResultsWantedAdSchema = {
76
76
  premium?: number | null;
77
77
  currency?: string;
78
78
  } | null;
79
+ yourPrice?: {
80
+ amount: number;
81
+ currency: string;
82
+ miles: number;
83
+ } | null;
79
84
  currentPrice?: {
80
85
  amount?: number;
81
86
  currency?: string;
@@ -113,6 +118,19 @@ export type SearchResultsWantedAdSchema = {
113
118
  } | null;
114
119
  diff?: number | null;
115
120
  } | null;
121
+ marketByRegion?: Array<{
122
+ spotRegion: string;
123
+ ukRegions: Array<string>;
124
+ spot?: {
125
+ commodityKey?: string;
126
+ region?: string | null;
127
+ price?: number;
128
+ low?: number;
129
+ high?: number;
130
+ day?: string;
131
+ } | null;
132
+ diff?: number | null;
133
+ }> | null;
116
134
  }>;
117
135
  custom?: any;
118
136
  totalDocs: number;
@@ -75,6 +75,11 @@ export type WantedAdDetailSchema = {
75
75
  premium?: number | null;
76
76
  currency?: string;
77
77
  } | null;
78
+ yourPrice?: {
79
+ amount: number;
80
+ currency: string;
81
+ miles: number;
82
+ } | null;
78
83
  currentPrice?: {
79
84
  amount?: number;
80
85
  currency?: string;
@@ -112,4 +117,17 @@ export type WantedAdDetailSchema = {
112
117
  } | null;
113
118
  diff?: number | null;
114
119
  } | null;
120
+ marketByRegion?: Array<{
121
+ spotRegion: string;
122
+ ukRegions: Array<string>;
123
+ spot?: {
124
+ commodityKey?: string;
125
+ region?: string | null;
126
+ price?: number;
127
+ low?: number;
128
+ high?: number;
129
+ day?: string;
130
+ } | null;
131
+ diff?: number | null;
132
+ }> | null;
115
133
  };
@@ -0,0 +1,13 @@
1
+ export type WantedSpotRegionSchema = {
2
+ spotRegion: string;
3
+ ukRegions: Array<string>;
4
+ spot?: {
5
+ commodityKey?: string;
6
+ region?: string | null;
7
+ price?: number;
8
+ low?: number;
9
+ high?: number;
10
+ day?: string;
11
+ } | null;
12
+ diff?: number | null;
13
+ };
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.340",
3
+ "version": "1.1.342",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",