@onfido/api 5.2.0 → 5.3.0

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/api.d.ts CHANGED
@@ -4442,6 +4442,12 @@ export interface DocumentWithDriverVerificationReportAllOfProperties {
4442
4442
  * @memberof DocumentWithDriverVerificationReportAllOfProperties
4443
4443
  */
4444
4444
  'raw_vehicle_classes'?: string;
4445
+ /**
4446
+ * True if the user is not qualified to drive a manual transmission
4447
+ * @type {boolean}
4448
+ * @memberof DocumentWithDriverVerificationReportAllOfProperties
4449
+ */
4450
+ 'manual_transmission_restriction'?: boolean;
4445
4451
  /**
4446
4452
  * Detailed classes/categories information
4447
4453
  * @type {Array<DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner>}
@@ -32,7 +32,7 @@ class Configuration {
32
32
  }
33
33
  this.apiKey = 'Token token=' + param.apiToken;
34
34
  this.basePath = param.basePath || base_1.BASE_PATH.replace('.eu.', `.${Region[param.region || Region.EU].toLowerCase()}.`);
35
- this.baseOptions = Object.assign(Object.assign({ timeout: 30000 }, param.baseOptions), { headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "onfido-node/5.2.0" }) });
35
+ this.baseOptions = Object.assign(Object.assign({ timeout: 30000 }, param.baseOptions), { headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "onfido-node/5.3.0" }) });
36
36
  this.formDataCtor = param.formDataCtor || require('form-data'); // Injiect form data constructor (if needed)
37
37
  }
38
38
  /**
package/dist/esm/api.d.ts CHANGED
@@ -4442,6 +4442,12 @@ export interface DocumentWithDriverVerificationReportAllOfProperties {
4442
4442
  * @memberof DocumentWithDriverVerificationReportAllOfProperties
4443
4443
  */
4444
4444
  'raw_vehicle_classes'?: string;
4445
+ /**
4446
+ * True if the user is not qualified to drive a manual transmission
4447
+ * @type {boolean}
4448
+ * @memberof DocumentWithDriverVerificationReportAllOfProperties
4449
+ */
4450
+ 'manual_transmission_restriction'?: boolean;
4445
4451
  /**
4446
4452
  * Detailed classes/categories information
4447
4453
  * @type {Array<DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner>}
@@ -29,7 +29,7 @@ export class Configuration {
29
29
  }
30
30
  this.apiKey = 'Token token=' + param.apiToken;
31
31
  this.basePath = param.basePath || BASE_PATH.replace('.eu.', `.${Region[param.region || Region.EU].toLowerCase()}.`);
32
- this.baseOptions = Object.assign(Object.assign({ timeout: 30000 }, param.baseOptions), { headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "onfido-node/5.2.0" }) });
32
+ this.baseOptions = Object.assign(Object.assign({ timeout: 30000 }, param.baseOptions), { headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "onfido-node/5.3.0" }) });
33
33
  this.formDataCtor = param.formDataCtor || require('form-data'); // Injiect form data constructor (if needed)
34
34
  }
35
35
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onfido/api",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "description": "Node.js library for the Onfido API",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {