@vouchsafe/node 0.1.4 → 0.1.5

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 (41) hide show
  1. package/dist/openapi/apis/TeamApi.d.ts +39 -0
  2. package/dist/openapi/apis/TeamApi.d.ts.map +1 -0
  3. package/dist/openapi/apis/TeamApi.js +120 -0
  4. package/dist/openapi/apis/TeamApi.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/CreateTeamInput.d.ts +58 -0
  10. package/dist/openapi/models/CreateTeamInput.d.ts.map +1 -0
  11. package/dist/openapi/models/CreateTeamInput.js +62 -0
  12. package/dist/openapi/models/CreateTeamInput.js.map +1 -0
  13. package/dist/openapi/models/CreateTeamResponse.d.ts +58 -0
  14. package/dist/openapi/models/CreateTeamResponse.d.ts.map +1 -0
  15. package/dist/openapi/models/CreateTeamResponse.js +66 -0
  16. package/dist/openapi/models/CreateTeamResponse.js.map +1 -0
  17. package/dist/openapi/models/CreateTeamResponseCredentials.d.ts +52 -0
  18. package/dist/openapi/models/CreateTeamResponseCredentials.d.ts.map +1 -0
  19. package/dist/openapi/models/CreateTeamResponseCredentials.js +64 -0
  20. package/dist/openapi/models/CreateTeamResponseCredentials.js.map +1 -0
  21. package/dist/openapi/models/FlowTemplate.d.ts +28 -0
  22. package/dist/openapi/models/FlowTemplate.d.ts.map +1 -0
  23. package/dist/openapi/models/FlowTemplate.js +54 -0
  24. package/dist/openapi/models/FlowTemplate.js.map +1 -0
  25. package/dist/openapi/models/Model36EnumsEnvironment.d.ts +26 -0
  26. package/dist/openapi/models/Model36EnumsEnvironment.d.ts.map +1 -0
  27. package/dist/openapi/models/Model36EnumsEnvironment.js +52 -0
  28. package/dist/openapi/models/Model36EnumsEnvironment.js.map +1 -0
  29. package/dist/openapi/models/RequestVerificationResponse.d.ts +6 -0
  30. package/dist/openapi/models/RequestVerificationResponse.d.ts.map +1 -1
  31. package/dist/openapi/models/RequestVerificationResponse.js +2 -0
  32. package/dist/openapi/models/RequestVerificationResponse.js.map +1 -1
  33. package/dist/openapi/models/Team.d.ts +79 -0
  34. package/dist/openapi/models/Team.d.ts.map +1 -0
  35. package/dist/openapi/models/Team.js +85 -0
  36. package/dist/openapi/models/Team.js.map +1 -0
  37. package/dist/openapi/models/index.d.ts +6 -0
  38. package/dist/openapi/models/index.d.ts.map +1 -1
  39. package/dist/openapi/models/index.js +6 -0
  40. package/dist/openapi/models/index.js.map +1 -1
  41. package/package.json +1 -1
@@ -0,0 +1,39 @@
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 { CreateTeamInput, CreateTeamResponse, Team } from '../models/index';
14
+ export interface CreateTeamRequest {
15
+ xPartnerToken: string;
16
+ createTeamInput: CreateTeamInput;
17
+ }
18
+ /**
19
+ *
20
+ */
21
+ export declare class TeamApi extends runtime.BaseAPI {
22
+ /**
23
+ * Create a new team (Partners only). Creates a new team with the specified configuration and admin users. Vouchsafe will respond with: - a unique team ID for tracking - the team name and public-facing name - client credentials to authenticate team API requests - creation timestamp (ISO 8601 format) The provided admin emails will be granted administrative access to manage the team\'s settings and workflows. **Note:** This endpoint requires a valid partner token in the `X-Partner-Token` header.
24
+ */
25
+ createTeamRaw(requestParameters: CreateTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateTeamResponse>>;
26
+ /**
27
+ * Create a new team (Partners only). Creates a new team with the specified configuration and admin users. Vouchsafe will respond with: - a unique team ID for tracking - the team name and public-facing name - client credentials to authenticate team API requests - creation timestamp (ISO 8601 format) The provided admin emails will be granted administrative access to manage the team\'s settings and workflows. **Note:** This endpoint requires a valid partner token in the `X-Partner-Token` header.
28
+ */
29
+ createTeam(requestParameters: CreateTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateTeamResponse>;
30
+ /**
31
+ * Get the currently authenticated team. Helpful for testing, especially when managing multiple client IDs and secrets. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
32
+ */
33
+ getTeamRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Team>>;
34
+ /**
35
+ * Get the currently authenticated team. Helpful for testing, especially when managing multiple client IDs and secrets. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
36
+ */
37
+ getTeam(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Team>;
38
+ }
39
+ //# sourceMappingURL=TeamApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TeamApi.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/TeamApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,eAAe,EACf,kBAAkB,EAClB,IAAI,EACL,MAAM,iBAAiB,CAAC;AAYzB,MAAM,WAAW,iBAAiB;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,eAAe,CAAC;CACpC;AAED;;GAEG;AACH,qBAAa,OAAQ,SAAQ,OAAO,CAAC,OAAO;IAExC;;OAEG;IACG,aAAa,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAuCvK;;OAEG;IACG,UAAU,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAK/I;;OAEG;IACG,UAAU,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IA0BhH;;OAEG;IACG,OAAO,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAK3F"}
@@ -0,0 +1,120 @@
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.TeamApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class TeamApi extends runtime.BaseAPI {
56
+ /**
57
+ * Create a new team (Partners only). Creates a new team with the specified configuration and admin users. Vouchsafe will respond with: - a unique team ID for tracking - the team name and public-facing name - client credentials to authenticate team API requests - creation timestamp (ISO 8601 format) The provided admin emails will be granted administrative access to manage the team\'s settings and workflows. **Note:** This endpoint requires a valid partner token in the `X-Partner-Token` header.
58
+ */
59
+ async createTeamRaw(requestParameters, initOverrides) {
60
+ if (requestParameters['xPartnerToken'] == null) {
61
+ throw new runtime.RequiredError('xPartnerToken', 'Required parameter "xPartnerToken" was null or undefined when calling createTeam().');
62
+ }
63
+ if (requestParameters['createTeamInput'] == null) {
64
+ throw new runtime.RequiredError('createTeamInput', 'Required parameter "createTeamInput" was null or undefined when calling createTeam().');
65
+ }
66
+ const queryParameters = {};
67
+ const headerParameters = {};
68
+ headerParameters['Content-Type'] = 'application/json';
69
+ if (requestParameters['xPartnerToken'] != null) {
70
+ headerParameters['X-Partner-Token'] = String(requestParameters['xPartnerToken']);
71
+ }
72
+ let urlPath = `/team`;
73
+ const response = await this.request({
74
+ path: urlPath,
75
+ method: 'POST',
76
+ headers: headerParameters,
77
+ query: queryParameters,
78
+ body: (0, index_1.CreateTeamInputToJSON)(requestParameters['createTeamInput']),
79
+ }, initOverrides);
80
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreateTeamResponseFromJSON)(jsonValue));
81
+ }
82
+ /**
83
+ * Create a new team (Partners only). Creates a new team with the specified configuration and admin users. Vouchsafe will respond with: - a unique team ID for tracking - the team name and public-facing name - client credentials to authenticate team API requests - creation timestamp (ISO 8601 format) The provided admin emails will be granted administrative access to manage the team\'s settings and workflows. **Note:** This endpoint requires a valid partner token in the `X-Partner-Token` header.
84
+ */
85
+ async createTeam(requestParameters, initOverrides) {
86
+ const response = await this.createTeamRaw(requestParameters, initOverrides);
87
+ return await response.value();
88
+ }
89
+ /**
90
+ * Get the currently authenticated team. Helpful for testing, especially when managing multiple client IDs and secrets. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
91
+ */
92
+ async getTeamRaw(initOverrides) {
93
+ const queryParameters = {};
94
+ const headerParameters = {};
95
+ if (this.configuration && this.configuration.accessToken) {
96
+ const token = this.configuration.accessToken;
97
+ const tokenString = await token("bearerAuth", []);
98
+ if (tokenString) {
99
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
100
+ }
101
+ }
102
+ let urlPath = `/team`;
103
+ const response = await this.request({
104
+ path: urlPath,
105
+ method: 'GET',
106
+ headers: headerParameters,
107
+ query: queryParameters,
108
+ }, initOverrides);
109
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TeamFromJSON)(jsonValue));
110
+ }
111
+ /**
112
+ * Get the currently authenticated team. Helpful for testing, especially when managing multiple client IDs and secrets. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
113
+ */
114
+ async getTeam(initOverrides) {
115
+ const response = await this.getTeamRaw(initOverrides);
116
+ return await response.value();
117
+ }
118
+ }
119
+ exports.TeamApi = TeamApi;
120
+ //# sourceMappingURL=TeamApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TeamApi.js","sourceRoot":"","sources":["../../../src/openapi/apis/TeamApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAOtC,2CASyB;AAOzB;;GAEG;AACH,MAAa,OAAQ,SAAQ,OAAO,CAAC,OAAO;IAExC;;OAEG;IACH,KAAK,CAAC,aAAa,CAAC,iBAAoC,EAAE,aAA0D;QAChH,IAAI,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,EAAE,CAAC;YAC7C,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,eAAe,EACf,qFAAqF,CACxF,CAAC;QACN,CAAC;QAED,IAAI,iBAAiB,CAAC,iBAAiB,CAAC,IAAI,IAAI,EAAE,CAAC;YAC/C,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,iBAAiB,EACjB,uFAAuF,CAC1F,CAAC;QACN,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,IAAI,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,EAAE,CAAC;YAC7C,gBAAgB,CAAC,iBAAiB,CAAC,GAAG,MAAM,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAC;QACrF,CAAC;QAGD,IAAI,OAAO,GAAG,OAAO,CAAC;QAEtB,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,IAAA,6BAAqB,EAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;SACpE,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,kCAA0B,EAAC,SAAS,CAAC,CAAC,CAAC;IACvG,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CAAC,iBAAoC,EAAE,aAA0D;QAC7G,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC5E,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CAAC,aAA0D;QACvE,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;YACvD,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC;YAC7C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;YAElD,IAAI,WAAW,EAAE,CAAC;gBACd,gBAAgB,CAAC,eAAe,CAAC,GAAG,UAAU,WAAW,EAAE,CAAC;YAChE,CAAC;QACL,CAAC;QAED,IAAI,OAAO,GAAG,OAAO,CAAC;QAEtB,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,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,oBAAY,EAAC,SAAS,CAAC,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,aAA0D;QACpE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;QACtD,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAzFD,0BAyFC"}
@@ -1,5 +1,6 @@
1
1
  export * from './AuthenticationApi';
2
2
  export * from './FlowsApi';
3
3
  export * from './SmartLookupsApi';
4
+ export * from './TeamApi';
4
5
  export * from './VerificationsApi';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
@@ -19,5 +19,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  __exportStar(require("./AuthenticationApi"), exports);
20
20
  __exportStar(require("./FlowsApi"), exports);
21
21
  __exportStar(require("./SmartLookupsApi"), exports);
22
+ __exportStar(require("./TeamApi"), exports);
22
23
  __exportStar(require("./VerificationsApi"), exports);
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,sDAAoC;AACpC,6CAA2B;AAC3B,oDAAkC;AAClC,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,sDAAoC;AACpC,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,qDAAmC"}
@@ -0,0 +1,58 @@
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 { FlowTemplate } from './FlowTemplate';
13
+ /**
14
+ * Input for creating a new team
15
+ * @export
16
+ * @interface CreateTeamInput
17
+ */
18
+ export interface CreateTeamInput {
19
+ /**
20
+ * The name of the team.
21
+ * @type {string}
22
+ * @memberof CreateTeamInput
23
+ */
24
+ name: string;
25
+ /**
26
+ * The public name of the team, shown in end-user facing screens and communications. If set, overrides the name.
27
+ * @type {string}
28
+ * @memberof CreateTeamInput
29
+ */
30
+ public_name?: string;
31
+ /**
32
+ * Path to the team's logo image.
33
+ * @type {string}
34
+ * @memberof CreateTeamInput
35
+ */
36
+ logo_url?: string;
37
+ /**
38
+ * Email addresses of users to add as team administrators.
39
+ * @type {Array<string>}
40
+ * @memberof CreateTeamInput
41
+ */
42
+ team_admin_emails: Array<string>;
43
+ /**
44
+ *
45
+ * @type {FlowTemplate}
46
+ * @memberof CreateTeamInput
47
+ */
48
+ flow_template?: FlowTemplate;
49
+ }
50
+ /**
51
+ * Check if a given object implements the CreateTeamInput interface.
52
+ */
53
+ export declare function instanceOfCreateTeamInput(value: object): value is CreateTeamInput;
54
+ export declare function CreateTeamInputFromJSON(json: any): CreateTeamInput;
55
+ export declare function CreateTeamInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTeamInput;
56
+ export declare function CreateTeamInputToJSON(json: any): CreateTeamInput;
57
+ export declare function CreateTeamInputToJSONTyped(value?: CreateTeamInput | null, ignoreDiscriminator?: boolean): any;
58
+ //# sourceMappingURL=CreateTeamInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamInput.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQnD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;;;OAIG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC;CAChC;AAID;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAIjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAYrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapH"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vouchsafe API docs
6
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ * Contact: help@vouchsafe.id
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreateTeamInput = instanceOfCreateTeamInput;
17
+ exports.CreateTeamInputFromJSON = CreateTeamInputFromJSON;
18
+ exports.CreateTeamInputFromJSONTyped = CreateTeamInputFromJSONTyped;
19
+ exports.CreateTeamInputToJSON = CreateTeamInputToJSON;
20
+ exports.CreateTeamInputToJSONTyped = CreateTeamInputToJSONTyped;
21
+ const FlowTemplate_1 = require("./FlowTemplate");
22
+ /**
23
+ * Check if a given object implements the CreateTeamInput interface.
24
+ */
25
+ function instanceOfCreateTeamInput(value) {
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ if (!('team_admin_emails' in value) || value['team_admin_emails'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function CreateTeamInputFromJSON(json) {
33
+ return CreateTeamInputFromJSONTyped(json, false);
34
+ }
35
+ function CreateTeamInputFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'name': json['name'],
41
+ 'public_name': json['public_name'] == null ? undefined : json['public_name'],
42
+ 'logo_url': json['logo_url'] == null ? undefined : json['logo_url'],
43
+ 'team_admin_emails': json['team_admin_emails'],
44
+ 'flow_template': json['flow_template'] == null ? undefined : (0, FlowTemplate_1.FlowTemplateFromJSON)(json['flow_template']),
45
+ };
46
+ }
47
+ function CreateTeamInputToJSON(json) {
48
+ return CreateTeamInputToJSONTyped(json, false);
49
+ }
50
+ function CreateTeamInputToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'name': value['name'],
56
+ 'public_name': value['public_name'],
57
+ 'logo_url': value['logo_url'],
58
+ 'team_admin_emails': value['team_admin_emails'],
59
+ 'flow_template': (0, FlowTemplate_1.FlowTemplateToJSON)(value['flow_template']),
60
+ };
61
+ }
62
+ //# sourceMappingURL=CreateTeamInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamInput.js","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsDH,8DAIC;AAED,0DAEC;AAED,oEAYC;AAED,sDAEC;AAED,gEAaC;AA3FD,iDAKwB;AA0CxB;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,mBAAmB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,mBAAmB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9F,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC;QAC9C,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,mCAAoB,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;KAC3G,CAAC;AACN,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,SAAgB,0BAA0B,CAAC,KAA8B,EAAE,sBAA+B,KAAK;IAC3G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,eAAe,EAAE,IAAA,iCAAkB,EAAC,KAAK,CAAC,eAAe,CAAC,CAAC;KAC9D,CAAC;AACN,CAAC"}
@@ -0,0 +1,58 @@
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 { CreateTeamResponseCredentials } from './CreateTeamResponseCredentials';
13
+ /**
14
+ * Response from creating a new team
15
+ * @export
16
+ * @interface CreateTeamResponse
17
+ */
18
+ export interface CreateTeamResponse {
19
+ /**
20
+ * Unique identifier for the created team
21
+ * @type {string}
22
+ * @memberof CreateTeamResponse
23
+ */
24
+ id: string;
25
+ /**
26
+ * The name of the team.
27
+ * @type {string}
28
+ * @memberof CreateTeamResponse
29
+ */
30
+ name: string;
31
+ /**
32
+ * The public name of the team, shown in end-user facing screens and communications. If set, overrides the name.
33
+ * @type {string}
34
+ * @memberof CreateTeamResponse
35
+ */
36
+ public_name?: string;
37
+ /**
38
+ * ISO 8601 timestamp of team creation
39
+ * @type {string}
40
+ * @memberof CreateTeamResponse
41
+ */
42
+ created_at: string;
43
+ /**
44
+ *
45
+ * @type {CreateTeamResponseCredentials}
46
+ * @memberof CreateTeamResponse
47
+ */
48
+ credentials: CreateTeamResponseCredentials;
49
+ }
50
+ /**
51
+ * Check if a given object implements the CreateTeamResponse interface.
52
+ */
53
+ export declare function instanceOfCreateTeamResponse(value: object): value is CreateTeamResponse;
54
+ export declare function CreateTeamResponseFromJSON(json: any): CreateTeamResponse;
55
+ export declare function CreateTeamResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTeamResponse;
56
+ export declare function CreateTeamResponseToJSON(json: any): CreateTeamResponse;
57
+ export declare function CreateTeamResponseToJSONTyped(value?: CreateTeamResponse | null, ignoreDiscriminator?: boolean): any;
58
+ //# sourceMappingURL=CreateTeamResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,6BAA6B,CAAC;CAC9C;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAMvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAY3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa1H"}
@@ -0,0 +1,66 @@
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.instanceOfCreateTeamResponse = instanceOfCreateTeamResponse;
17
+ exports.CreateTeamResponseFromJSON = CreateTeamResponseFromJSON;
18
+ exports.CreateTeamResponseFromJSONTyped = CreateTeamResponseFromJSONTyped;
19
+ exports.CreateTeamResponseToJSON = CreateTeamResponseToJSON;
20
+ exports.CreateTeamResponseToJSONTyped = CreateTeamResponseToJSONTyped;
21
+ const CreateTeamResponseCredentials_1 = require("./CreateTeamResponseCredentials");
22
+ /**
23
+ * Check if a given object implements the CreateTeamResponse interface.
24
+ */
25
+ function instanceOfCreateTeamResponse(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('name' in value) || value['name'] === undefined)
29
+ return false;
30
+ if (!('created_at' in value) || value['created_at'] === undefined)
31
+ return false;
32
+ if (!('credentials' in value) || value['credentials'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function CreateTeamResponseFromJSON(json) {
37
+ return CreateTeamResponseFromJSONTyped(json, false);
38
+ }
39
+ function CreateTeamResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'id': json['id'],
45
+ 'name': json['name'],
46
+ 'public_name': json['public_name'] == null ? undefined : json['public_name'],
47
+ 'created_at': json['created_at'],
48
+ 'credentials': (0, CreateTeamResponseCredentials_1.CreateTeamResponseCredentialsFromJSON)(json['credentials']),
49
+ };
50
+ }
51
+ function CreateTeamResponseToJSON(json) {
52
+ return CreateTeamResponseToJSONTyped(json, false);
53
+ }
54
+ function CreateTeamResponseToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'id': value['id'],
60
+ 'name': value['name'],
61
+ 'public_name': value['public_name'],
62
+ 'created_at': value['created_at'],
63
+ 'credentials': (0, CreateTeamResponseCredentials_1.CreateTeamResponseCredentialsToJSON)(value['credentials']),
64
+ };
65
+ }
66
+ //# sourceMappingURL=CreateTeamResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoDH,oEAMC;AAED,gEAEC;AAED,0EAYC;AAED,4DAEC;AAED,sEAaC;AA3FD,mFAKyC;AAwCzC;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,aAAa,EAAE,IAAA,qEAAqC,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;KAC5E,CAAC;AACN,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAiC,EAAE,sBAA+B,KAAK;IACjH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,aAAa,EAAE,IAAA,mEAAmC,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;KAC3E,CAAC;AACN,CAAC"}
@@ -0,0 +1,52 @@
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 { Model36EnumsEnvironment } from './Model36EnumsEnvironment';
13
+ /**
14
+ * Production API credentials for this team
15
+ * @export
16
+ * @interface CreateTeamResponseCredentials
17
+ */
18
+ export interface CreateTeamResponseCredentials {
19
+ /**
20
+ * Client secret for API authentication
21
+ * @type {string}
22
+ * @memberof CreateTeamResponseCredentials
23
+ */
24
+ client_secret: string;
25
+ /**
26
+ * Client ID for API authentication
27
+ * @type {string}
28
+ * @memberof CreateTeamResponseCredentials
29
+ */
30
+ client_id: string;
31
+ /**
32
+ *
33
+ * @type {Model36EnumsEnvironment}
34
+ * @memberof CreateTeamResponseCredentials
35
+ */
36
+ environment: Model36EnumsEnvironment;
37
+ /**
38
+ * Name of the API key
39
+ * @type {string}
40
+ * @memberof CreateTeamResponseCredentials
41
+ */
42
+ name: string;
43
+ }
44
+ /**
45
+ * Check if a given object implements the CreateTeamResponseCredentials interface.
46
+ */
47
+ export declare function instanceOfCreateTeamResponseCredentials(value: object): value is CreateTeamResponseCredentials;
48
+ export declare function CreateTeamResponseCredentialsFromJSON(json: any): CreateTeamResponseCredentials;
49
+ export declare function CreateTeamResponseCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTeamResponseCredentials;
50
+ export declare function CreateTeamResponseCredentialsToJSON(json: any): CreateTeamResponseCredentials;
51
+ export declare function CreateTeamResponseCredentialsToJSONTyped(value?: CreateTeamResponseCredentials | null, ignoreDiscriminator?: boolean): any;
52
+ //# sourceMappingURL=CreateTeamResponseCredentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamResponseCredentials.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamResponseCredentials.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,uBAAuB,CAAC;IACrC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAID;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAM7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAWjI;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,CAYhJ"}
@@ -0,0 +1,64 @@
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.instanceOfCreateTeamResponseCredentials = instanceOfCreateTeamResponseCredentials;
17
+ exports.CreateTeamResponseCredentialsFromJSON = CreateTeamResponseCredentialsFromJSON;
18
+ exports.CreateTeamResponseCredentialsFromJSONTyped = CreateTeamResponseCredentialsFromJSONTyped;
19
+ exports.CreateTeamResponseCredentialsToJSON = CreateTeamResponseCredentialsToJSON;
20
+ exports.CreateTeamResponseCredentialsToJSONTyped = CreateTeamResponseCredentialsToJSONTyped;
21
+ const Model36EnumsEnvironment_1 = require("./Model36EnumsEnvironment");
22
+ /**
23
+ * Check if a given object implements the CreateTeamResponseCredentials interface.
24
+ */
25
+ function instanceOfCreateTeamResponseCredentials(value) {
26
+ if (!('client_secret' in value) || value['client_secret'] === undefined)
27
+ return false;
28
+ if (!('client_id' in value) || value['client_id'] === undefined)
29
+ return false;
30
+ if (!('environment' in value) || value['environment'] === undefined)
31
+ return false;
32
+ if (!('name' in value) || value['name'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function CreateTeamResponseCredentialsFromJSON(json) {
37
+ return CreateTeamResponseCredentialsFromJSONTyped(json, false);
38
+ }
39
+ function CreateTeamResponseCredentialsFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'client_secret': json['client_secret'],
45
+ 'client_id': json['client_id'],
46
+ 'environment': (0, Model36EnumsEnvironment_1.Model36EnumsEnvironmentFromJSON)(json['environment']),
47
+ 'name': json['name'],
48
+ };
49
+ }
50
+ function CreateTeamResponseCredentialsToJSON(json) {
51
+ return CreateTeamResponseCredentialsToJSONTyped(json, false);
52
+ }
53
+ function CreateTeamResponseCredentialsToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'client_secret': value['client_secret'],
59
+ 'client_id': value['client_id'],
60
+ 'environment': (0, Model36EnumsEnvironment_1.Model36EnumsEnvironmentToJSON)(value['environment']),
61
+ 'name': value['name'],
62
+ };
63
+ }
64
+ //# sourceMappingURL=CreateTeamResponseCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamResponseCredentials.js","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamResponseCredentials.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgDH,0FAMC;AAED,sFAEC;AAED,gGAWC;AAED,kFAEC;AAED,4FAYC;AArFD,uEAKmC;AAoCnC;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,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,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;QACtC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,aAAa,EAAE,IAAA,yDAA+B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACnE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,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,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,aAAa,EAAE,IAAA,uDAA6B,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAClE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,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 FlowTemplate: {
17
+ readonly KycAml: "KYC_AML";
18
+ readonly RightToWork: "RIGHT_TO_WORK";
19
+ readonly RightToRent: "RIGHT_TO_RENT";
20
+ readonly DbsCheck: "DBS_CHECK";
21
+ };
22
+ export type FlowTemplate = typeof FlowTemplate[keyof typeof FlowTemplate];
23
+ export declare function instanceOfFlowTemplate(value: any): boolean;
24
+ export declare function FlowTemplateFromJSON(json: any): FlowTemplate;
25
+ export declare function FlowTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowTemplate;
26
+ export declare function FlowTemplateToJSON(value?: FlowTemplate | null): any;
27
+ export declare function FlowTemplateToJSONTyped(value: any, ignoreDiscriminator: boolean): FlowTemplate;
28
+ //# sourceMappingURL=FlowTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowTemplate.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/FlowTemplate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAG1E,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS1D;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAE/F;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,GAAG,GAAG,CAEnE;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAE9F"}
@@ -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.FlowTemplate = void 0;
17
+ exports.instanceOfFlowTemplate = instanceOfFlowTemplate;
18
+ exports.FlowTemplateFromJSON = FlowTemplateFromJSON;
19
+ exports.FlowTemplateFromJSONTyped = FlowTemplateFromJSONTyped;
20
+ exports.FlowTemplateToJSON = FlowTemplateToJSON;
21
+ exports.FlowTemplateToJSONTyped = FlowTemplateToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.FlowTemplate = {
27
+ KycAml: 'KYC_AML',
28
+ RightToWork: 'RIGHT_TO_WORK',
29
+ RightToRent: 'RIGHT_TO_RENT',
30
+ DbsCheck: 'DBS_CHECK'
31
+ };
32
+ function instanceOfFlowTemplate(value) {
33
+ for (const key in exports.FlowTemplate) {
34
+ if (Object.prototype.hasOwnProperty.call(exports.FlowTemplate, key)) {
35
+ if (exports.FlowTemplate[key] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
42
+ function FlowTemplateFromJSON(json) {
43
+ return FlowTemplateFromJSONTyped(json, false);
44
+ }
45
+ function FlowTemplateFromJSONTyped(json, ignoreDiscriminator) {
46
+ return json;
47
+ }
48
+ function FlowTemplateToJSON(value) {
49
+ return value;
50
+ }
51
+ function FlowTemplateToJSONTyped(value, ignoreDiscriminator) {
52
+ return value;
53
+ }
54
+ //# sourceMappingURL=FlowTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowTemplate.js","sourceRoot":"","sources":["../../../src/openapi/models/FlowTemplate.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgBH,wDASC;AAED,oDAEC;AAED,8DAEC;AAED,gDAEC;AAED,0DAEC;AAtCD;;;GAGG;AACU,QAAA,YAAY,GAAG;IACxB,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,WAAW;CACf,CAAC;AAIX,SAAgB,sBAAsB,CAAC,KAAU;IAC7C,KAAK,MAAM,GAAG,IAAI,oBAAY,EAAE,CAAC;QAC7B,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,oBAAY,EAAE,GAAG,CAAC,EAAE,CAAC;YAC1D,IAAI,oBAAY,CAAC,GAAgC,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC3D,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,OAAO,IAAoB,CAAC;AAChC,CAAC;AAED,SAAgB,kBAAkB,CAAC,KAA2B;IAC1D,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,uBAAuB,CAAC,KAAU,EAAE,mBAA4B;IAC5E,OAAO,KAAqB,CAAC;AACjC,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 Model36EnumsEnvironment: {
17
+ readonly Production: "production";
18
+ readonly Sandbox: "sandbox";
19
+ };
20
+ export type Model36EnumsEnvironment = typeof Model36EnumsEnvironment[keyof typeof Model36EnumsEnvironment];
21
+ export declare function instanceOfModel36EnumsEnvironment(value: any): boolean;
22
+ export declare function Model36EnumsEnvironmentFromJSON(json: any): Model36EnumsEnvironment;
23
+ export declare function Model36EnumsEnvironmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Model36EnumsEnvironment;
24
+ export declare function Model36EnumsEnvironmentToJSON(value?: Model36EnumsEnvironment | null): any;
25
+ export declare function Model36EnumsEnvironmentToJSONTyped(value: any, ignoreDiscriminator: boolean): Model36EnumsEnvironment;
26
+ //# sourceMappingURL=Model36EnumsEnvironment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Model36EnumsEnvironment.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Model36EnumsEnvironment.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.Model36EnumsEnvironment = void 0;
17
+ exports.instanceOfModel36EnumsEnvironment = instanceOfModel36EnumsEnvironment;
18
+ exports.Model36EnumsEnvironmentFromJSON = Model36EnumsEnvironmentFromJSON;
19
+ exports.Model36EnumsEnvironmentFromJSONTyped = Model36EnumsEnvironmentFromJSONTyped;
20
+ exports.Model36EnumsEnvironmentToJSON = Model36EnumsEnvironmentToJSON;
21
+ exports.Model36EnumsEnvironmentToJSONTyped = Model36EnumsEnvironmentToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.Model36EnumsEnvironment = {
27
+ Production: 'production',
28
+ Sandbox: 'sandbox'
29
+ };
30
+ function instanceOfModel36EnumsEnvironment(value) {
31
+ for (const key in exports.Model36EnumsEnvironment) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.Model36EnumsEnvironment, key)) {
33
+ if (exports.Model36EnumsEnvironment[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function Model36EnumsEnvironmentFromJSON(json) {
41
+ return Model36EnumsEnvironmentFromJSONTyped(json, false);
42
+ }
43
+ function Model36EnumsEnvironmentFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function Model36EnumsEnvironmentToJSON(value) {
47
+ return value;
48
+ }
49
+ function Model36EnumsEnvironmentToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
52
+ //# sourceMappingURL=Model36EnumsEnvironment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Model36EnumsEnvironment.js","sourceRoot":"","sources":["../../../src/openapi/models/Model36EnumsEnvironment.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,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;CACZ,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"}
@@ -27,6 +27,12 @@ export interface RequestVerificationResponse {
27
27
  * @memberof RequestVerificationResponse
28
28
  */
29
29
  id: string;
30
+ /**
31
+ * The flow it belongs to
32
+ * @type {string}
33
+ * @memberof RequestVerificationResponse
34
+ */
35
+ workflow_id?: string;
30
36
  /**
31
37
  * When the user will stop getting reminders
32
38
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"RequestVerificationResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAKzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAU7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5I"}
1
+ {"version":3,"file":"RequestVerificationResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAKzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAW7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY5I"}
@@ -40,6 +40,7 @@ function RequestVerificationResponseFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return {
41
41
  'url': json['url'],
42
42
  'id': json['id'],
43
+ 'workflow_id': json['workflow_id'] == null ? undefined : json['workflow_id'],
43
44
  'expires_at': json['expires_at'],
44
45
  };
45
46
  }
@@ -53,6 +54,7 @@ function RequestVerificationResponseToJSONTyped(value, ignoreDiscriminator = fal
53
54
  return {
54
55
  'url': value['url'],
55
56
  'id': value['id'],
57
+ 'workflow_id': value['workflow_id'],
56
58
  'expires_at': value['expires_at'],
57
59
  };
58
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RequestVerificationResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,sFAKC;AAED,kFAEC;AAED,4FAUC;AAED,8EAEC;AAED,wFAWC;AAzCD;;GAEG;AACH,SAAgB,qCAAqC,CAAC,KAAa;IAC/D,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,sCAAsC,CAAC,KAA0C,EAAE,sBAA+B,KAAK;IACnI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"RequestVerificationResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsCH,sFAKC;AAED,kFAEC;AAED,4FAWC;AAED,8EAEC;AAED,wFAYC;AA3CD;;GAEG;AACH,SAAgB,qCAAqC,CAAC,KAAa;IAC/D,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,sCAAsC,CAAC,KAA0C,EAAE,sBAA+B,KAAK;IACnI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Team
16
+ */
17
+ export interface Team {
18
+ /**
19
+ * The client ID of the team, as shown in the dashboard
20
+ * @type {string}
21
+ * @memberof Team
22
+ */
23
+ id: string;
24
+ /**
25
+ * The name of the team
26
+ * @type {string}
27
+ * @memberof Team
28
+ */
29
+ name: string;
30
+ /**
31
+ * The public name of the team, shown in end-user facing screens and communications. If set, overrides the name.
32
+ * @type {string}
33
+ * @memberof Team
34
+ */
35
+ public_name: string;
36
+ /**
37
+ * Which plan is the team on?
38
+ * @type {string}
39
+ * @memberof Team
40
+ */
41
+ plan: TeamPlanEnum;
42
+ /**
43
+ * Path to the team's logo image
44
+ * @type {string}
45
+ * @memberof Team
46
+ */
47
+ logo_url: string;
48
+ /**
49
+ * When the team's details were last changed, formatted as an ISO 8601 string
50
+ * @type {string}
51
+ * @memberof Team
52
+ */
53
+ updated_at: string;
54
+ /**
55
+ * When the team was created, formatted as an ISO 8601 string
56
+ * @type {string}
57
+ * @memberof Team
58
+ */
59
+ created_at: string;
60
+ }
61
+ /**
62
+ * @export
63
+ */
64
+ export declare const TeamPlanEnum: {
65
+ readonly Trial: "Trial";
66
+ readonly Payg: "PAYG";
67
+ readonly Flex: "Flex";
68
+ readonly Enterprise: "Enterprise";
69
+ };
70
+ export type TeamPlanEnum = typeof TeamPlanEnum[keyof typeof TeamPlanEnum];
71
+ /**
72
+ * Check if a given object implements the Team interface.
73
+ */
74
+ export declare function instanceOfTeam(value: object): value is Team;
75
+ export declare function TeamFromJSON(json: any): Team;
76
+ export declare function TeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): Team;
77
+ export declare function TeamToJSON(json: any): Team;
78
+ export declare function TeamToJSONTyped(value?: Team | null, ignoreDiscriminator?: boolean): any;
79
+ //# sourceMappingURL=Team.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Team.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Team.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAG1E;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAS3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAc/E;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE1C;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe9F"}
@@ -0,0 +1,85 @@
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.TeamPlanEnum = void 0;
17
+ exports.instanceOfTeam = instanceOfTeam;
18
+ exports.TeamFromJSON = TeamFromJSON;
19
+ exports.TeamFromJSONTyped = TeamFromJSONTyped;
20
+ exports.TeamToJSON = TeamToJSON;
21
+ exports.TeamToJSONTyped = TeamToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.TeamPlanEnum = {
26
+ Trial: 'Trial',
27
+ Payg: 'PAYG',
28
+ Flex: 'Flex',
29
+ Enterprise: 'Enterprise'
30
+ };
31
+ /**
32
+ * Check if a given object implements the Team interface.
33
+ */
34
+ function instanceOfTeam(value) {
35
+ if (!('id' in value) || value['id'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('public_name' in value) || value['public_name'] === undefined)
40
+ return false;
41
+ if (!('plan' in value) || value['plan'] === undefined)
42
+ return false;
43
+ if (!('logo_url' in value) || value['logo_url'] === undefined)
44
+ return false;
45
+ if (!('updated_at' in value) || value['updated_at'] === undefined)
46
+ return false;
47
+ if (!('created_at' in value) || value['created_at'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function TeamFromJSON(json) {
52
+ return TeamFromJSONTyped(json, false);
53
+ }
54
+ function TeamFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'id': json['id'],
60
+ 'name': json['name'],
61
+ 'public_name': json['public_name'],
62
+ 'plan': json['plan'],
63
+ 'logo_url': json['logo_url'],
64
+ 'updated_at': json['updated_at'],
65
+ 'created_at': json['created_at'],
66
+ };
67
+ }
68
+ function TeamToJSON(json) {
69
+ return TeamToJSONTyped(json, false);
70
+ }
71
+ function TeamToJSONTyped(value, ignoreDiscriminator = false) {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ 'id': value['id'],
77
+ 'name': value['name'],
78
+ 'public_name': value['public_name'],
79
+ 'plan': value['plan'],
80
+ 'logo_url': value['logo_url'],
81
+ 'updated_at': value['updated_at'],
82
+ 'created_at': value['created_at'],
83
+ };
84
+ }
85
+ //# sourceMappingURL=Team.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Team.js","sourceRoot":"","sources":["../../../src/openapi/models/Team.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAqEH,wCASC;AAED,oCAEC;AAED,8CAcC;AAED,gCAEC;AAED,0CAeC;AAjED;;GAEG;AACU,QAAA,YAAY,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;CAClB,CAAC;AAIX;;GAEG;AACH,SAAgB,cAAc,CAAC,KAAa;IACxC,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,YAAY,CAAC,IAAS;IAClC,OAAO,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1C,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAS,EAAE,mBAA4B;IACrE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,UAAU,CAAC,IAAS;IAChC,OAAO,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxC,CAAC;AAED,SAAgB,eAAe,CAAC,KAAmB,EAAE,sBAA+B,KAAK;IACrF,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
@@ -3,9 +3,14 @@ export * from './AuthenticateInput';
3
3
  export * from './AuthenticateResponse';
4
4
  export * from './CheckResult';
5
5
  export * from './CheckState';
6
+ export * from './CreateTeamInput';
7
+ export * from './CreateTeamResponse';
8
+ export * from './CreateTeamResponseCredentials';
6
9
  export * from './Flow';
10
+ export * from './FlowTemplate';
7
11
  export * from './GetSmartLookupResponse';
8
12
  export * from './Model36EnumsBackgroundCheck';
13
+ export * from './Model36EnumsEnvironment';
9
14
  export * from './PostcodeResponse';
10
15
  export * from './Reason';
11
16
  export * from './RecordAddressVerificationChecksCheckResult';
@@ -14,5 +19,6 @@ export * from './RequestVerificationInput';
14
19
  export * from './RequestVerificationResponse';
15
20
  export * from './SmartLookupInput';
16
21
  export * from './Status';
22
+ export * from './Team';
17
23
  export * from './Verification';
18
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,UAAU,CAAC;AACzB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,UAAU,CAAC;AACzB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC"}
@@ -21,9 +21,14 @@ __exportStar(require("./AuthenticateInput"), exports);
21
21
  __exportStar(require("./AuthenticateResponse"), exports);
22
22
  __exportStar(require("./CheckResult"), exports);
23
23
  __exportStar(require("./CheckState"), exports);
24
+ __exportStar(require("./CreateTeamInput"), exports);
25
+ __exportStar(require("./CreateTeamResponse"), exports);
26
+ __exportStar(require("./CreateTeamResponseCredentials"), exports);
24
27
  __exportStar(require("./Flow"), exports);
28
+ __exportStar(require("./FlowTemplate"), exports);
25
29
  __exportStar(require("./GetSmartLookupResponse"), exports);
26
30
  __exportStar(require("./Model36EnumsBackgroundCheck"), exports);
31
+ __exportStar(require("./Model36EnumsEnvironment"), exports);
27
32
  __exportStar(require("./PostcodeResponse"), exports);
28
33
  __exportStar(require("./Reason"), exports);
29
34
  __exportStar(require("./RecordAddressVerificationChecksCheckResult"), exports);
@@ -32,5 +37,6 @@ __exportStar(require("./RequestVerificationInput"), exports);
32
37
  __exportStar(require("./RequestVerificationResponse"), exports);
33
38
  __exportStar(require("./SmartLookupInput"), exports);
34
39
  __exportStar(require("./Status"), exports);
40
+ __exportStar(require("./Team"), exports);
35
41
  __exportStar(require("./Verification"), exports);
36
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,yCAAuB;AACvB,2DAAyC;AACzC,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,+EAA6D;AAC7D,2CAAyB;AACzB,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,kEAAgD;AAChD,yCAAuB;AACvB,iDAA+B;AAC/B,2DAAyC;AACzC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,2CAAyB;AACzB,+EAA6D;AAC7D,2CAAyB;AACzB,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,yCAAuB;AACvB,iDAA+B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vouchsafe/node",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
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",