@hectare/platform.clients.trading 1.1.319 → 1.1.321

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
@@ -24,8 +24,6 @@ export type { CropProfileStatsSchema } from './models/CropProfileStatsSchema.js'
24
24
  export type { DeleteContractSchema } from './models/DeleteContractSchema.js';
25
25
  export type { DeleteMarketingPlanSchema } from './models/DeleteMarketingPlanSchema.js';
26
26
  export type { ExFarmPriceCommodity } from './models/ExFarmPriceCommodity.js';
27
- export type { ExFarmPricesRegionSchema } from './models/ExFarmPricesRegionSchema.js';
28
- export type { ExFarmPricesSchema } from './models/ExFarmPricesSchema.js';
29
27
  export type { ExpiredBidOffer } from './models/ExpiredBidOffer.js';
30
28
  export type { FeedItem } from './models/FeedItem.js';
31
29
  export type { HarvestSummarySchema } from './models/HarvestSummarySchema.js';
@@ -38,6 +36,7 @@ export type { InsightsHistoricalFuturesPricesSchema } from './models/InsightsHis
38
36
  export type { InsightsRecommendedForwardSellingPremiumPredictionSchema } from './models/InsightsRecommendedForwardSellingPremiumPredictionSchema.js';
39
37
  export type { InsightsRegionalPricesPredictionSchema } from './models/InsightsRegionalPricesPredictionSchema.js';
40
38
  export type { InventoryDetailSchema } from './models/InventoryDetailSchema.js';
39
+ export type { InventoryOrganisationsSchema } from './models/InventoryOrganisationsSchema.js';
41
40
  export type { InventorySchema } from './models/InventorySchema.js';
42
41
  export type { InventorySummarySchema } from './models/InventorySummarySchema.js';
43
42
  export type { InventoryTonnageLocationSchema } from './models/InventoryTonnageLocationSchema.js';
@@ -65,7 +64,6 @@ export type { PatchMarketingPlanScheduleSchema } from './models/PatchMarketingPl
65
64
  export type { PatchMarketingPlanSchema } from './models/PatchMarketingPlanSchema.js';
66
65
  export type { PatchWantedAdSchema } from './models/PatchWantedAdSchema.js';
67
66
  export type { PriceScoreSchema } from './models/PriceScoreSchema.js';
68
- export type { PublishExFarmPricingSchema } from './models/PublishExFarmPricingSchema.js';
69
67
  export type { RecordContractMovementMovedSchema } from './models/RecordContractMovementMovedSchema.js';
70
68
  export type { SearchResultsBidSchema } from './models/SearchResultsBidSchema.js';
71
69
  export type { SearchResultsContractSchema } from './models/SearchResultsContractSchema.js';
@@ -122,6 +122,8 @@ export type BidDetail = {
122
122
  sellerNotes: string | null;
123
123
  deliveryPostcode: string | null;
124
124
  };
125
+ pricingBasis?: 'milling' | 'feed' | null;
126
+ pricingBasisSource?: 'derived' | 'stated' | null;
125
127
  contract?: {
126
128
  id: string | null;
127
129
  files?: Array<{
@@ -252,6 +254,7 @@ export type BidDetail = {
252
254
  currency: string;
253
255
  } | null;
254
256
  contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
257
+ pricingBasis?: 'milling' | 'feed' | null;
255
258
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
256
259
  haulageTypeTASCC?: boolean | null;
257
260
  };
@@ -494,6 +497,8 @@ export type BidDetail = {
494
497
  sellerNotes: string | null;
495
498
  deliveryPostcode: string | null;
496
499
  };
500
+ pricingBasis?: 'milling' | 'feed' | null;
501
+ pricingBasisSource?: 'derived' | 'stated' | null;
497
502
  contract?: {
498
503
  id: string | null;
499
504
  files?: Array<{
@@ -106,6 +106,7 @@ export type BuyerBenchmarkSchema = {
106
106
  currency: string;
107
107
  } | null;
108
108
  contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
109
+ pricingBasis?: 'milling' | 'feed' | null;
109
110
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
110
111
  haulageTypeTASCC?: boolean | null;
111
112
  };
@@ -348,6 +349,8 @@ export type BuyerBenchmarkSchema = {
348
349
  sellerNotes: string | null;
349
350
  deliveryPostcode: string | null;
350
351
  };
352
+ pricingBasis?: 'milling' | 'feed' | null;
353
+ pricingBasisSource?: 'derived' | 'stated' | null;
351
354
  contract?: {
352
355
  id: string | null;
353
356
  files?: Array<{
@@ -14,6 +14,7 @@ export type ContractDetail = {
14
14
  weight?: number;
15
15
  };
16
16
  priceType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
17
+ pricingBasis?: 'milling' | 'feed' | null;
17
18
  compositionType: 'individual' | 'multiple' | 'other';
18
19
  totalPrice: {
19
20
  amount: number | null;
@@ -410,6 +411,8 @@ export type ContractDetail = {
410
411
  sellerNotes: string | null;
411
412
  deliveryPostcode: string | null;
412
413
  };
414
+ pricingBasis?: 'milling' | 'feed' | null;
415
+ pricingBasisSource?: 'derived' | 'stated' | null;
413
416
  contract?: {
414
417
  id: string | null;
415
418
  files?: Array<{
@@ -540,6 +543,7 @@ export type ContractDetail = {
540
543
  currency: string;
541
544
  } | null;
542
545
  contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
546
+ pricingBasis?: 'milling' | 'feed' | null;
543
547
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
544
548
  haulageTypeTASCC?: boolean | null;
545
549
  };
@@ -782,6 +786,8 @@ export type ContractDetail = {
782
786
  sellerNotes: string | null;
783
787
  deliveryPostcode: string | null;
784
788
  };
789
+ pricingBasis?: 'milling' | 'feed' | null;
790
+ pricingBasisSource?: 'derived' | 'stated' | null;
785
791
  contract?: {
786
792
  id: string | null;
787
793
  files?: Array<{
@@ -17,6 +17,7 @@ export type CreateListing = {
17
17
  asAvailable: boolean | null;
18
18
  };
19
19
  contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
20
+ pricingBasis?: 'milling' | 'feed' | null;
20
21
  startDateUTC?: string | null;
21
22
  haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
22
23
  haulageTypeTASCC?: boolean | null;
@@ -18,6 +18,7 @@ export type CreateManualListingTrade = {
18
18
  asAvailable: boolean | null;
19
19
  };
20
20
  contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
21
+ pricingBasis?: 'milling' | 'feed' | null;
21
22
  startDateUTC?: string | null;
22
23
  haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
23
24
  haulageTypeTASCC?: boolean | null;
@@ -12,6 +12,7 @@ export type CropContractSearchSchema = {
12
12
  variety?: string | null;
13
13
  haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
14
14
  contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus' | null;
15
+ pricingBasis?: 'milling' | 'feed' | null;
15
16
  commodityId?: number | null;
16
17
  movement?: string | null;
17
18
  paymentMonth?: string | null;
@@ -0,0 +1,4 @@
1
+ export type InventoryOrganisationsSchema = {
2
+ organisationIds: Array<string>;
3
+ truncated: boolean;
4
+ };
@@ -105,6 +105,7 @@ export type ListingDetail = {
105
105
  currency: string;
106
106
  } | null;
107
107
  contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
108
+ pricingBasis?: 'milling' | 'feed' | null;
108
109
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
109
110
  haulageTypeTASCC?: boolean | null;
110
111
  };
@@ -347,6 +348,8 @@ export type ListingDetail = {
347
348
  sellerNotes: string | null;
348
349
  deliveryPostcode: string | null;
349
350
  };
351
+ pricingBasis?: 'milling' | 'feed' | null;
352
+ pricingBasisSource?: 'derived' | 'stated' | null;
350
353
  contract?: {
351
354
  id: string | null;
352
355
  files?: Array<{
@@ -17,6 +17,7 @@ export type PatchListingSchema = {
17
17
  asAvailable: boolean | null;
18
18
  };
19
19
  contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
20
+ pricingBasis?: 'milling' | 'feed' | null;
20
21
  startDateUTC?: string | null;
21
22
  haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
22
23
  haulageTypeTASCC?: boolean | null;
@@ -123,6 +123,8 @@ export type SearchResultsBidSchema = {
123
123
  sellerNotes: string | null;
124
124
  deliveryPostcode: string | null;
125
125
  };
126
+ pricingBasis?: 'milling' | 'feed' | null;
127
+ pricingBasisSource?: 'derived' | 'stated' | null;
126
128
  contract?: {
127
129
  id: string | null;
128
130
  files?: Array<{
@@ -253,6 +255,7 @@ export type SearchResultsBidSchema = {
253
255
  currency: string;
254
256
  } | null;
255
257
  contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
258
+ pricingBasis?: 'milling' | 'feed' | null;
256
259
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
257
260
  haulageTypeTASCC?: boolean | null;
258
261
  };
@@ -495,6 +498,8 @@ export type SearchResultsBidSchema = {
495
498
  sellerNotes: string | null;
496
499
  deliveryPostcode: string | null;
497
500
  };
501
+ pricingBasis?: 'milling' | 'feed' | null;
502
+ pricingBasisSource?: 'derived' | 'stated' | null;
498
503
  contract?: {
499
504
  id: string | null;
500
505
  files?: Array<{
@@ -15,6 +15,7 @@ export type SearchResultsContractSchema = {
15
15
  weight?: number;
16
16
  };
17
17
  priceType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
18
+ pricingBasis?: 'milling' | 'feed' | null;
18
19
  compositionType: 'individual' | 'multiple' | 'other';
19
20
  totalPrice: {
20
21
  amount: number | null;
@@ -411,6 +412,8 @@ export type SearchResultsContractSchema = {
411
412
  sellerNotes: string | null;
412
413
  deliveryPostcode: string | null;
413
414
  };
415
+ pricingBasis?: 'milling' | 'feed' | null;
416
+ pricingBasisSource?: 'derived' | 'stated' | null;
414
417
  contract?: {
415
418
  id: string | null;
416
419
  files?: Array<{
@@ -541,6 +544,7 @@ export type SearchResultsContractSchema = {
541
544
  currency: string;
542
545
  } | null;
543
546
  contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
547
+ pricingBasis?: 'milling' | 'feed' | null;
544
548
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
545
549
  haulageTypeTASCC?: boolean | null;
546
550
  };
@@ -783,6 +787,8 @@ export type SearchResultsContractSchema = {
783
787
  sellerNotes: string | null;
784
788
  deliveryPostcode: string | null;
785
789
  };
790
+ pricingBasis?: 'milling' | 'feed' | null;
791
+ pricingBasisSource?: 'derived' | 'stated' | null;
786
792
  contract?: {
787
793
  id: string | null;
788
794
  files?: Array<{
@@ -106,6 +106,7 @@ export type SearchResultsListingSchema = {
106
106
  currency: string;
107
107
  } | null;
108
108
  contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
109
+ pricingBasis?: 'milling' | 'feed' | null;
109
110
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
110
111
  haulageTypeTASCC?: boolean | null;
111
112
  };
@@ -348,6 +349,8 @@ export type SearchResultsListingSchema = {
348
349
  sellerNotes: string | null;
349
350
  deliveryPostcode: string | null;
350
351
  };
352
+ pricingBasis?: 'milling' | 'feed' | null;
353
+ pricingBasisSource?: 'derived' | 'stated' | null;
351
354
  contract?: {
352
355
  id: string | null;
353
356
  files?: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.319",
3
+ "version": "1.1.321",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",
@@ -1,13 +0,0 @@
1
- export type ExFarmPricesRegionSchema = {
2
- region: string;
3
- prices: Array<{
4
- id?: number;
5
- commodity?: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
6
- date?: string | null;
7
- price?: number;
8
- delta?: number;
9
- commodityId?: number | null;
10
- commodityGrades?: Array<number> | null;
11
- default?: boolean | null;
12
- }>;
13
- };
@@ -1,45 +0,0 @@
1
- export type ExFarmPricesSchema = {
2
- updatedAtUTC: string;
3
- configuration: {
4
- commodities: Array<{
5
- commodity: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
6
- price: number;
7
- }>;
8
- dates: Array<{
9
- commodity: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
10
- date: string;
11
- carryPrice: number;
12
- }>;
13
- regionGroups: Array<{
14
- commodity: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
15
- groups: Array<string>;
16
- differentialPrice: number;
17
- }>;
18
- };
19
- groups: Array<{
20
- group: string;
21
- prices: Array<{
22
- id?: number;
23
- commodity?: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
24
- date?: string | null;
25
- price?: number;
26
- delta?: number;
27
- commodityId?: number | null;
28
- commodityGrades?: Array<number> | null;
29
- default?: boolean | null;
30
- }>;
31
- }>;
32
- regions: Array<{
33
- region: string;
34
- prices: Array<{
35
- id?: number;
36
- commodity?: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
37
- date?: string | null;
38
- price?: number;
39
- delta?: number;
40
- commodityId?: number | null;
41
- commodityGrades?: Array<number> | null;
42
- default?: boolean | null;
43
- }>;
44
- }>;
45
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- export type PublishExFarmPricingSchema = {
2
- commodities: Array<{
3
- commodity: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
4
- price: number;
5
- }>;
6
- dates: Array<{
7
- commodity: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
8
- date: string;
9
- carryPrice: number;
10
- }>;
11
- regionGroups: Array<{
12
- commodity: 'Milling Wheat' | 'Feed Wheat' | 'Feed Barley' | 'Oilseed Rape';
13
- groups: Array<string>;
14
- differentialPrice: number;
15
- }>;
16
- };
@@ -1 +0,0 @@
1
- export {};