@emilgroup/auth-sdk-node 1.17.2-beta.1 → 1.18.1-beta.19

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 (36) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/default-api.ts +4 -4
  4. package/api/workspaces-api.ts +273 -0
  5. package/api.ts +2 -0
  6. package/base.ts +5 -3
  7. package/dist/api/authservice-api.d.ts +12 -12
  8. package/dist/api/authservice-api.js +38 -95
  9. package/dist/api/default-api.d.ts +5 -5
  10. package/dist/api/default-api.js +9 -22
  11. package/dist/api/workspaces-api.d.ts +153 -0
  12. package/dist/api/workspaces-api.js +321 -0
  13. package/dist/api.d.ts +1 -0
  14. package/dist/api.js +1 -0
  15. package/dist/base.d.ts +2 -2
  16. package/dist/base.js +17 -27
  17. package/dist/common.d.ts +1 -1
  18. package/dist/common.js +2 -2
  19. package/dist/models/index.d.ts +4 -0
  20. package/dist/models/index.js +4 -0
  21. package/dist/models/list-workspaces-response-class.d.ts +25 -0
  22. package/dist/models/list-workspaces-response-class.js +15 -0
  23. package/dist/models/switch-workspace-request-without-refresh-token-dto.d.ts +30 -0
  24. package/dist/models/switch-workspace-request-without-refresh-token-dto.js +15 -0
  25. package/dist/models/switch-workspace-response-class.d.ts +24 -0
  26. package/dist/models/switch-workspace-response-class.js +15 -0
  27. package/dist/models/user-class.d.ts +6 -0
  28. package/dist/models/workspace-class.d.ts +48 -0
  29. package/dist/models/workspace-class.js +15 -0
  30. package/models/index.ts +4 -0
  31. package/models/list-workspaces-response-class.ts +31 -0
  32. package/models/switch-workspace-request-without-refresh-token-dto.ts +36 -0
  33. package/models/switch-workspace-response-class.ts +30 -0
  34. package/models/user-class.ts +6 -0
  35. package/models/workspace-class.ts +54 -0
  36. package/package.json +4 -4
@@ -0,0 +1,48 @@
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 WorkspaceClass
16
+ */
17
+ export interface WorkspaceClass {
18
+ /**
19
+ * The name of the workspace
20
+ * @type {string}
21
+ * @memberof WorkspaceClass
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * The slug of the workspace
26
+ * @type {string}
27
+ * @memberof WorkspaceClass
28
+ */
29
+ 'slug': string;
30
+ /**
31
+ * The name of the tenant
32
+ * @type {string}
33
+ * @memberof WorkspaceClass
34
+ */
35
+ 'tenantName': string;
36
+ /**
37
+ * Whether the workspace is the default workspace
38
+ * @type {boolean}
39
+ * @memberof WorkspaceClass
40
+ */
41
+ 'isDefault': boolean;
42
+ /**
43
+ * Whether the workspace is the disabled for the user
44
+ * @type {boolean}
45
+ * @memberof WorkspaceClass
46
+ */
47
+ 'isDisabled': boolean;
48
+ }
@@ -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 });
package/models/index.ts CHANGED
@@ -7,6 +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-response-class';
10
11
  export * from './login-by-saml-request-dto';
11
12
  export * from './login-class';
12
13
  export * from './login-request-dto';
@@ -16,6 +17,9 @@ export * from './organization-class';
16
17
  export * from './refresh-token-dto';
17
18
  export * from './reset-password-request-dto';
18
19
  export * from './role-class';
20
+ export * from './switch-workspace-request-without-refresh-token-dto';
21
+ export * from './switch-workspace-response-class';
19
22
  export * from './user-class';
20
23
  export * from './verify-org-invitation-request-dto';
21
24
  export * from './verify-org-invitation-response-class';
25
+ export * from './workspace-class';
@@ -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
+ * Contact: kontakt@emil.de
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 { WorkspaceClass } from './workspace-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListWorkspacesResponseClass
22
+ */
23
+ export interface ListWorkspacesResponseClass {
24
+ /**
25
+ * The list of workspaces.
26
+ * @type {Array<WorkspaceClass>}
27
+ * @memberof ListWorkspacesResponseClass
28
+ */
29
+ 'workspaces': Array<WorkspaceClass>;
30
+ }
31
+
@@ -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
+ * Contact: kontakt@emil.de
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 SwitchWorkspaceRequestWithoutRefreshTokenDto
21
+ */
22
+ export interface SwitchWorkspaceRequestWithoutRefreshTokenDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SwitchWorkspaceRequestWithoutRefreshTokenDto
27
+ */
28
+ 'username': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SwitchWorkspaceRequestWithoutRefreshTokenDto
33
+ */
34
+ 'targetWorkspace': 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
+ * Contact: kontakt@emil.de
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 SwitchWorkspaceResponseClass
21
+ */
22
+ export interface SwitchWorkspaceResponseClass {
23
+ /**
24
+ * Access token for API authentication
25
+ * @type {string}
26
+ * @memberof SwitchWorkspaceResponseClass
27
+ */
28
+ 'accessToken': string;
29
+ }
30
+
@@ -87,5 +87,11 @@ export interface UserClass {
87
87
  * @memberof UserClass
88
88
  */
89
89
  'updatedAt': string;
90
+ /**
91
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
92
+ * @type {string}
93
+ * @memberof UserClass
94
+ */
95
+ 'ern': string;
90
96
  }
91
97
 
@@ -0,0 +1,54 @@
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
+ * Contact: kontakt@emil.de
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 WorkspaceClass
21
+ */
22
+ export interface WorkspaceClass {
23
+ /**
24
+ * The name of the workspace
25
+ * @type {string}
26
+ * @memberof WorkspaceClass
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * The slug of the workspace
31
+ * @type {string}
32
+ * @memberof WorkspaceClass
33
+ */
34
+ 'slug': string;
35
+ /**
36
+ * The name of the tenant
37
+ * @type {string}
38
+ * @memberof WorkspaceClass
39
+ */
40
+ 'tenantName': string;
41
+ /**
42
+ * Whether the workspace is the default workspace
43
+ * @type {boolean}
44
+ * @memberof WorkspaceClass
45
+ */
46
+ 'isDefault': boolean;
47
+ /**
48
+ * Whether the workspace is the disabled for the user
49
+ * @type {boolean}
50
+ * @memberof WorkspaceClass
51
+ */
52
+ 'isDisabled': boolean;
53
+ }
54
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/auth-sdk-node",
3
- "version": "1.17.2-beta.1",
3
+ "version": "1.18.1-beta.19",
4
4
  "description": "OpenAPI client for @emilgroup/auth-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,12 +18,12 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.9.0",
21
+ "axios": "^1.12.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^22.15.18",
27
- "typescript": "^5.8"
26
+ "@types/node": "^12.11.5",
27
+ "typescript": "^4.0"
28
28
  }
29
29
  }