@hectare/platform.clients.trading 1.1.337 → 1.1.339
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 +7 -0
- package/models/ApproveWantedAdResponse.d.ts +3 -0
- package/models/ApproveWantedAdResponse.js +1 -0
- package/models/CreateWantedAd.d.ts +14 -0
- package/models/CreateWantedAdResponse.d.ts +11 -0
- package/models/CreateWantedAdResponse.js +1 -0
- package/models/DeclineWantedAdResponse.d.ts +3 -0
- package/models/DeclineWantedAdResponse.js +1 -0
- package/models/PatchWantedAdSchema.d.ts +14 -0
- package/models/SearchResultsWantedAdSchema.d.ts +47 -0
- package/models/WantedAdDetailSchema.d.ts +47 -0
- package/models/WantedAdQuoteSchema.d.ts +40 -0
- package/models/WantedAdQuoteSchema.js +1 -0
- package/models/WantedAdResponseSchema.d.ts +62 -0
- package/models/WantedAdResponseSchema.js +1 -0
- package/models/WantedMarketSchema.d.ts +11 -0
- package/models/WantedMarketSchema.js +1 -0
- package/models/WantedPriceQuoteSchema.d.ts +22 -0
- package/models/WantedPriceQuoteSchema.js +1 -0
- package/package.json +1 -1
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -33,4 +33,18 @@ export type CreateWantedAd = {
|
|
|
33
33
|
} | null;
|
|
34
34
|
expiresAtUTC: string;
|
|
35
35
|
tags?: Array<string> | null;
|
|
36
|
+
version?: 'v2' | null;
|
|
37
|
+
buyerBusinessId?: string | null;
|
|
38
|
+
priceBasis?: {
|
|
39
|
+
type: 'fixed' | 'futures';
|
|
40
|
+
price?: number | null;
|
|
41
|
+
futuresId?: number | null;
|
|
42
|
+
futuresMonth?: string | null;
|
|
43
|
+
premium?: number | null;
|
|
44
|
+
currency?: string | null;
|
|
45
|
+
} | null;
|
|
46
|
+
haulagePricing?: {
|
|
47
|
+
ratePerTonneMile: number;
|
|
48
|
+
currency?: string | null;
|
|
49
|
+
} | null;
|
|
36
50
|
};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -33,4 +33,18 @@ export type PatchWantedAdSchema = {
|
|
|
33
33
|
} | null;
|
|
34
34
|
expiresAtUTC?: string;
|
|
35
35
|
tags?: Array<string> | null;
|
|
36
|
+
version?: 'v2' | null;
|
|
37
|
+
buyerBusinessId?: string | null;
|
|
38
|
+
priceBasis?: {
|
|
39
|
+
type: 'fixed' | 'futures';
|
|
40
|
+
price?: number | null;
|
|
41
|
+
futuresId?: number | null;
|
|
42
|
+
futuresMonth?: string | null;
|
|
43
|
+
premium?: number | null;
|
|
44
|
+
currency?: string | null;
|
|
45
|
+
} | null;
|
|
46
|
+
haulagePricing?: {
|
|
47
|
+
ratePerTonneMile: number;
|
|
48
|
+
currency?: string | null;
|
|
49
|
+
} | null;
|
|
36
50
|
};
|
|
@@ -65,6 +65,53 @@ export type SearchResultsWantedAdSchema = {
|
|
|
65
65
|
};
|
|
66
66
|
createdAtUTC: string;
|
|
67
67
|
expiresAtUTC: string;
|
|
68
|
+
version?: 'v2' | null;
|
|
69
|
+
buyerBusinessId?: string | null;
|
|
70
|
+
priceBasis?: {
|
|
71
|
+
type?: 'fixed' | 'futures';
|
|
72
|
+
price?: number | null;
|
|
73
|
+
futuresId?: number | null;
|
|
74
|
+
futuresName?: string | null;
|
|
75
|
+
futuresMonth?: string | null;
|
|
76
|
+
premium?: number | null;
|
|
77
|
+
currency?: string;
|
|
78
|
+
} | null;
|
|
79
|
+
currentPrice?: {
|
|
80
|
+
amount?: number;
|
|
81
|
+
currency?: string;
|
|
82
|
+
futuresLast?: number | null;
|
|
83
|
+
asOfUTC?: string | null;
|
|
84
|
+
} | null;
|
|
85
|
+
haulagePricing?: {
|
|
86
|
+
ratePerTonneMile?: number;
|
|
87
|
+
currency?: string;
|
|
88
|
+
} | null;
|
|
89
|
+
deliveryArea?: {
|
|
90
|
+
outwardCode?: string | null;
|
|
91
|
+
district?: string | null;
|
|
92
|
+
county?: string | null;
|
|
93
|
+
} | null;
|
|
94
|
+
filled?: {
|
|
95
|
+
secured?: number;
|
|
96
|
+
pending?: number;
|
|
97
|
+
remaining?: number;
|
|
98
|
+
minPerResponse?: number;
|
|
99
|
+
} | null;
|
|
100
|
+
responseCounts?: {
|
|
101
|
+
pending?: number;
|
|
102
|
+
approved?: number;
|
|
103
|
+
} | null;
|
|
104
|
+
market?: {
|
|
105
|
+
spot?: {
|
|
106
|
+
commodityKey?: string;
|
|
107
|
+
region?: string | null;
|
|
108
|
+
price?: number;
|
|
109
|
+
low?: number;
|
|
110
|
+
high?: number;
|
|
111
|
+
day?: string;
|
|
112
|
+
} | null;
|
|
113
|
+
diff?: number | null;
|
|
114
|
+
} | null;
|
|
68
115
|
}>;
|
|
69
116
|
custom?: any;
|
|
70
117
|
totalDocs: number;
|
|
@@ -64,4 +64,51 @@ export type WantedAdDetailSchema = {
|
|
|
64
64
|
};
|
|
65
65
|
createdAtUTC: string;
|
|
66
66
|
expiresAtUTC: string;
|
|
67
|
+
version?: 'v2' | null;
|
|
68
|
+
buyerBusinessId?: string | null;
|
|
69
|
+
priceBasis?: {
|
|
70
|
+
type?: 'fixed' | 'futures';
|
|
71
|
+
price?: number | null;
|
|
72
|
+
futuresId?: number | null;
|
|
73
|
+
futuresName?: string | null;
|
|
74
|
+
futuresMonth?: string | null;
|
|
75
|
+
premium?: number | null;
|
|
76
|
+
currency?: string;
|
|
77
|
+
} | null;
|
|
78
|
+
currentPrice?: {
|
|
79
|
+
amount?: number;
|
|
80
|
+
currency?: string;
|
|
81
|
+
futuresLast?: number | null;
|
|
82
|
+
asOfUTC?: string | null;
|
|
83
|
+
} | null;
|
|
84
|
+
haulagePricing?: {
|
|
85
|
+
ratePerTonneMile?: number;
|
|
86
|
+
currency?: string;
|
|
87
|
+
} | null;
|
|
88
|
+
deliveryArea?: {
|
|
89
|
+
outwardCode?: string | null;
|
|
90
|
+
district?: string | null;
|
|
91
|
+
county?: string | null;
|
|
92
|
+
} | null;
|
|
93
|
+
filled?: {
|
|
94
|
+
secured?: number;
|
|
95
|
+
pending?: number;
|
|
96
|
+
remaining?: number;
|
|
97
|
+
minPerResponse?: number;
|
|
98
|
+
} | null;
|
|
99
|
+
responseCounts?: {
|
|
100
|
+
pending?: number;
|
|
101
|
+
approved?: number;
|
|
102
|
+
} | null;
|
|
103
|
+
market?: {
|
|
104
|
+
spot?: {
|
|
105
|
+
commodityKey?: string;
|
|
106
|
+
region?: string | null;
|
|
107
|
+
price?: number;
|
|
108
|
+
low?: number;
|
|
109
|
+
high?: number;
|
|
110
|
+
day?: string;
|
|
111
|
+
} | null;
|
|
112
|
+
diff?: number | null;
|
|
113
|
+
} | null;
|
|
67
114
|
};
|
|
@@ -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 @@
|
|
|
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 {};
|