@hectare/platform.clients.trading 1.1.230 → 1.1.232
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 +0 -16
- package/models/ContractDetail.d.ts +24 -310
- package/models/CreateMarketingPlanSchema.d.ts +1 -0
- package/models/PatchMarketingPlanSchema.d.ts +1 -0
- package/package.json +1 -1
- package/models/Availability.d.ts +0 -17
- package/models/Availability.js +0 -1
- package/models/CommodityTradedInfo.d.ts +0 -24
- package/models/CommodityTradedInfo.js +0 -1
- package/models/ContractMovementPeriodSchema.d.ts +0 -113
- package/models/ContractMovementPeriodSchema.js +0 -1
- package/models/ContractRollOverSchema.d.ts +0 -13
- package/models/ContractRollOverSchema.js +0 -1
- package/models/ContractsAvailability.d.ts +0 -112
- package/models/ContractsAvailability.js +0 -1
- package/models/ContractsTraded.d.ts +0 -76
- package/models/ContractsTraded.js +0 -1
- package/models/ContractsTradedByMonth.d.ts +0 -20
- package/models/ContractsTradedByMonth.js +0 -1
- package/models/ContractsTradedPeriod.d.ts +0 -18
- package/models/ContractsTradedPeriod.js +0 -1
- package/models/CreateContractDeliverySchema.d.ts +0 -10
- package/models/CreateContractDeliverySchema.js +0 -1
- package/models/CreateContractRequest.d.ts +0 -60
- package/models/CreateContractRequest.js +0 -1
- package/models/LinkContractSchema.d.ts +0 -7
- package/models/LinkContractSchema.js +0 -1
- package/models/PatchContractDeliverySchema.d.ts +0 -42
- package/models/PatchContractDeliverySchema.js +0 -1
- package/models/PatchContractPricingSchema.d.ts +0 -13
- package/models/PatchContractPricingSchema.js +0 -1
- package/models/PatchContractRequest.d.ts +0 -47
- package/models/PatchContractRequest.js +0 -1
- package/models/PutContractFile.d.ts +0 -9
- package/models/PutContractFile.js +0 -1
- package/models/UnlinkContractSchema.d.ts +0 -4
- package/models/UnlinkContractSchema.js +0 -1
package/index.d.ts
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
export type { AcceptBid } from './models/AcceptBid.js';
|
|
2
2
|
export type { AskAnExpertBuyerRallyReportSchema } from './models/AskAnExpertBuyerRallyReportSchema.js';
|
|
3
|
-
export type { Availability } from './models/Availability.js';
|
|
4
3
|
export type { BidAlerts } from './models/BidAlerts.js';
|
|
5
4
|
export type { BidContract } from './models/BidContract.js';
|
|
6
5
|
export type { BidDetail } from './models/BidDetail.js';
|
|
7
6
|
export type { CloseListingReasonSchema } from './models/CloseListingReasonSchema.js';
|
|
8
7
|
export type { CommodityPrices } from './models/CommodityPrices.js';
|
|
9
|
-
export type { CommodityTradedInfo } from './models/CommodityTradedInfo.js';
|
|
10
8
|
export type { CompleteMarketingPlanSchema } from './models/CompleteMarketingPlanSchema.js';
|
|
11
9
|
export type { ContractDeliverySchema } from './models/ContractDeliverySchema.js';
|
|
12
10
|
export type { ContractDeliverySettlementDeductionSchema } from './models/ContractDeliverySettlementDeductionSchema.js';
|
|
13
11
|
export type { ContractDeliverySettlementSchema } from './models/ContractDeliverySettlementSchema.js';
|
|
14
12
|
export type { ContractDetail } from './models/ContractDetail.js';
|
|
15
|
-
export type { ContractMovementPeriodSchema } from './models/ContractMovementPeriodSchema.js';
|
|
16
|
-
export type { ContractRollOverSchema } from './models/ContractRollOverSchema.js';
|
|
17
|
-
export type { ContractsAvailability } from './models/ContractsAvailability.js';
|
|
18
|
-
export type { ContractsTraded } from './models/ContractsTraded.js';
|
|
19
|
-
export type { ContractsTradedByMonth } from './models/ContractsTradedByMonth.js';
|
|
20
|
-
export type { ContractsTradedPeriod } from './models/ContractsTradedPeriod.js';
|
|
21
13
|
export type { CreateBid } from './models/CreateBid.js';
|
|
22
14
|
export type { CreateBidOfferSchema } from './models/CreateBidOfferSchema.js';
|
|
23
|
-
export type { CreateContractDeliverySchema } from './models/CreateContractDeliverySchema.js';
|
|
24
|
-
export type { CreateContractRequest } from './models/CreateContractRequest.js';
|
|
25
15
|
export type { CreateInventorySchema } from './models/CreateInventorySchema.js';
|
|
26
16
|
export type { CreateListing } from './models/CreateListing.js';
|
|
27
17
|
export type { CreateMarketingPlanSchema } from './models/CreateMarketingPlanSchema.js';
|
|
@@ -49,7 +39,6 @@ export type { InventoryDetailSchema } from './models/InventoryDetailSchema.js';
|
|
|
49
39
|
export type { InventorySchema } from './models/InventorySchema.js';
|
|
50
40
|
export type { InventorySearchResultsSchema } from './models/InventorySearchResultsSchema.js';
|
|
51
41
|
export type { InventorySummarySchema } from './models/InventorySummarySchema.js';
|
|
52
|
-
export type { LinkContractSchema } from './models/LinkContractSchema.js';
|
|
53
42
|
export type { ListingBidInfoBid } from './models/ListingBidInfoBid.js';
|
|
54
43
|
export type { ListingDetail } from './models/ListingDetail.js';
|
|
55
44
|
export type { ListingDuplicateSchema } from './models/ListingDuplicateSchema.js';
|
|
@@ -64,9 +53,6 @@ export type { NewsFeed } from './models/NewsFeed.js';
|
|
|
64
53
|
export type { PatchBid } from './models/PatchBid.js';
|
|
65
54
|
export type { PatchBidOfferSchema } from './models/PatchBidOfferSchema.js';
|
|
66
55
|
export type { PatchBidOption } from './models/PatchBidOption.js';
|
|
67
|
-
export type { PatchContractDeliverySchema } from './models/PatchContractDeliverySchema.js';
|
|
68
|
-
export type { PatchContractPricingSchema } from './models/PatchContractPricingSchema.js';
|
|
69
|
-
export type { PatchContractRequest } from './models/PatchContractRequest.js';
|
|
70
56
|
export type { PatchListingAdjustTradeSchema } from './models/PatchListingAdjustTradeSchema.js';
|
|
71
57
|
export type { PatchListingSchema } from './models/PatchListingSchema.js';
|
|
72
58
|
export type { PatchListingSubstatusSchema } from './models/PatchListingSubstatusSchema.js';
|
|
@@ -77,7 +63,6 @@ export type { PatchMarketUpdateRequest } from './models/PatchMarketUpdateRequest
|
|
|
77
63
|
export type { PatchWantedAdSchema } from './models/PatchWantedAdSchema.js';
|
|
78
64
|
export type { PriceScoreSchema } from './models/PriceScoreSchema.js';
|
|
79
65
|
export type { PublishExFarmPricingSchema } from './models/PublishExFarmPricingSchema.js';
|
|
80
|
-
export type { PutContractFile } from './models/PutContractFile.js';
|
|
81
66
|
export type { RecentListingCommodities } from './models/RecentListingCommodities.js';
|
|
82
67
|
export type { RecentListingCommodity } from './models/RecentListingCommodity.js';
|
|
83
68
|
export type { SearchResultsBidSchema } from './models/SearchResultsBidSchema.js';
|
|
@@ -87,6 +72,5 @@ export type { Templates } from './models/Templates.js';
|
|
|
87
72
|
export type { TradeRequestDetail } from './models/TradeRequestDetail.js';
|
|
88
73
|
export type { TradeRequestSearchResultsSchema } from './models/TradeRequestSearchResultsSchema.js';
|
|
89
74
|
export type { TradingConfig } from './models/TradingConfig.js';
|
|
90
|
-
export type { UnlinkContractSchema } from './models/UnlinkContractSchema.js';
|
|
91
75
|
export type { WantedAdDetailSchema } from './models/WantedAdDetailSchema.js';
|
|
92
76
|
export type { WantedAdSearchResultsSchema } from './models/WantedAdSearchResultsSchema.js';
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
export type ContractDetail = {
|
|
2
2
|
id: string;
|
|
3
|
-
|
|
4
|
-
createdById: string;
|
|
5
|
-
createdByName: string;
|
|
6
|
-
createdAtISO: string;
|
|
3
|
+
createdAtUTC: string;
|
|
7
4
|
status: 'pending' | 'in-progress' | 'complete' | 'awaiting-payment' | 'cancelled';
|
|
8
|
-
businessUnits: Array<{
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
type: string;
|
|
12
|
-
} | null>;
|
|
13
5
|
details: {
|
|
14
6
|
bidId: string;
|
|
15
7
|
userId: string;
|
|
16
8
|
listingId: string | null;
|
|
17
9
|
reference: string;
|
|
18
|
-
totalWeight
|
|
10
|
+
totalWeight: {
|
|
19
11
|
name: string;
|
|
20
12
|
conversion: number;
|
|
21
13
|
weight?: number;
|
|
@@ -25,132 +17,17 @@ export type ContractDetail = {
|
|
|
25
17
|
amount: number;
|
|
26
18
|
currency: string;
|
|
27
19
|
} | null;
|
|
20
|
+
pricePerUnit: {
|
|
21
|
+
amount: number;
|
|
22
|
+
currency: string;
|
|
23
|
+
} | null;
|
|
28
24
|
paymentDays: number;
|
|
29
25
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
30
26
|
contractDateUTC: string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
year: number;
|
|
27
|
+
movement: {
|
|
28
|
+
months: Array<string>;
|
|
29
|
+
asAvailable: boolean | null;
|
|
35
30
|
};
|
|
36
|
-
movementPeriod: {
|
|
37
|
-
startDateUTC: string;
|
|
38
|
-
endDateUTC: string;
|
|
39
|
-
type: 'date' | 'month';
|
|
40
|
-
};
|
|
41
|
-
movementPeriods?: Array<{
|
|
42
|
-
id: number;
|
|
43
|
-
startDateUTC: string;
|
|
44
|
-
endDateUTC: string;
|
|
45
|
-
type: 'date' | 'month';
|
|
46
|
-
totalWeight: {
|
|
47
|
-
name: string;
|
|
48
|
-
conversion: number;
|
|
49
|
-
weight?: number;
|
|
50
|
-
};
|
|
51
|
-
pricePerUnit: {
|
|
52
|
-
amount: number;
|
|
53
|
-
currency: string;
|
|
54
|
-
} | null;
|
|
55
|
-
premiumPrice: {
|
|
56
|
-
amount: number;
|
|
57
|
-
currency: string;
|
|
58
|
-
} | null;
|
|
59
|
-
premiumPriceMax: {
|
|
60
|
-
amount: number;
|
|
61
|
-
currency: string;
|
|
62
|
-
} | null;
|
|
63
|
-
paymentExpectedUTC: string | null;
|
|
64
|
-
pickUpByUTC: string | null;
|
|
65
|
-
notes: string | null;
|
|
66
|
-
deliveries: Array<{
|
|
67
|
-
id: number;
|
|
68
|
-
movementPeriodId: number;
|
|
69
|
-
recordId?: string | null;
|
|
70
|
-
movementId?: number | null;
|
|
71
|
-
reference: string | null;
|
|
72
|
-
status?: 'undelivered' | 'delivered' | 'cancelled';
|
|
73
|
-
moveAtUTC: string;
|
|
74
|
-
weightPlanned: number;
|
|
75
|
-
weightActual: number | null;
|
|
76
|
-
vehicleRegistration: string | null;
|
|
77
|
-
samples?: Array<{
|
|
78
|
-
fields?: Array<{
|
|
79
|
-
name: string;
|
|
80
|
-
value: string;
|
|
81
|
-
metric: string;
|
|
82
|
-
}>;
|
|
83
|
-
file?: {
|
|
84
|
-
name?: string;
|
|
85
|
-
id: string;
|
|
86
|
-
url?: string | null;
|
|
87
|
-
userId?: string | null;
|
|
88
|
-
userName?: string | null;
|
|
89
|
-
organisationId?: string | null;
|
|
90
|
-
createdAtUTC?: string | null;
|
|
91
|
-
} | null;
|
|
92
|
-
files?: Array<{
|
|
93
|
-
name?: string;
|
|
94
|
-
id: string;
|
|
95
|
-
url?: string | null;
|
|
96
|
-
userId?: string | null;
|
|
97
|
-
userName?: string | null;
|
|
98
|
-
organisationId?: string | null;
|
|
99
|
-
createdAtUTC?: string | null;
|
|
100
|
-
} | null> | null;
|
|
101
|
-
commodityGradeId?: number;
|
|
102
|
-
id?: number;
|
|
103
|
-
}> | null;
|
|
104
|
-
settlement?: {
|
|
105
|
-
reference: string | null;
|
|
106
|
-
status: 'unpaid' | 'paid';
|
|
107
|
-
paymentReceivedDateUTC: string | null;
|
|
108
|
-
invoiceDateUTC: string;
|
|
109
|
-
invoiceDueDateUTC: string;
|
|
110
|
-
pricePerUnit: {
|
|
111
|
-
amount: number;
|
|
112
|
-
currency: string;
|
|
113
|
-
};
|
|
114
|
-
priceVAT: {
|
|
115
|
-
amount: number;
|
|
116
|
-
currency: string;
|
|
117
|
-
};
|
|
118
|
-
priceGross: {
|
|
119
|
-
amount: number;
|
|
120
|
-
currency: string;
|
|
121
|
-
};
|
|
122
|
-
priceNet: {
|
|
123
|
-
amount: number;
|
|
124
|
-
currency: string;
|
|
125
|
-
};
|
|
126
|
-
deductions?: Array<{
|
|
127
|
-
reasonId: number;
|
|
128
|
-
description: string;
|
|
129
|
-
amount: {
|
|
130
|
-
amount: number;
|
|
131
|
-
currency: string;
|
|
132
|
-
};
|
|
133
|
-
}>;
|
|
134
|
-
bonuses?: Array<{
|
|
135
|
-
reasonId: number;
|
|
136
|
-
description: string;
|
|
137
|
-
amount: {
|
|
138
|
-
amount: number;
|
|
139
|
-
currency: string;
|
|
140
|
-
};
|
|
141
|
-
}>;
|
|
142
|
-
files: Array<{
|
|
143
|
-
name?: string;
|
|
144
|
-
id: string;
|
|
145
|
-
url?: string | null;
|
|
146
|
-
userId?: string | null;
|
|
147
|
-
userName?: string | null;
|
|
148
|
-
organisationId?: string | null;
|
|
149
|
-
createdAtUTC?: string | null;
|
|
150
|
-
} | null>;
|
|
151
|
-
} | null;
|
|
152
|
-
}>;
|
|
153
|
-
}>;
|
|
154
31
|
files: Array<{
|
|
155
32
|
name?: string;
|
|
156
33
|
id: string;
|
|
@@ -161,9 +38,6 @@ export type ContractDetail = {
|
|
|
161
38
|
createdAtUTC?: string | null;
|
|
162
39
|
} | null>;
|
|
163
40
|
terms: string | null;
|
|
164
|
-
premiumContractId: string | null;
|
|
165
|
-
premiumWeight?: number | null;
|
|
166
|
-
linkedCount?: number | null;
|
|
167
41
|
};
|
|
168
42
|
inventory: {
|
|
169
43
|
type: 'crop' | 'produce';
|
|
@@ -205,182 +79,22 @@ export type ContractDetail = {
|
|
|
205
79
|
}>;
|
|
206
80
|
};
|
|
207
81
|
buyer: {
|
|
208
|
-
|
|
82
|
+
organisationId: string;
|
|
209
83
|
businessId: string;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
what3words: string | null;
|
|
215
|
-
address: {
|
|
216
|
-
name?: string | null;
|
|
217
|
-
line1: string;
|
|
218
|
-
line2?: string | null;
|
|
219
|
-
line3?: string | null;
|
|
220
|
-
city?: string | null;
|
|
221
|
-
region?: string | null;
|
|
222
|
-
regionISO?: string | null;
|
|
223
|
-
postcode: string;
|
|
224
|
-
countryName?: string | null;
|
|
225
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
226
|
-
};
|
|
227
|
-
coordinates: {
|
|
228
|
-
lat: number;
|
|
229
|
-
lon: number;
|
|
230
|
-
} | null;
|
|
231
|
-
} | null;
|
|
232
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
233
|
-
status: 'active' | 'pending' | 'suspended';
|
|
234
|
-
companyId: string;
|
|
235
|
-
companyHoldingNumber?: string;
|
|
236
|
-
vatNumber: string;
|
|
237
|
-
bio: string;
|
|
238
|
-
logo: {
|
|
239
|
-
name?: string;
|
|
240
|
-
id: string;
|
|
241
|
-
url?: string | null;
|
|
242
|
-
userId?: string | null;
|
|
243
|
-
userName?: string | null;
|
|
244
|
-
organisationId?: string | null;
|
|
245
|
-
createdAtUTC?: string | null;
|
|
246
|
-
} | null;
|
|
247
|
-
ownerContact: {
|
|
248
|
-
id: string;
|
|
249
|
-
email: string;
|
|
250
|
-
familyName: string;
|
|
251
|
-
givenName: string;
|
|
252
|
-
authPlatformId?: string;
|
|
253
|
-
organisationId: string;
|
|
254
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
255
|
-
phone?: {
|
|
256
|
-
callingCode: string;
|
|
257
|
-
number: string;
|
|
258
|
-
};
|
|
259
|
-
pushToken?: string;
|
|
260
|
-
};
|
|
261
|
-
settlementContacts?: Array<{
|
|
262
|
-
name: string;
|
|
263
|
-
email: string;
|
|
264
|
-
}>;
|
|
265
|
-
modules: Array<{
|
|
266
|
-
id: string;
|
|
267
|
-
name?: string | null;
|
|
268
|
-
}>;
|
|
269
|
-
vetted: boolean;
|
|
270
|
-
rejected?: boolean;
|
|
271
|
-
isMerchant?: boolean;
|
|
272
|
-
assurance?: {
|
|
273
|
-
id: string | null;
|
|
274
|
-
key?: string | null;
|
|
275
|
-
body: 'RT' | 'SQC';
|
|
276
|
-
name?: string | null;
|
|
277
|
-
location?: string | null;
|
|
278
|
-
} | null;
|
|
279
|
-
assuranceId?: string;
|
|
280
|
-
assuranceScheme?: 'RT' | 'SQC';
|
|
281
|
-
salesforceId?: string;
|
|
282
|
-
salesforceUpdates?: Array<string>;
|
|
84
|
+
organisationName: string;
|
|
85
|
+
businessName: string;
|
|
86
|
+
userId: string;
|
|
87
|
+
userName: string;
|
|
283
88
|
};
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
vehicleRegistration: string | null;
|
|
295
|
-
samples?: Array<{
|
|
296
|
-
fields?: Array<{
|
|
297
|
-
name: string;
|
|
298
|
-
value: string;
|
|
299
|
-
metric: string;
|
|
300
|
-
}>;
|
|
301
|
-
file?: {
|
|
302
|
-
name?: string;
|
|
303
|
-
id: string;
|
|
304
|
-
url?: string | null;
|
|
305
|
-
userId?: string | null;
|
|
306
|
-
userName?: string | null;
|
|
307
|
-
organisationId?: string | null;
|
|
308
|
-
createdAtUTC?: string | null;
|
|
309
|
-
} | null;
|
|
310
|
-
files?: Array<{
|
|
311
|
-
name?: string;
|
|
312
|
-
id: string;
|
|
313
|
-
url?: string | null;
|
|
314
|
-
userId?: string | null;
|
|
315
|
-
userName?: string | null;
|
|
316
|
-
organisationId?: string | null;
|
|
317
|
-
createdAtUTC?: string | null;
|
|
318
|
-
} | null> | null;
|
|
319
|
-
commodityGradeId?: number;
|
|
320
|
-
id?: number;
|
|
321
|
-
}> | null;
|
|
322
|
-
settlement?: {
|
|
323
|
-
reference: string | null;
|
|
324
|
-
status: 'unpaid' | 'paid';
|
|
325
|
-
paymentReceivedDateUTC: string | null;
|
|
326
|
-
invoiceDateUTC: string;
|
|
327
|
-
invoiceDueDateUTC: string;
|
|
328
|
-
pricePerUnit: {
|
|
329
|
-
amount: number;
|
|
330
|
-
currency: string;
|
|
331
|
-
};
|
|
332
|
-
priceVAT: {
|
|
333
|
-
amount: number;
|
|
334
|
-
currency: string;
|
|
335
|
-
};
|
|
336
|
-
priceGross: {
|
|
337
|
-
amount: number;
|
|
338
|
-
currency: string;
|
|
339
|
-
};
|
|
340
|
-
priceNet: {
|
|
341
|
-
amount: number;
|
|
342
|
-
currency: string;
|
|
343
|
-
};
|
|
344
|
-
deductions?: Array<{
|
|
345
|
-
reasonId: number;
|
|
346
|
-
description: string;
|
|
347
|
-
amount: {
|
|
348
|
-
amount: number;
|
|
349
|
-
currency: string;
|
|
350
|
-
};
|
|
351
|
-
}>;
|
|
352
|
-
bonuses?: Array<{
|
|
353
|
-
reasonId: number;
|
|
354
|
-
description: string;
|
|
355
|
-
amount: {
|
|
356
|
-
amount: number;
|
|
357
|
-
currency: string;
|
|
358
|
-
};
|
|
359
|
-
}>;
|
|
360
|
-
files: Array<{
|
|
361
|
-
name?: string;
|
|
362
|
-
id: string;
|
|
363
|
-
url?: string | null;
|
|
364
|
-
userId?: string | null;
|
|
365
|
-
userName?: string | null;
|
|
366
|
-
organisationId?: string | null;
|
|
367
|
-
createdAtUTC?: string | null;
|
|
368
|
-
} | null>;
|
|
369
|
-
} | null;
|
|
370
|
-
}> | null;
|
|
371
|
-
allRecorded: boolean;
|
|
372
|
-
sellerNotes?: string;
|
|
373
|
-
buyerNotes?: string;
|
|
89
|
+
seller: {
|
|
90
|
+
organisationId: string;
|
|
91
|
+
businessId: string;
|
|
92
|
+
organisationName: string;
|
|
93
|
+
businessName: string;
|
|
94
|
+
userId: string;
|
|
95
|
+
userName: string;
|
|
96
|
+
};
|
|
97
|
+
sellerNotes: string;
|
|
98
|
+
buyerNotes: string;
|
|
374
99
|
regionISO: string;
|
|
375
|
-
businessId: string | null;
|
|
376
|
-
amendments?: Array<{
|
|
377
|
-
fields?: Record<string, {
|
|
378
|
-
original?: string;
|
|
379
|
-
updated?: string;
|
|
380
|
-
unit?: string | null;
|
|
381
|
-
}>;
|
|
382
|
-
createdAtUTC?: string;
|
|
383
|
-
createdBy?: string;
|
|
384
|
-
userName?: string;
|
|
385
|
-
}>;
|
|
386
100
|
};
|
package/package.json
CHANGED
package/models/Availability.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type Availability = {
|
|
2
|
-
id?: string | null;
|
|
3
|
-
name?: string;
|
|
4
|
-
type?: string;
|
|
5
|
-
pricedWeight?: number;
|
|
6
|
-
unpricedWeight?: number;
|
|
7
|
-
availableWeight?: number;
|
|
8
|
-
totalWeight?: number;
|
|
9
|
-
soldWeight?: number;
|
|
10
|
-
soldPercent?: number;
|
|
11
|
-
priceDelta?: number | null;
|
|
12
|
-
targetPrice?: number | null;
|
|
13
|
-
currentPrice?: number | null;
|
|
14
|
-
averagePrice?: number | null;
|
|
15
|
-
area?: string | null;
|
|
16
|
-
region?: string | null;
|
|
17
|
-
};
|
package/models/Availability.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type CommodityTradedInfo = {
|
|
2
|
-
id?: string | null;
|
|
3
|
-
name?: string;
|
|
4
|
-
url?: string;
|
|
5
|
-
available?: {
|
|
6
|
-
name: string;
|
|
7
|
-
conversion: number;
|
|
8
|
-
weight?: number;
|
|
9
|
-
};
|
|
10
|
-
sold?: {
|
|
11
|
-
name: string;
|
|
12
|
-
conversion: number;
|
|
13
|
-
weight?: number;
|
|
14
|
-
};
|
|
15
|
-
percentSold?: number;
|
|
16
|
-
averagePrice?: {
|
|
17
|
-
amount: number;
|
|
18
|
-
currency: string;
|
|
19
|
-
};
|
|
20
|
-
totalValue?: {
|
|
21
|
-
amount: number;
|
|
22
|
-
currency: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
export type ContractMovementPeriodSchema = {
|
|
2
|
-
id: number;
|
|
3
|
-
startDateUTC: string;
|
|
4
|
-
endDateUTC: string;
|
|
5
|
-
type: 'date' | 'month';
|
|
6
|
-
totalWeight: {
|
|
7
|
-
name: string;
|
|
8
|
-
conversion: number;
|
|
9
|
-
weight?: number;
|
|
10
|
-
};
|
|
11
|
-
pricePerUnit: {
|
|
12
|
-
amount: number;
|
|
13
|
-
currency: string;
|
|
14
|
-
} | null;
|
|
15
|
-
premiumPrice: {
|
|
16
|
-
amount: number;
|
|
17
|
-
currency: string;
|
|
18
|
-
} | null;
|
|
19
|
-
premiumPriceMax: {
|
|
20
|
-
amount: number;
|
|
21
|
-
currency: string;
|
|
22
|
-
} | null;
|
|
23
|
-
paymentExpectedUTC: string | null;
|
|
24
|
-
pickUpByUTC: string | null;
|
|
25
|
-
notes: string | null;
|
|
26
|
-
deliveries: Array<{
|
|
27
|
-
id: number;
|
|
28
|
-
movementPeriodId: number;
|
|
29
|
-
recordId?: string | null;
|
|
30
|
-
movementId?: number | null;
|
|
31
|
-
reference: string | null;
|
|
32
|
-
status?: 'undelivered' | 'delivered' | 'cancelled';
|
|
33
|
-
moveAtUTC: string;
|
|
34
|
-
weightPlanned: number;
|
|
35
|
-
weightActual: number | null;
|
|
36
|
-
vehicleRegistration: string | null;
|
|
37
|
-
samples?: Array<{
|
|
38
|
-
fields?: Array<{
|
|
39
|
-
name: string;
|
|
40
|
-
value: string;
|
|
41
|
-
metric: string;
|
|
42
|
-
}>;
|
|
43
|
-
file?: {
|
|
44
|
-
name?: string;
|
|
45
|
-
id: string;
|
|
46
|
-
url?: string | null;
|
|
47
|
-
userId?: string | null;
|
|
48
|
-
userName?: string | null;
|
|
49
|
-
organisationId?: string | null;
|
|
50
|
-
createdAtUTC?: string | null;
|
|
51
|
-
} | null;
|
|
52
|
-
files?: Array<{
|
|
53
|
-
name?: string;
|
|
54
|
-
id: string;
|
|
55
|
-
url?: string | null;
|
|
56
|
-
userId?: string | null;
|
|
57
|
-
userName?: string | null;
|
|
58
|
-
organisationId?: string | null;
|
|
59
|
-
createdAtUTC?: string | null;
|
|
60
|
-
} | null> | null;
|
|
61
|
-
commodityGradeId?: number;
|
|
62
|
-
id?: number;
|
|
63
|
-
}> | null;
|
|
64
|
-
settlement?: {
|
|
65
|
-
reference: string | null;
|
|
66
|
-
status: 'unpaid' | 'paid';
|
|
67
|
-
paymentReceivedDateUTC: string | null;
|
|
68
|
-
invoiceDateUTC: string;
|
|
69
|
-
invoiceDueDateUTC: string;
|
|
70
|
-
pricePerUnit: {
|
|
71
|
-
amount: number;
|
|
72
|
-
currency: string;
|
|
73
|
-
};
|
|
74
|
-
priceVAT: {
|
|
75
|
-
amount: number;
|
|
76
|
-
currency: string;
|
|
77
|
-
};
|
|
78
|
-
priceGross: {
|
|
79
|
-
amount: number;
|
|
80
|
-
currency: string;
|
|
81
|
-
};
|
|
82
|
-
priceNet: {
|
|
83
|
-
amount: number;
|
|
84
|
-
currency: string;
|
|
85
|
-
};
|
|
86
|
-
deductions?: Array<{
|
|
87
|
-
reasonId: number;
|
|
88
|
-
description: string;
|
|
89
|
-
amount: {
|
|
90
|
-
amount: number;
|
|
91
|
-
currency: string;
|
|
92
|
-
};
|
|
93
|
-
}>;
|
|
94
|
-
bonuses?: Array<{
|
|
95
|
-
reasonId: number;
|
|
96
|
-
description: string;
|
|
97
|
-
amount: {
|
|
98
|
-
amount: number;
|
|
99
|
-
currency: string;
|
|
100
|
-
};
|
|
101
|
-
}>;
|
|
102
|
-
files: Array<{
|
|
103
|
-
name?: string;
|
|
104
|
-
id: string;
|
|
105
|
-
url?: string | null;
|
|
106
|
-
userId?: string | null;
|
|
107
|
-
userName?: string | null;
|
|
108
|
-
organisationId?: string | null;
|
|
109
|
-
createdAtUTC?: string | null;
|
|
110
|
-
} | null>;
|
|
111
|
-
} | null;
|
|
112
|
-
}>;
|
|
113
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type ContractRollOverSchema = {
|
|
2
|
-
startDateUTC: string;
|
|
3
|
-
endDateUTC: string;
|
|
4
|
-
type: 'date' | 'month';
|
|
5
|
-
totalWeight: number;
|
|
6
|
-
pricePerUnit: {
|
|
7
|
-
amount: number;
|
|
8
|
-
currency: string;
|
|
9
|
-
} | null;
|
|
10
|
-
paymentExpectedUTC: string | null;
|
|
11
|
-
pickUpByUTC: string | null;
|
|
12
|
-
notes: string | null;
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
export type ContractsAvailability = {
|
|
2
|
-
weight?: {
|
|
3
|
-
name: string;
|
|
4
|
-
conversion: number;
|
|
5
|
-
weight?: number;
|
|
6
|
-
};
|
|
7
|
-
pricesLastUpdatedUTC?: string | null;
|
|
8
|
-
commodities?: Array<{
|
|
9
|
-
commodity?: {
|
|
10
|
-
id?: string | null;
|
|
11
|
-
name?: string;
|
|
12
|
-
type?: string;
|
|
13
|
-
pricedWeight?: number;
|
|
14
|
-
unpricedWeight?: number;
|
|
15
|
-
availableWeight?: number;
|
|
16
|
-
totalWeight?: number;
|
|
17
|
-
soldWeight?: number;
|
|
18
|
-
soldPercent?: number;
|
|
19
|
-
priceDelta?: number | null;
|
|
20
|
-
targetPrice?: number | null;
|
|
21
|
-
currentPrice?: number | null;
|
|
22
|
-
averagePrice?: number | null;
|
|
23
|
-
area?: string | null;
|
|
24
|
-
region?: string | null;
|
|
25
|
-
};
|
|
26
|
-
types?: Array<{
|
|
27
|
-
id?: string | null;
|
|
28
|
-
name?: string;
|
|
29
|
-
type?: string;
|
|
30
|
-
pricedWeight?: number;
|
|
31
|
-
unpricedWeight?: number;
|
|
32
|
-
availableWeight?: number;
|
|
33
|
-
totalWeight?: number;
|
|
34
|
-
soldWeight?: number;
|
|
35
|
-
soldPercent?: number;
|
|
36
|
-
priceDelta?: number | null;
|
|
37
|
-
targetPrice?: number | null;
|
|
38
|
-
currentPrice?: number | null;
|
|
39
|
-
averagePrice?: number | null;
|
|
40
|
-
area?: string | null;
|
|
41
|
-
region?: string | null;
|
|
42
|
-
grades?: Array<{
|
|
43
|
-
id?: string | null;
|
|
44
|
-
name?: string;
|
|
45
|
-
type?: string;
|
|
46
|
-
pricedWeight?: number;
|
|
47
|
-
unpricedWeight?: number;
|
|
48
|
-
availableWeight?: number;
|
|
49
|
-
totalWeight?: number;
|
|
50
|
-
soldWeight?: number;
|
|
51
|
-
soldPercent?: number;
|
|
52
|
-
priceDelta?: number | null;
|
|
53
|
-
targetPrice?: number | null;
|
|
54
|
-
currentPrice?: number | null;
|
|
55
|
-
averagePrice?: number | null;
|
|
56
|
-
area?: string | null;
|
|
57
|
-
region?: string | null;
|
|
58
|
-
}>;
|
|
59
|
-
}>;
|
|
60
|
-
}>;
|
|
61
|
-
areas?: Array<{
|
|
62
|
-
id?: string | null;
|
|
63
|
-
name?: string;
|
|
64
|
-
type?: string;
|
|
65
|
-
pricedWeight?: number;
|
|
66
|
-
unpricedWeight?: number;
|
|
67
|
-
availableWeight?: number;
|
|
68
|
-
totalWeight?: number;
|
|
69
|
-
soldWeight?: number;
|
|
70
|
-
soldPercent?: number;
|
|
71
|
-
priceDelta?: number | null;
|
|
72
|
-
targetPrice?: number | null;
|
|
73
|
-
currentPrice?: number | null;
|
|
74
|
-
averagePrice?: number | null;
|
|
75
|
-
area?: string | null;
|
|
76
|
-
region?: string | null;
|
|
77
|
-
}>;
|
|
78
|
-
businesses?: Array<{
|
|
79
|
-
id?: string | null;
|
|
80
|
-
name?: string;
|
|
81
|
-
type?: string;
|
|
82
|
-
pricedWeight?: number;
|
|
83
|
-
unpricedWeight?: number;
|
|
84
|
-
availableWeight?: number;
|
|
85
|
-
totalWeight?: number;
|
|
86
|
-
soldWeight?: number;
|
|
87
|
-
soldPercent?: number;
|
|
88
|
-
priceDelta?: number | null;
|
|
89
|
-
targetPrice?: number | null;
|
|
90
|
-
currentPrice?: number | null;
|
|
91
|
-
averagePrice?: number | null;
|
|
92
|
-
area?: string | null;
|
|
93
|
-
region?: string | null;
|
|
94
|
-
}>;
|
|
95
|
-
regions?: Array<{
|
|
96
|
-
id?: string | null;
|
|
97
|
-
name?: string;
|
|
98
|
-
type?: string;
|
|
99
|
-
pricedWeight?: number;
|
|
100
|
-
unpricedWeight?: number;
|
|
101
|
-
availableWeight?: number;
|
|
102
|
-
totalWeight?: number;
|
|
103
|
-
soldWeight?: number;
|
|
104
|
-
soldPercent?: number;
|
|
105
|
-
priceDelta?: number | null;
|
|
106
|
-
targetPrice?: number | null;
|
|
107
|
-
currentPrice?: number | null;
|
|
108
|
-
averagePrice?: number | null;
|
|
109
|
-
area?: string | null;
|
|
110
|
-
region?: string | null;
|
|
111
|
-
}>;
|
|
112
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
export type ContractsTraded = {
|
|
2
|
-
commodities?: Array<{
|
|
3
|
-
commodity?: {
|
|
4
|
-
id?: string | null;
|
|
5
|
-
name?: string;
|
|
6
|
-
url?: string;
|
|
7
|
-
available?: {
|
|
8
|
-
name: string;
|
|
9
|
-
conversion: number;
|
|
10
|
-
weight?: number;
|
|
11
|
-
};
|
|
12
|
-
sold?: {
|
|
13
|
-
name: string;
|
|
14
|
-
conversion: number;
|
|
15
|
-
weight?: number;
|
|
16
|
-
};
|
|
17
|
-
percentSold?: number;
|
|
18
|
-
averagePrice?: {
|
|
19
|
-
amount: number;
|
|
20
|
-
currency: string;
|
|
21
|
-
};
|
|
22
|
-
totalValue?: {
|
|
23
|
-
amount: number;
|
|
24
|
-
currency: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
types?: Array<{
|
|
28
|
-
id?: string | null;
|
|
29
|
-
name?: string;
|
|
30
|
-
url?: string;
|
|
31
|
-
available?: {
|
|
32
|
-
name: string;
|
|
33
|
-
conversion: number;
|
|
34
|
-
weight?: number;
|
|
35
|
-
};
|
|
36
|
-
sold?: {
|
|
37
|
-
name: string;
|
|
38
|
-
conversion: number;
|
|
39
|
-
weight?: number;
|
|
40
|
-
};
|
|
41
|
-
percentSold?: number;
|
|
42
|
-
averagePrice?: {
|
|
43
|
-
amount: number;
|
|
44
|
-
currency: string;
|
|
45
|
-
};
|
|
46
|
-
totalValue?: {
|
|
47
|
-
amount: number;
|
|
48
|
-
currency: string;
|
|
49
|
-
};
|
|
50
|
-
grades?: Array<{
|
|
51
|
-
id?: string | null;
|
|
52
|
-
name?: string;
|
|
53
|
-
url?: string;
|
|
54
|
-
available?: {
|
|
55
|
-
name: string;
|
|
56
|
-
conversion: number;
|
|
57
|
-
weight?: number;
|
|
58
|
-
};
|
|
59
|
-
sold?: {
|
|
60
|
-
name: string;
|
|
61
|
-
conversion: number;
|
|
62
|
-
weight?: number;
|
|
63
|
-
};
|
|
64
|
-
percentSold?: number;
|
|
65
|
-
averagePrice?: {
|
|
66
|
-
amount: number;
|
|
67
|
-
currency: string;
|
|
68
|
-
};
|
|
69
|
-
totalValue?: {
|
|
70
|
-
amount: number;
|
|
71
|
-
currency: string;
|
|
72
|
-
};
|
|
73
|
-
}>;
|
|
74
|
-
}>;
|
|
75
|
-
}>;
|
|
76
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type ContractsTradedByMonth = {
|
|
2
|
-
ranges?: Array<{
|
|
3
|
-
type?: 'month' | 'quarter' | 'year';
|
|
4
|
-
name?: string;
|
|
5
|
-
sold?: {
|
|
6
|
-
name: string;
|
|
7
|
-
conversion: number;
|
|
8
|
-
weight?: number;
|
|
9
|
-
};
|
|
10
|
-
percentSold?: number;
|
|
11
|
-
averagePrice?: {
|
|
12
|
-
amount: number;
|
|
13
|
-
currency: string;
|
|
14
|
-
};
|
|
15
|
-
totalValue?: {
|
|
16
|
-
amount: number;
|
|
17
|
-
currency: string;
|
|
18
|
-
};
|
|
19
|
-
}>;
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type ContractsTradedPeriod = {
|
|
2
|
-
type?: 'month' | 'quarter' | 'year';
|
|
3
|
-
name?: string;
|
|
4
|
-
sold?: {
|
|
5
|
-
name: string;
|
|
6
|
-
conversion: number;
|
|
7
|
-
weight?: number;
|
|
8
|
-
};
|
|
9
|
-
percentSold?: number;
|
|
10
|
-
averagePrice?: {
|
|
11
|
-
amount: number;
|
|
12
|
-
currency: string;
|
|
13
|
-
};
|
|
14
|
-
totalValue?: {
|
|
15
|
-
amount: number;
|
|
16
|
-
currency: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type CreateContractDeliverySchema = {
|
|
2
|
-
recordId?: string | null;
|
|
3
|
-
movementId?: number | null;
|
|
4
|
-
reference: string | null;
|
|
5
|
-
validate?: boolean | null;
|
|
6
|
-
moveAtUTC: string;
|
|
7
|
-
weightPlanned: number;
|
|
8
|
-
weightActual: number | null;
|
|
9
|
-
vehicleRegistration: string | null;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export type CreateContractRequest = {
|
|
2
|
-
buyerOrganisationId: string;
|
|
3
|
-
buyerOrganisationName?: string;
|
|
4
|
-
businessUnitIds?: Array<string>;
|
|
5
|
-
details: {
|
|
6
|
-
reference?: string | null;
|
|
7
|
-
priceType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
8
|
-
paymentDays?: number;
|
|
9
|
-
haulageType?: 'ex-farm' | 'delivered';
|
|
10
|
-
contractDateUTC?: string;
|
|
11
|
-
contractDateISO?: string;
|
|
12
|
-
movementPeriod: {
|
|
13
|
-
startDateUTC: string;
|
|
14
|
-
endDateUTC: string;
|
|
15
|
-
type: 'date' | 'month';
|
|
16
|
-
totalWeight?: number;
|
|
17
|
-
pricePerUnit?: {
|
|
18
|
-
amount: number;
|
|
19
|
-
currency: string;
|
|
20
|
-
} | null;
|
|
21
|
-
premiumPrice?: {
|
|
22
|
-
amount: number;
|
|
23
|
-
currency: string;
|
|
24
|
-
} | null;
|
|
25
|
-
notes?: string | null;
|
|
26
|
-
premiumPriceMax?: {
|
|
27
|
-
amount: number;
|
|
28
|
-
currency: string;
|
|
29
|
-
} | null;
|
|
30
|
-
};
|
|
31
|
-
files?: Array<{
|
|
32
|
-
name?: string;
|
|
33
|
-
id: string;
|
|
34
|
-
url?: string | null;
|
|
35
|
-
userId?: string | null;
|
|
36
|
-
userName?: string | null;
|
|
37
|
-
organisationId?: string | null;
|
|
38
|
-
createdAtUTC?: string | null;
|
|
39
|
-
} | null>;
|
|
40
|
-
terms?: string | null;
|
|
41
|
-
premiumContractId?: string | null;
|
|
42
|
-
};
|
|
43
|
-
inventory: {
|
|
44
|
-
type: 'crop' | 'produce';
|
|
45
|
-
harvestYear: string;
|
|
46
|
-
commodity: {
|
|
47
|
-
id: number;
|
|
48
|
-
type: number;
|
|
49
|
-
grade: number | null;
|
|
50
|
-
variety?: string | null;
|
|
51
|
-
varieties?: Array<string> | null;
|
|
52
|
-
tags?: Array<number> | null;
|
|
53
|
-
};
|
|
54
|
-
measures?: Array<{
|
|
55
|
-
specificationId: number;
|
|
56
|
-
min: number | null;
|
|
57
|
-
max: number | null;
|
|
58
|
-
}> | null;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export type PatchContractDeliverySchema = {
|
|
2
|
-
reference: string | null;
|
|
3
|
-
moveAtUTC: string;
|
|
4
|
-
vehicleRegistration: string | null;
|
|
5
|
-
weightActual: number;
|
|
6
|
-
settlement: {
|
|
7
|
-
reference: string | null;
|
|
8
|
-
pricePerUnit: {
|
|
9
|
-
amount: number;
|
|
10
|
-
currency: string;
|
|
11
|
-
};
|
|
12
|
-
priceVAT: {
|
|
13
|
-
amount: number;
|
|
14
|
-
currency: string;
|
|
15
|
-
} | null;
|
|
16
|
-
invoiceDateUTC: string;
|
|
17
|
-
invoiceDueDateUTC: string;
|
|
18
|
-
deductions: Array<{
|
|
19
|
-
reasonId: number;
|
|
20
|
-
amount: {
|
|
21
|
-
amount: number;
|
|
22
|
-
currency: string;
|
|
23
|
-
};
|
|
24
|
-
}> | null;
|
|
25
|
-
bonuses?: Array<{
|
|
26
|
-
reasonId: number;
|
|
27
|
-
amount: {
|
|
28
|
-
amount: number;
|
|
29
|
-
currency: string;
|
|
30
|
-
};
|
|
31
|
-
}> | null;
|
|
32
|
-
files: Array<{
|
|
33
|
-
name?: string;
|
|
34
|
-
id: string;
|
|
35
|
-
url?: string | null;
|
|
36
|
-
userId?: string | null;
|
|
37
|
-
userName?: string | null;
|
|
38
|
-
organisationId?: string | null;
|
|
39
|
-
createdAtUTC?: string | null;
|
|
40
|
-
} | null>;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type PatchContractPricingSchema = {
|
|
2
|
-
commodityGrade: number;
|
|
3
|
-
priceType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
4
|
-
totalWeight: number;
|
|
5
|
-
pricePerUnit: {
|
|
6
|
-
amount: number;
|
|
7
|
-
currency: string;
|
|
8
|
-
} | null;
|
|
9
|
-
premiumPrice: {
|
|
10
|
-
amount: number;
|
|
11
|
-
currency: string;
|
|
12
|
-
} | null;
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export type PatchContractRequest = {
|
|
2
|
-
businessUnitIds?: Array<string>;
|
|
3
|
-
details: {
|
|
4
|
-
reference?: string | null;
|
|
5
|
-
priceType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
6
|
-
paymentDays?: number;
|
|
7
|
-
haulageType?: 'ex-farm' | 'delivered';
|
|
8
|
-
contractDateUTC?: string;
|
|
9
|
-
contractDateISO?: string;
|
|
10
|
-
movementPeriod: {
|
|
11
|
-
startDateUTC: string;
|
|
12
|
-
endDateUTC: string;
|
|
13
|
-
type: 'date' | 'month';
|
|
14
|
-
totalWeight?: number;
|
|
15
|
-
pricePerUnit?: {
|
|
16
|
-
amount: number;
|
|
17
|
-
currency: string;
|
|
18
|
-
} | null;
|
|
19
|
-
premiumPrice?: {
|
|
20
|
-
amount: number;
|
|
21
|
-
currency: string;
|
|
22
|
-
} | null;
|
|
23
|
-
notes?: string | null;
|
|
24
|
-
premiumPriceMax?: {
|
|
25
|
-
amount: number;
|
|
26
|
-
currency: string;
|
|
27
|
-
} | null;
|
|
28
|
-
};
|
|
29
|
-
files?: Array<{
|
|
30
|
-
name?: string;
|
|
31
|
-
id: string;
|
|
32
|
-
url?: string | null;
|
|
33
|
-
userId?: string | null;
|
|
34
|
-
userName?: string | null;
|
|
35
|
-
organisationId?: string | null;
|
|
36
|
-
createdAtUTC?: string | null;
|
|
37
|
-
} | null>;
|
|
38
|
-
terms?: string | null;
|
|
39
|
-
premiumContractId?: string | null;
|
|
40
|
-
};
|
|
41
|
-
commodityGrade?: number;
|
|
42
|
-
measures?: Array<{
|
|
43
|
-
specificationId: number;
|
|
44
|
-
min: number | null;
|
|
45
|
-
max: number | null;
|
|
46
|
-
}> | null;
|
|
47
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|