@vouchsafe/node 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi/apis/SupportingDocumentVerificationApi.d.ts +32 -0
- package/dist/openapi/apis/SupportingDocumentVerificationApi.d.ts.map +1 -0
- package/dist/openapi/apis/SupportingDocumentVerificationApi.js +118 -0
- package/dist/openapi/apis/SupportingDocumentVerificationApi.js.map +1 -0
- package/dist/openapi/apis/index.d.ts +1 -0
- package/dist/openapi/apis/index.d.ts.map +1 -1
- package/dist/openapi/apis/index.js +1 -0
- package/dist/openapi/apis/index.js.map +1 -1
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts +15 -13
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts.map +1 -1
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js +15 -19
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js.map +1 -1
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.d.ts +7 -7
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.js +7 -7
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.js.map +1 -1
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.d.ts +7 -7
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js +7 -7
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js.map +1 -1
- package/dist/openapi/models/CategoryMatchFailedReason.d.ts +25 -0
- package/dist/openapi/models/CategoryMatchFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/CategoryMatchFailedReason.js +51 -0
- package/dist/openapi/models/CategoryMatchFailedReason.js.map +1 -0
- package/dist/openapi/models/CategoryMatchResult.d.ts +41 -0
- package/dist/openapi/models/CategoryMatchResult.d.ts.map +1 -0
- package/dist/openapi/models/CategoryMatchResult.js +55 -0
- package/dist/openapi/models/CategoryMatchResult.js.map +1 -0
- package/dist/openapi/models/DocumentAgeValidFailedReason.d.ts +27 -0
- package/dist/openapi/models/DocumentAgeValidFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/DocumentAgeValidFailedReason.js +53 -0
- package/dist/openapi/models/DocumentAgeValidFailedReason.js.map +1 -0
- package/dist/openapi/models/DocumentAgeValidResult.d.ts +41 -0
- package/dist/openapi/models/DocumentAgeValidResult.d.ts.map +1 -0
- package/dist/openapi/models/DocumentAgeValidResult.js +55 -0
- package/dist/openapi/models/DocumentAgeValidResult.js.map +1 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.d.ts +26 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.js +52 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.js.map +1 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleResult.d.ts +41 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleResult.d.ts.map +1 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleResult.js +55 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleResult.js.map +1 -0
- package/dist/openapi/models/Reason.d.ts +4 -0
- package/dist/openapi/models/Reason.d.ts.map +1 -1
- package/dist/openapi/models/Reason.js +4 -0
- package/dist/openapi/models/Reason.js.map +1 -1
- package/dist/openapi/models/RequiredFieldsExtractedFailedReason.d.ts +25 -0
- package/dist/openapi/models/RequiredFieldsExtractedFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/RequiredFieldsExtractedFailedReason.js +51 -0
- package/dist/openapi/models/RequiredFieldsExtractedFailedReason.js.map +1 -0
- package/dist/openapi/models/RequiredFieldsExtractedResult.d.ts +41 -0
- package/dist/openapi/models/RequiredFieldsExtractedResult.d.ts.map +1 -0
- package/dist/openapi/models/RequiredFieldsExtractedResult.js +55 -0
- package/dist/openapi/models/RequiredFieldsExtractedResult.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentEvidenceType.d.ts +34 -0
- package/dist/openapi/models/SupportingDocumentEvidenceType.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentEvidenceType.js +60 -0
- package/dist/openapi/models/SupportingDocumentEvidenceType.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentExtractedDetails.d.ts +75 -0
- package/dist/openapi/models/SupportingDocumentExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentExtractedDetails.js +79 -0
- package/dist/openapi/models/SupportingDocumentExtractedDetails.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentValidations.d.ts +62 -0
- package/dist/openapi/models/SupportingDocumentValidations.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentValidations.js +62 -0
- package/dist/openapi/models/SupportingDocumentValidations.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponse.d.ts +74 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponse.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponse.js +82 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponse.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.d.ts +75 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.js +79 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.d.ts +62 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.js +62 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.js.map +1 -0
- package/dist/openapi/models/TamperingSignalsCheckFailedReason.d.ts +25 -0
- package/dist/openapi/models/TamperingSignalsCheckFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/TamperingSignalsCheckFailedReason.js +51 -0
- package/dist/openapi/models/TamperingSignalsCheckFailedReason.js.map +1 -0
- package/dist/openapi/models/TamperingSignalsCheckResult.d.ts +41 -0
- package/dist/openapi/models/TamperingSignalsCheckResult.d.ts.map +1 -0
- package/dist/openapi/models/TamperingSignalsCheckResult.js +55 -0
- package/dist/openapi/models/TamperingSignalsCheckResult.js.map +1 -0
- package/dist/openapi/models/index.d.ts +16 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +16 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { SupportingDocumentVerificationResponse } from '../models/index';
|
|
14
|
+
export interface VerifySupportingDocumentRequest {
|
|
15
|
+
document: Blob;
|
|
16
|
+
subType: string;
|
|
17
|
+
minimumDocumentLength?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare class SupportingDocumentVerificationApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Extract and validate a supporting document. This endpoint accepts a document file (PDF, JPG, or PNG) and extracts personal identity information and address details. **Request format:** This endpoint accepts `multipart/form-data` with: - `document` - The document file (PDF, JPG, or PNG, max 10MB) - `sub_type` (required) - The type of document (e.g., `BankStatement`, `UtilityBill`). See \"Supported document types\" below. - `minimum_document_length` (optional) - Minimum document age in months. Documents older than this will fail the `document_age_valid` check. **Supported document types (`sub_type`):** - `Payslip` - Employment payslips - `PensionAnnualStatement` - Pension statements - `BenefitsLetter` - Government benefits letters - `HMPPSLetter` - Probation service letters - `NHSLetter` - NHS correspondence - `BankStatement` - Bank account statements - `CreditCardStatement` - Credit card statements - `MortgageStatement` - Mortgage statements - `UtilityBill` - Gas, electricity, water bills - `MobilePhoneBill` - Mobile phone bills **Validations performed:** - `required_fields_extracted` - Key identity fields were successfully extracted. These are: `first_name`, `last_name`, `first_line_of_address` and `postcode` - `category_match` - Document matches the specified sub_type - `document_age_valid` - Document is within acceptable age range (only if `minimum_document_length` provided) - `document_complete_and_legible` - Document is complete and readable - `tampering_signals_check` - No signs of document tampering detected Sandbox testing: In sandbox mode, the endpoint returns a mock \"pass\" response with sandbox values. No actual document processing occurs. > **Request behaviour:** This is a synchronous endpoint. Processing typically takes 5-15 seconds > depending on document complexity. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
25
|
+
*/
|
|
26
|
+
verifySupportingDocumentRaw(requestParameters: VerifySupportingDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupportingDocumentVerificationResponse>>;
|
|
27
|
+
/**
|
|
28
|
+
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Extract and validate a supporting document. This endpoint accepts a document file (PDF, JPG, or PNG) and extracts personal identity information and address details. **Request format:** This endpoint accepts `multipart/form-data` with: - `document` - The document file (PDF, JPG, or PNG, max 10MB) - `sub_type` (required) - The type of document (e.g., `BankStatement`, `UtilityBill`). See \"Supported document types\" below. - `minimum_document_length` (optional) - Minimum document age in months. Documents older than this will fail the `document_age_valid` check. **Supported document types (`sub_type`):** - `Payslip` - Employment payslips - `PensionAnnualStatement` - Pension statements - `BenefitsLetter` - Government benefits letters - `HMPPSLetter` - Probation service letters - `NHSLetter` - NHS correspondence - `BankStatement` - Bank account statements - `CreditCardStatement` - Credit card statements - `MortgageStatement` - Mortgage statements - `UtilityBill` - Gas, electricity, water bills - `MobilePhoneBill` - Mobile phone bills **Validations performed:** - `required_fields_extracted` - Key identity fields were successfully extracted. These are: `first_name`, `last_name`, `first_line_of_address` and `postcode` - `category_match` - Document matches the specified sub_type - `document_age_valid` - Document is within acceptable age range (only if `minimum_document_length` provided) - `document_complete_and_legible` - Document is complete and readable - `tampering_signals_check` - No signs of document tampering detected Sandbox testing: In sandbox mode, the endpoint returns a mock \"pass\" response with sandbox values. No actual document processing occurs. > **Request behaviour:** This is a synchronous endpoint. Processing typically takes 5-15 seconds > depending on document complexity. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
29
|
+
*/
|
|
30
|
+
verifySupportingDocument(requestParameters: VerifySupportingDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupportingDocumentVerificationResponse>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=SupportingDocumentVerificationApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportingDocumentVerificationApi.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/SupportingDocumentVerificationApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,sCAAsC,EACvC,MAAM,iBAAiB,CAAC;AAQzB,MAAM,WAAW,+BAA+B;IAC5C,QAAQ,EAAE,IAAI,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,qBAAa,iCAAkC,SAAQ,OAAO,CAAC,OAAO;IAElE;;OAEG;IACG,2BAA2B,CAAC,iBAAiB,EAAE,+BAA+B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,sCAAsC,CAAC,CAAC;IAqEvN;;OAEG;IACG,wBAAwB,CAAC,iBAAiB,EAAE,+BAA+B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,sCAAsC,CAAC;CAKlM"}
|
|
@@ -0,0 +1,118 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.SupportingDocumentVerificationApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class SupportingDocumentVerificationApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Extract and validate a supporting document. This endpoint accepts a document file (PDF, JPG, or PNG) and extracts personal identity information and address details. **Request format:** This endpoint accepts `multipart/form-data` with: - `document` - The document file (PDF, JPG, or PNG, max 10MB) - `sub_type` (required) - The type of document (e.g., `BankStatement`, `UtilityBill`). See \"Supported document types\" below. - `minimum_document_length` (optional) - Minimum document age in months. Documents older than this will fail the `document_age_valid` check. **Supported document types (`sub_type`):** - `Payslip` - Employment payslips - `PensionAnnualStatement` - Pension statements - `BenefitsLetter` - Government benefits letters - `HMPPSLetter` - Probation service letters - `NHSLetter` - NHS correspondence - `BankStatement` - Bank account statements - `CreditCardStatement` - Credit card statements - `MortgageStatement` - Mortgage statements - `UtilityBill` - Gas, electricity, water bills - `MobilePhoneBill` - Mobile phone bills **Validations performed:** - `required_fields_extracted` - Key identity fields were successfully extracted. These are: `first_name`, `last_name`, `first_line_of_address` and `postcode` - `category_match` - Document matches the specified sub_type - `document_age_valid` - Document is within acceptable age range (only if `minimum_document_length` provided) - `document_complete_and_legible` - Document is complete and readable - `tampering_signals_check` - No signs of document tampering detected Sandbox testing: In sandbox mode, the endpoint returns a mock \"pass\" response with sandbox values. No actual document processing occurs. > **Request behaviour:** This is a synchronous endpoint. Processing typically takes 5-15 seconds > depending on document complexity. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
58
|
+
*/
|
|
59
|
+
async verifySupportingDocumentRaw(requestParameters, initOverrides) {
|
|
60
|
+
if (requestParameters['document'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('document', 'Required parameter "document" was null or undefined when calling verifySupportingDocument().');
|
|
62
|
+
}
|
|
63
|
+
if (requestParameters['subType'] == null) {
|
|
64
|
+
throw new runtime.RequiredError('subType', 'Required parameter "subType" was null or undefined when calling verifySupportingDocument().');
|
|
65
|
+
}
|
|
66
|
+
const queryParameters = {};
|
|
67
|
+
const headerParameters = {};
|
|
68
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
69
|
+
const token = this.configuration.accessToken;
|
|
70
|
+
const tokenString = await token("bearerAuth", []);
|
|
71
|
+
if (tokenString) {
|
|
72
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
const consumes = [
|
|
76
|
+
{ contentType: 'multipart/form-data' },
|
|
77
|
+
];
|
|
78
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
79
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
80
|
+
let formParams;
|
|
81
|
+
let useForm = false;
|
|
82
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
83
|
+
useForm = canConsumeForm;
|
|
84
|
+
if (useForm) {
|
|
85
|
+
formParams = new FormData();
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
formParams = new URLSearchParams();
|
|
89
|
+
}
|
|
90
|
+
if (requestParameters['document'] != null) {
|
|
91
|
+
formParams.append('document', requestParameters['document']);
|
|
92
|
+
}
|
|
93
|
+
if (requestParameters['subType'] != null) {
|
|
94
|
+
formParams.append('sub_type', requestParameters['subType']);
|
|
95
|
+
}
|
|
96
|
+
if (requestParameters['minimumDocumentLength'] != null) {
|
|
97
|
+
formParams.append('minimum_document_length', requestParameters['minimumDocumentLength']);
|
|
98
|
+
}
|
|
99
|
+
let urlPath = `/verify/supporting-documents`;
|
|
100
|
+
const response = await this.request({
|
|
101
|
+
path: urlPath,
|
|
102
|
+
method: 'POST',
|
|
103
|
+
headers: headerParameters,
|
|
104
|
+
query: queryParameters,
|
|
105
|
+
body: formParams,
|
|
106
|
+
}, initOverrides);
|
|
107
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SupportingDocumentVerificationResponseFromJSON)(jsonValue));
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Extract and validate a supporting document. This endpoint accepts a document file (PDF, JPG, or PNG) and extracts personal identity information and address details. **Request format:** This endpoint accepts `multipart/form-data` with: - `document` - The document file (PDF, JPG, or PNG, max 10MB) - `sub_type` (required) - The type of document (e.g., `BankStatement`, `UtilityBill`). See \"Supported document types\" below. - `minimum_document_length` (optional) - Minimum document age in months. Documents older than this will fail the `document_age_valid` check. **Supported document types (`sub_type`):** - `Payslip` - Employment payslips - `PensionAnnualStatement` - Pension statements - `BenefitsLetter` - Government benefits letters - `HMPPSLetter` - Probation service letters - `NHSLetter` - NHS correspondence - `BankStatement` - Bank account statements - `CreditCardStatement` - Credit card statements - `MortgageStatement` - Mortgage statements - `UtilityBill` - Gas, electricity, water bills - `MobilePhoneBill` - Mobile phone bills **Validations performed:** - `required_fields_extracted` - Key identity fields were successfully extracted. These are: `first_name`, `last_name`, `first_line_of_address` and `postcode` - `category_match` - Document matches the specified sub_type - `document_age_valid` - Document is within acceptable age range (only if `minimum_document_length` provided) - `document_complete_and_legible` - Document is complete and readable - `tampering_signals_check` - No signs of document tampering detected Sandbox testing: In sandbox mode, the endpoint returns a mock \"pass\" response with sandbox values. No actual document processing occurs. > **Request behaviour:** This is a synchronous endpoint. Processing typically takes 5-15 seconds > depending on document complexity. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
111
|
+
*/
|
|
112
|
+
async verifySupportingDocument(requestParameters, initOverrides) {
|
|
113
|
+
const response = await this.verifySupportingDocumentRaw(requestParameters, initOverrides);
|
|
114
|
+
return await response.value();
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.SupportingDocumentVerificationApi = SupportingDocumentVerificationApi;
|
|
118
|
+
//# sourceMappingURL=SupportingDocumentVerificationApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportingDocumentVerificationApi.js","sourceRoot":"","sources":["../../../src/openapi/apis/SupportingDocumentVerificationApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAKtC,2CAKyB;AAQzB;;GAEG;AACH,MAAa,iCAAkC,SAAQ,OAAO,CAAC,OAAO;IAElE;;OAEG;IACH,KAAK,CAAC,2BAA2B,CAAC,iBAAkD,EAAE,aAA0D;QAC5I,IAAI,iBAAiB,CAAC,UAAU,CAAC,IAAI,IAAI,EAAE,CAAC;YACxC,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,UAAU,EACV,8FAA8F,CACjG,CAAC;QACN,CAAC;QAED,IAAI,iBAAiB,CAAC,SAAS,CAAC,IAAI,IAAI,EAAE,CAAC;YACvC,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,SAAS,EACT,6FAA6F,CAChG,CAAC;QACN,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;YACvD,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC;YAC7C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;YAElD,IAAI,WAAW,EAAE,CAAC;gBACd,gBAAgB,CAAC,eAAe,CAAC,GAAG,UAAU,WAAW,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AAS,EAAE,EAAE,CAAC,IAAA,sDAA8C,EAAC,SAAS,CAAC,CAAC,CAAC;IAC3H,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,wBAAwB,CAAC,iBAAkD,EAAE,aAA0D;QACzI,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,2BAA2B,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC1F,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAlFD,8EAkFC"}
|
|
@@ -4,6 +4,7 @@ export * from './DigitalIDApi';
|
|
|
4
4
|
export * from './EVisaVerificationApi';
|
|
5
5
|
export * from './FlowsApi';
|
|
6
6
|
export * from './SmartLookupsApi';
|
|
7
|
+
export * from './SupportingDocumentVerificationApi';
|
|
7
8
|
export * from './TeamApi';
|
|
8
9
|
export * from './VerificationsApi';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
|
|
@@ -22,6 +22,7 @@ __exportStar(require("./DigitalIDApi"), exports);
|
|
|
22
22
|
__exportStar(require("./EVisaVerificationApi"), exports);
|
|
23
23
|
__exportStar(require("./FlowsApi"), exports);
|
|
24
24
|
__exportStar(require("./SmartLookupsApi"), exports);
|
|
25
|
+
__exportStar(require("./SupportingDocumentVerificationApi"), exports);
|
|
25
26
|
__exportStar(require("./TeamApi"), exports);
|
|
26
27
|
__exportStar(require("./VerificationsApi"), exports);
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,iDAA+B;AAC/B,sDAAoC;AACpC,iDAA+B;AAC/B,yDAAuC;AACvC,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,iDAA+B;AAC/B,sDAAoC;AACpC,iDAA+B;AAC/B,yDAAuC;AACvC,6CAA2B;AAC3B,oDAAkC;AAClC,sEAAoD;AACpD,4CAA0B;AAC1B,qDAAmC"}
|
|
@@ -21,33 +21,26 @@ export interface ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
risk?: ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchRiskEnum;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {Array<string>}
|
|
28
28
|
* @memberof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch
|
|
29
29
|
*/
|
|
30
|
-
messages
|
|
30
|
+
messages?: Array<string>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {Array<FraudFlag>}
|
|
34
34
|
* @memberof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
flags?: Array<FraudFlag>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {string}
|
|
40
40
|
* @memberof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
status: ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum;
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @export
|
|
46
|
-
*/
|
|
47
|
-
export declare const ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum: {
|
|
48
|
-
readonly Fail: "fail";
|
|
49
|
-
};
|
|
50
|
-
export type ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum = typeof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum[keyof typeof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum];
|
|
51
44
|
/**
|
|
52
45
|
* @export
|
|
53
46
|
*/
|
|
@@ -57,6 +50,15 @@ export declare const ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchRiskEnu
|
|
|
57
50
|
readonly High: "high";
|
|
58
51
|
};
|
|
59
52
|
export type ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchRiskEnum = typeof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchRiskEnum[keyof typeof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchRiskEnum];
|
|
53
|
+
/**
|
|
54
|
+
* @export
|
|
55
|
+
*/
|
|
56
|
+
export declare const ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum: {
|
|
57
|
+
readonly Pass: "pass";
|
|
58
|
+
readonly Fail: "fail";
|
|
59
|
+
readonly Error: "error";
|
|
60
|
+
};
|
|
61
|
+
export type ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum = typeof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum[keyof typeof ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum];
|
|
60
62
|
/**
|
|
61
63
|
* Check if a given object implements the ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch interface.
|
|
62
64
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C;;;;GAIG;AACH,MAAM,WAAW,oDAAoD;IACjE;;;;OAIG;IACH,IAAI,CAAC,EAAE,4DAA4D,CAAC;IACpE;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACzB;;;;OAIG;IACH,MAAM,EAAE,8DAA8D,CAAC;CAC1E;AAGD;;GAEG;AACH,eAAO,MAAM,4DAA4D;;;;CAI/D,CAAC;AACX,MAAM,MAAM,4DAA4D,GAAG,OAAO,4DAA4D,CAAC,MAAM,OAAO,4DAA4D,CAAC,CAAC;AAE1N;;GAEG;AACH,eAAO,MAAM,8DAA8D;;;;CAIjE,CAAC;AACX,MAAM,MAAM,8DAA8D,GAAG,OAAO,8DAA8D,CAAC,MAAM,OAAO,8DAA8D,CAAC,CAAC;AAGhO;;GAEG;AACH,wBAAgB,8DAA8D,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oDAAoD,CAG3J;AAED,wBAAgB,4DAA4D,CAAC,IAAI,EAAE,GAAG,GAAG,oDAAoD,CAE5I;AAED,wBAAgB,iEAAiE,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oDAAoD,CAW/K;AAED,wBAAgB,0DAA0D,CAAC,IAAI,EAAE,GAAG,GAAG,oDAAoD,CAE1I;AAED,wBAAgB,+DAA+D,CAAC,KAAK,CAAC,EAAE,oDAAoD,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY9L"}
|
|
@@ -13,19 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum = exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchRiskEnum = void 0;
|
|
17
17
|
exports.instanceOfApiRadarCheckDetailsValidationsNoKnownFraudsterMatch = instanceOfApiRadarCheckDetailsValidationsNoKnownFraudsterMatch;
|
|
18
18
|
exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchFromJSON = ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchFromJSON;
|
|
19
19
|
exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchFromJSONTyped = ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchFromJSONTyped;
|
|
20
20
|
exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchToJSON = ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchToJSON;
|
|
21
21
|
exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchToJSONTyped = ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchToJSONTyped;
|
|
22
22
|
const FraudFlag_1 = require("./FraudFlag");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum = {
|
|
27
|
-
Fail: 'fail'
|
|
28
|
-
};
|
|
29
23
|
/**
|
|
30
24
|
* @export
|
|
31
25
|
*/
|
|
@@ -34,18 +28,20 @@ exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchRiskEnum = {
|
|
|
34
28
|
Medium: 'medium',
|
|
35
29
|
High: 'high'
|
|
36
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchStatusEnum = {
|
|
35
|
+
Pass: 'pass',
|
|
36
|
+
Fail: 'fail',
|
|
37
|
+
Error: 'error'
|
|
38
|
+
};
|
|
37
39
|
/**
|
|
38
40
|
* Check if a given object implements the ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch interface.
|
|
39
41
|
*/
|
|
40
42
|
function instanceOfApiRadarCheckDetailsValidationsNoKnownFraudsterMatch(value) {
|
|
41
43
|
if (!('status' in value) || value['status'] === undefined)
|
|
42
44
|
return false;
|
|
43
|
-
if (!('messages' in value) || value['messages'] === undefined)
|
|
44
|
-
return false;
|
|
45
|
-
if (!('risk' in value) || value['risk'] === undefined)
|
|
46
|
-
return false;
|
|
47
|
-
if (!('flags' in value) || value['flags'] === undefined)
|
|
48
|
-
return false;
|
|
49
45
|
return true;
|
|
50
46
|
}
|
|
51
47
|
function ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchFromJSON(json) {
|
|
@@ -56,10 +52,10 @@ function ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchFromJSONTyped(json,
|
|
|
56
52
|
return json;
|
|
57
53
|
}
|
|
58
54
|
return {
|
|
55
|
+
'risk': json['risk'] == null ? undefined : json['risk'],
|
|
56
|
+
'messages': json['messages'] == null ? undefined : json['messages'],
|
|
57
|
+
'flags': json['flags'] == null ? undefined : (json['flags'].map(FraudFlag_1.FraudFlagFromJSON)),
|
|
59
58
|
'status': json['status'],
|
|
60
|
-
'messages': json['messages'],
|
|
61
|
-
'risk': json['risk'],
|
|
62
|
-
'flags': (json['flags'].map(FraudFlag_1.FraudFlagFromJSON)),
|
|
63
59
|
};
|
|
64
60
|
}
|
|
65
61
|
function ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchToJSON(json) {
|
|
@@ -70,10 +66,10 @@ function ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchToJSONTyped(value,
|
|
|
70
66
|
return value;
|
|
71
67
|
}
|
|
72
68
|
return {
|
|
73
|
-
'status': value['status'],
|
|
74
|
-
'messages': value['messages'],
|
|
75
69
|
'risk': value['risk'],
|
|
76
|
-
'
|
|
70
|
+
'messages': value['messages'],
|
|
71
|
+
'flags': value['flags'] == null ? undefined : (value['flags'].map(FraudFlag_1.FraudFlagToJSON)),
|
|
72
|
+
'status': value['status'],
|
|
77
73
|
};
|
|
78
74
|
}
|
|
79
75
|
//# sourceMappingURL=ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB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KAC3B,CAAC;AACN,CAAC;AAED,SAAgB,0DAA0D,CAAC,IAAS;IAChF,OAAO,+DAA+D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxF,CAAC;AAED,SAAgB,+DAA+D,CAAC,KAAmE,EAAE,sBAA+B,KAAK;IACrL,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,2BAAe,CAAC,CAAC;QACnG,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAC;AACN,CAAC"}
|
|
@@ -71,22 +71,22 @@ export interface ApiSupportingDocEvidenceItem {
|
|
|
71
71
|
* @export
|
|
72
72
|
*/
|
|
73
73
|
export declare const ApiSupportingDocEvidenceItemEvidenceTypeEnum: {
|
|
74
|
-
readonly BirthOrAdoptionCertificate: "birth_or_adoption_certificate";
|
|
75
|
-
readonly MarriageCertificate: "marriage_certificate";
|
|
76
|
-
readonly NaturalisationOrRegCertificate: "naturalisation_or_reg_certificate";
|
|
77
|
-
readonly EducationCertificate: "education_certificate";
|
|
78
|
-
readonly PayeTaxSummary: "paye_tax_summary";
|
|
79
74
|
readonly Payslip: "payslip";
|
|
80
75
|
readonly PensionAnnualStatement: "pension_annual_statement";
|
|
81
76
|
readonly BenefitsLetter: "benefits_letter";
|
|
77
|
+
readonly HmppsLetter: "hmpps_letter";
|
|
82
78
|
readonly NhsLetter: "nhs_letter";
|
|
83
79
|
readonly BankStatement: "bank_statement";
|
|
84
80
|
readonly CreditCardStatement: "credit_card_statement";
|
|
85
81
|
readonly MortgageStatement: "mortgage_statement";
|
|
86
|
-
readonly InsurancePolicyAgreement: "insurance_policy_agreement";
|
|
87
82
|
readonly UtilityBill: "utility_bill";
|
|
88
83
|
readonly MobilePhoneBill: "mobile_phone_bill";
|
|
89
|
-
readonly
|
|
84
|
+
readonly BirthOrAdoptionCertificate: "birth_or_adoption_certificate";
|
|
85
|
+
readonly MarriageCertificate: "marriage_certificate";
|
|
86
|
+
readonly NaturalisationOrRegCertificate: "naturalisation_or_reg_certificate";
|
|
87
|
+
readonly EducationCertificate: "education_certificate";
|
|
88
|
+
readonly PayeTaxSummary: "paye_tax_summary";
|
|
89
|
+
readonly InsurancePolicyAgreement: "insurance_policy_agreement";
|
|
90
90
|
readonly OlderPersonBusPass: "older_person_bus_pass";
|
|
91
91
|
};
|
|
92
92
|
export type ApiSupportingDocEvidenceItemEvidenceTypeEnum = typeof ApiSupportingDocEvidenceItemEvidenceTypeEnum[keyof typeof ApiSupportingDocEvidenceItemEvidenceTypeEnum];
|
|
@@ -26,22 +26,22 @@ const ApiSupportingDocEvidenceItemExtractedDetails_1 = require("./ApiSupportingD
|
|
|
26
26
|
* @export
|
|
27
27
|
*/
|
|
28
28
|
exports.ApiSupportingDocEvidenceItemEvidenceTypeEnum = {
|
|
29
|
-
BirthOrAdoptionCertificate: 'birth_or_adoption_certificate',
|
|
30
|
-
MarriageCertificate: 'marriage_certificate',
|
|
31
|
-
NaturalisationOrRegCertificate: 'naturalisation_or_reg_certificate',
|
|
32
|
-
EducationCertificate: 'education_certificate',
|
|
33
|
-
PayeTaxSummary: 'paye_tax_summary',
|
|
34
29
|
Payslip: 'payslip',
|
|
35
30
|
PensionAnnualStatement: 'pension_annual_statement',
|
|
36
31
|
BenefitsLetter: 'benefits_letter',
|
|
32
|
+
HmppsLetter: 'hmpps_letter',
|
|
37
33
|
NhsLetter: 'nhs_letter',
|
|
38
34
|
BankStatement: 'bank_statement',
|
|
39
35
|
CreditCardStatement: 'credit_card_statement',
|
|
40
36
|
MortgageStatement: 'mortgage_statement',
|
|
41
|
-
InsurancePolicyAgreement: 'insurance_policy_agreement',
|
|
42
37
|
UtilityBill: 'utility_bill',
|
|
43
38
|
MobilePhoneBill: 'mobile_phone_bill',
|
|
44
|
-
|
|
39
|
+
BirthOrAdoptionCertificate: 'birth_or_adoption_certificate',
|
|
40
|
+
MarriageCertificate: 'marriage_certificate',
|
|
41
|
+
NaturalisationOrRegCertificate: 'naturalisation_or_reg_certificate',
|
|
42
|
+
EducationCertificate: 'education_certificate',
|
|
43
|
+
PayeTaxSummary: 'paye_tax_summary',
|
|
44
|
+
InsurancePolicyAgreement: 'insurance_policy_agreement',
|
|
45
45
|
OlderPersonBusPass: 'older_person_bus_pass'
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiSupportingDocEvidenceItem.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiSupportingDocEvidenceItem.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiIH,wFAOC;AAED,oFAEC;AAED,8FAeC;AAED,gFAEC;AAED,0FAgBC;AA/KD,2FAK6C;AAE7C,uGAKmD;AAEnD,iHAKwD;AA2DxD;;GAEG;AACU,QAAA,4CAA4C,GAAG;IACxD,
|
|
1
|
+
{"version":3,"file":"ApiSupportingDocEvidenceItem.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiSupportingDocEvidenceItem.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiIH,wFAOC;AAED,oFAEC;AAED,8FAeC;AAED,gFAEC;AAED,0FAgBC;AA/KD,2FAK6C;AAE7C,uGAKmD;AAEnD,iHAKwD;AA2DxD;;GAEG;AACU,QAAA,4CAA4C,GAAG;IACxD,OAAO,EAAE,SAAS;IAClB,sBAAsB,EAAE,0BAA0B;IAClD,cAAc,EAAE,iBAAiB;IACjC,WAAW,EAAE,cAAc;IAC3B,S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,IAAA,iGAAkD,EAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACnG,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,WAAW,CAAgB,CAAC,GAAG,CAAC,2EAAuC,CAAC,CAAC;QACvI,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,aAAa,EAAE,IAAA,uFAA6C,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAClF,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -68,22 +68,22 @@ export interface ApiSupportingDocEvidenceItemExtractedDetails {
|
|
|
68
68
|
* @export
|
|
69
69
|
*/
|
|
70
70
|
export declare const ApiSupportingDocEvidenceItemExtractedDetailsDocumentCategoryEnum: {
|
|
71
|
-
readonly BirthOrAdoptionCertificate: "birth_or_adoption_certificate";
|
|
72
|
-
readonly MarriageCertificate: "marriage_certificate";
|
|
73
|
-
readonly NaturalisationOrRegCertificate: "naturalisation_or_reg_certificate";
|
|
74
|
-
readonly EducationCertificate: "education_certificate";
|
|
75
|
-
readonly PayeTaxSummary: "paye_tax_summary";
|
|
76
71
|
readonly Payslip: "payslip";
|
|
77
72
|
readonly PensionAnnualStatement: "pension_annual_statement";
|
|
78
73
|
readonly BenefitsLetter: "benefits_letter";
|
|
74
|
+
readonly HmppsLetter: "hmpps_letter";
|
|
79
75
|
readonly NhsLetter: "nhs_letter";
|
|
80
76
|
readonly BankStatement: "bank_statement";
|
|
81
77
|
readonly CreditCardStatement: "credit_card_statement";
|
|
82
78
|
readonly MortgageStatement: "mortgage_statement";
|
|
83
|
-
readonly InsurancePolicyAgreement: "insurance_policy_agreement";
|
|
84
79
|
readonly UtilityBill: "utility_bill";
|
|
85
80
|
readonly MobilePhoneBill: "mobile_phone_bill";
|
|
86
|
-
readonly
|
|
81
|
+
readonly BirthOrAdoptionCertificate: "birth_or_adoption_certificate";
|
|
82
|
+
readonly MarriageCertificate: "marriage_certificate";
|
|
83
|
+
readonly NaturalisationOrRegCertificate: "naturalisation_or_reg_certificate";
|
|
84
|
+
readonly EducationCertificate: "education_certificate";
|
|
85
|
+
readonly PayeTaxSummary: "paye_tax_summary";
|
|
86
|
+
readonly InsurancePolicyAgreement: "insurance_policy_agreement";
|
|
87
87
|
readonly OlderPersonBusPass: "older_person_bus_pass";
|
|
88
88
|
};
|
|
89
89
|
export type ApiSupportingDocEvidenceItemExtractedDetailsDocumentCategoryEnum = typeof ApiSupportingDocEvidenceItemExtractedDetailsDocumentCategoryEnum[keyof typeof ApiSupportingDocEvidenceItemExtractedDetailsDocumentCategoryEnum];
|
|
@@ -23,22 +23,22 @@ exports.ApiSupportingDocEvidenceItemExtractedDetailsToJSONTyped = ApiSupportingD
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.ApiSupportingDocEvidenceItemExtractedDetailsDocumentCategoryEnum = {
|
|
26
|
-
BirthOrAdoptionCertificate: 'birth_or_adoption_certificate',
|
|
27
|
-
MarriageCertificate: 'marriage_certificate',
|
|
28
|
-
NaturalisationOrRegCertificate: 'naturalisation_or_reg_certificate',
|
|
29
|
-
EducationCertificate: 'education_certificate',
|
|
30
|
-
PayeTaxSummary: 'paye_tax_summary',
|
|
31
26
|
Payslip: 'payslip',
|
|
32
27
|
PensionAnnualStatement: 'pension_annual_statement',
|
|
33
28
|
BenefitsLetter: 'benefits_letter',
|
|
29
|
+
HmppsLetter: 'hmpps_letter',
|
|
34
30
|
NhsLetter: 'nhs_letter',
|
|
35
31
|
BankStatement: 'bank_statement',
|
|
36
32
|
CreditCardStatement: 'credit_card_statement',
|
|
37
33
|
MortgageStatement: 'mortgage_statement',
|
|
38
|
-
InsurancePolicyAgreement: 'insurance_policy_agreement',
|
|
39
34
|
UtilityBill: 'utility_bill',
|
|
40
35
|
MobilePhoneBill: 'mobile_phone_bill',
|
|
41
|
-
|
|
36
|
+
BirthOrAdoptionCertificate: 'birth_or_adoption_certificate',
|
|
37
|
+
MarriageCertificate: 'marriage_certificate',
|
|
38
|
+
NaturalisationOrRegCertificate: 'naturalisation_or_reg_certificate',
|
|
39
|
+
EducationCertificate: 'education_certificate',
|
|
40
|
+
PayeTaxSummary: 'paye_tax_summary',
|
|
41
|
+
InsurancePolicyAgreement: 'insurance_policy_agreement',
|
|
42
42
|
OlderPersonBusPass: 'older_person_bus_pass'
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiSupportingDocEvidenceItemExtractedDetails.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAwFH,wHAOC;AAED,oHAEC;AAED,8HAeC;AAED,gHAEC;AAED,0HAgBC;AA9ED;;GAEG;AACU,QAAA,gEAAgE,GAAG;IAC5E,
|
|
1
|
+
{"version":3,"file":"ApiSupportingDocEvidenceItemExtractedDetails.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAwFH,wHAOC;AAED,oHAEC;AAED,8HAeC;AAED,gHAEC;AAED,0HAgBC;AA9ED;;GAEG;AACU,QAAA,gEAAgE,GAAG;IAC5E,OAAO,EAAE,SAAS;IAClB,sBAAsB,EAAE,0BAA0B;IAClD,cAAc,EAAE,iBAAiB;IACjC,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,aAAa,EAAE,gBAAgB;IAC/B,mBAAmB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25 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const CategoryMatchFailedReason: {
|
|
17
|
+
readonly LowDocTypeMatch: "LOW_DOC_TYPE_MATCH";
|
|
18
|
+
};
|
|
19
|
+
export type CategoryMatchFailedReason = typeof CategoryMatchFailedReason[keyof typeof CategoryMatchFailedReason];
|
|
20
|
+
export declare function instanceOfCategoryMatchFailedReason(value: any): boolean;
|
|
21
|
+
export declare function CategoryMatchFailedReasonFromJSON(json: any): CategoryMatchFailedReason;
|
|
22
|
+
export declare function CategoryMatchFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryMatchFailedReason;
|
|
23
|
+
export declare function CategoryMatchFailedReasonToJSON(value?: CategoryMatchFailedReason | null): any;
|
|
24
|
+
export declare function CategoryMatchFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): CategoryMatchFailedReason;
|
|
25
|
+
//# sourceMappingURL=CategoryMatchFailedReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryMatchFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CategoryMatchFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;CAE5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAGjH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASvE;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CAEzH;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,GAAG,GAAG,CAE7F;AAED,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CAExH"}
|
|
@@ -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.CategoryMatchFailedReason = void 0;
|
|
17
|
+
exports.instanceOfCategoryMatchFailedReason = instanceOfCategoryMatchFailedReason;
|
|
18
|
+
exports.CategoryMatchFailedReasonFromJSON = CategoryMatchFailedReasonFromJSON;
|
|
19
|
+
exports.CategoryMatchFailedReasonFromJSONTyped = CategoryMatchFailedReasonFromJSONTyped;
|
|
20
|
+
exports.CategoryMatchFailedReasonToJSON = CategoryMatchFailedReasonToJSON;
|
|
21
|
+
exports.CategoryMatchFailedReasonToJSONTyped = CategoryMatchFailedReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.CategoryMatchFailedReason = {
|
|
27
|
+
LowDocTypeMatch: 'LOW_DOC_TYPE_MATCH'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfCategoryMatchFailedReason(value) {
|
|
30
|
+
for (const key in exports.CategoryMatchFailedReason) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.CategoryMatchFailedReason, key)) {
|
|
32
|
+
if (exports.CategoryMatchFailedReason[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function CategoryMatchFailedReasonFromJSON(json) {
|
|
40
|
+
return CategoryMatchFailedReasonFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function CategoryMatchFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function CategoryMatchFailedReasonToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function CategoryMatchFailedReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=CategoryMatchFailedReason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryMatchFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/CategoryMatchFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAaH,kFASC;AAED,8EAEC;AAED,wFAEC;AAED,0EAEC;AAED,oFAEC;AAnCD;;;GAGG;AACU,QAAA,yBAAyB,GAAG;IACrC,eAAe,EAAE,oBAAoB;CAC/B,CAAC;AAIX,SAAgB,mCAAmC,CAAC,KAAU;IAC1D,KAAK,MAAM,GAAG,IAAI,iCAAyB,EAAE,CAAC;QAC1C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,iCAAyB,EAAE,GAAG,CAAC,EAAE,CAAC;YACvE,IAAI,iCAAyB,CAAC,GAA6C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACrF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,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,OAAO,IAAiC,CAAC;AAC7C,CAAC;AAED,SAAgB,+BAA+B,CAAC,KAAwC;IACpF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,oCAAoC,CAAC,KAAU,EAAE,mBAA4B;IACzF,OAAO,KAAkC,CAAC;AAC9C,CAAC"}
|