@emilgroup/auth-sdk 1.20.1-beta.7 → 1.21.1-beta.21
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 +1 -1
- package/README.md +2 -2
- package/api/workspaces-api.ts +3 -3
- package/base.ts +9 -5
- package/dist/api/authservice-api.d.ts +12 -12
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/workspaces-api.d.ts +5 -5
- package/dist/base.d.ts +1 -1
- package/dist/base.js +6 -3
- package/dist/common.d.ts +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/{list-workspaces-repsonse-class.d.ts → list-workspaces-response-class.d.ts} +3 -3
- package/dist/models/workspace-class.d.ts +6 -0
- package/models/index.ts +1 -1
- package/models/{list-workspaces-repsonse-class.ts → list-workspaces-response-class.ts} +3 -3
- package/models/workspace-class.ts +6 -0
- package/package.json +2 -2
- /package/dist/models/{list-workspaces-repsonse-class.js → list-workspaces-response-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -21,7 +21,7 @@ models/get-saml-login-link-request-dto.ts
|
|
|
21
21
|
models/index.ts
|
|
22
22
|
models/inline-response200.ts
|
|
23
23
|
models/inline-response503.ts
|
|
24
|
-
models/list-workspaces-
|
|
24
|
+
models/list-workspaces-response-class.ts
|
|
25
25
|
models/login-by-saml-request-dto.ts
|
|
26
26
|
models/login-class.ts
|
|
27
27
|
models/login-request-dto.ts
|
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
|
+
npm install @emilgroup/auth-sdk@1.21.1-beta.21 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/auth-sdk@1.
|
|
24
|
+
yarn add @emilgroup/auth-sdk@1.21.1-beta.21
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
package/api/workspaces-api.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import {
|
|
24
|
+
import { ListWorkspacesResponseClass } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { SwitchWorkspaceRequestWithoutRefreshTokenDto } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
@@ -142,7 +142,7 @@ export const WorkspacesApiFp = function(configuration?: Configuration) {
|
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
async listWorkspaces(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
145
|
+
async listWorkspaces(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkspacesResponseClass>> {
|
|
146
146
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkspaces(authorization, options);
|
|
147
147
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
148
148
|
},
|
|
@@ -176,7 +176,7 @@ export const WorkspacesApiFactory = function (configuration?: Configuration, bas
|
|
|
176
176
|
* @param {*} [options] Override http request option.
|
|
177
177
|
* @throws {RequiredError}
|
|
178
178
|
*/
|
|
179
|
-
listWorkspaces(authorization?: string, options?: any): AxiosPromise<
|
|
179
|
+
listWorkspaces(authorization?: string, options?: any): AxiosPromise<ListWorkspacesResponseClass> {
|
|
180
180
|
return localVarFp.listWorkspaces(authorization, options).then((request) => request(axios, basePath));
|
|
181
181
|
},
|
|
182
182
|
/**
|
package/base.ts
CHANGED
|
@@ -37,6 +37,7 @@ export interface LoginClass {
|
|
|
37
37
|
permissions: string;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
|
|
40
41
|
export enum Environment {
|
|
41
42
|
Production = 'https://apiv2.emil.de',
|
|
42
43
|
Test = 'https://apiv2-test.emil.de',
|
|
@@ -87,9 +88,14 @@ export class BaseAPI {
|
|
|
87
88
|
this.loadTokenData();
|
|
88
89
|
|
|
89
90
|
if (configuration) {
|
|
91
|
+
const { accessToken } = this.tokenData;
|
|
90
92
|
this.configuration = configuration;
|
|
91
93
|
this.basePath = configuration.basePath || this.basePath;
|
|
92
|
-
|
|
94
|
+
|
|
95
|
+
// Use config token if provided, otherwise use tokenData token
|
|
96
|
+
const configToken = this.configuration.accessToken;
|
|
97
|
+
const storedToken = accessToken ? `Bearer ${accessToken}` : '';
|
|
98
|
+
this.configuration.accessToken = configToken || storedToken;
|
|
93
99
|
} else {
|
|
94
100
|
const { accessToken, username } = this.tokenData;
|
|
95
101
|
|
|
@@ -119,7 +125,7 @@ export class BaseAPI {
|
|
|
119
125
|
return this.tokenData.permissions.split(',');
|
|
120
126
|
}
|
|
121
127
|
|
|
122
|
-
async authorize(username: string, password: string): Promise<void> {
|
|
128
|
+
async authorize(username: string, password: string, targetWorkspace?: string): Promise<void> {
|
|
123
129
|
const options: AxiosRequestConfig = {
|
|
124
130
|
method: 'POST',
|
|
125
131
|
url: `${this.configuration.basePath}/authservice/v1/login`,
|
|
@@ -141,11 +147,9 @@ export class BaseAPI {
|
|
|
141
147
|
this.tokenData.accessToken = accessToken;
|
|
142
148
|
this.tokenData.permissions = permissions;
|
|
143
149
|
|
|
144
|
-
this.storeTokenData({
|
|
145
|
-
...this.tokenData
|
|
146
|
-
});
|
|
147
150
|
}
|
|
148
151
|
|
|
152
|
+
|
|
149
153
|
async refreshTokenInternal(): Promise<LoginClass> {
|
|
150
154
|
const { username } = this.configuration;
|
|
151
155
|
|
|
@@ -510,7 +510,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
510
510
|
* @throws {RequiredError}
|
|
511
511
|
* @memberof AuthserviceApi
|
|
512
512
|
*/
|
|
513
|
-
createOrgAndUser(requestParameters: AuthserviceApiCreateOrgAndUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrgAndUserResponseClass, any>>;
|
|
513
|
+
createOrgAndUser(requestParameters: AuthserviceApiCreateOrgAndUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrgAndUserResponseClass, any, {}>>;
|
|
514
514
|
/**
|
|
515
515
|
* Register a tenant user using the invite token sent to the tenant user\'s email address.
|
|
516
516
|
* @summary Register tenant user after invite
|
|
@@ -519,7 +519,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
* @memberof AuthserviceApi
|
|
521
521
|
*/
|
|
522
|
-
createUser(requestParameters: AuthserviceApiCreateUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateUserResponseClass, any>>;
|
|
522
|
+
createUser(requestParameters: AuthserviceApiCreateUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateUserResponseClass, any, {}>>;
|
|
523
523
|
/**
|
|
524
524
|
* Send a tenant user a reset-password token via email.
|
|
525
525
|
* @summary Forgot password by tenant
|
|
@@ -528,7 +528,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
528
528
|
* @throws {RequiredError}
|
|
529
529
|
* @memberof AuthserviceApi
|
|
530
530
|
*/
|
|
531
|
-
forgotPassword(requestParameters: AuthserviceApiForgotPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
531
|
+
forgotPassword(requestParameters: AuthserviceApiForgotPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
532
532
|
/**
|
|
533
533
|
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
534
534
|
* @summary Get SAML login link for tenant
|
|
@@ -537,7 +537,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
537
537
|
* @throws {RequiredError}
|
|
538
538
|
* @memberof AuthserviceApi
|
|
539
539
|
*/
|
|
540
|
-
getSamlLoginLink(requestParameters: AuthserviceApiGetSamlLoginLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
540
|
+
getSamlLoginLink(requestParameters: AuthserviceApiGetSamlLoginLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
541
541
|
/**
|
|
542
542
|
* Get new access token, refresh token after successful login.
|
|
543
543
|
* @summary Login by tenant
|
|
@@ -546,7 +546,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
546
546
|
* @throws {RequiredError}
|
|
547
547
|
* @memberof AuthserviceApi
|
|
548
548
|
*/
|
|
549
|
-
login(requestParameters: AuthserviceApiLoginRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginClass, any>>;
|
|
549
|
+
login(requestParameters: AuthserviceApiLoginRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginClass, any, {}>>;
|
|
550
550
|
/**
|
|
551
551
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
552
552
|
* @summary Login by SAML idp provider such as ADFS
|
|
@@ -555,7 +555,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
555
555
|
* @throws {RequiredError}
|
|
556
556
|
* @memberof AuthserviceApi
|
|
557
557
|
*/
|
|
558
|
-
loginBySaml(requestParameters: AuthserviceApiLoginBySamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginClass, any>>;
|
|
558
|
+
loginBySaml(requestParameters: AuthserviceApiLoginBySamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginClass, any, {}>>;
|
|
559
559
|
/**
|
|
560
560
|
* Sign tenant user out.
|
|
561
561
|
* @summary Logout tenant
|
|
@@ -564,7 +564,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
564
564
|
* @throws {RequiredError}
|
|
565
565
|
* @memberof AuthserviceApi
|
|
566
566
|
*/
|
|
567
|
-
logout(requestParameters: AuthserviceApiLogoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
567
|
+
logout(requestParameters: AuthserviceApiLogoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
568
568
|
/**
|
|
569
569
|
* Get new access token, new refresh token.
|
|
570
570
|
* @summary Refresh token by tenant
|
|
@@ -573,7 +573,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
573
573
|
* @throws {RequiredError}
|
|
574
574
|
* @memberof AuthserviceApi
|
|
575
575
|
*/
|
|
576
|
-
refreshToken(requestParameters: AuthserviceApiRefreshTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginClass, any>>;
|
|
576
|
+
refreshToken(requestParameters: AuthserviceApiRefreshTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginClass, any, {}>>;
|
|
577
577
|
/**
|
|
578
578
|
* Change tenant user\'s password using the token provided by the reset password endpoint.
|
|
579
579
|
* @summary Change password by tenant
|
|
@@ -582,7 +582,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
582
582
|
* @throws {RequiredError}
|
|
583
583
|
* @memberof AuthserviceApi
|
|
584
584
|
*/
|
|
585
|
-
resetPassword(requestParameters: AuthserviceApiResetPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
585
|
+
resetPassword(requestParameters: AuthserviceApiResetPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
586
586
|
/**
|
|
587
587
|
* Verify the invite sent to the tenant user via email.
|
|
588
588
|
* @summary Verify tenant user\'s invite token
|
|
@@ -591,7 +591,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
591
591
|
* @throws {RequiredError}
|
|
592
592
|
* @memberof AuthserviceApi
|
|
593
593
|
*/
|
|
594
|
-
verifyInvite(requestParameters: AuthserviceApiVerifyInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
594
|
+
verifyInvite(requestParameters: AuthserviceApiVerifyInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
595
595
|
/**
|
|
596
596
|
* Verifies token and returns necessary data for signing up as an organization.
|
|
597
597
|
* @summary Verify a organization\'s invitation token
|
|
@@ -600,7 +600,7 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
600
600
|
* @throws {RequiredError}
|
|
601
601
|
* @memberof AuthserviceApi
|
|
602
602
|
*/
|
|
603
|
-
verifyOrgInvitation(requestParameters: AuthserviceApiVerifyOrgInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyOrgInvitationResponseClass, any>>;
|
|
603
|
+
verifyOrgInvitation(requestParameters: AuthserviceApiVerifyOrgInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyOrgInvitationResponseClass, any, {}>>;
|
|
604
604
|
/**
|
|
605
605
|
* Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
|
|
606
606
|
* @summary Verify tenant reset password token
|
|
@@ -609,5 +609,5 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
609
609
|
* @throws {RequiredError}
|
|
610
610
|
* @memberof AuthserviceApi
|
|
611
611
|
*/
|
|
612
|
-
verifyResetPasswordToken(requestParameters: AuthserviceApiVerifyResetPasswordTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
612
|
+
verifyResetPasswordToken(requestParameters: AuthserviceApiVerifyResetPasswordTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
613
613
|
}
|
|
@@ -66,5 +66,5 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
* @memberof DefaultApi
|
|
68
68
|
*/
|
|
69
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
|
|
69
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
70
70
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import {
|
|
15
|
+
import { ListWorkspacesResponseClass } from '../models';
|
|
16
16
|
import { SwitchWorkspaceRequestWithoutRefreshTokenDto } from '../models';
|
|
17
17
|
import { SwitchWorkspaceResponseClass } from '../models';
|
|
18
18
|
/**
|
|
@@ -51,7 +51,7 @@ export declare const WorkspacesApiFp: (configuration?: Configuration) => {
|
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
*/
|
|
54
|
-
listWorkspaces(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
54
|
+
listWorkspaces(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkspacesResponseClass>>;
|
|
55
55
|
/**
|
|
56
56
|
* Switch to a different workspace and get new access and refresh tokens.
|
|
57
57
|
* @summary Switch workspace
|
|
@@ -75,7 +75,7 @@ export declare const WorkspacesApiFactory: (configuration?: Configuration, baseP
|
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
|
-
listWorkspaces(authorization?: string, options?: any): AxiosPromise<
|
|
78
|
+
listWorkspaces(authorization?: string, options?: any): AxiosPromise<ListWorkspacesResponseClass>;
|
|
79
79
|
/**
|
|
80
80
|
* Switch to a different workspace and get new access and refresh tokens.
|
|
81
81
|
* @summary Switch workspace
|
|
@@ -140,7 +140,7 @@ export declare class WorkspacesApi extends BaseAPI {
|
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
* @memberof WorkspacesApi
|
|
142
142
|
*/
|
|
143
|
-
listWorkspaces(requestParameters?: WorkspacesApiListWorkspacesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
143
|
+
listWorkspaces(requestParameters?: WorkspacesApiListWorkspacesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListWorkspacesResponseClass, any, {}>>;
|
|
144
144
|
/**
|
|
145
145
|
* Switch to a different workspace and get new access and refresh tokens.
|
|
146
146
|
* @summary Switch workspace
|
|
@@ -149,5 +149,5 @@ export declare class WorkspacesApi extends BaseAPI {
|
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
* @memberof WorkspacesApi
|
|
151
151
|
*/
|
|
152
|
-
switchWorkspace(requestParameters: WorkspacesApiSwitchWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SwitchWorkspaceResponseClass, any>>;
|
|
152
|
+
switchWorkspace(requestParameters: WorkspacesApiSwitchWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SwitchWorkspaceResponseClass, any, {}>>;
|
|
153
153
|
}
|
package/dist/base.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export declare class BaseAPI {
|
|
|
57
57
|
selectEnvironment(env: Environment): void;
|
|
58
58
|
selectBasePath(path: string): void;
|
|
59
59
|
getPermissions(): Array<string>;
|
|
60
|
-
authorize(username: string, password: string): Promise<void>;
|
|
60
|
+
authorize(username: string, password: string, targetWorkspace?: string): Promise<void>;
|
|
61
61
|
refreshTokenInternal(): Promise<LoginClass>;
|
|
62
62
|
private storeTokenData;
|
|
63
63
|
loadTokenData(): void;
|
package/dist/base.js
CHANGED
|
@@ -124,9 +124,13 @@ var BaseAPI = /** @class */ (function () {
|
|
|
124
124
|
this.axios = axios;
|
|
125
125
|
this.loadTokenData();
|
|
126
126
|
if (configuration) {
|
|
127
|
+
var accessToken = this.tokenData.accessToken;
|
|
127
128
|
this.configuration = configuration;
|
|
128
129
|
this.basePath = configuration.basePath || this.basePath;
|
|
129
|
-
|
|
130
|
+
// Use config token if provided, otherwise use tokenData token
|
|
131
|
+
var configToken = this.configuration.accessToken;
|
|
132
|
+
var storedToken = accessToken ? "Bearer ".concat(accessToken) : '';
|
|
133
|
+
this.configuration.accessToken = configToken || storedToken;
|
|
130
134
|
}
|
|
131
135
|
else {
|
|
132
136
|
var _a = this.tokenData, accessToken = _a.accessToken, username = _a.username;
|
|
@@ -151,7 +155,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
151
155
|
}
|
|
152
156
|
return this.tokenData.permissions.split(',');
|
|
153
157
|
};
|
|
154
|
-
BaseAPI.prototype.authorize = function (username, password) {
|
|
158
|
+
BaseAPI.prototype.authorize = function (username, password, targetWorkspace) {
|
|
155
159
|
return __awaiter(this, void 0, void 0, function () {
|
|
156
160
|
var options, response, _a, accessToken, permissions;
|
|
157
161
|
return __generator(this, function (_b) {
|
|
@@ -176,7 +180,6 @@ var BaseAPI = /** @class */ (function () {
|
|
|
176
180
|
this.tokenData.username = username;
|
|
177
181
|
this.tokenData.accessToken = accessToken;
|
|
178
182
|
this.tokenData.permissions = permissions;
|
|
179
|
-
this.storeTokenData(__assign({}, this.tokenData));
|
|
180
183
|
return [2 /*return*/];
|
|
181
184
|
}
|
|
182
185
|
});
|
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, any>>(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/models/index.d.ts
CHANGED
|
@@ -7,7 +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-
|
|
10
|
+
export * from './list-workspaces-response-class';
|
|
11
11
|
export * from './login-by-saml-request-dto';
|
|
12
12
|
export * from './login-class';
|
|
13
13
|
export * from './login-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -23,7 +23,7 @@ __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-
|
|
26
|
+
__exportStar(require("./list-workspaces-response-class"), exports);
|
|
27
27
|
__exportStar(require("./login-by-saml-request-dto"), exports);
|
|
28
28
|
__exportStar(require("./login-class"), exports);
|
|
29
29
|
__exportStar(require("./login-request-dto"), exports);
|
package/dist/models/{list-workspaces-repsonse-class.d.ts → list-workspaces-response-class.d.ts}
RENAMED
|
@@ -13,13 +13,13 @@ import { WorkspaceClass } from './workspace-class';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface ListWorkspacesResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface ListWorkspacesResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* The list of workspaces.
|
|
21
21
|
* @type {Array<WorkspaceClass>}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof ListWorkspacesResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'workspaces': Array<WorkspaceClass>;
|
|
25
25
|
}
|
package/models/index.ts
CHANGED
|
@@ -7,7 +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-
|
|
10
|
+
export * from './list-workspaces-response-class';
|
|
11
11
|
export * from './login-by-saml-request-dto';
|
|
12
12
|
export * from './login-class';
|
|
13
13
|
export * from './login-request-dto';
|
|
@@ -18,13 +18,13 @@ import { WorkspaceClass } from './workspace-class';
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface ListWorkspacesResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface ListWorkspacesResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* The list of workspaces.
|
|
26
26
|
* @type {Array<WorkspaceClass>}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof ListWorkspacesResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'workspaces': Array<WorkspaceClass>;
|
|
30
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/auth-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.1-beta.21",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/auth-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"typescript": "^4.0"
|
/package/dist/models/{list-workspaces-repsonse-class.js → list-workspaces-response-class.js}
RENAMED
|
File without changes
|