@hectare/platform.clients.trading 1.1.145 → 1.1.147

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.
@@ -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?: {
@@ -130,8 +130,8 @@ export type InventorySearchResultsSchema = {
130
130
  terms?: Array<{
131
131
  name?: string;
132
132
  url?: string;
133
- hits?: string;
134
- selected?: string;
133
+ hits?: number;
134
+ selected?: boolean;
135
135
  id?: string;
136
136
  state?: 'checked disabled' | 'checked' | 'disabled' | '';
137
137
  aggregations?: Record<string, {
@@ -171,8 +171,8 @@ export type MarketingPlanSearchResultsSchema = {
171
171
  terms?: Array<{
172
172
  name?: string;
173
173
  url?: string;
174
- hits?: string;
175
- selected?: string;
174
+ hits?: number;
175
+ selected?: boolean;
176
176
  id?: string;
177
177
  state?: 'checked disabled' | 'checked' | 'disabled' | '';
178
178
  aggregations?: Record<string, {
@@ -481,8 +481,8 @@ export type SearchResultsBidSchema = {
481
481
  terms?: Array<{
482
482
  name?: string;
483
483
  url?: string;
484
- hits?: string;
485
- selected?: string;
484
+ hits?: number;
485
+ selected?: boolean;
486
486
  id?: string;
487
487
  state?: 'checked disabled' | 'checked' | 'disabled' | '';
488
488
  aggregations?: Record<string, {
@@ -252,8 +252,8 @@ export type SearchResultsListingSchema = {
252
252
  terms?: Array<{
253
253
  name?: string;
254
254
  url?: string;
255
- hits?: string;
256
- selected?: string;
255
+ hits?: number;
256
+ selected?: boolean;
257
257
  id?: string;
258
258
  state?: 'checked disabled' | 'checked' | 'disabled' | '';
259
259
  aggregations?: Record<string, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.145",
3
+ "version": "1.1.147",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",