@hectare/platform.clients.trading 1.1.278 → 1.1.280
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 -0
- package/models/BuyerBenchmarkSchema.d.ts +1 -0
- package/models/ContractDetail.d.ts +3 -0
- package/models/ContractFulfilmentCalendarSchema.d.ts +5 -0
- package/models/CreateBid.d.ts +1 -0
- package/models/CreateContractSchema.d.ts +1 -0
- package/models/ListingDetail.d.ts +1 -0
- package/models/PatchBid.d.ts +1 -0
- package/models/PatchContractSchema.d.ts +1 -0
- package/models/SearchResultsBidSchema.d.ts +2 -0
- package/models/SearchResultsContractSchema.d.ts +3 -0
- package/models/SearchResultsListingSchema.d.ts +1 -0
- 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';
|
package/models/BidDetail.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ export type BidDetail = {
|
|
|
114
114
|
};
|
|
115
115
|
paymentDays: number;
|
|
116
116
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
117
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
117
118
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
118
119
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
119
120
|
cropHome?: string | null;
|
|
@@ -484,6 +485,7 @@ export type BidDetail = {
|
|
|
484
485
|
};
|
|
485
486
|
paymentDays: number;
|
|
486
487
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
488
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
487
489
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
488
490
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
489
491
|
cropHome?: string | null;
|
|
@@ -340,6 +340,7 @@ export type BuyerBenchmarkSchema = {
|
|
|
340
340
|
};
|
|
341
341
|
paymentDays: number;
|
|
342
342
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
343
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
343
344
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
344
345
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
345
346
|
cropHome?: string | null;
|
|
@@ -47,6 +47,7 @@ export type ContractDetail = {
|
|
|
47
47
|
};
|
|
48
48
|
paymentDays: number;
|
|
49
49
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
50
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
50
51
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
51
52
|
contractDateUTC: string;
|
|
52
53
|
movement: {
|
|
@@ -379,6 +380,7 @@ export type ContractDetail = {
|
|
|
379
380
|
};
|
|
380
381
|
paymentDays: number;
|
|
381
382
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
383
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
382
384
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
383
385
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
384
386
|
cropHome?: string | null;
|
|
@@ -749,6 +751,7 @@ export type ContractDetail = {
|
|
|
749
751
|
};
|
|
750
752
|
paymentDays: number;
|
|
751
753
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
754
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
752
755
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
753
756
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
754
757
|
cropHome?: string | null;
|
package/models/CreateBid.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export type CreateBid = {
|
|
|
41
41
|
};
|
|
42
42
|
paymentDays: number;
|
|
43
43
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
44
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
44
45
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
45
46
|
deliveryPostcode?: string | null;
|
|
46
47
|
cropHome?: string | null;
|
|
@@ -7,6 +7,7 @@ export type CreateContractSchema = {
|
|
|
7
7
|
compositionType?: 'individual' | 'multiple' | 'other';
|
|
8
8
|
paymentDays?: number;
|
|
9
9
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
10
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
10
11
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
11
12
|
contractDateUTC?: string | null;
|
|
12
13
|
movement?: {
|
|
@@ -339,6 +339,7 @@ export type ListingDetail = {
|
|
|
339
339
|
};
|
|
340
340
|
paymentDays: number;
|
|
341
341
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
342
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
342
343
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
343
344
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
344
345
|
cropHome?: string | null;
|
package/models/PatchBid.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export type PatchBid = {
|
|
|
41
41
|
};
|
|
42
42
|
paymentDays: number;
|
|
43
43
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
44
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
44
45
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
45
46
|
deliveryPostcode?: string | null;
|
|
46
47
|
cropHome?: string | null;
|
|
@@ -6,6 +6,7 @@ export type PatchContractSchema = {
|
|
|
6
6
|
compositionType?: 'individual' | 'multiple' | 'other';
|
|
7
7
|
paymentDays?: number;
|
|
8
8
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
9
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
9
10
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
10
11
|
contractDateUTC?: string | null;
|
|
11
12
|
movement?: {
|
|
@@ -115,6 +115,7 @@ export type SearchResultsBidSchema = {
|
|
|
115
115
|
};
|
|
116
116
|
paymentDays: number;
|
|
117
117
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
118
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
118
119
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
119
120
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
120
121
|
cropHome?: string | null;
|
|
@@ -485,6 +486,7 @@ export type SearchResultsBidSchema = {
|
|
|
485
486
|
};
|
|
486
487
|
paymentDays: number;
|
|
487
488
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
489
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
488
490
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
489
491
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
490
492
|
cropHome?: string | null;
|
|
@@ -48,6 +48,7 @@ export type SearchResultsContractSchema = {
|
|
|
48
48
|
};
|
|
49
49
|
paymentDays: number;
|
|
50
50
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
51
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
51
52
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
52
53
|
contractDateUTC: string;
|
|
53
54
|
movement: {
|
|
@@ -380,6 +381,7 @@ export type SearchResultsContractSchema = {
|
|
|
380
381
|
};
|
|
381
382
|
paymentDays: number;
|
|
382
383
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
384
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
383
385
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
384
386
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
385
387
|
cropHome?: string | null;
|
|
@@ -750,6 +752,7 @@ export type SearchResultsContractSchema = {
|
|
|
750
752
|
};
|
|
751
753
|
paymentDays: number;
|
|
752
754
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
755
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
753
756
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
754
757
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
755
758
|
cropHome?: string | null;
|
|
@@ -340,6 +340,7 @@ export type SearchResultsListingSchema = {
|
|
|
340
340
|
};
|
|
341
341
|
paymentDays: number;
|
|
342
342
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
343
|
+
paymentTrigger?: 'fullContractFulfilment' | 'perLoadMovement' | 'perMovementMonth' | 'notSpecified' | null;
|
|
343
344
|
paymentType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
344
345
|
haulageType?: 'ex-farm' | 'delivered' | null;
|
|
345
346
|
cropHome?: string | null;
|
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
|