@hectare/platform.clients.trading 1.1.39 → 1.1.40
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.
|
@@ -1,21 +1,94 @@
|
|
|
1
1
|
export type TradingConfig = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
id: string;
|
|
3
|
+
lastSmlSyncUTC: string;
|
|
4
|
+
livestockFilterOrder: Array<string>;
|
|
5
|
+
settlementDeductionReasons: Array<{
|
|
6
|
+
id: number;
|
|
7
|
+
description: string;
|
|
8
|
+
order: number;
|
|
5
9
|
}>;
|
|
6
|
-
settlementBonusReasons
|
|
7
|
-
id
|
|
8
|
-
description
|
|
10
|
+
settlementBonusReasons: Array<{
|
|
11
|
+
id: number;
|
|
12
|
+
description: string;
|
|
13
|
+
order?: number;
|
|
9
14
|
}>;
|
|
10
|
-
exFarmPriceCommodities
|
|
11
|
-
id
|
|
12
|
-
name
|
|
13
|
-
commodityId
|
|
14
|
-
grades
|
|
15
|
-
default
|
|
15
|
+
exFarmPriceCommodities: Array<{
|
|
16
|
+
id: number;
|
|
17
|
+
name: string;
|
|
18
|
+
commodityId: number;
|
|
19
|
+
grades: Array<number>;
|
|
20
|
+
default: boolean;
|
|
16
21
|
}>;
|
|
17
|
-
closeListingReasons
|
|
18
|
-
id
|
|
19
|
-
description
|
|
22
|
+
closeListingReasons: Array<{
|
|
23
|
+
id: number;
|
|
24
|
+
description: string;
|
|
20
25
|
}>;
|
|
26
|
+
advancePay: {
|
|
27
|
+
harvestYears: Array<string>;
|
|
28
|
+
interestRates: {
|
|
29
|
+
finmid: Array<{
|
|
30
|
+
termDays: number;
|
|
31
|
+
ratePct: number;
|
|
32
|
+
periodDays: number;
|
|
33
|
+
}>;
|
|
34
|
+
ecb: {
|
|
35
|
+
ratePct: number;
|
|
36
|
+
periodDays: number;
|
|
37
|
+
};
|
|
38
|
+
hectare: {
|
|
39
|
+
ratePct: number;
|
|
40
|
+
periodDays: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
maxEligibilityDays: number;
|
|
44
|
+
commercialTerms: Array<{
|
|
45
|
+
termDaysThreshold: number;
|
|
46
|
+
upfrontPct: number;
|
|
47
|
+
intermediatePct: number;
|
|
48
|
+
settlementPct: number;
|
|
49
|
+
}>;
|
|
50
|
+
settlementAdjustmentPerUnit: number;
|
|
51
|
+
gracePeriodDays: number;
|
|
52
|
+
};
|
|
53
|
+
autoCloseListings: {
|
|
54
|
+
isEnabled: boolean;
|
|
55
|
+
endOfWorkingDayHour: number;
|
|
56
|
+
isEnabledOnBidAccepted: boolean;
|
|
57
|
+
};
|
|
58
|
+
marketUpdates: {
|
|
59
|
+
futuresTrackingNotifications: {
|
|
60
|
+
commodityPricesFutures: Array<{
|
|
61
|
+
id: number;
|
|
62
|
+
isEnabled: boolean;
|
|
63
|
+
pctThresholdIncrease: number;
|
|
64
|
+
}>;
|
|
65
|
+
};
|
|
66
|
+
highestBidTrackingNotifications: {
|
|
67
|
+
commodities: Array<{
|
|
68
|
+
commodityId: number;
|
|
69
|
+
typeId: number;
|
|
70
|
+
gradeId: number;
|
|
71
|
+
isEnabled: boolean;
|
|
72
|
+
regions: Array<{
|
|
73
|
+
countryISO: string;
|
|
74
|
+
ukGroup: string;
|
|
75
|
+
lastSentUTC: string;
|
|
76
|
+
maxPrice: number;
|
|
77
|
+
maxPriceCurrency: string;
|
|
78
|
+
maxPriceReceivedUTC: string;
|
|
79
|
+
}>;
|
|
80
|
+
}>;
|
|
81
|
+
};
|
|
82
|
+
highestBidYesterdayTrackingNotifications: {
|
|
83
|
+
isEnabled: boolean;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
bidExpiredOfferExpiryTimeframe: {
|
|
87
|
+
isEnabled: boolean;
|
|
88
|
+
expiryHours: number;
|
|
89
|
+
};
|
|
90
|
+
notifications: {
|
|
91
|
+
listingNoBidsAccepted: boolean;
|
|
92
|
+
listingBidNotAccepted: boolean;
|
|
93
|
+
};
|
|
21
94
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hectare/platform.clients.trading",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.40",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"exported": true,
|
|
6
6
|
"types": "index.d.ts",
|
|
7
|
-
"type": "
|
|
7
|
+
"type": "module",
|
|
8
8
|
"author": "engineering@wearehectare.com",
|
|
9
9
|
"source": "index.js",
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
|
+
"module": "./index.js"
|
|
13
14
|
}
|