@hectare/platform.clients.trading 1.1.265 → 1.1.267
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 +1 -1
- package/models/BidDetail.d.ts +2 -2
- package/models/{BidContract.d.ts → ContractAddContract.d.ts} +1 -1
- package/models/ContractDetail.d.ts +3 -51
- package/models/CreateBid.d.ts +0 -9
- package/models/CreateContractSchema.d.ts +1 -0
- package/models/ListingDetail.d.ts +1 -1
- package/models/PatchContractSchema.d.ts +1 -0
- package/models/SearchResultsBidSchema.d.ts +2 -2
- package/models/SearchResultsContractSchema.d.ts +3 -51
- package/models/SearchResultsListingSchema.d.ts +1 -1
- package/package.json +1 -1
- /package/models/{BidContract.js → ContractAddContract.js} +0 -0
package/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type { AcceptBid } from './models/AcceptBid.js';
|
|
2
2
|
export type { AskAnExpertBuyerRallyReportSchema } from './models/AskAnExpertBuyerRallyReportSchema.js';
|
|
3
3
|
export type { AskAnExpertDraftContractSchema } from './models/AskAnExpertDraftContractSchema.js';
|
|
4
|
-
export type { BidContract } from './models/BidContract.js';
|
|
5
4
|
export type { BidDetail } from './models/BidDetail.js';
|
|
6
5
|
export type { CloseListingReasonSchema } from './models/CloseListingReasonSchema.js';
|
|
7
6
|
export type { CommodityPrices } from './models/CommodityPrices.js';
|
|
8
7
|
export type { CompleteMarketingPlanSchema } from './models/CompleteMarketingPlanSchema.js';
|
|
8
|
+
export type { ContractAddContract } from './models/ContractAddContract.js';
|
|
9
9
|
export type { ContractDetail } from './models/ContractDetail.js';
|
|
10
10
|
export type { CreateBid } from './models/CreateBid.js';
|
|
11
11
|
export type { CreateBidOfferSchema } from './models/CreateBidOfferSchema.js';
|
package/models/BidDetail.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export type BidDetail = {
|
|
|
122
122
|
};
|
|
123
123
|
contract?: {
|
|
124
124
|
id: string | null;
|
|
125
|
-
files
|
|
125
|
+
files?: Array<{
|
|
126
126
|
name?: string;
|
|
127
127
|
id: string;
|
|
128
128
|
url?: string | null;
|
|
@@ -492,7 +492,7 @@ export type BidDetail = {
|
|
|
492
492
|
};
|
|
493
493
|
contract?: {
|
|
494
494
|
id: string | null;
|
|
495
|
-
files
|
|
495
|
+
files?: Array<{
|
|
496
496
|
name?: string;
|
|
497
497
|
id: string;
|
|
498
498
|
url?: string | null;
|
|
@@ -14,6 +14,7 @@ export type ContractDetail = {
|
|
|
14
14
|
weight?: number;
|
|
15
15
|
};
|
|
16
16
|
priceType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
17
|
+
compositionType: 'individual' | 'multiple' | 'other';
|
|
17
18
|
totalPrice: {
|
|
18
19
|
amount: number | null;
|
|
19
20
|
currency: string;
|
|
@@ -111,55 +112,6 @@ export type ContractDetail = {
|
|
|
111
112
|
createdAtUTC?: string | null;
|
|
112
113
|
} | null>;
|
|
113
114
|
};
|
|
114
|
-
inventory?: {
|
|
115
|
-
type: 'crop' | 'produce';
|
|
116
|
-
harvestYear: string;
|
|
117
|
-
commodity: {
|
|
118
|
-
commodity: {
|
|
119
|
-
id: number;
|
|
120
|
-
name: string;
|
|
121
|
-
};
|
|
122
|
-
type: {
|
|
123
|
-
id: number;
|
|
124
|
-
name: string;
|
|
125
|
-
};
|
|
126
|
-
grade: {
|
|
127
|
-
id: number;
|
|
128
|
-
name: string;
|
|
129
|
-
};
|
|
130
|
-
varieties: Array<string>;
|
|
131
|
-
attributes: Array<{
|
|
132
|
-
id: number;
|
|
133
|
-
name: string;
|
|
134
|
-
}>;
|
|
135
|
-
tags?: Array<number>;
|
|
136
|
-
weight: {
|
|
137
|
-
name: string;
|
|
138
|
-
conversion: number;
|
|
139
|
-
weight?: number;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
measures: Array<{
|
|
143
|
-
specification: {
|
|
144
|
-
id: number;
|
|
145
|
-
name: string;
|
|
146
|
-
unit: string;
|
|
147
|
-
};
|
|
148
|
-
min: number | null;
|
|
149
|
-
max: number | null;
|
|
150
|
-
}> | null;
|
|
151
|
-
hasSampled: boolean;
|
|
152
|
-
customMeasures?: boolean | null;
|
|
153
|
-
files: Array<{
|
|
154
|
-
name?: string;
|
|
155
|
-
id: string;
|
|
156
|
-
url?: string | null;
|
|
157
|
-
userId?: string | null;
|
|
158
|
-
userName?: string | null;
|
|
159
|
-
organisationId?: string | null;
|
|
160
|
-
createdAtUTC?: string | null;
|
|
161
|
-
} | null>;
|
|
162
|
-
};
|
|
163
115
|
buyer: {
|
|
164
116
|
organisationId: string;
|
|
165
117
|
businessId: string;
|
|
@@ -304,7 +256,7 @@ export type ContractDetail = {
|
|
|
304
256
|
};
|
|
305
257
|
contract?: {
|
|
306
258
|
id: string | null;
|
|
307
|
-
files
|
|
259
|
+
files?: Array<{
|
|
308
260
|
name?: string;
|
|
309
261
|
id: string;
|
|
310
262
|
url?: string | null;
|
|
@@ -674,7 +626,7 @@ export type ContractDetail = {
|
|
|
674
626
|
};
|
|
675
627
|
contract?: {
|
|
676
628
|
id: string | null;
|
|
677
|
-
files
|
|
629
|
+
files?: Array<{
|
|
678
630
|
name?: string;
|
|
679
631
|
id: string;
|
|
680
632
|
url?: string | null;
|
package/models/CreateBid.d.ts
CHANGED
|
@@ -48,13 +48,4 @@ export type CreateBid = {
|
|
|
48
48
|
sellerNotes?: string | null;
|
|
49
49
|
};
|
|
50
50
|
reference?: string | 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
51
|
};
|
|
@@ -4,6 +4,7 @@ export type CreateContractSchema = {
|
|
|
4
4
|
details: {
|
|
5
5
|
reference: string | null;
|
|
6
6
|
contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
7
|
+
compositionType?: 'individual' | 'multiple' | 'other';
|
|
7
8
|
paymentDays?: number;
|
|
8
9
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
9
10
|
contractDateUTC?: string | null;
|
|
@@ -3,6 +3,7 @@ export type PatchContractSchema = {
|
|
|
3
3
|
details?: {
|
|
4
4
|
reference?: string | null;
|
|
5
5
|
contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
6
|
+
compositionType?: 'individual' | 'multiple' | 'other';
|
|
6
7
|
paymentDays?: number;
|
|
7
8
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
8
9
|
contractDateUTC?: string | null;
|
|
@@ -123,7 +123,7 @@ export type SearchResultsBidSchema = {
|
|
|
123
123
|
};
|
|
124
124
|
contract?: {
|
|
125
125
|
id: string | null;
|
|
126
|
-
files
|
|
126
|
+
files?: Array<{
|
|
127
127
|
name?: string;
|
|
128
128
|
id: string;
|
|
129
129
|
url?: string | null;
|
|
@@ -493,7 +493,7 @@ export type SearchResultsBidSchema = {
|
|
|
493
493
|
};
|
|
494
494
|
contract?: {
|
|
495
495
|
id: string | null;
|
|
496
|
-
files
|
|
496
|
+
files?: Array<{
|
|
497
497
|
name?: string;
|
|
498
498
|
id: string;
|
|
499
499
|
url?: string | null;
|
|
@@ -15,6 +15,7 @@ export type SearchResultsContractSchema = {
|
|
|
15
15
|
weight?: number;
|
|
16
16
|
};
|
|
17
17
|
priceType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
18
|
+
compositionType: 'individual' | 'multiple' | 'other';
|
|
18
19
|
totalPrice: {
|
|
19
20
|
amount: number | null;
|
|
20
21
|
currency: string;
|
|
@@ -112,55 +113,6 @@ export type SearchResultsContractSchema = {
|
|
|
112
113
|
createdAtUTC?: string | null;
|
|
113
114
|
} | null>;
|
|
114
115
|
};
|
|
115
|
-
inventory?: {
|
|
116
|
-
type: 'crop' | 'produce';
|
|
117
|
-
harvestYear: string;
|
|
118
|
-
commodity: {
|
|
119
|
-
commodity: {
|
|
120
|
-
id: number;
|
|
121
|
-
name: string;
|
|
122
|
-
};
|
|
123
|
-
type: {
|
|
124
|
-
id: number;
|
|
125
|
-
name: string;
|
|
126
|
-
};
|
|
127
|
-
grade: {
|
|
128
|
-
id: number;
|
|
129
|
-
name: string;
|
|
130
|
-
};
|
|
131
|
-
varieties: Array<string>;
|
|
132
|
-
attributes: Array<{
|
|
133
|
-
id: number;
|
|
134
|
-
name: string;
|
|
135
|
-
}>;
|
|
136
|
-
tags?: Array<number>;
|
|
137
|
-
weight: {
|
|
138
|
-
name: string;
|
|
139
|
-
conversion: number;
|
|
140
|
-
weight?: number;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
measures: Array<{
|
|
144
|
-
specification: {
|
|
145
|
-
id: number;
|
|
146
|
-
name: string;
|
|
147
|
-
unit: string;
|
|
148
|
-
};
|
|
149
|
-
min: number | null;
|
|
150
|
-
max: number | null;
|
|
151
|
-
}> | null;
|
|
152
|
-
hasSampled: boolean;
|
|
153
|
-
customMeasures?: boolean | null;
|
|
154
|
-
files: Array<{
|
|
155
|
-
name?: string;
|
|
156
|
-
id: string;
|
|
157
|
-
url?: string | null;
|
|
158
|
-
userId?: string | null;
|
|
159
|
-
userName?: string | null;
|
|
160
|
-
organisationId?: string | null;
|
|
161
|
-
createdAtUTC?: string | null;
|
|
162
|
-
} | null>;
|
|
163
|
-
};
|
|
164
116
|
buyer: {
|
|
165
117
|
organisationId: string;
|
|
166
118
|
businessId: string;
|
|
@@ -305,7 +257,7 @@ export type SearchResultsContractSchema = {
|
|
|
305
257
|
};
|
|
306
258
|
contract?: {
|
|
307
259
|
id: string | null;
|
|
308
|
-
files
|
|
260
|
+
files?: Array<{
|
|
309
261
|
name?: string;
|
|
310
262
|
id: string;
|
|
311
263
|
url?: string | null;
|
|
@@ -675,7 +627,7 @@ export type SearchResultsContractSchema = {
|
|
|
675
627
|
};
|
|
676
628
|
contract?: {
|
|
677
629
|
id: string | null;
|
|
678
|
-
files
|
|
630
|
+
files?: Array<{
|
|
679
631
|
name?: string;
|
|
680
632
|
id: string;
|
|
681
633
|
url?: string | null;
|
package/package.json
CHANGED
|
File without changes
|