@vouchsafe/node 0.1.4 → 0.1.6

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 (68) hide show
  1. package/dist/openapi/apis/SmartLookupsApi.d.ts +2 -2
  2. package/dist/openapi/apis/SmartLookupsApi.js +2 -2
  3. package/dist/openapi/apis/TeamApi.d.ts +39 -0
  4. package/dist/openapi/apis/TeamApi.d.ts.map +1 -0
  5. package/dist/openapi/apis/TeamApi.js +120 -0
  6. package/dist/openapi/apis/TeamApi.js.map +1 -0
  7. package/dist/openapi/apis/index.d.ts +1 -0
  8. package/dist/openapi/apis/index.d.ts.map +1 -1
  9. package/dist/openapi/apis/index.js +1 -0
  10. package/dist/openapi/apis/index.js.map +1 -1
  11. package/dist/openapi/models/AddressVerificationReport.d.ts +41 -0
  12. package/dist/openapi/models/AddressVerificationReport.d.ts.map +1 -0
  13. package/dist/openapi/models/AddressVerificationReport.js +57 -0
  14. package/dist/openapi/models/AddressVerificationReport.js.map +1 -0
  15. package/dist/openapi/models/CreateTeamInput.d.ts +58 -0
  16. package/dist/openapi/models/CreateTeamInput.d.ts.map +1 -0
  17. package/dist/openapi/models/CreateTeamInput.js +62 -0
  18. package/dist/openapi/models/CreateTeamInput.js.map +1 -0
  19. package/dist/openapi/models/CreateTeamResponse.d.ts +58 -0
  20. package/dist/openapi/models/CreateTeamResponse.d.ts.map +1 -0
  21. package/dist/openapi/models/CreateTeamResponse.js +66 -0
  22. package/dist/openapi/models/CreateTeamResponse.js.map +1 -0
  23. package/dist/openapi/models/CreateTeamResponseCredentials.d.ts +52 -0
  24. package/dist/openapi/models/CreateTeamResponseCredentials.d.ts.map +1 -0
  25. package/dist/openapi/models/CreateTeamResponseCredentials.js +64 -0
  26. package/dist/openapi/models/CreateTeamResponseCredentials.js.map +1 -0
  27. package/dist/openapi/models/CreditBureauVerificationReport.d.ts +41 -0
  28. package/dist/openapi/models/CreditBureauVerificationReport.d.ts.map +1 -0
  29. package/dist/openapi/models/CreditBureauVerificationReport.js +57 -0
  30. package/dist/openapi/models/CreditBureauVerificationReport.js.map +1 -0
  31. package/dist/openapi/models/FlowTemplate.d.ts +28 -0
  32. package/dist/openapi/models/FlowTemplate.d.ts.map +1 -0
  33. package/dist/openapi/models/FlowTemplate.js +54 -0
  34. package/dist/openapi/models/FlowTemplate.js.map +1 -0
  35. package/dist/openapi/models/GetSmartLookupResponse.d.ts +39 -7
  36. package/dist/openapi/models/GetSmartLookupResponse.d.ts.map +1 -1
  37. package/dist/openapi/models/GetSmartLookupResponse.js +22 -8
  38. package/dist/openapi/models/GetSmartLookupResponse.js.map +1 -1
  39. package/dist/openapi/models/Model36EnumsEnvironment.d.ts +26 -0
  40. package/dist/openapi/models/Model36EnumsEnvironment.d.ts.map +1 -0
  41. package/dist/openapi/models/Model36EnumsEnvironment.js +52 -0
  42. package/dist/openapi/models/Model36EnumsEnvironment.js.map +1 -0
  43. package/dist/openapi/models/Reason.d.ts +2 -0
  44. package/dist/openapi/models/Reason.d.ts.map +1 -1
  45. package/dist/openapi/models/Reason.js +3 -1
  46. package/dist/openapi/models/Reason.js.map +1 -1
  47. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.d.ts +40 -0
  48. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.d.ts.map +1 -0
  49. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.js +56 -0
  50. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.js.map +1 -0
  51. package/dist/openapi/models/RequestVerificationInput.d.ts +1 -1
  52. package/dist/openapi/models/RequestVerificationResponse.d.ts +6 -0
  53. package/dist/openapi/models/RequestVerificationResponse.d.ts.map +1 -1
  54. package/dist/openapi/models/RequestVerificationResponse.js +2 -0
  55. package/dist/openapi/models/RequestVerificationResponse.js.map +1 -1
  56. package/dist/openapi/models/SmartLookupInput.d.ts +24 -5
  57. package/dist/openapi/models/SmartLookupInput.d.ts.map +1 -1
  58. package/dist/openapi/models/SmartLookupInput.js +8 -1
  59. package/dist/openapi/models/SmartLookupInput.js.map +1 -1
  60. package/dist/openapi/models/Team.d.ts +79 -0
  61. package/dist/openapi/models/Team.d.ts.map +1 -0
  62. package/dist/openapi/models/Team.js +85 -0
  63. package/dist/openapi/models/Team.js.map +1 -0
  64. package/dist/openapi/models/index.d.ts +9 -2
  65. package/dist/openapi/models/index.d.ts.map +1 -1
  66. package/dist/openapi/models/index.js +9 -2
  67. package/dist/openapi/models/index.js.map +1 -1
  68. package/package.json +1 -1
@@ -22,11 +22,11 @@ export interface SearchPostcodeRequest {
22
22
  */
23
23
  export declare class SmartLookupsApi extends runtime.BaseAPI {
24
24
  /**
25
- * > This feature is currently experimental, so the only supported check is `Address` via the electoral roll. Other checks coming soon. Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://localhost:3000/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
25
+ * > This feature is currently experimental, so the only supported check is `Address` (via the electoral roll). > > `CreditBureau` is available to test in sandbox mode against the [following test data](https://help.vouchsafe.id/en/articles/12703380-smart-look-up-sandbox-test-guide). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
26
26
  */
27
27
  performSmartLookupRaw(requestParameters: PerformSmartLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSmartLookupResponse>>;
28
28
  /**
29
- * > This feature is currently experimental, so the only supported check is `Address` via the electoral roll. Other checks coming soon. Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://localhost:3000/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
29
+ * > This feature is currently experimental, so the only supported check is `Address` (via the electoral roll). > > `CreditBureau` is available to test in sandbox mode against the [following test data](https://help.vouchsafe.id/en/articles/12703380-smart-look-up-sandbox-test-guide). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
30
30
  */
31
31
  performSmartLookup(requestParameters: PerformSmartLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSmartLookupResponse>;
32
32
  /**
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
54
54
  */
55
55
  class SmartLookupsApi extends runtime.BaseAPI {
56
56
  /**
57
- * > This feature is currently experimental, so the only supported check is `Address` via the electoral roll. Other checks coming soon. Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://localhost:3000/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
57
+ * > This feature is currently experimental, so the only supported check is `Address` (via the electoral roll). > > `CreditBureau` is available to test in sandbox mode against the [following test data](https://help.vouchsafe.id/en/articles/12703380-smart-look-up-sandbox-test-guide). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
58
58
  */
59
59
  async performSmartLookupRaw(requestParameters, initOverrides) {
60
60
  if (requestParameters['smartLookupInput'] == null) {
@@ -81,7 +81,7 @@ class SmartLookupsApi extends runtime.BaseAPI {
81
81
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetSmartLookupResponseFromJSON)(jsonValue));
82
82
  }
83
83
  /**
84
- * > This feature is currently experimental, so the only supported check is `Address` via the electoral roll. Other checks coming soon. Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://localhost:3000/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
84
+ * > This feature is currently experimental, so the only supported check is `Address` (via the electoral roll). > > `CreditBureau` is available to test in sandbox mode against the [following test data](https://help.vouchsafe.id/en/articles/12703380-smart-look-up-sandbox-test-guide). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check or checks to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
85
85
  */
86
86
  async performSmartLookup(requestParameters, initOverrides) {
87
87
  const response = await this.performSmartLookupRaw(requestParameters, initOverrides);
@@ -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;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C;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,41 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { RecordAddressVerificationChecksCheckResult } from './RecordAddressVerificationChecksCheckResult';
13
+ import type { CheckState } from './CheckState';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AddressVerificationReport
18
+ */
19
+ export interface AddressVerificationReport {
20
+ /**
21
+ *
22
+ * @type {CheckState}
23
+ * @memberof AddressVerificationReport
24
+ */
25
+ state: CheckState;
26
+ /**
27
+ *
28
+ * @type {RecordAddressVerificationChecksCheckResult}
29
+ * @memberof AddressVerificationReport
30
+ */
31
+ checks: RecordAddressVerificationChecksCheckResult;
32
+ }
33
+ /**
34
+ * Check if a given object implements the AddressVerificationReport interface.
35
+ */
36
+ export declare function instanceOfAddressVerificationReport(value: object): value is AddressVerificationReport;
37
+ export declare function AddressVerificationReportFromJSON(json: any): AddressVerificationReport;
38
+ export declare function AddressVerificationReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressVerificationReport;
39
+ export declare function AddressVerificationReportToJSON(json: any): AddressVerificationReport;
40
+ export declare function AddressVerificationReportToJSONTyped(value?: AddressVerificationReport | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=AddressVerificationReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddressVerificationReport.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/AddressVerificationReport.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAO/G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,0CAA0C,CAAC;CACtD;AAID;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAIrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CASzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxI"}
@@ -0,0 +1,57 @@
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.instanceOfAddressVerificationReport = instanceOfAddressVerificationReport;
17
+ exports.AddressVerificationReportFromJSON = AddressVerificationReportFromJSON;
18
+ exports.AddressVerificationReportFromJSONTyped = AddressVerificationReportFromJSONTyped;
19
+ exports.AddressVerificationReportToJSON = AddressVerificationReportToJSON;
20
+ exports.AddressVerificationReportToJSONTyped = AddressVerificationReportToJSONTyped;
21
+ const RecordAddressVerificationChecksCheckResult_1 = require("./RecordAddressVerificationChecksCheckResult");
22
+ const CheckState_1 = require("./CheckState");
23
+ /**
24
+ * Check if a given object implements the AddressVerificationReport interface.
25
+ */
26
+ function instanceOfAddressVerificationReport(value) {
27
+ if (!('state' in value) || value['state'] === undefined)
28
+ return false;
29
+ if (!('checks' in value) || value['checks'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function AddressVerificationReportFromJSON(json) {
34
+ return AddressVerificationReportFromJSONTyped(json, false);
35
+ }
36
+ function AddressVerificationReportFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'state': (0, CheckState_1.CheckStateFromJSON)(json['state']),
42
+ 'checks': (0, RecordAddressVerificationChecksCheckResult_1.RecordAddressVerificationChecksCheckResultFromJSON)(json['checks']),
43
+ };
44
+ }
45
+ function AddressVerificationReportToJSON(json) {
46
+ return AddressVerificationReportToJSONTyped(json, false);
47
+ }
48
+ function AddressVerificationReportToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'state': (0, CheckState_1.CheckStateToJSON)(value['state']),
54
+ 'checks': (0, RecordAddressVerificationChecksCheckResult_1.RecordAddressVerificationChecksCheckResultToJSON)(value['checks']),
55
+ };
56
+ }
57
+ //# sourceMappingURL=AddressVerificationReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddressVerificationReport.js","sourceRoot":"","sources":["../../../src/openapi/models/AddressVerificationReport.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,kFAIC;AAED,8EAEC;AAED,wFASC;AAED,0EAEC;AAED,oFAUC;AA1ED,6GAKsD;AAEtD,6CAKsB;AAwBtB;;GAEG;AACH,SAAgB,mCAAmC,CAAC,KAAa;IAC7D,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS,EAAE,mBAA4B;IAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAA,+BAAkB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,QAAQ,EAAE,IAAA,+FAAkD,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC/E,CAAC;AACN,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,KAAwC,EAAE,sBAA+B,KAAK;IAC/H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,IAAA,6BAAgB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzC,QAAQ,EAAE,IAAA,6FAAgD,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KAC9E,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 { 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,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