@vouchsafe/node 0.1.28 → 0.1.29

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.
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { GetArtefactsResponse } from '../models/index';
14
+ export interface GetArtefactsRequest {
15
+ artefactKey: string;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class ArtefactsApi extends runtime.BaseAPI {
21
+ /**
22
+ * Get an artefact download link. For security reasons, other endpoints (e.g. `GET /verifications/{id}`) may return only an `artefact_key`. Use this endpoint to exchange that key for a **time-limited pre-signed URL** that can be used to download the file. Vouchsafe will respond with: - the requested `artefact_key` - a `download_url` (pre-signed and time-limited) - an `expires_at` timestamp (ISO 8601, UTC) **Note:** The `download_url` will stop working after `expires_at`. If it expires, request a new URL using this endpoint.
23
+ */
24
+ getArtefactsRaw(requestParameters: GetArtefactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetArtefactsResponse>>;
25
+ /**
26
+ * Get an artefact download link. For security reasons, other endpoints (e.g. `GET /verifications/{id}`) may return only an `artefact_key`. Use this endpoint to exchange that key for a **time-limited pre-signed URL** that can be used to download the file. Vouchsafe will respond with: - the requested `artefact_key` - a `download_url` (pre-signed and time-limited) - an `expires_at` timestamp (ISO 8601, UTC) **Note:** The `download_url` will stop working after `expires_at`. If it expires, request a new URL using this endpoint.
27
+ */
28
+ getArtefacts(requestParameters: GetArtefactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetArtefactsResponse>;
29
+ }
30
+ //# sourceMappingURL=ArtefactsApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArtefactsApi.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/ArtefactsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;AAQzB,MAAM,WAAW,mBAAmB;IAChC,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,qBAAa,YAAa,SAAQ,OAAO,CAAC,OAAO;IAE7C;;OAEG;IACG,eAAe,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAkC7K;;OAEG;IACG,YAAY,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAKxJ"}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vouchsafe API docs
6
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ * Contact: help@vouchsafe.id
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.ArtefactsApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class ArtefactsApi extends runtime.BaseAPI {
56
+ /**
57
+ * Get an artefact download link. For security reasons, other endpoints (e.g. `GET /verifications/{id}`) may return only an `artefact_key`. Use this endpoint to exchange that key for a **time-limited pre-signed URL** that can be used to download the file. Vouchsafe will respond with: - the requested `artefact_key` - a `download_url` (pre-signed and time-limited) - an `expires_at` timestamp (ISO 8601, UTC) **Note:** The `download_url` will stop working after `expires_at`. If it expires, request a new URL using this endpoint.
58
+ */
59
+ async getArtefactsRaw(requestParameters, initOverrides) {
60
+ if (requestParameters['artefactKey'] == null) {
61
+ throw new runtime.RequiredError('artefactKey', 'Required parameter "artefactKey" was null or undefined when calling getArtefacts().');
62
+ }
63
+ const queryParameters = {};
64
+ const headerParameters = {};
65
+ if (this.configuration && this.configuration.accessToken) {
66
+ const token = this.configuration.accessToken;
67
+ const tokenString = await token("bearerAuth", []);
68
+ if (tokenString) {
69
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
70
+ }
71
+ }
72
+ let urlPath = `/artefacts/{artefact_key}`;
73
+ urlPath = urlPath.replace(`{${"artefact_key"}}`, encodeURIComponent(String(requestParameters['artefactKey'])));
74
+ const response = await this.request({
75
+ path: urlPath,
76
+ method: 'GET',
77
+ headers: headerParameters,
78
+ query: queryParameters,
79
+ }, initOverrides);
80
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetArtefactsResponseFromJSON)(jsonValue));
81
+ }
82
+ /**
83
+ * Get an artefact download link. For security reasons, other endpoints (e.g. `GET /verifications/{id}`) may return only an `artefact_key`. Use this endpoint to exchange that key for a **time-limited pre-signed URL** that can be used to download the file. Vouchsafe will respond with: - the requested `artefact_key` - a `download_url` (pre-signed and time-limited) - an `expires_at` timestamp (ISO 8601, UTC) **Note:** The `download_url` will stop working after `expires_at`. If it expires, request a new URL using this endpoint.
84
+ */
85
+ async getArtefacts(requestParameters, initOverrides) {
86
+ const response = await this.getArtefactsRaw(requestParameters, initOverrides);
87
+ return await response.value();
88
+ }
89
+ }
90
+ exports.ArtefactsAp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,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,oCAA4B,EAAC,SAAS,CAAC,CAAC,CAAC;IACzG,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,YAAY,CAAC,iBAAsC,EAAE,aAA0D;QACjH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC9E,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AA/CD,oCA+CC"}
@@ -1,4 +1,4 @@
1
- export * from './ArtefactApi';
1
+ export * from './ArtefactsApi';
2
2
  export * from './AuthenticationApi';
3
3
  export * from './DigitalIDApi';
4
4
  export * from './FlowsApi';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
- __exportStar(require("./ArtefactApi"), exports);
19
+ __exportStar(require("./ArtefactsApi"), exports);
20
20
  __exportStar(require("./AuthenticationApi"), exports);
21
21
  __exportStar(require("./DigitalIDApi"), exports);
22
22
  __exportStar(require("./FlowsApi"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,gDAA8B;AAC9B,sDAAoC;AACpC,iDAA+B;AAC/B,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,iDAA+B;AAC/B,sDAAoC;AACpC,iDAA+B;AAC/B,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,qDAAmC"}
@@ -0,0 +1,51 @@
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
+ * Response returned by `GET /artefacts/{artefact_key}`
14
+ * @export
15
+ * @interface GetArtefactsResponse
16
+ */
17
+ export interface GetArtefactsResponse {
18
+ /**
19
+ * The requested artefact key
20
+ * @type {string}
21
+ * @memberof GetArtefactsResponse
22
+ */
23
+ artefact_key: string;
24
+ /**
25
+ * Time-limited pre-signed URL to download the file
26
+ * @type {string}
27
+ * @memberof GetArtefactsResponse
28
+ */
29
+ download_url: string;
30
+ /**
31
+ * Expiry time of the download URL (ISO 8601 UTC)
32
+ * @type {string}
33
+ * @memberof GetArtefactsResponse
34
+ */
35
+ expires_at: string;
36
+ /**
37
+ * Number of seconds until the download URL expires
38
+ * @type {number}
39
+ * @memberof GetArtefactsResponse
40
+ */
41
+ expires_in_seconds: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the GetArtefactsResponse interface.
45
+ */
46
+ export declare function instanceOfGetArtefactsResponse(value: object): value is GetArtefactsResponse;
47
+ export declare function GetArtefactsResponseFromJSON(json: any): GetArtefactsResponse;
48
+ export declare function GetArtefactsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetArtefactsResponse;
49
+ export declare function GetArtefactsResponseToJSON(json: any): GetArtefactsResponse;
50
+ export declare function GetArtefactsResponseToJSONTyped(value?: GetArtefactsResponse | null, ignoreDiscriminator?: boolean): any;
51
+ //# sourceMappingURL=GetArtefactsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetArtefactsResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/GetArtefactsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAM3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAW/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY9H"}
@@ -0,0 +1,63 @@
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.instanceOfGetArtefactsResponse = instanceOfGetArtefactsResponse;
17
+ exports.GetArtefactsResponseFromJSON = GetArtefactsResponseFromJSON;
18
+ exports.GetArtefactsResponseFromJSONTyped = GetArtefactsResponseFromJSONTyped;
19
+ exports.GetArtefactsResponseToJSON = GetArtefactsResponseToJSON;
20
+ exports.GetArtefactsResponseToJSONTyped = GetArtefactsResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetArtefactsResponse interface.
23
+ */
24
+ function instanceOfGetArtefactsResponse(value) {
25
+ if (!('artefact_key' in value) || value['artefact_key'] === undefined)
26
+ return false;
27
+ if (!('download_url' in value) || value['download_url'] === undefined)
28
+ return false;
29
+ if (!('expires_at' in value) || value['expires_at'] === undefined)
30
+ return false;
31
+ if (!('expires_in_seconds' in value) || value['expires_in_seconds'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function GetArtefactsResponseFromJSON(json) {
36
+ return GetArtefactsResponseFromJSONTyped(json, false);
37
+ }
38
+ function GetArtefactsResponseFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'artefact_key': json['artefact_key'],
44
+ 'download_url': json['download_url'],
45
+ 'expires_at': json['expires_at'],
46
+ 'expires_in_seconds': json['expires_in_seconds'],
47
+ };
48
+ }
49
+ function GetArtefactsResponseToJSON(json) {
50
+ return GetArtefactsResponseToJSONTyped(json, false);
51
+ }
52
+ function GetArtefactsResponseToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'artefact_key': value['artefact_key'],
58
+ 'download_url': value['download_url'],
59
+ 'expires_at': value['expires_at'],
60
+ 'expires_in_seconds': value['expires_in_seconds'],
61
+ };
62
+ }
63
+ //# sourceMappingURL=GetArtefactsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetArtefactsResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/GetArtefactsResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsCH,wEAMC;AAED,oEAEC;AAED,8EAWC;AAED,gEAEC;AAED,0EAYC;AA5CD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,IAAI,CAAC,CAAC,cAAc,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpF,IAAI,CAAC,CAAC,cAAc,IAAI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6 +69,7 @@ export * from './Flow';
69
69
  export * from './FlowTemplate';
70
70
  export * from './FraudFlag';
71
71
  export * from './GetArtefactResponse';
72
+ export * from './GetArtefactsResponse';
72
73
  export * from './GetSmartLookupResponse';
73
74
  export * from './GetVerificationResponse';
74
75
  export * from './GetVerificationResponseChecksInner';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAGA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wDAAwD,CAAC;AACvE,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,wDAAwD,CAAC;AACvE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4DAA4D,CAAC;AAC3E,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,u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portStar(require("./FraudFlag"), exports);
90
90
  __exportStar(require("./GetArtefactResponse"), exports);
91
+ __exportStar(require("./GetArtefactsResponse"), exports);
91
92
  __exportStar(require("./GetSmartLookupResponse"), exports);
92
93
  __exportStar(require("./GetVerificationResponse"), exports);
93
94
  __exportStar(require("./GetVerificationResponseChecksInner"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qDAAqD;AACrD,8DAA4C;AAC5C,0DAAwC;AACxC,gDAA8B;AAC9B,uDAAqC;AACrC,mEAAiD;AACjD,6EAA2D;AAC3D,yFAAuE;AACvE,+DAA6C;AAC7C,+EAA6D;AAC7D,0EAAwD;AACxD,qDAAmC;AACnC,yDAAuC;AACvC,yEAAuD;AACvD,oEAAkD;AAClD,gDAA8B;AAC9B,uDAAqC;AACrC,8DAA4C;AAC5C,2DAAyC;AACzC,2EAAyD;AACzD,sEAAoD;AACpD,kDAAgC;AAChC,yDAAuC;AACvC,oEAAkD;AAClD,yFAAuE;AACvE,8FAA4E;AAC5E,+FAA6E;AAC7E,2DAAyC;AACzC,2EAAyD;AACzD,sEAAoD;AACpD,uDAAqC;AACrC,kEAAgD;AAChD,6FAA2E;AAC3E,iEAA+C;AAC/C,iFAA+D;AAC/D,4EAA0D;AAC1D,wDAAsC;AACtC,mEAAiD;AACjD,gFAA8D;AAC9D,8DAA4C;AAC5C,yEAAuD;AACvD,wDAAsC;AACtC,sEAAoD;AACpD,mEAAiD;AACjD,4FAA0E;AAC1E,sDAAoC;AACpC,4DAA0C;AAC1C,yDAAuC;AACvC,wFAAsE;AACtE,4EAA0D;AAC1D,+DAA6C;AAC7C,yDAAuC;AACvC,+CAA6B;AAC7B,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,iDAA+B;AAC/B,gEAA8C;AAC9C,mEAAiD;AACjD,oDAAkC;AAClC,uDAAqC;AACrC,kEAAgD;AAChD,mEAAiD;AACjD,qDAAmC;AACnC,2DAAyC;AACzC,0DAAwC;AACxC,iEAA+C;AAC/C,gDAA8B;AAC9B,yCAAuB;AACvB,iDAA+B;AAC/B,8CAA4B;AAC5B,wDAAsC;AACtC,2DAAyC;AACzC,4DAA0C;AAC1C,uEAAqD;AACrD,4EAA0D;AAC1D,gDAA8B;AAC9B,uDAAqC;AACrC,gEAA8C;AAC9C,4DAA0C;AAC1C,sEAAoD;AACpD,6CAA2B;AAC3B,kDAAgC;AAChC,yDAAuC;AACvC,qDAAmC;AACnC,gDAA8B;AAC9B,gDAA8B;AAC9B,2CAAyB;AACzB,+EAA6D;AAC7D,2EAAyD;AACzD,oFAAkE;AAClE,uFAAqE;AACrE,2CAAyB;AACzB,6DAA2C;AAC3C,mEAAiD;AACjD,gEAA8C;AAC9C,oDAAkC;AAClC,wEAAsD;AACtD,qDAAmC;AACnC,+DAA6C;AAC7C,2CAAyB;AACzB,yCAAuB;AACvB,iDAA+B;AAC/B,mDAAiC;AACjC,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C;AAC1C,2DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qDAAqD;AACrD,8DAA4C;AAC5C,0DAAwC;AACxC,gDAA8B;AAC9B,uDAAqC;AACrC,mEAAiD;AACjD,6EAA2D;AAC3D,yFAAuE;AACvE,+DAA6C;AAC7C,+EAA6D;AAC7D,0EAAwD;AACxD,qDAAmC;AACnC,yDAAuC;AACvC,yEAAuD;AACvD,oEAAkD;AAClD,gDAA8B;AAC9B,uDAAqC;AACrC,8DAA4C;AAC5C,2DAAyC;AACzC,2EAAyD;AACzD,sEAAoD;AACpD,kDAAgC;AAChC,yDAAuC;AACvC,oEAAkD;AAClD,yFAAuE;AACvE,8FAA4E;AAC5E,+FAA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package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vouchsafe/node",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "Official TypeScript and Node.js library for the Vouchsafe identity platform. Use it for easy KYC checks, identity verification, remote right-to-work and more.",
5
5
  "keywords": [
6
6
  "vouchsafe",