@emilgroup/setting-sdk 0.3.1-beta.19 → 0.3.1-beta.20
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 +2 -0
- package/README.md +2 -2
- package/api/setting-definitions-api.ts +107 -0
- package/dist/api/setting-definitions-api.d.ts +57 -0
- package/dist/api/setting-definitions-api.js +93 -0
- package/dist/models/create-setting-definition-request-dto.d.ts +93 -0
- package/dist/models/create-setting-definition-request-dto.js +53 -0
- package/dist/models/create-setting-definition-response-class.d.ts +25 -0
- package/dist/models/create-setting-definition-response-class.js +15 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/models/create-setting-definition-request-dto.ts +103 -0
- package/models/create-setting-definition-response-class.ts +31 -0
- package/models/index.ts +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -15,6 +15,8 @@ git_push.sh
|
|
|
15
15
|
index.ts
|
|
16
16
|
models/create-public-key-request-dto.ts
|
|
17
17
|
models/create-public-key-response-class.ts
|
|
18
|
+
models/create-setting-definition-request-dto.ts
|
|
19
|
+
models/create-setting-definition-response-class.ts
|
|
18
20
|
models/create-setting-key-request-dto.ts
|
|
19
21
|
models/create-setting-key-response-class.ts
|
|
20
22
|
models/delete-public-key-request-dto.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/setting-sdk@0.3.1-beta.
|
|
20
|
+
npm install @emilgroup/setting-sdk@0.3.1-beta.20 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/setting-sdk@0.3.1-beta.
|
|
24
|
+
yarn add @emilgroup/setting-sdk@0.3.1-beta.20
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -21,6 +21,10 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { CreateSettingDefinitionRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateSettingDefinitionResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
24
28
|
import { GetSettingDefinitionResponseClass } from '../models';
|
|
25
29
|
// @ts-ignore
|
|
26
30
|
import { ListSettingDefinitionsResponseClass } from '../models';
|
|
@@ -30,6 +34,53 @@ import { ListSettingDefinitionsResponseClass } from '../models';
|
|
|
30
34
|
*/
|
|
31
35
|
export const SettingDefinitionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
36
|
return {
|
|
37
|
+
/**
|
|
38
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
39
|
+
* @summary Create the setting definition
|
|
40
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
41
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
createSettingDefinition: async (createSettingDefinitionRequestDto: CreateSettingDefinitionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'createSettingDefinitionRequestDto' is not null or undefined
|
|
47
|
+
assertParamExists('createSettingDefinition', 'createSettingDefinitionRequestDto', createSettingDefinitionRequestDto)
|
|
48
|
+
const localVarPath = `/settingservice/v1/settings/definitions`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
let baseAccessToken;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
baseAccessToken = configuration.accessToken;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
59
|
+
const localVarHeaderParameter = {} as any;
|
|
60
|
+
const localVarQueryParameter = {} as any;
|
|
61
|
+
|
|
62
|
+
// authentication bearer required
|
|
63
|
+
// http bearer authentication required
|
|
64
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
|
+
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
73
|
+
|
|
74
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
76
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSettingDefinitionRequestDto, localVarRequestOptions, configuration)
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
url: toPathString(localVarUrlObj),
|
|
81
|
+
options: localVarRequestOptions,
|
|
82
|
+
};
|
|
83
|
+
},
|
|
33
84
|
/**
|
|
34
85
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
35
86
|
* @summary Retrieve the setting definition
|
|
@@ -161,6 +212,18 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
|
|
|
161
212
|
export const SettingDefinitionsApiFp = function(configuration?: Configuration) {
|
|
162
213
|
const localVarAxiosParamCreator = SettingDefinitionsApiAxiosParamCreator(configuration)
|
|
163
214
|
return {
|
|
215
|
+
/**
|
|
216
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
217
|
+
* @summary Create the setting definition
|
|
218
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
219
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
async createSettingDefinition(createSettingDefinitionRequestDto: CreateSettingDefinitionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettingDefinitionResponseClass>> {
|
|
224
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSettingDefinition(createSettingDefinitionRequestDto, authorization, options);
|
|
225
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
226
|
+
},
|
|
164
227
|
/**
|
|
165
228
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
166
229
|
* @summary Retrieve the setting definition
|
|
@@ -201,6 +264,17 @@ export const SettingDefinitionsApiFp = function(configuration?: Configuration) {
|
|
|
201
264
|
export const SettingDefinitionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
202
265
|
const localVarFp = SettingDefinitionsApiFp(configuration)
|
|
203
266
|
return {
|
|
267
|
+
/**
|
|
268
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
269
|
+
* @summary Create the setting definition
|
|
270
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
271
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
createSettingDefinition(createSettingDefinitionRequestDto: CreateSettingDefinitionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettingDefinitionResponseClass> {
|
|
276
|
+
return localVarFp.createSettingDefinition(createSettingDefinitionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
277
|
+
},
|
|
204
278
|
/**
|
|
205
279
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
206
280
|
* @summary Retrieve the setting definition
|
|
@@ -232,6 +306,27 @@ export const SettingDefinitionsApiFactory = function (configuration?: Configurat
|
|
|
232
306
|
};
|
|
233
307
|
};
|
|
234
308
|
|
|
309
|
+
/**
|
|
310
|
+
* Request parameters for createSettingDefinition operation in SettingDefinitionsApi.
|
|
311
|
+
* @export
|
|
312
|
+
* @interface SettingDefinitionsApiCreateSettingDefinitionRequest
|
|
313
|
+
*/
|
|
314
|
+
export interface SettingDefinitionsApiCreateSettingDefinitionRequest {
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* @type {CreateSettingDefinitionRequestDto}
|
|
318
|
+
* @memberof SettingDefinitionsApiCreateSettingDefinition
|
|
319
|
+
*/
|
|
320
|
+
readonly createSettingDefinitionRequestDto: CreateSettingDefinitionRequestDto
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
324
|
+
* @type {string}
|
|
325
|
+
* @memberof SettingDefinitionsApiCreateSettingDefinition
|
|
326
|
+
*/
|
|
327
|
+
readonly authorization?: string
|
|
328
|
+
}
|
|
329
|
+
|
|
235
330
|
/**
|
|
236
331
|
* Request parameters for getSettingDefinition operation in SettingDefinitionsApi.
|
|
237
332
|
* @export
|
|
@@ -323,6 +418,18 @@ export interface SettingDefinitionsApiListSettingDefinitionsRequest {
|
|
|
323
418
|
* @extends {BaseAPI}
|
|
324
419
|
*/
|
|
325
420
|
export class SettingDefinitionsApi extends BaseAPI {
|
|
421
|
+
/**
|
|
422
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
423
|
+
* @summary Create the setting definition
|
|
424
|
+
* @param {SettingDefinitionsApiCreateSettingDefinitionRequest} requestParameters Request parameters.
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
* @memberof SettingDefinitionsApi
|
|
428
|
+
*/
|
|
429
|
+
public createSettingDefinition(requestParameters: SettingDefinitionsApiCreateSettingDefinitionRequest, options?: AxiosRequestConfig) {
|
|
430
|
+
return SettingDefinitionsApiFp(this.configuration).createSettingDefinition(requestParameters.createSettingDefinitionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
431
|
+
}
|
|
432
|
+
|
|
326
433
|
/**
|
|
327
434
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
328
435
|
* @summary Retrieve the setting definition
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateSettingDefinitionRequestDto } from '../models';
|
|
16
|
+
import { CreateSettingDefinitionResponseClass } from '../models';
|
|
15
17
|
import { GetSettingDefinitionResponseClass } from '../models';
|
|
16
18
|
import { ListSettingDefinitionsResponseClass } from '../models';
|
|
17
19
|
/**
|
|
@@ -19,6 +21,15 @@ import { ListSettingDefinitionsResponseClass } from '../models';
|
|
|
19
21
|
* @export
|
|
20
22
|
*/
|
|
21
23
|
export declare const SettingDefinitionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
26
|
+
* @summary Create the setting definition
|
|
27
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
28
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
createSettingDefinition: (createSettingDefinitionRequestDto: CreateSettingDefinitionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
33
|
/**
|
|
23
34
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
24
35
|
* @summary Retrieve the setting definition
|
|
@@ -49,6 +60,15 @@ export declare const SettingDefinitionsApiAxiosParamCreator: (configuration?: Co
|
|
|
49
60
|
* @export
|
|
50
61
|
*/
|
|
51
62
|
export declare const SettingDefinitionsApiFp: (configuration?: Configuration) => {
|
|
63
|
+
/**
|
|
64
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
65
|
+
* @summary Create the setting definition
|
|
66
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
67
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
createSettingDefinition(createSettingDefinitionRequestDto: CreateSettingDefinitionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettingDefinitionResponseClass>>;
|
|
52
72
|
/**
|
|
53
73
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
54
74
|
* @summary Retrieve the setting definition
|
|
@@ -79,6 +99,15 @@ export declare const SettingDefinitionsApiFp: (configuration?: Configuration) =>
|
|
|
79
99
|
* @export
|
|
80
100
|
*/
|
|
81
101
|
export declare const SettingDefinitionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
102
|
+
/**
|
|
103
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
104
|
+
* @summary Create the setting definition
|
|
105
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
106
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
createSettingDefinition(createSettingDefinitionRequestDto: CreateSettingDefinitionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettingDefinitionResponseClass>;
|
|
82
111
|
/**
|
|
83
112
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
84
113
|
* @summary Retrieve the setting definition
|
|
@@ -104,6 +133,25 @@ export declare const SettingDefinitionsApiFactory: (configuration?: Configuratio
|
|
|
104
133
|
*/
|
|
105
134
|
listSettingDefinitions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettingDefinitionsResponseClass>;
|
|
106
135
|
};
|
|
136
|
+
/**
|
|
137
|
+
* Request parameters for createSettingDefinition operation in SettingDefinitionsApi.
|
|
138
|
+
* @export
|
|
139
|
+
* @interface SettingDefinitionsApiCreateSettingDefinitionRequest
|
|
140
|
+
*/
|
|
141
|
+
export interface SettingDefinitionsApiCreateSettingDefinitionRequest {
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {CreateSettingDefinitionRequestDto}
|
|
145
|
+
* @memberof SettingDefinitionsApiCreateSettingDefinition
|
|
146
|
+
*/
|
|
147
|
+
readonly createSettingDefinitionRequestDto: CreateSettingDefinitionRequestDto;
|
|
148
|
+
/**
|
|
149
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof SettingDefinitionsApiCreateSettingDefinition
|
|
152
|
+
*/
|
|
153
|
+
readonly authorization?: string;
|
|
154
|
+
}
|
|
107
155
|
/**
|
|
108
156
|
* Request parameters for getSettingDefinition operation in SettingDefinitionsApi.
|
|
109
157
|
* @export
|
|
@@ -185,6 +233,15 @@ export interface SettingDefinitionsApiListSettingDefinitionsRequest {
|
|
|
185
233
|
* @extends {BaseAPI}
|
|
186
234
|
*/
|
|
187
235
|
export declare class SettingDefinitionsApi extends BaseAPI {
|
|
236
|
+
/**
|
|
237
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
238
|
+
* @summary Create the setting definition
|
|
239
|
+
* @param {SettingDefinitionsApiCreateSettingDefinitionRequest} requestParameters Request parameters.
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
* @memberof SettingDefinitionsApi
|
|
243
|
+
*/
|
|
244
|
+
createSettingDefinition(requestParameters: SettingDefinitionsApiCreateSettingDefinitionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSettingDefinitionResponseClass, any, {}>>;
|
|
188
245
|
/**
|
|
189
246
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
190
247
|
* @summary Retrieve the setting definition
|
|
@@ -92,6 +92,55 @@ var base_1 = require("../base");
|
|
|
92
92
|
var SettingDefinitionsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
97
|
+
* @summary Create the setting definition
|
|
98
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
99
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
createSettingDefinition: function (createSettingDefinitionRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
return __generator(this, function (_a) {
|
|
108
|
+
switch (_a.label) {
|
|
109
|
+
case 0:
|
|
110
|
+
// verify required parameter 'createSettingDefinitionRequestDto' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('createSettingDefinition', 'createSettingDefinitionRequestDto', createSettingDefinitionRequestDto);
|
|
112
|
+
localVarPath = "/settingservice/v1/settings/definitions";
|
|
113
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
baseAccessToken = configuration.accessToken;
|
|
117
|
+
}
|
|
118
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
localVarHeaderParameter = {};
|
|
120
|
+
localVarQueryParameter = {};
|
|
121
|
+
// authentication bearer required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
124
|
+
case 1:
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
_a.sent();
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
130
|
+
}
|
|
131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSettingDefinitionRequestDto, localVarRequestOptions, configuration);
|
|
136
|
+
return [2 /*return*/, {
|
|
137
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
}];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
},
|
|
95
144
|
/**
|
|
96
145
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
97
146
|
* @summary Retrieve the setting definition
|
|
@@ -222,6 +271,27 @@ exports.SettingDefinitionsApiAxiosParamCreator = SettingDefinitionsApiAxiosParam
|
|
|
222
271
|
var SettingDefinitionsApiFp = function (configuration) {
|
|
223
272
|
var localVarAxiosParamCreator = (0, exports.SettingDefinitionsApiAxiosParamCreator)(configuration);
|
|
224
273
|
return {
|
|
274
|
+
/**
|
|
275
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
276
|
+
* @summary Create the setting definition
|
|
277
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
278
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
createSettingDefinition: function (createSettingDefinitionRequestDto, authorization, options) {
|
|
283
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
284
|
+
var localVarAxiosArgs;
|
|
285
|
+
return __generator(this, function (_a) {
|
|
286
|
+
switch (_a.label) {
|
|
287
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSettingDefinition(createSettingDefinitionRequestDto, authorization, options)];
|
|
288
|
+
case 1:
|
|
289
|
+
localVarAxiosArgs = _a.sent();
|
|
290
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
});
|
|
294
|
+
},
|
|
225
295
|
/**
|
|
226
296
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
227
297
|
* @summary Retrieve the setting definition
|
|
@@ -280,6 +350,17 @@ exports.SettingDefinitionsApiFp = SettingDefinitionsApiFp;
|
|
|
280
350
|
var SettingDefinitionsApiFactory = function (configuration, basePath, axios) {
|
|
281
351
|
var localVarFp = (0, exports.SettingDefinitionsApiFp)(configuration);
|
|
282
352
|
return {
|
|
353
|
+
/**
|
|
354
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
355
|
+
* @summary Create the setting definition
|
|
356
|
+
* @param {CreateSettingDefinitionRequestDto} createSettingDefinitionRequestDto
|
|
357
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
createSettingDefinition: function (createSettingDefinitionRequestDto, authorization, options) {
|
|
362
|
+
return localVarFp.createSettingDefinition(createSettingDefinitionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
363
|
+
},
|
|
283
364
|
/**
|
|
284
365
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
285
366
|
* @summary Retrieve the setting definition
|
|
@@ -322,6 +403,18 @@ var SettingDefinitionsApi = /** @class */ (function (_super) {
|
|
|
322
403
|
function SettingDefinitionsApi() {
|
|
323
404
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
324
405
|
}
|
|
406
|
+
/**
|
|
407
|
+
* Create a tenant setting definition **Required Permissions** \"tenant-management.settings.create\"
|
|
408
|
+
* @summary Create the setting definition
|
|
409
|
+
* @param {SettingDefinitionsApiCreateSettingDefinitionRequest} requestParameters Request parameters.
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
* @memberof SettingDefinitionsApi
|
|
413
|
+
*/
|
|
414
|
+
SettingDefinitionsApi.prototype.createSettingDefinition = function (requestParameters, options) {
|
|
415
|
+
var _this = this;
|
|
416
|
+
return (0, exports.SettingDefinitionsApiFp)(this.configuration).createSettingDefinition(requestParameters.createSettingDefinitionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
417
|
+
};
|
|
325
418
|
/**
|
|
326
419
|
* Retrieves the details of the setting definition that was previously created. Supply the unique setting definition code that was returned when you created it and Emil Api will return the corresponding setting definition information. **Required Permissions** \"tenant-management.settings.view\"
|
|
327
420
|
* @summary Retrieve the setting definition
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL SettingService
|
|
3
|
+
* The EMIL SettingService 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 CreateSettingDefinitionRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateSettingDefinitionRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Global: {service}.global.{name} (e.g. insuranceservice.global.tax_config). Tenant: single slug (e.g. tax_config).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'definitionKey': string;
|
|
24
|
+
/**
|
|
25
|
+
* Owning backend service. Required for global definitions only; tenant definitions are owned by the platform.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'ownerService'?: CreateSettingDefinitionRequestDtoOwnerServiceEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Logical group for organizing settings (e.g. product, payment).
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'scope': CreateSettingDefinitionRequestDtoScopeEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'schema': object;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'uiHints': object;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'isSecured': boolean;
|
|
54
|
+
}
|
|
55
|
+
export declare const CreateSettingDefinitionRequestDtoOwnerServiceEnum: {
|
|
56
|
+
readonly Insuranceservice: "insuranceservice";
|
|
57
|
+
readonly Accountservice: "accountservice";
|
|
58
|
+
readonly Partnerservice: "partnerservice";
|
|
59
|
+
readonly Partnerportalservice: "partnerportalservice";
|
|
60
|
+
readonly Claimservice: "claimservice";
|
|
61
|
+
readonly Customerservice: "customerservice";
|
|
62
|
+
readonly Gdvservice: "gdvservice";
|
|
63
|
+
readonly Productsyncservice: "productsyncservice";
|
|
64
|
+
readonly Riskzoneservice: "riskzoneservice";
|
|
65
|
+
readonly Discountservice: "discountservice";
|
|
66
|
+
readonly Premiumcalculationservice: "premiumcalculationservice";
|
|
67
|
+
readonly Commissionservice: "commissionservice";
|
|
68
|
+
readonly Accountingservice: "accountingservice";
|
|
69
|
+
readonly Billingservice: "billingservice";
|
|
70
|
+
readonly Paymentservice: "paymentservice";
|
|
71
|
+
readonly Dunningservice: "dunningservice";
|
|
72
|
+
readonly Authservice: "authservice";
|
|
73
|
+
readonly Notificationservice: "notificationservice";
|
|
74
|
+
readonly Numbergenerator: "numbergenerator";
|
|
75
|
+
readonly Policyadministrationservice: "policyadministrationservice";
|
|
76
|
+
readonly Policydecisionservice: "policydecisionservice";
|
|
77
|
+
readonly Processmanagerservice: "processmanagerservice";
|
|
78
|
+
readonly Tenantservice: "tenantservice";
|
|
79
|
+
readonly Documentservice: "documentservice";
|
|
80
|
+
readonly Commentingservice: "commentingservice";
|
|
81
|
+
readonly Taskservice: "taskservice";
|
|
82
|
+
readonly Actionservice: "actionservice";
|
|
83
|
+
readonly Webhookservice: "webhookservice";
|
|
84
|
+
readonly Changelogservice: "changelogservice";
|
|
85
|
+
readonly Validationrulesservice: "validationrulesservice";
|
|
86
|
+
};
|
|
87
|
+
export type CreateSettingDefinitionRequestDtoOwnerServiceEnum = typeof CreateSettingDefinitionRequestDtoOwnerServiceEnum[keyof typeof CreateSettingDefinitionRequestDtoOwnerServiceEnum];
|
|
88
|
+
export declare const CreateSettingDefinitionRequestDtoScopeEnum: {
|
|
89
|
+
readonly Product: "product";
|
|
90
|
+
readonly Infrastructure: "infrastructure";
|
|
91
|
+
readonly Finance: "finance";
|
|
92
|
+
};
|
|
93
|
+
export type CreateSettingDefinitionRequestDtoScopeEnum = typeof CreateSettingDefinitionRequestDtoScopeEnum[keyof typeof CreateSettingDefinitionRequestDtoScopeEnum];
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL SettingService
|
|
6
|
+
* The EMIL SettingService 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 });
|
|
16
|
+
exports.CreateSettingDefinitionRequestDtoScopeEnum = exports.CreateSettingDefinitionRequestDtoOwnerServiceEnum = void 0;
|
|
17
|
+
exports.CreateSettingDefinitionRequestDtoOwnerServiceEnum = {
|
|
18
|
+
Insuranceservice: 'insuranceservice',
|
|
19
|
+
Accountservice: 'accountservice',
|
|
20
|
+
Partnerservice: 'partnerservice',
|
|
21
|
+
Partnerportalservice: 'partnerportalservice',
|
|
22
|
+
Claimservice: 'claimservice',
|
|
23
|
+
Customerservice: 'customerservice',
|
|
24
|
+
Gdvservice: 'gdvservice',
|
|
25
|
+
Productsyncservice: 'productsyncservice',
|
|
26
|
+
Riskzoneservice: 'riskzoneservice',
|
|
27
|
+
Discountservice: 'discountservice',
|
|
28
|
+
Premiumcalculationservice: 'premiumcalculationservice',
|
|
29
|
+
Commissionservice: 'commissionservice',
|
|
30
|
+
Accountingservice: 'accountingservice',
|
|
31
|
+
Billingservice: 'billingservice',
|
|
32
|
+
Paymentservice: 'paymentservice',
|
|
33
|
+
Dunningservice: 'dunningservice',
|
|
34
|
+
Authservice: 'authservice',
|
|
35
|
+
Notificationservice: 'notificationservice',
|
|
36
|
+
Numbergenerator: 'numbergenerator',
|
|
37
|
+
Policyadministrationservice: 'policyadministrationservice',
|
|
38
|
+
Policydecisionservice: 'policydecisionservice',
|
|
39
|
+
Processmanagerservice: 'processmanagerservice',
|
|
40
|
+
Tenantservice: 'tenantservice',
|
|
41
|
+
Documentservice: 'documentservice',
|
|
42
|
+
Commentingservice: 'commentingservice',
|
|
43
|
+
Taskservice: 'taskservice',
|
|
44
|
+
Actionservice: 'actionservice',
|
|
45
|
+
Webhookservice: 'webhookservice',
|
|
46
|
+
Changelogservice: 'changelogservice',
|
|
47
|
+
Validationrulesservice: 'validationrulesservice'
|
|
48
|
+
};
|
|
49
|
+
exports.CreateSettingDefinitionRequestDtoScopeEnum = {
|
|
50
|
+
Product: 'product',
|
|
51
|
+
Infrastructure: 'infrastructure',
|
|
52
|
+
Finance: 'finance'
|
|
53
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL SettingService
|
|
3
|
+
* The EMIL SettingService 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 { SettingDefinitionClass } from './setting-definition-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateSettingDefinitionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateSettingDefinitionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SettingDefinitionClass}
|
|
22
|
+
* @memberof CreateSettingDefinitionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'definition': SettingDefinitionClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL SettingService
|
|
6
|
+
* The EMIL SettingService 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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './create-public-key-request-dto';
|
|
2
2
|
export * from './create-public-key-response-class';
|
|
3
|
+
export * from './create-setting-definition-request-dto';
|
|
4
|
+
export * from './create-setting-definition-response-class';
|
|
3
5
|
export * from './create-setting-key-request-dto';
|
|
4
6
|
export * from './create-setting-key-response-class';
|
|
5
7
|
export * from './delete-public-key-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./create-public-key-request-dto"), exports);
|
|
18
18
|
__exportStar(require("./create-public-key-response-class"), exports);
|
|
19
|
+
__exportStar(require("./create-setting-definition-request-dto"), exports);
|
|
20
|
+
__exportStar(require("./create-setting-definition-response-class"), exports);
|
|
19
21
|
__exportStar(require("./create-setting-key-request-dto"), exports);
|
|
20
22
|
__exportStar(require("./create-setting-key-response-class"), exports);
|
|
21
23
|
__exportStar(require("./delete-public-key-request-dto"), exports);
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettingService
|
|
5
|
+
* The EMIL SettingService 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 CreateSettingDefinitionRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSettingDefinitionRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Global: {service}.global.{name} (e.g. insuranceservice.global.tax_config). Tenant: single slug (e.g. tax_config).
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'definitionKey': string;
|
|
29
|
+
/**
|
|
30
|
+
* Owning backend service. Required for global definitions only; tenant definitions are owned by the platform.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'ownerService'?: CreateSettingDefinitionRequestDtoOwnerServiceEnum;
|
|
35
|
+
/**
|
|
36
|
+
* Logical group for organizing settings (e.g. product, payment).
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'scope': CreateSettingDefinitionRequestDtoScopeEnum;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'schema': object;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'uiHints': object;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof CreateSettingDefinitionRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'isSecured': boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const CreateSettingDefinitionRequestDtoOwnerServiceEnum = {
|
|
62
|
+
Insuranceservice: 'insuranceservice',
|
|
63
|
+
Accountservice: 'accountservice',
|
|
64
|
+
Partnerservice: 'partnerservice',
|
|
65
|
+
Partnerportalservice: 'partnerportalservice',
|
|
66
|
+
Claimservice: 'claimservice',
|
|
67
|
+
Customerservice: 'customerservice',
|
|
68
|
+
Gdvservice: 'gdvservice',
|
|
69
|
+
Productsyncservice: 'productsyncservice',
|
|
70
|
+
Riskzoneservice: 'riskzoneservice',
|
|
71
|
+
Discountservice: 'discountservice',
|
|
72
|
+
Premiumcalculationservice: 'premiumcalculationservice',
|
|
73
|
+
Commissionservice: 'commissionservice',
|
|
74
|
+
Accountingservice: 'accountingservice',
|
|
75
|
+
Billingservice: 'billingservice',
|
|
76
|
+
Paymentservice: 'paymentservice',
|
|
77
|
+
Dunningservice: 'dunningservice',
|
|
78
|
+
Authservice: 'authservice',
|
|
79
|
+
Notificationservice: 'notificationservice',
|
|
80
|
+
Numbergenerator: 'numbergenerator',
|
|
81
|
+
Policyadministrationservice: 'policyadministrationservice',
|
|
82
|
+
Policydecisionservice: 'policydecisionservice',
|
|
83
|
+
Processmanagerservice: 'processmanagerservice',
|
|
84
|
+
Tenantservice: 'tenantservice',
|
|
85
|
+
Documentservice: 'documentservice',
|
|
86
|
+
Commentingservice: 'commentingservice',
|
|
87
|
+
Taskservice: 'taskservice',
|
|
88
|
+
Actionservice: 'actionservice',
|
|
89
|
+
Webhookservice: 'webhookservice',
|
|
90
|
+
Changelogservice: 'changelogservice',
|
|
91
|
+
Validationrulesservice: 'validationrulesservice'
|
|
92
|
+
} as const;
|
|
93
|
+
|
|
94
|
+
export type CreateSettingDefinitionRequestDtoOwnerServiceEnum = typeof CreateSettingDefinitionRequestDtoOwnerServiceEnum[keyof typeof CreateSettingDefinitionRequestDtoOwnerServiceEnum];
|
|
95
|
+
export const CreateSettingDefinitionRequestDtoScopeEnum = {
|
|
96
|
+
Product: 'product',
|
|
97
|
+
Infrastructure: 'infrastructure',
|
|
98
|
+
Finance: 'finance'
|
|
99
|
+
} as const;
|
|
100
|
+
|
|
101
|
+
export type CreateSettingDefinitionRequestDtoScopeEnum = typeof CreateSettingDefinitionRequestDtoScopeEnum[keyof typeof CreateSettingDefinitionRequestDtoScopeEnum];
|
|
102
|
+
|
|
103
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettingService
|
|
5
|
+
* The EMIL SettingService 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
|
+
import { SettingDefinitionClass } from './setting-definition-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateSettingDefinitionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateSettingDefinitionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {SettingDefinitionClass}
|
|
27
|
+
* @memberof CreateSettingDefinitionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'definition': SettingDefinitionClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './create-public-key-request-dto';
|
|
2
2
|
export * from './create-public-key-response-class';
|
|
3
|
+
export * from './create-setting-definition-request-dto';
|
|
4
|
+
export * from './create-setting-definition-response-class';
|
|
3
5
|
export * from './create-setting-key-request-dto';
|
|
4
6
|
export * from './create-setting-key-response-class';
|
|
5
7
|
export * from './delete-public-key-request-dto';
|