@vouchsafe/node 0.1.7 → 0.1.9

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 (35) 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/AmlVerificationReport.d.ts +41 -0
  4. package/dist/openapi/models/AmlVerificationReport.d.ts.map +1 -0
  5. package/dist/openapi/models/AmlVerificationReport.js +57 -0
  6. package/dist/openapi/models/AmlVerificationReport.js.map +1 -0
  7. package/dist/openapi/models/GetSmartLookupResponse.d.ts +16 -0
  8. package/dist/openapi/models/GetSmartLookupResponse.d.ts.map +1 -1
  9. package/dist/openapi/models/GetSmartLookupResponse.js +9 -1
  10. package/dist/openapi/models/GetSmartLookupResponse.js.map +1 -1
  11. package/dist/openapi/models/OnlineFootprintVerificationReport.d.ts +41 -0
  12. package/dist/openapi/models/OnlineFootprintVerificationReport.d.ts.map +1 -0
  13. package/dist/openapi/models/OnlineFootprintVerificationReport.js +57 -0
  14. package/dist/openapi/models/OnlineFootprintVerificationReport.js.map +1 -0
  15. package/dist/openapi/models/RecordAmlVerificationChecksCheckResult.d.ts +34 -0
  16. package/dist/openapi/models/RecordAmlVerificationChecksCheckResult.d.ts.map +1 -0
  17. package/dist/openapi/models/RecordAmlVerificationChecksCheckResult.js +52 -0
  18. package/dist/openapi/models/RecordAmlVerificationChecksCheckResult.js.map +1 -0
  19. package/dist/openapi/models/RecordOnlineFootprintVerificationChecksCheckResult.d.ts +40 -0
  20. package/dist/openapi/models/RecordOnlineFootprintVerificationChecksCheckResult.d.ts.map +1 -0
  21. package/dist/openapi/models/RecordOnlineFootprintVerificationChecksCheckResult.js +56 -0
  22. package/dist/openapi/models/RecordOnlineFootprintVerificationChecksCheckResult.js.map +1 -0
  23. package/dist/openapi/models/SmartLookupInput.d.ts +23 -14
  24. package/dist/openapi/models/SmartLookupInput.d.ts.map +1 -1
  25. package/dist/openapi/models/SmartLookupInput.js +12 -11
  26. package/dist/openapi/models/SmartLookupInput.js.map +1 -1
  27. package/dist/openapi/models/SmartLookupInputThresholds.d.ts +39 -0
  28. package/dist/openapi/models/SmartLookupInputThresholds.d.ts.map +1 -0
  29. package/dist/openapi/models/SmartLookupInputThresholds.js +51 -0
  30. package/dist/openapi/models/SmartLookupInputThresholds.js.map +1 -0
  31. package/dist/openapi/models/index.d.ts +5 -0
  32. package/dist/openapi/models/index.d.ts.map +1 -1
  33. package/dist/openapi/models/index.js +5 -0
  34. package/dist/openapi/models/index.js.map +1 -1
  35. 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 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).
25
+ * > The supported checks for this feature are `CreditBureau` (via an FCA-authorised bureau), `Address` (via the electoral roll), `OnlineFootprint` (aggregated from various sources), and `AML` (via a watchlist and sanctions database). 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(s) 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 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).
29
+ * > The supported checks for this feature are `CreditBureau` (via an FCA-authorised bureau), `Address` (via the electoral roll), `OnlineFootprint` (aggregated from various sources), and `AML` (via a watchlist and sanctions database). 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(s) 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 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).
57
+ * > The supported checks for this feature are `CreditBureau` (via an FCA-authorised bureau), `Address` (via the electoral roll), `OnlineFootprint` (aggregated from various sources), and `AML` (via a watchlist and sanctions database). 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(s) 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 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).
84
+ * > The supported checks for this feature are `CreditBureau` (via an FCA-authorised bureau), `Address` (via the electoral roll), `OnlineFootprint` (aggregated from various sources), and `AML` (via a watchlist and sanctions database). 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(s) 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 { RecordAmlVerificationChecksCheckResult } from './RecordAmlVerificationChecksCheckResult';
13
+ import type { CheckState } from './CheckState';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AmlVerificationReport
18
+ */
19
+ export interface AmlVerificationReport {
20
+ /**
21
+ *
22
+ * @type {CheckState}
23
+ * @memberof AmlVerificationReport
24
+ */
25
+ state: CheckState;
26
+ /**
27
+ *
28
+ * @type {RecordAmlVerificationChecksCheckResult}
29
+ * @memberof AmlVerificationReport
30
+ */
31
+ checks: RecordAmlVerificationChecksCheckResult;
32
+ }
33
+ /**
34
+ * Check if a given object implements the AmlVerificationReport interface.
35
+ */
36
+ export declare function instanceOfAmlVerificationReport(value: object): value is AmlVerificationReport;
37
+ export declare function AmlVerificationReportFromJSON(json: any): AmlVerificationReport;
38
+ export declare function AmlVerificationReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): AmlVerificationReport;
39
+ export declare function AmlVerificationReportToJSON(json: any): AmlVerificationReport;
40
+ export declare function AmlVerificationReportToJSONTyped(value?: AmlVerificationReport | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=AmlVerificationReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AmlVerificationReport.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/AmlVerificationReport.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAOvG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,sCAAsC,CAAC;CAClD;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhI"}
@@ -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.instanceOfAmlVerificationReport = instanceOfAmlVerificationReport;
17
+ exports.AmlVerificationReportFromJSON = AmlVerificationReportFromJSON;
18
+ exports.AmlVerificationReportFromJSONTyped = AmlVerificationReportFromJSONTyped;
19
+ exports.AmlVerificationReportToJSON = AmlVerificationReportToJSON;
20
+ exports.AmlVerificationReportToJSONTyped = AmlVerificationReportToJSONTyped;
21
+ const RecordAmlVerificationChecksCheckResult_1 = require("./RecordAmlVerificationChecksCheckResult");
22
+ const CheckState_1 = require("./CheckState");
23
+ /**
24
+ * Check if a given object implements the AmlVerificationReport interface.
25
+ */
26
+ function instanceOfAmlVerificationReport(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 AmlVerificationReportFromJSON(json) {
34
+ return AmlVerificationReportFromJSONTyped(json, false);
35
+ }
36
+ function AmlVerificationReportFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'state': (0, CheckState_1.CheckStateFromJSON)(json['state']),
42
+ 'checks': (0, RecordAmlVerificationChecksCheckResult_1.RecordAmlVerificationChecksCheckResultFromJSON)(json['checks']),
43
+ };
44
+ }
45
+ function AmlVerificationReportToJSON(json) {
46
+ return AmlVerificationReportToJSONTyped(json, false);
47
+ }
48
+ function AmlVerificationReportToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'state': (0, CheckState_1.CheckStateToJSON)(value['state']),
54
+ 'checks': (0, RecordAmlVerificationChecksCheckResult_1.RecordAmlVerificationChecksCheckResultToJSON)(value['checks']),
55
+ };
56
+ }
57
+ //# sourceMappingURL=AmlVerificationReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AmlVerificationReport.js","sourceRoot":"","sources":["../../../src/openapi/models/AmlVerificationReport.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,0EAIC;AAED,sEAEC;AAED,gFASC;AAED,kEAEC;AAED,4EAUC;AA1ED,qGAKkD;AAElD,6CAKsB;AAwBtB;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,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,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,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,uFAA8C,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC3E,CAAC;AACN,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,KAAoC,EAAE,sBAA+B,KAAK;IACvH,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,qFAA4C,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KAC1E,CAAC;AACN,CAAC"}
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { CreditBureauVerificationReport } from './CreditBureauVerificationReport';
13
+ import type { AmlVerificationReport } from './AmlVerificationReport';
14
+ import type { OnlineFootprintVerificationReport } from './OnlineFootprintVerificationReport';
13
15
  import type { AddressVerificationReport } from './AddressVerificationReport';
14
16
  /**
15
17
  *
@@ -89,6 +91,18 @@ export interface GetSmartLookupResponse {
89
91
  * @memberof GetSmartLookupResponse
90
92
  */
91
93
  credit_bureau_verification_report?: CreditBureauVerificationReport;
94
+ /**
95
+ *
96
+ * @type {OnlineFootprintVerificationReport}
97
+ * @memberof GetSmartLookupResponse
98
+ */
99
+ online_footprint_verification_report?: OnlineFootprintVerificationReport;
100
+ /**
101
+ *
102
+ * @type {AmlVerificationReport}
103
+ * @memberof GetSmartLookupResponse
104
+ */
105
+ aml_verification_report?: AmlVerificationReport;
92
106
  /**
93
107
  * Extra information to aid debugging. May change without notice.
94
108
  * @type {any}
@@ -108,6 +122,8 @@ export interface GetSmartLookupResponse {
108
122
  export declare const GetSmartLookupResponseChecksEnum: {
109
123
  readonly Address: "Address";
110
124
  readonly CreditBureau: "CreditBureau";
125
+ readonly OnlineFootprint: "OnlineFootprint";
126
+ readonly Aml: "AML";
111
127
  };
112
128
  export type GetSmartLookupResponseChecksEnum = typeof GetSmartLookupResponseChecksEnum[keyof typeof GetSmartLookupResponseChecksEnum];
113
129
  /**
@@ -1 +1 @@
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,KAA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;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"}
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,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAO7F,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,oCAAoC,CAAC,EAAE,iCAAiC,CAAC;IACzE;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,qBAAqB,CAAC;IAChD;;;;OAIG;IACH,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;CAKnC,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,CAuBnH;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,CAwBlI"}
@@ -20,13 +20,17 @@ exports.GetSmartLookupResponseFromJSONTyped = GetSmartLookupResponseFromJSONType
20
20
  exports.GetSmartLookupResponseToJSON = GetSmartLookupResponseToJSON;
21
21
  exports.GetSmartLookupResponseToJSONTyped = GetSmartLookupResponseToJSONTyped;
22
22
  const CreditBureauVerificationReport_1 = require("./CreditBureauVerificationReport");
23
+ const AmlVerificationReport_1 = require("./AmlVerificationReport");
24
+ const OnlineFootprintVerificationReport_1 = require("./OnlineFootprintVerificationReport");
23
25
  const AddressVerificationReport_1 = require("./AddressVerificationReport");
24
26
  /**
25
27
  * @export
26
28
  */
27
29
  exports.GetSmartLookupResponseChecksEnum = {
28
30
  Address: 'Address',
29
- CreditBureau: 'CreditBureau'
31
+ CreditBureau: 'CreditBureau',
32
+ OnlineFootprint: 'OnlineFootprint',
33
+ Aml: 'AML'
30
34
  };
31
35
  /**
32
36
  * Check if a given object implements the GetSmartLookupResponse interface.
@@ -72,6 +76,8 @@ function GetSmartLookupResponseFromJSONTyped(json, ignoreDiscriminator) {
72
76
  'phone': json['phone'] == null ? undefined : json['phone'],
73
77
  'address_verification_report': json['address_verification_report'] == null ? undefined : (0, AddressVerificationReport_1.AddressVerificationReportFromJSON)(json['address_verification_report']),
74
78
  'credit_bureau_verification_report': json['credit_bureau_verification_report'] == null ? undefined : (0, CreditBureauVerificationReport_1.CreditBureauVerificationReportFromJSON)(json['credit_bureau_verification_report']),
79
+ 'online_footprint_verification_report': json['online_footprint_verification_report'] == null ? undefined : (0, OnlineFootprintVerificationReport_1.OnlineFootprintVerificationReportFromJSON)(json['online_footprint_verification_report']),
80
+ 'aml_verification_report': json['aml_verification_report'] == null ? undefined : (0, AmlVerificationReport_1.AmlVerificationReportFromJSON)(json['aml_verification_report']),
75
81
  'metadata': json['metadata'],
76
82
  'created_at': json['created_at'],
77
83
  };
@@ -96,6 +102,8 @@ function GetSmartLookupResponseToJSONTyped(value, ignoreDiscriminator = false) {
96
102
  'phone': value['phone'],
97
103
  'address_verification_report': (0, AddressVerificationReport_1.AddressVerificationReportToJSON)(value['address_verification_report']),
98
104
  'credit_bureau_verification_report': (0, CreditBureauVerificationReport_1.CreditBureauVerificationReportToJSON)(value['credit_bureau_verification_report']),
105
+ 'online_footprint_verification_report': (0, OnlineFootprintVerificationReport_1.OnlineFootprintVerificationReportToJSON)(value['online_footprint_verification_report']),
106
+ 'aml_verification_report': (0, AmlVerificationReport_1.AmlVerificationReportToJSON)(value['aml_verification_report']),
99
107
  'metadata': value['metadata'],
100
108
  'created_at': value['created_at'],
101
109
  };
@@ -1 +1 @@
1
- {"version":3,"file":"GetSmartLookupResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/GetSmartLookupResponse.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C7B,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,6BAA6B,EAAE,IAAA,2DAA+B,EAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;QACpG,mCAAmC,EAAE,IAAA,qEAAoC,EAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC;QACrH,sCAAsC,EAAE,IAAA,2EAAuC,EAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC;QAC9H,yBAAyB,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;QACxF,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,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 { CheckState } from './CheckState';
13
+ import type { RecordOnlineFootprintVerificationChecksCheckResult } from './RecordOnlineFootprintVerificationChecksCheckResult';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface OnlineFootprintVerificationReport
18
+ */
19
+ export interface OnlineFootprintVerificationReport {
20
+ /**
21
+ *
22
+ * @type {CheckState}
23
+ * @memberof OnlineFootprintVerificationReport
24
+ */
25
+ state: CheckState;
26
+ /**
27
+ *
28
+ * @type {RecordOnlineFootprintVerificationChecksCheckResult}
29
+ * @memberof OnlineFootprintVerificationReport
30
+ */
31
+ checks: RecordOnlineFootprintVerificationChecksCheckResult;
32
+ }
33
+ /**
34
+ * Check if a given object implements the OnlineFootprintVerificationReport interface.
35
+ */
36
+ export declare function instanceOfOnlineFootprintVerificationReport(value: object): value is OnlineFootprintVerificationReport;
37
+ export declare function OnlineFootprintVerificationReportFromJSON(json: any): OnlineFootprintVerificationReport;
38
+ export declare function OnlineFootprintVerificationReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): OnlineFootprintVerificationReport;
39
+ export declare function OnlineFootprintVerificationReportToJSON(json: any): OnlineFootprintVerificationReport;
40
+ export declare function OnlineFootprintVerificationReportToJSONTyped(value?: OnlineFootprintVerificationReport | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=OnlineFootprintVerificationReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnlineFootprintVerificationReport.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/OnlineFootprintVerificationReport.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,kDAAkD,EAAE,MAAM,sDAAsD,CAAC;AAQ/H;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,kDAAkD,CAAC;CAC9D;AAID;;GAEG;AACH,wBAAgB,2CAA2C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iCAAiC,CAIrH;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CASzI;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEpG;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxJ"}
@@ -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.instanceOfOnlineFootprintVerificationReport = instanceOfOnlineFootprintVerificationReport;
17
+ exports.OnlineFootprintVerificationReportFromJSON = OnlineFootprintVerificationReportFromJSON;
18
+ exports.OnlineFootprintVerificationReportFromJSONTyped = OnlineFootprintVerificationReportFromJSONTyped;
19
+ exports.OnlineFootprintVerificationReportToJSON = OnlineFootprintVerificationReportToJSON;
20
+ exports.OnlineFootprintVerificationReportToJSONTyped = OnlineFootprintVerificationReportToJSONTyped;
21
+ const CheckState_1 = require("./CheckState");
22
+ const RecordOnlineFootprintVerificationChecksCheckResult_1 = require("./RecordOnlineFootprintVerificationChecksCheckResult");
23
+ /**
24
+ * Check if a given object implements the OnlineFootprintVerificationReport interface.
25
+ */
26
+ function instanceOfOnlineFootprintVerificationReport(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 OnlineFootprintVerificationReportFromJSON(json) {
34
+ return OnlineFootprintVerificationReportFromJSONTyped(json, false);
35
+ }
36
+ function OnlineFootprintVerificationReportFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'state': (0, CheckState_1.CheckStateFromJSON)(json['state']),
42
+ 'checks': (0, RecordOnlineFootprintVerificationChecksCheckResult_1.RecordOnlineFootprintVerificationChecksCheckResultFromJSON)(json['checks']),
43
+ };
44
+ }
45
+ function OnlineFootprintVerificationReportToJSON(json) {
46
+ return OnlineFootprintVerificationReportToJSONTyped(json, false);
47
+ }
48
+ function OnlineFootprintVerificationReportToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'state': (0, CheckState_1.CheckStateToJSON)(value['state']),
54
+ 'checks': (0, RecordOnlineFootprintVerificationChecksCheckResult_1.RecordOnlineFootprintVerificationChecksCheckResultToJSON)(value['checks']),
55
+ };
56
+ }
57
+ //# sourceMappingURL=OnlineFootprintVerificationReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnlineFootprintVerificationReport.js","sourceRoot":"","sources":["../../../src/openapi/models/OnlineFootprintVerificationReport.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,kGAIC;AAED,8FAEC;AAED,wGASC;AAED,0FAEC;AAED,oGAUC;AA1ED,6CAKsB;AAEtB,6HAK8D;AAwB9D;;GAEG;AACH,SAAgB,2CAA2C,CAAC,KAAa;IACrE,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,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAAC,IAAS,EAAE,mBAA4B;IAClG,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,+GAA0D,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACvF,CAAC;AACN,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,SAAgB,4CAA4C,CAAC,KAAgD,EAAE,sBAA+B,KAAK;IAC/I,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,6GAAwD,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KACtF,CAAC;AACN,CAAC"}
@@ -0,0 +1,34 @@
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 RecordAmlVerificationChecksCheckResult
17
+ */
18
+ export interface RecordAmlVerificationChecksCheckResult {
19
+ /**
20
+ *
21
+ * @type {CheckResult}
22
+ * @memberof RecordAmlVerificationChecksCheckResult
23
+ */
24
+ AML_SANCTIONS_CHECK: CheckResult;
25
+ }
26
+ /**
27
+ * Check if a given object implements the RecordAmlVerificationChecksCheckResult interface.
28
+ */
29
+ export declare function instanceOfRecordAmlVerificationChecksCheckResult(value: object): value is RecordAmlVerificationChecksCheckResult;
30
+ export declare function RecordAmlVerificationChecksCheckResultFromJSON(json: any): RecordAmlVerificationChecksCheckResult;
31
+ export declare function RecordAmlVerificationChecksCheckResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordAmlVerificationChecksCheckResult;
32
+ export declare function RecordAmlVerificationChecksCheckResultToJSON(json: any): RecordAmlVerificationChecksCheckResult;
33
+ export declare function RecordAmlVerificationChecksCheckResultToJSONTyped(value?: RecordAmlVerificationChecksCheckResult | null, ignoreDiscriminator?: boolean): any;
34
+ //# sourceMappingURL=RecordAmlVerificationChecksCheckResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordAmlVerificationChecksCheckResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RecordAmlVerificationChecksCheckResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,mBAAmB,EAAE,WAAW,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sCAAsC,CAG/H;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAEhH;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CAQnJ;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAE9G;AAED,wBAAgB,iDAAiD,CAAC,KAAK,CAAC,EAAE,sCAAsC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASlK"}
@@ -0,0 +1,52 @@
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.instanceOfRecordAmlVerificationChecksCheckResult = instanceOfRecordAmlVerificationChecksCheckResult;
17
+ exports.RecordAmlVerificationChecksCheckResultFromJSON = RecordAmlVerificationChecksCheckResultFromJSON;
18
+ exports.RecordAmlVerificationChecksCheckResultFromJSONTyped = RecordAmlVerificationChecksCheckResultFromJSONTyped;
19
+ exports.RecordAmlVerificationChecksCheckResultToJSON = RecordAmlVerificationChecksCheckResultToJSON;
20
+ exports.RecordAmlVerificationChecksCheckResultToJSONTyped = RecordAmlVerificationChecksCheckResultToJSONTyped;
21
+ const CheckResult_1 = require("./CheckResult");
22
+ /**
23
+ * Check if a given object implements the RecordAmlVerificationChecksCheckResult interface.
24
+ */
25
+ function instanceOfRecordAmlVerificationChecksCheckResult(value) {
26
+ if (!('AML_SANCTIONS_CHECK' in value) || value['AML_SANCTIONS_CHECK'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function RecordAmlVerificationChecksCheckResultFromJSON(json) {
31
+ return RecordAmlVerificationChecksCheckResultFromJSONTyped(json, false);
32
+ }
33
+ function RecordAmlVerificationChecksCheckResultFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'AML_SANCTIONS_CHECK': (0, CheckResult_1.CheckResultFromJSON)(json['AML_SANCTIONS_CHECK']),
39
+ };
40
+ }
41
+ function RecordAmlVerificationChecksCheckResultToJSON(json) {
42
+ return RecordAmlVerificationChecksCheckResultToJSONTyped(json, false);
43
+ }
44
+ function RecordAmlVerificationChecksCheckResultToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'AML_SANCTIONS_CHECK': (0, CheckResult_1.CheckResultToJSON)(value['AML_SANCTIONS_CHECK']),
50
+ };
51
+ }
52
+ //# sourceMappingURL=RecordAmlVerificationChecksCheckResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordAmlVerificationChecksCheckResult.js","sourceRoot":"","sources":["../../../src/openapi/models/RecordAmlVerificationChecksCheckResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,4GAGC;AAED,wGAEC;AAED,kHAQC;AAED,oGAEC;AAED,8GASC;AAxDD,+CAKuB;AAgBvB;;GAEG;AACH,SAAgB,gDAAgD,CAAC,KAAa;IAC1E,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClG,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,8CAA8C,CAAC,IAAS;IACpE,OAAO,mDAAmD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5E,CAAC;AAED,SAAgB,mDAAmD,CAAC,IAAS,EAAE,mBAA4B;IACvG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,qBAAqB,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;KAC1E,CAAC;AACN,CAAC;AAED,SAAgB,4CAA4C,CAAC,IAAS;IAClE,OAAO,iDAAiD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,SAAgB,iDAAiD,CAAC,KAAqD,EAAE,sBAA+B,KAAK;IACzJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,qBAAqB,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;KACzE,CAAC;AACN,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 RecordOnlineFootprintVerificationChecksCheckResult
17
+ */
18
+ export interface RecordOnlineFootprintVerificationChecksCheckResult {
19
+ /**
20
+ *
21
+ * @type {CheckResult}
22
+ * @memberof RecordOnlineFootprintVerificationChecksCheckResult
23
+ */
24
+ EMAIL_SCORE: CheckResult;
25
+ /**
26
+ *
27
+ * @type {CheckResult}
28
+ * @memberof RecordOnlineFootprintVerificationChecksCheckResult
29
+ */
30
+ PHONE_SCORE: CheckResult;
31
+ }
32
+ /**
33
+ * Check if a given object implements the RecordOnlineFootprintVerificationChecksCheckResult interface.
34
+ */
35
+ export declare function instanceOfRecordOnlineFootprintVerificationChecksCheckResult(value: object): value is RecordOnlineFootprintVerificationChecksCheckResult;
36
+ export declare function RecordOnlineFootprintVerificationChecksCheckResultFromJSON(json: any): RecordOnlineFootprintVerificationChecksCheckResult;
37
+ export declare function RecordOnlineFootprintVerificationChecksCheckResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordOnlineFootprintVerificationChecksCheckResult;
38
+ export declare function RecordOnlineFootprintVerificationChecksCheckResultToJSON(json: any): RecordOnlineFootprintVerificationChecksCheckResult;
39
+ export declare function RecordOnlineFootprintVerificationChecksCheckResultToJSONTyped(value?: RecordOnlineFootprintVerificationChecksCheckResult | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=RecordOnlineFootprintVerificationChecksCheckResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordOnlineFootprintVerificationChecksCheckResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RecordOnlineFootprintVerificationChecksCheckResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,4DAA4D,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kDAAkD,CAIvJ;AAED,wBAAgB,0DAA0D,CAAC,IAAI,EAAE,GAAG,GAAG,kDAAkD,CAExI;AAED,wBAAgB,+DAA+D,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kDAAkD,CAS3K;AAED,wBAAgB,wDAAwD,CAAC,IAAI,EAAE,GAAG,GAAG,kDAAkD,CAEtI;AAED,wBAAgB,6DAA6D,CAAC,KAAK,CAAC,EAAE,kDAAkD,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1L"}
@@ -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.instanceOfRecordOnlineFootprintVerificationChecksCheckResult = instanceOfRecordOnlineFootprintVerificationChecksCheckResult;
17
+ exports.RecordOnlineFootprintVerificationChecksCheckResultFromJSON = RecordOnlineFootprintVerificationChecksCheckResultFromJSON;
18
+ exports.RecordOnlineFootprintVerificationChecksCheckResultFromJSONTyped = RecordOnlineFootprintVerificationChecksCheckResultFromJSONTyped;
19
+ exports.RecordOnlineFootprintVerificationChecksCheckResultToJSON = RecordOnlineFootprintVerificationChecksCheckResultToJSON;
20
+ exports.RecordOnlineFootprintVerificationChecksCheckResultToJSONTyped = RecordOnlineFootprintVerificationChecksCheckResultToJSONTyped;
21
+ const CheckResult_1 = require("./CheckResult");
22
+ /**
23
+ * Check if a given object implements the RecordOnlineFootprintVerificationChecksCheckResult interface.
24
+ */
25
+ function instanceOfRecordOnlineFootprintVerificationChecksCheckResult(value) {
26
+ if (!('EMAIL_SCORE' in value) || value['EMAIL_SCORE'] === undefined)
27
+ return false;
28
+ if (!('PHONE_SCORE' in value) || value['PHONE_SCORE'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function RecordOnlineFootprintVerificationChecksCheckResultFromJSON(json) {
33
+ return RecordOnlineFootprintVerificationChecksCheckResultFromJSONTyped(json, false);
34
+ }
35
+ function RecordOnlineFootprintVerificationChecksCheckResultFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'EMAIL_SCORE': (0, CheckResult_1.CheckResultFromJSON)(json['EMAIL_SCORE']),
41
+ 'PHONE_SCORE': (0, CheckResult_1.CheckResultFromJSON)(json['PHONE_SCORE']),
42
+ };
43
+ }
44
+ function RecordOnlineFootprintVerificationChecksCheckResultToJSON(json) {
45
+ return RecordOnlineFootprintVerificationChecksCheckResultToJSONTyped(json, false);
46
+ }
47
+ function RecordOnlineFootprintVerificationChecksCheckResultToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'EMAIL_SCORE': (0, CheckResult_1.CheckResultToJSON)(value['EMAIL_SCORE']),
53
+ 'PHONE_SCORE': (0, CheckResult_1.CheckResultToJSON)(value['PHONE_SCORE']),
54
+ };
55
+ }
56
+ //# sourceMappingURL=RecordOnlineFootprintVerificationChecksCheckResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordOnlineFootprintVerificationChecksCheckResult.js","sourceRoot":"","sources":["../../../src/openapi/models/RecordOnlineFootprintVerificationChecksCheckResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkCH,oIAIC;AAED,gIAEC;AAED,0IASC;AAED,4HAEC;AAED,sIAUC;AAjED,+CAKuB;AAsBvB;;GAEG;AACH,SAAgB,4DAA4D,CAAC,KAAa;IACtF,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0DAA0D,CAAC,IAAS;IAChF,OAAO,+DAA+D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxF,CAAC;AAED,SAAgB,+DAA+D,CAAC,IAAS,EAAE,mBAA4B;IACnH,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,aAAa,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACvD,aAAa,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;KAC1D,CAAC;AACN,CAAC;AAED,SAAgB,wDAAwD,CAAC,IAAS;IAC9E,OAAO,6DAA6D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtF,CAAC;AAED,SAAgB,6DAA6D,CAAC,KAAiE,EAAE,sBAA+B,KAAK;IACjL,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,aAAa,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACtD,aAAa,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;KACzD,CAAC;AACN,CAAC"}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { SmartLookupInputThresholds } from './SmartLookupInputThresholds';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -16,53 +17,59 @@
16
17
  */
17
18
  export interface SmartLookupInput {
18
19
  /**
19
- * (required) - Should be taken from GET /postcode endpoint
20
+ * (required) Given name(s)
20
21
  * @type {string}
21
22
  * @memberof SmartLookupInput
22
23
  */
23
- first_line_of_address: string;
24
+ first_name: string;
24
25
  /**
25
- * (required) - Postcode used in GET /postcode
26
+ * (required) Family name
26
27
  * @type {string}
27
28
  * @memberof SmartLookupInput
28
29
  */
29
- postcode: string;
30
+ last_name: string;
30
31
  /**
31
- * (required) — Given name(s)
32
+ * (required)
33
+ * @type {Array<string>}
34
+ * @memberof SmartLookupInput
35
+ */
36
+ checks: Array<SmartLookupInputChecksEnum>;
37
+ /**
38
+ * (conditionally required) - Required when checks includes Address or CreditBureau; otherwise optional. Should be taken from GET /postcode endpoint
32
39
  * @type {string}
33
40
  * @memberof SmartLookupInput
34
41
  */
35
- first_name: string;
42
+ first_line_of_address?: string;
36
43
  /**
37
- * (required) Family name
44
+ * (conditionally required) - Postcode used in GET /postcode. Required when checks includes Address or CreditBureau; otherwise optional.
38
45
  * @type {string}
39
46
  * @memberof SmartLookupInput
40
47
  */
41
- last_name: string;
48
+ postcode?: string;
42
49
  /**
43
- * (optional) — Email address
50
+ * (conditionally required) — Email address. Either email or phone is required when checks includes OnlineFootprint; otherwise optional.
44
51
  * @type {string}
45
52
  * @memberof SmartLookupInput
46
53
  */
47
54
  email?: string;
48
55
  /**
49
- * (optional) — Phone number
56
+ * (conditionally required) — Phone number. Either email or phone is required when checks includes OnlineFootprint; otherwise optional.
50
57
  * @type {string}
51
58
  * @memberof SmartLookupInput
52
59
  */
53
60
  phone?: string;
54
61
  /**
55
- * (conditionally required) — Required when checks includes CreditBureau; otherwise optional. Format as YYYY-MM-DD or ISO 8601
62
+ * (conditionally required) — Required when checks includes CreditBureau or AML; otherwise optional. Format as YYYY-MM-DD or ISO 8601
56
63
  * @type {string}
57
64
  * @memberof SmartLookupInput
58
65
  */
59
66
  date_of_birth?: string;
60
67
  /**
61
- * (required) - Experimental, other checks coming soon
62
- * @type {Array<string>}
68
+ *
69
+ * @type {SmartLookupInputThresholds}
63
70
  * @memberof SmartLookupInput
64
71
  */
65
- checks: Array<SmartLookupInputChecksEnum>;
72
+ thresholds?: SmartLookupInputThresholds;
66
73
  }
67
74
  /**
68
75
  * @export
@@ -70,6 +77,8 @@ export interface SmartLookupInput {
70
77
  export declare const SmartLookupInputChecksEnum: {
71
78
  readonly Address: "Address";
72
79
  readonly CreditBureau: "CreditBureau";
80
+ readonly OnlineFootprint: "OnlineFootprint";
81
+ readonly Aml: "AML";
73
82
  };
74
83
  export type SmartLookupInputChecksEnum = typeof SmartLookupInputChecksEnum[keyof typeof SmartLookupInputChecksEnum];
75
84
  /**
@@ -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;IACj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0BAA0B,CAAC,CAAC;IAC1C;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,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,UAAU,CAAC,EAAE,0BAA0B,CAAC;CAC3C;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;CAK7B,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,CAKnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAgBvG;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,CAiBtH"}
@@ -19,21 +19,20 @@ exports.SmartLookupInputFromJSON = SmartLookupInputFromJSON;
19
19
  exports.SmartLookupInputFromJSONTyped = SmartLookupInputFromJSONTyped;
20
20
  exports.SmartLookupInputToJSON = SmartLookupInputToJSON;
21
21
  exports.SmartLookupInputToJSONTyped = SmartLookupInputToJSONTyped;
22
+ const SmartLookupInputThresholds_1 = require("./SmartLookupInputThresholds");
22
23
  /**
23
24
  * @export
24
25
  */
25
26
  exports.SmartLookupInputChecksEnum = {
26
27
  Address: 'Address',
27
- CreditBureau: 'CreditBureau'
28
+ CreditBureau: 'CreditBureau',
29
+ OnlineFootprint: 'OnlineFootprint',
30
+ Aml: 'AML'
28
31
  };
29
32
  /**
30
33
  * Check if a given object implements the SmartLookupInput interface.
31
34
  */
32
35
  function instanceOfSmartLookupInput(value) {
33
- if (!('first_line_of_address' in value) || value['first_line_of_address'] === undefined)
34
- return false;
35
- if (!('postcode' in value) || value['postcode'] === undefined)
36
- return false;
37
36
  if (!('first_name' in value) || value['first_name'] === undefined)
38
37
  return false;
39
38
  if (!('last_name' in value) || value['last_name'] === undefined)
@@ -50,14 +49,15 @@ function SmartLookupInputFromJSONTyped(json, ignoreDiscriminator) {
50
49
  return json;
51
50
  }
52
51
  return {
53
- 'first_line_of_address': json['first_line_of_address'],
54
- 'postcode': json['postcode'],
55
52
  'first_name': json['first_name'],
56
53
  'last_name': json['last_name'],
54
+ 'checks': json['checks'],
55
+ 'first_line_of_address': json['first_line_of_address'] == null ? undefined : json['first_line_of_address'],
56
+ 'postcode': json['postcode'] == null ? undefined : json['postcode'],
57
57
  'email': json['email'] == null ? undefined : json['email'],
58
58
  'phone': json['phone'] == null ? undefined : json['phone'],
59
59
  'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
60
- 'checks': json['checks'],
60
+ 'thresholds': json['thresholds'] == null ? undefined : (0, SmartLookupInputThresholds_1.SmartLookupInputThresholdsFromJSON)(json['thresholds']),
61
61
  };
62
62
  }
63
63
  function SmartLookupInputToJSON(json) {
@@ -68,14 +68,15 @@ function SmartLookupInputToJSONTyped(value, ignoreDiscriminator = false) {
68
68
  return value;
69
69
  }
70
70
  return {
71
- 'first_line_of_address': value['first_line_of_address'],
72
- 'postcode': value['postcode'],
73
71
  'first_name': value['first_name'],
74
72
  'last_name': value['last_name'],
73
+ 'checks': value['checks'],
74
+ 'first_line_of_address': value['first_line_of_address'],
75
+ 'postcode': value['postcode'],
75
76
  'email': value['email'],
76
77
  'phone': value['phone'],
77
78
  'date_of_birth': value['date_of_birth'],
78
- 'checks': value['checks'],
79
+ 'thresholds': (0, SmartLookupInputThresholds_1.SmartLookupInputThresholdsToJSON)(value['thresholds']),
79
80
  };
80
81
  }
81
82
  //# sourceMappingURL=SmartLookupInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SmartLookupInput.js","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAyEH,gEAOC;AAED,4DAEC;AAED,sEAeC;AAED,wDAEC;AAED,kEAgBC;AA/DD;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,cAAc;CACtB,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,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;A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AAC;QACzB,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACvD,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,YAAY,EAAE,IAAA,6DAAgC,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACtE,CAAC;AACN,CAAC"}
@@ -0,0 +1,39 @@
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
+ /**
13
+ * (conditionally required) — Used to set a threshold for OnlineFootprint and AML checks, otherwise defaulting to 50 and 96 for OnlineFootprint and AML respectively
14
+ * @export
15
+ * @interface SmartLookupInputThresholds
16
+ */
17
+ export interface SmartLookupInputThresholds {
18
+ /**
19
+ * Minimum score required to pass AML check (0-100)
20
+ * @type {number}
21
+ * @memberof SmartLookupInputThresholds
22
+ */
23
+ aml?: number;
24
+ /**
25
+ * Minimum score required to pass online footprint check (0-100)
26
+ * @type {number}
27
+ * @memberof SmartLookupInputThresholds
28
+ */
29
+ onlineFootprint?: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SmartLookupInputThresholds interface.
33
+ */
34
+ export declare function instanceOfSmartLookupInputThresholds(value: object): value is SmartLookupInputThresholds;
35
+ export declare function SmartLookupInputThresholdsFromJSON(json: any): SmartLookupInputThresholds;
36
+ export declare function SmartLookupInputThresholdsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartLookupInputThresholds;
37
+ export declare function SmartLookupInputThresholdsToJSON(json: any): SmartLookupInputThresholds;
38
+ export declare function SmartLookupInputThresholdsToJSONTyped(value?: SmartLookupInputThresholds | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=SmartLookupInputThresholds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SmartLookupInputThresholds.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInputThresholds.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAS3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1I"}
@@ -0,0 +1,51 @@
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.instanceOfSmartLookupInputThresholds = instanceOfSmartLookupInputThresholds;
17
+ exports.SmartLookupInputThresholdsFromJSON = SmartLookupInputThresholdsFromJSON;
18
+ exports.SmartLookupInputThresholdsFromJSONTyped = SmartLookupInputThresholdsFromJSONTyped;
19
+ exports.SmartLookupInputThresholdsToJSON = SmartLookupInputThresholdsToJSON;
20
+ exports.SmartLookupInputThresholdsToJSONTyped = SmartLookupInputThresholdsToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SmartLookupInputThresholds interface.
23
+ */
24
+ function instanceOfSmartLookupInputThresholds(value) {
25
+ return true;
26
+ }
27
+ function SmartLookupInputThresholdsFromJSON(json) {
28
+ return SmartLookupInputThresholdsFromJSONTyped(json, false);
29
+ }
30
+ function SmartLookupInputThresholdsFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'aml': json['aml'] == null ? undefined : json['aml'],
36
+ 'onlineFootprint': json['onlineFootprint'] == null ? undefined : json['onlineFootprint'],
37
+ };
38
+ }
39
+ function SmartLookupInputThresholdsToJSON(json) {
40
+ return SmartLookupInputThresholdsToJSONTyped(json, false);
41
+ }
42
+ function SmartLookupInputThresholdsToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'aml': value['aml'],
48
+ 'onlineFootprint': value['onlineFootprint'],
49
+ };
50
+ }
51
+ //# sourceMappingURL=SmartLookupInputThresholds.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SmartLookupInputThresholds.js","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInputThresholds.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,oFAEC;AAED,gFAEC;AAED,0FASC;AAED,4EAEC;AAED,sFAUC;AApCD;;GAEG;AACH,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QACpD,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;KAC3F,CAAC;AACN,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,SAAgB,qCAAqC,CAAC,KAAyC,EAAE,sBAA+B,KAAK;IACjI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;KAC9C,CAAC;AACN,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './AddressVerificationReport';
2
+ export * from './AmlVerificationReport';
2
3
  export * from './ApiErrorResponse';
3
4
  export * from './AuthenticateInput';
4
5
  export * from './AuthenticateResponse';
@@ -12,13 +13,17 @@ export * from './Flow';
12
13
  export * from './FlowTemplate';
13
14
  export * from './GetSmartLookupResponse';
14
15
  export * from './Model36EnumsEnvironment';
16
+ export * from './OnlineFootprintVerificationReport';
15
17
  export * from './PostcodeResponse';
16
18
  export * from './Reason';
17
19
  export * from './RecordAddressVerificationChecksCheckResult';
20
+ export * from './RecordAmlVerificationChecksCheckResult';
18
21
  export * from './RecordCreditBureauVerificationChecksCheckResult';
22
+ export * from './RecordOnlineFootprintVerificationChecksCheckResult';
19
23
  export * from './RequestVerificationInput';
20
24
  export * from './RequestVerificationResponse';
21
25
  export * from './SmartLookupInput';
26
+ export * from './SmartLookupInputThresholds';
22
27
  export * from './Status';
23
28
  export * from './Team';
24
29
  export * from './Verification';
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,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,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AACrE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC"}
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./AddressVerificationReport"), exports);
20
+ __exportStar(require("./AmlVerificationReport"), exports);
20
21
  __exportStar(require("./ApiErrorResponse"), exports);
21
22
  __exportStar(require("./AuthenticateInput"), exports);
22
23
  __exportStar(require("./AuthenticateResponse"), exports);
@@ -30,13 +31,17 @@ __exportStar(require("./Flow"), exports);
30
31
  __exportStar(require("./FlowTemplate"), exports);
31
32
  __exportStar(require("./GetSmartLookupResponse"), exports);
32
33
  __exportStar(require("./Model36EnumsEnvironment"), exports);
34
+ __exportStar(require("./OnlineFootprintVerificationReport"), exports);
33
35
  __exportStar(require("./PostcodeResponse"), exports);
34
36
  __exportStar(require("./Reason"), exports);
35
37
  __exportStar(require("./RecordAddressVerificationChecksCheckResult"), exports);
38
+ __exportStar(require("./RecordAmlVerificationChecksCheckResult"), exports);
36
39
  __exportStar(require("./RecordCreditBureauVerificationChecksCheckResult"), exports);
40
+ __exportStar(require("./RecordOnlineFootprintVerificationChecksCheckResult"), exports);
37
41
  __exportStar(require("./RequestVerificationInput"), exports);
38
42
  __exportStar(require("./RequestVerificationResponse"), exports);
39
43
  __exportStar(require("./SmartLookupInput"), exports);
44
+ __exportStar(require("./SmartLookupInputThresholds"), exports);
40
45
  __exportStar(require("./Status"), exports);
41
46
  __exportStar(require("./Team"), exports);
42
47
  __exportStar(require("./Verification"), exports);
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8DAA4C;AAC5C,0DAAwC;AACxC,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,sEAAoD;AACpD,qDAAmC;AACnC,2CAAyB;AACzB,+EAA6D;AAC7D,2EAAyD;AACzD,oFAAkE;AAClE,uFAAqE;AACrE,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,+DAA6C;AAC7C,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.7",
3
+ "version": "0.1.9",
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",