@vouchsafe/node 0.1.5 → 0.1.7

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.
Files changed (36) hide show
  1. package/dist/openapi/apis/SmartLookupsApi.d.ts +2 -2
  2. package/dist/openapi/apis/SmartLookupsApi.js +2 -2
  3. package/dist/openapi/models/AddressVerificationReport.d.ts +41 -0
  4. package/dist/openapi/models/AddressVerificationReport.d.ts.map +1 -0
  5. package/dist/openapi/models/AddressVerificationReport.js +57 -0
  6. package/dist/openapi/models/AddressVerificationReport.js.map +1 -0
  7. package/dist/openapi/models/CheckState.d.ts +1 -0
  8. package/dist/openapi/models/CheckState.d.ts.map +1 -1
  9. package/dist/openapi/models/CheckState.js +1 -0
  10. package/dist/openapi/models/CheckState.js.map +1 -1
  11. package/dist/openapi/models/CreditBureauVerificationReport.d.ts +41 -0
  12. package/dist/openapi/models/CreditBureauVerificationReport.d.ts.map +1 -0
  13. package/dist/openapi/models/CreditBureauVerificationReport.js +57 -0
  14. package/dist/openapi/models/CreditBureauVerificationReport.js.map +1 -0
  15. package/dist/openapi/models/GetSmartLookupResponse.d.ts +39 -7
  16. package/dist/openapi/models/GetSmartLookupResponse.d.ts.map +1 -1
  17. package/dist/openapi/models/GetSmartLookupResponse.js +22 -8
  18. package/dist/openapi/models/GetSmartLookupResponse.js.map +1 -1
  19. package/dist/openapi/models/Reason.d.ts +2 -0
  20. package/dist/openapi/models/Reason.d.ts.map +1 -1
  21. package/dist/openapi/models/Reason.js +3 -1
  22. package/dist/openapi/models/Reason.js.map +1 -1
  23. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.d.ts +40 -0
  24. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.d.ts.map +1 -0
  25. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.js +56 -0
  26. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.js.map +1 -0
  27. package/dist/openapi/models/RequestVerificationInput.d.ts +1 -1
  28. package/dist/openapi/models/SmartLookupInput.d.ts +24 -5
  29. package/dist/openapi/models/SmartLookupInput.d.ts.map +1 -1
  30. package/dist/openapi/models/SmartLookupInput.js +8 -1
  31. package/dist/openapi/models/SmartLookupInput.js.map +1 -1
  32. package/dist/openapi/models/index.d.ts +3 -2
  33. package/dist/openapi/models/index.d.ts.map +1 -1
  34. package/dist/openapi/models/index.js +3 -2
  35. package/dist/openapi/models/index.js.map +1 -1
  36. package/package.json +1 -1
@@ -22,11 +22,11 @@ export interface SearchPostcodeRequest {
22
22
  */
23
23
  export declare class SmartLookupsApi extends runtime.BaseAPI {
24
24
  /**
25
- * > This feature is currently experimental, so the only supported check is `Address` via the electoral roll. Other checks coming soon. Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://localhost:3000/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
25
+ * > This feature is currently experimental, so the only supported checks are `CreditBureau` (via an FCA-authorised bureau) and `Address` (via the electoral roll). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
26
26
  */
27
27
  performSmartLookupRaw(requestParameters: PerformSmartLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSmartLookupResponse>>;
28
28
  /**
29
- * > This feature is currently experimental, so the only supported check is `Address` via the electoral roll. Other checks coming soon. Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://localhost:3000/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
29
+ * > This feature is currently experimental, so the only supported checks are `CreditBureau` (via an FCA-authorised bureau) and `Address` (via the electoral roll). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
30
30
  */
31
31
  performSmartLookup(requestParameters: PerformSmartLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSmartLookupResponse>;
32
32
  /**
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
54
54
  */
55
55
  class SmartLookupsApi extends runtime.BaseAPI {
56
56
  /**
57
- * > This feature is currently experimental, so the only supported check is `Address` via the electoral roll. Other checks coming soon. Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://localhost:3000/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
57
+ * > This feature is currently experimental, so the only supported checks are `CreditBureau` (via an FCA-authorised bureau) and `Address` (via the electoral roll). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
58
58
  */
59
59
  async performSmartLookupRaw(requestParameters, initOverrides) {
60
60
  if (requestParameters['smartLookupInput'] == null) {
@@ -81,7 +81,7 @@ class SmartLookupsApi extends runtime.BaseAPI {
81
81
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetSmartLookupResponseFromJSON)(jsonValue));
82
82
  }
83
83
  /**
84
- * > This feature is currently experimental, so the only supported check is `Address` via the electoral roll. Other checks coming soon. Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://localhost:3000/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
84
+ * > This feature is currently experimental, so the only supported checks are `CreditBureau` (via an FCA-authorised bureau) and `Address` (via the electoral roll). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
85
85
  */
86
86
  async performSmartLookup(requestParameters, initOverrides) {
87
87
  const response = await this.performSmartLookupRaw(requestParameters, initOverrides);
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { RecordAddressVerificationChecksCheckResult } from './RecordAddressVerificationChecksCheckResult';
13
+ import type { CheckState } from './CheckState';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AddressVerificationReport
18
+ */
19
+ export interface AddressVerificationReport {
20
+ /**
21
+ *
22
+ * @type {CheckState}
23
+ * @memberof AddressVerificationReport
24
+ */
25
+ state: CheckState;
26
+ /**
27
+ *
28
+ * @type {RecordAddressVerificationChecksCheckResult}
29
+ * @memberof AddressVerificationReport
30
+ */
31
+ checks: RecordAddressVerificationChecksCheckResult;
32
+ }
33
+ /**
34
+ * Check if a given object implements the AddressVerificationReport interface.
35
+ */
36
+ export declare function instanceOfAddressVerificationReport(value: object): value is AddressVerificationReport;
37
+ export declare function AddressVerificationReportFromJSON(json: any): AddressVerificationReport;
38
+ export declare function AddressVerificationReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressVerificationReport;
39
+ export declare function AddressVerificationReportToJSON(json: any): AddressVerificationReport;
40
+ export declare function AddressVerificationReportToJSONTyped(value?: AddressVerificationReport | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=AddressVerificationReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddressVerificationReport.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/AddressVerificationReport.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAO/G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,0CAA0C,CAAC;CACtD;AAID;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAIrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CASzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxI"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vouchsafe API docs
6
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ * Contact: help@vouchsafe.id
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAddressVerificationReport = instanceOfAddressVerificationReport;
17
+ exports.AddressVerificationReportFromJSON = AddressVerificationReportFromJSON;
18
+ exports.AddressVerificationReportFromJSONTyped = AddressVerificationReportFromJSONTyped;
19
+ exports.AddressVerificationReportToJSON = AddressVerificationReportToJSON;
20
+ exports.AddressVerificationReportToJSONTyped = AddressVerificationReportToJSONTyped;
21
+ const RecordAddressVerificationChecksCheckResult_1 = require("./RecordAddressVerificationChecksCheckResult");
22
+ const CheckState_1 = require("./CheckState");
23
+ /**
24
+ * Check if a given object implements the AddressVerificationReport interface.
25
+ */
26
+ function instanceOfAddressVerificationReport(value) {
27
+ if (!('state' in value) || value['state'] === undefined)
28
+ return false;
29
+ if (!('checks' in value) || value['checks'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function AddressVerificationReportFromJSON(json) {
34
+ return AddressVerificationReportFromJSONTyped(json, false);
35
+ }
36
+ function AddressVerificationReportFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'state': (0, CheckState_1.CheckStateFromJSON)(json['state']),
42
+ 'checks': (0, RecordAddressVerificationChecksCheckResult_1.RecordAddressVerificationChecksCheckResultFromJSON)(json['checks']),
43
+ };
44
+ }
45
+ function AddressVerificationReportToJSON(json) {
46
+ return AddressVerificationReportToJSONTyped(json, false);
47
+ }
48
+ function AddressVerificationReportToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'state': (0, CheckState_1.CheckStateToJSON)(value['state']),
54
+ 'checks': (0, RecordAddressVerificationChecksCheckResult_1.RecordAddressVerificationChecksCheckResultToJSON)(value['checks']),
55
+ };
56
+ }
57
+ //# sourceMappingURL=AddressVerificationReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddressVerificationReport.js","sourceRoot":"","sources":["../../../src/openapi/models/AddressVerificationReport.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,kFAIC;AAED,8EAEC;AAED,wFASC;AAED,0EAEC;AAED,oFAUC;AA1ED,6GAKsD;AAEtD,6CAKsB;AAwBtB;;GAEG;AACH,SAAgB,mCAAmC,CAAC,KAAa;IAC7D,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS,EAAE,mBAA4B;IAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,QAAQ,EAAE,IAAA,+FAAkD,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC/E,CAAC;AACN,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,KAAwC,EAAE,sBAA+B,KAAK;IAC/H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,IAAA,6BAAgB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzC,QAAQ,EAAE,IAAA,6FAAgD,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KAC9E,CAAC;AACN,CAAC"}
@@ -16,6 +16,7 @@
16
16
  export declare const CheckState: {
17
17
  readonly Pass: "PASS";
18
18
  readonly Fail: "FAIL";
19
+ readonly Inconclusive: "INCONCLUSIVE";
19
20
  readonly Partial: "PARTIAL";
20
21
  readonly NotPerformed: "NOT_PERFORMED";
21
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CheckState.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CheckState.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGpE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASxD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAE3F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,GAAG,CAE/D;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAE1F"}
1
+ {"version":3,"file":"CheckState.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CheckState.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGpE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASxD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAE3F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,GAAG,CAE/D;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAE1F"}
@@ -26,6 +26,7 @@ exports.CheckStateToJSONTyped = CheckStateToJSONTyped;
26
26
  exports.CheckState = {
27
27
  Pass: 'PASS',
28
28
  Fail: 'FAIL',
29
+ Inconclusive: 'INCONCLUSIVE',
29
30
  Partial: 'PARTIAL',
30
31
  NotPerformed: 'NOT_PERFORMED'
31
32
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CheckState.js","sourceRoot":"","sources":["../../../src/openapi/models/CheckState.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgBH,oDASC;AAED,gDAEC;AAED,0DAEC;AAED,4CAEC;AAED,sDAEC;AAtCD;;;GAGG;AACU,QAAA,UAAU,GAAG;IACtB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,eAAe;CACvB,CAAC;AAIX,SAAgB,oBAAoB,CAAC,KAAU;IAC3C,KAAK,MAAM,GAAG,IAAI,kBAAU,EAAE,CAAC;QAC3B,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,kBAAU,EAAE,GAAG,CAAC,EAAE,CAAC;YACxD,IAAI,kBAAU,CAAC,GAA8B,CAAC,KAAK,KAAK,EAAE,CAAC;gBACvD,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS,EAAE,mBAA4B;IAC3E,OAAO,IAAkB,CAAC;AAC9B,CAAC;AAED,SAAgB,gBAAgB,CAAC,KAAyB;IACtD,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,qBAAqB,CAAC,KAAU,EAAE,mBAA4B;IAC1E,OAAO,KAAmB,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"CheckState.js","sourceRoot":"","sources":["../../../src/openapi/models/CheckState.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH,oDASC;AAED,gDAEC;AAED,0DAEC;AAED,4CAEC;AAED,sDAEC;AAvCD;;;GAGG;AACU,QAAA,UAAU,GAAG;IACtB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,eAAe;CACvB,CAAC;AAIX,SAAgB,oBAAoB,CAAC,KAAU;IAC3C,KAAK,MAAM,GAAG,IAAI,kBAAU,EAAE,CAAC;QAC3B,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,kBAAU,EAAE,GAAG,CAAC,EAAE,CAAC;YACxD,IAAI,kBAAU,CAAC,GAA8B,CAAC,KAAK,KAAK,EAAE,CAAC;gBACvD,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS,EAAE,mBAA4B;IAC3E,OAAO,IAAkB,CAAC;AAC9B,CAAC;AAED,SAAgB,gBAAgB,CAAC,KAAyB;IACtD,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,qBAAqB,CAAC,KAAU,EAAE,mBAA4B;IAC1E,OAAO,KAAmB,CAAC;AAC/B,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { RecordCreditBureauVerificationChecksCheckResult } from './RecordCreditBureauVerificationChecksCheckResult';
13
+ import type { CheckState } from './CheckState';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreditBureauVerificationReport
18
+ */
19
+ export interface CreditBureauVerificationReport {
20
+ /**
21
+ *
22
+ * @type {CheckState}
23
+ * @memberof CreditBureauVerificationReport
24
+ */
25
+ state: CheckState;
26
+ /**
27
+ *
28
+ * @type {RecordCreditBureauVerificationChecksCheckResult}
29
+ * @memberof CreditBureauVerificationReport
30
+ */
31
+ checks: RecordCreditBureauVerificationChecksCheckResult;
32
+ }
33
+ /**
34
+ * Check if a given object implements the CreditBureauVerificationReport interface.
35
+ */
36
+ export declare function instanceOfCreditBureauVerificationReport(value: object): value is CreditBureauVerificationReport;
37
+ export declare function CreditBureauVerificationReportFromJSON(json: any): CreditBureauVerificationReport;
38
+ export declare function CreditBureauVerificationReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreditBureauVerificationReport;
39
+ export declare function CreditBureauVerificationReportToJSON(json: any): CreditBureauVerificationReport;
40
+ export declare function CreditBureauVerificationReportToJSONTyped(value?: CreditBureauVerificationReport | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=CreditBureauVerificationReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreditBureauVerificationReport.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CreditBureauVerificationReport.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,mDAAmD,CAAC;AAOzH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,+CAA+C,CAAC;CAC3D;AAID;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAI/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CASnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlJ"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vouchsafe API docs
6
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ * Contact: help@vouchsafe.id
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreditBureauVerificationReport = instanceOfCreditBureauVerificationReport;
17
+ exports.CreditBureauVerificationReportFromJSON = CreditBureauVerificationReportFromJSON;
18
+ exports.CreditBureauVerificationReportFromJSONTyped = CreditBureauVerificationReportFromJSONTyped;
19
+ exports.CreditBureauVerificationReportToJSON = CreditBureauVerificationReportToJSON;
20
+ exports.CreditBureauVerificationReportToJSONTyped = CreditBureauVerificationReportToJSONTyped;
21
+ const RecordCreditBureauVerificationChecksCheckResult_1 = require("./RecordCreditBureauVerificationChecksCheckResult");
22
+ const CheckState_1 = require("./CheckState");
23
+ /**
24
+ * Check if a given object implements the CreditBureauVerificationReport interface.
25
+ */
26
+ function instanceOfCreditBureauVerificationReport(value) {
27
+ if (!('state' in value) || value['state'] === undefined)
28
+ return false;
29
+ if (!('checks' in value) || value['checks'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function CreditBureauVerificationReportFromJSON(json) {
34
+ return CreditBureauVerificationReportFromJSONTyped(json, false);
35
+ }
36
+ function CreditBureauVerificationReportFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'state': (0, CheckState_1.CheckStateFromJSON)(json['state']),
42
+ 'checks': (0, RecordCreditBureauVerificationChecksCheckResult_1.RecordCreditBureauVerificationChecksCheckResultFromJSON)(json['checks']),
43
+ };
44
+ }
45
+ function CreditBureauVerificationReportToJSON(json) {
46
+ return CreditBureauVerificationReportToJSONTyped(json, false);
47
+ }
48
+ function CreditBureauVerificationReportToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'state': (0, CheckState_1.CheckStateToJSON)(value['state']),
54
+ 'checks': (0, RecordCreditBureauVerificationChecksCheckResult_1.RecordCreditBureauVerificationChecksCheckResultToJSON)(value['checks']),
55
+ };
56
+ }
57
+ //# sourceMappingURL=CreditBureauVerificationReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreditBureauVerificationReport.js","sourceRoot":"","sources":["../../../src/openapi/models/CreditBureauVerificationReport.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,4FAIC;AAED,wFAEC;AAED,kGASC;AAED,oFAEC;AAED,8FAUC;AA1ED,uHAK2D;AAE3D,6CAKsB;AAwBtB;;GAEG;AACH,SAAgB,wCAAwC,CAAC,KAAa;IAClE,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,QAAQ,EAAE,IAAA,yGAAuD,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACpF,CAAC;AACN,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,KAA6C,EAAE,sBAA+B,KAAK;IACzI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,IAAA,6BAAgB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzC,QAAQ,EAAE,IAAA,uGAAqD,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KACnF,CAAC;AACN,CAAC"}
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Report } from './Report';
13
- import type { Model36EnumsBackgroundCheck } from './Model36EnumsBackgroundCheck';
12
+ import type { CreditBureauVerificationReport } from './CreditBureauVerificationReport';
13
+ import type { AddressVerificationReport } from './AddressVerificationReport';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -31,10 +31,10 @@ export interface GetSmartLookupResponse {
31
31
  team_id: string;
32
32
  /**
33
33
  *
34
- * @type {Array<Model36EnumsBackgroundCheck>}
34
+ * @type {Array<string>}
35
35
  * @memberof GetSmartLookupResponse
36
36
  */
37
- checks: Array<Model36EnumsBackgroundCheck>;
37
+ checks: Array<GetSmartLookupResponseChecksEnum>;
38
38
  /**
39
39
  *
40
40
  * @type {string}
@@ -60,11 +60,35 @@ export interface GetSmartLookupResponse {
60
60
  */
61
61
  postcode: string | null;
62
62
  /**
63
- * Whether the overall check and its sub-checks passed, failed or somethng else.
64
- * @type {Report}
63
+ *
64
+ * @type {string}
65
+ * @memberof GetSmartLookupResponse
66
+ */
67
+ date_of_birth?: string;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof GetSmartLookupResponse
72
+ */
73
+ email?: string;
74
+ /**
75
+ *
76
+ * @type {string}
65
77
  * @memberof GetSmartLookupResponse
66
78
  */
67
- address_verification_report: Report | null;
79
+ phone?: string;
80
+ /**
81
+ *
82
+ * @type {AddressVerificationReport}
83
+ * @memberof GetSmartLookupResponse
84
+ */
85
+ address_verification_report?: AddressVerificationReport;
86
+ /**
87
+ *
88
+ * @type {CreditBureauVerificationReport}
89
+ * @memberof GetSmartLookupResponse
90
+ */
91
+ credit_bureau_verification_report?: CreditBureauVerificationReport;
68
92
  /**
69
93
  * Extra information to aid debugging. May change without notice.
70
94
  * @type {any}
@@ -78,6 +102,14 @@ export interface GetSmartLookupResponse {
78
102
  */
79
103
  created_at: string;
80
104
  }
105
+ /**
106
+ * @export
107
+ */
108
+ export declare const GetSmartLookupResponseChecksEnum: {
109
+ readonly Address: "Address";
110
+ readonly CreditBureau: "CreditBureau";
111
+ };
112
+ export type GetSmartLookupResponseChecksEnum = typeof GetSmartLookupResponseChecksEnum[keyof typeof GetSmartLookupResponseChecksEnum];
81
113
  /**
82
114
  * Check if a given object implements the GetSmartLookupResponse interface.
83
115
  */
@@ -1 +1 @@
1
- {"version":3,"file":"GetSmartLookupResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/GetSmartLookupResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAOvC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC3C;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAY/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAiBnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBlI"}
1
+ {"version":3,"file":"GetSmartLookupResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/GetSmartLookupResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAOvF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAQ7E;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;IAChD;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,yBAAyB,CAAC;IACxD;;;;OAIG;IACH,iCAAiC,CAAC,EAAE,8BAA8B,CAAC;IACnE;;;;OAIG;IACH,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAGtI;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAW/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAqBnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsBlI"}
@@ -13,13 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.GetSmartLookupResponseChecksEnum = void 0;
16
17
  exports.instanceOfGetSmartLookupResponse = instanceOfGetSmartLookupResponse;
17
18
  exports.GetSmartLookupResponseFromJSON = GetSmartLookupResponseFromJSON;
18
19
  exports.GetSmartLookupResponseFromJSONTyped = GetSmartLookupResponseFromJSONTyped;
19
20
  exports.GetSmartLookupResponseToJSON = GetSmartLookupResponseToJSON;
20
21
  exports.GetSmartLookupResponseToJSONTyped = GetSmartLookupResponseToJSONTyped;
21
- const Report_1 = require("./Report");
22
- const Model36EnumsBackgroundCheck_1 = require("./Model36EnumsBackgroundCheck");
22
+ const CreditBureauVerificationReport_1 = require("./CreditBureauVerificationReport");
23
+ const AddressVerificationReport_1 = require("./AddressVerificationReport");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.GetSmartLookupResponseChecksEnum = {
28
+ Address: 'Address',
29
+ CreditBureau: 'CreditBureau'
30
+ };
23
31
  /**
24
32
  * Check if a given object implements the GetSmartLookupResponse interface.
25
33
  */
@@ -38,8 +46,6 @@ function instanceOfGetSmartLookupResponse(value) {
38
46
  return false;
39
47
  if (!('postcode' in value) || value['postcode'] === undefined)
40
48
  return false;
41
- if (!('address_verification_report' in value) || value['address_verification_report'] === undefined)
42
- return false;
43
49
  if (!('metadata' in value) || value['metadata'] === undefined)
44
50
  return false;
45
51
  if (!('created_at' in value) || value['created_at'] === undefined)
@@ -56,12 +62,16 @@ function GetSmartLookupResponseFromJSONTyped(json, ignoreDiscriminator) {
56
62
  return {
57
63
  'id': json['id'],
58
64
  'team_id': json['team_id'],
59
- 'checks': (json['checks'].map(Model36EnumsBackgroundCheck_1.Model36EnumsBackgroundCheckFromJSON)),
65
+ 'checks': json['checks'],
60
66
  'first_name': json['first_name'],
61
67
  'last_name': json['last_name'],
62
68
  'first_line_of_address': json['first_line_of_address'],
63
69
  'postcode': json['postcode'],
64
- 'address_verification_report': (0, Report_1.ReportFromJSON)(json['address_verification_report']),
70
+ 'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
71
+ 'email': json['email'] == null ? undefined : json['email'],
72
+ 'phone': json['phone'] == null ? undefined : json['phone'],
73
+ 'address_verification_report': json['address_verification_report'] == null ? undefined : (0, AddressVerificationReport_1.AddressVerificationReportFromJSON)(json['address_verification_report']),
74
+ 'credit_bureau_verification_report': json['credit_bureau_verification_report'] == null ? undefined : (0, CreditBureauVerificationReport_1.CreditBureauVerificationReportFromJSON)(json['credit_bureau_verification_report']),
65
75
  'metadata': json['metadata'],
66
76
  'created_at': json['created_at'],
67
77
  };
@@ -76,12 +86,16 @@ function GetSmartLookupResponseToJSONTyped(value, ignoreDiscriminator = false) {
76
86
  return {
77
87
  'id': value['id'],
78
88
  'team_id': value['team_id'],
79
- 'checks': (value['checks'].map(Model36EnumsBackgroundCheck_1.Model36EnumsBackgroundCheckToJSON)),
89
+ 'checks': value['checks'],
80
90
  'first_name': value['first_name'],
81
91
  'last_name': value['last_name'],
82
92
  'first_line_of_address': value['first_line_of_address'],
83
93
  'postcode': value['postcode'],
84
- 'address_verification_report': (0, Report_1.ReportToJSON)(value['address_verification_report']),
94
+ 'date_of_birth': value['date_of_birth'],
95
+ 'email': value['email'],
96
+ 'phone': value['phone'],
97
+ 'address_verification_report': (0, AddressVerificationReport_1.AddressVerificationReportToJSON)(value['address_verification_report']),
98
+ 'credit_bureau_verification_report': (0, CreditBureauVerificationReport_1.CreditBureauVerificationReportToJSON)(value['credit_bureau_verification_report']),
85
99
  'metadata': value['metadata'],
86
100
  'created_at': value['created_at'],
87
101
  };
@@ -1 +1 @@
1
- {"version":3,"file":"GetSmartLookupResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/GetSmartLookupResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAyFH,4EAYC;AAED,wEAEC;AAED,kFAiBC;AAED,oEAEC;AAED,8EAkBC;AAhJD,qCAKkB;AAElB,+EAKuC;AAsEvC;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,QAA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,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
@@ -18,6 +18,8 @@ export declare const Reason: {
18
18
  readonly InvalidAddress: "INVALID_ADDRESS";
19
19
  readonly MedMatchPersonAtAddress: "MED_MATCH_PERSON_AT_ADDRESS";
20
20
  readonly LowMatchPersonAtAddress: "LOW_MATCH_PERSON_AT_ADDRESS";
21
+ readonly NoIdentityMatch: "NO_IDENTITY_MATCH";
22
+ readonly NoResidencyMatch: "NO_RESIDENCY_MATCH";
21
23
  };
22
24
  export type Reason = typeof Reason[keyof typeof Reason];
23
25
  export declare function instanceOfReason(value: any): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Reason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Reason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,MAAM;;;;;CAKT,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAGxD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAEnF;AAED,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,CAEvD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAElF"}
1
+ {"version":3,"file":"Reason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Reason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,MAAM;;;;;;;CAOT,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAGxD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAEnF;AAED,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,CAEvD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAElF"}
@@ -27,7 +27,9 @@ exports.Reason = {
27
27
  InvalidPostcode: 'INVALID_POSTCODE',
28
28
  InvalidAddress: 'INVALID_ADDRESS',
29
29
  MedMatchPersonAtAddress: 'MED_MATCH_PERSON_AT_ADDRESS',
30
- LowMatchPersonAtAddress: 'LOW_MATCH_PERSON_AT_ADDRESS'
30
+ LowMatchPersonAtAddress: 'LOW_MATCH_PERSON_AT_ADDRESS',
31
+ NoIdentityMatch: 'NO_IDENTITY_MATCH',
32
+ NoResidencyMatch: 'NO_RESIDENCY_MATCH'
31
33
  };
32
34
  function instanceOfReason(value) {
33
35
  for (const key in exports.Reason) {
@@ -1 +1 @@
1
- {"version":3,"file":"Reason.js","sourceRoot":"","sources":["../../../src/openapi/models/Reason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgBH,4CASC;AAED,wCAEC;AAED,kDAEC;AAED,oCAEC;AAED,8CAEC;AAtCD;;;GAGG;AACU,QAAA,MAAM,GAAG;IAClB,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,uBAAuB,EAAE,6BAA6B;IACtD,uBAAuB,EAAE,6BAA6B;CAChD,CAAC;AAIX,SAAgB,gBAAgB,CAAC,KAAU;IACvC,KA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AM,CAAC,GAA0B,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC/C,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,cAAc,CAAC,IAAS;IACpC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS,EAAE,mBAA4B;IACvE,OAAO,IAAc,CAAC;AAC1B,CAAC;AAED,SAAgB,YAAY,CAAC,KAAqB;IAC9C,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,iBAAiB,CAAC,KAAU,EAAE,mBAA4B;IACtE,OAAO,KAAe,CAAC;AAC3B,CAAC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CheckResult } from './CheckResult';
13
+ /**
14
+ * Construct a type with a set of properties K of type T
15
+ * @export
16
+ * @interface RecordCreditBureauVerificationChecksCheckResult
17
+ */
18
+ export interface RecordCreditBureauVerificationChecksCheckResult {
19
+ /**
20
+ *
21
+ * @type {CheckResult}
22
+ * @memberof RecordCreditBureauVerificationChecksCheckResult
23
+ */
24
+ IDENTITY_MATCH: CheckResult;
25
+ /**
26
+ *
27
+ * @type {CheckResult}
28
+ * @memberof RecordCreditBureauVerificationChecksCheckResult
29
+ */
30
+ RESIDENCY_MATCH: CheckResult;
31
+ }
32
+ /**
33
+ * Check if a given object implements the RecordCreditBureauVerificationChecksCheckResult interface.
34
+ */
35
+ export declare function instanceOfRecordCreditBureauVerificationChecksCheckResult(value: object): value is RecordCreditBureauVerificationChecksCheckResult;
36
+ export declare function RecordCreditBureauVerificationChecksCheckResultFromJSON(json: any): RecordCreditBureauVerificationChecksCheckResult;
37
+ export declare function RecordCreditBureauVerificationChecksCheckResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordCreditBureauVerificationChecksCheckResult;
38
+ export declare function RecordCreditBureauVerificationChecksCheckResultToJSON(json: any): RecordCreditBureauVerificationChecksCheckResult;
39
+ export declare function RecordCreditBureauVerificationChecksCheckResultToJSONTyped(value?: RecordCreditBureauVerificationChecksCheckResult | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=RecordCreditBureauVerificationChecksCheckResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordCreditBureauVerificationChecksCheckResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RecordCreditBureauVerificationChecksCheckResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;;;OAIG;IACH,cAAc,EAAE,WAAW,CAAC;IAC5B;;;;OAIG;IACH,eAAe,EAAE,WAAW,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,yDAAyD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+CAA+C,CAIjJ;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,GAAG,+CAA+C,CAElI;AAED,wBAAgB,4DAA4D,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+CAA+C,CASrK;AAED,wBAAgB,qDAAqD,CAAC,IAAI,EAAE,GAAG,GAAG,+CAA+C,CAEhI;AAED,wBAAgB,0DAA0D,CAAC,KAAK,CAAC,EAAE,+CAA+C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpL"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vouchsafe API docs
6
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ * Contact: help@vouchsafe.id
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRecordCreditBureauVerificationChecksCheckResult = instanceOfRecordCreditBureauVerificationChecksCheckResult;
17
+ exports.RecordCreditBureauVerificationChecksCheckResultFromJSON = RecordCreditBureauVerificationChecksCheckResultFromJSON;
18
+ exports.RecordCreditBureauVerificationChecksCheckResultFromJSONTyped = RecordCreditBureauVerificationChecksCheckResultFromJSONTyped;
19
+ exports.RecordCreditBureauVerificationChecksCheckResultToJSON = RecordCreditBureauVerificationChecksCheckResultToJSON;
20
+ exports.RecordCreditBureauVerificationChecksCheckResultToJSONTyped = RecordCreditBureauVerificationChecksCheckResultToJSONTyped;
21
+ const CheckResult_1 = require("./CheckResult");
22
+ /**
23
+ * Check if a given object implements the RecordCreditBureauVerificationChecksCheckResult interface.
24
+ */
25
+ function instanceOfRecordCreditBureauVerificationChecksCheckResult(value) {
26
+ if (!('IDENTITY_MATCH' in value) || value['IDENTITY_MATCH'] === undefined)
27
+ return false;
28
+ if (!('RESIDENCY_MATCH' in value) || value['RESIDENCY_MATCH'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function RecordCreditBureauVerificationChecksCheckResultFromJSON(json) {
33
+ return RecordCreditBureauVerificationChecksCheckResultFromJSONTyped(json, false);
34
+ }
35
+ function RecordCreditBureauVerificationChecksCheckResultFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'IDENTITY_MATCH': (0, CheckResult_1.CheckResultFromJSON)(json['IDENTITY_MATCH']),
41
+ 'RESIDENCY_MATCH': (0, CheckResult_1.CheckResultFromJSON)(json['RESIDENCY_MATCH']),
42
+ };
43
+ }
44
+ function RecordCreditBureauVerificationChecksCheckResultToJSON(json) {
45
+ return RecordCreditBureauVerificationChecksCheckResultToJSONTyped(json, false);
46
+ }
47
+ function RecordCreditBureauVerificationChecksCheckResultToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'IDENTITY_MATCH': (0, CheckResult_1.CheckResultToJSON)(value['IDENTITY_MATCH']),
53
+ 'RESIDENCY_MATCH': (0, CheckResult_1.CheckResultToJSON)(value['RESIDENCY_MATCH']),
54
+ };
55
+ }
56
+ //# sourceMappingURL=RecordCreditBureauVerificationChecksCheckResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordCreditBureauVerificationChecksCheckResult.js","sourceRoot":"","sources":["../../../src/openapi/models/RecordCreditBureauVerificationChecksCheckResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkCH,8HAIC;AAED,0HAEC;AAED,oIASC;AAED,sHAEC;AAED,gIAUC;AAjED,+CAKuB;AAsBvB;;GAEG;AACH,SAAgB,yDAAyD,CAAC,KAAa;IACnF,IAAI,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxF,IAAI,CAAC,CAAC,iBAAiB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1F,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,uDAAuD,CAAC,IAAS;IAC7E,OAAO,4DAA4D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrF,CAAC;AAED,SAAgB,4DAA4D,CAAC,IAAS,EAAE,mBAA4B;IAChH,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,gBAAgB,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7D,iBAAiB,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;KAClE,CAAC;AACN,CAAC;AAED,SAAgB,qDAAqD,CAAC,IAAS;IAC3E,OAAO,0DAA0D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnF,CAAC;AAED,SAAgB,0DAA0D,CAAC,KAA8D,EAAE,sBAA+B,KAAK;IAC3K,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,gBAAgB,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAC5D,iBAAiB,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;KACjE,CAAC;AACN,CAAC"}
@@ -46,7 +46,7 @@ export interface RequestVerificationInput {
46
46
  */
47
47
  postcode?: string;
48
48
  /**
49
- * The user's date of birth, if you have it
49
+ * The user's date of birth, if you have it. Format as YYYY-MM-DD or ISO 8601
50
50
  * @type {string}
51
51
  * @memberof RequestVerificationInput
52
52
  */
@@ -16,31 +16,49 @@
16
16
  */
17
17
  export interface SmartLookupInput {
18
18
  /**
19
- * Should be taken from GET /postcode endpoint
19
+ * (required) - Should be taken from GET /postcode endpoint
20
20
  * @type {string}
21
21
  * @memberof SmartLookupInput
22
22
  */
23
23
  first_line_of_address: string;
24
24
  /**
25
- *
25
+ * (required) - Postcode used in GET /postcode
26
26
  * @type {string}
27
27
  * @memberof SmartLookupInput
28
28
  */
29
29
  postcode: string;
30
30
  /**
31
- *
31
+ * (required) — Given name(s)
32
32
  * @type {string}
33
33
  * @memberof SmartLookupInput
34
34
  */
35
35
  first_name: string;
36
36
  /**
37
- *
37
+ * (required) — Family name
38
38
  * @type {string}
39
39
  * @memberof SmartLookupInput
40
40
  */
41
41
  last_name: string;
42
42
  /**
43
- * Experimental, other checks coming soon
43
+ * (optional) Email address
44
+ * @type {string}
45
+ * @memberof SmartLookupInput
46
+ */
47
+ email?: string;
48
+ /**
49
+ * (optional) — Phone number
50
+ * @type {string}
51
+ * @memberof SmartLookupInput
52
+ */
53
+ phone?: string;
54
+ /**
55
+ * (conditionally required) — Required when checks includes CreditBureau; otherwise optional. Format as YYYY-MM-DD or ISO 8601
56
+ * @type {string}
57
+ * @memberof SmartLookupInput
58
+ */
59
+ date_of_birth?: string;
60
+ /**
61
+ * (required) - Experimental, other checks coming soon
44
62
  * @type {Array<string>}
45
63
  * @memberof SmartLookupInput
46
64
  */
@@ -51,6 +69,7 @@ export interface SmartLookupInput {
51
69
  */
52
70
  export declare const SmartLookupInputChecksEnum: {
53
71
  readonly Address: "Address";
72
+ readonly CreditBureau: "CreditBureau";
54
73
  };
55
74
  export type SmartLookupInputChecksEnum = typeof SmartLookupInputChecksEnum[keyof typeof SmartLookupInputChecksEnum];
56
75
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"SmartLookupInput.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC7C;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAOnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAYvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAatH"}
1
+ {"version":3,"file":"SmartLookupInput.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC7C;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAOnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAevG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBtH"}
@@ -23,7 +23,8 @@ exports.SmartLookupInputToJSONTyped = SmartLookupInputToJSONTyped;
23
23
  * @export
24
24
  */
25
25
  exports.SmartLookupInputChecksEnum = {
26
- Address: 'Address'
26
+ Address: 'Address',
27
+ CreditBureau: 'CreditBureau'
27
28
  };
28
29
  /**
29
30
  * Check if a given object implements the SmartLookupInput interface.
@@ -53,6 +54,9 @@ function SmartLookupInputFromJSONTyped(json, ignoreDiscriminator) {
53
54
  'postcode': json['postcode'],
54
55
  'first_name': json['first_name'],
55
56
  'last_name': json['last_name'],
57
+ 'email': json['email'] == null ? undefined : json['email'],
58
+ 'phone': json['phone'] == null ? undefined : json['phone'],
59
+ 'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
56
60
  'checks': json['checks'],
57
61
  };
58
62
  }
@@ -68,6 +72,9 @@ function SmartLookupInputToJSONTyped(value, ignoreDiscriminator = false) {
68
72
  'postcode': value['postcode'],
69
73
  'first_name': value['first_name'],
70
74
  'last_name': value['last_name'],
75
+ 'email': value['email'],
76
+ 'phone': value['phone'],
77
+ 'date_of_birth': value['date_of_birth'],
71
78
  'checks': value['checks'],
72
79
  };
73
80
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SmartLookupInput.js","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsDH,gEAOC;AAED,4DAEC;AAED,sEAYC;AAED,wDAEC;AAED,kEAaC;AAxDD;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;CACZ,CAAC;AAIX;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACpD,IAAI,CAAC,CAAC,uBAAuB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,uBAAuB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtG,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE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,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC1D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC1D,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAClF,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,KAA+B,EAAE,sBAA+B,KAAK;IAC7G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACvD,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAC;AACN,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './AddressVerificationReport';
1
2
  export * from './ApiErrorResponse';
2
3
  export * from './AuthenticateInput';
3
4
  export * from './AuthenticateResponse';
@@ -6,15 +7,15 @@ export * from './CheckState';
6
7
  export * from './CreateTeamInput';
7
8
  export * from './CreateTeamResponse';
8
9
  export * from './CreateTeamResponseCredentials';
10
+ export * from './CreditBureauVerificationReport';
9
11
  export * from './Flow';
10
12
  export * from './FlowTemplate';
11
13
  export * from './GetSmartLookupResponse';
12
- export * from './Model36EnumsBackgroundCheck';
13
14
  export * from './Model36EnumsEnvironment';
14
15
  export * from './PostcodeResponse';
15
16
  export * from './Reason';
16
17
  export * from './RecordAddressVerificationChecksCheckResult';
17
- export * from './Report';
18
+ export * from './RecordCreditBureauVerificationChecksCheckResult';
18
19
  export * from './RequestVerificationInput';
19
20
  export * from './RequestVerificationResponse';
20
21
  export * from './SmartLookupInput';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,UAAU,CAAC;AACzB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC"}
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
+ __exportStar(require("./AddressVerificationReport"), exports);
19
20
  __exportStar(require("./ApiErrorResponse"), exports);
20
21
  __exportStar(require("./AuthenticateInput"), exports);
21
22
  __exportStar(require("./AuthenticateResponse"), exports);
@@ -24,15 +25,15 @@ __exportStar(require("./CheckState"), exports);
24
25
  __exportStar(require("./CreateTeamInput"), exports);
25
26
  __exportStar(require("./CreateTeamResponse"), exports);
26
27
  __exportStar(require("./CreateTeamResponseCredentials"), exports);
28
+ __exportStar(require("./CreditBureauVerificationReport"), exports);
27
29
  __exportStar(require("./Flow"), exports);
28
30
  __exportStar(require("./FlowTemplate"), exports);
29
31
  __exportStar(require("./GetSmartLookupResponse"), exports);
30
- __exportStar(require("./Model36EnumsBackgroundCheck"), exports);
31
32
  __exportStar(require("./Model36EnumsEnvironment"), exports);
32
33
  __exportStar(require("./PostcodeResponse"), exports);
33
34
  __exportStar(require("./Reason"), exports);
34
35
  __exportStar(require("./RecordAddressVerificationChecksCheckResult"), exports);
35
- __exportStar(require("./Report"), exports);
36
+ __exportStar(require("./RecordCreditBureauVerificationChecksCheckResult"), exports);
36
37
  __exportStar(require("./RequestVerificationInput"), exports);
37
38
  __exportStar(require("./RequestVerificationResponse"), exports);
38
39
  __exportStar(require("./SmartLookupInput"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,kEAAgD;AAChD,yCAAuB;AACvB,iDAA+B;AAC/B,2DAAyC;AACzC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,2CAAyB;AACzB,+EAA6D;AAC7D,2CAAyB;AACzB,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,yCAAuB;AACvB,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8DAA4C;AAC5C,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,kEAAgD;AAChD,mEAAiD;AACjD,yCAAuB;AACvB,iDAA+B;AAC/B,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,2CAAyB;AACzB,+EAA6D;AAC7D,oFAAkE;AAClE,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,yCAAuB;AACvB,iDAA+B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vouchsafe/node",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Official TypeScript and Node.js library for the Vouchsafe identity platform. Use it for easy KYC checks, identity verification, remote right-to-work and more.",
5
5
  "keywords": [
6
6
  "vouchsafe",