@emilgroup/auth-sdk 1.20.1-beta.4 → 1.20.1-beta.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.
- package/.openapi-generator/FILES +0 -5
- package/README.md +2 -2
- package/api/default-api.ts +4 -4
- package/api.ts +0 -2
- package/dist/api/authservice-api.js +38 -95
- package/dist/api/default-api.d.ts +4 -4
- package/dist/api/default-api.js +9 -22
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/base.js +5 -5
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/dist/models/user-class.d.ts +0 -6
- package/models/index.ts +0 -4
- package/models/user-class.ts +0 -6
- package/package.json +3 -3
- package/api/workspaces-api.ts +0 -269
- package/dist/api/workspaces-api.d.ts +0 -153
- package/dist/api/workspaces-api.js +0 -334
- package/dist/models/list-workspaces-repsonse-class.d.ts +0 -25
- package/dist/models/list-workspaces-repsonse-class.js +0 -15
- package/dist/models/switch-workspace-request-without-refresh-token-dto.d.ts +0 -30
- package/dist/models/switch-workspace-request-without-refresh-token-dto.js +0 -15
- package/dist/models/switch-workspace-response-class.d.ts +0 -24
- package/dist/models/switch-workspace-response-class.js +0 -15
- package/dist/models/workspace-class.d.ts +0 -36
- package/dist/models/workspace-class.js +0 -15
- package/models/list-workspaces-repsonse-class.ts +0 -31
- package/models/switch-workspace-request-without-refresh-token-dto.ts +0 -36
- package/models/switch-workspace-response-class.ts +0 -30
- package/models/workspace-class.ts +0 -42
package/.openapi-generator/FILES
CHANGED
|
@@ -5,7 +5,6 @@ README.md
|
|
|
5
5
|
api.ts
|
|
6
6
|
api/authservice-api.ts
|
|
7
7
|
api/default-api.ts
|
|
8
|
-
api/workspaces-api.ts
|
|
9
8
|
base.ts
|
|
10
9
|
common.ts
|
|
11
10
|
configuration.ts
|
|
@@ -21,7 +20,6 @@ models/get-saml-login-link-request-dto.ts
|
|
|
21
20
|
models/index.ts
|
|
22
21
|
models/inline-response200.ts
|
|
23
22
|
models/inline-response503.ts
|
|
24
|
-
models/list-workspaces-repsonse-class.ts
|
|
25
23
|
models/login-by-saml-request-dto.ts
|
|
26
24
|
models/login-class.ts
|
|
27
25
|
models/login-request-dto.ts
|
|
@@ -31,11 +29,8 @@ models/organization-class.ts
|
|
|
31
29
|
models/refresh-token-dto.ts
|
|
32
30
|
models/reset-password-request-dto.ts
|
|
33
31
|
models/role-class.ts
|
|
34
|
-
models/switch-workspace-request-without-refresh-token-dto.ts
|
|
35
|
-
models/switch-workspace-response-class.ts
|
|
36
32
|
models/user-class.ts
|
|
37
33
|
models/verify-org-invitation-request-dto.ts
|
|
38
34
|
models/verify-org-invitation-response-class.ts
|
|
39
|
-
models/workspace-class.ts
|
|
40
35
|
package.json
|
|
41
36
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/auth-sdk@1.20.1-beta.
|
|
20
|
+
npm install @emilgroup/auth-sdk@1.20.1-beta.6 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/auth-sdk@1.20.1-beta.
|
|
24
|
+
yarn add @emilgroup/auth-sdk@1.20.1-beta.6
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
package/api/default-api.ts
CHANGED
|
@@ -31,7 +31,7 @@ import { InlineResponse503 } from '../models';
|
|
|
31
31
|
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
|
-
* Returns the health status of the auth service.
|
|
34
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
35
35
|
* @summary Health Check
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
@@ -73,7 +73,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
73
73
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
74
74
|
return {
|
|
75
75
|
/**
|
|
76
|
-
* Returns the health status of the auth service.
|
|
76
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
77
77
|
* @summary Health Check
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
@@ -93,7 +93,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
93
93
|
const localVarFp = DefaultApiFp(configuration)
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* Returns the health status of the auth service.
|
|
96
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
97
97
|
* @summary Health Check
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
99
99
|
* @throws {RequiredError}
|
|
@@ -112,7 +112,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
112
112
|
*/
|
|
113
113
|
export class DefaultApi extends BaseAPI {
|
|
114
114
|
/**
|
|
115
|
-
* Returns the health status of the auth service.
|
|
115
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
116
116
|
* @summary Health Check
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
package/api.ts
CHANGED
|
@@ -22,10 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
import { AuthserviceApi } from './api';
|
|
24
24
|
import { DefaultApi } from './api';
|
|
25
|
-
import { WorkspacesApi } from './api';
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
export * from './api/authservice-api';
|
|
29
28
|
export * from './api/default-api';
|
|
30
|
-
export * from './api/workspaces-api';
|
|
31
29
|
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -108,14 +99,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
108
99
|
* @param {*} [options] Override http request option.
|
|
109
100
|
* @throws {RequiredError}
|
|
110
101
|
*/
|
|
111
|
-
createOrgAndUser: function (
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
args_1[_i - 1] = arguments[_i];
|
|
115
|
-
}
|
|
116
|
-
return __awaiter(_this, __spreadArray([createOrgAndUserRequestDto_1], args_1, true), void 0, function (createOrgAndUserRequestDto, options) {
|
|
102
|
+
createOrgAndUser: function (createOrgAndUserRequestDto, options) {
|
|
103
|
+
if (options === void 0) { options = {}; }
|
|
104
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
117
105
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
118
|
-
if (options === void 0) { options = {}; }
|
|
119
106
|
return __generator(this, function (_a) {
|
|
120
107
|
// verify required parameter 'createOrgAndUserRequestDto' is not null or undefined
|
|
121
108
|
(0, common_1.assertParamExists)('createOrgAndUser', 'createOrgAndUserRequestDto', createOrgAndUserRequestDto);
|
|
@@ -147,14 +134,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
147
134
|
* @param {*} [options] Override http request option.
|
|
148
135
|
* @throws {RequiredError}
|
|
149
136
|
*/
|
|
150
|
-
createUser: function (
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
args_1[_i - 1] = arguments[_i];
|
|
154
|
-
}
|
|
155
|
-
return __awaiter(_this, __spreadArray([createUserRequestDto_1], args_1, true), void 0, function (createUserRequestDto, options) {
|
|
137
|
+
createUser: function (createUserRequestDto, options) {
|
|
138
|
+
if (options === void 0) { options = {}; }
|
|
139
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
156
140
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
157
|
-
if (options === void 0) { options = {}; }
|
|
158
141
|
return __generator(this, function (_a) {
|
|
159
142
|
// verify required parameter 'createUserRequestDto' is not null or undefined
|
|
160
143
|
(0, common_1.assertParamExists)('createUser', 'createUserRequestDto', createUserRequestDto);
|
|
@@ -186,14 +169,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
186
169
|
* @param {*} [options] Override http request option.
|
|
187
170
|
* @throws {RequiredError}
|
|
188
171
|
*/
|
|
189
|
-
forgotPassword: function (
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
args_1[_i - 1] = arguments[_i];
|
|
193
|
-
}
|
|
194
|
-
return __awaiter(_this, __spreadArray([forgotPasswordRequestDto_1], args_1, true), void 0, function (forgotPasswordRequestDto, options) {
|
|
172
|
+
forgotPassword: function (forgotPasswordRequestDto, options) {
|
|
173
|
+
if (options === void 0) { options = {}; }
|
|
174
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
195
175
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
196
|
-
if (options === void 0) { options = {}; }
|
|
197
176
|
return __generator(this, function (_a) {
|
|
198
177
|
// verify required parameter 'forgotPasswordRequestDto' is not null or undefined
|
|
199
178
|
(0, common_1.assertParamExists)('forgotPassword', 'forgotPasswordRequestDto', forgotPasswordRequestDto);
|
|
@@ -225,14 +204,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
225
204
|
* @param {*} [options] Override http request option.
|
|
226
205
|
* @throws {RequiredError}
|
|
227
206
|
*/
|
|
228
|
-
getSamlLoginLink: function (
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
args_1[_i - 1] = arguments[_i];
|
|
232
|
-
}
|
|
233
|
-
return __awaiter(_this, __spreadArray([tenantSlug_1], args_1, true), void 0, function (tenantSlug, options) {
|
|
207
|
+
getSamlLoginLink: function (tenantSlug, options) {
|
|
208
|
+
if (options === void 0) { options = {}; }
|
|
209
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
234
210
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
235
|
-
if (options === void 0) { options = {}; }
|
|
236
211
|
return __generator(this, function (_a) {
|
|
237
212
|
// verify required parameter 'tenantSlug' is not null or undefined
|
|
238
213
|
(0, common_1.assertParamExists)('getSamlLoginLink', 'tenantSlug', tenantSlug);
|
|
@@ -265,14 +240,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
265
240
|
* @param {*} [options] Override http request option.
|
|
266
241
|
* @throws {RequiredError}
|
|
267
242
|
*/
|
|
268
|
-
login: function (
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
args_1[_i - 1] = arguments[_i];
|
|
272
|
-
}
|
|
273
|
-
return __awaiter(_this, __spreadArray([loginRequestDto_1], args_1, true), void 0, function (loginRequestDto, options) {
|
|
243
|
+
login: function (loginRequestDto, options) {
|
|
244
|
+
if (options === void 0) { options = {}; }
|
|
245
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
274
246
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
275
|
-
if (options === void 0) { options = {}; }
|
|
276
247
|
return __generator(this, function (_a) {
|
|
277
248
|
// verify required parameter 'loginRequestDto' is not null or undefined
|
|
278
249
|
(0, common_1.assertParamExists)('login', 'loginRequestDto', loginRequestDto);
|
|
@@ -304,14 +275,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
304
275
|
* @param {*} [options] Override http request option.
|
|
305
276
|
* @throws {RequiredError}
|
|
306
277
|
*/
|
|
307
|
-
loginBySaml: function (
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
args_1[_i - 1] = arguments[_i];
|
|
311
|
-
}
|
|
312
|
-
return __awaiter(_this, __spreadArray([loginBySamlRequestDto_1], args_1, true), void 0, function (loginBySamlRequestDto, options) {
|
|
278
|
+
loginBySaml: function (loginBySamlRequestDto, options) {
|
|
279
|
+
if (options === void 0) { options = {}; }
|
|
280
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
313
281
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
314
|
-
if (options === void 0) { options = {}; }
|
|
315
282
|
return __generator(this, function (_a) {
|
|
316
283
|
// verify required parameter 'loginBySamlRequestDto' is not null or undefined
|
|
317
284
|
(0, common_1.assertParamExists)('loginBySaml', 'loginBySamlRequestDto', loginBySamlRequestDto);
|
|
@@ -343,14 +310,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
343
310
|
* @param {*} [options] Override http request option.
|
|
344
311
|
* @throws {RequiredError}
|
|
345
312
|
*/
|
|
346
|
-
logout: function (
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
args_1[_i - 1] = arguments[_i];
|
|
350
|
-
}
|
|
351
|
-
return __awaiter(_this, __spreadArray([logoutRequestDto_1], args_1, true), void 0, function (logoutRequestDto, options) {
|
|
313
|
+
logout: function (logoutRequestDto, options) {
|
|
314
|
+
if (options === void 0) { options = {}; }
|
|
315
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
352
316
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
353
|
-
if (options === void 0) { options = {}; }
|
|
354
317
|
return __generator(this, function (_a) {
|
|
355
318
|
// verify required parameter 'logoutRequestDto' is not null or undefined
|
|
356
319
|
(0, common_1.assertParamExists)('logout', 'logoutRequestDto', logoutRequestDto);
|
|
@@ -383,14 +346,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
383
346
|
* @param {*} [options] Override http request option.
|
|
384
347
|
* @throws {RequiredError}
|
|
385
348
|
*/
|
|
386
|
-
refreshToken: function (
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
args_1[_i - 2] = arguments[_i];
|
|
390
|
-
}
|
|
391
|
-
return __awaiter(_this, __spreadArray([refreshTokenDto_1, cookie_1], args_1, true), void 0, function (refreshTokenDto, cookie, options) {
|
|
349
|
+
refreshToken: function (refreshTokenDto, cookie, options) {
|
|
350
|
+
if (options === void 0) { options = {}; }
|
|
351
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
392
352
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
393
|
-
if (options === void 0) { options = {}; }
|
|
394
353
|
return __generator(this, function (_a) {
|
|
395
354
|
// verify required parameter 'refreshTokenDto' is not null or undefined
|
|
396
355
|
(0, common_1.assertParamExists)('refreshToken', 'refreshTokenDto', refreshTokenDto);
|
|
@@ -425,14 +384,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
425
384
|
* @param {*} [options] Override http request option.
|
|
426
385
|
* @throws {RequiredError}
|
|
427
386
|
*/
|
|
428
|
-
resetPassword: function (
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
args_1[_i - 1] = arguments[_i];
|
|
432
|
-
}
|
|
433
|
-
return __awaiter(_this, __spreadArray([resetPasswordRequestDto_1], args_1, true), void 0, function (resetPasswordRequestDto, options) {
|
|
387
|
+
resetPassword: function (resetPasswordRequestDto, options) {
|
|
388
|
+
if (options === void 0) { options = {}; }
|
|
389
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
434
390
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
435
|
-
if (options === void 0) { options = {}; }
|
|
436
391
|
return __generator(this, function (_a) {
|
|
437
392
|
// verify required parameter 'resetPasswordRequestDto' is not null or undefined
|
|
438
393
|
(0, common_1.assertParamExists)('resetPassword', 'resetPasswordRequestDto', resetPasswordRequestDto);
|
|
@@ -464,14 +419,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
464
419
|
* @param {*} [options] Override http request option.
|
|
465
420
|
* @throws {RequiredError}
|
|
466
421
|
*/
|
|
467
|
-
verifyInvite: function (
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
args_1[_i - 1] = arguments[_i];
|
|
471
|
-
}
|
|
472
|
-
return __awaiter(_this, __spreadArray([token_1], args_1, true), void 0, function (token, options) {
|
|
422
|
+
verifyInvite: function (token, options) {
|
|
423
|
+
if (options === void 0) { options = {}; }
|
|
424
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
473
425
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
474
|
-
if (options === void 0) { options = {}; }
|
|
475
426
|
return __generator(this, function (_a) {
|
|
476
427
|
// verify required parameter 'token' is not null or undefined
|
|
477
428
|
(0, common_1.assertParamExists)('verifyInvite', 'token', token);
|
|
@@ -504,14 +455,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
504
455
|
* @param {*} [options] Override http request option.
|
|
505
456
|
* @throws {RequiredError}
|
|
506
457
|
*/
|
|
507
|
-
verifyOrgInvitation: function (
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
args_1[_i - 1] = arguments[_i];
|
|
511
|
-
}
|
|
512
|
-
return __awaiter(_this, __spreadArray([invitationToken_1], args_1, true), void 0, function (invitationToken, options) {
|
|
458
|
+
verifyOrgInvitation: function (invitationToken, options) {
|
|
459
|
+
if (options === void 0) { options = {}; }
|
|
460
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
513
461
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
514
|
-
if (options === void 0) { options = {}; }
|
|
515
462
|
return __generator(this, function (_a) {
|
|
516
463
|
// verify required parameter 'invitationToken' is not null or undefined
|
|
517
464
|
(0, common_1.assertParamExists)('verifyOrgInvitation', 'invitationToken', invitationToken);
|
|
@@ -544,14 +491,10 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
544
491
|
* @param {*} [options] Override http request option.
|
|
545
492
|
* @throws {RequiredError}
|
|
546
493
|
*/
|
|
547
|
-
verifyResetPasswordToken: function (
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
args_1[_i - 1] = arguments[_i];
|
|
551
|
-
}
|
|
552
|
-
return __awaiter(_this, __spreadArray([resetToken_1], args_1, true), void 0, function (resetToken, options) {
|
|
494
|
+
verifyResetPasswordToken: function (resetToken, options) {
|
|
495
|
+
if (options === void 0) { options = {}; }
|
|
496
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
553
497
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
554
|
-
if (options === void 0) { options = {}; }
|
|
555
498
|
return __generator(this, function (_a) {
|
|
556
499
|
// verify required parameter 'resetToken' is not null or undefined
|
|
557
500
|
(0, common_1.assertParamExists)('verifyResetPasswordToken', 'resetToken', resetToken);
|
|
@@ -19,7 +19,7 @@ import { InlineResponse200 } from '../models';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
|
-
* Returns the health status of the auth service.
|
|
22
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
23
23
|
* @summary Health Check
|
|
24
24
|
* @param {*} [options] Override http request option.
|
|
25
25
|
* @throws {RequiredError}
|
|
@@ -32,7 +32,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
34
34
|
/**
|
|
35
|
-
* Returns the health status of the auth service.
|
|
35
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
36
36
|
* @summary Health Check
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
@@ -45,7 +45,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
45
45
|
*/
|
|
46
46
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
47
|
/**
|
|
48
|
-
* Returns the health status of the auth service.
|
|
48
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
49
49
|
* @summary Health Check
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
@@ -60,7 +60,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
60
60
|
*/
|
|
61
61
|
export declare class DefaultApi extends BaseAPI {
|
|
62
62
|
/**
|
|
63
|
-
* Returns the health status of the auth service.
|
|
63
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
64
64
|
* @summary Health Check
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
package/dist/api/default-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -102,19 +93,15 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
102
93
|
var _this = this;
|
|
103
94
|
return {
|
|
104
95
|
/**
|
|
105
|
-
* Returns the health status of the auth service.
|
|
96
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
106
97
|
* @summary Health Check
|
|
107
98
|
* @param {*} [options] Override http request option.
|
|
108
99
|
* @throws {RequiredError}
|
|
109
100
|
*/
|
|
110
|
-
check: function () {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
args_1[_i] = arguments[_i];
|
|
114
|
-
}
|
|
115
|
-
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
101
|
+
check: function (options) {
|
|
102
|
+
if (options === void 0) { options = {}; }
|
|
103
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
116
104
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
117
|
-
if (options === void 0) { options = {}; }
|
|
118
105
|
return __generator(this, function (_a) {
|
|
119
106
|
localVarPath = "/authservice/health";
|
|
120
107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -146,7 +133,7 @@ var DefaultApiFp = function (configuration) {
|
|
|
146
133
|
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
147
134
|
return {
|
|
148
135
|
/**
|
|
149
|
-
* Returns the health status of the auth service.
|
|
136
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
150
137
|
* @summary Health Check
|
|
151
138
|
* @param {*} [options] Override http request option.
|
|
152
139
|
* @throws {RequiredError}
|
|
@@ -175,7 +162,7 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
175
162
|
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
176
163
|
return {
|
|
177
164
|
/**
|
|
178
|
-
* Returns the health status of the auth service.
|
|
165
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
179
166
|
* @summary Health Check
|
|
180
167
|
* @param {*} [options] Override http request option.
|
|
181
168
|
* @throws {RequiredError}
|
|
@@ -198,7 +185,7 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
198
185
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
199
186
|
}
|
|
200
187
|
/**
|
|
201
|
-
* Returns the health status of the auth service.
|
|
188
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
202
189
|
* @summary Health Check
|
|
203
190
|
* @param {*} [options] Override http request option.
|
|
204
191
|
* @throws {RequiredError}
|
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -29,4 +29,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/authservice-api"), exports);
|
|
31
31
|
__exportStar(require("./api/default-api"), exports);
|
|
32
|
-
__exportStar(require("./api/workspaces-api"), exports);
|
package/dist/base.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -78,8 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
82
|
-
exports.resetRetry = resetRetry;
|
|
81
|
+
exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
83
82
|
var configuration_1 = require("./configuration");
|
|
84
83
|
var common_1 = require("./common");
|
|
85
84
|
// Some imports not used depending on template conditions
|
|
@@ -103,12 +102,13 @@ var Environment;
|
|
|
103
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
104
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
105
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
106
|
-
})(Environment
|
|
105
|
+
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
107
106
|
var _retry_count = 0;
|
|
108
107
|
var _retry = null;
|
|
109
108
|
function resetRetry() {
|
|
110
109
|
_retry_count = 0;
|
|
111
110
|
}
|
|
111
|
+
exports.resetRetry = resetRetry;
|
|
112
112
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
113
113
|
var TOKEN_DATA = 'APP_TOKEN';
|
|
114
114
|
/**
|
package/dist/common.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
66
|
/**
|
|
67
67
|
* EMIL AuthService
|
|
68
68
|
* The EMIL AuthService API description
|
package/dist/common.js
CHANGED
|
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
36
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
37
|
-
return g
|
|
36
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
37
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
38
38
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
39
39
|
function step(op) {
|
|
40
40
|
if (f) throw new TypeError("Generator is already executing.");
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from './forgot-password-request-dto';
|
|
|
7
7
|
export * from './get-saml-login-link-request-dto';
|
|
8
8
|
export * from './inline-response200';
|
|
9
9
|
export * from './inline-response503';
|
|
10
|
-
export * from './list-workspaces-repsonse-class';
|
|
11
10
|
export * from './login-by-saml-request-dto';
|
|
12
11
|
export * from './login-class';
|
|
13
12
|
export * from './login-request-dto';
|
|
@@ -17,9 +16,6 @@ export * from './organization-class';
|
|
|
17
16
|
export * from './refresh-token-dto';
|
|
18
17
|
export * from './reset-password-request-dto';
|
|
19
18
|
export * from './role-class';
|
|
20
|
-
export * from './switch-workspace-request-without-refresh-token-dto';
|
|
21
|
-
export * from './switch-workspace-response-class';
|
|
22
19
|
export * from './user-class';
|
|
23
20
|
export * from './verify-org-invitation-request-dto';
|
|
24
21
|
export * from './verify-org-invitation-response-class';
|
|
25
|
-
export * from './workspace-class';
|
package/dist/models/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __exportStar(require("./forgot-password-request-dto"), exports);
|
|
|
23
23
|
__exportStar(require("./get-saml-login-link-request-dto"), exports);
|
|
24
24
|
__exportStar(require("./inline-response200"), exports);
|
|
25
25
|
__exportStar(require("./inline-response503"), exports);
|
|
26
|
-
__exportStar(require("./list-workspaces-repsonse-class"), exports);
|
|
27
26
|
__exportStar(require("./login-by-saml-request-dto"), exports);
|
|
28
27
|
__exportStar(require("./login-class"), exports);
|
|
29
28
|
__exportStar(require("./login-request-dto"), exports);
|
|
@@ -33,9 +32,6 @@ __exportStar(require("./organization-class"), exports);
|
|
|
33
32
|
__exportStar(require("./refresh-token-dto"), exports);
|
|
34
33
|
__exportStar(require("./reset-password-request-dto"), exports);
|
|
35
34
|
__exportStar(require("./role-class"), exports);
|
|
36
|
-
__exportStar(require("./switch-workspace-request-without-refresh-token-dto"), exports);
|
|
37
|
-
__exportStar(require("./switch-workspace-response-class"), exports);
|
|
38
35
|
__exportStar(require("./user-class"), exports);
|
|
39
36
|
__exportStar(require("./verify-org-invitation-request-dto"), exports);
|
|
40
37
|
__exportStar(require("./verify-org-invitation-response-class"), exports);
|
|
41
|
-
__exportStar(require("./workspace-class"), exports);
|
package/models/index.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from './forgot-password-request-dto';
|
|
|
7
7
|
export * from './get-saml-login-link-request-dto';
|
|
8
8
|
export * from './inline-response200';
|
|
9
9
|
export * from './inline-response503';
|
|
10
|
-
export * from './list-workspaces-repsonse-class';
|
|
11
10
|
export * from './login-by-saml-request-dto';
|
|
12
11
|
export * from './login-class';
|
|
13
12
|
export * from './login-request-dto';
|
|
@@ -17,9 +16,6 @@ export * from './organization-class';
|
|
|
17
16
|
export * from './refresh-token-dto';
|
|
18
17
|
export * from './reset-password-request-dto';
|
|
19
18
|
export * from './role-class';
|
|
20
|
-
export * from './switch-workspace-request-without-refresh-token-dto';
|
|
21
|
-
export * from './switch-workspace-response-class';
|
|
22
19
|
export * from './user-class';
|
|
23
20
|
export * from './verify-org-invitation-request-dto';
|
|
24
21
|
export * from './verify-org-invitation-response-class';
|
|
25
|
-
export * from './workspace-class';
|
package/models/user-class.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/auth-sdk",
|
|
3
|
-
"version": "1.20.1-beta.
|
|
3
|
+
"version": "1.20.1-beta.6",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/auth-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"typescript": "^
|
|
24
|
+
"typescript": "^4.0"
|
|
25
25
|
}
|
|
26
26
|
}
|