@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 +7 -0
- package/models/ApproveWantedAdResponse.d.ts +3 -0
- package/models/ApproveWantedAdResponse.js +1 -0
- package/models/CreateWantedAd.d.ts +1 -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 +1 -0
- package/models/SearchResultsWantedAdSchema.d.ts +1 -0
- package/models/WantedAdDetailSchema.d.ts +1 -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 {};
|
|
@@ -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 {};
|
|
@@ -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 {};
|