@vouchsafe/node 0.1.36 → 0.1.37

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 (83) hide show
  1. package/dist/openapi/apis/SupportingDocumentVerificationApi.d.ts +32 -0
  2. package/dist/openapi/apis/SupportingDocumentVerificationApi.d.ts.map +1 -0
  3. package/dist/openapi/apis/SupportingDocumentVerificationApi.js +118 -0
  4. package/dist/openapi/apis/SupportingDocumentVerificationApi.js.map +1 -0
  5. package/dist/openapi/apis/index.d.ts +1 -0
  6. package/dist/openapi/apis/index.d.ts.map +1 -1
  7. package/dist/openapi/apis/index.js +1 -0
  8. package/dist/openapi/apis/index.js.map +1 -1
  9. package/dist/openapi/models/ApiSupportingDocEvidenceItem.d.ts +7 -7
  10. package/dist/openapi/models/ApiSupportingDocEvidenceItem.js +7 -7
  11. package/dist/openapi/models/ApiSupportingDocEvidenceItem.js.map +1 -1
  12. package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.d.ts +7 -7
  13. package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js +7 -7
  14. package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js.map +1 -1
  15. package/dist/openapi/models/CategoryMatchFailedReason.d.ts +25 -0
  16. package/dist/openapi/models/CategoryMatchFailedReason.d.ts.map +1 -0
  17. package/dist/openapi/models/CategoryMatchFailedReason.js +51 -0
  18. package/dist/openapi/models/CategoryMatchFailedReason.js.map +1 -0
  19. package/dist/openapi/models/CategoryMatchResult.d.ts +41 -0
  20. package/dist/openapi/models/CategoryMatchResult.d.ts.map +1 -0
  21. package/dist/openapi/models/CategoryMatchResult.js +55 -0
  22. package/dist/openapi/models/CategoryMatchResult.js.map +1 -0
  23. package/dist/openapi/models/DocumentAgeValidFailedReason.d.ts +27 -0
  24. package/dist/openapi/models/DocumentAgeValidFailedReason.d.ts.map +1 -0
  25. package/dist/openapi/models/DocumentAgeValidFailedReason.js +53 -0
  26. package/dist/openapi/models/DocumentAgeValidFailedReason.js.map +1 -0
  27. package/dist/openapi/models/DocumentAgeValidResult.d.ts +41 -0
  28. package/dist/openapi/models/DocumentAgeValidResult.d.ts.map +1 -0
  29. package/dist/openapi/models/DocumentAgeValidResult.js +55 -0
  30. package/dist/openapi/models/DocumentAgeValidResult.js.map +1 -0
  31. package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.d.ts +26 -0
  32. package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.d.ts.map +1 -0
  33. package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.js +52 -0
  34. package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.js.map +1 -0
  35. package/dist/openapi/models/DocumentCompleteAndLegibleResult.d.ts +41 -0
  36. package/dist/openapi/models/DocumentCompleteAndLegibleResult.d.ts.map +1 -0
  37. package/dist/openapi/models/DocumentCompleteAndLegibleResult.js +55 -0
  38. package/dist/openapi/models/DocumentCompleteAndLegibleResult.js.map +1 -0
  39. package/dist/openapi/models/RequiredFieldsExtractedFailedReason.d.ts +25 -0
  40. package/dist/openapi/models/RequiredFieldsExtractedFailedReason.d.ts.map +1 -0
  41. package/dist/openapi/models/RequiredFieldsExtractedFailedReason.js +51 -0
  42. package/dist/openapi/models/RequiredFieldsExtractedFailedReason.js.map +1 -0
  43. package/dist/openapi/models/RequiredFieldsExtractedResult.d.ts +41 -0
  44. package/dist/openapi/models/RequiredFieldsExtractedResult.d.ts.map +1 -0
  45. package/dist/openapi/models/RequiredFieldsExtractedResult.js +55 -0
  46. package/dist/openapi/models/RequiredFieldsExtractedResult.js.map +1 -0
  47. package/dist/openapi/models/SupportingDocumentEvidenceType.d.ts +34 -0
  48. package/dist/openapi/models/SupportingDocumentEvidenceType.d.ts.map +1 -0
  49. package/dist/openapi/models/SupportingDocumentEvidenceType.js +60 -0
  50. package/dist/openapi/models/SupportingDocumentEvidenceType.js.map +1 -0
  51. package/dist/openapi/models/SupportingDocumentExtractedDetails.d.ts +75 -0
  52. package/dist/openapi/models/SupportingDocumentExtractedDetails.d.ts.map +1 -0
  53. package/dist/openapi/models/SupportingDocumentExtractedDetails.js +79 -0
  54. package/dist/openapi/models/SupportingDocumentExtractedDetails.js.map +1 -0
  55. package/dist/openapi/models/SupportingDocumentValidations.d.ts +62 -0
  56. package/dist/openapi/models/SupportingDocumentValidations.d.ts.map +1 -0
  57. package/dist/openapi/models/SupportingDocumentValidations.js +62 -0
  58. package/dist/openapi/models/SupportingDocumentValidations.js.map +1 -0
  59. package/dist/openapi/models/SupportingDocumentVerificationResponse.d.ts +74 -0
  60. package/dist/openapi/models/SupportingDocumentVerificationResponse.d.ts.map +1 -0
  61. package/dist/openapi/models/SupportingDocumentVerificationResponse.js +82 -0
  62. package/dist/openapi/models/SupportingDocumentVerificationResponse.js.map +1 -0
  63. package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.d.ts +75 -0
  64. package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.d.ts.map +1 -0
  65. package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.js +79 -0
  66. package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.js.map +1 -0
  67. package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.d.ts +62 -0
  68. package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.d.ts.map +1 -0
  69. package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.js +62 -0
  70. package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.js.map +1 -0
  71. package/dist/openapi/models/TamperingSignalsCheckFailedReason.d.ts +25 -0
  72. package/dist/openapi/models/TamperingSignalsCheckFailedReason.d.ts.map +1 -0
  73. package/dist/openapi/models/TamperingSignalsCheckFailedReason.js +51 -0
  74. package/dist/openapi/models/TamperingSignalsCheckFailedReason.js.map +1 -0
  75. package/dist/openapi/models/TamperingSignalsCheckResult.d.ts +41 -0
  76. package/dist/openapi/models/TamperingSignalsCheckResult.d.ts.map +1 -0
  77. package/dist/openapi/models/TamperingSignalsCheckResult.js +55 -0
  78. package/dist/openapi/models/TamperingSignalsCheckResult.js.map +1 -0
  79. package/dist/openapi/models/index.d.ts +16 -0
  80. package/dist/openapi/models/index.d.ts.map +1 -1
  81. package/dist/openapi/models/index.js +16 -0
  82. package/dist/openapi/models/index.js.map +1 -1
  83. 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,EAAE,CAAC;YAChE,CAAC;QACL,CAAC;QACD,MAAM,QAAQ,GAAsB;YACh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AC;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"}
@@ -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 HmppsLetter: "hmpps_letter";
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
- HmppsLetter: 'hmpps_letter',
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,0BAA0B,EAAE,+BAA+B;IAC3D,mBAAmB,EAAE,sBAAsB;IAC3C,8BAA8B,EAAE,mCAAmC;IACnE,oBAAoB,EAAE,uBAAuB;IAC7C,cAAc,EAAE,kBAAkB;IAClC,OAAO,EAAE,SAAS;IAClB,sBAAsB,EAAE,0BAA0B;IAClD,cAAc,EAAE,iBAAiB;IACjC,SAAS,EAAE,YAAY;IACvB,aAAa,EAAE,gBAAgB;IAC/B,mBAAmB,EAAE,uBAAuB;IAC5C,iBAAiB,EAAE,oBAAoB;IACvC,wBAAwB,EAAE,4BAA4B;IACtD,WAAW,EAAE,cAAc;IAC3B,eAAe,EAAE,mBAAmB;IACpC,WAAW,EAAE,cAAc;IAC3B,kBAAkB,EAAE,uBAAuB;CACrC,CAAC;AAGX;;GAEG;AACU,QAAA,uCAAuC,GAAG;IACnD,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,OAAO;CACR,CAAC;AAGX;;GAEG;AACU,QAAA,oCAAoC,GAAG;IAChD,kBAAkB,EAAE,qBAAqB;CACnC,CAAC;AAIX;;GAEG;AACH,SAAgB,sCAAsC,CAAC,KAAa;IAChE,IAAI,CAAC,CAA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AI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACzE,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACrF,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAA2C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,mBAAmB,EAAE,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"}
1
+ {"version":3,"file":"ApiSupportingDocEvidenceItem.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiSupportingDocEvidenceItem.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAA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CAAC;KACvB,CAAC;AACN,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAA2C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,mBAAmB,EAAE,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 HmppsLetter: "hmpps_letter";
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
- HmppsLetter: 'hmpps_letter',
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,0BAA0B,EAAE,+BAA+B;IAC3D,mBAAmB,EAAE,sBAAsB;IAC3C,8BAA8B,EAAE,mCAAmC;IACnE,oBAAoB,EAAE,uBAAuB;IAC7C,cAAc,EAAE,kBAAkB;IAClC,OAAO,EAAE,SAAS;IAClB,sBAAsB,EAAE,0BAA0B;IAClD,cAAc,EAAE,iBAAiB;IACjC,SAAS,EAAE,YAAY;IACvB,aAAa,EAAE,gBAAgB;IAC/B,mBAAmB,EAAE,uBAAuB;IAC5C,iBAAiB,EAAE,oBAAoB;IACvC,wBAAwB,EAAE,4BAA4B;IACtD,WAAW,EAAE,cAAc;IAC3B,eAAe,EAAE,mBAAmB;IACpC,WAAW,EAAE,cAAc;IAC3B,kBAAkB,EAAE,uBAAuB;CACrC,CAAC;AAIX;;GAEG;AACH,SAAgB,sDAAsD,CAAC,KAAa;IAChF,IAAI,CAAC,CAAC,YAAY,IAAI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QAChC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;QACtC,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC;KACjD,CAAC;AACN,CAAC;AAED,SAAgB,kDAAkD,CAAC,IAAS;IACxE,OAAO,uDAAuD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChF,CAAC;AAED,SAAgB,uDAAuD,CAAC,KAA2D,EAAE,sBAA+B,KAAK;IACrK,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACvD,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;KAClD,CAAC;AACN,CAAC"}
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;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ClD,CAAC;AACN,CAAC"}
@@ -0,0 +1,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"}
@@ -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 { ApiValidationStatus } from './ApiValidationStatus';
13
+ import type { CategoryMatchFailedReason } from './CategoryMatchFailedReason';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CategoryMatchResult
18
+ */
19
+ export interface CategoryMatchResult {
20
+ /**
21
+ *
22
+ * @type {ApiValidationStatus}
23
+ * @memberof CategoryMatchResult
24
+ */
25
+ status: ApiValidationStatus;
26
+ /**
27
+ *
28
+ * @type {Array<CategoryMatchFailedReason>}
29
+ * @memberof CategoryMatchResult
30
+ */
31
+ failed_reasons?: Array<CategoryMatchFailedReason>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the CategoryMatchResult interface.
35
+ */
36
+ export declare function instanceOfCategoryMatchResult(value: object): value is CategoryMatchResult;
37
+ export declare function CategoryMatchResultFromJSON(json: any): CategoryMatchResult;
38
+ export declare function CategoryMatchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryMatchResult;
39
+ export declare function CategoryMatchResultToJSON(json: any): CategoryMatchResult;
40
+ export declare function CategoryMatchResultToJSONTyped(value?: CategoryMatchResult | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=CategoryMatchResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryMatchResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CategoryMatchResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAQ7E;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;CACrD;AAID;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAGzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAS7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5H"}
@@ -0,0 +1,55 @@
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.instanceOfCategoryMatchResult = instanceOfCategoryMatchResult;
17
+ exports.CategoryMatchResultFromJSON = CategoryMatchResultFromJSON;
18
+ exports.CategoryMatchResultFromJSONTyped = CategoryMatchResultFromJSONTyped;
19
+ exports.CategoryMatchResultToJSON = CategoryMatchResultToJSON;
20
+ exports.CategoryMatchResultToJSONTyped = CategoryMatchResultToJSONTyped;
21
+ const ApiValidationStatus_1 = require("./ApiValidationStatus");
22
+ const CategoryMatchFailedReason_1 = require("./CategoryMatchFailedReason");
23
+ /**
24
+ * Check if a given object implements the CategoryMatchResult interface.
25
+ */
26
+ function instanceOfCategoryMatchResult(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function CategoryMatchResultFromJSON(json) {
32
+ return CategoryMatchResultFromJSONTyped(json, false);
33
+ }
34
+ function CategoryMatchResultFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'status': (0, ApiValidationStatus_1.ApiValidationStatusFromJSON)(json['status']),
40
+ 'failed_reasons': json['failed_reasons'] == null ? undefined : (json['failed_reasons'].map(CategoryMatchFailedReason_1.CategoryMatchFailedReasonFromJSON)),
41
+ };
42
+ }
43
+ function CategoryMatchResultToJSON(json) {
44
+ return CategoryMatchResultToJSONTyped(json, false);
45
+ }
46
+ function CategoryMatchResultToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'status': (0, ApiValidationStatus_1.ApiValidationStatusToJSON)(value['status']),
52
+ 'failed_reasons': value['failed_reasons'] == null ? undefined : (value['failed_reasons'].map(CategoryMatchFailedReason_1.CategoryMatchFailedReasonToJSON)),
53
+ };
54
+ }
55
+ //# sourceMappingURL=CategoryMatchResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryMatchResult.js","sourceRoot":"","sources":["../../../src/openapi/models/CategoryMatchResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,sEAGC;AAED,kEAEC;AAED,4EASC;AAED,8DAEC;AAED,wEAUC;AAzED,+DAK+B;AAE/B,2EAKqC;AAwBrC;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,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,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,IAAA,iDAA2B,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrD,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,6DAAiC,CAAC,CAAC;KACjJ,CAAC;AACN,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,KAAkC,EAAE,sBAA+B,KAAK;IACnH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,QAAQ,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACpD,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,2DAA+B,CAAC,CAAC;KACjJ,CAAC;AACN,CAAC"}
@@ -0,0 +1,27 @@
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 DocumentAgeValidFailedReason: {
17
+ readonly PartialExtraction: "PARTIAL_EXTRACTION";
18
+ readonly InvalidDocumentDateFormat: "INVALID_DOCUMENT_DATE_FORMAT";
19
+ readonly DocumentDateExceedsValidityPeriod: "DOCUMENT_DATE_EXCEEDS_VALIDITY_PERIOD";
20
+ };
21
+ export type DocumentAgeValidFailedReason = typeof DocumentAgeValidFailedReason[keyof typeof DocumentAgeValidFailedReason];
22
+ export declare function instanceOfDocumentAgeValidFailedReason(value: any): boolean;
23
+ export declare function DocumentAgeValidFailedReasonFromJSON(json: any): DocumentAgeValidFailedReason;
24
+ export declare function DocumentAgeValidFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAgeValidFailedReason;
25
+ export declare function DocumentAgeValidFailedReasonToJSON(value?: DocumentAgeValidFailedReason | null): any;
26
+ export declare function DocumentAgeValidFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): DocumentAgeValidFailedReason;
27
+ //# sourceMappingURL=DocumentAgeValidFailedReason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentAgeValidFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DocumentAgeValidFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAG1H,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS1E;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAE/H;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,GAAG,GAAG,CAEnG;AAED,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAE9H"}