@vouchsafe/node 0.1.36 → 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) 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/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts +15 -13
  10. package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts.map +1 -1
  11. package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js +15 -19
  12. package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js.map +1 -1
  13. package/dist/openapi/models/ApiSupportingDocEvidenceItem.d.ts +7 -7
  14. package/dist/openapi/models/ApiSupportingDocEvidenceItem.js +7 -7
  15. package/dist/openapi/models/ApiSupportingDocEvidenceItem.js.map +1 -1
  16. package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.d.ts +7 -7
  17. package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js +7 -7
  18. package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js.map +1 -1
  19. package/dist/openapi/models/CategoryMatchFailedReason.d.ts +25 -0
  20. package/dist/openapi/models/CategoryMatchFailedReason.d.ts.map +1 -0
  21. package/dist/openapi/models/CategoryMatchFailedReason.js +51 -0
  22. package/dist/openapi/models/CategoryMatchFailedReason.js.map +1 -0
  23. package/dist/openapi/models/CategoryMatchResult.d.ts +41 -0
  24. package/dist/openapi/models/CategoryMatchResult.d.ts.map +1 -0
  25. package/dist/openapi/models/CategoryMatchResult.js +55 -0
  26. package/dist/openapi/models/CategoryMatchResult.js.map +1 -0
  27. package/dist/openapi/models/DocumentAgeValidFailedReason.d.ts +27 -0
  28. package/dist/openapi/models/DocumentAgeValidFailedReason.d.ts.map +1 -0
  29. package/dist/openapi/models/DocumentAgeValidFailedReason.js +53 -0
  30. package/dist/openapi/models/DocumentAgeValidFailedReason.js.map +1 -0
  31. package/dist/openapi/models/DocumentAgeValidResult.d.ts +41 -0
  32. package/dist/openapi/models/DocumentAgeValidResult.d.ts.map +1 -0
  33. package/dist/openapi/models/DocumentAgeValidResult.js +55 -0
  34. package/dist/openapi/models/DocumentAgeValidResult.js.map +1 -0
  35. package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.d.ts +26 -0
  36. package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.d.ts.map +1 -0
  37. package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.js +52 -0
  38. package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.js.map +1 -0
  39. package/dist/openapi/models/DocumentCompleteAndLegibleResult.d.ts +41 -0
  40. package/dist/openapi/models/DocumentCompleteAndLegibleResult.d.ts.map +1 -0
  41. package/dist/openapi/models/DocumentCompleteAndLegibleResult.js +55 -0
  42. package/dist/openapi/models/DocumentCompleteAndLegibleResult.js.map +1 -0
  43. package/dist/openapi/models/Reason.d.ts +4 -0
  44. package/dist/openapi/models/Reason.d.ts.map +1 -1
  45. package/dist/openapi/models/Reason.js +4 -0
  46. package/dist/openapi/models/Reason.js.map +1 -1
  47. package/dist/openapi/models/RequiredFieldsExtractedFailedReason.d.ts +25 -0
  48. package/dist/openapi/models/RequiredFieldsExtractedFailedReason.d.ts.map +1 -0
  49. package/dist/openapi/models/RequiredFieldsExtractedFailedReason.js +51 -0
  50. package/dist/openapi/models/RequiredFieldsExtractedFailedReason.js.map +1 -0
  51. package/dist/openapi/models/RequiredFieldsExtractedResult.d.ts +41 -0
  52. package/dist/openapi/models/RequiredFieldsExtractedResult.d.ts.map +1 -0
  53. package/dist/openapi/models/RequiredFieldsExtractedResult.js +55 -0
  54. package/dist/openapi/models/RequiredFieldsExtractedResult.js.map +1 -0
  55. package/dist/openapi/models/SupportingDocumentEvidenceType.d.ts +34 -0
  56. package/dist/openapi/models/SupportingDocumentEvidenceType.d.ts.map +1 -0
  57. package/dist/openapi/models/SupportingDocumentEvidenceType.js +60 -0
  58. package/dist/openapi/models/SupportingDocumentEvidenceType.js.map +1 -0
  59. package/dist/openapi/models/SupportingDocumentExtractedDetails.d.ts +75 -0
  60. package/dist/openapi/models/SupportingDocumentExtractedDetails.d.ts.map +1 -0
  61. package/dist/openapi/models/SupportingDocumentExtractedDetails.js +79 -0
  62. package/dist/openapi/models/SupportingDocumentExtractedDetails.js.map +1 -0
  63. package/dist/openapi/models/SupportingDocumentValidations.d.ts +62 -0
  64. package/dist/openapi/models/SupportingDocumentValidations.d.ts.map +1 -0
  65. package/dist/openapi/models/SupportingDocumentValidations.js +62 -0
  66. package/dist/openapi/models/SupportingDocumentValidations.js.map +1 -0
  67. package/dist/openapi/models/SupportingDocumentVerificationResponse.d.ts +74 -0
  68. package/dist/openapi/models/SupportingDocumentVerificationResponse.d.ts.map +1 -0
  69. package/dist/openapi/models/SupportingDocumentVerificationResponse.js +82 -0
  70. package/dist/openapi/models/SupportingDocumentVerificationResponse.js.map +1 -0
  71. package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.d.ts +75 -0
  72. package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.d.ts.map +1 -0
  73. package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.js +79 -0
  74. package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.js.map +1 -0
  75. package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.d.ts +62 -0
  76. package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.d.ts.map +1 -0
  77. package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.js +62 -0
  78. package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.js.map +1 -0
  79. package/dist/openapi/models/TamperingSignalsCheckFailedReason.d.ts +25 -0
  80. package/dist/openapi/models/TamperingSignalsCheckFailedReason.d.ts.map +1 -0
  81. package/dist/openapi/models/TamperingSignalsCheckFailedReason.js +51 -0
  82. package/dist/openapi/models/TamperingSignalsCheckFailedReason.js.map +1 -0
  83. package/dist/openapi/models/TamperingSignalsCheckResult.d.ts +41 -0
  84. package/dist/openapi/models/TamperingSignalsCheckResult.d.ts.map +1 -0
  85. package/dist/openapi/models/TamperingSignalsCheckResult.js +55 -0
  86. package/dist/openapi/models/TamperingSignalsCheckResult.js.map +1 -0
  87. package/dist/openapi/models/index.d.ts +16 -0
  88. package/dist/openapi/models/index.d.ts.map +1 -1
  89. package/dist/openapi/models/index.js +16 -0
  90. package/dist/openapi/models/index.js.map +1 -1
  91. package/package.json +1 -1
@@ -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,4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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"}
@@ -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.instanceOfSupportingDocumentVerificationResponseExtractedDetails = instanceOfSupportingDocumentVerificationResponseExtractedDetails;
17
+ exports.SupportingDocumentVerificationResponseExtractedDetailsFromJSON = SupportingDocumentVerificationResponseExtractedDetailsFromJSON;
18
+ exports.SupportingDocumentVerificationResponseExtractedDetailsFromJSONTyped = SupportingDocumentVerificationResponseExtractedDetailsFromJSONTyped;
19
+ exports.SupportingDocumentVerificationResponseExtractedDetailsToJSON = SupportingDocumentVerificationResponseExtractedDetailsToJSON;
20
+ exports.SupportingDocumentVerificationResponseExtractedDetailsToJSONTyped = SupportingDocumentVerificationResponseExtractedDetailsToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SupportingDocumentVerificationResponseExtractedDetails interface.
23
+ */
24
+ function instanceOfSupportingDocumentVerificationResponseExtractedDetails(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 SupportingDocumentVerificationResponseExtractedDetailsFromJSON(json) {
44
+ return SupportingDocumentVerificationResponseExtractedDetailsFromJSONTyped(json, false);
45
+ }
46
+ function SupportingDocumentVerificationResponseExtractedDetailsFromJSONTyped(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 SupportingDocumentVerificationResponseExtractedDetailsToJSON(json) {
62
+ return SupportingDocumentVerificationResponseExtractedDetailsToJSONTyped(json, false);
63
+ }
64
+ function SupportingDocumentVerificationResponseExtractedDetailsToJSONTyped(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=SupportingDocumentVerificationResponseExtractedDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentVerificationResponseExtractedDetails.js","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsEH,4IAUC;AAED,wIAEC;AAED,kJAeC;AAED,oIAEC;AAED,8IAgBC;AAxDD;;GAEG;AACH,SAAgB,gEAAgE,CAAC,KAAa;IAC1F,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,uBAAuB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,uBAAuB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtG,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,mBAAmB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,mBAAmB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9F,IAAI,CAAC,CAAC,mBAAmB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,mBAAmB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9F,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,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;QAC/C,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAC;AACN,CAAC"}
@@ -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 SupportingDocumentVerificationResponseValidations
21
+ */
22
+ export interface SupportingDocumentVerificationResponseValidations {
23
+ /**
24
+ *
25
+ * @type {RequiredFieldsExtractedResult}
26
+ * @memberof SupportingDocumentVerificationResponseValidations
27
+ */
28
+ required_fields_extracted?: RequiredFieldsExtractedResult;
29
+ /**
30
+ *
31
+ * @type {CategoryMatchResult}
32
+ * @memberof SupportingDocumentVerificationResponseValidations
33
+ */
34
+ category_match?: CategoryMatchResult;
35
+ /**
36
+ *
37
+ * @type {DocumentAgeValidResult}
38
+ * @memberof SupportingDocumentVerificationResponseValidations
39
+ */
40
+ document_age_valid?: DocumentAgeValidResult;
41
+ /**
42
+ *
43
+ * @type {DocumentCompleteAndLegibleResult}
44
+ * @memberof SupportingDocumentVerificationResponseValidations
45
+ */
46
+ document_complete_and_legible?: DocumentCompleteAndLegibleResult;
47
+ /**
48
+ *
49
+ * @type {TamperingSignalsCheckResult}
50
+ * @memberof SupportingDocumentVerificationResponseValidations
51
+ */
52
+ tampering_signals_check?: TamperingSignalsCheckResult;
53
+ }
54
+ /**
55
+ * Check if a given object implements the SupportingDocumentVerificationResponseValidations interface.
56
+ */
57
+ export declare function instanceOfSupportingDocumentVerificationResponseValidations(value: object): value is SupportingDocumentVerificationResponseValidations;
58
+ export declare function SupportingDocumentVerificationResponseValidationsFromJSON(json: any): SupportingDocumentVerificationResponseValidations;
59
+ export declare function SupportingDocumentVerificationResponseValidationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportingDocumentVerificationResponseValidations;
60
+ export declare function SupportingDocumentVerificationResponseValidationsToJSON(json: any): SupportingDocumentVerificationResponseValidations;
61
+ export declare function SupportingDocumentVerificationResponseValidationsToJSONTyped(value?: SupportingDocumentVerificationResponseValidations | null, ignoreDiscriminator?: boolean): any;
62
+ //# sourceMappingURL=SupportingDocumentVerificationResponseValidations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentVerificationResponseValidations.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentVerificationResponseValidations.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;AAcrF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;;;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,2DAA2D,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iDAAiD,CAErJ;AAED,wBAAgB,yDAAyD,CAAC,IAAI,EAAE,GAAG,GAAG,iDAAiD,CAEtI;AAED,wBAAgB,8DAA8D,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iDAAiD,CAYzK;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,GAAG,iDAAiD,CAEpI;AAED,wBAAgB,4DAA4D,CAAC,KAAK,CAAC,EAAE,iDAAiD,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAaxL"}
@@ -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.instanceOfSupportingDocumentVerificationResponseValidations = instanceOfSupportingDocumentVerificationResponseValidations;
17
+ exports.SupportingDocumentVerificationResponseValidationsFromJSON = SupportingDocumentVerificationResponseValidationsFromJSON;
18
+ exports.SupportingDocumentVerificationResponseValidationsFromJSONTyped = SupportingDocumentVerificationResponseValidationsFromJSONTyped;
19
+ exports.SupportingDocumentVerificationResponseValidationsToJSON = SupportingDocumentVerificationResponseValidationsToJSON;
20
+ exports.SupportingDocumentVerificationResponseValidationsToJSONTyped = SupportingDocumentVerificationResponseValidationsToJSONTyped;
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 SupportingDocumentVerificationResponseValidations interface.
28
+ */
29
+ function instanceOfSupportingDocumentVerificationResponseValidations(value) {
30
+ return true;
31
+ }
32
+ function SupportingDocumentVerificationResponseValidationsFromJSON(json) {
33
+ return SupportingDocumentVerificationResponseValidationsFromJSONTyped(json, false);
34
+ }
35
+ function SupportingDocumentVerificationResponseValidationsFromJSONTyped(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 SupportingDocumentVerificationResponseValidationsToJSON(json) {
48
+ return SupportingDocumentVerificationResponseValidationsToJSONTyped(json, false);
49
+ }
50
+ function SupportingDocumentVerificationResponseValidationsToJSONTyped(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=SupportingDocumentVerificationResponseValidations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentVerificationResponseValidations.js","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentVerificationResponseValidations.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAuFH,kIAEC;AAED,8HAEC;AAED,wIAYC;AAED,0HAEC;AAED,oIAaC;AA1HD,+DAK+B;AAE/B,yFAK4C;AAE5C,mFAKyC;AASzC,+EAKuC;AAEvC,qEAKk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,4DAA4D,CAAC,KAAgE,EAAE,sBAA+B,KAAK;IAC/K,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,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 TamperingSignalsCheckFailedReason: {
17
+ readonly PossiblyTampered: "POSSIBLY_TAMPERED";
18
+ };
19
+ export type TamperingSignalsCheckFailedReason = typeof TamperingSignalsCheckFailedReason[keyof typeof TamperingSignalsCheckFailedReason];
20
+ export declare function instanceOfTamperingSignalsCheckFailedReason(value: any): boolean;
21
+ export declare function TamperingSignalsCheckFailedReasonFromJSON(json: any): TamperingSignalsCheckFailedReason;
22
+ export declare function TamperingSignalsCheckFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): TamperingSignalsCheckFailedReason;
23
+ export declare function TamperingSignalsCheckFailedReasonToJSON(value?: TamperingSignalsCheckFailedReason | null): any;
24
+ export declare function TamperingSignalsCheckFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): TamperingSignalsCheckFailedReason;
25
+ //# sourceMappingURL=TamperingSignalsCheckFailedReason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TamperingSignalsCheckFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/TamperingSignalsCheckFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,iCAAiC;;CAEpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI,wBAAgB,2CAA2C,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS/E;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CAEzI;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,GAAG,GAAG,CAE7G;AAED,wBAAgB,4CAA4C,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CAExI"}
@@ -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.TamperingSignalsCheckFailedReason = void 0;
17
+ exports.instanceOfTamperingSignalsCheckFailedReason = instanceOfTamperingSignalsCheckFailedReason;
18
+ exports.TamperingSignalsCheckFailedReasonFromJSON = TamperingSignalsCheckFailedReasonFromJSON;
19
+ exports.TamperingSignalsCheckFailedReasonFromJSONTyped = TamperingSignalsCheckFailedReasonFromJSONTyped;
20
+ exports.TamperingSignalsCheckFailedReasonToJSON = TamperingSignalsCheckFailedReasonToJSON;
21
+ exports.TamperingSignalsCheckFailedReasonToJSONTyped = TamperingSignalsCheckFailedReasonToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.TamperingSignalsCheckFailedReason = {
27
+ PossiblyTampered: 'POSSIBLY_TAMPERED'
28
+ };
29
+ function instanceOfTamperingSignalsCheckFailedReason(value) {
30
+ for (const key in exports.TamperingSignalsCheckFailedReason) {
31
+ if (Object.prototype.hasOwnProperty.call(exports.TamperingSignalsCheckFailedReason, key)) {
32
+ if (exports.TamperingSignalsCheckFailedReason[key] === value) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ return false;
38
+ }
39
+ function TamperingSignalsCheckFailedReasonFromJSON(json) {
40
+ return TamperingSignalsCheckFailedReasonFromJSONTyped(json, false);
41
+ }
42
+ function TamperingSignalsCheckFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
43
+ return json;
44
+ }
45
+ function TamperingSignalsCheckFailedReasonToJSON(value) {
46
+ return value;
47
+ }
48
+ function TamperingSignalsCheckFailedReasonToJSONTyped(value, ignoreDiscriminator) {
49
+ return value;
50
+ }
51
+ //# sourceMappingURL=TamperingSignalsCheckFailedReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TamperingSignalsCheckFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/TamperingSignalsCheckFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAaH,kGASC;AAED,8FAEC;AAED,wGAEC;AAED,0FAEC;AAED,oGAEC;AAnCD;;;GAGG;AACU,QAAA,iCAAiC,GAAG;IAC7C,gBAAgB,EAAE,mBAAmB;CAC/B,CAAC;AAIX,SAAgB,2CAA2C,CAAC,KAAU;IAClE,KAAK,MAAM,GAAG,IAAI,yCAAiC,EAAE,CAAC;QAClD,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,yCAAiC,EAAE,GAAG,CAAC,EAAE,CAAC;YAC/E,IAAI,yCAAiC,CAAC,GAAqD,CAAC,KAAK,KAAK,EAAE,CAAC;gBACrG,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAAC,IAAS,EAAE,mBAA4B;IAClG,OAAO,IAAyC,CAAC;AACrD,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAAgD;IACpG,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,4CAA4C,CAAC,KAAU,EAAE,mBAA4B;IACjG,OAAO,KAA0C,CAAC;AACtD,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 { TamperingSignalsCheckFailedReason } from './TamperingSignalsCheckFailedReason';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TamperingSignalsCheckResult
18
+ */
19
+ export interface TamperingSignalsCheckResult {
20
+ /**
21
+ *
22
+ * @type {ApiValidationStatus}
23
+ * @memberof TamperingSignalsCheckResult
24
+ */
25
+ status: ApiValidationStatus;
26
+ /**
27
+ *
28
+ * @type {Array<TamperingSignalsCheckFailedReason>}
29
+ * @memberof TamperingSignalsCheckResult
30
+ */
31
+ failed_reasons?: Array<TamperingSignalsCheckFailedReason>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the TamperingSignalsCheckResult interface.
35
+ */
36
+ export declare function instanceOfTamperingSignalsCheckResult(value: object): value is TamperingSignalsCheckResult;
37
+ export declare function TamperingSignalsCheckResultFromJSON(json: any): TamperingSignalsCheckResult;
38
+ export declare function TamperingSignalsCheckResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): TamperingSignalsCheckResult;
39
+ export declare function TamperingSignalsCheckResultToJSON(json: any): TamperingSignalsCheckResult;
40
+ export declare function TamperingSignalsCheckResultToJSONTyped(value?: TamperingSignalsCheckResult | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=TamperingSignalsCheckResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TamperingSignalsCheckResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/TamperingSignalsCheckResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAQ7F;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,iCAAiC,CAAC,CAAC;CAC7D;AAID;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAGzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAS7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5I"}
@@ -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.instanceOfTamperingSignalsCheckResult = instanceOfTamperingSignalsCheckResult;
17
+ exports.TamperingSignalsCheckResultFromJSON = TamperingSignalsCheckResultFromJSON;
18
+ exports.TamperingSignalsCheckResultFromJSONTyped = TamperingSignalsCheckResultFromJSONTyped;
19
+ exports.TamperingSignalsCheckResultToJSON = TamperingSignalsCheckResultToJSON;
20
+ exports.TamperingSignalsCheckResultToJSONTyped = TamperingSignalsCheckResultToJSONTyped;
21
+ const ApiValidationStatus_1 = require("./ApiValidationStatus");
22
+ const TamperingSignalsCheckFailedReason_1 = require("./TamperingSignalsCheckFailedReason");
23
+ /**
24
+ * Check if a given object implements the TamperingSignalsCheckResult interface.
25
+ */
26
+ function instanceOfTamperingSignalsCheckResult(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function TamperingSignalsCheckResultFromJSON(json) {
32
+ return TamperingSignalsCheckResultFromJSONTyped(json, false);
33
+ }
34
+ function TamperingSignalsCheckResultFromJSONTyped(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(TamperingSignalsCheckFailedReason_1.TamperingSignalsCheckFailedReasonFromJSON)),
41
+ };
42
+ }
43
+ function TamperingSignalsCheckResultToJSON(json) {
44
+ return TamperingSignalsCheckResultToJSONTyped(json, false);
45
+ }
46
+ function TamperingSignalsCheckResultToJSONTyped(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(TamperingSignalsCheckFailedReason_1.TamperingSignalsCheckFailedReasonToJSON)),
53
+ };
54
+ }
55
+ //# sourceMappingURL=TamperingSignalsCheckResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TamperingSignalsCheckResult.js","sourceRoot":"","sources":["../../../src/openapi/models/TamperingSignalsCheckResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,sFAGC;AAED,kFAEC;AAED,4FASC;AAED,8EAEC;AAED,wFAUC;AAzED,+DAK+B;AAE/B,2FAK6C;AAwB7C;;GAEG;AACH,SAAgB,qCAAqC,CAAC,KAAa;IAC/D,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,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,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,6EAAyC,CAAC,CAAC;KACzJ,CAAC;AACN,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,sCAAsC,CAAC,KAA0C,EAAE,sBAA+B,KAAK;IACnI,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,2EAAuC,CAAC,CAAC;KACzJ,CAAC;AACN,CAAC"}
@@ -52,6 +52,8 @@ export * from './BaseCheckVerifyEmailOrVerifyPhoneNumber';
52
52
  export * from './BaseCheckVerifyUserDetails';
53
53
  export * from './BaseCheckVideoSelfie';
54
54
  export * from './CaseStatus';
55
+ export * from './CategoryMatchFailedReason';
56
+ export * from './CategoryMatchResult';
55
57
  export * from './CheckResult';
56
58
  export * from './CheckState';
57
59
  export * from './CheckStatus';
@@ -64,6 +66,10 @@ export * from './CreateTeamResponseCredentials';
64
66
  export * from './CreditBureauVerificationReport';
65
67
  export * from './DigitalIdSession';
66
68
  export * from './DigitalIdSessionStatus';
69
+ export * from './DocumentAgeValidFailedReason';
70
+ export * from './DocumentAgeValidResult';
71
+ export * from './DocumentCompleteAndLegibleFailedReason';
72
+ export * from './DocumentCompleteAndLegibleResult';
67
73
  export * from './EnrichmentCheckResult';
68
74
  export * from './EnrichmentVerificationReport';
69
75
  export * from './Enrichments';
@@ -112,6 +118,8 @@ export * from './Report';
112
118
  export * from './RequestVerificationInput';
113
119
  export * from './RequestVerificationRequestBody';
114
120
  export * from './RequestVerificationResponse';
121
+ export * from './RequiredFieldsExtractedFailedReason';
122
+ export * from './RequiredFieldsExtractedResult';
115
123
  export * from './ReviewUserCheck';
116
124
  export * from './ReviewUserCheckAllOfConfirmedClaims';
117
125
  export * from './RightToRentInput';
@@ -125,6 +133,14 @@ export * from './RightToWorkVerificationResponseExtractedDetails';
125
133
  export * from './SmartLookupInput';
126
134
  export * from './SmartLookupInputThresholds';
127
135
  export * from './Status';
136
+ export * from './SupportingDocumentEvidenceType';
137
+ export * from './SupportingDocumentExtractedDetails';
138
+ export * from './SupportingDocumentValidations';
139
+ export * from './SupportingDocumentVerificationResponse';
140
+ export * from './SupportingDocumentVerificationResponseExtractedDetails';
141
+ export * from './SupportingDocumentVerificationResponseValidations';
142
+ export * from './TamperingSignalsCheckFailedReason';
143
+ export * from './TamperingSignalsCheckResult';
128
144
  export * from './Team';
129
145
  export * from './Verification';
130
146
  export * from './VerifiedClaims';