@emilgroup/tenant-sdk-node 1.28.1-beta.2 → 1.29.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.
- package/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/base.ts +1 -1
- package/dist/api/custom-schema-api.js +39 -14
- package/dist/api/dashboard-api.js +74 -29
- package/dist/api/dashboard-group-api.js +46 -17
- package/dist/api/data-report-api.js +39 -14
- package/dist/api/data-report-executor-api.js +18 -5
- package/dist/api/delete-organization-invitations-api.js +18 -5
- package/dist/api/health-check-api.js +18 -5
- package/dist/api/invite-organizations-api.js +18 -5
- package/dist/api/invite-users-api.js +39 -14
- package/dist/api/list-organization-invitations-api.js +18 -5
- package/dist/api/organizations-api.js +32 -11
- package/dist/api/re-invite-an-organization-api.js +18 -5
- package/dist/api/roles-api.js +18 -5
- package/dist/api/settings-api.js +18 -5
- package/dist/api/users-api.js +60 -23
- package/dist/base.js +25 -15
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/invite-class.d.ts +12 -12
- package/dist/models/user-class.d.ts +8 -8
- package/models/index.ts +0 -1
- package/models/invite-class.ts +12 -12
- package/models/user-class.ts +8 -8
- package/package.json +4 -4
- package/tsconfig.json +1 -0
- package/dist/models/create-tenant-db-config-request-dto.d.ts +0 -30
- package/dist/models/create-tenant-db-config-request-dto.js +0 -15
- package/models/create-tenant-db-config-request-dto.ts +0 -36
package/dist/api/users-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -105,10 +114,14 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
105
114
|
* @deprecated
|
|
106
115
|
* @throws {RequiredError}
|
|
107
116
|
*/
|
|
108
|
-
assignUserRoles: function (
|
|
109
|
-
|
|
110
|
-
|
|
117
|
+
assignUserRoles: function (id_1, assignUserRolesRequestDto_1, authorization_1) {
|
|
118
|
+
var args_1 = [];
|
|
119
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
120
|
+
args_1[_i - 3] = arguments[_i];
|
|
121
|
+
}
|
|
122
|
+
return __awaiter(_this, __spreadArray([id_1, assignUserRolesRequestDto_1, authorization_1], args_1, true), void 0, function (id, assignUserRolesRequestDto, authorization, options) {
|
|
111
123
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
+
if (options === void 0) { options = {}; }
|
|
112
125
|
return __generator(this, function (_a) {
|
|
113
126
|
switch (_a.label) {
|
|
114
127
|
case 0:
|
|
@@ -156,10 +169,14 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
156
169
|
* @param {*} [options] Override http request option.
|
|
157
170
|
* @throws {RequiredError}
|
|
158
171
|
*/
|
|
159
|
-
deleteUsers: function (
|
|
160
|
-
|
|
161
|
-
|
|
172
|
+
deleteUsers: function (batchDeleteRequestDto_1, authorization_1) {
|
|
173
|
+
var args_1 = [];
|
|
174
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
175
|
+
args_1[_i - 2] = arguments[_i];
|
|
176
|
+
}
|
|
177
|
+
return __awaiter(_this, __spreadArray([batchDeleteRequestDto_1, authorization_1], args_1, true), void 0, function (batchDeleteRequestDto, authorization, options) {
|
|
162
178
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
179
|
+
if (options === void 0) { options = {}; }
|
|
163
180
|
return __generator(this, function (_a) {
|
|
164
181
|
switch (_a.label) {
|
|
165
182
|
case 0:
|
|
@@ -204,10 +221,14 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
204
221
|
* @param {*} [options] Override http request option.
|
|
205
222
|
* @throws {RequiredError}
|
|
206
223
|
*/
|
|
207
|
-
disableUsers: function (
|
|
208
|
-
|
|
209
|
-
|
|
224
|
+
disableUsers: function (disableUsersRequestDto_1, authorization_1) {
|
|
225
|
+
var args_1 = [];
|
|
226
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
227
|
+
args_1[_i - 2] = arguments[_i];
|
|
228
|
+
}
|
|
229
|
+
return __awaiter(_this, __spreadArray([disableUsersRequestDto_1, authorization_1], args_1, true), void 0, function (disableUsersRequestDto, authorization, options) {
|
|
210
230
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
231
|
+
if (options === void 0) { options = {}; }
|
|
211
232
|
return __generator(this, function (_a) {
|
|
212
233
|
switch (_a.label) {
|
|
213
234
|
case 0:
|
|
@@ -252,10 +273,14 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
252
273
|
* @param {*} [options] Override http request option.
|
|
253
274
|
* @throws {RequiredError}
|
|
254
275
|
*/
|
|
255
|
-
enableUsers: function (
|
|
256
|
-
|
|
257
|
-
|
|
276
|
+
enableUsers: function (enableUsersRequestDto_1, authorization_1) {
|
|
277
|
+
var args_1 = [];
|
|
278
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
279
|
+
args_1[_i - 2] = arguments[_i];
|
|
280
|
+
}
|
|
281
|
+
return __awaiter(_this, __spreadArray([enableUsersRequestDto_1, authorization_1], args_1, true), void 0, function (enableUsersRequestDto, authorization, options) {
|
|
258
282
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
283
|
+
if (options === void 0) { options = {}; }
|
|
259
284
|
return __generator(this, function (_a) {
|
|
260
285
|
switch (_a.label) {
|
|
261
286
|
case 0:
|
|
@@ -301,10 +326,14 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
301
326
|
* @param {*} [options] Override http request option.
|
|
302
327
|
* @throws {RequiredError}
|
|
303
328
|
*/
|
|
304
|
-
getUser: function (
|
|
305
|
-
|
|
306
|
-
|
|
329
|
+
getUser: function (code_1, authorization_1, expand_1) {
|
|
330
|
+
var args_1 = [];
|
|
331
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
332
|
+
args_1[_i - 3] = arguments[_i];
|
|
333
|
+
}
|
|
334
|
+
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
307
335
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
336
|
+
if (options === void 0) { options = {}; }
|
|
308
337
|
return __generator(this, function (_a) {
|
|
309
338
|
switch (_a.label) {
|
|
310
339
|
case 0:
|
|
@@ -352,10 +381,14 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
352
381
|
* @param {*} [options] Override http request option.
|
|
353
382
|
* @throws {RequiredError}
|
|
354
383
|
*/
|
|
355
|
-
linkUserWithPartner: function (
|
|
356
|
-
|
|
357
|
-
|
|
384
|
+
linkUserWithPartner: function (code_1, linkUserWithPartnerRequestDtoRest_1, authorization_1) {
|
|
385
|
+
var args_1 = [];
|
|
386
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
387
|
+
args_1[_i - 3] = arguments[_i];
|
|
388
|
+
}
|
|
389
|
+
return __awaiter(_this, __spreadArray([code_1, linkUserWithPartnerRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, linkUserWithPartnerRequestDtoRest, authorization, options) {
|
|
358
390
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
391
|
+
if (options === void 0) { options = {}; }
|
|
359
392
|
return __generator(this, function (_a) {
|
|
360
393
|
switch (_a.label) {
|
|
361
394
|
case 0:
|
|
@@ -410,10 +443,14 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
410
443
|
* @param {*} [options] Override http request option.
|
|
411
444
|
* @throws {RequiredError}
|
|
412
445
|
*/
|
|
413
|
-
listUsers: function (
|
|
414
|
-
|
|
415
|
-
|
|
446
|
+
listUsers: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
447
|
+
var args_1 = [];
|
|
448
|
+
for (var _i = 8; _i < arguments.length; _i++) {
|
|
449
|
+
args_1[_i - 8] = arguments[_i];
|
|
450
|
+
}
|
|
451
|
+
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
416
452
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
453
|
+
if (options === void 0) { options = {}; }
|
|
417
454
|
return __generator(this, function (_a) {
|
|
418
455
|
switch (_a.label) {
|
|
419
456
|
case 0:
|
package/dist/base.js
CHANGED
|
@@ -54,13 +54,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
54
54
|
}) : function(o, v) {
|
|
55
55
|
o["default"] = v;
|
|
56
56
|
});
|
|
57
|
-
var __importStar = (this && this.__importStar) || function (
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
};
|
|
57
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
58
|
+
var ownKeys = function(o) {
|
|
59
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
60
|
+
var ar = [];
|
|
61
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
62
|
+
return ar;
|
|
63
|
+
};
|
|
64
|
+
return ownKeys(o);
|
|
65
|
+
};
|
|
66
|
+
return function (mod) {
|
|
67
|
+
if (mod && mod.__esModule) return mod;
|
|
68
|
+
var result = {};
|
|
69
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
70
|
+
__setModuleDefault(result, mod);
|
|
71
|
+
return result;
|
|
72
|
+
};
|
|
73
|
+
})();
|
|
64
74
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
65
75
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
66
76
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -71,8 +81,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
71
81
|
});
|
|
72
82
|
};
|
|
73
83
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
74
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
75
|
-
return g =
|
|
84
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
85
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
76
86
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
77
87
|
function step(op) {
|
|
78
88
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -101,7 +111,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
101
111
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
102
112
|
};
|
|
103
113
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104
|
-
exports.RequiredError = exports.BaseAPI = exports.
|
|
114
|
+
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
115
|
+
exports.resetRetry = resetRetry;
|
|
105
116
|
var configuration_1 = require("./configuration");
|
|
106
117
|
// Some imports not used depending on template conditions
|
|
107
118
|
// @ts-ignore
|
|
@@ -132,13 +143,12 @@ var Environment;
|
|
|
132
143
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
144
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
145
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
|
-
})(Environment
|
|
146
|
+
})(Environment || (exports.Environment = Environment = {}));
|
|
136
147
|
var _retry_count = 0;
|
|
137
148
|
var _retry = null;
|
|
138
149
|
function resetRetry() {
|
|
139
150
|
_retry_count = 0;
|
|
140
151
|
}
|
|
141
|
-
exports.resetRetry = resetRetry;
|
|
142
152
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
143
153
|
/**
|
|
144
154
|
*
|
|
@@ -162,9 +172,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
162
172
|
}
|
|
163
173
|
this.attachInterceptor(axios);
|
|
164
174
|
}
|
|
165
|
-
BaseAPI.prototype.initialize = function (
|
|
166
|
-
|
|
167
|
-
|
|
175
|
+
BaseAPI.prototype.initialize = function () {
|
|
176
|
+
return __awaiter(this, arguments, void 0, function (env) {
|
|
177
|
+
if (env === void 0) { env = Environment.Production; }
|
|
168
178
|
return __generator(this, function (_a) {
|
|
169
179
|
switch (_a.label) {
|
|
170
180
|
case 0:
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL Tenant Service
|
|
69
69
|
* The EMIL TenantService API description
|
package/dist/common.js
CHANGED
|
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
36
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
37
|
-
return g =
|
|
36
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
37
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
38
38
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
39
39
|
function step(op) {
|
|
40
40
|
if (f) throw new TypeError("Generator is already executing.");
|
package/dist/models/index.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ export * from './create-dashboard-request-dto';
|
|
|
10
10
|
export * from './create-dashboard-response-class';
|
|
11
11
|
export * from './create-data-report-request-dto';
|
|
12
12
|
export * from './create-data-report-response-class';
|
|
13
|
-
export * from './create-tenant-db-config-request-dto';
|
|
14
13
|
export * from './create-tenant-request-dto';
|
|
15
14
|
export * from './custom-field-dto';
|
|
16
15
|
export * from './custom-schema-class';
|
package/dist/models/index.js
CHANGED
|
@@ -26,7 +26,6 @@ __exportStar(require("./create-dashboard-request-dto"), exports);
|
|
|
26
26
|
__exportStar(require("./create-dashboard-response-class"), exports);
|
|
27
27
|
__exportStar(require("./create-data-report-request-dto"), exports);
|
|
28
28
|
__exportStar(require("./create-data-report-response-class"), exports);
|
|
29
|
-
__exportStar(require("./create-tenant-db-config-request-dto"), exports);
|
|
30
29
|
__exportStar(require("./create-tenant-request-dto"), exports);
|
|
31
30
|
__exportStar(require("./custom-field-dto"), exports);
|
|
32
31
|
__exportStar(require("./custom-schema-class"), exports);
|
|
@@ -53,18 +53,6 @@ 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;
|
|
68
56
|
/**
|
|
69
57
|
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
70
58
|
* @type {string}
|
|
@@ -89,6 +77,18 @@ export interface InviteClass {
|
|
|
89
77
|
* @memberof InviteClass
|
|
90
78
|
*/
|
|
91
79
|
'organizationId'?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Identifier of the user who created the record.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof InviteClass
|
|
84
|
+
*/
|
|
85
|
+
'createdBy': string;
|
|
86
|
+
/**
|
|
87
|
+
* Identifier of the user who last updated the record.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof InviteClass
|
|
90
|
+
*/
|
|
91
|
+
'updatedBy': string;
|
|
92
92
|
/**
|
|
93
93
|
* Organization associated with the user
|
|
94
94
|
* @type {OrganizationClass}
|
|
@@ -91,29 +91,29 @@ export interface UserClass {
|
|
|
91
91
|
*/
|
|
92
92
|
'updatedAt': string;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
95
95
|
* @type {string}
|
|
96
96
|
* @memberof UserClass
|
|
97
97
|
*/
|
|
98
|
-
'
|
|
98
|
+
'ern': string;
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Associated partner code - only available if the partner has been invited and registered in EIS platform
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof UserClass
|
|
103
103
|
*/
|
|
104
|
-
'
|
|
104
|
+
'partnerCode'?: string;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Identifier of the user who created the record.
|
|
107
107
|
* @type {string}
|
|
108
108
|
* @memberof UserClass
|
|
109
109
|
*/
|
|
110
|
-
'
|
|
110
|
+
'createdBy': string;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Identifier of the user who last updated the record.
|
|
113
113
|
* @type {string}
|
|
114
114
|
* @memberof UserClass
|
|
115
115
|
*/
|
|
116
|
-
'
|
|
116
|
+
'updatedBy': string;
|
|
117
117
|
/**
|
|
118
118
|
* Organization associated with the user
|
|
119
119
|
* @type {OrganizationClass}
|
package/models/index.ts
CHANGED
|
@@ -10,7 +10,6 @@ export * from './create-dashboard-request-dto';
|
|
|
10
10
|
export * from './create-dashboard-response-class';
|
|
11
11
|
export * from './create-data-report-request-dto';
|
|
12
12
|
export * from './create-data-report-response-class';
|
|
13
|
-
export * from './create-tenant-db-config-request-dto';
|
|
14
13
|
export * from './create-tenant-request-dto';
|
|
15
14
|
export * from './custom-field-dto';
|
|
16
15
|
export * from './custom-schema-class';
|
package/models/invite-class.ts
CHANGED
|
@@ -58,18 +58,6 @@ export interface InviteClass {
|
|
|
58
58
|
* @memberof InviteClass
|
|
59
59
|
*/
|
|
60
60
|
'updatedAt': string;
|
|
61
|
-
/**
|
|
62
|
-
* Identifier of the user who created the record.
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof InviteClass
|
|
65
|
-
*/
|
|
66
|
-
'createdBy': string;
|
|
67
|
-
/**
|
|
68
|
-
* Identifier of the user who last updated the record.
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof InviteClass
|
|
71
|
-
*/
|
|
72
|
-
'updatedBy': string;
|
|
73
61
|
/**
|
|
74
62
|
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
75
63
|
* @type {string}
|
|
@@ -94,6 +82,18 @@ export interface InviteClass {
|
|
|
94
82
|
* @memberof InviteClass
|
|
95
83
|
*/
|
|
96
84
|
'organizationId'?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Identifier of the user who created the record.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof InviteClass
|
|
89
|
+
*/
|
|
90
|
+
'createdBy': string;
|
|
91
|
+
/**
|
|
92
|
+
* Identifier of the user who last updated the record.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof InviteClass
|
|
95
|
+
*/
|
|
96
|
+
'updatedBy': string;
|
|
97
97
|
/**
|
|
98
98
|
* Organization associated with the user
|
|
99
99
|
* @type {OrganizationClass}
|
package/models/user-class.ts
CHANGED
|
@@ -96,29 +96,29 @@ export interface UserClass {
|
|
|
96
96
|
*/
|
|
97
97
|
'updatedAt': string;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
100
100
|
* @type {string}
|
|
101
101
|
* @memberof UserClass
|
|
102
102
|
*/
|
|
103
|
-
'
|
|
103
|
+
'ern': string;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Associated partner code - only available if the partner has been invited and registered in EIS platform
|
|
106
106
|
* @type {string}
|
|
107
107
|
* @memberof UserClass
|
|
108
108
|
*/
|
|
109
|
-
'
|
|
109
|
+
'partnerCode'?: string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Identifier of the user who created the record.
|
|
112
112
|
* @type {string}
|
|
113
113
|
* @memberof UserClass
|
|
114
114
|
*/
|
|
115
|
-
'
|
|
115
|
+
'createdBy': string;
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* Identifier of the user who last updated the record.
|
|
118
118
|
* @type {string}
|
|
119
119
|
* @memberof UserClass
|
|
120
120
|
*/
|
|
121
|
-
'
|
|
121
|
+
'updatedBy': string;
|
|
122
122
|
/**
|
|
123
123
|
* Organization associated with the user
|
|
124
124
|
* @type {OrganizationClass}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/tenant-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.1-beta.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/tenant-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": "^
|
|
21
|
+
"axios": "^1.9.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^
|
|
27
|
-
"typescript": "^
|
|
26
|
+
"@types/node": "^22.15.18",
|
|
27
|
+
"typescript": "^5.8"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|