@emilgroup/auth-sdk-node 1.17.2-beta.1 → 1.18.0
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 +6 -1
- package/README.md +2 -2
- package/api/{default-api.ts → health-api.ts} +17 -17
- package/api/workspaces-api.ts +273 -0
- package/api.ts +4 -2
- package/dist/api/authservice-api.js +38 -95
- package/dist/api/health-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-api.js} +31 -44
- package/dist/api/workspaces-api.d.ts +153 -0
- package/dist/api/workspaces-api.js +321 -0
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/base.js +15 -25
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-workspaces-response-class.d.ts +25 -0
- package/dist/models/list-workspaces-response-class.js +15 -0
- package/dist/models/switch-workspace-request-without-refresh-token-dto.d.ts +30 -0
- package/dist/models/switch-workspace-request-without-refresh-token-dto.js +15 -0
- package/dist/models/switch-workspace-response-class.d.ts +24 -0
- package/dist/models/switch-workspace-response-class.js +15 -0
- package/dist/models/user-class.d.ts +6 -0
- package/dist/models/workspace-class.d.ts +48 -0
- package/dist/models/workspace-class.js +15 -0
- package/models/index.ts +4 -0
- package/models/list-workspaces-response-class.ts +31 -0
- package/models/switch-workspace-request-without-refresh-token-dto.ts +36 -0
- package/models/switch-workspace-response-class.ts +30 -0
- package/models/user-class.ts +6 -0
- package/models/workspace-class.ts +54 -0
- package/package.json +4 -4
- package/dist/api/default-api.d.ts +0 -70
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AuthService
|
|
3
|
+
* The EMIL AuthService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WorkspaceClass
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkspaceClass {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the workspace
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkspaceClass
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* The slug of the workspace
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WorkspaceClass
|
|
28
|
+
*/
|
|
29
|
+
'slug': string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the tenant
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WorkspaceClass
|
|
34
|
+
*/
|
|
35
|
+
'tenantName': string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the workspace is the default workspace
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof WorkspaceClass
|
|
40
|
+
*/
|
|
41
|
+
'isDefault': boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the workspace is the disabled for the user
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof WorkspaceClass
|
|
46
|
+
*/
|
|
47
|
+
'isDisabled': boolean;
|
|
48
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AuthService
|
|
6
|
+
* The EMIL AuthService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/models/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ 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-response-class';
|
|
10
11
|
export * from './login-by-saml-request-dto';
|
|
11
12
|
export * from './login-class';
|
|
12
13
|
export * from './login-request-dto';
|
|
@@ -16,6 +17,9 @@ export * from './organization-class';
|
|
|
16
17
|
export * from './refresh-token-dto';
|
|
17
18
|
export * from './reset-password-request-dto';
|
|
18
19
|
export * from './role-class';
|
|
20
|
+
export * from './switch-workspace-request-without-refresh-token-dto';
|
|
21
|
+
export * from './switch-workspace-response-class';
|
|
19
22
|
export * from './user-class';
|
|
20
23
|
export * from './verify-org-invitation-request-dto';
|
|
21
24
|
export * from './verify-org-invitation-response-class';
|
|
25
|
+
export * from './workspace-class';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AuthService
|
|
5
|
+
* The EMIL AuthService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
16
|
+
import { WorkspaceClass } from './workspace-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListWorkspacesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListWorkspacesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of workspaces.
|
|
26
|
+
* @type {Array<WorkspaceClass>}
|
|
27
|
+
* @memberof ListWorkspacesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'workspaces': Array<WorkspaceClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AuthService
|
|
5
|
+
* The EMIL AuthService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SwitchWorkspaceRequestWithoutRefreshTokenDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SwitchWorkspaceRequestWithoutRefreshTokenDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SwitchWorkspaceRequestWithoutRefreshTokenDto
|
|
27
|
+
*/
|
|
28
|
+
'username': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SwitchWorkspaceRequestWithoutRefreshTokenDto
|
|
33
|
+
*/
|
|
34
|
+
'targetWorkspace': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AuthService
|
|
5
|
+
* The EMIL AuthService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SwitchWorkspaceResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface SwitchWorkspaceResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Access token for API authentication
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SwitchWorkspaceResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'accessToken': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/user-class.ts
CHANGED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AuthService
|
|
5
|
+
* The EMIL AuthService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface WorkspaceClass
|
|
21
|
+
*/
|
|
22
|
+
export interface WorkspaceClass {
|
|
23
|
+
/**
|
|
24
|
+
* The name of the workspace
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof WorkspaceClass
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* The slug of the workspace
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WorkspaceClass
|
|
33
|
+
*/
|
|
34
|
+
'slug': string;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the tenant
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof WorkspaceClass
|
|
39
|
+
*/
|
|
40
|
+
'tenantName': string;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the workspace is the default workspace
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof WorkspaceClass
|
|
45
|
+
*/
|
|
46
|
+
'isDefault': boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the workspace is the disabled for the user
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof WorkspaceClass
|
|
51
|
+
*/
|
|
52
|
+
'isDisabled': boolean;
|
|
53
|
+
}
|
|
54
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/auth-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/auth-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^0.27.2",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^
|
|
27
|
-
"typescript": "^
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
|
+
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL AuthService
|
|
3
|
-
* The EMIL AuthService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
-
import { Configuration } from '../configuration';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { InlineResponse200 } from '../models';
|
|
16
|
-
/**
|
|
17
|
-
* DefaultApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
-
/**
|
|
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
|
-
* @summary Health Check
|
|
24
|
-
* @param {*} [options] Override http request option.
|
|
25
|
-
* @throws {RequiredError}
|
|
26
|
-
*/
|
|
27
|
-
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* DefaultApi - functional programming interface
|
|
31
|
-
* @export
|
|
32
|
-
*/
|
|
33
|
-
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
34
|
-
/**
|
|
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
|
-
* @summary Health Check
|
|
37
|
-
* @param {*} [options] Override http request option.
|
|
38
|
-
* @throws {RequiredError}
|
|
39
|
-
*/
|
|
40
|
-
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* DefaultApi - factory interface
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
|
-
/**
|
|
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
|
-
* @summary Health Check
|
|
50
|
-
* @param {*} [options] Override http request option.
|
|
51
|
-
* @throws {RequiredError}
|
|
52
|
-
*/
|
|
53
|
-
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* DefaultApi - object-oriented interface
|
|
57
|
-
* @export
|
|
58
|
-
* @class DefaultApi
|
|
59
|
-
* @extends {BaseAPI}
|
|
60
|
-
*/
|
|
61
|
-
export declare class DefaultApi extends BaseAPI {
|
|
62
|
-
/**
|
|
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
|
-
* @summary Health Check
|
|
65
|
-
* @param {*} [options] Override http request option.
|
|
66
|
-
* @throws {RequiredError}
|
|
67
|
-
* @memberof DefaultApi
|
|
68
|
-
*/
|
|
69
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
|
|
70
|
-
}
|