@emilgroup/auth-sdk-node 1.1.0 → 1.3.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.
Files changed (61) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/api/default-api.ts +124 -0
  4. package/api.ts +2 -0
  5. package/base.ts +1 -0
  6. package/models/index.ts +2 -0
  7. package/models/inline-response200.ts +48 -0
  8. package/models/inline-response503.ts +48 -0
  9. package/package.json +1 -1
  10. package/dist/api/authservice-api.d.ts +0 -613
  11. package/dist/api/authservice-api.js +0 -1069
  12. package/dist/api.d.ts +0 -12
  13. package/dist/api.js +0 -30
  14. package/dist/base.d.ts +0 -77
  15. package/dist/base.js +0 -393
  16. package/dist/common.d.ts +0 -92
  17. package/dist/common.js +0 -277
  18. package/dist/configuration.d.ts +0 -90
  19. package/dist/configuration.js +0 -44
  20. package/dist/index.d.ts +0 -15
  21. package/dist/index.js +0 -36
  22. package/dist/models/create-org-and-user-request-dto.d.ts +0 -84
  23. package/dist/models/create-org-and-user-request-dto.js +0 -15
  24. package/dist/models/create-org-and-user-response-class.d.ts +0 -32
  25. package/dist/models/create-org-and-user-response-class.js +0 -15
  26. package/dist/models/create-user-request-dto.d.ts +0 -54
  27. package/dist/models/create-user-request-dto.js +0 -15
  28. package/dist/models/create-user-response-class.d.ts +0 -25
  29. package/dist/models/create-user-response-class.js +0 -15
  30. package/dist/models/custom-schema-class.d.ts +0 -66
  31. package/dist/models/custom-schema-class.js +0 -15
  32. package/dist/models/forgot-password-request-dto.d.ts +0 -24
  33. package/dist/models/forgot-password-request-dto.js +0 -15
  34. package/dist/models/get-samllogin-link-request-dto.d.ts +0 -24
  35. package/dist/models/get-samllogin-link-request-dto.js +0 -15
  36. package/dist/models/index.d.ts +0 -19
  37. package/dist/models/index.js +0 -35
  38. package/dist/models/login-by-samlrequest-dto.d.ts +0 -30
  39. package/dist/models/login-by-samlrequest-dto.js +0 -15
  40. package/dist/models/login-class.d.ts +0 -30
  41. package/dist/models/login-class.js +0 -15
  42. package/dist/models/login-request-dto.d.ts +0 -30
  43. package/dist/models/login-request-dto.js +0 -15
  44. package/dist/models/logout-request-dto.d.ts +0 -24
  45. package/dist/models/logout-request-dto.js +0 -15
  46. package/dist/models/org-invitation-class.d.ts +0 -109
  47. package/dist/models/org-invitation-class.js +0 -15
  48. package/dist/models/organization-class.d.ts +0 -114
  49. package/dist/models/organization-class.js +0 -15
  50. package/dist/models/refresh-token-dto.d.ts +0 -24
  51. package/dist/models/refresh-token-dto.js +0 -15
  52. package/dist/models/reset-password-request-dto.d.ts +0 -36
  53. package/dist/models/reset-password-request-dto.js +0 -15
  54. package/dist/models/role-class.d.ts +0 -54
  55. package/dist/models/role-class.js +0 -15
  56. package/dist/models/user-class.d.ts +0 -85
  57. package/dist/models/user-class.js +0 -15
  58. package/dist/models/verify-org-invitation-request-dto.d.ts +0 -24
  59. package/dist/models/verify-org-invitation-request-dto.js +0 -15
  60. package/dist/models/verify-org-invitation-response-class.d.ts +0 -32
  61. package/dist/models/verify-org-invitation-response-class.js +0 -15
@@ -1,15 +0,0 @@
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 });
@@ -1,24 +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
- /**
13
- *
14
- * @export
15
- * @interface RefreshTokenDto
16
- */
17
- export interface RefreshTokenDto {
18
- /**
19
- * Tenant user\'s username. Usually an email.
20
- * @type {string}
21
- * @memberof RefreshTokenDto
22
- */
23
- 'username': string;
24
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,36 +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
- /**
13
- *
14
- * @export
15
- * @interface ResetPasswordRequestDto
16
- */
17
- export interface ResetPasswordRequestDto {
18
- /**
19
- * Tenant user\'s email address
20
- * @type {string}
21
- * @memberof ResetPasswordRequestDto
22
- */
23
- 'email': string;
24
- /**
25
- * Tenant user\'s reset token. Reset token can be found in the email sent after \'forgot-password\' endpoint was called.
26
- * @type {string}
27
- * @memberof ResetPasswordRequestDto
28
- */
29
- 'resetToken': string;
30
- /**
31
- * Tenant user\'s new password
32
- * @type {string}
33
- * @memberof ResetPasswordRequestDto
34
- */
35
- 'password': string;
36
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,54 +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
- /**
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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,85 +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 { 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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,24 +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
- /**
13
- *
14
- * @export
15
- * @interface VerifyOrgInvitationRequestDto
16
- */
17
- export interface VerifyOrgInvitationRequestDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof VerifyOrgInvitationRequestDto
22
- */
23
- 'invitationToken': string;
24
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,32 +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 { 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
- }
@@ -1,15 +0,0 @@
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 });