@companieshouse/api-sdk-node 2.0.126 → 2.0.128

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.
package/dist/index.d.ts CHANGED
@@ -3,6 +3,9 @@ import { API_URL, ACCOUNT_URL } from "./config";
3
3
  import { RequestClient, HttpClientOptions, IHttpClient } from "./http";
4
4
  import Resource from "./services/resource";
5
5
  /**
6
+ *
7
+ * @warning - Please do not use this method to create API clients directly. Use the sdk-manager-node instead (which in turn calls this method)
8
+ *
6
9
  * Creates a new API Client.
7
10
  *
8
11
  * @param apiKey the api key to use for authentication
package/dist/index.js CHANGED
@@ -11,6 +11,9 @@ Object.defineProperty(exports, "ACCOUNT_URL", { enumerable: true, get: function
11
11
  const http_1 = require("./http");
12
12
  Object.defineProperty(exports, "RequestClient", { enumerable: true, get: function () { return http_1.RequestClient; } });
13
13
  /**
14
+ *
15
+ * @warning - Please do not use this method to create API clients directly. Use the sdk-manager-node instead (which in turn calls this method)
16
+ *
14
17
  * Creates a new API Client.
15
18
  *
16
19
  * @param apiKey the api key to use for authentication
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAiC;AACjC,qCAAgD;AAqCQ,wFArC/C,gBAAO,OAqC+C;AAAE,4FArC/C,oBAAW,OAqC+C;AApC5E,iCAAuE;AAoC9B,8FApChC,oBAAa,OAoCgC;AAjCtD;;;;;;GAMG;AACI,MAAM,eAAe,GAAG,CAAC,MAAe,EAAE,UAAmB,EAAE,UAAkB,gBAAO,EAAE,iBAAyB,oBAAW,EAAa,EAAE;IAChJ,IAAI,MAAM,IAAI,UAAU,EAAE;QACtB,MAAM,IAAI,KAAK,CAAC,6FAA6F,CAAC,CAAC;KAClH;IAED,6CAA6C;IAC7C,MAAM,UAAU,GAAsB;QAClC,MAAM;QACN,OAAO;QACP,UAAU;KACb,CAAC;IACF,MAAM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QAAA,eAAe,mBAuB1B"}
@@ -109,6 +109,7 @@ export interface BeneficialOwnerIndividual {
109
109
  first_name?: string;
110
110
  last_name?: string;
111
111
  date_of_birth?: InputDate;
112
+ have_day_of_birth?: boolean;
112
113
  nationality?: string;
113
114
  second_nationality?: string;
114
115
  usual_residential_address?: Address;
@@ -126,6 +127,7 @@ export interface BeneficialOwnerIndividualResource {
126
127
  first_name?: string;
127
128
  last_name?: string;
128
129
  date_of_birth?: string;
130
+ have_day_of_birth?: boolean;
129
131
  nationality?: string;
130
132
  second_nationality?: string;
131
133
  usual_residential_address?: Address;
@@ -223,6 +225,7 @@ export interface ManagingOfficerIndividual {
223
225
  has_former_names?: yesNoResponse;
224
226
  former_names?: string;
225
227
  date_of_birth?: InputDate;
228
+ have_day_of_birth?: boolean;
226
229
  nationality?: string;
227
230
  second_nationality?: string;
228
231
  usual_residential_address?: Address;
@@ -240,6 +243,7 @@ export interface ManagingOfficerIndividualResource {
240
243
  has_former_names?: yesNoResponse;
241
244
  former_names?: string;
242
245
  date_of_birth?: string;
246
+ have_day_of_birth?: boolean;
243
247
  nationality?: string;
244
248
  second_nationality?: string;
245
249
  usual_residential_address?: Address;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/services/overseas-entities/types.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAkqBH,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,6CAAM,CAAA;IACN,+CAAO,CAAA;AACX,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAQD,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACrC,0FAAyD,CAAA;IACzD,4FAA2D,CAAA;IAC3D,oEAAmC,CAAA;AACvC,CAAC,EAJW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAIxC;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,8EAAuD,CAAA;IACvD,4FAAqE,CAAA;IACrE,gHAAyF,CAAA;IACzF,4FAAqE,CAAA;AACzE,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/services/overseas-entities/types.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAsqBH,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,6CAAM,CAAA;IACN,+CAAO,CAAA;AACX,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAQD,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACrC,0FAAyD,CAAA;IACzD,4FAA2D,CAAA;IAC3D,oEAAmC,CAAA;AACvC,CAAC,EAJW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAIxC;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,8EAAuD,CAAA;IACvD,4FAAqE,CAAA;IACrE,gHAAyF,CAAA;IACzF,4FAAqE,CAAA;AACzE,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companieshouse/api-sdk-node",
3
- "version": "2.0.126",
3
+ "version": "2.0.128",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [