@emilgroup/tenant-sdk-node 1.32.1-beta.28 → 1.32.1-beta.29
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-node@1.32.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.32.1-beta.29 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.32.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.32.1-beta.29
|
|
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
|
// URLSearchParams not necessarily used
|
|
30
26
|
// @ts-ignore
|
|
31
27
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -79,52 +75,6 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
79
75
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
76
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
77
|
|
|
82
|
-
return {
|
|
83
|
-
url: toPathString(localVarUrlObj),
|
|
84
|
-
options: localVarRequestOptions,
|
|
85
|
-
};
|
|
86
|
-
},
|
|
87
|
-
/**
|
|
88
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
89
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
90
|
-
* @param {string} [authorization] Bearer Token
|
|
91
|
-
* @param {*} [options] Override http request option.
|
|
92
|
-
* @throws {RequiredError}
|
|
93
|
-
*/
|
|
94
|
-
setTenantSetting: async (setSettingRequestDto: SetSettingRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95
|
-
// verify required parameter 'setSettingRequestDto' is not null or undefined
|
|
96
|
-
assertParamExists('setTenantSetting', 'setSettingRequestDto', setSettingRequestDto)
|
|
97
|
-
const localVarPath = `/tenantservice/v1/settings/tenant`;
|
|
98
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
99
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
100
|
-
let baseOptions;
|
|
101
|
-
let baseAccessToken;
|
|
102
|
-
if (configuration) {
|
|
103
|
-
baseOptions = configuration.baseOptions;
|
|
104
|
-
baseAccessToken = configuration.accessToken;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
108
|
-
const localVarHeaderParameter = {} as any;
|
|
109
|
-
const localVarQueryParameter = {} as any;
|
|
110
|
-
|
|
111
|
-
// authentication bearer required
|
|
112
|
-
// http bearer authentication required
|
|
113
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
114
|
-
|
|
115
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
116
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
122
|
-
|
|
123
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
124
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
125
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
126
|
-
localVarRequestOptions.data = serializeDataIfNeeded(setSettingRequestDto, localVarRequestOptions, configuration)
|
|
127
|
-
|
|
128
78
|
return {
|
|
129
79
|
url: toPathString(localVarUrlObj),
|
|
130
80
|
options: localVarRequestOptions,
|
|
@@ -152,17 +102,6 @@ export const SettingsApiFp = function(configuration?: Configuration) {
|
|
|
152
102
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantSettings(keys, authorization, options);
|
|
153
103
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
154
104
|
},
|
|
155
|
-
/**
|
|
156
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
157
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
158
|
-
* @param {string} [authorization] Bearer Token
|
|
159
|
-
* @param {*} [options] Override http request option.
|
|
160
|
-
* @throws {RequiredError}
|
|
161
|
-
*/
|
|
162
|
-
async setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetTenantSettingResponseClass>> {
|
|
163
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setTenantSetting(setSettingRequestDto, authorization, options);
|
|
164
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
165
|
-
},
|
|
166
105
|
}
|
|
167
106
|
};
|
|
168
107
|
|
|
@@ -184,16 +123,6 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
184
123
|
getTenantSettings(keys: string, authorization?: string, options?: any): AxiosPromise<GetSettingsResponseClass> {
|
|
185
124
|
return localVarFp.getTenantSettings(keys, authorization, options).then((request) => request(axios, basePath));
|
|
186
125
|
},
|
|
187
|
-
/**
|
|
188
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
189
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
190
|
-
* @param {string} [authorization] Bearer Token
|
|
191
|
-
* @param {*} [options] Override http request option.
|
|
192
|
-
* @throws {RequiredError}
|
|
193
|
-
*/
|
|
194
|
-
setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: any): AxiosPromise<SetTenantSettingResponseClass> {
|
|
195
|
-
return localVarFp.setTenantSetting(setSettingRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
196
|
-
},
|
|
197
126
|
};
|
|
198
127
|
};
|
|
199
128
|
|
|
@@ -218,27 +147,6 @@ export interface SettingsApiGetTenantSettingsRequest {
|
|
|
218
147
|
readonly authorization?: string
|
|
219
148
|
}
|
|
220
149
|
|
|
221
|
-
/**
|
|
222
|
-
* Request parameters for setTenantSetting operation in SettingsApi.
|
|
223
|
-
* @export
|
|
224
|
-
* @interface SettingsApiSetTenantSettingRequest
|
|
225
|
-
*/
|
|
226
|
-
export interface SettingsApiSetTenantSettingRequest {
|
|
227
|
-
/**
|
|
228
|
-
*
|
|
229
|
-
* @type {SetSettingRequestDto}
|
|
230
|
-
* @memberof SettingsApiSetTenantSetting
|
|
231
|
-
*/
|
|
232
|
-
readonly setSettingRequestDto: SetSettingRequestDto
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Bearer Token
|
|
236
|
-
* @type {string}
|
|
237
|
-
* @memberof SettingsApiSetTenantSetting
|
|
238
|
-
*/
|
|
239
|
-
readonly authorization?: string
|
|
240
|
-
}
|
|
241
|
-
|
|
242
150
|
/**
|
|
243
151
|
* SettingsApi - object-oriented interface
|
|
244
152
|
* @export
|
|
@@ -257,15 +165,4 @@ export class SettingsApi extends BaseAPI {
|
|
|
257
165
|
public getTenantSettings(requestParameters: SettingsApiGetTenantSettingsRequest, options?: AxiosRequestConfig) {
|
|
258
166
|
return SettingsApiFp(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
259
167
|
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
263
|
-
* @param {SettingsApiSetTenantSettingRequest} requestParameters Request parameters.
|
|
264
|
-
* @param {*} [options] Override http request option.
|
|
265
|
-
* @throws {RequiredError}
|
|
266
|
-
* @memberof SettingsApi
|
|
267
|
-
*/
|
|
268
|
-
public setTenantSetting(requestParameters: SettingsApiSetTenantSettingRequest, options?: AxiosRequestConfig) {
|
|
269
|
-
return SettingsApiFp(this.configuration).setTenantSetting(requestParameters.setSettingRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
270
|
-
}
|
|
271
168
|
}
|
|
@@ -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
|
@@ -146,54 +146,6 @@ var SettingsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
});
|
|
148
148
|
},
|
|
149
|
-
/**
|
|
150
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
151
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
152
|
-
* @param {string} [authorization] Bearer Token
|
|
153
|
-
* @param {*} [options] Override http request option.
|
|
154
|
-
* @throws {RequiredError}
|
|
155
|
-
*/
|
|
156
|
-
setTenantSetting: function (setSettingRequestDto, authorization, options) {
|
|
157
|
-
if (options === void 0) { options = {}; }
|
|
158
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
-
return __generator(this, function (_a) {
|
|
161
|
-
switch (_a.label) {
|
|
162
|
-
case 0:
|
|
163
|
-
// verify required parameter 'setSettingRequestDto' is not null or undefined
|
|
164
|
-
(0, common_1.assertParamExists)('setTenantSetting', 'setSettingRequestDto', setSettingRequestDto);
|
|
165
|
-
localVarPath = "/tenantservice/v1/settings/tenant";
|
|
166
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
|
-
if (configuration) {
|
|
168
|
-
baseOptions = configuration.baseOptions;
|
|
169
|
-
baseAccessToken = configuration.accessToken;
|
|
170
|
-
}
|
|
171
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
172
|
-
localVarHeaderParameter = {};
|
|
173
|
-
localVarQueryParameter = {};
|
|
174
|
-
// authentication bearer required
|
|
175
|
-
// http bearer authentication required
|
|
176
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
177
|
-
case 1:
|
|
178
|
-
// authentication bearer required
|
|
179
|
-
// http bearer authentication required
|
|
180
|
-
_a.sent();
|
|
181
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
182
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
183
|
-
}
|
|
184
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
185
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSettingRequestDto, localVarRequestOptions, configuration);
|
|
189
|
-
return [2 /*return*/, {
|
|
190
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
191
|
-
options: localVarRequestOptions,
|
|
192
|
-
}];
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
});
|
|
196
|
-
},
|
|
197
149
|
};
|
|
198
150
|
};
|
|
199
151
|
exports.SettingsApiAxiosParamCreator = SettingsApiAxiosParamCreator;
|
|
@@ -225,26 +177,6 @@ var SettingsApiFp = function (configuration) {
|
|
|
225
177
|
});
|
|
226
178
|
});
|
|
227
179
|
},
|
|
228
|
-
/**
|
|
229
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
230
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
231
|
-
* @param {string} [authorization] Bearer Token
|
|
232
|
-
* @param {*} [options] Override http request option.
|
|
233
|
-
* @throws {RequiredError}
|
|
234
|
-
*/
|
|
235
|
-
setTenantSetting: function (setSettingRequestDto, authorization, options) {
|
|
236
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
237
|
-
var localVarAxiosArgs;
|
|
238
|
-
return __generator(this, function (_a) {
|
|
239
|
-
switch (_a.label) {
|
|
240
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.setTenantSetting(setSettingRequestDto, authorization, options)];
|
|
241
|
-
case 1:
|
|
242
|
-
localVarAxiosArgs = _a.sent();
|
|
243
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
244
|
-
}
|
|
245
|
-
});
|
|
246
|
-
});
|
|
247
|
-
},
|
|
248
180
|
};
|
|
249
181
|
};
|
|
250
182
|
exports.SettingsApiFp = SettingsApiFp;
|
|
@@ -266,16 +198,6 @@ var SettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
266
198
|
getTenantSettings: function (keys, authorization, options) {
|
|
267
199
|
return localVarFp.getTenantSettings(keys, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
268
200
|
},
|
|
269
|
-
/**
|
|
270
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
271
|
-
* @param {SetSettingRequestDto} setSettingRequestDto
|
|
272
|
-
* @param {string} [authorization] Bearer Token
|
|
273
|
-
* @param {*} [options] Override http request option.
|
|
274
|
-
* @throws {RequiredError}
|
|
275
|
-
*/
|
|
276
|
-
setTenantSetting: function (setSettingRequestDto, authorization, options) {
|
|
277
|
-
return localVarFp.setTenantSetting(setSettingRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
278
|
-
},
|
|
279
201
|
};
|
|
280
202
|
};
|
|
281
203
|
exports.SettingsApiFactory = SettingsApiFactory;
|
|
@@ -302,17 +224,6 @@ var SettingsApi = /** @class */ (function (_super) {
|
|
|
302
224
|
var _this = this;
|
|
303
225
|
return (0, exports.SettingsApiFp)(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
304
226
|
};
|
|
305
|
-
/**
|
|
306
|
-
* undefined **Required Permissions** \"tenant-management.tenants.update\"
|
|
307
|
-
* @param {SettingsApiSetTenantSettingRequest} requestParameters Request parameters.
|
|
308
|
-
* @param {*} [options] Override http request option.
|
|
309
|
-
* @throws {RequiredError}
|
|
310
|
-
* @memberof SettingsApi
|
|
311
|
-
*/
|
|
312
|
-
SettingsApi.prototype.setTenantSetting = function (requestParameters, options) {
|
|
313
|
-
var _this = this;
|
|
314
|
-
return (0, exports.SettingsApiFp)(this.configuration).setTenantSetting(requestParameters.setSettingRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
315
|
-
};
|
|
316
227
|
return SettingsApi;
|
|
317
228
|
}(base_1.BaseAPI));
|
|
318
229
|
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
|
-
|