@hectare/platform.clients.trading 1.1.277 → 1.1.279
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/ContractDetail.d.ts +9 -12
- package/models/ContractFulfilmentCalendarSchema.d.ts +5 -0
- package/models/ContractMovementDetail.d.ts +9 -2
- package/models/PatchContractMovementSchema.d.ts +6 -4
- package/models/SearchResultsContractSchema.d.ts +9 -12
- package/package.json +1 -1
- package/models/ContractFulfilmentSchema.d.ts +0 -12
- /package/models/{ContractFulfilmentSchema.js → ContractFulfilmentCalendarSchema.js} +0 -0
package/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type { CompleteMarketingPlanSchema } from './models/CompleteMarketingPlan
|
|
|
8
8
|
export type { ContractAddContract } from './models/ContractAddContract.js';
|
|
9
9
|
export type { ContractCommodityStats } from './models/ContractCommodityStats.js';
|
|
10
10
|
export type { ContractDetail } from './models/ContractDetail.js';
|
|
11
|
-
export type {
|
|
11
|
+
export type { ContractFulfilmentCalendarSchema } from './models/ContractFulfilmentCalendarSchema.js';
|
|
12
12
|
export type { ContractMovementDetail } from './models/ContractMovementDetail.js';
|
|
13
13
|
export type { CreateBid } from './models/CreateBid.js';
|
|
14
14
|
export type { CreateBidOfferSchema } from './models/CreateBidOfferSchema.js';
|
|
@@ -249,22 +249,19 @@ export type ContractDetail = {
|
|
|
249
249
|
saleType: 'on-platform' | 'off-platform';
|
|
250
250
|
movements: Array<{
|
|
251
251
|
id: number;
|
|
252
|
+
ref: string | null;
|
|
253
|
+
invoiceRef: string | null;
|
|
254
|
+
month: string;
|
|
255
|
+
value: {
|
|
256
|
+
amount: number | null;
|
|
257
|
+
currency: string;
|
|
258
|
+
} | null;
|
|
252
259
|
weight: number;
|
|
253
260
|
weightNet: number | null;
|
|
254
|
-
status: 'pending' | 'complete' | 'cancelled';
|
|
255
|
-
paymentDueUTC: string | null;
|
|
261
|
+
status: 'pending' | 'in-progress' | 'complete' | 'cancelled';
|
|
256
262
|
deliveredOnUTC: string | null;
|
|
257
263
|
paymentReceivedUTC: string | null;
|
|
258
|
-
|
|
259
|
-
payments: Array<{
|
|
260
|
-
id: number;
|
|
261
|
-
amount: {
|
|
262
|
-
amount: number;
|
|
263
|
-
currency: string;
|
|
264
|
-
};
|
|
265
|
-
paymentDueDate: string | null;
|
|
266
|
-
movementIds: Array<number>;
|
|
267
|
-
status: 'pending' | 'paid' | 'cancelled';
|
|
264
|
+
paymentDueUTC: string;
|
|
268
265
|
}>;
|
|
269
266
|
bid?: {
|
|
270
267
|
id: string;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
export type ContractMovementDetail = {
|
|
2
2
|
id: number;
|
|
3
|
+
ref: string | null;
|
|
4
|
+
invoiceRef: string | null;
|
|
5
|
+
month: string;
|
|
6
|
+
value: {
|
|
7
|
+
amount: number | null;
|
|
8
|
+
currency: string;
|
|
9
|
+
} | null;
|
|
3
10
|
weight: number;
|
|
4
11
|
weightNet: number | null;
|
|
5
|
-
status: 'pending' | 'complete' | 'cancelled';
|
|
6
|
-
paymentDueUTC: string | null;
|
|
12
|
+
status: 'pending' | 'in-progress' | 'complete' | 'cancelled';
|
|
7
13
|
deliveredOnUTC: string | null;
|
|
8
14
|
paymentReceivedUTC: string | null;
|
|
15
|
+
paymentDueUTC: string;
|
|
9
16
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export type PatchContractMovementSchema = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
ref?: string | null;
|
|
3
|
+
invoiceRef?: string | null;
|
|
4
|
+
weightNet?: number | null;
|
|
5
|
+
deliveredOnUTC?: string | null;
|
|
6
|
+
paymentDueUTC?: string | null;
|
|
7
|
+
paymentReceivedUTC?: string;
|
|
6
8
|
};
|
|
@@ -250,22 +250,19 @@ export type SearchResultsContractSchema = {
|
|
|
250
250
|
saleType: 'on-platform' | 'off-platform';
|
|
251
251
|
movements: Array<{
|
|
252
252
|
id: number;
|
|
253
|
+
ref: string | null;
|
|
254
|
+
invoiceRef: string | null;
|
|
255
|
+
month: string;
|
|
256
|
+
value: {
|
|
257
|
+
amount: number | null;
|
|
258
|
+
currency: string;
|
|
259
|
+
} | null;
|
|
253
260
|
weight: number;
|
|
254
261
|
weightNet: number | null;
|
|
255
|
-
status: 'pending' | 'complete' | 'cancelled';
|
|
256
|
-
paymentDueUTC: string | null;
|
|
262
|
+
status: 'pending' | 'in-progress' | 'complete' | 'cancelled';
|
|
257
263
|
deliveredOnUTC: string | null;
|
|
258
264
|
paymentReceivedUTC: string | null;
|
|
259
|
-
|
|
260
|
-
payments: Array<{
|
|
261
|
-
id: number;
|
|
262
|
-
amount: {
|
|
263
|
-
amount: number;
|
|
264
|
-
currency: string;
|
|
265
|
-
};
|
|
266
|
-
paymentDueDate: string | null;
|
|
267
|
-
movementIds: Array<number>;
|
|
268
|
-
status: 'pending' | 'paid' | 'cancelled';
|
|
265
|
+
paymentDueUTC: string;
|
|
269
266
|
}>;
|
|
270
267
|
bid?: {
|
|
271
268
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
};
|
|
File without changes
|