@hectare/platform.clients.trading 1.1.354 → 1.1.356
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 +22 -0
- package/models/BuyerBenchmarkSchema.d.ts +11 -0
- package/models/ContractDetail.d.ts +22 -0
- package/models/CreateWantedAd.d.ts +2 -0
- package/models/CreateWantedAdResponse.d.ts +1 -0
- package/models/ListingDetail.d.ts +11 -0
- package/models/PatchWantedAdSchema.d.ts +2 -0
- package/models/SearchResultsBidSchema.d.ts +22 -0
- package/models/SearchResultsContractSchema.d.ts +22 -0
- package/models/SearchResultsListingSchema.d.ts +11 -0
- package/models/SearchResultsWantedAdSchema.d.ts +2 -0
- package/models/WantedAdDetailSchema.d.ts +2 -0
- package/models/WantedAdResponseSchema.d.ts +3 -0
- package/package.json +1 -1
package/models/BidDetail.d.ts
CHANGED
|
@@ -99,6 +99,17 @@ export type BidDetail = {
|
|
|
99
99
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
100
100
|
buyerNotes: string | null;
|
|
101
101
|
contractId?: string | null;
|
|
102
|
+
counter?: {
|
|
103
|
+
price: {
|
|
104
|
+
amount: number;
|
|
105
|
+
currency: string;
|
|
106
|
+
};
|
|
107
|
+
weight: number;
|
|
108
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
109
|
+
createdAtUTC: string;
|
|
110
|
+
expiresAtUTC: string;
|
|
111
|
+
decidedAtUTC?: string | null;
|
|
112
|
+
} | null;
|
|
102
113
|
}>;
|
|
103
114
|
terms: {
|
|
104
115
|
weight: {
|
|
@@ -505,6 +516,17 @@ export type BidDetail = {
|
|
|
505
516
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
506
517
|
buyerNotes: string | null;
|
|
507
518
|
contractId?: string | null;
|
|
519
|
+
counter?: {
|
|
520
|
+
price: {
|
|
521
|
+
amount: number;
|
|
522
|
+
currency: string;
|
|
523
|
+
};
|
|
524
|
+
weight: number;
|
|
525
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
526
|
+
createdAtUTC: string;
|
|
527
|
+
expiresAtUTC: string;
|
|
528
|
+
decidedAtUTC?: string | null;
|
|
529
|
+
} | null;
|
|
508
530
|
}>;
|
|
509
531
|
terms: {
|
|
510
532
|
weight: {
|
|
@@ -356,6 +356,17 @@ export type BuyerBenchmarkSchema = {
|
|
|
356
356
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
357
357
|
buyerNotes: string | null;
|
|
358
358
|
contractId?: string | null;
|
|
359
|
+
counter?: {
|
|
360
|
+
price: {
|
|
361
|
+
amount: number;
|
|
362
|
+
currency: string;
|
|
363
|
+
};
|
|
364
|
+
weight: number;
|
|
365
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
366
|
+
createdAtUTC: string;
|
|
367
|
+
expiresAtUTC: string;
|
|
368
|
+
decidedAtUTC?: string | null;
|
|
369
|
+
} | null;
|
|
359
370
|
}>;
|
|
360
371
|
terms: {
|
|
361
372
|
weight: {
|
|
@@ -388,6 +388,17 @@ export type ContractDetail = {
|
|
|
388
388
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
389
389
|
buyerNotes: string | null;
|
|
390
390
|
contractId?: string | null;
|
|
391
|
+
counter?: {
|
|
392
|
+
price: {
|
|
393
|
+
amount: number;
|
|
394
|
+
currency: string;
|
|
395
|
+
};
|
|
396
|
+
weight: number;
|
|
397
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
398
|
+
createdAtUTC: string;
|
|
399
|
+
expiresAtUTC: string;
|
|
400
|
+
decidedAtUTC?: string | null;
|
|
401
|
+
} | null;
|
|
391
402
|
}>;
|
|
392
403
|
terms: {
|
|
393
404
|
weight: {
|
|
@@ -794,6 +805,17 @@ export type ContractDetail = {
|
|
|
794
805
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
795
806
|
buyerNotes: string | null;
|
|
796
807
|
contractId?: string | null;
|
|
808
|
+
counter?: {
|
|
809
|
+
price: {
|
|
810
|
+
amount: number;
|
|
811
|
+
currency: string;
|
|
812
|
+
};
|
|
813
|
+
weight: number;
|
|
814
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
815
|
+
createdAtUTC: string;
|
|
816
|
+
expiresAtUTC: string;
|
|
817
|
+
decidedAtUTC?: string | null;
|
|
818
|
+
} | null;
|
|
797
819
|
}>;
|
|
798
820
|
terms: {
|
|
799
821
|
weight: {
|
|
@@ -355,6 +355,17 @@ export type ListingDetail = {
|
|
|
355
355
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
356
356
|
buyerNotes: string | null;
|
|
357
357
|
contractId?: string | null;
|
|
358
|
+
counter?: {
|
|
359
|
+
price: {
|
|
360
|
+
amount: number;
|
|
361
|
+
currency: string;
|
|
362
|
+
};
|
|
363
|
+
weight: number;
|
|
364
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
365
|
+
createdAtUTC: string;
|
|
366
|
+
expiresAtUTC: string;
|
|
367
|
+
decidedAtUTC?: string | null;
|
|
368
|
+
} | null;
|
|
358
369
|
}>;
|
|
359
370
|
terms: {
|
|
360
371
|
weight: {
|
|
@@ -100,6 +100,17 @@ export type SearchResultsBidSchema = {
|
|
|
100
100
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
101
101
|
buyerNotes: string | null;
|
|
102
102
|
contractId?: string | null;
|
|
103
|
+
counter?: {
|
|
104
|
+
price: {
|
|
105
|
+
amount: number;
|
|
106
|
+
currency: string;
|
|
107
|
+
};
|
|
108
|
+
weight: number;
|
|
109
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
110
|
+
createdAtUTC: string;
|
|
111
|
+
expiresAtUTC: string;
|
|
112
|
+
decidedAtUTC?: string | null;
|
|
113
|
+
} | null;
|
|
103
114
|
}>;
|
|
104
115
|
terms: {
|
|
105
116
|
weight: {
|
|
@@ -506,6 +517,17 @@ export type SearchResultsBidSchema = {
|
|
|
506
517
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
507
518
|
buyerNotes: string | null;
|
|
508
519
|
contractId?: string | null;
|
|
520
|
+
counter?: {
|
|
521
|
+
price: {
|
|
522
|
+
amount: number;
|
|
523
|
+
currency: string;
|
|
524
|
+
};
|
|
525
|
+
weight: number;
|
|
526
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
527
|
+
createdAtUTC: string;
|
|
528
|
+
expiresAtUTC: string;
|
|
529
|
+
decidedAtUTC?: string | null;
|
|
530
|
+
} | null;
|
|
509
531
|
}>;
|
|
510
532
|
terms: {
|
|
511
533
|
weight: {
|
|
@@ -389,6 +389,17 @@ export type SearchResultsContractSchema = {
|
|
|
389
389
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
390
390
|
buyerNotes: string | null;
|
|
391
391
|
contractId?: string | null;
|
|
392
|
+
counter?: {
|
|
393
|
+
price: {
|
|
394
|
+
amount: number;
|
|
395
|
+
currency: string;
|
|
396
|
+
};
|
|
397
|
+
weight: number;
|
|
398
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
399
|
+
createdAtUTC: string;
|
|
400
|
+
expiresAtUTC: string;
|
|
401
|
+
decidedAtUTC?: string | null;
|
|
402
|
+
} | null;
|
|
392
403
|
}>;
|
|
393
404
|
terms: {
|
|
394
405
|
weight: {
|
|
@@ -795,6 +806,17 @@ export type SearchResultsContractSchema = {
|
|
|
795
806
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
796
807
|
buyerNotes: string | null;
|
|
797
808
|
contractId?: string | null;
|
|
809
|
+
counter?: {
|
|
810
|
+
price: {
|
|
811
|
+
amount: number;
|
|
812
|
+
currency: string;
|
|
813
|
+
};
|
|
814
|
+
weight: number;
|
|
815
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
816
|
+
createdAtUTC: string;
|
|
817
|
+
expiresAtUTC: string;
|
|
818
|
+
decidedAtUTC?: string | null;
|
|
819
|
+
} | null;
|
|
798
820
|
}>;
|
|
799
821
|
terms: {
|
|
800
822
|
weight: {
|
|
@@ -356,6 +356,17 @@ export type SearchResultsListingSchema = {
|
|
|
356
356
|
haulageType: 'ex-farm' | 'delivered' | null;
|
|
357
357
|
buyerNotes: string | null;
|
|
358
358
|
contractId?: string | null;
|
|
359
|
+
counter?: {
|
|
360
|
+
price: {
|
|
361
|
+
amount: number;
|
|
362
|
+
currency: string;
|
|
363
|
+
};
|
|
364
|
+
weight: number;
|
|
365
|
+
status: 'pending' | 'accepted' | 'declined';
|
|
366
|
+
createdAtUTC: string;
|
|
367
|
+
expiresAtUTC: string;
|
|
368
|
+
decidedAtUTC?: string | null;
|
|
369
|
+
} | null;
|
|
359
370
|
}>;
|
|
360
371
|
terms: {
|
|
361
372
|
weight: {
|
|
@@ -100,6 +100,8 @@ export type SearchResultsWantedAdSchema = {
|
|
|
100
100
|
paymentDayType: 'fixed' | 'dayOfMonth';
|
|
101
101
|
} | null;
|
|
102
102
|
radiusMiles?: number | null;
|
|
103
|
+
audience?: 'farms' | 'merchants';
|
|
104
|
+
assuranceSchemes?: Array<'tascc' | 'femas' | 'ufas' | 'red-tractor' | 'sqc'>;
|
|
103
105
|
varieties?: Array<string>;
|
|
104
106
|
deliveryArea?: {
|
|
105
107
|
outwardCode?: string | null;
|
|
@@ -99,6 +99,8 @@ export type WantedAdDetailSchema = {
|
|
|
99
99
|
paymentDayType: 'fixed' | 'dayOfMonth';
|
|
100
100
|
} | null;
|
|
101
101
|
radiusMiles?: number | null;
|
|
102
|
+
audience?: 'farms' | 'merchants';
|
|
103
|
+
assuranceSchemes?: Array<'tascc' | 'femas' | 'ufas' | 'red-tractor' | 'sqc'>;
|
|
102
104
|
varieties?: Array<string>;
|
|
103
105
|
deliveryArea?: {
|
|
104
106
|
outwardCode?: string | null;
|
|
@@ -18,6 +18,9 @@ export type WantedAdResponseSchema = {
|
|
|
18
18
|
miles?: number | null;
|
|
19
19
|
milesSource?: 'road' | 'estimate' | null;
|
|
20
20
|
haulageTASCC?: boolean | null;
|
|
21
|
+
sellerArea?: string | null;
|
|
22
|
+
assuranceConfirmed?: boolean | null;
|
|
23
|
+
decidedAutomatically?: boolean | null;
|
|
21
24
|
paymentTerms?: {
|
|
22
25
|
paymentDays: number;
|
|
23
26
|
paymentDayType: 'fixed' | 'dayOfMonth';
|