@hectare/platform.clients.trading 1.1.84 → 1.1.85
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.
|
@@ -61,14 +61,6 @@ export type CreateListing = {
|
|
|
61
61
|
max: number;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
marketBuyers?: Array<{
|
|
65
|
-
authPlatformId: string;
|
|
66
|
-
emailAddress: string;
|
|
67
|
-
fullName: string;
|
|
68
|
-
mobileNumber: string | null;
|
|
69
|
-
organisationId?: string | null;
|
|
70
|
-
userId: string;
|
|
71
|
-
}> | null;
|
|
72
64
|
tags?: Array<string> | null;
|
|
73
65
|
tradeRequestId?: string;
|
|
74
66
|
relistedFromListingId?: string;
|
|
@@ -224,18 +224,6 @@ export type ListingDetail = {
|
|
|
224
224
|
organisationName?: string | null;
|
|
225
225
|
userId: string;
|
|
226
226
|
}> | null;
|
|
227
|
-
bidAlerts?: Array<{
|
|
228
|
-
authPlatformId?: string;
|
|
229
|
-
emailAddress?: string;
|
|
230
|
-
fullName?: string;
|
|
231
|
-
mobileNumber?: {
|
|
232
|
-
callingCode: string;
|
|
233
|
-
number: string;
|
|
234
|
-
};
|
|
235
|
-
organisationId?: string | null;
|
|
236
|
-
organisationName?: string | null;
|
|
237
|
-
userId: string;
|
|
238
|
-
}> | null;
|
|
239
227
|
tags: Array<string>;
|
|
240
228
|
acceptedBids?: Array<{
|
|
241
229
|
bidId: string;
|
|
@@ -1,7 +1,66 @@
|
|
|
1
1
|
export type PatchListingSchema = {
|
|
2
|
+
businessUnitId?: string | null;
|
|
3
|
+
details?: {
|
|
4
|
+
buyerNotes?: string | null;
|
|
5
|
+
files?: Array<{
|
|
6
|
+
name?: string;
|
|
7
|
+
id: string;
|
|
8
|
+
url?: string | null;
|
|
9
|
+
userId?: string | null;
|
|
10
|
+
userName?: string | null;
|
|
11
|
+
organisationId?: string | null;
|
|
12
|
+
createdAtUTC?: string | null;
|
|
13
|
+
} | null>;
|
|
14
|
+
movementPeriod?: {
|
|
15
|
+
startDateUTC: string;
|
|
16
|
+
endDateUTC: string;
|
|
17
|
+
type: 'date' | 'month';
|
|
18
|
+
excludedDatesUTC?: Array<string> | null;
|
|
19
|
+
asAvailable?: boolean | null;
|
|
20
|
+
};
|
|
21
|
+
price?: {
|
|
22
|
+
amount: number;
|
|
23
|
+
currency: string;
|
|
24
|
+
} | null;
|
|
25
|
+
targetPrice?: {
|
|
26
|
+
amount: number;
|
|
27
|
+
currency: string;
|
|
28
|
+
} | null;
|
|
29
|
+
isBasePremOnly?: boolean;
|
|
30
|
+
startDateUTC?: string | null;
|
|
31
|
+
endDateUTC?: string | null;
|
|
32
|
+
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
33
|
+
};
|
|
34
|
+
inventory?: {
|
|
35
|
+
commodity?: {
|
|
36
|
+
id: number;
|
|
37
|
+
type: number;
|
|
38
|
+
grade: number | null;
|
|
39
|
+
variety?: string | null;
|
|
40
|
+
varieties?: Array<string> | null;
|
|
41
|
+
tags?: Array<number> | null;
|
|
42
|
+
};
|
|
43
|
+
harvestYear?: string;
|
|
44
|
+
measures?: Array<{
|
|
45
|
+
specificationId: number;
|
|
46
|
+
min: number | null;
|
|
47
|
+
max: number | null;
|
|
48
|
+
}> | null;
|
|
49
|
+
type?: 'crop' | 'produce';
|
|
50
|
+
weight?: {
|
|
51
|
+
min: number;
|
|
52
|
+
max: number;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
2
55
|
feedback?: {
|
|
56
|
+
sellerTargetPrice: {
|
|
57
|
+
amount: number;
|
|
58
|
+
currency: string;
|
|
59
|
+
} | null;
|
|
60
|
+
sellerListingReasonIds: Array<number> | null;
|
|
61
|
+
sellerListingReasonDetail: string | null;
|
|
3
62
|
note?: string;
|
|
4
63
|
noBidReason?: string;
|
|
5
64
|
noConversionReason?: string;
|
|
6
|
-
};
|
|
65
|
+
} | null;
|
|
7
66
|
};
|