@hectare/platform.clients.trading 1.1.272 → 1.1.273
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 +3 -0
- package/models/ContractDetail.d.ts +36 -1
- package/models/ContractFulfilmentSchema.d.ts +12 -0
- package/models/ContractFulfilmentSchema.js +1 -0
- package/models/ContractMovementDetail.d.ts +25 -0
- package/models/ContractMovementDetail.js +1 -0
- package/models/PatchContractMovementSchema.d.ts +4 -0
- package/models/PatchContractMovementSchema.js +1 -0
- package/models/SearchResultsContractSchema.d.ts +36 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export type { CompleteMarketingPlanSchema } from './models/CompleteMarketingPlan
|
|
|
9
9
|
export type { ContractAddContract } from './models/ContractAddContract.js';
|
|
10
10
|
export type { ContractCommodityStats } from './models/ContractCommodityStats.js';
|
|
11
11
|
export type { ContractDetail } from './models/ContractDetail.js';
|
|
12
|
+
export type { ContractFulfilmentSchema } from './models/ContractFulfilmentSchema.js';
|
|
13
|
+
export type { ContractMovementDetail } from './models/ContractMovementDetail.js';
|
|
12
14
|
export type { CreateBid } from './models/CreateBid.js';
|
|
13
15
|
export type { CreateBidOfferSchema } from './models/CreateBidOfferSchema.js';
|
|
14
16
|
export type { CreateContractSchema } from './models/CreateContractSchema.js';
|
|
@@ -46,6 +48,7 @@ export type { NewsFeed } from './models/NewsFeed.js';
|
|
|
46
48
|
export type { PatchBid } from './models/PatchBid.js';
|
|
47
49
|
export type { PatchBidOfferSchema } from './models/PatchBidOfferSchema.js';
|
|
48
50
|
export type { PatchBidOption } from './models/PatchBidOption.js';
|
|
51
|
+
export type { PatchContractMovementSchema } from './models/PatchContractMovementSchema.js';
|
|
49
52
|
export type { PatchContractSchema } from './models/PatchContractSchema.js';
|
|
50
53
|
export type { PatchInventorySchema } from './models/PatchInventorySchema.js';
|
|
51
54
|
export type { PatchListingAdjustTradeSchema } from './models/PatchListingAdjustTradeSchema.js';
|
|
@@ -52,7 +52,7 @@ export type ContractDetail = {
|
|
|
52
52
|
months: Array<string>;
|
|
53
53
|
asAvailable: boolean | null;
|
|
54
54
|
};
|
|
55
|
-
movementMonths
|
|
55
|
+
movementMonths: Array<{
|
|
56
56
|
month: string;
|
|
57
57
|
weightKG: number | null;
|
|
58
58
|
asAvailable: boolean;
|
|
@@ -136,6 +136,41 @@ export type ContractDetail = {
|
|
|
136
136
|
sellerNotes?: string;
|
|
137
137
|
regionISO: string;
|
|
138
138
|
saleType: 'on-platform' | 'off-platform';
|
|
139
|
+
movements: Array<{
|
|
140
|
+
id: number;
|
|
141
|
+
weight: number;
|
|
142
|
+
paymentDueDate: string | null;
|
|
143
|
+
status: 'pending' | 'delivered' | 'cancelled';
|
|
144
|
+
pod: {
|
|
145
|
+
deliveredOnUTC: string | null;
|
|
146
|
+
vehicleRegistration: string | null;
|
|
147
|
+
ticketNumber: string | null;
|
|
148
|
+
uploadedBy: {
|
|
149
|
+
id: string | null;
|
|
150
|
+
name: string | null;
|
|
151
|
+
};
|
|
152
|
+
files: Array<{
|
|
153
|
+
name?: string;
|
|
154
|
+
id: string;
|
|
155
|
+
url?: string | null;
|
|
156
|
+
userId?: string | null;
|
|
157
|
+
userName?: string | null;
|
|
158
|
+
organisationId?: string | null;
|
|
159
|
+
createdAtUTC?: string | null;
|
|
160
|
+
} | null>;
|
|
161
|
+
weightNet: number | null;
|
|
162
|
+
} | null;
|
|
163
|
+
}>;
|
|
164
|
+
payments: Array<{
|
|
165
|
+
id: number;
|
|
166
|
+
amount: {
|
|
167
|
+
amount: number;
|
|
168
|
+
currency: string;
|
|
169
|
+
};
|
|
170
|
+
paymentDueDate: string | null;
|
|
171
|
+
movementIds: Array<number>;
|
|
172
|
+
status: 'pending' | 'paid' | 'cancelled';
|
|
173
|
+
}>;
|
|
139
174
|
bid?: {
|
|
140
175
|
id: string;
|
|
141
176
|
listingId: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type ContractFulfilmentSchema = {
|
|
2
|
+
movements: Array<{
|
|
3
|
+
month: string;
|
|
4
|
+
weight: number;
|
|
5
|
+
saleType: 'on-platform' | 'off-platform';
|
|
6
|
+
}>;
|
|
7
|
+
payments: Array<{
|
|
8
|
+
month: string;
|
|
9
|
+
amount: number;
|
|
10
|
+
saleType: 'on-platform' | 'off-platform';
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type ContractMovementDetail = {
|
|
2
|
+
id: number;
|
|
3
|
+
weight: number;
|
|
4
|
+
paymentDueDate: string | null;
|
|
5
|
+
status: 'pending' | 'delivered' | 'cancelled';
|
|
6
|
+
pod: {
|
|
7
|
+
deliveredOnUTC: string | null;
|
|
8
|
+
vehicleRegistration: string | null;
|
|
9
|
+
ticketNumber: string | null;
|
|
10
|
+
uploadedBy: {
|
|
11
|
+
id: string | null;
|
|
12
|
+
name: string | null;
|
|
13
|
+
};
|
|
14
|
+
files: Array<{
|
|
15
|
+
name?: string;
|
|
16
|
+
id: string;
|
|
17
|
+
url?: string | null;
|
|
18
|
+
userId?: string | null;
|
|
19
|
+
userName?: string | null;
|
|
20
|
+
organisationId?: string | null;
|
|
21
|
+
createdAtUTC?: string | null;
|
|
22
|
+
} | null>;
|
|
23
|
+
weightNet: number | null;
|
|
24
|
+
} | null;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -53,7 +53,7 @@ export type SearchResultsContractSchema = {
|
|
|
53
53
|
months: Array<string>;
|
|
54
54
|
asAvailable: boolean | null;
|
|
55
55
|
};
|
|
56
|
-
movementMonths
|
|
56
|
+
movementMonths: Array<{
|
|
57
57
|
month: string;
|
|
58
58
|
weightKG: number | null;
|
|
59
59
|
asAvailable: boolean;
|
|
@@ -137,6 +137,41 @@ export type SearchResultsContractSchema = {
|
|
|
137
137
|
sellerNotes?: string;
|
|
138
138
|
regionISO: string;
|
|
139
139
|
saleType: 'on-platform' | 'off-platform';
|
|
140
|
+
movements: Array<{
|
|
141
|
+
id: number;
|
|
142
|
+
weight: number;
|
|
143
|
+
paymentDueDate: string | null;
|
|
144
|
+
status: 'pending' | 'delivered' | 'cancelled';
|
|
145
|
+
pod: {
|
|
146
|
+
deliveredOnUTC: string | null;
|
|
147
|
+
vehicleRegistration: string | null;
|
|
148
|
+
ticketNumber: string | null;
|
|
149
|
+
uploadedBy: {
|
|
150
|
+
id: string | null;
|
|
151
|
+
name: string | null;
|
|
152
|
+
};
|
|
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
|
+
weightNet: number | null;
|
|
163
|
+
} | null;
|
|
164
|
+
}>;
|
|
165
|
+
payments: Array<{
|
|
166
|
+
id: number;
|
|
167
|
+
amount: {
|
|
168
|
+
amount: number;
|
|
169
|
+
currency: string;
|
|
170
|
+
};
|
|
171
|
+
paymentDueDate: string | null;
|
|
172
|
+
movementIds: Array<number>;
|
|
173
|
+
status: 'pending' | 'paid' | 'cancelled';
|
|
174
|
+
}>;
|
|
140
175
|
bid?: {
|
|
141
176
|
id: string;
|
|
142
177
|
listingId: string;
|