@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,60 @@
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.SupportingDocumentEvidenceType = void 0;
17
+ exports.instanceOfSupportingDocumentEvidenceType = instanceOfSupportingDocumentEvidenceType;
18
+ exports.SupportingDocumentEvidenceTypeFromJSON = SupportingDocumentEvidenceTypeFromJSON;
19
+ exports.SupportingDocumentEvidenceTypeFromJSONTyped = SupportingDocumentEvidenceTypeFromJSONTyped;
20
+ exports.SupportingDocumentEvidenceTypeToJSON = SupportingDocumentEvidenceTypeToJSON;
21
+ exports.SupportingDocumentEvidenceTypeToJSONTyped = SupportingDocumentEvidenceTypeToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.SupportingDocumentEvidenceType = {
27
+ Payslip: 'payslip',
28
+ PensionAnnualStatement: 'pension_annual_statement',
29
+ BenefitsLetter: 'benefits_letter',
30
+ HmppsLetter: 'hmpps_letter',
31
+ NhsLetter: 'nhs_letter',
32
+ BankStatement: 'bank_statement',
33
+ CreditCardStatement: 'credit_card_statement',
34
+ MortgageStatement: 'mortgage_statement',
35
+ UtilityBill: 'utility_bill',
36
+ MobilePhoneBill: 'mobile_phone_bill'
37
+ };
38
+ function instanceOfSupportingDocumentEvidenceType(value) {
39
+ for (const key in exports.SupportingDocumentEvidenceType) {
40
+ if (Object.prototype.hasOwnProperty.call(exports.SupportingDocumentEvidenceType, key)) {
41
+ if (exports.SupportingDocumentEvidenceType[key] === value) {
42
+ return true;
43
+ }
44
+ }
45
+ }
46
+ return false;
47
+ }
48
+ function SupportingDocumentEvidenceTypeFromJSON(json) {
49
+ return SupportingDocumentEvidenceTypeFromJSONTyped(json, false);
50
+ }
51
+ function SupportingDocumentEvidenceTypeFromJSONTyped(json, ignoreDiscriminator) {
52
+ return json;
53
+ }
54
+ function SupportingDocumentEvidenceTypeToJSON(value) {
55
+ return value;
56
+ }
57
+ function SupportingDocumentEvidenceTypeToJSONTyped(value, ignoreDiscriminator) {
58
+ return value;
59
+ }
60
+ //# sourceMappingURL=SupportingDocumentEvidenceType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentEvidenceType.js","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentEvidenceType.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsBH,4FASC;AAED,wFAEC;AAED,kGAEC;AAED,oFAEC;AAED,8FAEC;AA5CD;;;GAGG;AACU,QAAA,8BAA8B,GAAG;IAC1C,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,EAAE,uBAAuB;IAC5C,iBAAiB,EAAE,oBAAoB;IACvC,WAAW,EAAE,cAAc;IAC3B,eAAe,EAAE,mBAAmB;CAC9B,CAAC;AAIX,SAAgB,wCAAwC,CAAC,KAAU;IAC/D,KAAK,MAAM,GAAG,IAAI,sCAA8B,EAAE,CAAC;QAC/C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,sCAA8B,EAAE,GAAG,CAAC,EAAE,CAAC;YAC5E,IAAI,sCAA8B,CAAC,GAAkD,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC/F,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,OAAO,IAAsC,CAAC;AAClD,CAAC;AAED,SAAgB,oCAAoC,CAAC,KAA6C;IAC9F,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,yCAAyC,CAAC,KAAU,EAAE,mBAA4B;IAC9F,OAAO,KAAuC,CAAC;AACnD,CAAC"}
@@ -0,0 +1,75 @@
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
+ * Extracted details from the supporting document
14
+ * @export
15
+ * @interface SupportingDocumentExtractedDetails
16
+ */
17
+ export interface SupportingDocumentExtractedDetails {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SupportingDocumentExtractedDetails
22
+ */
23
+ first_name: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SupportingDocumentExtractedDetails
28
+ */
29
+ last_name: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SupportingDocumentExtractedDetails
34
+ */
35
+ first_line_of_address: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SupportingDocumentExtractedDetails
40
+ */
41
+ postcode: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SupportingDocumentExtractedDetails
46
+ */
47
+ document_date: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SupportingDocumentExtractedDetails
52
+ */
53
+ document_category: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof SupportingDocumentExtractedDetails
58
+ */
59
+ unique_identifier: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof SupportingDocumentExtractedDetails
64
+ */
65
+ issuer: string | null;
66
+ }
67
+ /**
68
+ * Check if a given object implements the SupportingDocumentExtractedDetails interface.
69
+ */
70
+ export declare function instanceOfSupportingDocumentExtractedDetails(value: object): value is SupportingDocumentExtractedDetails;
71
+ export declare function SupportingDocumentExtractedDetailsFromJSON(json: any): SupportingDocumentExtractedDetails;
72
+ export declare function SupportingDocumentExtractedDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportingDocumentExtractedDetails;
73
+ export declare function SupportingDocumentExtractedDetailsToJSON(json: any): SupportingDocumentExtractedDetails;
74
+ export declare function SupportingDocumentExtractedDetailsToJSONTyped(value?: SupportingDocumentExtractedDetails | null, ignoreDiscriminator?: boolean): any;
75
+ //# sourceMappingURL=SupportingDocumentExtractedDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentExtractedDetails.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentExtractedDetails.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kCAAkC,CAUvH;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAExG;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kCAAkC,CAe3I;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAEtG;AAED,wBAAgB,6CAA6C,CAAC,KAAK,CAAC,EAAE,kCAAkC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB1J"}
@@ -0,0 +1,79 @@
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.instanceOfSupportingDocumentExtractedDetails = instanceOfSupportingDocumentExtractedDetails;
17
+ exports.SupportingDocumentExtractedDetailsFromJSON = SupportingDocumentExtractedDetailsFromJSON;
18
+ exports.SupportingDocumentExtractedDetailsFromJSONTyped = SupportingDocumentExtractedDetailsFromJSONTyped;
19
+ exports.SupportingDocumentExtractedDetailsToJSON = SupportingDocumentExtractedDetailsToJSON;
20
+ exports.SupportingDocumentExtractedDetailsToJSONTyped = SupportingDocumentExtractedDetailsToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SupportingDocumentExtractedDetails interface.
23
+ */
24
+ function instanceOfSupportingDocumentExtractedDetails(value) {
25
+ if (!('first_name' in value) || value['first_name'] === undefined)
26
+ return false;
27
+ if (!('last_name' in value) || value['last_name'] === undefined)
28
+ return false;
29
+ if (!('first_line_of_address' in value) || value['first_line_of_address'] === undefined)
30
+ return false;
31
+ if (!('postcode' in value) || value['postcode'] === undefined)
32
+ return false;
33
+ if (!('document_date' in value) || value['document_date'] === undefined)
34
+ return false;
35
+ if (!('document_category' in value) || value['document_category'] === undefined)
36
+ return false;
37
+ if (!('unique_identifier' in value) || value['unique_identifier'] === undefined)
38
+ return false;
39
+ if (!('issuer' in value) || value['issuer'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function SupportingDocumentExtractedDetailsFromJSON(json) {
44
+ return SupportingDocumentExtractedDetailsFromJSONTyped(json, false);
45
+ }
46
+ function SupportingDocumentExtractedDetailsFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'first_name': json['first_name'],
52
+ 'last_name': json['last_name'],
53
+ 'first_line_of_address': json['first_line_of_address'],
54
+ 'postcode': json['postcode'],
55
+ 'document_date': json['document_date'],
56
+ 'document_category': json['document_category'],
57
+ 'unique_identifier': json['unique_identifier'],
58
+ 'issuer': json['issuer'],
59
+ };
60
+ }
61
+ function SupportingDocumentExtractedDetailsToJSON(json) {
62
+ return SupportingDocumentExtractedDetailsToJSONTyped(json, false);
63
+ }
64
+ function SupportingDocumentExtractedDetailsToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'first_name': value['first_name'],
70
+ 'last_name': value['last_name'],
71
+ 'first_line_of_address': value['first_line_of_address'],
72
+ 'postcode': value['postcode'],
73
+ 'document_date': value['document_date'],
74
+ 'document_category': value['document_category'],
75
+ 'unique_identifier': value['unique_identifier'],
76
+ 'issuer': value['issuer'],
77
+ };
78
+ }
79
+ //# sourceMappingURL=SupportingDocumentExtractedDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentExtractedDetails.js","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentExtractedDetails.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,62 @@
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 { CategoryMatchResult } from './CategoryMatchResult';
13
+ import type { DocumentCompleteAndLegibleResult } from './DocumentCompleteAndLegibleResult';
14
+ import type { RequiredFieldsExtractedResult } from './RequiredFieldsExtractedResult';
15
+ import type { TamperingSignalsCheckResult } from './TamperingSignalsCheckResult';
16
+ import type { DocumentAgeValidResult } from './DocumentAgeValidResult';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface SupportingDocumentValidations
21
+ */
22
+ export interface SupportingDocumentValidations {
23
+ /**
24
+ *
25
+ * @type {RequiredFieldsExtractedResult}
26
+ * @memberof SupportingDocumentValidations
27
+ */
28
+ required_fields_extracted?: RequiredFieldsExtractedResult;
29
+ /**
30
+ *
31
+ * @type {CategoryMatchResult}
32
+ * @memberof SupportingDocumentValidations
33
+ */
34
+ category_match?: CategoryMatchResult;
35
+ /**
36
+ *
37
+ * @type {DocumentAgeValidResult}
38
+ * @memberof SupportingDocumentValidations
39
+ */
40
+ document_age_valid?: DocumentAgeValidResult;
41
+ /**
42
+ *
43
+ * @type {DocumentCompleteAndLegibleResult}
44
+ * @memberof SupportingDocumentValidations
45
+ */
46
+ document_complete_and_legible?: DocumentCompleteAndLegibleResult;
47
+ /**
48
+ *
49
+ * @type {TamperingSignalsCheckResult}
50
+ * @memberof SupportingDocumentValidations
51
+ */
52
+ tampering_signals_check?: TamperingSignalsCheckResult;
53
+ }
54
+ /**
55
+ * Check if a given object implements the SupportingDocumentValidations interface.
56
+ */
57
+ export declare function instanceOfSupportingDocumentValidations(value: object): value is SupportingDocumentValidations;
58
+ export declare function SupportingDocumentValidationsFromJSON(json: any): SupportingDocumentValidations;
59
+ export declare function SupportingDocumentValidationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportingDocumentValidations;
60
+ export declare function SupportingDocumentValidationsToJSON(json: any): SupportingDocumentValidations;
61
+ export declare function SupportingDocumentValidationsToJSONTyped(value?: SupportingDocumentValidations | null, ignoreDiscriminator?: boolean): any;
62
+ //# sourceMappingURL=SupportingDocumentValidations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentValidations.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentValidations.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAO3F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,6BAA6B,CAAC;IAC1D;;;;OAIG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,gCAAgC,CAAC;IACjE;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,2BAA2B,CAAC;CACzD;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAE7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAYjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahJ"}
@@ -0,0 +1,62 @@
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.instanceOfSupportingDocumentValidations = instanceOfSupportingDocumentValidations;
17
+ exports.SupportingDocumentValidationsFromJSON = SupportingDocumentValidationsFromJSON;
18
+ exports.SupportingDocumentValidationsFromJSONTyped = SupportingDocumentValidationsFromJSONTyped;
19
+ exports.SupportingDocumentValidationsToJSON = SupportingDocumentValidationsToJSON;
20
+ exports.SupportingDocumentValidationsToJSONTyped = SupportingDocumentValidationsToJSONTyped;
21
+ const CategoryMatchResult_1 = require("./CategoryMatchResult");
22
+ const DocumentCompleteAndLegibleResult_1 = require("./DocumentCompleteAndLegibleResult");
23
+ const RequiredFieldsExtractedResult_1 = require("./RequiredFieldsExtractedResult");
24
+ const TamperingSignalsCheckResult_1 = require("./TamperingSignalsCheckResult");
25
+ const DocumentAgeValidResult_1 = require("./DocumentAgeValidResult");
26
+ /**
27
+ * Check if a given object implements the SupportingDocumentValidations interface.
28
+ */
29
+ function instanceOfSupportingDocumentValidations(value) {
30
+ return true;
31
+ }
32
+ function SupportingDocumentValidationsFromJSON(json) {
33
+ return SupportingDocumentValidationsFromJSONTyped(json, false);
34
+ }
35
+ function SupportingDocumentValidationsFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'required_fields_extracted': json['required_fields_extracted'] == null ? undefined : (0, RequiredFieldsExtractedResult_1.RequiredFieldsExtractedResultFromJSON)(json['required_fields_extracted']),
41
+ 'category_match': json['category_match'] == null ? undefined : (0, CategoryMatchResult_1.CategoryMatchResultFromJSON)(json['category_match']),
42
+ 'document_age_valid': json['document_age_valid'] == null ? undefined : (0, DocumentAgeValidResult_1.DocumentAgeValidResultFromJSON)(json['document_age_valid']),
43
+ 'document_complete_and_legible': json['document_complete_and_legible'] == null ? undefined : (0, DocumentCompleteAndLegibleResult_1.DocumentCompleteAndLegibleResultFromJSON)(json['document_complete_and_legible']),
44
+ 'tampering_signals_check': json['tampering_signals_check'] == null ? undefined : (0, TamperingSignalsCheckResult_1.TamperingSignalsCheckResultFromJSON)(json['tampering_signals_check']),
45
+ };
46
+ }
47
+ function SupportingDocumentValidationsToJSON(json) {
48
+ return SupportingDocumentValidationsToJSONTyped(json, false);
49
+ }
50
+ function SupportingDocumentValidationsToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'required_fields_extracted': (0, RequiredFieldsExtractedResult_1.RequiredFieldsExtractedResultToJSON)(value['required_fields_extracted']),
56
+ 'category_match': (0, CategoryMatchResult_1.CategoryMatchResultToJSON)(value['category_match']),
57
+ 'document_age_valid': (0, DocumentAgeValidResult_1.DocumentAgeValidResultToJSON)(value['document_age_valid']),
58
+ 'document_complete_and_legible': (0, DocumentCompleteAndLegibleResult_1.DocumentCompleteAndLegibleResultToJSON)(value['document_complete_and_legible']),
59
+ 'tampering_signals_check': (0, TamperingSignalsCheckResult_1.TamperingSignalsCheckResultToJSON)(value['tampering_signals_check']),
60
+ };
61
+ }
62
+ //# sourceMappingURL=SupportingDocumentValidations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentValidations.js","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentValidations.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgFH,0FAEC;AAED,sFAEC;AAED,gGAYC;AAED,kFAEC;AAED,4FAaC;AAnHD,+DAK+B;AAE/B,yFAK4C;AAE5C,mFAKyC;AAEzC,+EAKuC;AAEvC,qEAKkC;AAwClC;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,SAAgB,0CAA0C,CAAC,IAAS,EAAE,mBAA4B;IAC9F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,2BAA2B,EAAE,IAAI,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,qEAAqC,EAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;QAC7J,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iDAA2B,EAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAClH,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,uDAA8B,EAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACjI,+BAA+B,EAAE,IAAI,CAAC,+BAA+B,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,2EAAwC,EAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;QAC5K,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iEAAmC,EAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;KACxJ,CAAC;AACN,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CAAC,KAA4C,EAAE,sBAA+B,KAAK;IACvI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,2BAA2B,EAAE,IAAA,mEAAmC,EAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;QACpG,gBAAgB,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QACpE,oBAAoB,EAAE,IAAA,qDAA4B,EAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAC/E,+BAA+B,EAAE,IAAA,yEAAsC,EAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;QAC/G,yBAAyB,EAAE,IAAA,+DAAiC,EAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;KACjG,CAAC;AACN,CAAC"}
@@ -0,0 +1,74 @@
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 { SupportingDocumentVerificationResponseValidations } from './SupportingDocumentVerificationResponseValidations';
13
+ import type { SupportingDocumentVerificationResponseExtractedDetails } from './SupportingDocumentVerificationResponseExtractedDetails';
14
+ import type { SupportingDocumentEvidenceType } from './SupportingDocumentEvidenceType';
15
+ import type { ApiValidationStatus } from './ApiValidationStatus';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SupportingDocumentVerificationResponse
20
+ */
21
+ export interface SupportingDocumentVerificationResponse {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof SupportingDocumentVerificationResponse
26
+ */
27
+ verification_method: SupportingDocumentVerificationResponseVerificationMethodEnum;
28
+ /**
29
+ *
30
+ * @type {SupportingDocumentEvidenceType}
31
+ * @memberof SupportingDocumentVerificationResponse
32
+ */
33
+ evidence_type: SupportingDocumentEvidenceType;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof SupportingDocumentVerificationResponse
38
+ */
39
+ billable: boolean;
40
+ /**
41
+ *
42
+ * @type {ApiValidationStatus}
43
+ * @memberof SupportingDocumentVerificationResponse
44
+ */
45
+ outcome: ApiValidationStatus;
46
+ /**
47
+ *
48
+ * @type {SupportingDocumentVerificationResponseExtractedDetails}
49
+ * @memberof SupportingDocumentVerificationResponse
50
+ */
51
+ extracted_details: SupportingDocumentVerificationResponseExtractedDetails;
52
+ /**
53
+ *
54
+ * @type {SupportingDocumentVerificationResponseValidations}
55
+ * @memberof SupportingDocumentVerificationResponse
56
+ */
57
+ validations: SupportingDocumentVerificationResponseValidations;
58
+ }
59
+ /**
60
+ * @export
61
+ */
62
+ export declare const SupportingDocumentVerificationResponseVerificationMethodEnum: {
63
+ readonly SupportingDocument: "supporting_document";
64
+ };
65
+ export type SupportingDocumentVerificationResponseVerificationMethodEnum = typeof SupportingDocumentVerificationResponseVerificationMethodEnum[keyof typeof SupportingDocumentVerificationResponseVerificationMethodEnum];
66
+ /**
67
+ * Check if a given object implements the SupportingDocumentVerificationResponse interface.
68
+ */
69
+ export declare function instanceOfSupportingDocumentVerificationResponse(value: object): value is SupportingDocumentVerificationResponse;
70
+ export declare function SupportingDocumentVerificationResponseFromJSON(json: any): SupportingDocumentVerificationResponse;
71
+ export declare function SupportingDocumentVerificationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportingDocumentVerificationResponse;
72
+ export declare function SupportingDocumentVerificationResponseToJSON(json: any): SupportingDocumentVerificationResponse;
73
+ export declare function SupportingDocumentVerificationResponseToJSONTyped(value?: SupportingDocumentVerificationResponse | null, ignoreDiscriminator?: boolean): any;
74
+ //# sourceMappingURL=SupportingDocumentVerificationResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentVerificationResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentVerificationResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iDAAiD,EAAE,MAAM,qDAAqD,CAAC;AAO7H,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,0DAA0D,CAAC;AAOvI,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAOvF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,mBAAmB,EAAE,4DAA4D,CAAC;IAClF;;;;OAIG;IACH,aAAa,EAAE,8BAA8B,CAAC;IAC9C;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,iBAAiB,EAAE,sDAAsD,CAAC;IAC1E;;;;OAIG;IACH,WAAW,EAAE,iDAAiD,CAAC;CAClE;AAGD;;GAEG;AACH,eAAO,MAAM,4DAA4D;;CAE/D,CAAC;AACX,MAAM,MAAM,4DAA4D,GAAG,OAAO,4DAA4D,CAAC,MAAM,OAAO,4DAA4D,CAAC,CAAC;AAG1N;;GAEG;AACH,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sCAAsC,CAQ/H;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAEhH;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CAanJ;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAE9G;AAED,wBAAgB,iDAAiD,CAAC,KAAK,CAAC,EAAE,sCAAsC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAclK"}
@@ -0,0 +1,82 @@
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.SupportingDocumentVerificationResponseVerificationMethodEnum = void 0;
17
+ exports.instanceOfSupportingDocumentVerificationResponse = instanceOfSupportingDocumentVerificationResponse;
18
+ exports.SupportingDocumentVerificationResponseFromJSON = SupportingDocumentVerificationResponseFromJSON;
19
+ exports.SupportingDocumentVerificationResponseFromJSONTyped = SupportingDocumentVerificationResponseFromJSONTyped;
20
+ exports.SupportingDocumentVerificationResponseToJSON = SupportingDocumentVerificationResponseToJSON;
21
+ exports.SupportingDocumentVerificationResponseToJSONTyped = SupportingDocumentVerificationResponseToJSONTyped;
22
+ const SupportingDocumentVerificationResponseValidations_1 = require("./SupportingDocumentVerificationResponseValidations");
23
+ const SupportingDocumentVerificationResponseExtractedDetails_1 = require("./SupportingDocumentVerificationResponseExtractedDetails");
24
+ const SupportingDocumentEvidenceType_1 = require("./SupportingDocumentEvidenceType");
25
+ const ApiValidationStatus_1 = require("./ApiValidationStatus");
26
+ /**
27
+ * @export
28
+ */
29
+ exports.SupportingDocumentVerificationResponseVerificationMethodEnum = {
30
+ SupportingDocument: 'supporting_document'
31
+ };
32
+ /**
33
+ * Check if a given object implements the SupportingDocumentVerificationResponse interface.
34
+ */
35
+ function instanceOfSupportingDocumentVerificationResponse(value) {
36
+ if (!('verification_method' in value) || value['verification_method'] === undefined)
37
+ return false;
38
+ if (!('evidence_type' in value) || value['evidence_type'] === undefined)
39
+ return false;
40
+ if (!('billable' in value) || value['billable'] === undefined)
41
+ return false;
42
+ if (!('outcome' in value) || value['outcome'] === undefined)
43
+ return false;
44
+ if (!('extracted_details' in value) || value['extracted_details'] === undefined)
45
+ return false;
46
+ if (!('validations' in value) || value['validations'] === undefined)
47
+ return false;
48
+ return true;
49
+ }
50
+ function SupportingDocumentVerificationResponseFromJSON(json) {
51
+ return SupportingDocumentVerificationResponseFromJSONTyped(json, false);
52
+ }
53
+ function SupportingDocumentVerificationResponseFromJSONTyped(json, ignoreDiscriminator) {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+ 'verification_method': json['verification_method'],
59
+ 'evidence_type': (0, SupportingDocumentEvidenceType_1.SupportingDocumentEvidenceTypeFromJSON)(json['evidence_type']),
60
+ 'billable': json['billable'],
61
+ 'outcome': (0, ApiValidationStatus_1.ApiValidationStatusFromJSON)(json['outcome']),
62
+ 'extracted_details': (0, SupportingDocumentVerificationResponseExtractedDetails_1.SupportingDocumentVerificationResponseExtractedDetailsFromJSON)(json['extracted_details']),
63
+ 'validations': (0, SupportingDocumentVerificationResponseValidations_1.SupportingDocumentVerificationResponseValidationsFromJSON)(json['validations']),
64
+ };
65
+ }
66
+ function SupportingDocumentVerificationResponseToJSON(json) {
67
+ return SupportingDocumentVerificationResponseToJSONTyped(json, false);
68
+ }
69
+ function SupportingDocumentVerificationResponseToJSONTyped(value, ignoreDiscriminator = false) {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'verification_method': value['verification_method'],
75
+ 'evidence_type': (0, SupportingDocumentEvidenceType_1.SupportingDocumentEvidenceTypeToJSON)(value['evidence_type']),
76
+ 'billable': value['billable'],
77
+ 'outcome': (0, ApiValidationStatus_1.ApiValidationStatusToJSON)(value['outcome']),
78
+ 'extracted_details': (0, SupportingDocumentVerificationResponseExtractedDetails_1.SupportingDocumentVerificationResponseExtractedDetailsToJSON)(value['extracted_details']),
79
+ 'validations': (0, SupportingDocumentVerificationResponseValidations_1.SupportingDocumentVerificationResponseValidationsToJSON)(value['validations']),
80
+ };
81
+ }
82
+ //# sourceMappingURL=SupportingDocumentVerificationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentVerificationResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentVerificationResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAyFH,4GAQC;AAED,wGAEC;AAED,kHAaC;AAED,oGAEC;AAED,8GAcC;AApID,2HAK6D;AAE7D,qIAKkE;AAElE,qFAK0C;AAE1C,+DAK+B;AA+C/B;;GAEG;AACU,QAAA,4DAA4D,GAAG;IACxE,kBAAkB,EAAE,qBAAqB;CACnC,CAAC;AAIX;;GAEG;AACH,SAAgB,gDAAgD,CAAC,KAAa;IAC1E,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClG,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,mBAAmB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,mBAAmB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9F,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,8CAA8C,CAAC,IAAS;IACpE,OAAO,mDAAmD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5E,CAAC;AAED,SAAgB,mDAAmD,CAAC,IAAS,EAAE,mBAA4B;IACvG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,eAAe,EAAE,IAAA,uEAAsC,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC9E,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,SAAS,EAAE,IAAA,iDAA2B,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvD,mBAAmB,EAAE,IAAA,uHAA8D,EAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QAC9G,aAAa,EAAE,IAAA,6GAAyD,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;KAChG,CAAC;AACN,CAAC;AAED,SAAgB,4CAA4C,CAAC,IAAS;IAClE,OAAO,iDAAiD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,SAAgB,iDAAiD,CAAC,KAAqD,EAAE,sBAA+B,KAAK;IACzJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,eAAe,EAAE,IAAA,qEAAoC,EAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAC7E,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,SAAS,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACtD,mBAAmB,EAAE,IAAA,qHAA4D,EAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC7G,aAAa,EAAE,IAAA,2GAAuD,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;KAC/F,CAAC;AACN,CAAC"}
@@ -0,0 +1,75 @@
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
+ * @interface SupportingDocumentVerificationResponseExtractedDetails
16
+ */
17
+ export interface SupportingDocumentVerificationResponseExtractedDetails {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SupportingDocumentVerificationResponseExtractedDetails
22
+ */
23
+ first_name: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SupportingDocumentVerificationResponseExtractedDetails
28
+ */
29
+ last_name: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SupportingDocumentVerificationResponseExtractedDetails
34
+ */
35
+ first_line_of_address: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SupportingDocumentVerificationResponseExtractedDetails
40
+ */
41
+ postcode: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SupportingDocumentVerificationResponseExtractedDetails
46
+ */
47
+ document_date: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SupportingDocumentVerificationResponseExtractedDetails
52
+ */
53
+ document_category: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof SupportingDocumentVerificationResponseExtractedDetails
58
+ */
59
+ unique_identifier: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof SupportingDocumentVerificationResponseExtractedDetails
64
+ */
65
+ issuer: string | null;
66
+ }
67
+ /**
68
+ * Check if a given object implements the SupportingDocumentVerificationResponseExtractedDetails interface.
69
+ */
70
+ export declare function instanceOfSupportingDocumentVerificationResponseExtractedDetails(value: object): value is SupportingDocumentVerificationResponseExtractedDetails;
71
+ export declare function SupportingDocumentVerificationResponseExtractedDetailsFromJSON(json: any): SupportingDocumentVerificationResponseExtractedDetails;
72
+ export declare function SupportingDocumentVerificationResponseExtractedDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportingDocumentVerificationResponseExtractedDetails;
73
+ export declare function SupportingDocumentVerificationResponseExtractedDetailsToJSON(json: any): SupportingDocumentVerificationResponseExtractedDetails;
74
+ export declare function SupportingDocumentVerificationResponseExtractedDetailsToJSONTyped(value?: SupportingDocumentVerificationResponseExtractedDetails | null, ignoreDiscriminator?: boolean): any;
75
+ //# sourceMappingURL=SupportingDocumentVerificationResponseExtractedDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentVerificationResponseExtractedDetails.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAWH;;;;GAIG;AACH,MAAM,WAAW,sDAAsD;IACnE;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,gEAAgE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sDAAsD,CAU/J;AAED,wBAAgB,8DAA8D,CAAC,IAAI,EAAE,GAAG,GAAG,sDAAsD,CAEhJ;AAED,wBAAgB,mEAAmE,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sDAAsD,CAenL;AAED,wBAAgB,4DAA4D,CAAC,IAAI,EAAE,GAAG,GAAG,sDAAsD,CAE9I;AAED,wBAAgB,iEAAiE,CAAC,KAAK,CAAC,EAAE,sDAAsD,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBlM"}