@hectare/platform.clients.trading 1.1.322 → 1.1.332
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 +5 -0
- package/models/BidDetail.d.ts +28 -3
- package/models/BidMarketMatchesSchema.d.ts +38 -0
- package/models/BidMarketMatchesSchema.js +1 -0
- package/models/BuyListingNow.d.ts +6 -0
- package/models/BuyListingNow.js +1 -0
- package/models/BuyerBenchmarkSchema.d.ts +28 -3
- package/models/ContractDetail.d.ts +29 -4
- package/models/ContractPatchDocuments.d.ts +21 -0
- package/models/ContractPatchDocuments.js +1 -0
- package/models/ContractSellerPaymentDetails.d.ts +11 -0
- package/models/ContractSellerPaymentDetails.js +1 -0
- package/models/CreateInventorySchema.d.ts +1 -0
- package/models/CreateListing.d.ts +12 -1
- package/models/CreateManualListingTrade.d.ts +12 -1
- package/models/CreateWantedAd.d.ts +5 -0
- package/models/CropContractSearchSchema.d.ts +1 -1
- package/models/HarvestSummarySchema.d.ts +5 -0
- package/models/InventoryDetailSchema.d.ts +5 -0
- package/models/InventorySummarySchema.d.ts +5 -0
- package/models/ListingDetail.d.ts +28 -3
- package/models/MarketingPlanDetailSchema.d.ts +1 -1
- package/models/MarketingPlanSummarySchema.d.ts +1 -1
- package/models/PatchBidAdminSchema.d.ts +1 -0
- package/models/PatchInventorySchema.d.ts +1 -0
- package/models/PatchListingSchema.d.ts +7 -1
- package/models/PatchWantedAdSchema.d.ts +5 -0
- package/models/SearchResultsBidSchema.d.ts +28 -3
- package/models/SearchResultsContractSchema.d.ts +29 -4
- package/models/SearchResultsInventorySchema.d.ts +5 -0
- package/models/SearchResultsListingSchema.d.ts +28 -3
- package/models/SearchResultsMarketingPlanSchema.d.ts +1 -1
- package/models/SearchResultsWantedAdSchema.d.ts +9 -0
- package/models/SetListingBuyNow.d.ts +9 -0
- package/models/SetListingBuyNow.js +1 -0
- package/models/WantedAdDetailSchema.d.ts +9 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export type { AcceptBid } from './models/AcceptBid.js';
|
|
2
2
|
export type { BidDetail } from './models/BidDetail.js';
|
|
3
|
+
export type { BidMarketMatchesSchema } from './models/BidMarketMatchesSchema.js';
|
|
3
4
|
export type { BuyerBenchmarkSchema } from './models/BuyerBenchmarkSchema.js';
|
|
4
5
|
export type { BuyerSettlementSchema } from './models/BuyerSettlementSchema.js';
|
|
5
6
|
export type { BuyerStatisticsSchema } from './models/BuyerStatisticsSchema.js';
|
|
7
|
+
export type { BuyListingNow } from './models/BuyListingNow.js';
|
|
6
8
|
export type { CloseListingReasonSchema } from './models/CloseListingReasonSchema.js';
|
|
7
9
|
export type { CommodityPrices } from './models/CommodityPrices.js';
|
|
8
10
|
export type { CompleteMarketingPlanSchema } from './models/CompleteMarketingPlanSchema.js';
|
|
@@ -11,6 +13,8 @@ export type { ContractCommodityStats } from './models/ContractCommodityStats.js'
|
|
|
11
13
|
export type { ContractDetail } from './models/ContractDetail.js';
|
|
12
14
|
export type { ContractFulfilmentCalendarSchema } from './models/ContractFulfilmentCalendarSchema.js';
|
|
13
15
|
export type { ContractMovementDetail } from './models/ContractMovementDetail.js';
|
|
16
|
+
export type { ContractPatchDocuments } from './models/ContractPatchDocuments.js';
|
|
17
|
+
export type { ContractSellerPaymentDetails } from './models/ContractSellerPaymentDetails.js';
|
|
14
18
|
export type { CreateBid } from './models/CreateBid.js';
|
|
15
19
|
export type { CreateBidOfferSchema } from './models/CreateBidOfferSchema.js';
|
|
16
20
|
export type { CreateContractSchema } from './models/CreateContractSchema.js';
|
|
@@ -71,6 +75,7 @@ export type { SearchResultsInventorySchema } from './models/SearchResultsInvento
|
|
|
71
75
|
export type { SearchResultsListingSchema } from './models/SearchResultsListingSchema.js';
|
|
72
76
|
export type { SearchResultsMarketingPlanSchema } from './models/SearchResultsMarketingPlanSchema.js';
|
|
73
77
|
export type { SearchResultsWantedAdSchema } from './models/SearchResultsWantedAdSchema.js';
|
|
78
|
+
export type { SetListingBuyNow } from './models/SetListingBuyNow.js';
|
|
74
79
|
export type { Templates } from './models/Templates.js';
|
|
75
80
|
export type { TradingConfig } from './models/TradingConfig.js';
|
|
76
81
|
export type { WantedAdDetailSchema } from './models/WantedAdDetailSchema.js';
|
package/models/BidDetail.d.ts
CHANGED
|
@@ -151,8 +151,8 @@ export type BidDetail = {
|
|
|
151
151
|
isMyOrganisationsListing: boolean;
|
|
152
152
|
createdAtUTC: string;
|
|
153
153
|
status: 'active' | 'closed' | 'traded';
|
|
154
|
-
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
155
|
-
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
|
|
154
|
+
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
155
|
+
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended' | 'ended-early' | 'buy-now';
|
|
156
156
|
business: {
|
|
157
157
|
organisationId: string;
|
|
158
158
|
organisationCreatedAtUTC: string;
|
|
@@ -251,8 +251,10 @@ export type BidDetail = {
|
|
|
251
251
|
amount: number | null;
|
|
252
252
|
currency: string;
|
|
253
253
|
} | null;
|
|
254
|
+
targetPriceVisible: boolean;
|
|
255
|
+
mandated: boolean | null;
|
|
254
256
|
contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
255
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
257
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
256
258
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
257
259
|
haulageTypeTASCC?: boolean | null;
|
|
258
260
|
};
|
|
@@ -353,8 +355,31 @@ export type BidDetail = {
|
|
|
353
355
|
wantedAdId: string | null;
|
|
354
356
|
wantedAdUserId: string | null;
|
|
355
357
|
relistedFromListingId?: string;
|
|
358
|
+
source?: {
|
|
359
|
+
utmSource: string | null;
|
|
360
|
+
utmMedium: string | null;
|
|
361
|
+
utmCampaign: string | null;
|
|
362
|
+
} | null;
|
|
356
363
|
preferences: Array<string>;
|
|
357
364
|
pending?: boolean;
|
|
365
|
+
targetPriceMet?: boolean | null;
|
|
366
|
+
buyNow?: {
|
|
367
|
+
price: {
|
|
368
|
+
amount: number;
|
|
369
|
+
currency: string;
|
|
370
|
+
};
|
|
371
|
+
weight: number;
|
|
372
|
+
soldWeight: number;
|
|
373
|
+
remainingWeight: number;
|
|
374
|
+
minPurchaseWeight: number;
|
|
375
|
+
closesAtUTC: string;
|
|
376
|
+
createdAtUTC: string;
|
|
377
|
+
open: boolean;
|
|
378
|
+
movementMonths?: Array<string>;
|
|
379
|
+
} | null;
|
|
380
|
+
sellerHidden?: boolean;
|
|
381
|
+
distanceMiles?: number | null;
|
|
382
|
+
tradedBefore?: boolean | null;
|
|
358
383
|
feedback?: {
|
|
359
384
|
user: string;
|
|
360
385
|
note: string | null;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export type BidMarketMatchesSchema = {
|
|
2
|
+
activeBidCount: number;
|
|
3
|
+
matches: Array<{
|
|
4
|
+
inventoryId: string;
|
|
5
|
+
organisationId: string;
|
|
6
|
+
organisationName: string;
|
|
7
|
+
businessId: string;
|
|
8
|
+
businessName: string;
|
|
9
|
+
contact: {
|
|
10
|
+
name: string;
|
|
11
|
+
phone: string | null;
|
|
12
|
+
email: string | null;
|
|
13
|
+
} | null;
|
|
14
|
+
commodity: string;
|
|
15
|
+
harvestYear: string;
|
|
16
|
+
regionISO: string | null;
|
|
17
|
+
availableTonnes: number | null;
|
|
18
|
+
targetPrice: {
|
|
19
|
+
amount: number;
|
|
20
|
+
currency: string;
|
|
21
|
+
};
|
|
22
|
+
bids: Array<{
|
|
23
|
+
bidId: string;
|
|
24
|
+
listingId: string;
|
|
25
|
+
buyerOrganisationName: string;
|
|
26
|
+
listingSellerName: string;
|
|
27
|
+
price: {
|
|
28
|
+
amount: number;
|
|
29
|
+
currency: string;
|
|
30
|
+
};
|
|
31
|
+
basis: 'ex-farm' | 'delivered';
|
|
32
|
+
difference: number;
|
|
33
|
+
distanceMiles: number;
|
|
34
|
+
createdAtUTC: string;
|
|
35
|
+
expiresAtUTC: string | null;
|
|
36
|
+
}>;
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -5,8 +5,8 @@ export type BuyerBenchmarkSchema = {
|
|
|
5
5
|
isMyOrganisationsListing: boolean;
|
|
6
6
|
createdAtUTC: string;
|
|
7
7
|
status: 'active' | 'closed' | 'traded';
|
|
8
|
-
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
9
|
-
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
|
|
8
|
+
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
9
|
+
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended' | 'ended-early' | 'buy-now';
|
|
10
10
|
business: {
|
|
11
11
|
organisationId: string;
|
|
12
12
|
organisationCreatedAtUTC: string;
|
|
@@ -105,8 +105,10 @@ export type BuyerBenchmarkSchema = {
|
|
|
105
105
|
amount: number | null;
|
|
106
106
|
currency: string;
|
|
107
107
|
} | null;
|
|
108
|
+
targetPriceVisible: boolean;
|
|
109
|
+
mandated: boolean | null;
|
|
108
110
|
contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
109
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
111
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
110
112
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
111
113
|
haulageTypeTASCC?: boolean | null;
|
|
112
114
|
};
|
|
@@ -207,8 +209,31 @@ export type BuyerBenchmarkSchema = {
|
|
|
207
209
|
wantedAdId: string | null;
|
|
208
210
|
wantedAdUserId: string | null;
|
|
209
211
|
relistedFromListingId?: string;
|
|
212
|
+
source?: {
|
|
213
|
+
utmSource: string | null;
|
|
214
|
+
utmMedium: string | null;
|
|
215
|
+
utmCampaign: string | null;
|
|
216
|
+
} | null;
|
|
210
217
|
preferences: Array<string>;
|
|
211
218
|
pending?: boolean;
|
|
219
|
+
targetPriceMet?: boolean | null;
|
|
220
|
+
buyNow?: {
|
|
221
|
+
price: {
|
|
222
|
+
amount: number;
|
|
223
|
+
currency: string;
|
|
224
|
+
};
|
|
225
|
+
weight: number;
|
|
226
|
+
soldWeight: number;
|
|
227
|
+
remainingWeight: number;
|
|
228
|
+
minPurchaseWeight: number;
|
|
229
|
+
closesAtUTC: string;
|
|
230
|
+
createdAtUTC: string;
|
|
231
|
+
open: boolean;
|
|
232
|
+
movementMonths?: Array<string>;
|
|
233
|
+
} | null;
|
|
234
|
+
sellerHidden?: boolean;
|
|
235
|
+
distanceMiles?: number | null;
|
|
236
|
+
tradedBefore?: boolean | null;
|
|
212
237
|
feedback?: {
|
|
213
238
|
user: string;
|
|
214
239
|
note: string | null;
|
|
@@ -14,7 +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
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
17
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
18
18
|
compositionType: 'individual' | 'multiple' | 'other';
|
|
19
19
|
totalPrice: {
|
|
20
20
|
amount: number | null;
|
|
@@ -440,8 +440,8 @@ export type ContractDetail = {
|
|
|
440
440
|
isMyOrganisationsListing: boolean;
|
|
441
441
|
createdAtUTC: string;
|
|
442
442
|
status: 'active' | 'closed' | 'traded';
|
|
443
|
-
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
444
|
-
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
|
|
443
|
+
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
444
|
+
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended' | 'ended-early' | 'buy-now';
|
|
445
445
|
business: {
|
|
446
446
|
organisationId: string;
|
|
447
447
|
organisationCreatedAtUTC: string;
|
|
@@ -540,8 +540,10 @@ export type ContractDetail = {
|
|
|
540
540
|
amount: number | null;
|
|
541
541
|
currency: string;
|
|
542
542
|
} | null;
|
|
543
|
+
targetPriceVisible: boolean;
|
|
544
|
+
mandated: boolean | null;
|
|
543
545
|
contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
544
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
546
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
545
547
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
546
548
|
haulageTypeTASCC?: boolean | null;
|
|
547
549
|
};
|
|
@@ -642,8 +644,31 @@ export type ContractDetail = {
|
|
|
642
644
|
wantedAdId: string | null;
|
|
643
645
|
wantedAdUserId: string | null;
|
|
644
646
|
relistedFromListingId?: string;
|
|
647
|
+
source?: {
|
|
648
|
+
utmSource: string | null;
|
|
649
|
+
utmMedium: string | null;
|
|
650
|
+
utmCampaign: string | null;
|
|
651
|
+
} | null;
|
|
645
652
|
preferences: Array<string>;
|
|
646
653
|
pending?: boolean;
|
|
654
|
+
targetPriceMet?: boolean | null;
|
|
655
|
+
buyNow?: {
|
|
656
|
+
price: {
|
|
657
|
+
amount: number;
|
|
658
|
+
currency: string;
|
|
659
|
+
};
|
|
660
|
+
weight: number;
|
|
661
|
+
soldWeight: number;
|
|
662
|
+
remainingWeight: number;
|
|
663
|
+
minPurchaseWeight: number;
|
|
664
|
+
closesAtUTC: string;
|
|
665
|
+
createdAtUTC: string;
|
|
666
|
+
open: boolean;
|
|
667
|
+
movementMonths?: Array<string>;
|
|
668
|
+
} | null;
|
|
669
|
+
sellerHidden?: boolean;
|
|
670
|
+
distanceMiles?: number | null;
|
|
671
|
+
tradedBefore?: boolean | null;
|
|
647
672
|
feedback?: {
|
|
648
673
|
user: string;
|
|
649
674
|
note: string | null;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type ContractPatchDocuments = {
|
|
2
|
+
reference?: string | null;
|
|
3
|
+
files: Array<{
|
|
4
|
+
name?: string;
|
|
5
|
+
id: string;
|
|
6
|
+
url?: string | null;
|
|
7
|
+
userId?: string | null;
|
|
8
|
+
userName?: string | null;
|
|
9
|
+
organisationId?: string | null;
|
|
10
|
+
createdAtUTC?: string | null;
|
|
11
|
+
} | null>;
|
|
12
|
+
changeNote?: {
|
|
13
|
+
reason: string;
|
|
14
|
+
customerNotifiedVia: Array<string>;
|
|
15
|
+
changes?: Array<{
|
|
16
|
+
label: string;
|
|
17
|
+
from: string;
|
|
18
|
+
to: string;
|
|
19
|
+
}>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -17,10 +17,16 @@ export type CreateListing = {
|
|
|
17
17
|
asAvailable: boolean | null;
|
|
18
18
|
};
|
|
19
19
|
contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
20
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
20
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
21
21
|
startDateUTC?: string | null;
|
|
22
22
|
haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
|
|
23
23
|
haulageTypeTASCC?: boolean | null;
|
|
24
|
+
targetPrice?: {
|
|
25
|
+
amount: number | null;
|
|
26
|
+
currency: string;
|
|
27
|
+
} | null;
|
|
28
|
+
targetPriceVisible?: boolean | null;
|
|
29
|
+
mandated?: boolean | null;
|
|
24
30
|
};
|
|
25
31
|
inventory: {
|
|
26
32
|
type?: 'crop' | 'produce';
|
|
@@ -55,4 +61,9 @@ export type CreateListing = {
|
|
|
55
61
|
sellerListingReasonIds: Array<number> | null;
|
|
56
62
|
sellerListingReasonDetail: string | null;
|
|
57
63
|
} | null;
|
|
64
|
+
source?: {
|
|
65
|
+
utmSource: string | null;
|
|
66
|
+
utmMedium: string | null;
|
|
67
|
+
utmCampaign: string | null;
|
|
68
|
+
} | null;
|
|
58
69
|
};
|
|
@@ -18,10 +18,16 @@ export type CreateManualListingTrade = {
|
|
|
18
18
|
asAvailable: boolean | null;
|
|
19
19
|
};
|
|
20
20
|
contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
21
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
21
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
22
22
|
startDateUTC?: string | null;
|
|
23
23
|
haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
|
|
24
24
|
haulageTypeTASCC?: boolean | null;
|
|
25
|
+
targetPrice?: {
|
|
26
|
+
amount: number | null;
|
|
27
|
+
currency: string;
|
|
28
|
+
} | null;
|
|
29
|
+
targetPriceVisible?: boolean | null;
|
|
30
|
+
mandated?: boolean | null;
|
|
25
31
|
};
|
|
26
32
|
inventory: {
|
|
27
33
|
type?: 'crop' | 'produce';
|
|
@@ -56,6 +62,11 @@ export type CreateManualListingTrade = {
|
|
|
56
62
|
sellerListingReasonIds: Array<number> | null;
|
|
57
63
|
sellerListingReasonDetail: string | null;
|
|
58
64
|
} | null;
|
|
65
|
+
source?: {
|
|
66
|
+
utmSource: string | null;
|
|
67
|
+
utmMedium: string | null;
|
|
68
|
+
utmCampaign: string | null;
|
|
69
|
+
} | null;
|
|
59
70
|
};
|
|
60
71
|
buyerBusinessId: string;
|
|
61
72
|
sellerUserId?: string | null;
|
|
@@ -12,7 +12,7 @@ export type CropContractSearchSchema = {
|
|
|
12
12
|
variety?: string | null;
|
|
13
13
|
haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
|
|
14
14
|
contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus' | null;
|
|
15
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
15
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
16
16
|
commodityId?: number | null;
|
|
17
17
|
movement?: string | null;
|
|
18
18
|
paymentMonth?: string | null;
|
|
@@ -4,8 +4,8 @@ export type ListingDetail = {
|
|
|
4
4
|
isMyOrganisationsListing: boolean;
|
|
5
5
|
createdAtUTC: string;
|
|
6
6
|
status: 'active' | 'closed' | 'traded';
|
|
7
|
-
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
8
|
-
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
|
|
7
|
+
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
8
|
+
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended' | 'ended-early' | 'buy-now';
|
|
9
9
|
business: {
|
|
10
10
|
organisationId: string;
|
|
11
11
|
organisationCreatedAtUTC: string;
|
|
@@ -104,8 +104,10 @@ export type ListingDetail = {
|
|
|
104
104
|
amount: number | null;
|
|
105
105
|
currency: string;
|
|
106
106
|
} | null;
|
|
107
|
+
targetPriceVisible: boolean;
|
|
108
|
+
mandated: boolean | null;
|
|
107
109
|
contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
108
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
110
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
109
111
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
110
112
|
haulageTypeTASCC?: boolean | null;
|
|
111
113
|
};
|
|
@@ -206,8 +208,31 @@ export type ListingDetail = {
|
|
|
206
208
|
wantedAdId: string | null;
|
|
207
209
|
wantedAdUserId: string | null;
|
|
208
210
|
relistedFromListingId?: string;
|
|
211
|
+
source?: {
|
|
212
|
+
utmSource: string | null;
|
|
213
|
+
utmMedium: string | null;
|
|
214
|
+
utmCampaign: string | null;
|
|
215
|
+
} | null;
|
|
209
216
|
preferences: Array<string>;
|
|
210
217
|
pending?: boolean;
|
|
218
|
+
targetPriceMet?: boolean | null;
|
|
219
|
+
buyNow?: {
|
|
220
|
+
price: {
|
|
221
|
+
amount: number;
|
|
222
|
+
currency: string;
|
|
223
|
+
};
|
|
224
|
+
weight: number;
|
|
225
|
+
soldWeight: number;
|
|
226
|
+
remainingWeight: number;
|
|
227
|
+
minPurchaseWeight: number;
|
|
228
|
+
closesAtUTC: string;
|
|
229
|
+
createdAtUTC: string;
|
|
230
|
+
open: boolean;
|
|
231
|
+
movementMonths?: Array<string>;
|
|
232
|
+
} | null;
|
|
233
|
+
sellerHidden?: boolean;
|
|
234
|
+
distanceMiles?: number | null;
|
|
235
|
+
tradedBefore?: boolean | null;
|
|
211
236
|
feedback?: {
|
|
212
237
|
user: string;
|
|
213
238
|
note: string | null;
|
|
@@ -155,7 +155,7 @@ export type MarketingPlanDetailSchema = {
|
|
|
155
155
|
};
|
|
156
156
|
skipped?: boolean;
|
|
157
157
|
listingStatus?: 'active' | 'closed' | 'traded';
|
|
158
|
-
listingSubstatus?: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
158
|
+
listingSubstatus?: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
159
159
|
}>;
|
|
160
160
|
emailDistributionList: Array<string>;
|
|
161
161
|
tags?: Array<string>;
|
|
@@ -155,7 +155,7 @@ export type MarketingPlanSummarySchema = {
|
|
|
155
155
|
};
|
|
156
156
|
skipped?: boolean;
|
|
157
157
|
listingStatus?: 'active' | 'closed' | 'traded';
|
|
158
|
-
listingSubstatus?: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
158
|
+
listingSubstatus?: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
159
159
|
}>;
|
|
160
160
|
emailDistributionList: Array<string>;
|
|
161
161
|
tags?: Array<string>;
|
|
@@ -17,10 +17,16 @@ export type PatchListingSchema = {
|
|
|
17
17
|
asAvailable: boolean | null;
|
|
18
18
|
};
|
|
19
19
|
contractType?: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
20
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
20
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
21
21
|
startDateUTC?: string | null;
|
|
22
22
|
haulageType?: 'ex-farm' | 'delivered' | 'both' | null;
|
|
23
23
|
haulageTypeTASCC?: boolean | null;
|
|
24
|
+
targetPrice?: {
|
|
25
|
+
amount: number | null;
|
|
26
|
+
currency: string;
|
|
27
|
+
} | null;
|
|
28
|
+
targetPriceVisible?: boolean | null;
|
|
29
|
+
mandated?: boolean | null;
|
|
24
30
|
};
|
|
25
31
|
inventory?: {
|
|
26
32
|
type?: 'crop' | 'produce';
|
|
@@ -20,6 +20,11 @@ export type PatchWantedAdSchema = {
|
|
|
20
20
|
min: number | null;
|
|
21
21
|
max: number | null;
|
|
22
22
|
};
|
|
23
|
+
measures?: Array<{
|
|
24
|
+
specificationId: number;
|
|
25
|
+
min: number | null;
|
|
26
|
+
max: number | null;
|
|
27
|
+
}> | null;
|
|
23
28
|
price?: {
|
|
24
29
|
min: number | null;
|
|
25
30
|
max: number | null;
|
|
@@ -152,8 +152,8 @@ export type SearchResultsBidSchema = {
|
|
|
152
152
|
isMyOrganisationsListing: boolean;
|
|
153
153
|
createdAtUTC: string;
|
|
154
154
|
status: 'active' | 'closed' | 'traded';
|
|
155
|
-
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
156
|
-
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
|
|
155
|
+
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
156
|
+
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended' | 'ended-early' | 'buy-now';
|
|
157
157
|
business: {
|
|
158
158
|
organisationId: string;
|
|
159
159
|
organisationCreatedAtUTC: string;
|
|
@@ -252,8 +252,10 @@ export type SearchResultsBidSchema = {
|
|
|
252
252
|
amount: number | null;
|
|
253
253
|
currency: string;
|
|
254
254
|
} | null;
|
|
255
|
+
targetPriceVisible: boolean;
|
|
256
|
+
mandated: boolean | null;
|
|
255
257
|
contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
256
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
258
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
257
259
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
258
260
|
haulageTypeTASCC?: boolean | null;
|
|
259
261
|
};
|
|
@@ -354,8 +356,31 @@ export type SearchResultsBidSchema = {
|
|
|
354
356
|
wantedAdId: string | null;
|
|
355
357
|
wantedAdUserId: string | null;
|
|
356
358
|
relistedFromListingId?: string;
|
|
359
|
+
source?: {
|
|
360
|
+
utmSource: string | null;
|
|
361
|
+
utmMedium: string | null;
|
|
362
|
+
utmCampaign: string | null;
|
|
363
|
+
} | null;
|
|
357
364
|
preferences: Array<string>;
|
|
358
365
|
pending?: boolean;
|
|
366
|
+
targetPriceMet?: boolean | null;
|
|
367
|
+
buyNow?: {
|
|
368
|
+
price: {
|
|
369
|
+
amount: number;
|
|
370
|
+
currency: string;
|
|
371
|
+
};
|
|
372
|
+
weight: number;
|
|
373
|
+
soldWeight: number;
|
|
374
|
+
remainingWeight: number;
|
|
375
|
+
minPurchaseWeight: number;
|
|
376
|
+
closesAtUTC: string;
|
|
377
|
+
createdAtUTC: string;
|
|
378
|
+
open: boolean;
|
|
379
|
+
movementMonths?: Array<string>;
|
|
380
|
+
} | null;
|
|
381
|
+
sellerHidden?: boolean;
|
|
382
|
+
distanceMiles?: number | null;
|
|
383
|
+
tradedBefore?: boolean | null;
|
|
359
384
|
feedback?: {
|
|
360
385
|
user: string;
|
|
361
386
|
note: string | null;
|
|
@@ -15,7 +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
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
18
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
19
19
|
compositionType: 'individual' | 'multiple' | 'other';
|
|
20
20
|
totalPrice: {
|
|
21
21
|
amount: number | null;
|
|
@@ -441,8 +441,8 @@ export type SearchResultsContractSchema = {
|
|
|
441
441
|
isMyOrganisationsListing: boolean;
|
|
442
442
|
createdAtUTC: string;
|
|
443
443
|
status: 'active' | 'closed' | 'traded';
|
|
444
|
-
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
445
|
-
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
|
|
444
|
+
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
445
|
+
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended' | 'ended-early' | 'buy-now';
|
|
446
446
|
business: {
|
|
447
447
|
organisationId: string;
|
|
448
448
|
organisationCreatedAtUTC: string;
|
|
@@ -541,8 +541,10 @@ export type SearchResultsContractSchema = {
|
|
|
541
541
|
amount: number | null;
|
|
542
542
|
currency: string;
|
|
543
543
|
} | null;
|
|
544
|
+
targetPriceVisible: boolean;
|
|
545
|
+
mandated: boolean | null;
|
|
544
546
|
contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
545
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
547
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
546
548
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
547
549
|
haulageTypeTASCC?: boolean | null;
|
|
548
550
|
};
|
|
@@ -643,8 +645,31 @@ export type SearchResultsContractSchema = {
|
|
|
643
645
|
wantedAdId: string | null;
|
|
644
646
|
wantedAdUserId: string | null;
|
|
645
647
|
relistedFromListingId?: string;
|
|
648
|
+
source?: {
|
|
649
|
+
utmSource: string | null;
|
|
650
|
+
utmMedium: string | null;
|
|
651
|
+
utmCampaign: string | null;
|
|
652
|
+
} | null;
|
|
646
653
|
preferences: Array<string>;
|
|
647
654
|
pending?: boolean;
|
|
655
|
+
targetPriceMet?: boolean | null;
|
|
656
|
+
buyNow?: {
|
|
657
|
+
price: {
|
|
658
|
+
amount: number;
|
|
659
|
+
currency: string;
|
|
660
|
+
};
|
|
661
|
+
weight: number;
|
|
662
|
+
soldWeight: number;
|
|
663
|
+
remainingWeight: number;
|
|
664
|
+
minPurchaseWeight: number;
|
|
665
|
+
closesAtUTC: string;
|
|
666
|
+
createdAtUTC: string;
|
|
667
|
+
open: boolean;
|
|
668
|
+
movementMonths?: Array<string>;
|
|
669
|
+
} | null;
|
|
670
|
+
sellerHidden?: boolean;
|
|
671
|
+
distanceMiles?: number | null;
|
|
672
|
+
tradedBefore?: boolean | null;
|
|
648
673
|
feedback?: {
|
|
649
674
|
user: string;
|
|
650
675
|
note: string | null;
|
|
@@ -5,8 +5,8 @@ export type SearchResultsListingSchema = {
|
|
|
5
5
|
isMyOrganisationsListing: boolean;
|
|
6
6
|
createdAtUTC: string;
|
|
7
7
|
status: 'active' | 'closed' | 'traded';
|
|
8
|
-
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
9
|
-
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended';
|
|
8
|
+
substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
9
|
+
tradingStatus: 'with-buyers' | 'scheduled' | 'review' | 'request-trade' | 'expired' | 'no-offers' | 'ended' | 'ended-early' | 'buy-now';
|
|
10
10
|
business: {
|
|
11
11
|
organisationId: string;
|
|
12
12
|
organisationCreatedAtUTC: string;
|
|
@@ -105,8 +105,10 @@ export type SearchResultsListingSchema = {
|
|
|
105
105
|
amount: number | null;
|
|
106
106
|
currency: string;
|
|
107
107
|
} | null;
|
|
108
|
+
targetPriceVisible: boolean;
|
|
109
|
+
mandated: boolean | null;
|
|
108
110
|
contractType: 'base' | 'fixed' | 'premium-only' | 'unpriced' | 'premium' | 'base-plus-oil-bonus';
|
|
109
|
-
pricingBasis?: 'milling' | 'feed' | null;
|
|
111
|
+
pricingBasis?: 'milling' | 'feed' | 'unknown' | null;
|
|
110
112
|
haulageType: 'ex-farm' | 'delivered' | 'both' | null;
|
|
111
113
|
haulageTypeTASCC?: boolean | null;
|
|
112
114
|
};
|
|
@@ -207,8 +209,31 @@ export type SearchResultsListingSchema = {
|
|
|
207
209
|
wantedAdId: string | null;
|
|
208
210
|
wantedAdUserId: string | null;
|
|
209
211
|
relistedFromListingId?: string;
|
|
212
|
+
source?: {
|
|
213
|
+
utmSource: string | null;
|
|
214
|
+
utmMedium: string | null;
|
|
215
|
+
utmCampaign: string | null;
|
|
216
|
+
} | null;
|
|
210
217
|
preferences: Array<string>;
|
|
211
218
|
pending?: boolean;
|
|
219
|
+
targetPriceMet?: boolean | null;
|
|
220
|
+
buyNow?: {
|
|
221
|
+
price: {
|
|
222
|
+
amount: number;
|
|
223
|
+
currency: string;
|
|
224
|
+
};
|
|
225
|
+
weight: number;
|
|
226
|
+
soldWeight: number;
|
|
227
|
+
remainingWeight: number;
|
|
228
|
+
minPurchaseWeight: number;
|
|
229
|
+
closesAtUTC: string;
|
|
230
|
+
createdAtUTC: string;
|
|
231
|
+
open: boolean;
|
|
232
|
+
movementMonths?: Array<string>;
|
|
233
|
+
} | null;
|
|
234
|
+
sellerHidden?: boolean;
|
|
235
|
+
distanceMiles?: number | null;
|
|
236
|
+
tradedBefore?: boolean | null;
|
|
212
237
|
feedback?: {
|
|
213
238
|
user: string;
|
|
214
239
|
note: string | null;
|
|
@@ -156,7 +156,7 @@ export type SearchResultsMarketingPlanSchema = {
|
|
|
156
156
|
};
|
|
157
157
|
skipped?: boolean;
|
|
158
158
|
listingStatus?: 'active' | 'closed' | 'traded';
|
|
159
|
-
listingSubstatus?: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | null;
|
|
159
|
+
listingSubstatus?: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | 'post-review' | 'buy-now' | null;
|
|
160
160
|
}>;
|
|
161
161
|
emailDistributionList: Array<string>;
|
|
162
162
|
tags?: Array<string>;
|
|
@@ -36,6 +36,15 @@ export type SearchResultsWantedAdSchema = {
|
|
|
36
36
|
min: number | null;
|
|
37
37
|
max: number | null;
|
|
38
38
|
};
|
|
39
|
+
measures?: Array<{
|
|
40
|
+
specification: {
|
|
41
|
+
id: number;
|
|
42
|
+
name: string;
|
|
43
|
+
unit: string;
|
|
44
|
+
};
|
|
45
|
+
min: number | null;
|
|
46
|
+
max: number | null;
|
|
47
|
+
}> | null;
|
|
39
48
|
price: {
|
|
40
49
|
min: number | null;
|
|
41
50
|
max: number | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -35,6 +35,15 @@ export type WantedAdDetailSchema = {
|
|
|
35
35
|
min: number | null;
|
|
36
36
|
max: number | null;
|
|
37
37
|
};
|
|
38
|
+
measures?: Array<{
|
|
39
|
+
specification: {
|
|
40
|
+
id: number;
|
|
41
|
+
name: string;
|
|
42
|
+
unit: string;
|
|
43
|
+
};
|
|
44
|
+
min: number | null;
|
|
45
|
+
max: number | null;
|
|
46
|
+
}> | null;
|
|
38
47
|
price: {
|
|
39
48
|
min: number | null;
|
|
40
49
|
max: number | null;
|