@emilgroup/auth-sdk 1.5.0 → 1.10.1-beta.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 +2 -2
- package/README.md +2 -2
- package/api/authservice-api.ts +29 -29
- package/api/default-api.ts +8 -4
- package/base.ts +1 -0
- package/dist/api/authservice-api.d.ts +613 -0
- package/dist/api/authservice-api.js +1065 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api.d.ts +13 -0
- package/dist/api.js +31 -0
- package/dist/base.d.ts +74 -0
- package/dist/base.js +299 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-org-and-user-request-dto.d.ts +84 -0
- package/dist/models/create-org-and-user-request-dto.js +15 -0
- package/dist/models/create-org-and-user-response-class.d.ts +32 -0
- package/dist/models/create-org-and-user-response-class.js +15 -0
- package/dist/models/create-user-request-dto.d.ts +54 -0
- package/dist/models/create-user-request-dto.js +15 -0
- package/dist/models/create-user-response-class.d.ts +25 -0
- package/dist/models/create-user-response-class.js +15 -0
- package/dist/models/custom-schema-class.d.ts +66 -0
- package/dist/models/custom-schema-class.js +15 -0
- package/dist/models/forgot-password-request-dto.d.ts +24 -0
- package/dist/models/forgot-password-request-dto.js +15 -0
- package/dist/models/get-saml-login-link-request-dto.d.ts +24 -0
- package/dist/models/get-saml-login-link-request-dto.js +15 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +37 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/login-by-saml-request-dto.d.ts +30 -0
- package/dist/models/login-by-saml-request-dto.js +15 -0
- package/dist/models/login-class.d.ts +30 -0
- package/dist/models/login-class.js +15 -0
- package/dist/models/login-request-dto.d.ts +30 -0
- package/dist/models/login-request-dto.js +15 -0
- package/dist/models/logout-request-dto.d.ts +24 -0
- package/dist/models/logout-request-dto.js +15 -0
- package/dist/models/org-invitation-class.d.ts +109 -0
- package/dist/models/org-invitation-class.js +15 -0
- package/dist/models/organization-class.d.ts +114 -0
- package/dist/models/organization-class.js +15 -0
- package/dist/models/refresh-token-dto.d.ts +24 -0
- package/dist/models/refresh-token-dto.js +15 -0
- package/dist/models/reset-password-request-dto.d.ts +36 -0
- package/dist/models/reset-password-request-dto.js +15 -0
- package/dist/models/role-class.d.ts +54 -0
- package/dist/models/role-class.js +15 -0
- package/dist/models/user-class.d.ts +85 -0
- package/dist/models/user-class.js +15 -0
- package/dist/models/verify-org-invitation-request-dto.d.ts +24 -0
- package/dist/models/verify-org-invitation-request-dto.js +15 -0
- package/dist/models/verify-org-invitation-response-class.d.ts +32 -0
- package/dist/models/verify-org-invitation-response-class.js +15 -0
- package/models/{get-samllogin-link-request-dto.ts → get-saml-login-link-request-dto.ts} +3 -3
- package/models/index.ts +2 -2
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/{login-by-samlrequest-dto.ts → login-by-saml-request-dto.ts} +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
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 RoleClass
|
|
16
|
+
*/
|
|
17
|
+
export interface RoleClass {
|
|
18
|
+
/**
|
|
19
|
+
* unique role code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RoleClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* role id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof RoleClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* short description of the role
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RoleClass
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
/**
|
|
37
|
+
* role label
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RoleClass
|
|
40
|
+
*/
|
|
41
|
+
'label': string;
|
|
42
|
+
/**
|
|
43
|
+
* Date created
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RoleClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Date updated
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RoleClass
|
|
52
|
+
*/
|
|
53
|
+
'updatedAt': string;
|
|
54
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { RoleClass } from './role-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UserClass {
|
|
19
|
+
/**
|
|
20
|
+
* user id
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof UserClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* unique user code
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UserClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* email address of the user
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserClass
|
|
35
|
+
*/
|
|
36
|
+
'email': string;
|
|
37
|
+
/**
|
|
38
|
+
* first name of the user
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof UserClass
|
|
41
|
+
*/
|
|
42
|
+
'firstName': string;
|
|
43
|
+
/**
|
|
44
|
+
* first name of the user
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserClass
|
|
47
|
+
*/
|
|
48
|
+
'lastName': string;
|
|
49
|
+
/**
|
|
50
|
+
* status of the of the user
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UserClass
|
|
53
|
+
*/
|
|
54
|
+
'status': string;
|
|
55
|
+
/**
|
|
56
|
+
* cognito sub of the user
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof UserClass
|
|
59
|
+
*/
|
|
60
|
+
'sub': string;
|
|
61
|
+
/**
|
|
62
|
+
* tenant id
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof UserClass
|
|
65
|
+
*/
|
|
66
|
+
'tenantId': number;
|
|
67
|
+
/**
|
|
68
|
+
* permissions associated with the user
|
|
69
|
+
* @type {Array<RoleClass>}
|
|
70
|
+
* @memberof UserClass
|
|
71
|
+
*/
|
|
72
|
+
'roles': Array<RoleClass>;
|
|
73
|
+
/**
|
|
74
|
+
* Date created
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof UserClass
|
|
77
|
+
*/
|
|
78
|
+
'createdAt': string;
|
|
79
|
+
/**
|
|
80
|
+
* Date updated
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof UserClass
|
|
83
|
+
*/
|
|
84
|
+
'updatedAt': string;
|
|
85
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,24 @@
|
|
|
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 VerifyOrgInvitationRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyOrgInvitationRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyOrgInvitationRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'invitationToken': string;
|
|
24
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { CustomSchemaClass } from './custom-schema-class';
|
|
13
|
+
import { OrgInvitationClass } from './org-invitation-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface VerifyOrgInvitationResponseClass
|
|
18
|
+
*/
|
|
19
|
+
export interface VerifyOrgInvitationResponseClass {
|
|
20
|
+
/**
|
|
21
|
+
* Invitation object identified by the token.
|
|
22
|
+
* @type {OrgInvitationClass}
|
|
23
|
+
* @memberof VerifyOrgInvitationResponseClass
|
|
24
|
+
*/
|
|
25
|
+
'invitation': OrgInvitationClass;
|
|
26
|
+
/**
|
|
27
|
+
* Custom schema associated for the invitation process
|
|
28
|
+
* @type {CustomSchemaClass}
|
|
29
|
+
* @memberof VerifyOrgInvitationResponseClass
|
|
30
|
+
*/
|
|
31
|
+
'customSchema': CustomSchemaClass;
|
|
32
|
+
}
|
|
@@ -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 });
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface GetSamlLoginLinkRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface GetSamlLoginLinkRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof GetSamlLoginLinkRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'tenantSlug': string;
|
|
29
29
|
}
|
package/models/index.ts
CHANGED
|
@@ -4,10 +4,10 @@ export * from './create-user-request-dto';
|
|
|
4
4
|
export * from './create-user-response-class';
|
|
5
5
|
export * from './custom-schema-class';
|
|
6
6
|
export * from './forgot-password-request-dto';
|
|
7
|
-
export * from './get-
|
|
7
|
+
export * from './get-saml-login-link-request-dto';
|
|
8
8
|
export * from './inline-response200';
|
|
9
9
|
export * from './inline-response503';
|
|
10
|
-
export * from './login-by-
|
|
10
|
+
export * from './login-by-saml-request-dto';
|
|
11
11
|
export * from './login-class';
|
|
12
12
|
export * from './login-request-dto';
|
|
13
13
|
export * from './logout-request-dto';
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse200
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse200
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse200
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse503
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse503
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse503
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface LoginBySamlRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface LoginBySamlRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* code for grant type authorization code
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof LoginBySamlRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
29
|
/**
|
|
30
30
|
* Tenant slug
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof LoginBySamlRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'tenantSlug': string;
|
|
35
35
|
}
|