@vouchsafe/node 0.1.39 → 0.1.42

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 (50) hide show
  1. package/dist/openapi/apis/EVisaVerificationApi.d.ts +2 -2
  2. package/dist/openapi/apis/EVisaVerificationApi.js +2 -2
  3. package/dist/openapi/models/EvisaExistsFailedReason.d.ts +26 -0
  4. package/dist/openapi/models/EvisaExistsFailedReason.d.ts.map +1 -0
  5. package/dist/openapi/models/EvisaExistsFailedReason.js +52 -0
  6. package/dist/openapi/models/EvisaExistsFailedReason.js.map +1 -0
  7. package/dist/openapi/models/EvisaExistsResult.d.ts +41 -0
  8. package/dist/openapi/models/EvisaExistsResult.d.ts.map +1 -0
  9. package/dist/openapi/models/EvisaExistsResult.js +55 -0
  10. package/dist/openapi/models/EvisaExistsResult.js.map +1 -0
  11. package/dist/openapi/models/EvisaNotExpiredFailedReason.d.ts +28 -0
  12. package/dist/openapi/models/EvisaNotExpiredFailedReason.d.ts.map +1 -0
  13. package/dist/openapi/models/EvisaNotExpiredFailedReason.js +54 -0
  14. package/dist/openapi/models/EvisaNotExpiredFailedReason.js.map +1 -0
  15. package/dist/openapi/models/EvisaNotExpiredResult.d.ts +41 -0
  16. package/dist/openapi/models/EvisaNotExpiredResult.d.ts.map +1 -0
  17. package/dist/openapi/models/EvisaNotExpiredResult.js +55 -0
  18. package/dist/openapi/models/EvisaNotExpiredResult.js.map +1 -0
  19. package/dist/openapi/models/EvisaRequiredFieldsExtractedFailedReason.d.ts +26 -0
  20. package/dist/openapi/models/EvisaRequiredFieldsExtractedFailedReason.d.ts.map +1 -0
  21. package/dist/openapi/models/EvisaRequiredFieldsExtractedFailedReason.js +52 -0
  22. package/dist/openapi/models/EvisaRequiredFieldsExtractedFailedReason.js.map +1 -0
  23. package/dist/openapi/models/EvisaRequiredFieldsExtractedResult.d.ts +41 -0
  24. package/dist/openapi/models/EvisaRequiredFieldsExtractedResult.d.ts.map +1 -0
  25. package/dist/openapi/models/EvisaRequiredFieldsExtractedResult.js +55 -0
  26. package/dist/openapi/models/EvisaRequiredFieldsExtractedResult.js.map +1 -0
  27. package/dist/openapi/models/EvisaStartedFailedReason.d.ts +27 -0
  28. package/dist/openapi/models/EvisaStartedFailedReason.d.ts.map +1 -0
  29. package/dist/openapi/models/EvisaStartedFailedReason.js +53 -0
  30. package/dist/openapi/models/EvisaStartedFailedReason.js.map +1 -0
  31. package/dist/openapi/models/EvisaStartedResult.d.ts +41 -0
  32. package/dist/openapi/models/EvisaStartedResult.d.ts.map +1 -0
  33. package/dist/openapi/models/EvisaStartedResult.js +55 -0
  34. package/dist/openapi/models/EvisaStartedResult.js.map +1 -0
  35. package/dist/openapi/models/EvisaValidations.d.ts +12 -9
  36. package/dist/openapi/models/EvisaValidations.d.ts.map +1 -1
  37. package/dist/openapi/models/EvisaValidations.js +12 -9
  38. package/dist/openapi/models/EvisaValidations.js.map +1 -1
  39. package/dist/openapi/models/ImmigrationStatusVerificationResponse.d.ts +1 -1
  40. package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.d.ts +12 -9
  41. package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.d.ts.map +1 -1
  42. package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.js +12 -9
  43. package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.js.map +1 -1
  44. package/dist/openapi/models/RightToRentVerificationResponse.d.ts +1 -1
  45. package/dist/openapi/models/RightToWorkVerificationResponse.d.ts +1 -1
  46. package/dist/openapi/models/index.d.ts +8 -0
  47. package/dist/openapi/models/index.d.ts.map +1 -1
  48. package/dist/openapi/models/index.js +8 -0
  49. package/dist/openapi/models/index.js.map +1 -1
  50. package/package.json +1 -1
@@ -19,11 +19,11 @@ export interface VerifyEvisaRequest {
19
19
  */
20
20
  export declare class EVisaVerificationApi extends runtime.BaseAPI {
21
21
  /**
22
- * <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Verify a person\'s UK eVisa using their Home Office share code. This endpoint allows you to verify a person\'s `immigration status`, `right to work`, or `right to rent` eVisa by providing their share code and date of birth. The share code is obtained by the individual from the UK Home Office online service. **Supported verification types:** - `ImmigrationStatus` - Check a person\'s immigration status (e.g., Settled, Skilled Worker, Youth Mobility Scheme) - `RightToWork` - Check a person\'s right to work in the UK - `RightToRent` - Check a person\'s right to rent property in the UK **Response fields by sub-type:** The response fields directly reflect the information available on a particular eVisa sub-type. On a `pass` outcome, all fields for the sub-type will be populated. On a `fail` outcome, `extracted_details` may be partially populated or empty depending on which validation step failed. **Billing:** Every successful API call (`HTTP 200`) is a billable event, regardless of whether the verification outcome is `pass` or `fail`. Error responses (`HTTP 422`, `HTTP 503`) are not billable and return a different response body. Note that the `billable` field in the response is deprecated and will always be `true` on a `HTTP 200` response. **Artefacts:** On a successful response, artefacts are returned inline with pre-signed download URLs. You have **30 minutes** to download them before the URLs expire. > **Request behaviour:** This is a synchronous endpoint. It can take up to 20 seconds. **Retry guidance:** It is safe to retry requests as the endpoint is stateless and does not create persistent records. We recommend an exponential backoff strategy (e.g. 2s, 4s, 8s) with a maximum of 2–3 retries for transient failures (`HTTP 503`). Do **not** retry `HTTP 422` responses as these indicate the share code has been locked out by GOV.UK and the user needs to generate a new one. **Sandbox testing:** Use these share codes in sandbox mode to test different outcomes: - `PASS12345` - Returns a successful verification with \"Pass\" outcome - `FAIL12345` - Returns a failed verification (e.g. expired status) - `ERROR1234` - Returns an error response > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
22
+ * <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Verify a person\'s UK eVisa using their Home Office share code. This endpoint allows you to verify a person\'s `immigration status`, `right to work`, or `right to rent` eVisa by providing their share code and date of birth. The share code is obtained by the individual from the UK Home Office online service. **Supported verification types:** - `ImmigrationStatus` - Check a person\'s immigration status (e.g., Settled, Skilled Worker, Youth Mobility Scheme) - `RightToWork` - Check a person\'s right to work in the UK - `RightToRent` - Check a person\'s right to rent property in the UK > **Request behaviour:** This is a synchronous endpoint. It can take up to 20 seconds. **Response fields by sub-type:** The response fields directly reflect the information available on a particular eVisa sub-type. On a `pass` outcome, all fields for the sub-type will be populated. On a `fail` outcome, `extracted_details` may be partially populated or empty depending on which validation step failed. **Response summary:** | HTTP Status | Meaning | Action | |-------------|---------|--------| | `200` | Verification completed | Check the `outcome` field to determine if the verification was successful | | `422` | Share code locked out by GOV.UK | Retry with a new share code | | `503` | Service temporarily unavailable | Retry with exponential backoff | **Billing:** An API call is billable when the eVisa was found on GOV.UK, regardless of whether the verification outcome is `pass` or `fail`. If the `share_code` or `date_of_birth` is invalid and no eVisa can be retrieved, the response will have `billable: false` and you will not be charged. Error responses (`HTTP 422`, `HTTP 503`) are also not billable and return an Error response body. **Artefacts:** On a successful response, artefacts are returned inline with pre-signed download URLs. You have **30 minutes** to download them before the URLs expire. **Sandbox testing:** Use these share codes in sandbox mode to test different outcomes: - `PASS12345` - Returns a successful verification with \"Pass\" outcome - `FAIL12345` - Returns a failed verification (e.g. expired status) - `ERROR1234` - Returns an error response - `BADCODE12` - Returns a non-billable failed verification (e.g. invalid share code) - `WRONGDOB1` - Returns a non-billable failed verification (e.g. wrong date of birth) > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
23
23
  */
24
24
  verifyEvisaRaw(requestParameters: VerifyEvisaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EvisaVerificationResponse>>;
25
25
  /**
26
- * <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Verify a person\'s UK eVisa using their Home Office share code. This endpoint allows you to verify a person\'s `immigration status`, `right to work`, or `right to rent` eVisa by providing their share code and date of birth. The share code is obtained by the individual from the UK Home Office online service. **Supported verification types:** - `ImmigrationStatus` - Check a person\'s immigration status (e.g., Settled, Skilled Worker, Youth Mobility Scheme) - `RightToWork` - Check a person\'s right to work in the UK - `RightToRent` - Check a person\'s right to rent property in the UK **Response fields by sub-type:** The response fields directly reflect the information available on a particular eVisa sub-type. On a `pass` outcome, all fields for the sub-type will be populated. On a `fail` outcome, `extracted_details` may be partially populated or empty depending on which validation step failed. **Billing:** Every successful API call (`HTTP 200`) is a billable event, regardless of whether the verification outcome is `pass` or `fail`. Error responses (`HTTP 422`, `HTTP 503`) are not billable and return a different response body. Note that the `billable` field in the response is deprecated and will always be `true` on a `HTTP 200` response. **Artefacts:** On a successful response, artefacts are returned inline with pre-signed download URLs. You have **30 minutes** to download them before the URLs expire. > **Request behaviour:** This is a synchronous endpoint. It can take up to 20 seconds. **Retry guidance:** It is safe to retry requests as the endpoint is stateless and does not create persistent records. We recommend an exponential backoff strategy (e.g. 2s, 4s, 8s) with a maximum of 2–3 retries for transient failures (`HTTP 503`). Do **not** retry `HTTP 422` responses as these indicate the share code has been locked out by GOV.UK and the user needs to generate a new one. **Sandbox testing:** Use these share codes in sandbox mode to test different outcomes: - `PASS12345` - Returns a successful verification with \"Pass\" outcome - `FAIL12345` - Returns a failed verification (e.g. expired status) - `ERROR1234` - Returns an error response > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
26
+ * <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Verify a person\'s UK eVisa using their Home Office share code. This endpoint allows you to verify a person\'s `immigration status`, `right to work`, or `right to rent` eVisa by providing their share code and date of birth. The share code is obtained by the individual from the UK Home Office online service. **Supported verification types:** - `ImmigrationStatus` - Check a person\'s immigration status (e.g., Settled, Skilled Worker, Youth Mobility Scheme) - `RightToWork` - Check a person\'s right to work in the UK - `RightToRent` - Check a person\'s right to rent property in the UK > **Request behaviour:** This is a synchronous endpoint. It can take up to 20 seconds. **Response fields by sub-type:** The response fields directly reflect the information available on a particular eVisa sub-type. On a `pass` outcome, all fields for the sub-type will be populated. On a `fail` outcome, `extracted_details` may be partially populated or empty depending on which validation step failed. **Response summary:** | HTTP Status | Meaning | Action | |-------------|---------|--------| | `200` | Verification completed | Check the `outcome` field to determine if the verification was successful | | `422` | Share code locked out by GOV.UK | Retry with a new share code | | `503` | Service temporarily unavailable | Retry with exponential backoff | **Billing:** An API call is billable when the eVisa was found on GOV.UK, regardless of whether the verification outcome is `pass` or `fail`. If the `share_code` or `date_of_birth` is invalid and no eVisa can be retrieved, the response will have `billable: false` and you will not be charged. Error responses (`HTTP 422`, `HTTP 503`) are also not billable and return an Error response body. **Artefacts:** On a successful response, artefacts are returned inline with pre-signed download URLs. You have **30 minutes** to download them before the URLs expire. **Sandbox testing:** Use these share codes in sandbox mode to test different outcomes: - `PASS12345` - Returns a successful verification with \"Pass\" outcome - `FAIL12345` - Returns a failed verification (e.g. expired status) - `ERROR1234` - Returns an error response - `BADCODE12` - Returns a non-billable failed verification (e.g. invalid share code) - `WRONGDOB1` - Returns a non-billable failed verification (e.g. wrong date of birth) > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
27
27
  */
28
28
  verifyEvisa(requestParameters: VerifyEvisaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EvisaVerificationResponse>;
29
29
  }
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
54
54
  */
55
55
  class EVisaVerificationApi extends runtime.BaseAPI {
56
56
  /**
57
- * <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Verify a person\'s UK eVisa using their Home Office share code. This endpoint allows you to verify a person\'s `immigration status`, `right to work`, or `right to rent` eVisa by providing their share code and date of birth. The share code is obtained by the individual from the UK Home Office online service. **Supported verification types:** - `ImmigrationStatus` - Check a person\'s immigration status (e.g., Settled, Skilled Worker, Youth Mobility Scheme) - `RightToWork` - Check a person\'s right to work in the UK - `RightToRent` - Check a person\'s right to rent property in the UK **Response fields by sub-type:** The response fields directly reflect the information available on a particular eVisa sub-type. On a `pass` outcome, all fields for the sub-type will be populated. On a `fail` outcome, `extracted_details` may be partially populated or empty depending on which validation step failed. **Billing:** Every successful API call (`HTTP 200`) is a billable event, regardless of whether the verification outcome is `pass` or `fail`. Error responses (`HTTP 422`, `HTTP 503`) are not billable and return a different response body. Note that the `billable` field in the response is deprecated and will always be `true` on a `HTTP 200` response. **Artefacts:** On a successful response, artefacts are returned inline with pre-signed download URLs. You have **30 minutes** to download them before the URLs expire. > **Request behaviour:** This is a synchronous endpoint. It can take up to 20 seconds. **Retry guidance:** It is safe to retry requests as the endpoint is stateless and does not create persistent records. We recommend an exponential backoff strategy (e.g. 2s, 4s, 8s) with a maximum of 2–3 retries for transient failures (`HTTP 503`). Do **not** retry `HTTP 422` responses as these indicate the share code has been locked out by GOV.UK and the user needs to generate a new one. **Sandbox testing:** Use these share codes in sandbox mode to test different outcomes: - `PASS12345` - Returns a successful verification with \"Pass\" outcome - `FAIL12345` - Returns a failed verification (e.g. expired status) - `ERROR1234` - Returns an error response > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
57
+ * <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Verify a person\'s UK eVisa using their Home Office share code. This endpoint allows you to verify a person\'s `immigration status`, `right to work`, or `right to rent` eVisa by providing their share code and date of birth. The share code is obtained by the individual from the UK Home Office online service. **Supported verification types:** - `ImmigrationStatus` - Check a person\'s immigration status (e.g., Settled, Skilled Worker, Youth Mobility Scheme) - `RightToWork` - Check a person\'s right to work in the UK - `RightToRent` - Check a person\'s right to rent property in the UK > **Request behaviour:** This is a synchronous endpoint. It can take up to 20 seconds. **Response fields by sub-type:** The response fields directly reflect the information available on a particular eVisa sub-type. On a `pass` outcome, all fields for the sub-type will be populated. On a `fail` outcome, `extracted_details` may be partially populated or empty depending on which validation step failed. **Response summary:** | HTTP Status | Meaning | Action | |-------------|---------|--------| | `200` | Verification completed | Check the `outcome` field to determine if the verification was successful | | `422` | Share code locked out by GOV.UK | Retry with a new share code | | `503` | Service temporarily unavailable | Retry with exponential backoff | **Billing:** An API call is billable when the eVisa was found on GOV.UK, regardless of whether the verification outcome is `pass` or `fail`. If the `share_code` or `date_of_birth` is invalid and no eVisa can be retrieved, the response will have `billable: false` and you will not be charged. Error responses (`HTTP 422`, `HTTP 503`) are also not billable and return an Error response body. **Artefacts:** On a successful response, artefacts are returned inline with pre-signed download URLs. You have **30 minutes** to download them before the URLs expire. **Sandbox testing:** Use these share codes in sandbox mode to test different outcomes: - `PASS12345` - Returns a successful verification with \"Pass\" outcome - `FAIL12345` - Returns a failed verification (e.g. expired status) - `ERROR1234` - Returns an error response - `BADCODE12` - Returns a non-billable failed verification (e.g. invalid share code) - `WRONGDOB1` - Returns a non-billable failed verification (e.g. wrong date of birth) > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
58
58
  */
59
59
  async verifyEvisaRaw(requestParameters, initOverrides) {
60
60
  if (requestParameters['evisaVerificationInput'] == null) {
@@ -81,7 +81,7 @@ class EVisaVerificationApi extends runtime.BaseAPI {
81
81
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EvisaVerificationResponseFromJSON)(jsonValue));
82
82
  }
83
83
  /**
84
- * <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Verify a person\'s UK eVisa using their Home Office share code. This endpoint allows you to verify a person\'s `immigration status`, `right to work`, or `right to rent` eVisa by providing their share code and date of birth. The share code is obtained by the individual from the UK Home Office online service. **Supported verification types:** - `ImmigrationStatus` - Check a person\'s immigration status (e.g., Settled, Skilled Worker, Youth Mobility Scheme) - `RightToWork` - Check a person\'s right to work in the UK - `RightToRent` - Check a person\'s right to rent property in the UK **Response fields by sub-type:** The response fields directly reflect the information available on a particular eVisa sub-type. On a `pass` outcome, all fields for the sub-type will be populated. On a `fail` outcome, `extracted_details` may be partially populated or empty depending on which validation step failed. **Billing:** Every successful API call (`HTTP 200`) is a billable event, regardless of whether the verification outcome is `pass` or `fail`. Error responses (`HTTP 422`, `HTTP 503`) are not billable and return a different response body. Note that the `billable` field in the response is deprecated and will always be `true` on a `HTTP 200` response. **Artefacts:** On a successful response, artefacts are returned inline with pre-signed download URLs. You have **30 minutes** to download them before the URLs expire. > **Request behaviour:** This is a synchronous endpoint. It can take up to 20 seconds. **Retry guidance:** It is safe to retry requests as the endpoint is stateless and does not create persistent records. We recommend an exponential backoff strategy (e.g. 2s, 4s, 8s) with a maximum of 2–3 retries for transient failures (`HTTP 503`). Do **not** retry `HTTP 422` responses as these indicate the share code has been locked out by GOV.UK and the user needs to generate a new one. **Sandbox testing:** Use these share codes in sandbox mode to test different outcomes: - `PASS12345` - Returns a successful verification with \"Pass\" outcome - `FAIL12345` - Returns a failed verification (e.g. expired status) - `ERROR1234` - Returns an error response > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
84
+ * <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental (beta):</strong> This feature is new and currently in beta. </div> Verify a person\'s UK eVisa using their Home Office share code. This endpoint allows you to verify a person\'s `immigration status`, `right to work`, or `right to rent` eVisa by providing their share code and date of birth. The share code is obtained by the individual from the UK Home Office online service. **Supported verification types:** - `ImmigrationStatus` - Check a person\'s immigration status (e.g., Settled, Skilled Worker, Youth Mobility Scheme) - `RightToWork` - Check a person\'s right to work in the UK - `RightToRent` - Check a person\'s right to rent property in the UK > **Request behaviour:** This is a synchronous endpoint. It can take up to 20 seconds. **Response fields by sub-type:** The response fields directly reflect the information available on a particular eVisa sub-type. On a `pass` outcome, all fields for the sub-type will be populated. On a `fail` outcome, `extracted_details` may be partially populated or empty depending on which validation step failed. **Response summary:** | HTTP Status | Meaning | Action | |-------------|---------|--------| | `200` | Verification completed | Check the `outcome` field to determine if the verification was successful | | `422` | Share code locked out by GOV.UK | Retry with a new share code | | `503` | Service temporarily unavailable | Retry with exponential backoff | **Billing:** An API call is billable when the eVisa was found on GOV.UK, regardless of whether the verification outcome is `pass` or `fail`. If the `share_code` or `date_of_birth` is invalid and no eVisa can be retrieved, the response will have `billable: false` and you will not be charged. Error responses (`HTTP 422`, `HTTP 503`) are also not billable and return an Error response body. **Artefacts:** On a successful response, artefacts are returned inline with pre-signed download URLs. You have **30 minutes** to download them before the URLs expire. **Sandbox testing:** Use these share codes in sandbox mode to test different outcomes: - `PASS12345` - Returns a successful verification with \"Pass\" outcome - `FAIL12345` - Returns a failed verification (e.g. expired status) - `ERROR1234` - Returns an error response - `BADCODE12` - Returns a non-billable failed verification (e.g. invalid share code) - `WRONGDOB1` - Returns a non-billable failed verification (e.g. wrong date of birth) > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
85
85
  */
86
86
  async verifyEvisa(requestParameters, initOverrides) {
87
87
  const response = await this.verifyEvisaRaw(requestParameters, initOverrides);
@@ -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 EvisaExistsFailedReason: {
17
+ readonly ShareCodeError: "SHARE_CODE_ERROR";
18
+ readonly IncorrectDetails: "INCORRECT_DETAILS";
19
+ };
20
+ export type EvisaExistsFailedReason = typeof EvisaExistsFailedReason[keyof typeof EvisaExistsFailedReason];
21
+ export declare function instanceOfEvisaExistsFailedReason(value: any): boolean;
22
+ export declare function EvisaExistsFailedReasonFromJSON(json: any): EvisaExistsFailedReason;
23
+ export declare function EvisaExistsFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaExistsFailedReason;
24
+ export declare function EvisaExistsFailedReasonToJSON(value?: EvisaExistsFailedReason | null): any;
25
+ export declare function EvisaExistsFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): EvisaExistsFailedReason;
26
+ //# sourceMappingURL=EvisaExistsFailedReason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaExistsFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaExistsFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAG3G,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASrE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAErH;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,GAAG,GAAG,CAEzF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAEpH"}
@@ -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.EvisaExistsFailedReason = void 0;
17
+ exports.instanceOfEvisaExistsFailedReason = instanceOfEvisaExistsFailedReason;
18
+ exports.EvisaExistsFailedReasonFromJSON = EvisaExistsFailedReasonFromJSON;
19
+ exports.EvisaExistsFailedReasonFromJSONTyped = EvisaExistsFailedReasonFromJSONTyped;
20
+ exports.EvisaExistsFailedReasonToJSON = EvisaExistsFailedReasonToJSON;
21
+ exports.EvisaExistsFailedReasonToJSONTyped = EvisaExistsFailedReasonToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.EvisaExistsFailedReason = {
27
+ ShareCodeError: 'SHARE_CODE_ERROR',
28
+ IncorrectDetails: 'INCORRECT_DETAILS'
29
+ };
30
+ function instanceOfEvisaExistsFailedReason(value) {
31
+ for (const key in exports.EvisaExistsFailedReason) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.EvisaExistsFailedReason, key)) {
33
+ if (exports.EvisaExistsFailedReason[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function EvisaExistsFailedReasonFromJSON(json) {
41
+ return EvisaExistsFailedReasonFromJSONTyped(json, false);
42
+ }
43
+ function EvisaExistsFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function EvisaExistsFailedReasonToJSON(value) {
47
+ return value;
48
+ }
49
+ function EvisaExistsFailedReasonToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
52
+ //# sourceMappingURL=EvisaExistsFailedReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaExistsFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaExistsFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH,8EASC;AAED,0EAEC;AAED,oFAEC;AAED,sEAEC;AAED,gFAEC;AApCD;;;GAGG;AACU,QAAA,uBAAuB,GAAG;IACnC,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,mBAAmB;CAC/B,CAAC;AAIX,SAAgB,iCAAiC,CAAC,KAAU;IACxD,KAAK,MAAM,GAAG,IAAI,+BAAuB,EAAE,CAAC;QACxC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,+BAAuB,EAAE,GAAG,CAAC,EAAE,CAAC;YACrE,IAAI,+BAAuB,CAAC,GAA2C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACjF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,OAAO,IAA+B,CAAC;AAC3C,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAsC;IAChF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAAU,EAAE,mBAA4B;IACvF,OAAO,KAAgC,CAAC;AAC5C,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 { EvisaExistsFailedReason } from './EvisaExistsFailedReason';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface EvisaExistsResult
18
+ */
19
+ export interface EvisaExistsResult {
20
+ /**
21
+ *
22
+ * @type {ApiValidationStatus}
23
+ * @memberof EvisaExistsResult
24
+ */
25
+ status: ApiValidationStatus;
26
+ /**
27
+ *
28
+ * @type {Array<EvisaExistsFailedReason>}
29
+ * @memberof EvisaExistsResult
30
+ */
31
+ failed_reasons?: Array<EvisaExistsFailedReason>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the EvisaExistsResult interface.
35
+ */
36
+ export declare function instanceOfEvisaExistsResult(value: object): value is EvisaExistsResult;
37
+ export declare function EvisaExistsResultFromJSON(json: any): EvisaExistsResult;
38
+ export declare function EvisaExistsResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaExistsResult;
39
+ export declare function EvisaExistsResultToJSON(json: any): EvisaExistsResult;
40
+ export declare function EvisaExistsResultToJSONTyped(value?: EvisaExistsResult | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=EvisaExistsResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaExistsResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaExistsResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CACnD;AAID;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAGrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CASzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxH"}
@@ -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.instanceOfEvisaExistsResult = instanceOfEvisaExistsResult;
17
+ exports.EvisaExistsResultFromJSON = EvisaExistsResultFromJSON;
18
+ exports.EvisaExistsResultFromJSONTyped = EvisaExistsResultFromJSONTyped;
19
+ exports.EvisaExistsResultToJSON = EvisaExistsResultToJSON;
20
+ exports.EvisaExistsResultToJSONTyped = EvisaExistsResultToJSONTyped;
21
+ const ApiValidationStatus_1 = require("./ApiValidationStatus");
22
+ const EvisaExistsFailedReason_1 = require("./EvisaExistsFailedReason");
23
+ /**
24
+ * Check if a given object implements the EvisaExistsResult interface.
25
+ */
26
+ function instanceOfEvisaExistsResult(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function EvisaExistsResultFromJSON(json) {
32
+ return EvisaExistsResultFromJSONTyped(json, false);
33
+ }
34
+ function EvisaExistsResultFromJSONTyped(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(EvisaExistsFailedReason_1.EvisaExistsFailedReasonFromJSON)),
41
+ };
42
+ }
43
+ function EvisaExistsResultToJSON(json) {
44
+ return EvisaExistsResultToJSONTyped(json, false);
45
+ }
46
+ function EvisaExistsResultToJSONTyped(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(EvisaExistsFailedReason_1.EvisaExistsFailedReasonToJSON)),
53
+ };
54
+ }
55
+ //# sourceMappingURL=EvisaExistsResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaExistsResult.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaExistsResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,kEAGC;AAED,8DAEC;AAED,wEASC;AAED,0DAEC;AAED,oEAUC;AAzED,+DAK+B;AAE/B,uEAKmC;AAwBnC;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,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,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,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,yDAA+B,CAAC,CAAC;KAC/I,CAAC;AACN,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,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,uDAA6B,CAAC,CAAC;KAC/I,CAAC;AACN,CAAC"}
@@ -0,0 +1,28 @@
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 EvisaNotExpiredFailedReason: {
17
+ readonly ShareCodeError: "SHARE_CODE_ERROR";
18
+ readonly IncorrectDetails: "INCORRECT_DETAILS";
19
+ readonly EvisaNotYetValid: "EVISA_NOT_YET_VALID";
20
+ readonly ExpiryDatePassed: "EXPIRY_DATE_PASSED";
21
+ };
22
+ export type EvisaNotExpiredFailedReason = typeof EvisaNotExpiredFailedReason[keyof typeof EvisaNotExpiredFailedReason];
23
+ export declare function instanceOfEvisaNotExpiredFailedReason(value: any): boolean;
24
+ export declare function EvisaNotExpiredFailedReasonFromJSON(json: any): EvisaNotExpiredFailedReason;
25
+ export declare function EvisaNotExpiredFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaNotExpiredFailedReason;
26
+ export declare function EvisaNotExpiredFailedReasonToJSON(value?: EvisaNotExpiredFailedReason | null): any;
27
+ export declare function EvisaNotExpiredFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): EvisaNotExpiredFailedReason;
28
+ //# sourceMappingURL=EvisaNotExpiredFailedReason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaNotExpiredFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaNotExpiredFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;CAK9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAGvH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASzE;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAE7H;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,GAAG,CAEjG;AAED,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAE5H"}
@@ -0,0 +1,54 @@
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.EvisaNotExpiredFailedReason = void 0;
17
+ exports.instanceOfEvisaNotExpiredFailedReason = instanceOfEvisaNotExpiredFailedReason;
18
+ exports.EvisaNotExpiredFailedReasonFromJSON = EvisaNotExpiredFailedReasonFromJSON;
19
+ exports.EvisaNotExpiredFailedReasonFromJSONTyped = EvisaNotExpiredFailedReasonFromJSONTyped;
20
+ exports.EvisaNotExpiredFailedReasonToJSON = EvisaNotExpiredFailedReasonToJSON;
21
+ exports.EvisaNotExpiredFailedReasonToJSONTyped = EvisaNotExpiredFailedReasonToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.EvisaNotExpiredFailedReason = {
27
+ ShareCodeError: 'SHARE_CODE_ERROR',
28
+ IncorrectDetails: 'INCORRECT_DETAILS',
29
+ EvisaNotYetValid: 'EVISA_NOT_YET_VALID',
30
+ ExpiryDatePassed: 'EXPIRY_DATE_PASSED'
31
+ };
32
+ function instanceOfEvisaNotExpiredFailedReason(value) {
33
+ for (const key in exports.EvisaNotExpiredFailedReason) {
34
+ if (Object.prototype.hasOwnProperty.call(exports.EvisaNotExpiredFailedReason, key)) {
35
+ if (exports.EvisaNotExpiredFailedReason[key] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
42
+ function EvisaNotExpiredFailedReasonFromJSON(json) {
43
+ return EvisaNotExpiredFailedReasonFromJSONTyped(json, false);
44
+ }
45
+ function EvisaNotExpiredFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
46
+ return json;
47
+ }
48
+ function EvisaNotExpiredFailedReasonToJSON(value) {
49
+ return value;
50
+ }
51
+ function EvisaNotExpiredFailedReasonToJSONTyped(value, ignoreDiscriminator) {
52
+ return value;
53
+ }
54
+ //# sourceMappingURL=EvisaNotExpiredFailedReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaNotExpiredFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaNotExpiredFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgBH,sFASC;AAED,kFAEC;AAED,4FAEC;AAED,8EAEC;AAED,wFAEC;AAtCD;;;GAGG;AACU,QAAA,2BAA2B,GAAG;IACvC,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,mBAAmB;IACrC,gBAAgB,EAAE,qBAAqB;IACvC,gBAAgB,EAAE,oBAAoB;CAChC,CAAC;AAIX,SAAgB,qCAAqC,CAAC,KAAU;IAC5D,KAAK,MAAM,GAAG,IAAI,mCAA2B,EAAE,CAAC;QAC5C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,mCAA2B,EAAE,GAAG,CAAC,EAAE,CAAC;YACzE,IAAI,mCAA2B,CAAC,GAA+C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACzF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,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,OAAO,IAAmC,CAAC;AAC/C,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAA0C;IACxF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,sCAAsC,CAAC,KAAU,EAAE,mBAA4B;IAC3F,OAAO,KAAoC,CAAC;AAChD,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 { EvisaNotExpiredFailedReason } from './EvisaNotExpiredFailedReason';
13
+ import type { ApiValidationStatus } from './ApiValidationStatus';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface EvisaNotExpiredResult
18
+ */
19
+ export interface EvisaNotExpiredResult {
20
+ /**
21
+ *
22
+ * @type {ApiValidationStatus}
23
+ * @memberof EvisaNotExpiredResult
24
+ */
25
+ status: ApiValidationStatus;
26
+ /**
27
+ *
28
+ * @type {Array<EvisaNotExpiredFailedReason>}
29
+ * @memberof EvisaNotExpiredResult
30
+ */
31
+ failed_reasons?: Array<EvisaNotExpiredFailedReason>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the EvisaNotExpiredResult interface.
35
+ */
36
+ export declare function instanceOfEvisaNotExpiredResult(value: object): value is EvisaNotExpiredResult;
37
+ export declare function EvisaNotExpiredResultFromJSON(json: any): EvisaNotExpiredResult;
38
+ export declare function EvisaNotExpiredResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaNotExpiredResult;
39
+ export declare function EvisaNotExpiredResultToJSON(json: any): EvisaNotExpiredResult;
40
+ export declare function EvisaNotExpiredResultToJSONTyped(value?: EvisaNotExpiredResult | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=EvisaNotExpiredResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaNotExpiredResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaNotExpiredResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;CACvD;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAG7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhI"}
@@ -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.instanceOfEvisaNotExpiredResult = instanceOfEvisaNotExpiredResult;
17
+ exports.EvisaNotExpiredResultFromJSON = EvisaNotExpiredResultFromJSON;
18
+ exports.EvisaNotExpiredResultFromJSONTyped = EvisaNotExpiredResultFromJSONTyped;
19
+ exports.EvisaNotExpiredResultToJSON = EvisaNotExpiredResultToJSON;
20
+ exports.EvisaNotExpiredResultToJSONTyped = EvisaNotExpiredResultToJSONTyped;
21
+ const EvisaNotExpiredFailedReason_1 = require("./EvisaNotExpiredFailedReason");
22
+ const ApiValidationStatus_1 = require("./ApiValidationStatus");
23
+ /**
24
+ * Check if a given object implements the EvisaNotExpiredResult interface.
25
+ */
26
+ function instanceOfEvisaNotExpiredResult(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function EvisaNotExpiredResultFromJSON(json) {
32
+ return EvisaNotExpiredResultFromJSONTyped(json, false);
33
+ }
34
+ function EvisaNotExpiredResultFromJSONTyped(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(EvisaNotExpiredFailedReason_1.EvisaNotExpiredFailedReasonFromJSON)),
41
+ };
42
+ }
43
+ function EvisaNotExpiredResultToJSON(json) {
44
+ return EvisaNotExpiredResultToJSONTyped(json, false);
45
+ }
46
+ function EvisaNotExpiredResultToJSONTyped(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(EvisaNotExpiredFailedReason_1.EvisaNotExpiredFailedReasonToJSON)),
53
+ };
54
+ }
55
+ //# sourceMappingURL=EvisaNotExpiredResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaNotExpiredResult.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaNotExpiredResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,0EAGC;AAED,sEAEC;AAED,gFASC;AAED,kEAEC;AAED,4EAUC;AAzED,+EAKuC;AAEvC,+DAK+B;AAwB/B;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,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,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,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,iEAAmC,CAAC,CAAC;KACnJ,CAAC;AACN,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,KAAoC,EAAE,sBAA+B,KAAK;IACvH,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,+DAAiC,CAAC,CAAC;KACnJ,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 EvisaRequiredFieldsExtractedFailedReason: {
17
+ readonly ShareCodeError: "SHARE_CODE_ERROR";
18
+ readonly IncorrectDetails: "INCORRECT_DETAILS";
19
+ };
20
+ export type EvisaRequiredFieldsExtractedFailedReason = typeof EvisaRequiredFieldsExtractedFailedReason[keyof typeof EvisaRequiredFieldsExtractedFailedReason];
21
+ export declare function instanceOfEvisaRequiredFieldsExtractedFailedReason(value: any): boolean;
22
+ export declare function EvisaRequiredFieldsExtractedFailedReasonFromJSON(json: any): EvisaRequiredFieldsExtractedFailedReason;
23
+ export declare function EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaRequiredFieldsExtractedFailedReason;
24
+ export declare function EvisaRequiredFieldsExtractedFailedReasonToJSON(value?: EvisaRequiredFieldsExtractedFailedReason | null): any;
25
+ export declare function EvisaRequiredFieldsExtractedFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): EvisaRequiredFieldsExtractedFailedReason;
26
+ //# sourceMappingURL=EvisaRequiredFieldsExtractedFailedReason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaRequiredFieldsExtractedFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaRequiredFieldsExtractedFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wCAAwC;;;CAG3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAC,MAAM,OAAO,wCAAwC,CAAC,CAAC;AAG9J,wBAAgB,kDAAkD,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStF;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAEpH;AAED,wBAAgB,qDAAqD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wCAAwC,CAEvJ;AAED,wBAAgB,8CAA8C,CAAC,KAAK,CAAC,EAAE,wCAAwC,GAAG,IAAI,GAAG,GAAG,CAE3H;AAED,wBAAgB,mDAAmD,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wCAAwC,CAEtJ"}
@@ -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.EvisaRequiredFieldsExtractedFailedReason = void 0;
17
+ exports.instanceOfEvisaRequiredFieldsExtractedFailedReason = instanceOfEvisaRequiredFieldsExtractedFailedReason;
18
+ exports.EvisaRequiredFieldsExtractedFailedReasonFromJSON = EvisaRequiredFieldsExtractedFailedReasonFromJSON;
19
+ exports.EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped = EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped;
20
+ exports.EvisaRequiredFieldsExtractedFailedReasonToJSON = EvisaRequiredFieldsExtractedFailedReasonToJSON;
21
+ exports.EvisaRequiredFieldsExtractedFailedReasonToJSONTyped = EvisaRequiredFieldsExtractedFailedReasonToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.EvisaRequiredFieldsExtractedFailedReason = {
27
+ ShareCodeError: 'SHARE_CODE_ERROR',
28
+ IncorrectDetails: 'INCORRECT_DETAILS'
29
+ };
30
+ function instanceOfEvisaRequiredFieldsExtractedFailedReason(value) {
31
+ for (const key in exports.EvisaRequiredFieldsExtractedFailedReason) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.EvisaRequiredFieldsExtractedFailedReason, key)) {
33
+ if (exports.EvisaRequiredFieldsExtractedFailedReason[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function EvisaRequiredFieldsExtractedFailedReasonFromJSON(json) {
41
+ return EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped(json, false);
42
+ }
43
+ function EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function EvisaRequiredFieldsExtractedFailedReasonToJSON(value) {
47
+ return value;
48
+ }
49
+ function EvisaRequiredFieldsExtractedFailedReasonToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
52
+ //# sourceMappingURL=EvisaRequiredFieldsExtractedFailedReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvisaRequiredFieldsExtractedFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaRequiredFieldsExtractedFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH,gHASC;AAED,4GAEC;AAED,sHAEC;AAED,wGAEC;AAED,kHAEC;AApCD;;;GAGG;AACU,QAAA,wCAAwC,GAAG;IACpD,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,mBAAmB;CAC/B,CAAC;AAIX,SAAgB,kDAAkD,CAAC,KAAU;IACzE,KAAK,MAAM,GAAG,IAAI,gDAAwC,EAAE,CAAC;QACzD,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,gDAAwC,EAAE,GAAG,CAAC,EAAE,CAAC;YACtF,IAAI,gDAAwC,CAAC,GAA4D,CAAC,KAAK,KAAK,EAAE,CAAC;gBACnH,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,gDAAgD,CAAC,IAAS;IACtE,OAAO,qDAAqD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,SAAgB,qDAAqD,CAAC,IAAS,EAAE,mBAA4B;IACzG,OAAO,IAAgD,CAAC;AAC5D,CAAC;AAED,SAAgB,8CAA8C,CAAC,KAAuD;IAClH,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,mDAAmD,CAAC,KAAU,EAAE,mBAA4B;IACxG,OAAO,KAAiD,CAAC;AAC7D,CAAC"}