@emilgroup/tenant-sdk 1.33.1-beta.29 → 1.33.1-beta.30
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/api/settings-api.ts +0 -103
- package/dist/api/settings-api.d.ts +0 -53
- package/dist/api/settings-api.js +0 -89
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/set-setting-request-dto.d.ts +10 -4
- package/models/index.ts +0 -1
- package/models/set-setting-request-dto.ts +10 -4
- package/package.json +1 -1
- package/dist/models/set-tenant-setting-response-class.d.ts +0 -36
- package/dist/models/set-tenant-setting-response-class.js +0 -15
- package/models/set-tenant-setting-response-class.ts +0 -42
package/.openapi-generator/FILES
CHANGED
|
@@ -104,7 +104,6 @@ models/role-class.ts
|
|
|
104
104
|
models/run-data-report-request-dto.ts
|
|
105
105
|
models/run-data-report-response-class.ts
|
|
106
106
|
models/set-setting-request-dto.ts
|
|
107
|
-
models/set-tenant-setting-response-class.ts
|
|
108
107
|
models/subscription-class.ts
|
|
109
108
|
models/tenant-admin-user-dto.ts
|
|
110
109
|
models/tenant-settings-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/tenant-sdk@1.33.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.33.1-beta.30 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.33.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.33.1-beta.30
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/settings-api.ts
CHANGED
|
@@ -22,10 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { GetSettingsResponseClass } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { SetSettingRequestDto } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { SetTenantSettingResponseClass } from '../models';
|
|
29
25
|
/**
|
|
30
26
|
* SettingsApi - axios parameter creator
|
|
31
27
|
* @export
|
|
@@ -75,52 +71,6 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
75
71
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
76
72
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
73
|
|
|
78
|
-
return {
|
|
79
|
-
url: toPathString(localVarUrlObj),
|
|
80
|
-
options: localVarRequestOptions,
|
|
81
|
-
};
|
|
82
|
-
},
|
|
83
|
-
/**
|
|
84
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
85
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
86
|
-
* @param {string} [authorization] Bearer Token
|
|
87
|
-
* @param {*} [options] Override http request option.
|
|
88
|
-
* @throws {RequiredError}
|
|
89
|
-
*/
|
|
90
|
-
setTenantSetting: async (setSettingRequestDto: SetSettingRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91
|
-
// verify required parameter 'setSettingRequestDto' is not null or undefined
|
|
92
|
-
assertParamExists('setTenantSetting', 'setSettingRequestDto', setSettingRequestDto)
|
|
93
|
-
const localVarPath = `/tenantservice/v1/settings/tenant`;
|
|
94
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
95
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
96
|
-
let baseOptions;
|
|
97
|
-
let baseAccessToken;
|
|
98
|
-
if (configuration) {
|
|
99
|
-
baseOptions = configuration.baseOptions;
|
|
100
|
-
baseAccessToken = configuration.accessToken;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
104
|
-
const localVarHeaderParameter = {} as any;
|
|
105
|
-
const localVarQueryParameter = {} as any;
|
|
106
|
-
|
|
107
|
-
// authentication bearer required
|
|
108
|
-
// http bearer authentication required
|
|
109
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
110
|
-
|
|
111
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
112
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
118
|
-
|
|
119
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
120
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
122
|
-
localVarRequestOptions.data = serializeDataIfNeeded(setSettingRequestDto, localVarRequestOptions, configuration)
|
|
123
|
-
|
|
124
74
|
return {
|
|
125
75
|
url: toPathString(localVarUrlObj),
|
|
126
76
|
options: localVarRequestOptions,
|
|
@@ -148,17 +98,6 @@ export const SettingsApiFp = function(configuration?: Configuration) {
|
|
|
148
98
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantSettings(keys, authorization, options);
|
|
149
99
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
150
100
|
},
|
|
151
|
-
/**
|
|
152
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
153
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
154
|
-
* @param {string} [authorization] Bearer Token
|
|
155
|
-
* @param {*} [options] Override http request option.
|
|
156
|
-
* @throws {RequiredError}
|
|
157
|
-
*/
|
|
158
|
-
async setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetTenantSettingResponseClass>> {
|
|
159
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setTenantSetting(setSettingRequestDto, authorization, options);
|
|
160
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
161
|
-
},
|
|
162
101
|
}
|
|
163
102
|
};
|
|
164
103
|
|
|
@@ -180,16 +119,6 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
180
119
|
getTenantSettings(keys: string, authorization?: string, options?: any): AxiosPromise<GetSettingsResponseClass> {
|
|
181
120
|
return localVarFp.getTenantSettings(keys, authorization, options).then((request) => request(axios, basePath));
|
|
182
121
|
},
|
|
183
|
-
/**
|
|
184
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
185
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
186
|
-
* @param {string} [authorization] Bearer Token
|
|
187
|
-
* @param {*} [options] Override http request option.
|
|
188
|
-
* @throws {RequiredError}
|
|
189
|
-
*/
|
|
190
|
-
setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: any): AxiosPromise<SetTenantSettingResponseClass> {
|
|
191
|
-
return localVarFp.setTenantSetting(setSettingRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
192
|
-
},
|
|
193
122
|
};
|
|
194
123
|
};
|
|
195
124
|
|
|
@@ -214,27 +143,6 @@ export interface SettingsApiGetTenantSettingsRequest {
|
|
|
214
143
|
readonly authorization?: string
|
|
215
144
|
}
|
|
216
145
|
|
|
217
|
-
/**
|
|
218
|
-
* Request parameters for setTenantSetting operation in SettingsApi.
|
|
219
|
-
* @export
|
|
220
|
-
* @interface SettingsApiSetTenantSettingRequest
|
|
221
|
-
*/
|
|
222
|
-
export interface SettingsApiSetTenantSettingRequest {
|
|
223
|
-
/**
|
|
224
|
-
*
|
|
225
|
-
* @type {SetSettingRequestDto}
|
|
226
|
-
* @memberof SettingsApiSetTenantSetting
|
|
227
|
-
*/
|
|
228
|
-
readonly setSettingRequestDto: SetSettingRequestDto
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Bearer Token
|
|
232
|
-
* @type {string}
|
|
233
|
-
* @memberof SettingsApiSetTenantSetting
|
|
234
|
-
*/
|
|
235
|
-
readonly authorization?: string
|
|
236
|
-
}
|
|
237
|
-
|
|
238
146
|
/**
|
|
239
147
|
* SettingsApi - object-oriented interface
|
|
240
148
|
* @export
|
|
@@ -253,15 +161,4 @@ export class SettingsApi extends BaseAPI {
|
|
|
253
161
|
public getTenantSettings(requestParameters: SettingsApiGetTenantSettingsRequest, options?: AxiosRequestConfig) {
|
|
254
162
|
return SettingsApiFp(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
255
163
|
}
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
259
|
-
* @param {SettingsApiSetTenantSettingRequest} requestParameters Request parameters.
|
|
260
|
-
* @param {*} [options] Override http request option.
|
|
261
|
-
* @throws {RequiredError}
|
|
262
|
-
* @memberof SettingsApi
|
|
263
|
-
*/
|
|
264
|
-
public setTenantSetting(requestParameters: SettingsApiSetTenantSettingRequest, options?: AxiosRequestConfig) {
|
|
265
|
-
return SettingsApiFp(this.configuration).setTenantSetting(requestParameters.setSettingRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
266
|
-
}
|
|
267
164
|
}
|
|
@@ -13,8 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { GetSettingsResponseClass } from '../models';
|
|
16
|
-
import { SetSettingRequestDto } from '../models';
|
|
17
|
-
import { SetTenantSettingResponseClass } from '../models';
|
|
18
16
|
/**
|
|
19
17
|
* SettingsApi - axios parameter creator
|
|
20
18
|
* @export
|
|
@@ -29,14 +27,6 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
29
27
|
* @throws {RequiredError}
|
|
30
28
|
*/
|
|
31
29
|
getTenantSettings: (keys: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
-
/**
|
|
33
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
34
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
35
|
-
* @param {string} [authorization] Bearer Token
|
|
36
|
-
* @param {*} [options] Override http request option.
|
|
37
|
-
* @throws {RequiredError}
|
|
38
|
-
*/
|
|
39
|
-
setTenantSetting: (setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
30
|
};
|
|
41
31
|
/**
|
|
42
32
|
* SettingsApi - functional programming interface
|
|
@@ -52,14 +42,6 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
|
52
42
|
* @throws {RequiredError}
|
|
53
43
|
*/
|
|
54
44
|
getTenantSettings(keys: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingsResponseClass>>;
|
|
55
|
-
/**
|
|
56
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
57
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
58
|
-
* @param {string} [authorization] Bearer Token
|
|
59
|
-
* @param {*} [options] Override http request option.
|
|
60
|
-
* @throws {RequiredError}
|
|
61
|
-
*/
|
|
62
|
-
setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetTenantSettingResponseClass>>;
|
|
63
45
|
};
|
|
64
46
|
/**
|
|
65
47
|
* SettingsApi - factory interface
|
|
@@ -75,14 +57,6 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
|
|
|
75
57
|
* @throws {RequiredError}
|
|
76
58
|
*/
|
|
77
59
|
getTenantSettings(keys: string, authorization?: string, options?: any): AxiosPromise<GetSettingsResponseClass>;
|
|
78
|
-
/**
|
|
79
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
80
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
81
|
-
* @param {string} [authorization] Bearer Token
|
|
82
|
-
* @param {*} [options] Override http request option.
|
|
83
|
-
* @throws {RequiredError}
|
|
84
|
-
*/
|
|
85
|
-
setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: any): AxiosPromise<SetTenantSettingResponseClass>;
|
|
86
60
|
};
|
|
87
61
|
/**
|
|
88
62
|
* Request parameters for getTenantSettings operation in SettingsApi.
|
|
@@ -103,25 +77,6 @@ export interface SettingsApiGetTenantSettingsRequest {
|
|
|
103
77
|
*/
|
|
104
78
|
readonly authorization?: string;
|
|
105
79
|
}
|
|
106
|
-
/**
|
|
107
|
-
* Request parameters for setTenantSetting operation in SettingsApi.
|
|
108
|
-
* @export
|
|
109
|
-
* @interface SettingsApiSetTenantSettingRequest
|
|
110
|
-
*/
|
|
111
|
-
export interface SettingsApiSetTenantSettingRequest {
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {SetSettingRequestDto}
|
|
115
|
-
* @memberof SettingsApiSetTenantSetting
|
|
116
|
-
*/
|
|
117
|
-
readonly setSettingRequestDto: SetSettingRequestDto;
|
|
118
|
-
/**
|
|
119
|
-
* Bearer Token
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof SettingsApiSetTenantSetting
|
|
122
|
-
*/
|
|
123
|
-
readonly authorization?: string;
|
|
124
|
-
}
|
|
125
80
|
/**
|
|
126
81
|
* SettingsApi - object-oriented interface
|
|
127
82
|
* @export
|
|
@@ -138,12 +93,4 @@ export declare class SettingsApi extends BaseAPI {
|
|
|
138
93
|
* @memberof SettingsApi
|
|
139
94
|
*/
|
|
140
95
|
getTenantSettings(requestParameters: SettingsApiGetTenantSettingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSettingsResponseClass, any, {}>>;
|
|
141
|
-
/**
|
|
142
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
143
|
-
* @param {SettingsApiSetTenantSettingRequest} requestParameters Request parameters.
|
|
144
|
-
* @param {*} [options] Override http request option.
|
|
145
|
-
* @throws {RequiredError}
|
|
146
|
-
* @memberof SettingsApi
|
|
147
|
-
*/
|
|
148
|
-
setTenantSetting(requestParameters: SettingsApiSetTenantSettingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetTenantSettingResponseClass, any, {}>>;
|
|
149
96
|
}
|
package/dist/api/settings-api.js
CHANGED
|
@@ -142,54 +142,6 @@ var SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
},
|
|
145
|
-
/**
|
|
146
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
147
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
148
|
-
* @param {string} [authorization] Bearer Token
|
|
149
|
-
* @param {*} [options] Override http request option.
|
|
150
|
-
* @throws {RequiredError}
|
|
151
|
-
*/
|
|
152
|
-
setTenantSetting: function (setSettingRequestDto, authorization, options) {
|
|
153
|
-
if (options === void 0) { options = {}; }
|
|
154
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
-
return __generator(this, function (_a) {
|
|
157
|
-
switch (_a.label) {
|
|
158
|
-
case 0:
|
|
159
|
-
// verify required parameter 'setSettingRequestDto' is not null or undefined
|
|
160
|
-
(0, common_1.assertParamExists)('setTenantSetting', 'setSettingRequestDto', setSettingRequestDto);
|
|
161
|
-
localVarPath = "/tenantservice/v1/settings/tenant";
|
|
162
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
|
-
if (configuration) {
|
|
164
|
-
baseOptions = configuration.baseOptions;
|
|
165
|
-
baseAccessToken = configuration.accessToken;
|
|
166
|
-
}
|
|
167
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
168
|
-
localVarHeaderParameter = {};
|
|
169
|
-
localVarQueryParameter = {};
|
|
170
|
-
// authentication bearer required
|
|
171
|
-
// http bearer authentication required
|
|
172
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
173
|
-
case 1:
|
|
174
|
-
// authentication bearer required
|
|
175
|
-
// http bearer authentication required
|
|
176
|
-
_a.sent();
|
|
177
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
178
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
179
|
-
}
|
|
180
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSettingRequestDto, localVarRequestOptions, configuration);
|
|
185
|
-
return [2 /*return*/, {
|
|
186
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
|
-
options: localVarRequestOptions,
|
|
188
|
-
}];
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
},
|
|
193
145
|
};
|
|
194
146
|
};
|
|
195
147
|
exports.SettingsApiAxiosParamCreator = SettingsApiAxiosParamCreator;
|
|
@@ -221,26 +173,6 @@ var SettingsApiFp = function (configuration) {
|
|
|
221
173
|
});
|
|
222
174
|
});
|
|
223
175
|
},
|
|
224
|
-
/**
|
|
225
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
226
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
227
|
-
* @param {string} [authorization] Bearer Token
|
|
228
|
-
* @param {*} [options] Override http request option.
|
|
229
|
-
* @throws {RequiredError}
|
|
230
|
-
*/
|
|
231
|
-
setTenantSetting: function (setSettingRequestDto, authorization, options) {
|
|
232
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
233
|
-
var localVarAxiosArgs;
|
|
234
|
-
return __generator(this, function (_a) {
|
|
235
|
-
switch (_a.label) {
|
|
236
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.setTenantSetting(setSettingRequestDto, authorization, options)];
|
|
237
|
-
case 1:
|
|
238
|
-
localVarAxiosArgs = _a.sent();
|
|
239
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
240
|
-
}
|
|
241
|
-
});
|
|
242
|
-
});
|
|
243
|
-
},
|
|
244
176
|
};
|
|
245
177
|
};
|
|
246
178
|
exports.SettingsApiFp = SettingsApiFp;
|
|
@@ -262,16 +194,6 @@ var SettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
262
194
|
getTenantSettings: function (keys, authorization, options) {
|
|
263
195
|
return localVarFp.getTenantSettings(keys, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
264
196
|
},
|
|
265
|
-
/**
|
|
266
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
267
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
268
|
-
* @param {string} [authorization] Bearer Token
|
|
269
|
-
* @param {*} [options] Override http request option.
|
|
270
|
-
* @throws {RequiredError}
|
|
271
|
-
*/
|
|
272
|
-
setTenantSetting: function (setSettingRequestDto, authorization, options) {
|
|
273
|
-
return localVarFp.setTenantSetting(setSettingRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
274
|
-
},
|
|
275
197
|
};
|
|
276
198
|
};
|
|
277
199
|
exports.SettingsApiFactory = SettingsApiFactory;
|
|
@@ -298,17 +220,6 @@ var SettingsApi = /** @class */ (function (_super) {
|
|
|
298
220
|
var _this = this;
|
|
299
221
|
return (0, exports.SettingsApiFp)(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
300
222
|
};
|
|
301
|
-
/**
|
|
302
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
303
|
-
* @param {SettingsApiSetTenantSettingRequest} requestParameters Request parameters.
|
|
304
|
-
* @param {*} [options] Override http request option.
|
|
305
|
-
* @throws {RequiredError}
|
|
306
|
-
* @memberof SettingsApi
|
|
307
|
-
*/
|
|
308
|
-
SettingsApi.prototype.setTenantSetting = function (requestParameters, options) {
|
|
309
|
-
var _this = this;
|
|
310
|
-
return (0, exports.SettingsApiFp)(this.configuration).setTenantSetting(requestParameters.setSettingRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
311
|
-
};
|
|
312
223
|
return SettingsApi;
|
|
313
224
|
}(base_1.BaseAPI));
|
|
314
225
|
exports.SettingsApi = SettingsApi;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -77,7 +77,6 @@ export * from './role-class';
|
|
|
77
77
|
export * from './run-data-report-request-dto';
|
|
78
78
|
export * from './run-data-report-response-class';
|
|
79
79
|
export * from './set-setting-request-dto';
|
|
80
|
-
export * from './set-tenant-setting-response-class';
|
|
81
80
|
export * from './subscription-class';
|
|
82
81
|
export * from './tenant-admin-user-dto';
|
|
83
82
|
export * from './tenant-settings-class';
|
package/dist/models/index.js
CHANGED
|
@@ -93,7 +93,6 @@ __exportStar(require("./role-class"), exports);
|
|
|
93
93
|
__exportStar(require("./run-data-report-request-dto"), exports);
|
|
94
94
|
__exportStar(require("./run-data-report-response-class"), exports);
|
|
95
95
|
__exportStar(require("./set-setting-request-dto"), exports);
|
|
96
|
-
__exportStar(require("./set-tenant-setting-response-class"), exports);
|
|
97
96
|
__exportStar(require("./subscription-class"), exports);
|
|
98
97
|
__exportStar(require("./tenant-admin-user-dto"), exports);
|
|
99
98
|
__exportStar(require("./tenant-settings-class"), exports);
|
|
@@ -16,15 +16,21 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SetSettingRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
*
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SetSettingRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'key': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SetSettingRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'value': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
27
33
|
* @memberof SetSettingRequestDto
|
|
28
34
|
*/
|
|
29
|
-
'
|
|
35
|
+
'type': string;
|
|
30
36
|
}
|
package/models/index.ts
CHANGED
|
@@ -77,7 +77,6 @@ export * from './role-class';
|
|
|
77
77
|
export * from './run-data-report-request-dto';
|
|
78
78
|
export * from './run-data-report-response-class';
|
|
79
79
|
export * from './set-setting-request-dto';
|
|
80
|
-
export * from './set-tenant-setting-response-class';
|
|
81
80
|
export * from './subscription-class';
|
|
82
81
|
export * from './tenant-admin-user-dto';
|
|
83
82
|
export * from './tenant-settings-class';
|
|
@@ -21,16 +21,22 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface SetSettingRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
*
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof SetSettingRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'key': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SetSettingRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'value': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
32
38
|
* @memberof SetSettingRequestDto
|
|
33
39
|
*/
|
|
34
|
-
'
|
|
40
|
+
'type': string;
|
|
35
41
|
}
|
|
36
42
|
|
package/package.json
CHANGED
|
@@ -1,36 +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 SetTenantSettingResponseClass
|
|
16
|
-
*/
|
|
17
|
-
export interface SetTenantSettingResponseClass {
|
|
18
|
-
/**
|
|
19
|
-
* Setting key.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SetTenantSettingResponseClass
|
|
22
|
-
*/
|
|
23
|
-
'key': string;
|
|
24
|
-
/**
|
|
25
|
-
* Setting value.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SetTenantSettingResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'value': string;
|
|
30
|
-
/**
|
|
31
|
-
* Type indicates whether the setting applies to user or tenant.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SetTenantSettingResponseClass
|
|
34
|
-
*/
|
|
35
|
-
'type': string;
|
|
36
|
-
}
|
|
@@ -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,42 +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 SetTenantSettingResponseClass
|
|
21
|
-
*/
|
|
22
|
-
export interface SetTenantSettingResponseClass {
|
|
23
|
-
/**
|
|
24
|
-
* Setting key.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof SetTenantSettingResponseClass
|
|
27
|
-
*/
|
|
28
|
-
'key': string;
|
|
29
|
-
/**
|
|
30
|
-
* Setting value.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof SetTenantSettingResponseClass
|
|
33
|
-
*/
|
|
34
|
-
'value': string;
|
|
35
|
-
/**
|
|
36
|
-
* Type indicates whether the setting applies to user or tenant.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof SetTenantSettingResponseClass
|
|
39
|
-
*/
|
|
40
|
-
'type': string;
|
|
41
|
-
}
|
|
42
|
-
|