@hectare/platform.clients.trading 1.1.216 → 1.1.217
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/BidDetail.d.ts +3 -2
- package/models/ContractDetail.d.ts +1 -1
- package/models/CreateBid.d.ts +1 -1
- package/models/CreateListing.d.ts +1 -0
- package/models/CreateMarketingPlanSchema.d.ts +2 -2
- package/models/ListingDetail.d.ts +5 -3
- package/models/ListingSummary.d.ts +2 -1
- package/models/MarketingPlanDetailSchema.d.ts +2 -2
- package/models/MarketingPlanSearchResultsSchema.d.ts +2 -2
- package/models/MarketingPlanSummarySchema.d.ts +2 -2
- package/models/PatchBid.d.ts +1 -1
- package/models/PatchListingSchema.d.ts +1 -0
- package/models/PatchMarketingPlanSchema.d.ts +2 -2
- package/models/SearchResultsBidSchema.d.ts +3 -2
- package/models/SearchResultsListingSchema.d.ts +2 -1
- package/package.json +1 -1
package/models/BidDetail.d.ts
CHANGED
|
@@ -149,7 +149,8 @@ export type BidDetail = {
|
|
|
149
149
|
amount: number;
|
|
150
150
|
currency: string;
|
|
151
151
|
} | null;
|
|
152
|
-
isBasePremOnly
|
|
152
|
+
isBasePremOnly?: boolean;
|
|
153
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
153
154
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
154
155
|
haulageTypeTASCC?: boolean | null;
|
|
155
156
|
};
|
|
@@ -352,7 +353,7 @@ export type BidDetail = {
|
|
|
352
353
|
};
|
|
353
354
|
paymentDays: number;
|
|
354
355
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
355
|
-
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
356
|
+
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
356
357
|
haulageType?: 'ex-farm' | 'delivered';
|
|
357
358
|
cropHome?: string | null;
|
|
358
359
|
sellerNotes: string | null;
|
|
@@ -20,7 +20,7 @@ export type ContractDetail = {
|
|
|
20
20
|
conversion: number;
|
|
21
21
|
weight?: number;
|
|
22
22
|
};
|
|
23
|
-
priceType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
23
|
+
priceType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
24
24
|
totalPrice: {
|
|
25
25
|
amount: number;
|
|
26
26
|
currency: string;
|
package/models/CreateBid.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type CreateBid = {
|
|
|
27
27
|
};
|
|
28
28
|
paymentDays: number;
|
|
29
29
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
30
|
-
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
30
|
+
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
31
31
|
haulageType?: 'ex-farm' | 'delivered';
|
|
32
32
|
deliveryPostcode?: string | null;
|
|
33
33
|
cropHome?: string | null;
|
|
@@ -41,6 +41,7 @@ export type CreateListing = {
|
|
|
41
41
|
currency: string;
|
|
42
42
|
} | null;
|
|
43
43
|
isBasePremOnly?: boolean;
|
|
44
|
+
contractType?: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
44
45
|
startDateUTC?: string | null;
|
|
45
46
|
endDateUTC?: string | null;
|
|
46
47
|
haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
|
|
@@ -2,8 +2,8 @@ export type CreateMarketingPlanSchema = {
|
|
|
2
2
|
userId: string;
|
|
3
3
|
inventoryId: string | null;
|
|
4
4
|
details: {
|
|
5
|
-
isBasePremOnly
|
|
6
|
-
contractType?: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
5
|
+
isBasePremOnly?: boolean;
|
|
6
|
+
contractType?: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
7
7
|
targetPrice?: {
|
|
8
8
|
amount: number;
|
|
9
9
|
currency: string;
|
|
@@ -146,7 +146,8 @@ export type ListingDetail = {
|
|
|
146
146
|
amount: number;
|
|
147
147
|
currency: string;
|
|
148
148
|
} | null;
|
|
149
|
-
isBasePremOnly
|
|
149
|
+
isBasePremOnly?: boolean;
|
|
150
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
150
151
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
151
152
|
haulageTypeTASCC?: boolean | null;
|
|
152
153
|
};
|
|
@@ -446,7 +447,8 @@ export type ListingDetail = {
|
|
|
446
447
|
amount: number;
|
|
447
448
|
currency: string;
|
|
448
449
|
} | null;
|
|
449
|
-
isBasePremOnly
|
|
450
|
+
isBasePremOnly?: boolean;
|
|
451
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
450
452
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
451
453
|
haulageTypeTASCC?: boolean | null;
|
|
452
454
|
};
|
|
@@ -649,7 +651,7 @@ export type ListingDetail = {
|
|
|
649
651
|
};
|
|
650
652
|
paymentDays: number;
|
|
651
653
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
652
|
-
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
654
|
+
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
653
655
|
haulageType?: 'ex-farm' | 'delivered';
|
|
654
656
|
cropHome?: string | null;
|
|
655
657
|
sellerNotes: string | null;
|
|
@@ -146,7 +146,8 @@ export type ListingSummary = {
|
|
|
146
146
|
amount: number;
|
|
147
147
|
currency: string;
|
|
148
148
|
} | null;
|
|
149
|
-
isBasePremOnly
|
|
149
|
+
isBasePremOnly?: boolean;
|
|
150
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
150
151
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
151
152
|
haulageTypeTASCC?: boolean | null;
|
|
152
153
|
};
|
|
@@ -63,8 +63,8 @@ export type MarketingPlanDetailSchema = {
|
|
|
63
63
|
weight?: number;
|
|
64
64
|
};
|
|
65
65
|
details: {
|
|
66
|
-
isBasePremOnly
|
|
67
|
-
contractType
|
|
66
|
+
isBasePremOnly?: boolean;
|
|
67
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
68
68
|
targetPrice?: {
|
|
69
69
|
amount: number;
|
|
70
70
|
currency: string;
|
|
@@ -64,8 +64,8 @@ export type MarketingPlanSearchResultsSchema = {
|
|
|
64
64
|
weight?: number;
|
|
65
65
|
};
|
|
66
66
|
details: {
|
|
67
|
-
isBasePremOnly
|
|
68
|
-
contractType
|
|
67
|
+
isBasePremOnly?: boolean;
|
|
68
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
69
69
|
targetPrice?: {
|
|
70
70
|
amount: number;
|
|
71
71
|
currency: string;
|
|
@@ -63,8 +63,8 @@ export type MarketingPlanSummarySchema = {
|
|
|
63
63
|
weight?: number;
|
|
64
64
|
};
|
|
65
65
|
details: {
|
|
66
|
-
isBasePremOnly
|
|
67
|
-
contractType
|
|
66
|
+
isBasePremOnly?: boolean;
|
|
67
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
68
68
|
targetPrice?: {
|
|
69
69
|
amount: number;
|
|
70
70
|
currency: string;
|
package/models/PatchBid.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type PatchBid = {
|
|
|
27
27
|
};
|
|
28
28
|
paymentDays: number;
|
|
29
29
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
30
|
-
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
30
|
+
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
31
31
|
haulageType?: 'ex-farm' | 'delivered';
|
|
32
32
|
deliveryPostcode?: string | null;
|
|
33
33
|
cropHome?: string | null;
|
|
@@ -32,6 +32,7 @@ export type PatchListingSchema = {
|
|
|
32
32
|
currency: string;
|
|
33
33
|
} | null;
|
|
34
34
|
isBasePremOnly?: boolean;
|
|
35
|
+
contractType?: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
35
36
|
startDateUTC?: string | null;
|
|
36
37
|
endDateUTC?: string | null;
|
|
37
38
|
haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
|
|
@@ -2,8 +2,8 @@ export type PatchMarketingPlanSchema = {
|
|
|
2
2
|
userId: string;
|
|
3
3
|
inventoryId: string | null;
|
|
4
4
|
details: {
|
|
5
|
-
isBasePremOnly
|
|
6
|
-
contractType?: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
5
|
+
isBasePremOnly?: boolean;
|
|
6
|
+
contractType?: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
7
7
|
targetPrice?: {
|
|
8
8
|
amount: number;
|
|
9
9
|
currency: string;
|
|
@@ -150,7 +150,8 @@ export type SearchResultsBidSchema = {
|
|
|
150
150
|
amount: number;
|
|
151
151
|
currency: string;
|
|
152
152
|
} | null;
|
|
153
|
-
isBasePremOnly
|
|
153
|
+
isBasePremOnly?: boolean;
|
|
154
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
154
155
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
155
156
|
haulageTypeTASCC?: boolean | null;
|
|
156
157
|
};
|
|
@@ -353,7 +354,7 @@ export type SearchResultsBidSchema = {
|
|
|
353
354
|
};
|
|
354
355
|
paymentDays: number;
|
|
355
356
|
paymentDayType?: 'fixed' | 'dayOfMonth' | null;
|
|
356
|
-
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
|
|
357
|
+
paymentType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
357
358
|
haulageType?: 'ex-farm' | 'delivered';
|
|
358
359
|
cropHome?: string | null;
|
|
359
360
|
sellerNotes: string | null;
|
|
@@ -147,7 +147,8 @@ export type SearchResultsListingSchema = {
|
|
|
147
147
|
amount: number;
|
|
148
148
|
currency: string;
|
|
149
149
|
} | null;
|
|
150
|
-
isBasePremOnly
|
|
150
|
+
isBasePremOnly?: boolean;
|
|
151
|
+
contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
151
152
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
152
153
|
haulageTypeTASCC?: boolean | null;
|
|
153
154
|
};
|