@hectare/platform.clients.trading 1.1.145 → 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.
@@ -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?: {
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.146",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",