@emilgroup/auth-sdk-node 1.3.0 → 1.4.1

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 (60) hide show
  1. package/README.md +2 -2
  2. package/dist/api/authservice-api.d.ts +613 -0
  3. package/dist/api/authservice-api.js +1069 -0
  4. package/dist/api/default-api.d.ts +66 -0
  5. package/dist/api/default-api.js +200 -0
  6. package/dist/api.d.ts +13 -0
  7. package/dist/api.js +31 -0
  8. package/dist/base.d.ts +78 -0
  9. package/dist/base.js +394 -0
  10. package/dist/common.d.ts +92 -0
  11. package/dist/common.js +277 -0
  12. package/dist/configuration.d.ts +90 -0
  13. package/dist/configuration.js +44 -0
  14. package/dist/index.d.ts +15 -0
  15. package/dist/index.js +36 -0
  16. package/dist/models/create-org-and-user-request-dto.d.ts +84 -0
  17. package/dist/models/create-org-and-user-request-dto.js +15 -0
  18. package/dist/models/create-org-and-user-response-class.d.ts +32 -0
  19. package/dist/models/create-org-and-user-response-class.js +15 -0
  20. package/dist/models/create-user-request-dto.d.ts +54 -0
  21. package/dist/models/create-user-request-dto.js +15 -0
  22. package/dist/models/create-user-response-class.d.ts +25 -0
  23. package/dist/models/create-user-response-class.js +15 -0
  24. package/dist/models/custom-schema-class.d.ts +66 -0
  25. package/dist/models/custom-schema-class.js +15 -0
  26. package/dist/models/forgot-password-request-dto.d.ts +24 -0
  27. package/dist/models/forgot-password-request-dto.js +15 -0
  28. package/dist/models/get-samllogin-link-request-dto.d.ts +24 -0
  29. package/dist/models/get-samllogin-link-request-dto.js +15 -0
  30. package/dist/models/index.d.ts +21 -0
  31. package/dist/models/index.js +37 -0
  32. package/dist/models/inline-response200.d.ts +54 -0
  33. package/dist/models/inline-response200.js +15 -0
  34. package/dist/models/inline-response503.d.ts +54 -0
  35. package/dist/models/inline-response503.js +15 -0
  36. package/dist/models/login-by-samlrequest-dto.d.ts +30 -0
  37. package/dist/models/login-by-samlrequest-dto.js +15 -0
  38. package/dist/models/login-class.d.ts +30 -0
  39. package/dist/models/login-class.js +15 -0
  40. package/dist/models/login-request-dto.d.ts +30 -0
  41. package/dist/models/login-request-dto.js +15 -0
  42. package/dist/models/logout-request-dto.d.ts +24 -0
  43. package/dist/models/logout-request-dto.js +15 -0
  44. package/dist/models/org-invitation-class.d.ts +109 -0
  45. package/dist/models/org-invitation-class.js +15 -0
  46. package/dist/models/organization-class.d.ts +114 -0
  47. package/dist/models/organization-class.js +15 -0
  48. package/dist/models/refresh-token-dto.d.ts +24 -0
  49. package/dist/models/refresh-token-dto.js +15 -0
  50. package/dist/models/reset-password-request-dto.d.ts +36 -0
  51. package/dist/models/reset-password-request-dto.js +15 -0
  52. package/dist/models/role-class.d.ts +54 -0
  53. package/dist/models/role-class.js +15 -0
  54. package/dist/models/user-class.d.ts +85 -0
  55. package/dist/models/user-class.js +15 -0
  56. package/dist/models/verify-org-invitation-request-dto.d.ts +24 -0
  57. package/dist/models/verify-org-invitation-request-dto.js +15 -0
  58. package/dist/models/verify-org-invitation-response-class.d.ts +32 -0
  59. package/dist/models/verify-org-invitation-response-class.js +15 -0
  60. package/package.json +2 -2
@@ -0,0 +1,25 @@
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 { UserClass } from './user-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateUserResponseClass
17
+ */
18
+ export interface CreateUserResponseClass {
19
+ /**
20
+ * user
21
+ * @type {UserClass}
22
+ * @memberof CreateUserResponseClass
23
+ */
24
+ 'user': UserClass;
25
+ }
@@ -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,66 @@
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 CustomSchemaClass
16
+ */
17
+ export interface CustomSchemaClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof CustomSchemaClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof CustomSchemaClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * The fields that schema created from
32
+ * @type {object}
33
+ * @memberof CustomSchemaClass
34
+ */
35
+ 'fields': object;
36
+ /**
37
+ * The json schema generated from fields
38
+ * @type {object}
39
+ * @memberof CustomSchemaClass
40
+ */
41
+ 'jsonSchema': object;
42
+ /**
43
+ * Optional field for a product specification custom fields
44
+ * @type {string}
45
+ * @memberof CustomSchemaClass
46
+ */
47
+ 'productCode': string;
48
+ /**
49
+ * The entity that this schema related to
50
+ * @type {string}
51
+ * @memberof CustomSchemaClass
52
+ */
53
+ 'entity': string;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof CustomSchemaClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof CustomSchemaClass
64
+ */
65
+ 'updatedAt': string;
66
+ }
@@ -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 ForgotPasswordRequestDto
16
+ */
17
+ export interface ForgotPasswordRequestDto {
18
+ /**
19
+ * Tenant user\'s email address
20
+ * @type {string}
21
+ * @memberof ForgotPasswordRequestDto
22
+ */
23
+ 'email': 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,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 GetSAMLLoginLinkRequestDto
16
+ */
17
+ export interface GetSAMLLoginLinkRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetSAMLLoginLinkRequestDto
22
+ */
23
+ 'tenantSlug': 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,21 @@
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 './custom-schema-class';
6
+ export * from './forgot-password-request-dto';
7
+ export * from './get-samllogin-link-request-dto';
8
+ export * from './inline-response200';
9
+ export * from './inline-response503';
10
+ export * from './login-by-samlrequest-dto';
11
+ export * from './login-class';
12
+ export * from './login-request-dto';
13
+ export * from './logout-request-dto';
14
+ export * from './org-invitation-class';
15
+ export * from './organization-class';
16
+ export * from './refresh-token-dto';
17
+ export * from './reset-password-request-dto';
18
+ export * from './role-class';
19
+ export * from './user-class';
20
+ export * from './verify-org-invitation-request-dto';
21
+ export * from './verify-org-invitation-response-class';
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./create-org-and-user-request-dto"), exports);
18
+ __exportStar(require("./create-org-and-user-response-class"), exports);
19
+ __exportStar(require("./create-user-request-dto"), exports);
20
+ __exportStar(require("./create-user-response-class"), exports);
21
+ __exportStar(require("./custom-schema-class"), exports);
22
+ __exportStar(require("./forgot-password-request-dto"), exports);
23
+ __exportStar(require("./get-samllogin-link-request-dto"), exports);
24
+ __exportStar(require("./inline-response200"), exports);
25
+ __exportStar(require("./inline-response503"), exports);
26
+ __exportStar(require("./login-by-samlrequest-dto"), exports);
27
+ __exportStar(require("./login-class"), exports);
28
+ __exportStar(require("./login-request-dto"), exports);
29
+ __exportStar(require("./logout-request-dto"), exports);
30
+ __exportStar(require("./org-invitation-class"), exports);
31
+ __exportStar(require("./organization-class"), exports);
32
+ __exportStar(require("./refresh-token-dto"), exports);
33
+ __exportStar(require("./reset-password-request-dto"), exports);
34
+ __exportStar(require("./role-class"), exports);
35
+ __exportStar(require("./user-class"), exports);
36
+ __exportStar(require("./verify-org-invitation-request-dto"), exports);
37
+ __exportStar(require("./verify-org-invitation-response-class"), exports);
@@ -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 InlineResponse200
16
+ */
17
+ export interface InlineResponse200 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InlineResponse200
22
+ */
23
+ 'status'?: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: { [key: string]: string; }; }}
27
+ * @memberof InlineResponse200
28
+ */
29
+ 'info'?: {
30
+ [key: string]: {
31
+ [key: string]: string;
32
+ };
33
+ } | null;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @memberof InlineResponse200
38
+ */
39
+ 'error'?: {
40
+ [key: string]: {
41
+ [key: string]: string;
42
+ };
43
+ } | null;
44
+ /**
45
+ *
46
+ * @type {{ [key: string]: { [key: string]: string; }; }}
47
+ * @memberof InlineResponse200
48
+ */
49
+ 'details'?: {
50
+ [key: string]: {
51
+ [key: string]: string;
52
+ };
53
+ };
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,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 InlineResponse503
16
+ */
17
+ export interface InlineResponse503 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InlineResponse503
22
+ */
23
+ 'status'?: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: { [key: string]: string; }; }}
27
+ * @memberof InlineResponse503
28
+ */
29
+ 'info'?: {
30
+ [key: string]: {
31
+ [key: string]: string;
32
+ };
33
+ } | null;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @memberof InlineResponse503
38
+ */
39
+ 'error'?: {
40
+ [key: string]: {
41
+ [key: string]: string;
42
+ };
43
+ } | null;
44
+ /**
45
+ *
46
+ * @type {{ [key: string]: { [key: string]: string; }; }}
47
+ * @memberof InlineResponse503
48
+ */
49
+ 'details'?: {
50
+ [key: string]: {
51
+ [key: string]: string;
52
+ };
53
+ };
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,30 @@
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 LoginBySAMLRequestDto
16
+ */
17
+ export interface LoginBySAMLRequestDto {
18
+ /**
19
+ * code for grant type authorization code
20
+ * @type {string}
21
+ * @memberof LoginBySAMLRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Tenant slug
26
+ * @type {string}
27
+ * @memberof LoginBySAMLRequestDto
28
+ */
29
+ 'tenantSlug': string;
30
+ }
@@ -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,30 @@
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 LoginClass
16
+ */
17
+ export interface LoginClass {
18
+ /**
19
+ * Access token, used to identify user requests
20
+ * @type {string}
21
+ * @memberof LoginClass
22
+ */
23
+ 'accessToken': string;
24
+ /**
25
+ * States all user\'s permission
26
+ * @type {string}
27
+ * @memberof LoginClass
28
+ */
29
+ 'permissions': string;
30
+ }
@@ -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,30 @@
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 LoginRequestDto
16
+ */
17
+ export interface LoginRequestDto {
18
+ /**
19
+ * Tenant user\'s username. Usually an email.
20
+ * @type {string}
21
+ * @memberof LoginRequestDto
22
+ */
23
+ 'username': string;
24
+ /**
25
+ * Tenant user\'s password.
26
+ * @type {string}
27
+ * @memberof LoginRequestDto
28
+ */
29
+ 'password': string;
30
+ }
@@ -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 LogoutRequestDto
16
+ */
17
+ export interface LogoutRequestDto {
18
+ /**
19
+ * Tenant user\'s username. Usually an email.
20
+ * @type {string}
21
+ * @memberof LogoutRequestDto
22
+ */
23
+ 'username': 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 });