@hectare/platform.clients.trading 1.1.132 → 1.1.134

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.
@@ -224,6 +224,7 @@ export type BidDetail = {
224
224
  sellerListingReasonIds: Array<number> | null;
225
225
  sellerListingReasonDetail: string | null;
226
226
  } | null;
227
+ marketingPlanId?: string;
227
228
  };
228
229
  userId: string;
229
230
  userFullName: string;
@@ -33,5 +33,14 @@ export type CreateInventorySchema = {
33
33
  createdAtUTC?: string | null;
34
34
  } | null>;
35
35
  };
36
+ contract?: {
37
+ contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | null;
38
+ haulageType: 'ex-farm' | 'delivered' | null;
39
+ buyerNotes: string | null;
40
+ movement: {
41
+ months: Array<string>;
42
+ asAvailable: boolean;
43
+ };
44
+ };
36
45
  tags?: Array<string> | null;
37
46
  };
@@ -57,6 +57,15 @@ export type InventoryDetailSchema = {
57
57
  createdAtUTC?: string | null;
58
58
  } | null>;
59
59
  };
60
+ contract: {
61
+ contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | null;
62
+ haulageType: 'ex-farm' | 'delivered' | null;
63
+ buyerNotes: string | null;
64
+ movement: {
65
+ months: Array<string>;
66
+ asAvailable: boolean;
67
+ };
68
+ };
60
69
  summary: {
61
70
  harvestWeight?: {
62
71
  name: string;
@@ -58,6 +58,15 @@ export type InventorySearchResultsSchema = {
58
58
  createdAtUTC?: string | null;
59
59
  } | null>;
60
60
  };
61
+ contract: {
62
+ contractType: 'base' | 'fixed' | 'unpriced' | 'premium' | null;
63
+ haulageType: 'ex-farm' | 'delivered' | null;
64
+ buyerNotes: string | null;
65
+ movement: {
66
+ months: Array<string>;
67
+ asAvailable: boolean;
68
+ };
69
+ };
61
70
  summary: {
62
71
  harvestWeight?: {
63
72
  name: string;
@@ -221,6 +221,7 @@ export type ListingDetail = {
221
221
  sellerListingReasonIds: Array<number> | null;
222
222
  sellerListingReasonDetail: string | null;
223
223
  } | null;
224
+ marketingPlanId?: string;
224
225
  marketBuyers?: Array<{
225
226
  authPlatformId?: string;
226
227
  emailAddress?: string;
@@ -477,6 +478,7 @@ export type ListingDetail = {
477
478
  sellerListingReasonIds: Array<number> | null;
478
479
  sellerListingReasonDetail: string | null;
479
480
  } | null;
481
+ marketingPlanId?: string;
480
482
  };
481
483
  userId: string;
482
484
  userFullName: string;
@@ -221,4 +221,5 @@ export type ListingSummary = {
221
221
  sellerListingReasonIds: Array<number> | null;
222
222
  sellerListingReasonDetail: string | null;
223
223
  } | null;
224
+ marketingPlanId?: string;
224
225
  };
@@ -225,6 +225,7 @@ export type SearchResultsBidSchema = {
225
225
  sellerListingReasonIds: Array<number> | null;
226
226
  sellerListingReasonDetail: string | null;
227
227
  } | null;
228
+ marketingPlanId?: string;
228
229
  };
229
230
  userId: string;
230
231
  userFullName: string;
@@ -222,6 +222,7 @@ export type SearchResultsListingSchema = {
222
222
  sellerListingReasonIds: Array<number> | null;
223
223
  sellerListingReasonDetail: string | null;
224
224
  } | null;
225
+ marketingPlanId?: string;
225
226
  }>;
226
227
  custom?: any;
227
228
  totalDocs?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.132",
3
+ "version": "1.1.134",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",