@emilgroup/tenant-sdk-node 1.2.2 → 1.4.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.
@@ -0,0 +1,248 @@
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
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 = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ // URLSearchParams not necessarily used
89
+ // @ts-ignore
90
+ var url_1 = require("url");
91
+ var FormData = require('form-data');
92
+ /**
93
+ * RolesApi - axios parameter creator
94
+ * @export
95
+ */
96
+ var RolesApiAxiosParamCreator = function (configuration) {
97
+ var _this = this;
98
+ return {
99
+ /**
100
+ *
101
+ * @param {number} [pageSize] Page size
102
+ * @param {string} [pageToken] Page token
103
+ * @param {string} [filter] List filter
104
+ * @param {string} [search] Search query
105
+ * @param {string} [order] Ordering criteria
106
+ * @param {string} [expand] Extra fields to fetch
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ listRoles: function (pageSize, pageToken, filter, search, order, expand, options) {
111
+ if (options === void 0) { options = {}; }
112
+ return __awaiter(_this, void 0, void 0, function () {
113
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
114
+ return __generator(this, function (_a) {
115
+ switch (_a.label) {
116
+ case 0:
117
+ localVarPath = "/tenantservice/v1/roles";
118
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
119
+ if (configuration) {
120
+ baseOptions = configuration.baseOptions;
121
+ baseAccessToken = configuration.accessToken;
122
+ }
123
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
124
+ localVarHeaderParameter = {};
125
+ localVarQueryParameter = {};
126
+ // authentication bearer required
127
+ // http bearer authentication required
128
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
129
+ case 1:
130
+ // authentication bearer required
131
+ // http bearer authentication required
132
+ _a.sent();
133
+ if (pageSize !== undefined) {
134
+ localVarQueryParameter['pageSize'] = pageSize;
135
+ }
136
+ if (pageToken !== undefined) {
137
+ localVarQueryParameter['pageToken'] = pageToken;
138
+ }
139
+ if (filter !== undefined) {
140
+ localVarQueryParameter['filter'] = filter;
141
+ }
142
+ if (search !== undefined) {
143
+ localVarQueryParameter['search'] = search;
144
+ }
145
+ if (order !== undefined) {
146
+ localVarQueryParameter['order'] = order;
147
+ }
148
+ if (expand !== undefined) {
149
+ localVarQueryParameter['expand'] = expand;
150
+ }
151
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
152
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
154
+ return [2 /*return*/, {
155
+ url: (0, common_1.toPathString)(localVarUrlObj),
156
+ options: localVarRequestOptions,
157
+ }];
158
+ }
159
+ });
160
+ });
161
+ },
162
+ };
163
+ };
164
+ exports.RolesApiAxiosParamCreator = RolesApiAxiosParamCreator;
165
+ /**
166
+ * RolesApi - functional programming interface
167
+ * @export
168
+ */
169
+ var RolesApiFp = function (configuration) {
170
+ var localVarAxiosParamCreator = (0, exports.RolesApiAxiosParamCreator)(configuration);
171
+ return {
172
+ /**
173
+ *
174
+ * @param {number} [pageSize] Page size
175
+ * @param {string} [pageToken] Page token
176
+ * @param {string} [filter] List filter
177
+ * @param {string} [search] Search query
178
+ * @param {string} [order] Ordering criteria
179
+ * @param {string} [expand] Extra fields to fetch
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ listRoles: function (pageSize, pageToken, filter, search, order, expand, options) {
184
+ return __awaiter(this, void 0, void 0, function () {
185
+ var localVarAxiosArgs;
186
+ return __generator(this, function (_a) {
187
+ switch (_a.label) {
188
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRoles(pageSize, pageToken, filter, search, order, expand, options)];
189
+ case 1:
190
+ localVarAxiosArgs = _a.sent();
191
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
192
+ }
193
+ });
194
+ });
195
+ },
196
+ };
197
+ };
198
+ exports.RolesApiFp = RolesApiFp;
199
+ /**
200
+ * RolesApi - factory interface
201
+ * @export
202
+ */
203
+ var RolesApiFactory = function (configuration, basePath, axios) {
204
+ var localVarFp = (0, exports.RolesApiFp)(configuration);
205
+ return {
206
+ /**
207
+ *
208
+ * @param {number} [pageSize] Page size
209
+ * @param {string} [pageToken] Page token
210
+ * @param {string} [filter] List filter
211
+ * @param {string} [search] Search query
212
+ * @param {string} [order] Ordering criteria
213
+ * @param {string} [expand] Extra fields to fetch
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ listRoles: function (pageSize, pageToken, filter, search, order, expand, options) {
218
+ return localVarFp.listRoles(pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
219
+ },
220
+ };
221
+ };
222
+ exports.RolesApiFactory = RolesApiFactory;
223
+ /**
224
+ * RolesApi - object-oriented interface
225
+ * @export
226
+ * @class RolesApi
227
+ * @extends {BaseAPI}
228
+ */
229
+ var RolesApi = /** @class */ (function (_super) {
230
+ __extends(RolesApi, _super);
231
+ function RolesApi() {
232
+ return _super !== null && _super.apply(this, arguments) || this;
233
+ }
234
+ /**
235
+ *
236
+ * @param {RolesApiListRolesRequest} requestParameters Request parameters.
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ * @memberof RolesApi
240
+ */
241
+ RolesApi.prototype.listRoles = function (requestParameters, options) {
242
+ var _this = this;
243
+ if (requestParameters === void 0) { requestParameters = {}; }
244
+ return (0, exports.RolesApiFp)(this.configuration).listRoles(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
245
+ };
246
+ return RolesApi;
247
+ }(base_1.BaseAPI));
248
+ exports.RolesApi = RolesApi;
@@ -0,0 +1,92 @@
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
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { GetSettingsResponseClass } from '../models';
16
+ /**
17
+ * SettingsApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @param {string} keys
24
+ * @param {string} [authorization] Bearer Token
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ getTenantSettings: (keys: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
29
+ };
30
+ /**
31
+ * SettingsApi - functional programming interface
32
+ * @export
33
+ */
34
+ export declare const SettingsApiFp: (configuration?: Configuration) => {
35
+ /**
36
+ *
37
+ * @param {string} keys
38
+ * @param {string} [authorization] Bearer Token
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ getTenantSettings(keys: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingsResponseClass>>;
43
+ };
44
+ /**
45
+ * SettingsApi - factory interface
46
+ * @export
47
+ */
48
+ export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
49
+ /**
50
+ *
51
+ * @param {string} keys
52
+ * @param {string} [authorization] Bearer Token
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ getTenantSettings(keys: string, authorization?: string, options?: any): AxiosPromise<GetSettingsResponseClass>;
57
+ };
58
+ /**
59
+ * Request parameters for getTenantSettings operation in SettingsApi.
60
+ * @export
61
+ * @interface SettingsApiGetTenantSettingsRequest
62
+ */
63
+ export interface SettingsApiGetTenantSettingsRequest {
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof SettingsApiGetTenantSettings
68
+ */
69
+ readonly keys: string;
70
+ /**
71
+ * Bearer Token
72
+ * @type {string}
73
+ * @memberof SettingsApiGetTenantSettings
74
+ */
75
+ readonly authorization?: string;
76
+ }
77
+ /**
78
+ * SettingsApi - object-oriented interface
79
+ * @export
80
+ * @class SettingsApi
81
+ * @extends {BaseAPI}
82
+ */
83
+ export declare class SettingsApi extends BaseAPI {
84
+ /**
85
+ *
86
+ * @param {SettingsApiGetTenantSettingsRequest} requestParameters Request parameters.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ * @memberof SettingsApi
90
+ */
91
+ getTenantSettings(requestParameters: SettingsApiGetTenantSettingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSettingsResponseClass, any>>;
92
+ }
@@ -0,0 +1,225 @@
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
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 = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.SettingsApi = exports.SettingsApiFactory = exports.SettingsApiFp = exports.SettingsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ // URLSearchParams not necessarily used
89
+ // @ts-ignore
90
+ var url_1 = require("url");
91
+ var FormData = require('form-data');
92
+ /**
93
+ * SettingsApi - axios parameter creator
94
+ * @export
95
+ */
96
+ var SettingsApiAxiosParamCreator = function (configuration) {
97
+ var _this = this;
98
+ return {
99
+ /**
100
+ *
101
+ * @param {string} keys
102
+ * @param {string} [authorization] Bearer Token
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ getTenantSettings: function (keys, authorization, options) {
107
+ if (options === void 0) { options = {}; }
108
+ return __awaiter(_this, void 0, void 0, function () {
109
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
110
+ return __generator(this, function (_a) {
111
+ switch (_a.label) {
112
+ case 0:
113
+ // verify required parameter 'keys' is not null or undefined
114
+ (0, common_1.assertParamExists)('getTenantSettings', 'keys', keys);
115
+ localVarPath = "/tenantservice/v1/settings/tenant";
116
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
117
+ if (configuration) {
118
+ baseOptions = configuration.baseOptions;
119
+ baseAccessToken = configuration.accessToken;
120
+ }
121
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
122
+ localVarHeaderParameter = {};
123
+ localVarQueryParameter = {};
124
+ // authentication bearer required
125
+ // http bearer authentication required
126
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
127
+ case 1:
128
+ // authentication bearer required
129
+ // http bearer authentication required
130
+ _a.sent();
131
+ if (keys !== undefined) {
132
+ localVarQueryParameter['keys'] = keys;
133
+ }
134
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
135
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
136
+ }
137
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
138
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
139
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
140
+ return [2 /*return*/, {
141
+ url: (0, common_1.toPathString)(localVarUrlObj),
142
+ options: localVarRequestOptions,
143
+ }];
144
+ }
145
+ });
146
+ });
147
+ },
148
+ };
149
+ };
150
+ exports.SettingsApiAxiosParamCreator = SettingsApiAxiosParamCreator;
151
+ /**
152
+ * SettingsApi - functional programming interface
153
+ * @export
154
+ */
155
+ var SettingsApiFp = function (configuration) {
156
+ var localVarAxiosParamCreator = (0, exports.SettingsApiAxiosParamCreator)(configuration);
157
+ return {
158
+ /**
159
+ *
160
+ * @param {string} keys
161
+ * @param {string} [authorization] Bearer Token
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ getTenantSettings: function (keys, authorization, options) {
166
+ return __awaiter(this, void 0, void 0, function () {
167
+ var localVarAxiosArgs;
168
+ return __generator(this, function (_a) {
169
+ switch (_a.label) {
170
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTenantSettings(keys, authorization, options)];
171
+ case 1:
172
+ localVarAxiosArgs = _a.sent();
173
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
174
+ }
175
+ });
176
+ });
177
+ },
178
+ };
179
+ };
180
+ exports.SettingsApiFp = SettingsApiFp;
181
+ /**
182
+ * SettingsApi - factory interface
183
+ * @export
184
+ */
185
+ var SettingsApiFactory = function (configuration, basePath, axios) {
186
+ var localVarFp = (0, exports.SettingsApiFp)(configuration);
187
+ return {
188
+ /**
189
+ *
190
+ * @param {string} keys
191
+ * @param {string} [authorization] Bearer Token
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ getTenantSettings: function (keys, authorization, options) {
196
+ return localVarFp.getTenantSettings(keys, authorization, options).then(function (request) { return request(axios, basePath); });
197
+ },
198
+ };
199
+ };
200
+ exports.SettingsApiFactory = SettingsApiFactory;
201
+ /**
202
+ * SettingsApi - object-oriented interface
203
+ * @export
204
+ * @class SettingsApi
205
+ * @extends {BaseAPI}
206
+ */
207
+ var SettingsApi = /** @class */ (function (_super) {
208
+ __extends(SettingsApi, _super);
209
+ function SettingsApi() {
210
+ return _super !== null && _super.apply(this, arguments) || this;
211
+ }
212
+ /**
213
+ *
214
+ * @param {SettingsApiGetTenantSettingsRequest} requestParameters Request parameters.
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ * @memberof SettingsApi
218
+ */
219
+ SettingsApi.prototype.getTenantSettings = function (requestParameters, options) {
220
+ var _this = this;
221
+ return (0, exports.SettingsApiFp)(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
222
+ };
223
+ return SettingsApi;
224
+ }(base_1.BaseAPI));
225
+ exports.SettingsApi = SettingsApi;
package/dist/api.d.ts CHANGED
@@ -12,5 +12,9 @@
12
12
  export * from './api/custom-schema-api';
13
13
  export * from './api/invite-organizations-api';
14
14
  export * from './api/invite-users-api';
15
+ export * from './api/list-organization-invitations-api';
15
16
  export * from './api/organizations-api';
17
+ export * from './api/re-invite-an-organization-api';
18
+ export * from './api/roles-api';
19
+ export * from './api/settings-api';
16
20
  export * from './api/users-api';
package/dist/api.js CHANGED
@@ -30,5 +30,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/custom-schema-api"), exports);
31
31
  __exportStar(require("./api/invite-organizations-api"), exports);
32
32
  __exportStar(require("./api/invite-users-api"), exports);
33
+ __exportStar(require("./api/list-organization-invitations-api"), exports);
33
34
  __exportStar(require("./api/organizations-api"), exports);
35
+ __exportStar(require("./api/re-invite-an-organization-api"), exports);
36
+ __exportStar(require("./api/roles-api"), exports);
37
+ __exportStar(require("./api/settings-api"), exports);
34
38
  __exportStar(require("./api/users-api"), exports);
@@ -31,11 +31,13 @@ export * from './list-custom-schemas-response-class';
31
31
  export * from './list-invites-response-class';
32
32
  export * from './list-org-invitations-response-class';
33
33
  export * from './list-organizations-response-class';
34
+ export * from './list-roles-response-class';
34
35
  export * from './list-users-response-class';
35
36
  export * from './org-invitation-class';
36
37
  export * from './org-invitation-response-class';
37
38
  export * from './organization-class';
38
39
  export * from './permission-class';
40
+ export * from './re-invite-org-request-dto';
39
41
  export * from './role-class';
40
42
  export * from './set-setting-request-dto';
41
43
  export * from './set-user-setting-response-class';
@@ -47,11 +47,13 @@ __exportStar(require("./list-custom-schemas-response-class"), exports);
47
47
  __exportStar(require("./list-invites-response-class"), exports);
48
48
  __exportStar(require("./list-org-invitations-response-class"), exports);
49
49
  __exportStar(require("./list-organizations-response-class"), exports);
50
+ __exportStar(require("./list-roles-response-class"), exports);
50
51
  __exportStar(require("./list-users-response-class"), exports);
51
52
  __exportStar(require("./org-invitation-class"), exports);
52
53
  __exportStar(require("./org-invitation-response-class"), exports);
53
54
  __exportStar(require("./organization-class"), exports);
54
55
  __exportStar(require("./permission-class"), exports);
56
+ __exportStar(require("./re-invite-org-request-dto"), exports);
55
57
  __exportStar(require("./role-class"), exports);
56
58
  __exportStar(require("./set-setting-request-dto"), exports);
57
59
  __exportStar(require("./set-user-setting-response-class"), exports);
@@ -0,0 +1,31 @@
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
+ import { RoleClass } from './role-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListRolesResponseClass
17
+ */
18
+ export interface ListRolesResponseClass {
19
+ /**
20
+ * Roles
21
+ * @type {Array<RoleClass>}
22
+ * @memberof ListRolesResponseClass
23
+ */
24
+ 'items': Array<RoleClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListRolesResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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 });
@@ -34,7 +34,7 @@ export interface OrganizationClass {
34
34
  */
35
35
  'parentId'?: number;
36
36
  /**
37
- * ERN of the organization.
37
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
38
38
  * @type {string}
39
39
  * @memberof OrganizationClass
40
40
  */