@lwshen/vault-hub-ts-fetch-client 1.3.15 → 1.3.16
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.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/dist/apis/APIKeyApi.d.ts +1 -1
- package/dist/apis/APIKeyApi.js +1 -1
- package/dist/apis/AuditApi.d.ts +1 -1
- package/dist/apis/AuditApi.js +1 -1
- package/dist/apis/AuthApi.d.ts +46 -2
- package/dist/apis/AuthApi.js +178 -1
- package/dist/apis/CliApi.d.ts +1 -1
- package/dist/apis/CliApi.js +1 -1
- package/dist/apis/ConfigApi.d.ts +1 -1
- package/dist/apis/ConfigApi.js +1 -1
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/apis/StatusApi.d.ts +1 -1
- package/dist/apis/StatusApi.js +1 -1
- package/dist/apis/UserApi.d.ts +1 -1
- package/dist/apis/UserApi.js +1 -1
- package/dist/apis/VaultApi.d.ts +1 -1
- package/dist/apis/VaultApi.js +1 -1
- package/dist/models/APIKeysResponse.d.ts +1 -1
- package/dist/models/APIKeysResponse.js +1 -1
- package/dist/models/AuditLog.d.ts +1 -1
- package/dist/models/AuditLog.js +1 -1
- package/dist/models/AuditLogsResponse.d.ts +1 -1
- package/dist/models/AuditLogsResponse.js +1 -1
- package/dist/models/AuditMetricsResponse.d.ts +1 -1
- package/dist/models/AuditMetricsResponse.js +1 -1
- package/dist/models/ConfigResponse.d.ts +1 -1
- package/dist/models/ConfigResponse.js +1 -1
- package/dist/models/CreateAPIKeyRequest.d.ts +1 -1
- package/dist/models/CreateAPIKeyRequest.js +1 -1
- package/dist/models/CreateAPIKeyResponse.d.ts +1 -1
- package/dist/models/CreateAPIKeyResponse.js +1 -1
- package/dist/models/CreateVaultRequest.d.ts +1 -1
- package/dist/models/CreateVaultRequest.js +1 -1
- package/dist/models/EnableClientEncryption.d.ts +1 -1
- package/dist/models/EnableClientEncryption.js +1 -1
- package/dist/models/GetUserResponse.d.ts +1 -1
- package/dist/models/GetUserResponse.js +1 -1
- package/dist/models/HealthCheckResponse.d.ts +1 -1
- package/dist/models/HealthCheckResponse.js +1 -1
- package/dist/models/LoginRequest.d.ts +1 -1
- package/dist/models/LoginRequest.js +1 -1
- package/dist/models/LoginResponse.d.ts +1 -1
- package/dist/models/LoginResponse.js +1 -1
- package/dist/models/MagicLinkRequest.d.ts +32 -0
- package/dist/models/MagicLinkRequest.js +51 -0
- package/dist/models/PasswordResetConfirmRequest.d.ts +38 -0
- package/dist/models/PasswordResetConfirmRequest.js +55 -0
- package/dist/models/PasswordResetRequest.d.ts +32 -0
- package/dist/models/PasswordResetRequest.js +51 -0
- package/dist/models/SignupRequest.d.ts +1 -1
- package/dist/models/SignupRequest.js +1 -1
- package/dist/models/SignupResponse.d.ts +1 -1
- package/dist/models/SignupResponse.js +1 -1
- package/dist/models/StatusResponse.d.ts +1 -1
- package/dist/models/StatusResponse.js +1 -1
- package/dist/models/UpdateAPIKeyRequest.d.ts +1 -1
- package/dist/models/UpdateAPIKeyRequest.js +1 -1
- package/dist/models/UpdateVaultRequest.d.ts +1 -1
- package/dist/models/UpdateVaultRequest.js +1 -1
- package/dist/models/Vault.d.ts +1 -1
- package/dist/models/Vault.js +1 -1
- package/dist/models/VaultAPIKey.d.ts +1 -1
- package/dist/models/VaultAPIKey.js +1 -1
- package/dist/models/VaultLite.d.ts +1 -1
- package/dist/models/VaultLite.js +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/APIKeyApi.ts +1 -1
- package/src/apis/AuditApi.ts +1 -1
- package/src/apis/AuthApi.ts +167 -1
- package/src/apis/CliApi.ts +1 -1
- package/src/apis/ConfigApi.ts +1 -1
- package/src/apis/DefaultApi.ts +1 -1
- package/src/apis/StatusApi.ts +1 -1
- package/src/apis/UserApi.ts +1 -1
- package/src/apis/VaultApi.ts +1 -1
- package/src/models/APIKeysResponse.ts +1 -1
- package/src/models/AuditLog.ts +1 -1
- package/src/models/AuditLogsResponse.ts +1 -1
- package/src/models/AuditMetricsResponse.ts +1 -1
- package/src/models/ConfigResponse.ts +1 -1
- package/src/models/CreateAPIKeyRequest.ts +1 -1
- package/src/models/CreateAPIKeyResponse.ts +1 -1
- package/src/models/CreateVaultRequest.ts +1 -1
- package/src/models/EnableClientEncryption.ts +1 -1
- package/src/models/GetUserResponse.ts +1 -1
- package/src/models/HealthCheckResponse.ts +1 -1
- package/src/models/LoginRequest.ts +1 -1
- package/src/models/LoginResponse.ts +1 -1
- package/src/models/MagicLinkRequest.ts +66 -0
- package/src/models/PasswordResetConfirmRequest.ts +75 -0
- package/src/models/PasswordResetRequest.ts +66 -0
- package/src/models/SignupRequest.ts +1 -1
- package/src/models/SignupResponse.ts +1 -1
- package/src/models/StatusResponse.ts +1 -1
- package/src/models/UpdateAPIKeyRequest.ts +1 -1
- package/src/models/UpdateVaultRequest.ts +1 -1
- package/src/models/Vault.ts +1 -1
- package/src/models/VaultAPIKey.ts +1 -1
- package/src/models/VaultLite.ts +1 -1
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +1 -1
package/src/apis/AuthApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,6 +17,9 @@ import * as runtime from '../runtime';
|
|
|
17
17
|
import type {
|
|
18
18
|
LoginRequest,
|
|
19
19
|
LoginResponse,
|
|
20
|
+
MagicLinkRequest,
|
|
21
|
+
PasswordResetConfirmRequest,
|
|
22
|
+
PasswordResetRequest,
|
|
20
23
|
SignupRequest,
|
|
21
24
|
SignupResponse,
|
|
22
25
|
} from '../models/index';
|
|
@@ -25,16 +28,38 @@ import {
|
|
|
25
28
|
LoginRequestToJSON,
|
|
26
29
|
LoginResponseFromJSON,
|
|
27
30
|
LoginResponseToJSON,
|
|
31
|
+
MagicLinkRequestFromJSON,
|
|
32
|
+
MagicLinkRequestToJSON,
|
|
33
|
+
PasswordResetConfirmRequestFromJSON,
|
|
34
|
+
PasswordResetConfirmRequestToJSON,
|
|
35
|
+
PasswordResetRequestFromJSON,
|
|
36
|
+
PasswordResetRequestToJSON,
|
|
28
37
|
SignupRequestFromJSON,
|
|
29
38
|
SignupRequestToJSON,
|
|
30
39
|
SignupResponseFromJSON,
|
|
31
40
|
SignupResponseToJSON,
|
|
32
41
|
} from '../models/index';
|
|
33
42
|
|
|
43
|
+
export interface ConfirmPasswordResetRequest {
|
|
44
|
+
passwordResetConfirmRequest: PasswordResetConfirmRequest;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface ConsumeMagicLinkRequest {
|
|
48
|
+
token: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
34
51
|
export interface LoginOperationRequest {
|
|
35
52
|
loginRequest: LoginRequest;
|
|
36
53
|
}
|
|
37
54
|
|
|
55
|
+
export interface RequestMagicLinkRequest {
|
|
56
|
+
magicLinkRequest: MagicLinkRequest;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface RequestPasswordResetRequest {
|
|
60
|
+
passwordResetRequest: PasswordResetRequest;
|
|
61
|
+
}
|
|
62
|
+
|
|
38
63
|
export interface SignupOperationRequest {
|
|
39
64
|
signupRequest: SignupRequest;
|
|
40
65
|
}
|
|
@@ -44,6 +69,77 @@ export interface SignupOperationRequest {
|
|
|
44
69
|
*/
|
|
45
70
|
export class AuthApi extends runtime.BaseAPI {
|
|
46
71
|
|
|
72
|
+
/**
|
|
73
|
+
* Confirm password reset with token
|
|
74
|
+
*/
|
|
75
|
+
async confirmPasswordResetRaw(requestParameters: ConfirmPasswordResetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
76
|
+
if (requestParameters['passwordResetConfirmRequest'] == null) {
|
|
77
|
+
throw new runtime.RequiredError(
|
|
78
|
+
'passwordResetConfirmRequest',
|
|
79
|
+
'Required parameter "passwordResetConfirmRequest" was null or undefined when calling confirmPasswordReset().'
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const queryParameters: any = {};
|
|
84
|
+
|
|
85
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
86
|
+
|
|
87
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
88
|
+
|
|
89
|
+
const response = await this.request({
|
|
90
|
+
path: `/api/auth/password/reset/confirm`,
|
|
91
|
+
method: 'POST',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
body: PasswordResetConfirmRequestToJSON(requestParameters['passwordResetConfirmRequest']),
|
|
95
|
+
}, initOverrides);
|
|
96
|
+
|
|
97
|
+
return new runtime.VoidApiResponse(response);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Confirm password reset with token
|
|
102
|
+
*/
|
|
103
|
+
async confirmPasswordReset(passwordResetConfirmRequest: PasswordResetConfirmRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
104
|
+
await this.confirmPasswordResetRaw({ passwordResetConfirmRequest: passwordResetConfirmRequest }, initOverrides);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Consume magic link token and redirect with JWT
|
|
109
|
+
*/
|
|
110
|
+
async consumeMagicLinkRaw(requestParameters: ConsumeMagicLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
111
|
+
if (requestParameters['token'] == null) {
|
|
112
|
+
throw new runtime.RequiredError(
|
|
113
|
+
'token',
|
|
114
|
+
'Required parameter "token" was null or undefined when calling consumeMagicLink().'
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
const queryParameters: any = {};
|
|
119
|
+
|
|
120
|
+
if (requestParameters['token'] != null) {
|
|
121
|
+
queryParameters['token'] = requestParameters['token'];
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
125
|
+
|
|
126
|
+
const response = await this.request({
|
|
127
|
+
path: `/auth/ml`,
|
|
128
|
+
method: 'GET',
|
|
129
|
+
headers: headerParameters,
|
|
130
|
+
query: queryParameters,
|
|
131
|
+
}, initOverrides);
|
|
132
|
+
|
|
133
|
+
return new runtime.VoidApiResponse(response);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Consume magic link token and redirect with JWT
|
|
138
|
+
*/
|
|
139
|
+
async consumeMagicLink(token: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
140
|
+
await this.consumeMagicLinkRaw({ token: token }, initOverrides);
|
|
141
|
+
}
|
|
142
|
+
|
|
47
143
|
/**
|
|
48
144
|
* Login with email and password
|
|
49
145
|
*/
|
|
@@ -105,6 +201,76 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
105
201
|
await this.logoutRaw(initOverrides);
|
|
106
202
|
}
|
|
107
203
|
|
|
204
|
+
/**
|
|
205
|
+
* Request a magic link login email
|
|
206
|
+
*/
|
|
207
|
+
async requestMagicLinkRaw(requestParameters: RequestMagicLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
208
|
+
if (requestParameters['magicLinkRequest'] == null) {
|
|
209
|
+
throw new runtime.RequiredError(
|
|
210
|
+
'magicLinkRequest',
|
|
211
|
+
'Required parameter "magicLinkRequest" was null or undefined when calling requestMagicLink().'
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const queryParameters: any = {};
|
|
216
|
+
|
|
217
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
218
|
+
|
|
219
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
220
|
+
|
|
221
|
+
const response = await this.request({
|
|
222
|
+
path: `/api/auth/magic-link/request`,
|
|
223
|
+
method: 'POST',
|
|
224
|
+
headers: headerParameters,
|
|
225
|
+
query: queryParameters,
|
|
226
|
+
body: MagicLinkRequestToJSON(requestParameters['magicLinkRequest']),
|
|
227
|
+
}, initOverrides);
|
|
228
|
+
|
|
229
|
+
return new runtime.VoidApiResponse(response);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Request a magic link login email
|
|
234
|
+
*/
|
|
235
|
+
async requestMagicLink(magicLinkRequest: MagicLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
236
|
+
await this.requestMagicLinkRaw({ magicLinkRequest: magicLinkRequest }, initOverrides);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Request a password reset email
|
|
241
|
+
*/
|
|
242
|
+
async requestPasswordResetRaw(requestParameters: RequestPasswordResetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
243
|
+
if (requestParameters['passwordResetRequest'] == null) {
|
|
244
|
+
throw new runtime.RequiredError(
|
|
245
|
+
'passwordResetRequest',
|
|
246
|
+
'Required parameter "passwordResetRequest" was null or undefined when calling requestPasswordReset().'
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
const queryParameters: any = {};
|
|
251
|
+
|
|
252
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
253
|
+
|
|
254
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
255
|
+
|
|
256
|
+
const response = await this.request({
|
|
257
|
+
path: `/api/auth/password/reset/request`,
|
|
258
|
+
method: 'POST',
|
|
259
|
+
headers: headerParameters,
|
|
260
|
+
query: queryParameters,
|
|
261
|
+
body: PasswordResetRequestToJSON(requestParameters['passwordResetRequest']),
|
|
262
|
+
}, initOverrides);
|
|
263
|
+
|
|
264
|
+
return new runtime.VoidApiResponse(response);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Request a password reset email
|
|
269
|
+
*/
|
|
270
|
+
async requestPasswordReset(passwordResetRequest: PasswordResetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
271
|
+
await this.requestPasswordResetRaw({ passwordResetRequest: passwordResetRequest }, initOverrides);
|
|
272
|
+
}
|
|
273
|
+
|
|
108
274
|
/**
|
|
109
275
|
* Sign up a new user
|
|
110
276
|
*/
|
package/src/apis/CliApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/ConfigApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/DefaultApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/StatusApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/UserApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/apis/VaultApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/AuditLog.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vault Hub Server
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MagicLinkRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface MagicLinkRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MagicLinkRequest
|
|
26
|
+
*/
|
|
27
|
+
email: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the MagicLinkRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfMagicLinkRequest(value: object): value is MagicLinkRequest {
|
|
34
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function MagicLinkRequestFromJSON(json: any): MagicLinkRequest {
|
|
39
|
+
return MagicLinkRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function MagicLinkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MagicLinkRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'email': json['email'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function MagicLinkRequestToJSON(json: any): MagicLinkRequest {
|
|
53
|
+
return MagicLinkRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function MagicLinkRequestToJSONTyped(value?: MagicLinkRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'email': value['email'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vault Hub Server
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PasswordResetConfirmRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PasswordResetConfirmRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PasswordResetConfirmRequest
|
|
26
|
+
*/
|
|
27
|
+
token: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PasswordResetConfirmRequest
|
|
32
|
+
*/
|
|
33
|
+
newPassword: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the PasswordResetConfirmRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfPasswordResetConfirmRequest(value: object): value is PasswordResetConfirmRequest {
|
|
40
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
41
|
+
if (!('newPassword' in value) || value['newPassword'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function PasswordResetConfirmRequestFromJSON(json: any): PasswordResetConfirmRequest {
|
|
46
|
+
return PasswordResetConfirmRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function PasswordResetConfirmRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordResetConfirmRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'token': json['token'],
|
|
56
|
+
'newPassword': json['newPassword'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PasswordResetConfirmRequestToJSON(json: any): PasswordResetConfirmRequest {
|
|
61
|
+
return PasswordResetConfirmRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PasswordResetConfirmRequestToJSONTyped(value?: PasswordResetConfirmRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'token': value['token'],
|
|
72
|
+
'newPassword': value['newPassword'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vault Hub Server
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PasswordResetRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PasswordResetRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PasswordResetRequest
|
|
26
|
+
*/
|
|
27
|
+
email: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PasswordResetRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfPasswordResetRequest(value: object): value is PasswordResetRequest {
|
|
34
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function PasswordResetRequestFromJSON(json: any): PasswordResetRequest {
|
|
39
|
+
return PasswordResetRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function PasswordResetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordResetRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'email': json['email'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function PasswordResetRequestToJSON(json: any): PasswordResetRequest {
|
|
53
|
+
return PasswordResetRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function PasswordResetRequestToJSONTyped(value?: PasswordResetRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'email': value['email'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/Vault.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Vault Hub Server
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|