@companieshouse/api-sdk-node 2.0.89 → 2.0.90

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.
@@ -28,6 +28,7 @@ export interface CompanyOfficerResource {
28
28
  nationality?: string;
29
29
  occupation?: string;
30
30
  officer_role: string;
31
+ contact_details?: ContactDetailsResource;
31
32
  responsibilities?: string;
32
33
  resigned_on?: string;
33
34
  }
@@ -65,6 +66,9 @@ export interface CompanyOfficerResourceLinks {
65
66
  export interface OfficerResourceLinks {
66
67
  appointments: string;
67
68
  }
69
+ export interface ContactDetailsResource {
70
+ contact_name?: string;
71
+ }
68
72
  /**
69
73
  * CompanyOfficers is the interface used within this SDK.
70
74
  */
@@ -95,6 +99,7 @@ export interface CompanyOfficer {
95
99
  nationality?: string;
96
100
  occupation?: string;
97
101
  officerRole: string;
102
+ contactDetails: ContactDetails;
98
103
  responsibilities?: string;
99
104
  resignedOn?: string;
100
105
  }
@@ -132,3 +137,6 @@ export interface CompanyOfficerLinks {
132
137
  export interface OfficerLinks {
133
138
  appointments: string;
134
139
  }
140
+ export interface ContactDetails {
141
+ contactName?: string;
142
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companieshouse/api-sdk-node",
3
- "version": "2.0.89",
3
+ "version": "2.0.90",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [