@emilgroup/auth-sdk-node 1.0.0-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 +28 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +68 -0
- package/api/authservice-api.ts +1036 -0
- package/api.ts +31 -0
- package/base.ts +284 -0
- package/common.ts +199 -0
- package/configuration.ts +109 -0
- package/dist/api/authservice-api.d.ts +566 -0
- package/dist/api/authservice-api.js +991 -0
- package/dist/api.d.ts +12 -0
- package/dist/api.js +30 -0
- package/dist/base.d.ts +77 -0
- package/dist/base.js +393 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -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 +78 -0
- package/dist/models/create-org-and-user-request-dto.js +15 -0
- package/dist/models/create-org-and-user-response-class.d.ts +31 -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/forgot-password-request-dto.d.ts +24 -0
- package/dist/models/forgot-password-request-dto.js +15 -0
- package/dist/models/get-samllogin-link-request-dto.d.ts +24 -0
- package/dist/models/get-samllogin-link-request-dto.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +30 -0
- package/dist/models/login-by-samlrequest-dto.d.ts +30 -0
- package/dist/models/login-by-samlrequest-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/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/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-org-and-user-request-dto.ts +84 -0
- package/models/create-org-and-user-response-class.ts +37 -0
- package/models/create-user-request-dto.ts +60 -0
- package/models/create-user-response-class.ts +31 -0
- package/models/forgot-password-request-dto.ts +30 -0
- package/models/get-samllogin-link-request-dto.ts +30 -0
- package/models/index.ts +14 -0
- package/models/login-by-samlrequest-dto.ts +36 -0
- package/models/login-class.ts +36 -0
- package/models/login-request-dto.ts +36 -0
- package/models/logout-request-dto.ts +30 -0
- package/models/refresh-token-dto.ts +30 -0
- package/models/reset-password-request-dto.ts +42 -0
- package/models/role-class.ts +60 -0
- package/models/user-class.ts +91 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
package/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
*
|
|
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
|
+
export { Environment, BaseAPI } from "./base";
|
|
17
|
+
export * from "./api";
|
|
18
|
+
export * from "./configuration";
|
|
19
|
+
export * from "./models";
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
*
|
|
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 CreateOrgAndUserRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateOrgAndUserRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'address': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'city': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'country': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'customFields'?: object;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'firstName': string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'invitationToken': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'isEulaAccepted': boolean;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'lastName': string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'password': string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateOrgAndUserRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'zipCode': string;
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
*
|
|
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 { UserClass } from './user-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateOrgAndUserResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateOrgAndUserResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Organization
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof CreateOrgAndUserResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'organization': object;
|
|
30
|
+
/**
|
|
31
|
+
* User
|
|
32
|
+
* @type {UserClass}
|
|
33
|
+
* @memberof CreateOrgAndUserResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'user': UserClass;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
*
|
|
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 CreateUserRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateUserRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* User\'s email address.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateUserRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
/**
|
|
30
|
+
* User\'s invite token.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateUserRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'inviteToken': string;
|
|
35
|
+
/**
|
|
36
|
+
* User\'s first name.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateUserRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'firstName': string;
|
|
41
|
+
/**
|
|
42
|
+
* User\'s last name.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateUserRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'lastName': string;
|
|
47
|
+
/**
|
|
48
|
+
* User\'s password.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateUserRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'password': string;
|
|
53
|
+
/**
|
|
54
|
+
* True if user accepts end user license agreement.
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof CreateUserRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'isEulaAccepted': boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -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
|
+
*
|
|
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 { UserClass } from './user-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateUserResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateUserResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* user
|
|
26
|
+
* @type {UserClass}
|
|
27
|
+
* @memberof CreateUserResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'user': UserClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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
|
+
*
|
|
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 ForgotPasswordRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ForgotPasswordRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Tenant user\'s email address
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ForgotPasswordRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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
|
+
*
|
|
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 GetSAMLLoginLinkRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSAMLLoginLinkRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetSAMLLoginLinkRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'tenantSlug': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/index.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './create-org-and-user-request-dto';
|
|
2
|
+
export * from './create-org-and-user-response-class';
|
|
3
|
+
export * from './create-user-request-dto';
|
|
4
|
+
export * from './create-user-response-class';
|
|
5
|
+
export * from './forgot-password-request-dto';
|
|
6
|
+
export * from './get-samllogin-link-request-dto';
|
|
7
|
+
export * from './login-by-samlrequest-dto';
|
|
8
|
+
export * from './login-class';
|
|
9
|
+
export * from './login-request-dto';
|
|
10
|
+
export * from './logout-request-dto';
|
|
11
|
+
export * from './refresh-token-dto';
|
|
12
|
+
export * from './reset-password-request-dto';
|
|
13
|
+
export * from './role-class';
|
|
14
|
+
export * from './user-class';
|
|
@@ -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
|
+
*
|
|
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 LoginBySAMLRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface LoginBySAMLRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* code for grant type authorization code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LoginBySAMLRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Tenant slug
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LoginBySAMLRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'tenantSlug': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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
|
+
*
|
|
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 LoginClass
|
|
21
|
+
*/
|
|
22
|
+
export interface LoginClass {
|
|
23
|
+
/**
|
|
24
|
+
* Access token, used to identify user requests
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LoginClass
|
|
27
|
+
*/
|
|
28
|
+
'accessToken': string;
|
|
29
|
+
/**
|
|
30
|
+
* States all user\'s permission
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LoginClass
|
|
33
|
+
*/
|
|
34
|
+
'permissions': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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
|
+
*
|
|
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 LoginRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface LoginRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Tenant user\'s username. Usually an email.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LoginRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'username': string;
|
|
29
|
+
/**
|
|
30
|
+
* Tenant user\'s password.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LoginRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'password': 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
|
+
*
|
|
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 LogoutRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface LogoutRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Tenant user\'s username. Usually an email.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LogoutRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'username': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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
|
+
*
|
|
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 RefreshTokenDto
|
|
21
|
+
*/
|
|
22
|
+
export interface RefreshTokenDto {
|
|
23
|
+
/**
|
|
24
|
+
* Tenant user\'s username. Usually an email.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RefreshTokenDto
|
|
27
|
+
*/
|
|
28
|
+
'username': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*
|
|
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 ResetPasswordRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ResetPasswordRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Tenant user\'s email address
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ResetPasswordRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
/**
|
|
30
|
+
* Tenant user\'s reset token. Reset token can be found in the email sent after \'forgot-password\' endpoint was called.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ResetPasswordRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'resetToken': string;
|
|
35
|
+
/**
|
|
36
|
+
* Tenant user\'s new password
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ResetPasswordRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'password': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
*
|
|
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 RoleClass
|
|
21
|
+
*/
|
|
22
|
+
export interface RoleClass {
|
|
23
|
+
/**
|
|
24
|
+
* unique role code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RoleClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* role id
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof RoleClass
|
|
33
|
+
*/
|
|
34
|
+
'id': number;
|
|
35
|
+
/**
|
|
36
|
+
* short description of the role
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RoleClass
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
/**
|
|
42
|
+
* role label
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof RoleClass
|
|
45
|
+
*/
|
|
46
|
+
'label': string;
|
|
47
|
+
/**
|
|
48
|
+
* Date created
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof RoleClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Date updated
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof RoleClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
*
|
|
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 { RoleClass } from './role-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UserClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UserClass {
|
|
24
|
+
/**
|
|
25
|
+
* user id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UserClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* unique user code
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* email address of the user
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UserClass
|
|
40
|
+
*/
|
|
41
|
+
'email': string;
|
|
42
|
+
/**
|
|
43
|
+
* first name of the user
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UserClass
|
|
46
|
+
*/
|
|
47
|
+
'firstName': string;
|
|
48
|
+
/**
|
|
49
|
+
* first name of the user
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UserClass
|
|
52
|
+
*/
|
|
53
|
+
'lastName': string;
|
|
54
|
+
/**
|
|
55
|
+
* status of the of the user
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserClass
|
|
58
|
+
*/
|
|
59
|
+
'status': string;
|
|
60
|
+
/**
|
|
61
|
+
* cognito sub of the user
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UserClass
|
|
64
|
+
*/
|
|
65
|
+
'sub': string;
|
|
66
|
+
/**
|
|
67
|
+
* tenant id
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof UserClass
|
|
70
|
+
*/
|
|
71
|
+
'tenantId': number;
|
|
72
|
+
/**
|
|
73
|
+
* permissions associated with the user
|
|
74
|
+
* @type {Array<RoleClass>}
|
|
75
|
+
* @memberof UserClass
|
|
76
|
+
*/
|
|
77
|
+
'roles': Array<RoleClass>;
|
|
78
|
+
/**
|
|
79
|
+
* Date created
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof UserClass
|
|
82
|
+
*/
|
|
83
|
+
'createdAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Date updated
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof UserClass
|
|
88
|
+
*/
|
|
89
|
+
'updatedAt': string;
|
|
90
|
+
}
|
|
91
|
+
|