@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.
Files changed (69) hide show
  1. package/.openapi-generator/FILES +2 -2
  2. package/README.md +2 -2
  3. package/api/authservice-api.ts +29 -29
  4. package/api/default-api.ts +8 -4
  5. package/base.ts +1 -0
  6. package/dist/api/authservice-api.d.ts +613 -0
  7. package/dist/api/authservice-api.js +1065 -0
  8. package/dist/api/default-api.d.ts +70 -0
  9. package/dist/api/default-api.js +200 -0
  10. package/dist/api.d.ts +13 -0
  11. package/dist/api.js +31 -0
  12. package/dist/base.d.ts +74 -0
  13. package/dist/base.js +299 -0
  14. package/dist/common.d.ts +91 -0
  15. package/dist/common.js +276 -0
  16. package/dist/configuration.d.ts +83 -0
  17. package/dist/configuration.js +44 -0
  18. package/dist/index.d.ts +15 -0
  19. package/dist/index.js +36 -0
  20. package/dist/models/create-org-and-user-request-dto.d.ts +84 -0
  21. package/dist/models/create-org-and-user-request-dto.js +15 -0
  22. package/dist/models/create-org-and-user-response-class.d.ts +32 -0
  23. package/dist/models/create-org-and-user-response-class.js +15 -0
  24. package/dist/models/create-user-request-dto.d.ts +54 -0
  25. package/dist/models/create-user-request-dto.js +15 -0
  26. package/dist/models/create-user-response-class.d.ts +25 -0
  27. package/dist/models/create-user-response-class.js +15 -0
  28. package/dist/models/custom-schema-class.d.ts +66 -0
  29. package/dist/models/custom-schema-class.js +15 -0
  30. package/dist/models/forgot-password-request-dto.d.ts +24 -0
  31. package/dist/models/forgot-password-request-dto.js +15 -0
  32. package/dist/models/get-saml-login-link-request-dto.d.ts +24 -0
  33. package/dist/models/get-saml-login-link-request-dto.js +15 -0
  34. package/dist/models/index.d.ts +21 -0
  35. package/dist/models/index.js +37 -0
  36. package/dist/models/inline-response200.d.ts +54 -0
  37. package/dist/models/inline-response200.js +15 -0
  38. package/dist/models/inline-response503.d.ts +54 -0
  39. package/dist/models/inline-response503.js +15 -0
  40. package/dist/models/login-by-saml-request-dto.d.ts +30 -0
  41. package/dist/models/login-by-saml-request-dto.js +15 -0
  42. package/dist/models/login-class.d.ts +30 -0
  43. package/dist/models/login-class.js +15 -0
  44. package/dist/models/login-request-dto.d.ts +30 -0
  45. package/dist/models/login-request-dto.js +15 -0
  46. package/dist/models/logout-request-dto.d.ts +24 -0
  47. package/dist/models/logout-request-dto.js +15 -0
  48. package/dist/models/org-invitation-class.d.ts +109 -0
  49. package/dist/models/org-invitation-class.js +15 -0
  50. package/dist/models/organization-class.d.ts +114 -0
  51. package/dist/models/organization-class.js +15 -0
  52. package/dist/models/refresh-token-dto.d.ts +24 -0
  53. package/dist/models/refresh-token-dto.js +15 -0
  54. package/dist/models/reset-password-request-dto.d.ts +36 -0
  55. package/dist/models/reset-password-request-dto.js +15 -0
  56. package/dist/models/role-class.d.ts +54 -0
  57. package/dist/models/role-class.js +15 -0
  58. package/dist/models/user-class.d.ts +85 -0
  59. package/dist/models/user-class.js +15 -0
  60. package/dist/models/verify-org-invitation-request-dto.d.ts +24 -0
  61. package/dist/models/verify-org-invitation-request-dto.js +15 -0
  62. package/dist/models/verify-org-invitation-response-class.d.ts +32 -0
  63. package/dist/models/verify-org-invitation-response-class.js +15 -0
  64. package/models/{get-samllogin-link-request-dto.ts → get-saml-login-link-request-dto.ts} +3 -3
  65. package/models/index.ts +2 -2
  66. package/models/inline-response200.ts +6 -6
  67. package/models/inline-response503.ts +6 -6
  68. package/models/{login-by-samlrequest-dto.ts → login-by-saml-request-dto.ts} +4 -4
  69. 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 GetSAMLLoginLinkRequestDto
20
+ * @interface GetSamlLoginLinkRequestDto
21
21
  */
22
- export interface GetSAMLLoginLinkRequestDto {
22
+ export interface GetSamlLoginLinkRequestDto {
23
23
  /**
24
24
  *
25
25
  * @type {string}
26
- * @memberof GetSAMLLoginLinkRequestDto
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-samllogin-link-request-dto';
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-samlrequest-dto';
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]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse200
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse200
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse200
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: 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]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse503
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse503
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse503
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: 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 LoginBySAMLRequestDto
20
+ * @interface LoginBySamlRequestDto
21
21
  */
22
- export interface LoginBySAMLRequestDto {
22
+ export interface LoginBySamlRequestDto {
23
23
  /**
24
24
  * code for grant type authorization code
25
25
  * @type {string}
26
- * @memberof LoginBySAMLRequestDto
26
+ * @memberof LoginBySamlRequestDto
27
27
  */
28
28
  'code': string;
29
29
  /**
30
30
  * Tenant slug
31
31
  * @type {string}
32
- * @memberof LoginBySAMLRequestDto
32
+ * @memberof LoginBySamlRequestDto
33
33
  */
34
34
  'tenantSlug': string;
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/auth-sdk",
3
- "version": "1.5.0",
3
+ "version": "1.10.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/auth-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [