@hectare/platform.clients.trading 1.1.121 → 1.1.123
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 -1
- package/models/InventorySearchResultsSchema.d.ts +8 -94
- package/models/MarketingPlanDetailSchema.d.ts +1 -0
- package/models/MarketingPlanSearchResultsSchema.d.ts +1 -0
- package/models/MarketingPlanSummarySchema.d.ts +1 -0
- package/package.json +1 -1
- package/models/InventorySummarySchema.d.ts +0 -62
- package/models/InventorySummarySchema.js +0 -1
package/index.d.ts
CHANGED
|
@@ -47,7 +47,6 @@ export type { InsightsHistoricalFuturesPricesSchema } from './models/InsightsHis
|
|
|
47
47
|
export type { InventoryDetailSchema } from './models/InventoryDetailSchema.js';
|
|
48
48
|
export type { InventorySchema } from './models/InventorySchema.js';
|
|
49
49
|
export type { InventorySearchResultsSchema } from './models/InventorySearchResultsSchema.js';
|
|
50
|
-
export type { InventorySummarySchema } from './models/InventorySummarySchema.js';
|
|
51
50
|
export type { LinkContractSchema } from './models/LinkContractSchema.js';
|
|
52
51
|
export type { ListingBidInfoBid } from './models/ListingBidInfoBid.js';
|
|
53
52
|
export type { ListingDetail } from './models/ListingDetail.js';
|
|
@@ -2,11 +2,17 @@ export type InventorySearchResultsSchema = {
|
|
|
2
2
|
docs?: Array<{
|
|
3
3
|
id: string;
|
|
4
4
|
createdAtUTC?: string;
|
|
5
|
+
updatedAtUTC?: string;
|
|
5
6
|
businessUnitId: string;
|
|
6
7
|
businessUnitName: string;
|
|
7
8
|
organisationId: string;
|
|
8
9
|
organisationName: string;
|
|
9
|
-
status: '
|
|
10
|
+
status: 'active' | 'deleted';
|
|
11
|
+
weight: {
|
|
12
|
+
name: string;
|
|
13
|
+
conversion: number;
|
|
14
|
+
weight?: number;
|
|
15
|
+
};
|
|
10
16
|
crop: {
|
|
11
17
|
type: 'crop' | 'produce';
|
|
12
18
|
harvestYear: string;
|
|
@@ -53,99 +59,7 @@ export type InventorySearchResultsSchema = {
|
|
|
53
59
|
createdAtUTC?: string | null;
|
|
54
60
|
} | null>;
|
|
55
61
|
};
|
|
56
|
-
|
|
57
|
-
name: string;
|
|
58
|
-
conversion: number;
|
|
59
|
-
weight?: number;
|
|
60
|
-
};
|
|
61
|
-
details: {
|
|
62
|
-
isBasePremOnly: boolean;
|
|
63
|
-
targetPrice: {
|
|
64
|
-
amount: number;
|
|
65
|
-
currency: string;
|
|
66
|
-
} | null;
|
|
67
|
-
movementPeriod: {
|
|
68
|
-
startDateUTC: string;
|
|
69
|
-
endDateUTC: string;
|
|
70
|
-
type: 'date' | 'month';
|
|
71
|
-
excludedDatesUTC?: Array<string> | null;
|
|
72
|
-
asAvailable?: boolean | null;
|
|
73
|
-
};
|
|
74
|
-
haulageType: 'ex-farm' | 'delivered' | null;
|
|
75
|
-
buyerNotes: string | null;
|
|
76
|
-
};
|
|
77
|
-
strategy: {
|
|
78
|
-
type: 'steady';
|
|
79
|
-
startDateUTC: string;
|
|
80
|
-
endDateUTC: string;
|
|
81
|
-
deadlines: Array<{
|
|
82
|
-
id: number;
|
|
83
|
-
endDateUTC: string;
|
|
84
|
-
weight: {
|
|
85
|
-
name: string;
|
|
86
|
-
conversion: number;
|
|
87
|
-
weight?: number;
|
|
88
|
-
};
|
|
89
|
-
weightPerListingAvg: {
|
|
90
|
-
name: string;
|
|
91
|
-
conversion: number;
|
|
92
|
-
weight?: number;
|
|
93
|
-
};
|
|
94
|
-
weightPerListingMin: {
|
|
95
|
-
name: string;
|
|
96
|
-
conversion: number;
|
|
97
|
-
weight?: number;
|
|
98
|
-
};
|
|
99
|
-
weightPerListingMax: {
|
|
100
|
-
name: string;
|
|
101
|
-
conversion: number;
|
|
102
|
-
weight?: number;
|
|
103
|
-
};
|
|
104
|
-
canListLowerWeight: boolean;
|
|
105
|
-
}>;
|
|
106
|
-
priceOfferReview: {
|
|
107
|
-
type: 'first' | 'second' | 'third' | 'fourth' | 'last' | 'every';
|
|
108
|
-
dayOfWeek: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
109
|
-
hourOfDay: number;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
summary: {
|
|
113
|
-
totalListingCount: number;
|
|
114
|
-
soldWeight: {
|
|
115
|
-
name: string;
|
|
116
|
-
conversion: number;
|
|
117
|
-
weight?: number;
|
|
118
|
-
};
|
|
119
|
-
unsoldWeight: {
|
|
120
|
-
name: string;
|
|
121
|
-
conversion: number;
|
|
122
|
-
weight?: number;
|
|
123
|
-
};
|
|
124
|
-
averageSoldPrice: {
|
|
125
|
-
amount: number;
|
|
126
|
-
currency: string;
|
|
127
|
-
} | null;
|
|
128
|
-
};
|
|
129
|
-
schedule?: Array<{
|
|
130
|
-
id?: number;
|
|
131
|
-
deadlineId?: number;
|
|
132
|
-
minWeight?: number;
|
|
133
|
-
maxWeight?: number;
|
|
134
|
-
reviewDateUTC?: string;
|
|
135
|
-
listingId?: string;
|
|
136
|
-
weight?: {
|
|
137
|
-
name: string;
|
|
138
|
-
conversion: number;
|
|
139
|
-
weight?: number;
|
|
140
|
-
};
|
|
141
|
-
movementPeriod?: {
|
|
142
|
-
startDateUTC: string;
|
|
143
|
-
endDateUTC: string;
|
|
144
|
-
type: 'date' | 'month';
|
|
145
|
-
};
|
|
146
|
-
skipped?: boolean;
|
|
147
|
-
}>;
|
|
148
|
-
tags?: Array<string>;
|
|
62
|
+
tags: Array<string>;
|
|
149
63
|
}>;
|
|
150
64
|
custom?: any;
|
|
151
65
|
totalDocs?: number;
|
package/package.json
CHANGED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export type InventorySummarySchema = {
|
|
2
|
-
id: string;
|
|
3
|
-
createdAtUTC?: string;
|
|
4
|
-
updatedAtUTC?: string;
|
|
5
|
-
businessUnitId: string;
|
|
6
|
-
businessUnitName: string;
|
|
7
|
-
organisationId: string;
|
|
8
|
-
organisationName: string;
|
|
9
|
-
status: 'active' | 'deleted';
|
|
10
|
-
weight: {
|
|
11
|
-
name: string;
|
|
12
|
-
conversion: number;
|
|
13
|
-
weight?: number;
|
|
14
|
-
};
|
|
15
|
-
crop: {
|
|
16
|
-
type: 'crop' | 'produce';
|
|
17
|
-
harvestYear: string;
|
|
18
|
-
commodity: {
|
|
19
|
-
commodity: {
|
|
20
|
-
id: number;
|
|
21
|
-
name: string;
|
|
22
|
-
};
|
|
23
|
-
type: {
|
|
24
|
-
id: number;
|
|
25
|
-
name: string;
|
|
26
|
-
};
|
|
27
|
-
grade: {
|
|
28
|
-
id: number;
|
|
29
|
-
name: string;
|
|
30
|
-
};
|
|
31
|
-
variety?: string;
|
|
32
|
-
varieties: Array<string>;
|
|
33
|
-
tags: Array<number>;
|
|
34
|
-
weight: {
|
|
35
|
-
name: string;
|
|
36
|
-
conversion: number;
|
|
37
|
-
weight?: number;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
measures: Array<{
|
|
41
|
-
specification: {
|
|
42
|
-
id: number;
|
|
43
|
-
name: string;
|
|
44
|
-
unit: string;
|
|
45
|
-
};
|
|
46
|
-
min: number | null;
|
|
47
|
-
max: number | null;
|
|
48
|
-
}> | null;
|
|
49
|
-
hasSampled: boolean;
|
|
50
|
-
customMeasures?: boolean | null;
|
|
51
|
-
files: Array<{
|
|
52
|
-
name?: string;
|
|
53
|
-
id: string;
|
|
54
|
-
url?: string | null;
|
|
55
|
-
userId?: string | null;
|
|
56
|
-
userName?: string | null;
|
|
57
|
-
organisationId?: string | null;
|
|
58
|
-
createdAtUTC?: string | null;
|
|
59
|
-
} | null>;
|
|
60
|
-
};
|
|
61
|
-
tags: Array<string>;
|
|
62
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|