@hectare/platform.clients.trading 1.1.150 → 1.1.152

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.
@@ -121,6 +121,7 @@ export type BidDetail = {
121
121
  haulageTypeTASCC?: boolean | null;
122
122
  };
123
123
  inventory: {
124
+ id?: string;
124
125
  type: 'crop' | 'produce';
125
126
  harvestYear: string;
126
127
  commodity: {
@@ -1,5 +1,5 @@
1
1
  export type InventorySearchResultsSchema = {
2
- docs?: Array<{
2
+ docs: Array<{
3
3
  id: string;
4
4
  createdAtUTC: string;
5
5
  updatedAtUTC: string;
@@ -108,19 +108,19 @@ export type InventorySearchResultsSchema = {
108
108
  }>;
109
109
  }>;
110
110
  custom?: any;
111
- totalDocs?: number;
112
- limit?: number;
113
- offset?: number;
114
- clearUrl?: string;
115
- activeFilters?: Array<{
116
- name?: string;
117
- clearUrl?: string;
118
- terms?: Array<{
119
- name?: string;
120
- clearUrl?: string;
111
+ totalDocs: number;
112
+ limit: number;
113
+ offset: number;
114
+ clearUrl: string;
115
+ activeFilters: Array<{
116
+ name: string;
117
+ clearUrl: string;
118
+ terms: Array<{
119
+ name: string;
120
+ clearUrl: string;
121
121
  }>;
122
122
  }>;
123
- facets?: Array<{
123
+ facets: Array<{
124
124
  displayName: string;
125
125
  clearUrl: string;
126
126
  disabled: boolean;
@@ -118,6 +118,7 @@ export type ListingDetail = {
118
118
  haulageTypeTASCC?: boolean | null;
119
119
  };
120
120
  inventory: {
121
+ id?: string;
121
122
  type: 'crop' | 'produce';
122
123
  harvestYear: string;
123
124
  commodity: {
@@ -380,6 +381,7 @@ export type ListingDetail = {
380
381
  haulageTypeTASCC?: boolean | null;
381
382
  };
382
383
  inventory: {
384
+ id?: string;
383
385
  type: 'crop' | 'produce';
384
386
  harvestYear: string;
385
387
  commodity: {
@@ -118,6 +118,7 @@ export type ListingSummary = {
118
118
  haulageTypeTASCC?: boolean | null;
119
119
  };
120
120
  inventory: {
121
+ id?: string;
121
122
  type: 'crop' | 'produce';
122
123
  harvestYear: string;
123
124
  commodity: {
@@ -1,5 +1,5 @@
1
1
  export type MarketingPlanSearchResultsSchema = {
2
- docs?: Array<{
2
+ docs: Array<{
3
3
  id: string;
4
4
  createdAtUTC?: string;
5
5
  businessUnitId: string;
@@ -149,19 +149,19 @@ export type MarketingPlanSearchResultsSchema = {
149
149
  tags?: Array<string>;
150
150
  }>;
151
151
  custom?: any;
152
- totalDocs?: number;
153
- limit?: number;
154
- offset?: number;
155
- clearUrl?: string;
156
- activeFilters?: Array<{
157
- name?: string;
158
- clearUrl?: string;
159
- terms?: Array<{
160
- name?: string;
161
- clearUrl?: string;
152
+ totalDocs: number;
153
+ limit: number;
154
+ offset: number;
155
+ clearUrl: string;
156
+ activeFilters: Array<{
157
+ name: string;
158
+ clearUrl: string;
159
+ terms: Array<{
160
+ name: string;
161
+ clearUrl: string;
162
162
  }>;
163
163
  }>;
164
- facets?: Array<{
164
+ facets: Array<{
165
165
  displayName: string;
166
166
  clearUrl: string;
167
167
  disabled: boolean;
@@ -1,5 +1,5 @@
1
1
  export type SearchResultsBidSchema = {
2
- docs?: Array<{
2
+ docs: Array<{
3
3
  id: string;
4
4
  listingId: string;
5
5
  listing?: {
@@ -122,6 +122,7 @@ export type SearchResultsBidSchema = {
122
122
  haulageTypeTASCC?: boolean | null;
123
123
  };
124
124
  inventory: {
125
+ id?: string;
125
126
  type: 'crop' | 'produce';
126
127
  harvestYear: string;
127
128
  commodity: {
@@ -459,19 +460,19 @@ export type SearchResultsBidSchema = {
459
460
  requiresContract: boolean;
460
461
  }>;
461
462
  custom?: any;
462
- totalDocs?: number;
463
- limit?: number;
464
- offset?: number;
465
- clearUrl?: string;
466
- activeFilters?: Array<{
467
- name?: string;
468
- clearUrl?: string;
469
- terms?: Array<{
470
- name?: string;
471
- clearUrl?: string;
463
+ totalDocs: number;
464
+ limit: number;
465
+ offset: number;
466
+ clearUrl: string;
467
+ activeFilters: Array<{
468
+ name: string;
469
+ clearUrl: string;
470
+ terms: Array<{
471
+ name: string;
472
+ clearUrl: string;
472
473
  }>;
473
474
  }>;
474
- facets?: Array<{
475
+ facets: Array<{
475
476
  displayName: string;
476
477
  clearUrl: string;
477
478
  disabled: boolean;
@@ -1,5 +1,5 @@
1
1
  export type SearchResultsListingSchema = {
2
- docs?: Array<{
2
+ docs: Array<{
3
3
  id: string;
4
4
  createdAtUTC: string;
5
5
  status: 'active' | 'closed' | 'traded';
@@ -119,6 +119,7 @@ export type SearchResultsListingSchema = {
119
119
  haulageTypeTASCC?: boolean | null;
120
120
  };
121
121
  inventory: {
122
+ id?: string;
122
123
  type: 'crop' | 'produce';
123
124
  harvestYear: string;
124
125
  commodity: {
@@ -230,19 +231,19 @@ export type SearchResultsListingSchema = {
230
231
  marketingPlanId?: string;
231
232
  }>;
232
233
  custom?: any;
233
- totalDocs?: number;
234
- limit?: number;
235
- offset?: number;
236
- clearUrl?: string;
237
- activeFilters?: Array<{
238
- name?: string;
239
- clearUrl?: string;
240
- terms?: Array<{
241
- name?: string;
242
- clearUrl?: string;
234
+ totalDocs: number;
235
+ limit: number;
236
+ offset: number;
237
+ clearUrl: string;
238
+ activeFilters: Array<{
239
+ name: string;
240
+ clearUrl: string;
241
+ terms: Array<{
242
+ name: string;
243
+ clearUrl: string;
243
244
  }>;
244
245
  }>;
245
- facets?: Array<{
246
+ facets: Array<{
246
247
  displayName: string;
247
248
  clearUrl: string;
248
249
  disabled: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.150",
3
+ "version": "1.1.152",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",