@vouchsafe/node 0.1.35 → 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,53 @@
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.DocumentAgeValidFailedReason = void 0;
17
+ exports.instanceOfDocumentAgeValidFailedReason = instanceOfDocumentAgeValidFailedReason;
18
+ exports.DocumentAgeValidFailedReasonFromJSON = DocumentAgeValidFailedReasonFromJSON;
19
+ exports.DocumentAgeValidFailedReasonFromJSONTyped = DocumentAgeValidFailedReasonFromJSONTyped;
20
+ exports.DocumentAgeValidFailedReasonToJSON = DocumentAgeValidFailedReasonToJSON;
21
+ exports.DocumentAgeValidFailedReasonToJSONTyped = DocumentAgeValidFailedReasonToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.DocumentAgeValidFailedReason = {
27
+ PartialExtraction: 'PARTIAL_EXTRACTION',
28
+ InvalidDocumentDateFormat: 'INVALID_DOCUMENT_DATE_FORMAT',
29
+ DocumentDateExceedsValidityPeriod: 'DOCUMENT_DATE_EXCEEDS_VALIDITY_PERIOD'
30
+ };
31
+ function instanceOfDocumentAgeValidFailedReason(value) {
32
+ for (const key in exports.DocumentAgeValidFailedReason) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.DocumentAgeValidFailedReason, key)) {
34
+ if (exports.DocumentAgeValidFailedReason[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function DocumentAgeValidFailedReasonFromJSON(json) {
42
+ return DocumentAgeValidFailedReasonFromJSONTyped(json, false);
43
+ }
44
+ function DocumentAgeValidFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function DocumentAgeValidFailedReasonToJSON(value) {
48
+ return value;
49
+ }
50
+ function DocumentAgeValidFailedReasonToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
53
+ //# sourceMappingURL=DocumentAgeValidFailedReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentAgeValidFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/DocumentAgeValidFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAeH,wFASC;AAED,oFAEC;AAED,8FAEC;AAED,gFAEC;AAED,0FAEC;AArCD;;;GAGG;AACU,QAAA,4BAA4B,GAAG;IACxC,iBAAiB,EAAE,oBAAoB;IACvC,yBAAyB,EAAE,8BAA8B;IACzD,iCAAiC,EAAE,uCAAuC;CACpE,CAAC;AAIX,SAAgB,sCAAsC,CAAC,KAAU;IAC7D,KAAK,MAAM,GAAG,IAAI,oCAA4B,EAAE,CAAC;QAC7C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,oCAA4B,EAAE,GAAG,CAAC,EAAE,CAAC;YAC1E,IAAI,oCAA4B,CAAC,GAAgD,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC3F,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS,EAAE,mBAA4B;IAC7F,OAAO,IAAoC,CAAC;AAChD,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAA2C;IAC1F,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAAU,EAAE,mBAA4B;IAC5F,OAAO,KAAqC,CAAC;AACjD,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 { DocumentAgeValidFailedReason } from './DocumentAgeValidFailedReason';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface DocumentAgeValidResult
18
+ */
19
+ export interface DocumentAgeValidResult {
20
+ /**
21
+ *
22
+ * @type {ApiValidationStatus}
23
+ * @memberof DocumentAgeValidResult
24
+ */
25
+ status: ApiValidationStatus;
26
+ /**
27
+ *
28
+ * @type {Array<DocumentAgeValidFailedReason>}
29
+ * @memberof DocumentAgeValidResult
30
+ */
31
+ failed_reasons?: Array<DocumentAgeValidFailedReason>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the DocumentAgeValidResult interface.
35
+ */
36
+ export declare function instanceOfDocumentAgeValidResult(value: object): value is DocumentAgeValidResult;
37
+ export declare function DocumentAgeValidResultFromJSON(json: any): DocumentAgeValidResult;
38
+ export declare function DocumentAgeValidResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAgeValidResult;
39
+ export declare function DocumentAgeValidResultToJSON(json: any): DocumentAgeValidResult;
40
+ export declare function DocumentAgeValidResultToJSONTyped(value?: DocumentAgeValidResult | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=DocumentAgeValidResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentAgeValidResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DocumentAgeValidResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;CACxD;AAID;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAG/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CASnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlI"}
@@ -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.instanceOfDocumentAgeValidResult = instanceOfDocumentAgeValidResult;
17
+ exports.DocumentAgeValidResultFromJSON = DocumentAgeValidResultFromJSON;
18
+ exports.DocumentAgeValidResultFromJSONTyped = DocumentAgeValidResultFromJSONTyped;
19
+ exports.DocumentAgeValidResultToJSON = DocumentAgeValidResultToJSON;
20
+ exports.DocumentAgeValidResultToJSONTyped = DocumentAgeValidResultToJSONTyped;
21
+ const ApiValidationStatus_1 = require("./ApiValidationStatus");
22
+ const DocumentAgeValidFailedReason_1 = require("./DocumentAgeValidFailedReason");
23
+ /**
24
+ * Check if a given object implements the DocumentAgeValidResult interface.
25
+ */
26
+ function instanceOfDocumentAgeValidResult(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function DocumentAgeValidResultFromJSON(json) {
32
+ return DocumentAgeValidResultFromJSONTyped(json, false);
33
+ }
34
+ function DocumentAgeValidResultFromJSONTyped(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(DocumentAgeValidFailedReason_1.DocumentAgeValidFailedReasonFromJSON)),
41
+ };
42
+ }
43
+ function DocumentAgeValidResultToJSON(json) {
44
+ return DocumentAgeValidResultToJSONTyped(json, false);
45
+ }
46
+ function DocumentAgeValidResultToJSONTyped(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(DocumentAgeValidFailedReason_1.DocumentAgeValidFailedReasonToJSON)),
53
+ };
54
+ }
55
+ //# sourceMappingURL=DocumentAgeValidResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentAgeValidResult.js","sourceRoot":"","sources":["../../../src/openapi/models/DocumentAgeValidResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,4EAGC;AAED,wEAEC;AAED,kFASC;AAED,oEAEC;AAED,8EAUC;AAzED,+DAK+B;AAE/B,iFAKwC;AAwBxC;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,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,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,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,mEAAoC,CAAC,CAAC;KACpJ,CAAC;AACN,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAqC,EAAE,sBAA+B,KAAK;IACzH,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,iEAAkC,CAAC,CAAC;KACpJ,CAAC;AACN,CAAC"}
@@ -0,0 +1,26 @@
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 DocumentCompleteAndLegibleFailedReason: {
17
+ readonly OriginalDocInconclusive: "ORIGINAL_DOC_INCONCLUSIVE";
18
+ readonly OriginalDocNotDetected: "ORIGINAL_DOC_NOT_DETECTED";
19
+ };
20
+ export type DocumentCompleteAndLegibleFailedReason = typeof DocumentCompleteAndLegibleFailedReason[keyof typeof DocumentCompleteAndLegibleFailedReason];
21
+ export declare function instanceOfDocumentCompleteAndLegibleFailedReason(value: any): boolean;
22
+ export declare function DocumentCompleteAndLegibleFailedReasonFromJSON(json: any): DocumentCompleteAndLegibleFailedReason;
23
+ export declare function DocumentCompleteAndLegibleFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentCompleteAndLegibleFailedReason;
24
+ export declare function DocumentCompleteAndLegibleFailedReasonToJSON(value?: DocumentCompleteAndLegibleFailedReason | null): any;
25
+ export declare function DocumentCompleteAndLegibleFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): DocumentCompleteAndLegibleFailedReason;
26
+ //# sourceMappingURL=DocumentCompleteAndLegibleFailedReason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentCompleteAndLegibleFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DocumentCompleteAndLegibleFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,sCAAsC;;;CAGzC,CAAC;AACX,MAAM,MAAM,sCAAsC,GAAG,OAAO,sCAAsC,CAAC,MAAM,OAAO,sCAAsC,CAAC,CAAC;AAGxJ,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpF;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAEhH;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CAEnJ;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,sCAAsC,GAAG,IAAI,GAAG,GAAG,CAEvH;AAED,wBAAgB,iDAAiD,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CAElJ"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vouchsafe API docs
6
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ * Contact: help@vouchsafe.id
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.DocumentCompleteAndLegibleFailedReason = void 0;
17
+ exports.instanceOfDocumentCompleteAndLegibleFailedReason = instanceOfDocumentCompleteAndLegibleFailedReason;
18
+ exports.DocumentCompleteAndLegibleFailedReasonFromJSON = DocumentCompleteAndLegibleFailedReasonFromJSON;
19
+ exports.DocumentCompleteAndLegibleFailedReasonFromJSONTyped = DocumentCompleteAndLegibleFailedReasonFromJSONTyped;
20
+ exports.DocumentCompleteAndLegibleFailedReasonToJSON = DocumentCompleteAndLegibleFailedReasonToJSON;
21
+ exports.DocumentCompleteAndLegibleFailedReasonToJSONTyped = DocumentCompleteAndLegibleFailedReasonToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.DocumentCompleteAndLegibleFailedReason = {
27
+ OriginalDocInconclusive: 'ORIGINAL_DOC_INCONCLUSIVE',
28
+ OriginalDocNotDetected: 'ORIGINAL_DOC_NOT_DETECTED'
29
+ };
30
+ function instanceOfDocumentCompleteAndLegibleFailedReason(value) {
31
+ for (const key in exports.DocumentCompleteAndLegibleFailedReason) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.DocumentCompleteAndLegibleFailedReason, key)) {
33
+ if (exports.DocumentCompleteAndLegibleFailedReason[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function DocumentCompleteAndLegibleFailedReasonFromJSON(json) {
41
+ return DocumentCompleteAndLegibleFailedReasonFromJSONTyped(json, false);
42
+ }
43
+ function DocumentCompleteAndLegibleFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function DocumentCompleteAndLegibleFailedReasonToJSON(value) {
47
+ return value;
48
+ }
49
+ function DocumentCompleteAndLegibleFailedReasonToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
52
+ //# sourceMappingURL=DocumentCompleteAndLegibleFailedReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentCompleteAndLegibleFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/DocumentCompleteAndLegibleFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH,4GASC;AAED,wGAEC;AAED,kHAEC;AAED,oGAEC;AAED,8GAEC;AApCD;;;GAGG;AACU,QAAA,sCAAsC,GAAG;IAClD,uBAAuB,EAAE,2BAA2B;IACpD,sBAAsB,EAAE,2BAA2B;CAC7C,CAAC;AAIX,SAAgB,gDAAgD,CAAC,KAAU;IACvE,KAAK,MAAM,GAAG,IAAI,8CAAsC,EAAE,CAAC;QACvD,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,8CAAsC,EAAE,GAAG,CAAC,EAAE,CAAC;YACpF,IAAI,8CAAsC,CAAC,GAA0D,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC/G,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,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,OAAO,IAA8C,CAAC;AAC1D,CAAC;AAED,SAAgB,4CAA4C,CAAC,KAAqD;IAC9G,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,iDAAiD,CAAC,KAAU,EAAE,mBAA4B;IACtG,OAAO,KAA+C,CAAC;AAC3D,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 { DocumentCompleteAndLegibleFailedReason } from './DocumentCompleteAndLegibleFailedReason';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface DocumentCompleteAndLegibleResult
18
+ */
19
+ export interface DocumentCompleteAndLegibleResult {
20
+ /**
21
+ *
22
+ * @type {ApiValidationStatus}
23
+ * @memberof DocumentCompleteAndLegibleResult
24
+ */
25
+ status: ApiValidationStatus;
26
+ /**
27
+ *
28
+ * @type {Array<DocumentCompleteAndLegibleFailedReason>}
29
+ * @memberof DocumentCompleteAndLegibleResult
30
+ */
31
+ failed_reasons?: Array<DocumentCompleteAndLegibleFailedReason>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the DocumentCompleteAndLegibleResult interface.
35
+ */
36
+ export declare function instanceOfDocumentCompleteAndLegibleResult(value: object): value is DocumentCompleteAndLegibleResult;
37
+ export declare function DocumentCompleteAndLegibleResultFromJSON(json: any): DocumentCompleteAndLegibleResult;
38
+ export declare function DocumentCompleteAndLegibleResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentCompleteAndLegibleResult;
39
+ export declare function DocumentCompleteAndLegibleResultToJSON(json: any): DocumentCompleteAndLegibleResult;
40
+ export declare function DocumentCompleteAndLegibleResultToJSONTyped(value?: DocumentCompleteAndLegibleResult | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=DocumentCompleteAndLegibleResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentCompleteAndLegibleResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DocumentCompleteAndLegibleResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAQvG;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,sCAAsC,CAAC,CAAC;CAClE;AAID;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAGnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CASvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtJ"}
@@ -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.instanceOfDocumentCompleteAndLegibleResult = instanceOfDocumentCompleteAndLegibleResult;
17
+ exports.DocumentCompleteAndLegibleResultFromJSON = DocumentCompleteAndLegibleResultFromJSON;
18
+ exports.DocumentCompleteAndLegibleResultFromJSONTyped = DocumentCompleteAndLegibleResultFromJSONTyped;
19
+ exports.DocumentCompleteAndLegibleResultToJSON = DocumentCompleteAndLegibleResultToJSON;
20
+ exports.DocumentCompleteAndLegibleResultToJSONTyped = DocumentCompleteAndLegibleResultToJSONTyped;
21
+ const ApiValidationStatus_1 = require("./ApiValidationStatus");
22
+ const DocumentCompleteAndLegibleFailedReason_1 = require("./DocumentCompleteAndLegibleFailedReason");
23
+ /**
24
+ * Check if a given object implements the DocumentCompleteAndLegibleResult interface.
25
+ */
26
+ function instanceOfDocumentCompleteAndLegibleResult(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function DocumentCompleteAndLegibleResultFromJSON(json) {
32
+ return DocumentCompleteAndLegibleResultFromJSONTyped(json, false);
33
+ }
34
+ function DocumentCompleteAndLegibleResultFromJSONTyped(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(DocumentCompleteAndLegibleFailedReason_1.DocumentCompleteAndLegibleFailedReasonFromJSON)),
41
+ };
42
+ }
43
+ function DocumentCompleteAndLegibleResultToJSON(json) {
44
+ return DocumentCompleteAndLegibleResultToJSONTyped(json, false);
45
+ }
46
+ function DocumentCompleteAndLegibleResultToJSONTyped(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(DocumentCompleteAndLegibleFailedReason_1.DocumentCompleteAndLegibleFailedReasonToJSON)),
53
+ };
54
+ }
55
+ //# sourceMappingURL=DocumentCompleteAndLegibleResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentCompleteAndLegibleResult.js","sourceRoot":"","sources":["../../../src/openapi/models/DocumentCompleteAndLegibleResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,gGAGC;AAED,4FAEC;AAED,sGASC;AAED,wFAEC;AAED,kGAUC;AAzED,+DAK+B;AAE/B,qGAKkD;AAwBlD;;GAEG;AACH,SAAgB,0CAA0C,CAAC,KAAa;IACpE,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,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,6CAA6C,CAAC,IAAS,EAAE,mBAA4B;IACjG,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,uFAA8C,CAAC,CAAC;KAC9J,CAAC;AACN,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,KAA+C,EAAE,sBAA+B,KAAK;IAC7I,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,qFAA4C,CAAC,CAAC;KAC9J,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 RequiredFieldsExtractedFailedReason: {
17
+ readonly PartialExtraction: "PARTIAL_EXTRACTION";
18
+ };
19
+ export type RequiredFieldsExtractedFailedReason = typeof RequiredFieldsExtractedFailedReason[keyof typeof RequiredFieldsExtractedFailedReason];
20
+ export declare function instanceOfRequiredFieldsExtractedFailedReason(value: any): boolean;
21
+ export declare function RequiredFieldsExtractedFailedReasonFromJSON(json: any): RequiredFieldsExtractedFailedReason;
22
+ export declare function RequiredFieldsExtractedFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequiredFieldsExtractedFailedReason;
23
+ export declare function RequiredFieldsExtractedFailedReasonToJSON(value?: RequiredFieldsExtractedFailedReason | null): any;
24
+ export declare function RequiredFieldsExtractedFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): RequiredFieldsExtractedFailedReason;
25
+ //# sourceMappingURL=RequiredFieldsExtractedFailedReason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredFieldsExtractedFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RequiredFieldsExtractedFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,mCAAmC;;CAEtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAG/I,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASjF;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAE7I;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,GAAG,GAAG,CAEjH;AAED,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAE5I"}
@@ -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.RequiredFieldsExtractedFailedReason = void 0;
17
+ exports.instanceOfRequiredFieldsExtractedFailedReason = instanceOfRequiredFieldsExtractedFailedReason;
18
+ exports.RequiredFieldsExtractedFailedReasonFromJSON = RequiredFieldsExtractedFailedReasonFromJSON;
19
+ exports.RequiredFieldsExtractedFailedReasonFromJSONTyped = RequiredFieldsExtractedFailedReasonFromJSONTyped;
20
+ exports.RequiredFieldsExtractedFailedReasonToJSON = RequiredFieldsExtractedFailedReasonToJSON;
21
+ exports.RequiredFieldsExtractedFailedReasonToJSONTyped = RequiredFieldsExtractedFailedReasonToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.RequiredFieldsExtractedFailedReason = {
27
+ PartialExtraction: 'PARTIAL_EXTRACTION'
28
+ };
29
+ function instanceOfRequiredFieldsExtractedFailedReason(value) {
30
+ for (const key in exports.RequiredFieldsExtractedFailedReason) {
31
+ if (Object.prototype.hasOwnProperty.call(exports.RequiredFieldsExtractedFailedReason, key)) {
32
+ if (exports.RequiredFieldsExtractedFailedReason[key] === value) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ return false;
38
+ }
39
+ function RequiredFieldsExtractedFailedReasonFromJSON(json) {
40
+ return RequiredFieldsExtractedFailedReasonFromJSONTyped(json, false);
41
+ }
42
+ function RequiredFieldsExtractedFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
43
+ return json;
44
+ }
45
+ function RequiredFieldsExtractedFailedReasonToJSON(value) {
46
+ return value;
47
+ }
48
+ function RequiredFieldsExtractedFailedReasonToJSONTyped(value, ignoreDiscriminator) {
49
+ return value;
50
+ }
51
+ //# sourceMappingURL=RequiredFieldsExtractedFailedReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredFieldsExtractedFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/RequiredFieldsExtractedFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAaH,sGASC;AAED,kGAEC;AAED,4GAEC;AAED,8FAEC;AAED,wGAEC;AAnCD;;;GAGG;AACU,QAAA,mCAAmC,GAAG;IAC/C,iBAAiB,EAAE,oBAAoB;CACjC,CAAC;AAIX,SAAgB,6CAA6C,CAAC,KAAU;IACpE,KAAK,MAAM,GAAG,IAAI,2CAAmC,EAAE,CAAC;QACpD,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,2CAAmC,EAAE,GAAG,CAAC,EAAE,CAAC;YACjF,IAAI,2CAAmC,CAAC,GAAuD,CAAC,KAAK,KAAK,EAAE,CAAC;gBACzG,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,IAAS,EAAE,mBAA4B;IACpG,OAAO,IAA2C,CAAC;AACvD,CAAC;AAED,SAAgB,yCAAyC,CAAC,KAAkD;IACxG,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,8CAA8C,CAAC,KAAU,EAAE,mBAA4B;IACnG,OAAO,KAA4C,CAAC;AACxD,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 { RequiredFieldsExtractedFailedReason } from './RequiredFieldsExtractedFailedReason';
13
+ import type { ApiValidationStatus } from './ApiValidationStatus';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface RequiredFieldsExtractedResult
18
+ */
19
+ export interface RequiredFieldsExtractedResult {
20
+ /**
21
+ *
22
+ * @type {ApiValidationStatus}
23
+ * @memberof RequiredFieldsExtractedResult
24
+ */
25
+ status: ApiValidationStatus;
26
+ /**
27
+ *
28
+ * @type {Array<RequiredFieldsExtractedFailedReason>}
29
+ * @memberof RequiredFieldsExtractedResult
30
+ */
31
+ failed_reasons?: Array<RequiredFieldsExtractedFailedReason>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the RequiredFieldsExtractedResult interface.
35
+ */
36
+ export declare function instanceOfRequiredFieldsExtractedResult(value: object): value is RequiredFieldsExtractedResult;
37
+ export declare function RequiredFieldsExtractedResultFromJSON(json: any): RequiredFieldsExtractedResult;
38
+ export declare function RequiredFieldsExtractedResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequiredFieldsExtractedResult;
39
+ export declare function RequiredFieldsExtractedResultToJSON(json: any): RequiredFieldsExtractedResult;
40
+ export declare function RequiredFieldsExtractedResultToJSONTyped(value?: RequiredFieldsExtractedResult | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=RequiredFieldsExtractedResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredFieldsExtractedResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RequiredFieldsExtractedResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAOjG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,mCAAmC,CAAC,CAAC;CAC/D;AAID;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CASjI;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,CAUhJ"}
@@ -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.instanceOfRequiredFieldsExtractedResult = instanceOfRequiredFieldsExtractedResult;
17
+ exports.RequiredFieldsExtractedResultFromJSON = RequiredFieldsExtractedResultFromJSON;
18
+ exports.RequiredFieldsExtractedResultFromJSONTyped = RequiredFieldsExtractedResultFromJSONTyped;
19
+ exports.RequiredFieldsExtractedResultToJSON = RequiredFieldsExtractedResultToJSON;
20
+ exports.RequiredFieldsExtractedResultToJSONTyped = RequiredFieldsExtractedResultToJSONTyped;
21
+ const RequiredFieldsExtractedFailedReason_1 = require("./RequiredFieldsExtractedFailedReason");
22
+ const ApiValidationStatus_1 = require("./ApiValidationStatus");
23
+ /**
24
+ * Check if a given object implements the RequiredFieldsExtractedResult interface.
25
+ */
26
+ function instanceOfRequiredFieldsExtractedResult(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function RequiredFieldsExtractedResultFromJSON(json) {
32
+ return RequiredFieldsExtractedResultFromJSONTyped(json, false);
33
+ }
34
+ function RequiredFieldsExtractedResultFromJSONTyped(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(RequiredFieldsExtractedFailedReason_1.RequiredFieldsExtractedFailedReasonFromJSON)),
41
+ };
42
+ }
43
+ function RequiredFieldsExtractedResultToJSON(json) {
44
+ return RequiredFieldsExtractedResultToJSONTyped(json, false);
45
+ }
46
+ function RequiredFieldsExtractedResultToJSONTyped(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(RequiredFieldsExtractedFailedReason_1.RequiredFieldsExtractedFailedReasonToJSON)),
53
+ };
54
+ }
55
+ //# sourceMappingURL=RequiredFieldsExtractedResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredFieldsExtractedResult.js","sourceRoot":"","sources":["../../../src/openapi/models/RequiredFieldsExtractedResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,0FAGC;AAED,sFAEC;AAED,gGASC;AAED,kFAEC;AAED,4FAUC;AAzED,+FAK+C;AAE/C,+DAK+B;AAwB/B;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,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,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,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,iFAA2C,CAAC,CAAC;KAC3J,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,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,+EAAyC,CAAC,CAAC;KAC3J,CAAC;AACN,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const SupportingDocumentEvidenceType: {
17
+ readonly Payslip: "payslip";
18
+ readonly PensionAnnualStatement: "pension_annual_statement";
19
+ readonly BenefitsLetter: "benefits_letter";
20
+ readonly HmppsLetter: "hmpps_letter";
21
+ readonly NhsLetter: "nhs_letter";
22
+ readonly BankStatement: "bank_statement";
23
+ readonly CreditCardStatement: "credit_card_statement";
24
+ readonly MortgageStatement: "mortgage_statement";
25
+ readonly UtilityBill: "utility_bill";
26
+ readonly MobilePhoneBill: "mobile_phone_bill";
27
+ };
28
+ export type SupportingDocumentEvidenceType = typeof SupportingDocumentEvidenceType[keyof typeof SupportingDocumentEvidenceType];
29
+ export declare function instanceOfSupportingDocumentEvidenceType(value: any): boolean;
30
+ export declare function SupportingDocumentEvidenceTypeFromJSON(json: any): SupportingDocumentEvidenceType;
31
+ export declare function SupportingDocumentEvidenceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportingDocumentEvidenceType;
32
+ export declare function SupportingDocumentEvidenceTypeToJSON(value?: SupportingDocumentEvidenceType | null): any;
33
+ export declare function SupportingDocumentEvidenceTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SupportingDocumentEvidenceType;
34
+ //# sourceMappingURL=SupportingDocumentEvidenceType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingDocumentEvidenceType.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SupportingDocumentEvidenceType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;CAWjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAGhI,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS5E;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAEnI;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,GAAG,GAAG,CAEvG;AAED,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAElI"}