@hectare/platform.clients.trading 1.1.334 → 1.1.336
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/models/CreateListing.d.ts +9 -0
- package/models/CreateManualListingTrade.d.ts +9 -0
- package/models/HarvestSummarySchema.d.ts +27 -0
- package/models/InventoryDetailSchema.d.ts +27 -0
- package/models/InventorySummarySchema.d.ts +27 -0
- package/models/PatchInventorySchema.d.ts +11 -0
- package/models/SearchResultsInventorySchema.d.ts +27 -0
- package/package.json +1 -1
|
@@ -66,4 +66,13 @@ export type CreateListing = {
|
|
|
66
66
|
utmMedium: string | null;
|
|
67
67
|
utmCampaign: string | null;
|
|
68
68
|
} | null;
|
|
69
|
+
buyNow?: {
|
|
70
|
+
price: {
|
|
71
|
+
amount: number;
|
|
72
|
+
currency: string;
|
|
73
|
+
};
|
|
74
|
+
weight: number;
|
|
75
|
+
closesAtUTC: string;
|
|
76
|
+
movementMonths?: Array<string>;
|
|
77
|
+
} | null;
|
|
69
78
|
};
|
|
@@ -67,6 +67,15 @@ export type CreateManualListingTrade = {
|
|
|
67
67
|
utmMedium: string | null;
|
|
68
68
|
utmCampaign: string | null;
|
|
69
69
|
} | null;
|
|
70
|
+
buyNow?: {
|
|
71
|
+
price: {
|
|
72
|
+
amount: number;
|
|
73
|
+
currency: string;
|
|
74
|
+
};
|
|
75
|
+
weight: number;
|
|
76
|
+
closesAtUTC: string;
|
|
77
|
+
movementMonths?: Array<string>;
|
|
78
|
+
} | null;
|
|
70
79
|
};
|
|
71
80
|
buyerBusinessId: string;
|
|
72
81
|
sellerUserId?: string | null;
|
|
@@ -118,7 +118,34 @@ export type HarvestSummarySchema = {
|
|
|
118
118
|
conversion: number;
|
|
119
119
|
weight?: number;
|
|
120
120
|
} | null;
|
|
121
|
+
cooperativeWeight?: {
|
|
122
|
+
name: string;
|
|
123
|
+
conversion: number;
|
|
124
|
+
weight?: number;
|
|
125
|
+
} | null;
|
|
126
|
+
supplyContractWeight?: {
|
|
127
|
+
name: string;
|
|
128
|
+
conversion: number;
|
|
129
|
+
weight?: number;
|
|
130
|
+
} | null;
|
|
131
|
+
otherWeight?: {
|
|
132
|
+
name: string;
|
|
133
|
+
conversion: number;
|
|
134
|
+
weight?: number;
|
|
135
|
+
} | null;
|
|
121
136
|
aimBy: string | null;
|
|
137
|
+
timing?: {
|
|
138
|
+
mode: 'date' | 'periods' | 'milestones';
|
|
139
|
+
steps: Array<{
|
|
140
|
+
period: 'pre-harvest' | 'harvest' | 'post-harvest' | null;
|
|
141
|
+
by: string;
|
|
142
|
+
weight: {
|
|
143
|
+
name: string;
|
|
144
|
+
conversion: number;
|
|
145
|
+
weight?: number;
|
|
146
|
+
};
|
|
147
|
+
}>;
|
|
148
|
+
} | null;
|
|
122
149
|
} | null;
|
|
123
150
|
listedWeight: {
|
|
124
151
|
name: string;
|
|
@@ -90,7 +90,34 @@ export type InventoryDetailSchema = {
|
|
|
90
90
|
conversion: number;
|
|
91
91
|
weight?: number;
|
|
92
92
|
} | null;
|
|
93
|
+
cooperativeWeight?: {
|
|
94
|
+
name: string;
|
|
95
|
+
conversion: number;
|
|
96
|
+
weight?: number;
|
|
97
|
+
} | null;
|
|
98
|
+
supplyContractWeight?: {
|
|
99
|
+
name: string;
|
|
100
|
+
conversion: number;
|
|
101
|
+
weight?: number;
|
|
102
|
+
} | null;
|
|
103
|
+
otherWeight?: {
|
|
104
|
+
name: string;
|
|
105
|
+
conversion: number;
|
|
106
|
+
weight?: number;
|
|
107
|
+
} | null;
|
|
93
108
|
aimBy: string | null;
|
|
109
|
+
timing?: {
|
|
110
|
+
mode: 'date' | 'periods' | 'milestones';
|
|
111
|
+
steps: Array<{
|
|
112
|
+
period: 'pre-harvest' | 'harvest' | 'post-harvest' | null;
|
|
113
|
+
by: string;
|
|
114
|
+
weight: {
|
|
115
|
+
name: string;
|
|
116
|
+
conversion: number;
|
|
117
|
+
weight?: number;
|
|
118
|
+
};
|
|
119
|
+
}>;
|
|
120
|
+
} | null;
|
|
94
121
|
} | null;
|
|
95
122
|
listedWeight: {
|
|
96
123
|
name: string;
|
|
@@ -27,7 +27,34 @@ export type InventorySummarySchema = {
|
|
|
27
27
|
conversion: number;
|
|
28
28
|
weight?: number;
|
|
29
29
|
} | null;
|
|
30
|
+
cooperativeWeight?: {
|
|
31
|
+
name: string;
|
|
32
|
+
conversion: number;
|
|
33
|
+
weight?: number;
|
|
34
|
+
} | null;
|
|
35
|
+
supplyContractWeight?: {
|
|
36
|
+
name: string;
|
|
37
|
+
conversion: number;
|
|
38
|
+
weight?: number;
|
|
39
|
+
} | null;
|
|
40
|
+
otherWeight?: {
|
|
41
|
+
name: string;
|
|
42
|
+
conversion: number;
|
|
43
|
+
weight?: number;
|
|
44
|
+
} | null;
|
|
30
45
|
aimBy: string | null;
|
|
46
|
+
timing?: {
|
|
47
|
+
mode: 'date' | 'periods' | 'milestones';
|
|
48
|
+
steps: Array<{
|
|
49
|
+
period: 'pre-harvest' | 'harvest' | 'post-harvest' | null;
|
|
50
|
+
by: string;
|
|
51
|
+
weight: {
|
|
52
|
+
name: string;
|
|
53
|
+
conversion: number;
|
|
54
|
+
weight?: number;
|
|
55
|
+
};
|
|
56
|
+
}>;
|
|
57
|
+
} | null;
|
|
31
58
|
} | null;
|
|
32
59
|
listedWeight: {
|
|
33
60
|
name: string;
|
|
@@ -6,7 +6,18 @@ export type PatchInventorySchema = {
|
|
|
6
6
|
poolWeight?: number | null;
|
|
7
7
|
poolName?: string | null;
|
|
8
8
|
hectareWeight?: number | null;
|
|
9
|
+
cooperativeWeight?: number | null;
|
|
10
|
+
supplyContractWeight?: number | null;
|
|
11
|
+
otherWeight?: number | null;
|
|
9
12
|
aimBy?: string | null;
|
|
13
|
+
timing?: {
|
|
14
|
+
mode: 'date' | 'periods' | 'milestones';
|
|
15
|
+
steps: Array<{
|
|
16
|
+
period: 'pre-harvest' | 'harvest' | 'post-harvest' | null;
|
|
17
|
+
by: string;
|
|
18
|
+
weight: number;
|
|
19
|
+
}>;
|
|
20
|
+
} | null;
|
|
10
21
|
} | null;
|
|
11
22
|
targetPrice?: {
|
|
12
23
|
amount: number | null;
|
|
@@ -91,7 +91,34 @@ export type SearchResultsInventorySchema = {
|
|
|
91
91
|
conversion: number;
|
|
92
92
|
weight?: number;
|
|
93
93
|
} | null;
|
|
94
|
+
cooperativeWeight?: {
|
|
95
|
+
name: string;
|
|
96
|
+
conversion: number;
|
|
97
|
+
weight?: number;
|
|
98
|
+
} | null;
|
|
99
|
+
supplyContractWeight?: {
|
|
100
|
+
name: string;
|
|
101
|
+
conversion: number;
|
|
102
|
+
weight?: number;
|
|
103
|
+
} | null;
|
|
104
|
+
otherWeight?: {
|
|
105
|
+
name: string;
|
|
106
|
+
conversion: number;
|
|
107
|
+
weight?: number;
|
|
108
|
+
} | null;
|
|
94
109
|
aimBy: string | null;
|
|
110
|
+
timing?: {
|
|
111
|
+
mode: 'date' | 'periods' | 'milestones';
|
|
112
|
+
steps: Array<{
|
|
113
|
+
period: 'pre-harvest' | 'harvest' | 'post-harvest' | null;
|
|
114
|
+
by: string;
|
|
115
|
+
weight: {
|
|
116
|
+
name: string;
|
|
117
|
+
conversion: number;
|
|
118
|
+
weight?: number;
|
|
119
|
+
};
|
|
120
|
+
}>;
|
|
121
|
+
} | null;
|
|
95
122
|
} | null;
|
|
96
123
|
listedWeight: {
|
|
97
124
|
name: string;
|