@lwshen/vault-hub-ts-fetch-client 1.3.15 → 1.3.17
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/.openapi-generator/FILES
CHANGED
|
@@ -27,6 +27,9 @@ src/models/GetUserResponse.ts
|
|
|
27
27
|
src/models/HealthCheckResponse.ts
|
|
28
28
|
src/models/LoginRequest.ts
|
|
29
29
|
src/models/LoginResponse.ts
|
|
30
|
+
src/models/MagicLinkRequest.ts
|
|
31
|
+
src/models/PasswordResetConfirmRequest.ts
|
|
32
|
+
src/models/PasswordResetRequest.ts
|
|
30
33
|
src/models/SignupRequest.ts
|
|
31
34
|
src/models/SignupResponse.ts
|
|
32
35
|
src/models/StatusResponse.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @lwshen/vault-hub-ts-fetch-client@v1.3.
|
|
1
|
+
## @lwshen/vault-hub-ts-fetch-client@v1.3.17
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @lwshen/vault-hub-ts-fetch-client@v1.3.
|
|
39
|
+
npm install @lwshen/vault-hub-ts-fetch-client@v1.3.17 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/apis/APIKeyApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/APIKeyApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/AuditApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/AuditApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/AuthApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,10 +10,22 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { LoginRequest, LoginResponse, SignupRequest, SignupResponse } from '../models/index';
|
|
13
|
+
import type { LoginRequest, LoginResponse, MagicLinkRequest, PasswordResetConfirmRequest, PasswordResetRequest, SignupRequest, SignupResponse } from '../models/index';
|
|
14
|
+
export interface ConfirmPasswordResetRequest {
|
|
15
|
+
passwordResetConfirmRequest: PasswordResetConfirmRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface ConsumeMagicLinkRequest {
|
|
18
|
+
token: string;
|
|
19
|
+
}
|
|
14
20
|
export interface LoginOperationRequest {
|
|
15
21
|
loginRequest: LoginRequest;
|
|
16
22
|
}
|
|
23
|
+
export interface RequestMagicLinkRequest {
|
|
24
|
+
magicLinkRequest: MagicLinkRequest;
|
|
25
|
+
}
|
|
26
|
+
export interface RequestPasswordResetRequest {
|
|
27
|
+
passwordResetRequest: PasswordResetRequest;
|
|
28
|
+
}
|
|
17
29
|
export interface SignupOperationRequest {
|
|
18
30
|
signupRequest: SignupRequest;
|
|
19
31
|
}
|
|
@@ -21,6 +33,22 @@ export interface SignupOperationRequest {
|
|
|
21
33
|
*
|
|
22
34
|
*/
|
|
23
35
|
export declare class AuthApi extends runtime.BaseAPI {
|
|
36
|
+
/**
|
|
37
|
+
* Confirm password reset with token
|
|
38
|
+
*/
|
|
39
|
+
confirmPasswordResetRaw(requestParameters: ConfirmPasswordResetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
40
|
+
/**
|
|
41
|
+
* Confirm password reset with token
|
|
42
|
+
*/
|
|
43
|
+
confirmPasswordReset(passwordResetConfirmRequest: PasswordResetConfirmRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Consume magic link token and redirect with JWT
|
|
46
|
+
*/
|
|
47
|
+
consumeMagicLinkRaw(requestParameters: ConsumeMagicLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
48
|
+
/**
|
|
49
|
+
* Consume magic link token and redirect with JWT
|
|
50
|
+
*/
|
|
51
|
+
consumeMagicLink(token: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
24
52
|
/**
|
|
25
53
|
* Login with email and password
|
|
26
54
|
*/
|
|
@@ -37,6 +65,22 @@ export declare class AuthApi extends runtime.BaseAPI {
|
|
|
37
65
|
* Logout
|
|
38
66
|
*/
|
|
39
67
|
logout(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Request a magic link login email
|
|
70
|
+
*/
|
|
71
|
+
requestMagicLinkRaw(requestParameters: RequestMagicLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
72
|
+
/**
|
|
73
|
+
* Request a magic link login email
|
|
74
|
+
*/
|
|
75
|
+
requestMagicLink(magicLinkRequest: MagicLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
76
|
+
/**
|
|
77
|
+
* Request a password reset email
|
|
78
|
+
*/
|
|
79
|
+
requestPasswordResetRaw(requestParameters: RequestPasswordResetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
80
|
+
/**
|
|
81
|
+
* Request a password reset email
|
|
82
|
+
*/
|
|
83
|
+
requestPasswordReset(passwordResetRequest: PasswordResetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
40
84
|
/**
|
|
41
85
|
* Sign up a new user
|
|
42
86
|
*/
|
package/dist/apis/AuthApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,6 +75,95 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
75
75
|
function AuthApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Confirm password reset with token
|
|
80
|
+
*/
|
|
81
|
+
AuthApi.prototype.confirmPasswordResetRaw = function (requestParameters, initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters['passwordResetConfirmRequest'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('passwordResetConfirmRequest', 'Required parameter "passwordResetConfirmRequest" was null or undefined when calling confirmPasswordReset().');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
return [4 /*yield*/, this.request({
|
|
94
|
+
path: "/api/auth/password/reset/confirm",
|
|
95
|
+
method: 'POST',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
body: (0, index_1.PasswordResetConfirmRequestToJSON)(requestParameters['passwordResetConfirmRequest']),
|
|
99
|
+
}, initOverrides)];
|
|
100
|
+
case 1:
|
|
101
|
+
response = _a.sent();
|
|
102
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Confirm password reset with token
|
|
109
|
+
*/
|
|
110
|
+
AuthApi.prototype.confirmPasswordReset = function (passwordResetConfirmRequest, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
112
|
+
return __generator(this, function (_a) {
|
|
113
|
+
switch (_a.label) {
|
|
114
|
+
case 0: return [4 /*yield*/, this.confirmPasswordResetRaw({ passwordResetConfirmRequest: passwordResetConfirmRequest }, initOverrides)];
|
|
115
|
+
case 1:
|
|
116
|
+
_a.sent();
|
|
117
|
+
return [2 /*return*/];
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Consume magic link token and redirect with JWT
|
|
124
|
+
*/
|
|
125
|
+
AuthApi.prototype.consumeMagicLinkRaw = function (requestParameters, initOverrides) {
|
|
126
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
127
|
+
var queryParameters, headerParameters, response;
|
|
128
|
+
return __generator(this, function (_a) {
|
|
129
|
+
switch (_a.label) {
|
|
130
|
+
case 0:
|
|
131
|
+
if (requestParameters['token'] == null) {
|
|
132
|
+
throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling consumeMagicLink().');
|
|
133
|
+
}
|
|
134
|
+
queryParameters = {};
|
|
135
|
+
if (requestParameters['token'] != null) {
|
|
136
|
+
queryParameters['token'] = requestParameters['token'];
|
|
137
|
+
}
|
|
138
|
+
headerParameters = {};
|
|
139
|
+
return [4 /*yield*/, this.request({
|
|
140
|
+
path: "/api/auth/magic-link/token",
|
|
141
|
+
method: 'GET',
|
|
142
|
+
headers: headerParameters,
|
|
143
|
+
query: queryParameters,
|
|
144
|
+
}, initOverrides)];
|
|
145
|
+
case 1:
|
|
146
|
+
response = _a.sent();
|
|
147
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Consume magic link token and redirect with JWT
|
|
154
|
+
*/
|
|
155
|
+
AuthApi.prototype.consumeMagicLink = function (token, initOverrides) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
157
|
+
return __generator(this, function (_a) {
|
|
158
|
+
switch (_a.label) {
|
|
159
|
+
case 0: return [4 /*yield*/, this.consumeMagicLinkRaw({ token: token }, initOverrides)];
|
|
160
|
+
case 1:
|
|
161
|
+
_a.sent();
|
|
162
|
+
return [2 /*return*/];
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
};
|
|
78
167
|
/**
|
|
79
168
|
* Login with email and password
|
|
80
169
|
*/
|
|
@@ -160,6 +249,94 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
160
249
|
});
|
|
161
250
|
});
|
|
162
251
|
};
|
|
252
|
+
/**
|
|
253
|
+
* Request a magic link login email
|
|
254
|
+
*/
|
|
255
|
+
AuthApi.prototype.requestMagicLinkRaw = function (requestParameters, initOverrides) {
|
|
256
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
257
|
+
var queryParameters, headerParameters, response;
|
|
258
|
+
return __generator(this, function (_a) {
|
|
259
|
+
switch (_a.label) {
|
|
260
|
+
case 0:
|
|
261
|
+
if (requestParameters['magicLinkRequest'] == null) {
|
|
262
|
+
throw new runtime.RequiredError('magicLinkRequest', 'Required parameter "magicLinkRequest" was null or undefined when calling requestMagicLink().');
|
|
263
|
+
}
|
|
264
|
+
queryParameters = {};
|
|
265
|
+
headerParameters = {};
|
|
266
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
267
|
+
return [4 /*yield*/, this.request({
|
|
268
|
+
path: "/api/auth/magic-link/request",
|
|
269
|
+
method: 'POST',
|
|
270
|
+
headers: headerParameters,
|
|
271
|
+
query: queryParameters,
|
|
272
|
+
body: (0, index_1.MagicLinkRequestToJSON)(requestParameters['magicLinkRequest']),
|
|
273
|
+
}, initOverrides)];
|
|
274
|
+
case 1:
|
|
275
|
+
response = _a.sent();
|
|
276
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
});
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Request a magic link login email
|
|
283
|
+
*/
|
|
284
|
+
AuthApi.prototype.requestMagicLink = function (magicLinkRequest, initOverrides) {
|
|
285
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
286
|
+
return __generator(this, function (_a) {
|
|
287
|
+
switch (_a.label) {
|
|
288
|
+
case 0: return [4 /*yield*/, this.requestMagicLinkRaw({ magicLinkRequest: magicLinkRequest }, initOverrides)];
|
|
289
|
+
case 1:
|
|
290
|
+
_a.sent();
|
|
291
|
+
return [2 /*return*/];
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
});
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* Request a password reset email
|
|
298
|
+
*/
|
|
299
|
+
AuthApi.prototype.requestPasswordResetRaw = function (requestParameters, initOverrides) {
|
|
300
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
301
|
+
var queryParameters, headerParameters, response;
|
|
302
|
+
return __generator(this, function (_a) {
|
|
303
|
+
switch (_a.label) {
|
|
304
|
+
case 0:
|
|
305
|
+
if (requestParameters['passwordResetRequest'] == null) {
|
|
306
|
+
throw new runtime.RequiredError('passwordResetRequest', 'Required parameter "passwordResetRequest" was null or undefined when calling requestPasswordReset().');
|
|
307
|
+
}
|
|
308
|
+
queryParameters = {};
|
|
309
|
+
headerParameters = {};
|
|
310
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
311
|
+
return [4 /*yield*/, this.request({
|
|
312
|
+
path: "/api/auth/password/reset/request",
|
|
313
|
+
method: 'POST',
|
|
314
|
+
headers: headerParameters,
|
|
315
|
+
query: queryParameters,
|
|
316
|
+
body: (0, index_1.PasswordResetRequestToJSON)(requestParameters['passwordResetRequest']),
|
|
317
|
+
}, initOverrides)];
|
|
318
|
+
case 1:
|
|
319
|
+
response = _a.sent();
|
|
320
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
});
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Request a password reset email
|
|
327
|
+
*/
|
|
328
|
+
AuthApi.prototype.requestPasswordReset = function (passwordResetRequest, initOverrides) {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
330
|
+
return __generator(this, function (_a) {
|
|
331
|
+
switch (_a.label) {
|
|
332
|
+
case 0: return [4 /*yield*/, this.requestPasswordResetRaw({ passwordResetRequest: passwordResetRequest }, initOverrides)];
|
|
333
|
+
case 1:
|
|
334
|
+
_a.sent();
|
|
335
|
+
return [2 /*return*/];
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
});
|
|
339
|
+
};
|
|
163
340
|
/**
|
|
164
341
|
* Sign up a new user
|
|
165
342
|
*/
|
package/dist/apis/CliApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/CliApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/ConfigApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/ConfigApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/DefaultApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/StatusApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/StatusApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/UserApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/UserApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/VaultApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/VaultApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/AuditLog.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vault Hub Server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Vault Hub Server
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|