@emilgroup/tenant-sdk 1.21.0 → 1.21.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 (45) hide show
  1. package/.openapi-generator/FILES +3 -1
  2. package/README.md +2 -2
  3. package/api/dashboard-api.ts +99 -0
  4. package/api/{default-api.ts → health-check-api.ts} +21 -17
  5. package/api.ts +2 -2
  6. package/base.ts +20 -7
  7. package/dist/api/dashboard-api.d.ts +52 -0
  8. package/dist/api/dashboard-api.js +88 -0
  9. package/dist/api/health-check-api.d.ts +70 -0
  10. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  11. package/dist/api.d.ts +1 -1
  12. package/dist/api.js +1 -1
  13. package/dist/base.d.ts +0 -1
  14. package/dist/base.js +18 -6
  15. package/dist/models/create-tenant-db-config-request-dto.d.ts +30 -0
  16. package/dist/models/create-tenant-db-config-request-dto.js +15 -0
  17. package/dist/models/custom-schema-class.d.ts +12 -0
  18. package/dist/models/data-report-class.d.ts +12 -0
  19. package/dist/models/data-report-filter-class.d.ts +12 -0
  20. package/dist/models/get-embedded-url-response-class.d.ts +24 -0
  21. package/dist/models/get-embedded-url-response-class.js +15 -0
  22. package/dist/models/index.d.ts +2 -0
  23. package/dist/models/index.js +2 -0
  24. package/dist/models/invite-class.d.ts +12 -0
  25. package/dist/models/org-invitation-class.d.ts +12 -0
  26. package/dist/models/organization-class.d.ts +12 -0
  27. package/dist/models/permission-class.d.ts +12 -0
  28. package/dist/models/role-class.d.ts +12 -0
  29. package/dist/models/subscription-class.d.ts +12 -0
  30. package/dist/models/user-class.d.ts +12 -0
  31. package/models/create-tenant-db-config-request-dto.ts +36 -0
  32. package/models/custom-schema-class.ts +12 -0
  33. package/models/data-report-class.ts +12 -0
  34. package/models/data-report-filter-class.ts +12 -0
  35. package/models/get-embedded-url-response-class.ts +30 -0
  36. package/models/index.ts +2 -0
  37. package/models/invite-class.ts +12 -0
  38. package/models/org-invitation-class.ts +12 -0
  39. package/models/organization-class.ts +12 -0
  40. package/models/permission-class.ts +12 -0
  41. package/models/role-class.ts +12 -0
  42. package/models/subscription-class.ts +12 -0
  43. package/models/user-class.ts +12 -0
  44. package/package.json +1 -1
  45. package/dist/api/default-api.d.ts +0 -66
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
81
+ exports.HealthCheckApi = exports.HealthCheckApiFactory = exports.HealthCheckApiFp = exports.HealthCheckApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -86,14 +86,15 @@ var common_1 = require("../common");
86
86
  // @ts-ignore
87
87
  var base_1 = require("../base");
88
88
  /**
89
- * DefaultApi - axios parameter creator
89
+ * HealthCheckApi - axios parameter creator
90
90
  * @export
91
91
  */
92
- var DefaultApiAxiosParamCreator = function (configuration) {
92
+ var HealthCheckApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- *
96
+ * Returns the health status of the tenant service. This endpoint is used to monitor the operational status of the tenant service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
97
+ * @summary Health Check
97
98
  * @param {*} [options] Override http request option.
98
99
  * @throws {RequiredError}
99
100
  */
@@ -123,16 +124,17 @@ var DefaultApiAxiosParamCreator = function (configuration) {
123
124
  },
124
125
  };
125
126
  };
126
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
127
+ exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
127
128
  /**
128
- * DefaultApi - functional programming interface
129
+ * HealthCheckApi - functional programming interface
129
130
  * @export
130
131
  */
131
- var DefaultApiFp = function (configuration) {
132
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
132
+ var HealthCheckApiFp = function (configuration) {
133
+ var localVarAxiosParamCreator = (0, exports.HealthCheckApiAxiosParamCreator)(configuration);
133
134
  return {
134
135
  /**
135
- *
136
+ * Returns the health status of the tenant service. This endpoint is used to monitor the operational status of the tenant service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
137
+ * @summary Health Check
136
138
  * @param {*} [options] Override http request option.
137
139
  * @throws {RequiredError}
138
140
  */
@@ -151,16 +153,17 @@ var DefaultApiFp = function (configuration) {
151
153
  },
152
154
  };
153
155
  };
154
- exports.DefaultApiFp = DefaultApiFp;
156
+ exports.HealthCheckApiFp = HealthCheckApiFp;
155
157
  /**
156
- * DefaultApi - factory interface
158
+ * HealthCheckApi - factory interface
157
159
  * @export
158
160
  */
159
- var DefaultApiFactory = function (configuration, basePath, axios) {
160
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
161
+ var HealthCheckApiFactory = function (configuration, basePath, axios) {
162
+ var localVarFp = (0, exports.HealthCheckApiFp)(configuration);
161
163
  return {
162
164
  /**
163
- *
165
+ * Returns the health status of the tenant service. This endpoint is used to monitor the operational status of the tenant service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
166
+ * @summary Health Check
164
167
  * @param {*} [options] Override http request option.
165
168
  * @throws {RequiredError}
166
169
  */
@@ -169,28 +172,29 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
169
172
  },
170
173
  };
171
174
  };
172
- exports.DefaultApiFactory = DefaultApiFactory;
175
+ exports.HealthCheckApiFactory = HealthCheckApiFactory;
173
176
  /**
174
- * DefaultApi - object-oriented interface
177
+ * HealthCheckApi - object-oriented interface
175
178
  * @export
176
- * @class DefaultApi
179
+ * @class HealthCheckApi
177
180
  * @extends {BaseAPI}
178
181
  */
179
- var DefaultApi = /** @class */ (function (_super) {
180
- __extends(DefaultApi, _super);
181
- function DefaultApi() {
182
+ var HealthCheckApi = /** @class */ (function (_super) {
183
+ __extends(HealthCheckApi, _super);
184
+ function HealthCheckApi() {
182
185
  return _super !== null && _super.apply(this, arguments) || this;
183
186
  }
184
187
  /**
185
- *
188
+ * Returns the health status of the tenant service. This endpoint is used to monitor the operational status of the tenant service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
189
+ * @summary Health Check
186
190
  * @param {*} [options] Override http request option.
187
191
  * @throws {RequiredError}
188
- * @memberof DefaultApi
192
+ * @memberof HealthCheckApi
189
193
  */
190
- DefaultApi.prototype.check = function (options) {
194
+ HealthCheckApi.prototype.check = function (options) {
191
195
  var _this = this;
192
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
196
+ return (0, exports.HealthCheckApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
193
197
  };
194
- return DefaultApi;
198
+ return HealthCheckApi;
195
199
  }(base_1.BaseAPI));
196
- exports.DefaultApi = DefaultApi;
200
+ exports.HealthCheckApi = HealthCheckApi;
package/dist/api.d.ts CHANGED
@@ -14,8 +14,8 @@ export * from './api/dashboard-api';
14
14
  export * from './api/dashboard-group-api';
15
15
  export * from './api/data-report-api';
16
16
  export * from './api/data-report-executor-api';
17
- export * from './api/default-api';
18
17
  export * from './api/delete-organization-invitations-api';
18
+ export * from './api/health-check-api';
19
19
  export * from './api/invite-organizations-api';
20
20
  export * from './api/invite-users-api';
21
21
  export * from './api/list-organization-invitations-api';
package/dist/api.js CHANGED
@@ -32,8 +32,8 @@ __exportStar(require("./api/dashboard-api"), exports);
32
32
  __exportStar(require("./api/dashboard-group-api"), exports);
33
33
  __exportStar(require("./api/data-report-api"), exports);
34
34
  __exportStar(require("./api/data-report-executor-api"), exports);
35
- __exportStar(require("./api/default-api"), exports);
36
35
  __exportStar(require("./api/delete-organization-invitations-api"), exports);
36
+ __exportStar(require("./api/health-check-api"), exports);
37
37
  __exportStar(require("./api/invite-organizations-api"), exports);
38
38
  __exportStar(require("./api/invite-users-api"), exports);
39
39
  __exportStar(require("./api/list-organization-invitations-api"), exports);
package/dist/base.d.ts CHANGED
@@ -52,7 +52,6 @@ export declare class BaseAPI {
52
52
  protected axios: AxiosInstance;
53
53
  protected configuration: Configuration | undefined;
54
54
  private tokenData?;
55
- private permissions?;
56
55
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
57
56
  selectEnvironment(env: Environment): void;
58
57
  selectBasePath(path: string): void;
package/dist/base.js CHANGED
@@ -144,7 +144,11 @@ var BaseAPI = /** @class */ (function () {
144
144
  this.configuration.basePath = path;
145
145
  };
146
146
  BaseAPI.prototype.getPermissions = function () {
147
- return this.permissions.split(',');
147
+ var _a;
148
+ if (!((_a = this.tokenData) === null || _a === void 0 ? void 0 : _a.permissions)) {
149
+ return [];
150
+ }
151
+ return this.tokenData.permissions.split(',');
148
152
  };
149
153
  BaseAPI.prototype.authorize = function (username, password) {
150
154
  return __awaiter(this, void 0, void 0, function () {
@@ -170,7 +174,7 @@ var BaseAPI = /** @class */ (function () {
170
174
  this.configuration.accessToken = "Bearer ".concat(accessToken);
171
175
  this.tokenData.username = username;
172
176
  this.tokenData.accessToken = accessToken;
173
- this.permissions = permissions;
177
+ this.tokenData.permissions = permissions;
174
178
  this.storeTokenData(__assign({}, this.tokenData));
175
179
  return [2 /*return*/];
176
180
  }
@@ -179,7 +183,8 @@ var BaseAPI = /** @class */ (function () {
179
183
  };
180
184
  BaseAPI.prototype.refreshTokenInternal = function () {
181
185
  return __awaiter(this, void 0, void 0, function () {
182
- var username, options, response;
186
+ var username, refreshTokenAxios, options, response;
187
+ var _this = this;
183
188
  return __generator(this, function (_a) {
184
189
  switch (_a.label) {
185
190
  case 0:
@@ -187,6 +192,13 @@ var BaseAPI = /** @class */ (function () {
187
192
  if (!username) {
188
193
  throw new Error('Failed to refresh token.');
189
194
  }
195
+ refreshTokenAxios = axios_1.default.create();
196
+ refreshTokenAxios.interceptors.response.use(function (response) {
197
+ var permissions = response.data.permissions;
198
+ _this.tokenData.permissions = permissions;
199
+ _this.storeTokenData(_this.tokenData);
200
+ return response;
201
+ });
190
202
  options = {
191
203
  method: 'POST',
192
204
  url: "".concat(this.configuration.basePath, "/authservice/v1/refresh-token"),
@@ -196,7 +208,7 @@ var BaseAPI = /** @class */ (function () {
196
208
  data: { username: username },
197
209
  withCredentials: true,
198
210
  };
199
- return [4 /*yield*/, axios_1.default.request(options)];
211
+ return [4 /*yield*/, refreshTokenAxios.request(options)];
200
212
  case 1:
201
213
  response = _a.sent();
202
214
  return [2 /*return*/, response.data];
@@ -241,7 +253,7 @@ var BaseAPI = /** @class */ (function () {
241
253
  case 2:
242
254
  _a = _c.sent(), tokenString = _a.accessToken, permissions = _a.permissions;
243
255
  accessToken = "Bearer ".concat(tokenString);
244
- this.permissions = permissions;
256
+ this.tokenData.permissions = permissions;
245
257
  delete originalConfig.headers['Authorization'];
246
258
  originalConfig.headers['Authorization'] = accessToken;
247
259
  this.configuration.accessToken = accessToken;
@@ -267,7 +279,7 @@ var BaseAPI = /** @class */ (function () {
267
279
  case 7:
268
280
  _b = _c.sent(), tokenString = _b.accessToken, permissions = _b.permissions;
269
281
  accessToken = "Bearer ".concat(tokenString);
270
- this.permissions = permissions;
282
+ this.tokenData.permissions = permissions;
271
283
  _retry = true;
272
284
  originalConfig.headers['Authorization'] = accessToken;
273
285
  this.configuration.accessToken = accessToken;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService 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 CreateTenantDbConfigRequestDto
16
+ */
17
+ export interface CreateTenantDbConfigRequestDto {
18
+ /**
19
+ * Tenant Slug
20
+ * @type {string}
21
+ * @memberof CreateTenantDbConfigRequestDto
22
+ */
23
+ 'tenantSlug': string;
24
+ /**
25
+ * Tenant DB Config
26
+ * @type {object}
27
+ * @memberof CreateTenantDbConfigRequestDto
28
+ */
29
+ 'config': object;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Tenant Service
6
+ * The EMIL TenantService 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 });
@@ -63,4 +63,16 @@ export interface CustomSchemaClass {
63
63
  * @memberof CustomSchemaClass
64
64
  */
65
65
  'updatedAt': string;
66
+ /**
67
+ * Identifier of the user who created the record.
68
+ * @type {string}
69
+ * @memberof CustomSchemaClass
70
+ */
71
+ 'createdBy': string;
72
+ /**
73
+ * Identifier of the user who last updated the record.
74
+ * @type {string}
75
+ * @memberof CustomSchemaClass
76
+ */
77
+ 'updatedBy': string;
66
78
  }
@@ -76,4 +76,16 @@ export interface DataReportClass {
76
76
  * @memberof DataReportClass
77
77
  */
78
78
  'updatedAt': string;
79
+ /**
80
+ * Identifier of the user who created the record.
81
+ * @type {string}
82
+ * @memberof DataReportClass
83
+ */
84
+ 'createdBy': string;
85
+ /**
86
+ * Identifier of the user who last updated the record.
87
+ * @type {string}
88
+ * @memberof DataReportClass
89
+ */
90
+ 'updatedBy': string;
79
91
  }
@@ -69,4 +69,16 @@ export interface DataReportFilterClass {
69
69
  * @memberof DataReportFilterClass
70
70
  */
71
71
  'updatedAt': string;
72
+ /**
73
+ * Identifier of the user who created the record.
74
+ * @type {string}
75
+ * @memberof DataReportFilterClass
76
+ */
77
+ 'createdBy': string;
78
+ /**
79
+ * Identifier of the user who last updated the record.
80
+ * @type {string}
81
+ * @memberof DataReportFilterClass
82
+ */
83
+ 'updatedBy': string;
72
84
  }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService 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 GetEmbeddedUrlResponseClass
16
+ */
17
+ export interface GetEmbeddedUrlResponseClass {
18
+ /**
19
+ * Embedded url
20
+ * @type {string}
21
+ * @memberof GetEmbeddedUrlResponseClass
22
+ */
23
+ 'url': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Tenant Service
6
+ * The EMIL TenantService 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 });
@@ -12,6 +12,7 @@ export * from './create-data-report-request-dto';
12
12
  export * from './create-data-report-response-class';
13
13
  export * from './create-permission-request-dto';
14
14
  export * from './create-role-request-dto';
15
+ export * from './create-tenant-db-config-request-dto';
15
16
  export * from './create-tenant-request-dto';
16
17
  export * from './custom-field-dto';
17
18
  export * from './custom-schema-class';
@@ -35,6 +36,7 @@ export * from './get-custom-schema-response-class';
35
36
  export * from './get-dashboard-group-response-class';
36
37
  export * from './get-dashboard-response-class';
37
38
  export * from './get-data-report-response-class';
39
+ export * from './get-embedded-url-response-class';
38
40
  export * from './get-organization-response-class';
39
41
  export * from './get-settings-response-class';
40
42
  export * from './get-user-response-class';
@@ -28,6 +28,7 @@ __exportStar(require("./create-data-report-request-dto"), exports);
28
28
  __exportStar(require("./create-data-report-response-class"), exports);
29
29
  __exportStar(require("./create-permission-request-dto"), exports);
30
30
  __exportStar(require("./create-role-request-dto"), exports);
31
+ __exportStar(require("./create-tenant-db-config-request-dto"), exports);
31
32
  __exportStar(require("./create-tenant-request-dto"), exports);
32
33
  __exportStar(require("./custom-field-dto"), exports);
33
34
  __exportStar(require("./custom-schema-class"), exports);
@@ -51,6 +52,7 @@ __exportStar(require("./get-custom-schema-response-class"), exports);
51
52
  __exportStar(require("./get-dashboard-group-response-class"), exports);
52
53
  __exportStar(require("./get-dashboard-response-class"), exports);
53
54
  __exportStar(require("./get-data-report-response-class"), exports);
55
+ __exportStar(require("./get-embedded-url-response-class"), exports);
54
56
  __exportStar(require("./get-organization-response-class"), exports);
55
57
  __exportStar(require("./get-settings-response-class"), exports);
56
58
  __exportStar(require("./get-user-response-class"), exports);
@@ -53,6 +53,18 @@ export interface InviteClass {
53
53
  * @memberof InviteClass
54
54
  */
55
55
  'updatedAt': string;
56
+ /**
57
+ * Identifier of the user who created the record.
58
+ * @type {string}
59
+ * @memberof InviteClass
60
+ */
61
+ 'createdBy': string;
62
+ /**
63
+ * Identifier of the user who last updated the record.
64
+ * @type {string}
65
+ * @memberof InviteClass
66
+ */
67
+ 'updatedBy': string;
56
68
  /**
57
69
  * Emil Resources Names (ERN) identifies the most specific owner of a resource.
58
70
  * @type {string}
@@ -106,4 +106,16 @@ export interface OrgInvitationClass {
106
106
  * @memberof OrgInvitationClass
107
107
  */
108
108
  'updatedAt': string;
109
+ /**
110
+ * Identifier of the user who created the record.
111
+ * @type {string}
112
+ * @memberof OrgInvitationClass
113
+ */
114
+ 'createdBy': string;
115
+ /**
116
+ * Identifier of the user who last updated the record.
117
+ * @type {string}
118
+ * @memberof OrgInvitationClass
119
+ */
120
+ 'updatedBy': string;
109
121
  }
@@ -105,4 +105,16 @@ export interface OrganizationClass {
105
105
  * @memberof OrganizationClass
106
106
  */
107
107
  'updatedAt': string;
108
+ /**
109
+ * Identifier of the user who created the record.
110
+ * @type {string}
111
+ * @memberof OrganizationClass
112
+ */
113
+ 'createdBy': string;
114
+ /**
115
+ * Identifier of the user who last updated the record.
116
+ * @type {string}
117
+ * @memberof OrganizationClass
118
+ */
119
+ 'updatedBy': string;
108
120
  }
@@ -57,4 +57,16 @@ export interface PermissionClass {
57
57
  * @memberof PermissionClass
58
58
  */
59
59
  'updatedAt': string;
60
+ /**
61
+ * Identifier of the user who created the record.
62
+ * @type {string}
63
+ * @memberof PermissionClass
64
+ */
65
+ 'createdBy': string;
66
+ /**
67
+ * Identifier of the user who last updated the record.
68
+ * @type {string}
69
+ * @memberof PermissionClass
70
+ */
71
+ 'updatedBy': string;
60
72
  }
@@ -58,4 +58,16 @@ export interface RoleClass {
58
58
  * @memberof RoleClass
59
59
  */
60
60
  'updatedAt': string;
61
+ /**
62
+ * Identifier of the user who created the record.
63
+ * @type {string}
64
+ * @memberof RoleClass
65
+ */
66
+ 'createdBy': string;
67
+ /**
68
+ * Identifier of the user who last updated the record.
69
+ * @type {string}
70
+ * @memberof RoleClass
71
+ */
72
+ 'updatedBy': string;
61
73
  }
@@ -58,6 +58,18 @@ export interface SubscriptionClass {
58
58
  * @memberof SubscriptionClass
59
59
  */
60
60
  'updatedAt'?: string;
61
+ /**
62
+ * Identifier of the user who created the record.
63
+ * @type {string}
64
+ * @memberof SubscriptionClass
65
+ */
66
+ 'createdBy': string;
67
+ /**
68
+ * Identifier of the user who last updated the record.
69
+ * @type {string}
70
+ * @memberof SubscriptionClass
71
+ */
72
+ 'updatedBy': string;
61
73
  /**
62
74
  * user
63
75
  * @type {UserClass}
@@ -90,6 +90,18 @@ export interface UserClass {
90
90
  * @memberof UserClass
91
91
  */
92
92
  'updatedAt': string;
93
+ /**
94
+ * Identifier of the user who created the record.
95
+ * @type {string}
96
+ * @memberof UserClass
97
+ */
98
+ 'createdBy': string;
99
+ /**
100
+ * Identifier of the user who last updated the record.
101
+ * @type {string}
102
+ * @memberof UserClass
103
+ */
104
+ 'updatedBy': string;
93
105
  /**
94
106
  * Emil Resources Names (ERN) identifies the most specific owner of a resource.
95
107
  * @type {string}
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService 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 CreateTenantDbConfigRequestDto
21
+ */
22
+ export interface CreateTenantDbConfigRequestDto {
23
+ /**
24
+ * Tenant Slug
25
+ * @type {string}
26
+ * @memberof CreateTenantDbConfigRequestDto
27
+ */
28
+ 'tenantSlug': string;
29
+ /**
30
+ * Tenant DB Config
31
+ * @type {object}
32
+ * @memberof CreateTenantDbConfigRequestDto
33
+ */
34
+ 'config': object;
35
+ }
36
+
@@ -68,5 +68,17 @@ export interface CustomSchemaClass {
68
68
  * @memberof CustomSchemaClass
69
69
  */
70
70
  'updatedAt': string;
71
+ /**
72
+ * Identifier of the user who created the record.
73
+ * @type {string}
74
+ * @memberof CustomSchemaClass
75
+ */
76
+ 'createdBy': string;
77
+ /**
78
+ * Identifier of the user who last updated the record.
79
+ * @type {string}
80
+ * @memberof CustomSchemaClass
81
+ */
82
+ 'updatedBy': string;
71
83
  }
72
84
 
@@ -81,5 +81,17 @@ export interface DataReportClass {
81
81
  * @memberof DataReportClass
82
82
  */
83
83
  'updatedAt': string;
84
+ /**
85
+ * Identifier of the user who created the record.
86
+ * @type {string}
87
+ * @memberof DataReportClass
88
+ */
89
+ 'createdBy': string;
90
+ /**
91
+ * Identifier of the user who last updated the record.
92
+ * @type {string}
93
+ * @memberof DataReportClass
94
+ */
95
+ 'updatedBy': string;
84
96
  }
85
97
 
@@ -74,5 +74,17 @@ export interface DataReportFilterClass {
74
74
  * @memberof DataReportFilterClass
75
75
  */
76
76
  'updatedAt': string;
77
+ /**
78
+ * Identifier of the user who created the record.
79
+ * @type {string}
80
+ * @memberof DataReportFilterClass
81
+ */
82
+ 'createdBy': string;
83
+ /**
84
+ * Identifier of the user who last updated the record.
85
+ * @type {string}
86
+ * @memberof DataReportFilterClass
87
+ */
88
+ 'updatedBy': string;
77
89
  }
78
90
 
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService 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 GetEmbeddedUrlResponseClass
21
+ */
22
+ export interface GetEmbeddedUrlResponseClass {
23
+ /**
24
+ * Embedded url
25
+ * @type {string}
26
+ * @memberof GetEmbeddedUrlResponseClass
27
+ */
28
+ 'url': string;
29
+ }
30
+
package/models/index.ts CHANGED
@@ -12,6 +12,7 @@ export * from './create-data-report-request-dto';
12
12
  export * from './create-data-report-response-class';
13
13
  export * from './create-permission-request-dto';
14
14
  export * from './create-role-request-dto';
15
+ export * from './create-tenant-db-config-request-dto';
15
16
  export * from './create-tenant-request-dto';
16
17
  export * from './custom-field-dto';
17
18
  export * from './custom-schema-class';
@@ -35,6 +36,7 @@ export * from './get-custom-schema-response-class';
35
36
  export * from './get-dashboard-group-response-class';
36
37
  export * from './get-dashboard-response-class';
37
38
  export * from './get-data-report-response-class';
39
+ export * from './get-embedded-url-response-class';
38
40
  export * from './get-organization-response-class';
39
41
  export * from './get-settings-response-class';
40
42
  export * from './get-user-response-class';