@companieshouse/api-sdk-node 2.0.187 → 2.0.189

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.
@@ -20,13 +20,13 @@ export interface DateOfBirth {
20
20
  year: string;
21
21
  }
22
22
  export interface Address {
23
- propertyDetails?: string;
24
- line1?: string;
25
- line2?: string;
26
- town?: string;
27
- county?: string;
23
+ premises?: string;
24
+ addressLine1?: string;
25
+ addressLine2?: string;
26
+ locality?: string;
27
+ region?: string;
28
28
  country?: string;
29
- postcode?: string;
29
+ postalCode?: string;
30
30
  }
31
31
  export interface Nationality {
32
32
  firstNationality: string;
@@ -54,9 +54,8 @@ export interface ApplicantDetails {
54
54
  export interface AcspDto {
55
55
  id: string;
56
56
  transactionId?: string;
57
- email?: string;
58
57
  roleInTheBusiness?: string;
59
- businessAddress?: Address;
58
+ registeredOfficeAddress?: Address;
60
59
  typeOfBusiness?: string;
61
60
  roleType?: string;
62
61
  verified?: boolean;
@@ -71,9 +70,8 @@ export interface AcspDto {
71
70
  export interface AcspData {
72
71
  id: string;
73
72
  transactionId?: string;
74
- email?: string;
75
73
  roleInTheBusiness?: string;
76
- businessAddress?: Address;
74
+ registeredOfficeAddress?: Address;
77
75
  typeOfBusiness?: string;
78
76
  roleType?: string;
79
77
  verified?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companieshouse/api-sdk-node",
3
- "version": "2.0.187",
3
+ "version": "2.0.189",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [