@emilgroup/auth-sdk-node 1.0.0-beta.0 → 1.0.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 +1 -0
  2. package/README.md +2 -2
  3. package/api/authservice-api.ts +1 -1
  4. package/api.ts +1 -1
  5. package/base.ts +4 -4
  6. package/common.ts +2 -2
  7. package/configuration.ts +1 -1
  8. package/dist/api/authservice-api.d.ts +1 -1
  9. package/dist/api/authservice-api.js +1 -1
  10. package/dist/api.d.ts +1 -1
  11. package/dist/api.js +1 -1
  12. package/dist/base.d.ts +2 -2
  13. package/dist/base.js +4 -4
  14. package/dist/common.d.ts +2 -2
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +1 -1
  20. package/dist/models/create-org-and-user-request-dto.d.ts +1 -1
  21. package/dist/models/create-org-and-user-request-dto.js +1 -1
  22. package/dist/models/create-org-and-user-response-class.d.ts +4 -3
  23. package/dist/models/create-org-and-user-response-class.js +1 -1
  24. package/dist/models/create-user-request-dto.d.ts +1 -1
  25. package/dist/models/create-user-request-dto.js +1 -1
  26. package/dist/models/create-user-response-class.d.ts +1 -1
  27. package/dist/models/create-user-response-class.js +1 -1
  28. package/dist/models/forgot-password-request-dto.d.ts +1 -1
  29. package/dist/models/forgot-password-request-dto.js +1 -1
  30. package/dist/models/get-samllogin-link-request-dto.d.ts +1 -1
  31. package/dist/models/get-samllogin-link-request-dto.js +1 -1
  32. package/dist/models/index.d.ts +1 -0
  33. package/dist/models/index.js +1 -0
  34. package/dist/models/login-by-samlrequest-dto.d.ts +1 -1
  35. package/dist/models/login-by-samlrequest-dto.js +1 -1
  36. package/dist/models/login-class.d.ts +1 -1
  37. package/dist/models/login-class.js +1 -1
  38. package/dist/models/login-request-dto.d.ts +1 -1
  39. package/dist/models/login-request-dto.js +1 -1
  40. package/dist/models/logout-request-dto.d.ts +1 -1
  41. package/dist/models/logout-request-dto.js +1 -1
  42. package/dist/models/organization-class.d.ts +108 -0
  43. package/dist/models/organization-class.js +15 -0
  44. package/dist/models/refresh-token-dto.d.ts +1 -1
  45. package/dist/models/refresh-token-dto.js +1 -1
  46. package/dist/models/reset-password-request-dto.d.ts +1 -1
  47. package/dist/models/reset-password-request-dto.js +1 -1
  48. package/dist/models/role-class.d.ts +1 -1
  49. package/dist/models/role-class.js +1 -1
  50. package/dist/models/user-class.d.ts +1 -1
  51. package/dist/models/user-class.js +1 -1
  52. package/index.ts +1 -1
  53. package/models/create-org-and-user-request-dto.ts +1 -1
  54. package/models/create-org-and-user-response-class.ts +4 -3
  55. package/models/create-user-request-dto.ts +1 -1
  56. package/models/create-user-response-class.ts +1 -1
  57. package/models/forgot-password-request-dto.ts +1 -1
  58. package/models/get-samllogin-link-request-dto.ts +1 -1
  59. package/models/index.ts +1 -0
  60. package/models/login-by-samlrequest-dto.ts +1 -1
  61. package/models/login-class.ts +1 -1
  62. package/models/login-request-dto.ts +1 -1
  63. package/models/logout-request-dto.ts +1 -1
  64. package/models/organization-class.ts +114 -0
  65. package/models/refresh-token-dto.ts +1 -1
  66. package/models/reset-password-request-dto.ts +1 -1
  67. package/models/role-class.ts +1 -1
  68. package/models/user-class.ts +1 -1
  69. package/package.json +1 -1
@@ -20,6 +20,7 @@ models/login-by-samlrequest-dto.ts
20
20
  models/login-class.ts
21
21
  models/login-request-dto.ts
22
22
  models/logout-request-dto.ts
23
+ models/organization-class.ts
23
24
  models/refresh-token-dto.ts
24
25
  models/reset-password-request-dto.ts
25
26
  models/role-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/auth-sdk-node@1.0.0-beta.0 --save
20
+ npm install @emilgroup/auth-sdk-node@1.0.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/auth-sdk-node@1.0.0-beta.0
24
+ yarn add @emilgroup/auth-sdk-node@1.0.0
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/api.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/base.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -170,7 +170,7 @@ export class BaseAPI {
170
170
  this.configuration.refreshToken = refreshToken;
171
171
  }
172
172
 
173
- async refreshTokenIntenal(): Promise<string> {
173
+ async refreshTokenInternal(): Promise<string> {
174
174
  const { username, refreshToken } = this.configuration;
175
175
 
176
176
 
@@ -220,7 +220,7 @@ export class BaseAPI {
220
220
  if (err.response.status === 401 && !originalConfig._retry) {
221
221
  originalConfig._retry = true;
222
222
  try {
223
- const tokenString = await this.refreshTokenIntenal();
223
+ const tokenString = await this.refreshTokenInternal();
224
224
  const accessToken = `Bearer ${tokenString}`;
225
225
 
226
226
  originalConfig.headers['Authorization'] = `Bearer ${accessToken}`
@@ -245,7 +245,7 @@ export class BaseAPI {
245
245
  ){
246
246
  _retry_count++;
247
247
  try {
248
- const tokenString = await this.refreshTokenIntenal();
248
+ const tokenString = await this.refreshTokenInternal();
249
249
  const accessToken = `Bearer ${tokenString}`;
250
250
 
251
251
  _retry = true;
package/common.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -144,7 +144,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
144
144
  * The EMIL AuthService API description
145
145
  *
146
146
  * The version of the OpenAPI document: 1.0
147
- *
147
+ * Contact: kontakt@emil.de
148
148
  *
149
149
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
150
150
  * https://openapi-generator.tech
package/configuration.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/api.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/api.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/base.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -59,7 +59,7 @@ export declare class BaseAPI {
59
59
  private readEnvVariables;
60
60
  selectEnvironment(env: Environment): void;
61
61
  authorize(username: string, password: string): Promise<void>;
62
- refreshTokenIntenal(): Promise<string>;
62
+ refreshTokenInternal(): Promise<string>;
63
63
  private extractRefreshToken;
64
64
  getConfiguration(): Configuration;
65
65
  private attachInterceptor;
package/dist/base.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -270,7 +270,7 @@ var BaseAPI = /** @class */ (function () {
270
270
  });
271
271
  });
272
272
  };
273
- BaseAPI.prototype.refreshTokenIntenal = function () {
273
+ BaseAPI.prototype.refreshTokenInternal = function () {
274
274
  return __awaiter(this, void 0, void 0, function () {
275
275
  var _a, username, refreshToken, options, accessToken;
276
276
  return __generator(this, function (_b) {
@@ -324,7 +324,7 @@ var BaseAPI = /** @class */ (function () {
324
324
  _a.label = 1;
325
325
  case 1:
326
326
  _a.trys.push([1, 3, , 4]);
327
- return [4 /*yield*/, this.refreshTokenIntenal()];
327
+ return [4 /*yield*/, this.refreshTokenInternal()];
328
328
  case 2:
329
329
  tokenString = _a.sent();
330
330
  accessToken = "Bearer ".concat(tokenString);
@@ -351,7 +351,7 @@ var BaseAPI = /** @class */ (function () {
351
351
  _a.label = 6;
352
352
  case 6:
353
353
  _a.trys.push([6, 8, , 9]);
354
- return [4 /*yield*/, this.refreshTokenIntenal()];
354
+ return [4 /*yield*/, this.refreshTokenInternal()];
355
355
  case 7:
356
356
  tokenString = _a.sent();
357
357
  accessToken = "Bearer ".concat(tokenString);
package/dist/common.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -69,7 +69,7 @@ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios
69
69
  * The EMIL AuthService API description
70
70
  *
71
71
  * The version of the OpenAPI document: 1.0
72
- *
72
+ * Contact: kontakt@emil.de
73
73
  *
74
74
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
75
75
  * https://openapi-generator.tech
package/dist/common.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,12 +3,13 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { OrganizationClass } from './organization-class';
12
13
  import { UserClass } from './user-class';
13
14
  /**
14
15
  *
@@ -18,10 +19,10 @@ import { UserClass } from './user-class';
18
19
  export interface CreateOrgAndUserResponseClass {
19
20
  /**
20
21
  * Organization
21
- * @type {object}
22
+ * @type {OrganizationClass}
22
23
  * @memberof CreateOrgAndUserResponseClass
23
24
  */
24
- 'organization': object;
25
+ 'organization': OrganizationClass;
25
26
  /**
26
27
  * User
27
28
  * @type {UserClass}
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -8,6 +8,7 @@ export * from './login-by-samlrequest-dto';
8
8
  export * from './login-class';
9
9
  export * from './login-request-dto';
10
10
  export * from './logout-request-dto';
11
+ export * from './organization-class';
11
12
  export * from './refresh-token-dto';
12
13
  export * from './reset-password-request-dto';
13
14
  export * from './role-class';
@@ -24,6 +24,7 @@ __exportStar(require("./login-by-samlrequest-dto"), exports);
24
24
  __exportStar(require("./login-class"), exports);
25
25
  __exportStar(require("./login-request-dto"), exports);
26
26
  __exportStar(require("./logout-request-dto"), exports);
27
+ __exportStar(require("./organization-class"), exports);
27
28
  __exportStar(require("./refresh-token-dto"), exports);
28
29
  __exportStar(require("./reset-password-request-dto"), exports);
29
30
  __exportStar(require("./role-class"), exports);
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -0,0 +1,108 @@
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 OrganizationClass
16
+ */
17
+ export interface OrganizationClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof OrganizationClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof OrganizationClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof OrganizationClass
34
+ */
35
+ 'parentId'?: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof OrganizationClass
40
+ */
41
+ 'email': string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof OrganizationClass
46
+ */
47
+ 'ern'?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof OrganizationClass
52
+ */
53
+ 'name': string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof OrganizationClass
58
+ */
59
+ 'type': string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof OrganizationClass
64
+ */
65
+ 'address': string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof OrganizationClass
70
+ */
71
+ 'zipCode': string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof OrganizationClass
76
+ */
77
+ 'city': string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof OrganizationClass
82
+ */
83
+ 'country': string;
84
+ /**
85
+ *
86
+ * @type {object}
87
+ * @memberof OrganizationClass
88
+ */
89
+ 'customFields'?: object;
90
+ /**
91
+ * Time at which the object was created.
92
+ * @type {string}
93
+ * @memberof OrganizationClass
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ * Time at which the object was updated.
98
+ * @type {string}
99
+ * @memberof OrganizationClass
100
+ */
101
+ 'updatedAt': string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof OrganizationClass
106
+ */
107
+ 'deletedAt'?: string | null;
108
+ }
@@ -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 });
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AuthService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AuthService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { OrganizationClass } from './organization-class';
16
17
  import { UserClass } from './user-class';
17
18
 
18
19
  /**
@@ -23,10 +24,10 @@ import { UserClass } from './user-class';
23
24
  export interface CreateOrgAndUserResponseClass {
24
25
  /**
25
26
  * Organization
26
- * @type {object}
27
+ * @type {OrganizationClass}
27
28
  * @memberof CreateOrgAndUserResponseClass
28
29
  */
29
- 'organization': object;
30
+ 'organization': OrganizationClass;
30
31
  /**
31
32
  * User
32
33
  * @type {UserClass}
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/models/index.ts CHANGED
@@ -8,6 +8,7 @@ export * from './login-by-samlrequest-dto';
8
8
  export * from './login-class';
9
9
  export * from './login-request-dto';
10
10
  export * from './logout-request-dto';
11
+ export * from './organization-class';
11
12
  export * from './refresh-token-dto';
12
13
  export * from './reset-password-request-dto';
13
14
  export * from './role-class';
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -0,0 +1,114 @@
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 OrganizationClass
21
+ */
22
+ export interface OrganizationClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof OrganizationClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof OrganizationClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof OrganizationClass
39
+ */
40
+ 'parentId'?: number;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof OrganizationClass
45
+ */
46
+ 'email': string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof OrganizationClass
51
+ */
52
+ 'ern'?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof OrganizationClass
57
+ */
58
+ 'name': string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof OrganizationClass
63
+ */
64
+ 'type': string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof OrganizationClass
69
+ */
70
+ 'address': string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof OrganizationClass
75
+ */
76
+ 'zipCode': string;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof OrganizationClass
81
+ */
82
+ 'city': string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof OrganizationClass
87
+ */
88
+ 'country': string;
89
+ /**
90
+ *
91
+ * @type {object}
92
+ * @memberof OrganizationClass
93
+ */
94
+ 'customFields'?: object;
95
+ /**
96
+ * Time at which the object was created.
97
+ * @type {string}
98
+ * @memberof OrganizationClass
99
+ */
100
+ 'createdAt': string;
101
+ /**
102
+ * Time at which the object was updated.
103
+ * @type {string}
104
+ * @memberof OrganizationClass
105
+ */
106
+ 'updatedAt': string;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof OrganizationClass
111
+ */
112
+ 'deletedAt'?: string | null;
113
+ }
114
+
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL AuthService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/auth-sdk-node",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0",
4
4
  "description": "OpenAPI client for @emilgroup/auth-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [