@hectare/platform.clients.trading 1.1.338 → 1.1.340

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
@@ -1,4 +1,5 @@
1
1
  export type { AcceptBid } from './models/AcceptBid.js';
2
+ export type { ApproveWantedAdResponse } from './models/ApproveWantedAdResponse.js';
2
3
  export type { BidDetail } from './models/BidDetail.js';
3
4
  export type { BidMarketMatchesSchema } from './models/BidMarketMatchesSchema.js';
4
5
  export type { BuyerBenchmarkSchema } from './models/BuyerBenchmarkSchema.js';
@@ -23,8 +24,10 @@ export type { CreateListing } from './models/CreateListing.js';
23
24
  export type { CreateManualListingTrade } from './models/CreateManualListingTrade.js';
24
25
  export type { CreateMarketingPlanSchema } from './models/CreateMarketingPlanSchema.js';
25
26
  export type { CreateWantedAd } from './models/CreateWantedAd.js';
27
+ export type { CreateWantedAdResponse } from './models/CreateWantedAdResponse.js';
26
28
  export type { CropContractSearchSchema } from './models/CropContractSearchSchema.js';
27
29
  export type { CropProfileStatsSchema } from './models/CropProfileStatsSchema.js';
30
+ export type { DeclineWantedAdResponse } from './models/DeclineWantedAdResponse.js';
28
31
  export type { DeleteContractSchema } from './models/DeleteContractSchema.js';
29
32
  export type { DeleteMarketingPlanSchema } from './models/DeleteMarketingPlanSchema.js';
30
33
  export type { ExFarmPriceCommodity } from './models/ExFarmPriceCommodity.js';
@@ -81,3 +84,7 @@ export type { SetListingBuyNow } from './models/SetListingBuyNow.js';
81
84
  export type { Templates } from './models/Templates.js';
82
85
  export type { TradingConfig } from './models/TradingConfig.js';
83
86
  export type { WantedAdDetailSchema } from './models/WantedAdDetailSchema.js';
87
+ export type { WantedAdQuoteSchema } from './models/WantedAdQuoteSchema.js';
88
+ export type { WantedAdResponseSchema } from './models/WantedAdResponseSchema.js';
89
+ export type { WantedMarketSchema } from './models/WantedMarketSchema.js';
90
+ export type { WantedPriceQuoteSchema } from './models/WantedPriceQuoteSchema.js';
@@ -0,0 +1,3 @@
1
+ export type ApproveWantedAdResponse = {
2
+ price?: number | null;
3
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -47,4 +47,5 @@ export type CreateWantedAd = {
47
47
  ratePerTonneMile: number;
48
48
  currency?: string | null;
49
49
  } | null;
50
+ radiusMiles?: number | null;
50
51
  };
@@ -0,0 +1,11 @@
1
+ export type CreateWantedAdResponse = {
2
+ businessId: string;
3
+ collectionAddressId?: number | null;
4
+ gradeId?: number | null;
5
+ weight: number;
6
+ movementMonth?: string | null;
7
+ ownPrice?: number | null;
8
+ sellerNotes?: string | null;
9
+ specConfirmed: boolean;
10
+ haulageTASCC?: boolean | null;
11
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export type DeclineWantedAdResponse = {
2
+ reason?: string | null;
3
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -47,4 +47,5 @@ export type PatchWantedAdSchema = {
47
47
  ratePerTonneMile: number;
48
48
  currency?: string | null;
49
49
  } | null;
50
+ radiusMiles?: number | null;
50
51
  };
@@ -86,6 +86,7 @@ export type SearchResultsWantedAdSchema = {
86
86
  ratePerTonneMile?: number;
87
87
  currency?: string;
88
88
  } | null;
89
+ radiusMiles?: number | null;
89
90
  deliveryArea?: {
90
91
  outwardCode?: string | null;
91
92
  district?: string | null;
@@ -85,6 +85,7 @@ export type WantedAdDetailSchema = {
85
85
  ratePerTonneMile?: number;
86
86
  currency?: string;
87
87
  } | null;
88
+ radiusMiles?: number | null;
88
89
  deliveryArea?: {
89
90
  outwardCode?: string | null;
90
91
  district?: string | null;
@@ -0,0 +1,40 @@
1
+ export type WantedAdQuoteSchema = {
2
+ miles?: number | null;
3
+ quote?: {
4
+ currency?: string;
5
+ basis?: 'fixed' | 'futures';
6
+ futures?: {
7
+ id?: number;
8
+ name?: string;
9
+ month?: string;
10
+ last?: number;
11
+ currency?: string;
12
+ asOfUTC?: string | null;
13
+ } | null;
14
+ premium?: number | null;
15
+ adPrice?: number;
16
+ haulage?: {
17
+ miles?: number;
18
+ ratePerTonneMile?: number;
19
+ costPerTonne?: number;
20
+ } | null;
21
+ ownPrice?: boolean;
22
+ sellerPrice?: number;
23
+ deliveredCost?: number | null;
24
+ } | null;
25
+ quoteError?: string | null;
26
+ market?: {
27
+ spot?: {
28
+ commodityKey?: string;
29
+ region?: string | null;
30
+ price?: number;
31
+ low?: number;
32
+ high?: number;
33
+ day?: string;
34
+ } | null;
35
+ diff?: number | null;
36
+ } | null;
37
+ remaining: number;
38
+ minPerResponse: number;
39
+ open: boolean;
40
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,62 @@
1
+ export type WantedAdResponseSchema = {
2
+ id: string;
3
+ status: 'pending' | 'approved' | 'declined' | 'expired' | 'withdrawn';
4
+ seller?: {
5
+ organisationId?: string;
6
+ organisationName?: string | null;
7
+ businessId?: string | null;
8
+ businessName?: string | null;
9
+ fullName?: string | null;
10
+ ukRegion?: string | null;
11
+ assured?: boolean;
12
+ } | null;
13
+ gradeId?: number;
14
+ weight: number;
15
+ movementMonth?: string | null;
16
+ ownPrice?: number | null;
17
+ miles?: number | null;
18
+ haulageTASCC?: boolean | null;
19
+ sellerNotes?: string | null;
20
+ quote?: {
21
+ currency?: string;
22
+ basis?: 'fixed' | 'futures';
23
+ futures?: {
24
+ id?: number;
25
+ name?: string;
26
+ month?: string;
27
+ last?: number;
28
+ currency?: string;
29
+ asOfUTC?: string | null;
30
+ } | null;
31
+ premium?: number | null;
32
+ adPrice?: number;
33
+ haulage?: {
34
+ miles?: number;
35
+ ratePerTonneMile?: number;
36
+ costPerTonne?: number;
37
+ } | null;
38
+ ownPrice?: boolean;
39
+ sellerPrice?: number;
40
+ deliveredCost?: number | null;
41
+ } | null;
42
+ quoteError?: string | null;
43
+ market?: {
44
+ spot?: {
45
+ commodityKey?: string;
46
+ region?: string | null;
47
+ price?: number;
48
+ low?: number;
49
+ high?: number;
50
+ day?: string;
51
+ } | null;
52
+ diff?: number | null;
53
+ } | null;
54
+ approvedPrice?: number | null;
55
+ respondedAtUTC: string;
56
+ expiresAtUTC: string;
57
+ decidedAtUTC?: string | null;
58
+ decidedOnBehalf?: boolean;
59
+ declineReason?: string | null;
60
+ listingId?: string | null;
61
+ contractId?: string | null;
62
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ export type WantedMarketSchema = {
2
+ spot?: {
3
+ commodityKey?: string;
4
+ region?: string | null;
5
+ price?: number;
6
+ low?: number;
7
+ high?: number;
8
+ day?: string;
9
+ } | null;
10
+ diff?: number | null;
11
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ export type WantedPriceQuoteSchema = {
2
+ currency?: string;
3
+ basis?: 'fixed' | 'futures';
4
+ futures?: {
5
+ id?: number;
6
+ name?: string;
7
+ month?: string;
8
+ last?: number;
9
+ currency?: string;
10
+ asOfUTC?: string | null;
11
+ } | null;
12
+ premium?: number | null;
13
+ adPrice?: number;
14
+ haulage?: {
15
+ miles?: number;
16
+ ratePerTonneMile?: number;
17
+ costPerTonne?: number;
18
+ } | null;
19
+ ownPrice?: boolean;
20
+ sellerPrice?: number;
21
+ deliveredCost?: number | null;
22
+ };
@@ -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.338",
3
+ "version": "1.1.340",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",