@hectare/platform.clients.trading 1.1.144 → 1.1.146

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.
@@ -86,6 +86,10 @@ export type BidDetail = {
86
86
  excludedDatesUTC?: Array<string> | null;
87
87
  asAvailable?: boolean | null;
88
88
  };
89
+ movement: {
90
+ months: Array<string>;
91
+ asAvailable: boolean;
92
+ };
89
93
  buyerNotes: string | null;
90
94
  files?: Array<{
91
95
  name?: string;
@@ -246,6 +250,10 @@ export type BidDetail = {
246
250
  endDateUTC: string;
247
251
  type: 'date' | 'month';
248
252
  };
253
+ movement: {
254
+ months: Array<string>;
255
+ asAvailable: boolean;
256
+ };
249
257
  pricePerUnit: {
250
258
  amount: number;
251
259
  currency: string;
@@ -205,12 +205,12 @@ export type ContractDetail = {
205
205
  }>;
206
206
  };
207
207
  buyer: {
208
- id?: string;
209
- businessId?: string;
210
- businessUnitId?: string;
211
- createdAtUTC?: string;
212
- name?: string;
213
- location?: {
208
+ id: string;
209
+ businessId: string;
210
+ businessUnitId: string;
211
+ createdAtUTC: string;
212
+ name: string;
213
+ location: {
214
214
  what3words: string | null;
215
215
  address: {
216
216
  name?: string | null;
@@ -229,12 +229,12 @@ export type ContractDetail = {
229
229
  lon: number;
230
230
  } | null;
231
231
  } | null;
232
- countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
233
- status?: 'active' | 'pending' | 'suspended';
234
- companyId?: string;
232
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
233
+ status: 'active' | 'pending' | 'suspended';
234
+ companyId: string;
235
235
  companyHoldingNumber?: string;
236
- bio?: string;
237
- logo?: {
236
+ bio: string;
237
+ logo: {
238
238
  name?: string;
239
239
  id: string;
240
240
  url?: string | null;
@@ -243,7 +243,7 @@ export type ContractDetail = {
243
243
  organisationId?: string | null;
244
244
  createdAtUTC?: string | null;
245
245
  } | null;
246
- ownerContact?: {
246
+ ownerContact: {
247
247
  id?: string;
248
248
  email?: string;
249
249
  familyName?: string;
@@ -261,11 +261,11 @@ export type ContractDetail = {
261
261
  name: string;
262
262
  email: string;
263
263
  }>;
264
- modules?: Array<{
264
+ modules: Array<{
265
265
  id: string;
266
266
  name?: string | null;
267
267
  }>;
268
- vetted?: boolean;
268
+ vetted: boolean;
269
269
  rejected?: boolean;
270
270
  isMerchant?: boolean;
271
271
  assurance?: {
@@ -83,6 +83,10 @@ export type ListingDetail = {
83
83
  excludedDatesUTC?: Array<string> | null;
84
84
  asAvailable?: boolean | null;
85
85
  };
86
+ movement: {
87
+ months: Array<string>;
88
+ asAvailable: boolean;
89
+ };
86
90
  buyerNotes: string | null;
87
91
  files?: Array<{
88
92
  name?: string;
@@ -341,6 +345,10 @@ export type ListingDetail = {
341
345
  excludedDatesUTC?: Array<string> | null;
342
346
  asAvailable?: boolean | null;
343
347
  };
348
+ movement: {
349
+ months: Array<string>;
350
+ asAvailable: boolean;
351
+ };
344
352
  buyerNotes: string | null;
345
353
  files?: Array<{
346
354
  name?: string;
@@ -501,6 +509,10 @@ export type ListingDetail = {
501
509
  endDateUTC: string;
502
510
  type: 'date' | 'month';
503
511
  };
512
+ movement: {
513
+ months: Array<string>;
514
+ asAvailable: boolean;
515
+ };
504
516
  pricePerUnit: {
505
517
  amount: number;
506
518
  currency: string;
@@ -83,6 +83,10 @@ export type ListingSummary = {
83
83
  excludedDatesUTC?: Array<string> | null;
84
84
  asAvailable?: boolean | null;
85
85
  };
86
+ movement: {
87
+ months: Array<string>;
88
+ asAvailable: boolean;
89
+ };
86
90
  buyerNotes: string | null;
87
91
  files?: Array<{
88
92
  name?: string;
@@ -87,6 +87,10 @@ export type SearchResultsBidSchema = {
87
87
  excludedDatesUTC?: Array<string> | null;
88
88
  asAvailable?: boolean | null;
89
89
  };
90
+ movement: {
91
+ months: Array<string>;
92
+ asAvailable: boolean;
93
+ };
90
94
  buyerNotes: string | null;
91
95
  files?: Array<{
92
96
  name?: string;
@@ -247,6 +251,10 @@ export type SearchResultsBidSchema = {
247
251
  endDateUTC: string;
248
252
  type: 'date' | 'month';
249
253
  };
254
+ movement: {
255
+ months: Array<string>;
256
+ asAvailable: boolean;
257
+ };
250
258
  pricePerUnit: {
251
259
  amount: number;
252
260
  currency: string;
@@ -84,6 +84,10 @@ export type SearchResultsListingSchema = {
84
84
  excludedDatesUTC?: Array<string> | null;
85
85
  asAvailable?: boolean | null;
86
86
  };
87
+ movement: {
88
+ months: Array<string>;
89
+ asAvailable: boolean;
90
+ };
87
91
  buyerNotes: string | null;
88
92
  files?: Array<{
89
93
  name?: string;
@@ -40,6 +40,10 @@ export type TradeRequestDetail = {
40
40
  endDateUTC: string;
41
41
  type: 'date' | 'month';
42
42
  };
43
+ movement: {
44
+ months: Array<string>;
45
+ asAvailable: boolean;
46
+ };
43
47
  haulageTerms: {
44
48
  haulageType?: 'ex-farm' | 'delivered';
45
49
  deliveryPostcode?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.144",
3
+ "version": "1.1.146",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",