@emilgroup/setting-sdk 0.3.1-beta.17 → 0.3.1-beta.19

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.
Files changed (60) hide show
  1. package/.openapi-generator/FILES +17 -0
  2. package/README.md +2 -2
  3. package/api/setting-definitions-api.ts +349 -0
  4. package/api/setting-keys-api.ts +864 -0
  5. package/api/setting-values-api.ts +246 -0
  6. package/api.ts +6 -0
  7. package/dist/api/setting-definitions-api.d.ts +206 -0
  8. package/dist/api/setting-definitions-api.js +352 -0
  9. package/dist/api/setting-keys-api.d.ts +490 -0
  10. package/dist/api/setting-keys-api.js +764 -0
  11. package/dist/api/setting-values-api.d.ts +150 -0
  12. package/dist/api/setting-values-api.js +260 -0
  13. package/dist/api.d.ts +3 -0
  14. package/dist/api.js +3 -0
  15. package/dist/models/create-setting-key-request-dto.d.ts +36 -0
  16. package/dist/models/create-setting-key-request-dto.js +15 -0
  17. package/dist/models/create-setting-key-response-class.d.ts +25 -0
  18. package/dist/models/create-setting-key-response-class.js +15 -0
  19. package/dist/models/delete-setting-key-response-class.d.ts +24 -0
  20. package/dist/models/delete-setting-key-response-class.js +15 -0
  21. package/dist/models/get-setting-definition-response-class.d.ts +25 -0
  22. package/dist/models/get-setting-definition-response-class.js +15 -0
  23. package/dist/models/get-setting-key-response-class.d.ts +25 -0
  24. package/dist/models/get-setting-key-response-class.js +15 -0
  25. package/dist/models/index.d.ts +14 -0
  26. package/dist/models/index.js +14 -0
  27. package/dist/models/list-setting-definitions-response-class.d.ts +43 -0
  28. package/dist/models/list-setting-definitions-response-class.js +15 -0
  29. package/dist/models/list-setting-keys-response-class.d.ts +43 -0
  30. package/dist/models/list-setting-keys-response-class.js +15 -0
  31. package/dist/models/list-setting-values-response-class.d.ts +43 -0
  32. package/dist/models/list-setting-values-response-class.js +15 -0
  33. package/dist/models/setting-definition-class.d.ts +124 -0
  34. package/dist/models/setting-definition-class.js +53 -0
  35. package/dist/models/setting-definition-version-class.d.ts +72 -0
  36. package/dist/models/setting-definition-version-class.js +15 -0
  37. package/dist/models/setting-key-class.d.ts +85 -0
  38. package/dist/models/setting-key-class.js +15 -0
  39. package/dist/models/setting-value-class.d.ts +72 -0
  40. package/dist/models/setting-value-class.js +15 -0
  41. package/dist/models/update-setting-key-request-rest-dto.d.ts +30 -0
  42. package/dist/models/update-setting-key-request-rest-dto.js +15 -0
  43. package/dist/models/update-setting-key-response-class.d.ts +25 -0
  44. package/dist/models/update-setting-key-response-class.js +15 -0
  45. package/models/create-setting-key-request-dto.ts +42 -0
  46. package/models/create-setting-key-response-class.ts +31 -0
  47. package/models/delete-setting-key-response-class.ts +30 -0
  48. package/models/get-setting-definition-response-class.ts +31 -0
  49. package/models/get-setting-key-response-class.ts +31 -0
  50. package/models/index.ts +14 -0
  51. package/models/list-setting-definitions-response-class.ts +49 -0
  52. package/models/list-setting-keys-response-class.ts +49 -0
  53. package/models/list-setting-values-response-class.ts +49 -0
  54. package/models/setting-definition-class.ts +134 -0
  55. package/models/setting-definition-version-class.ts +78 -0
  56. package/models/setting-key-class.ts +91 -0
  57. package/models/setting-value-class.ts +78 -0
  58. package/models/update-setting-key-request-rest-dto.ts +36 -0
  59. package/models/update-setting-key-response-class.ts +31 -0
  60. package/package.json +1 -1
@@ -5,6 +5,9 @@ README.md
5
5
  api.ts
6
6
  api/health-api.ts
7
7
  api/public-keys-api.ts
8
+ api/setting-definitions-api.ts
9
+ api/setting-keys-api.ts
10
+ api/setting-values-api.ts
8
11
  base.ts
9
12
  common.ts
10
13
  configuration.ts
@@ -12,15 +15,29 @@ git_push.sh
12
15
  index.ts
13
16
  models/create-public-key-request-dto.ts
14
17
  models/create-public-key-response-class.ts
18
+ models/create-setting-key-request-dto.ts
19
+ models/create-setting-key-response-class.ts
15
20
  models/delete-public-key-request-dto.ts
21
+ models/delete-setting-key-response-class.ts
16
22
  models/get-public-key-response-class.ts
23
+ models/get-setting-definition-response-class.ts
24
+ models/get-setting-key-response-class.ts
17
25
  models/index.ts
18
26
  models/inline-response200.ts
19
27
  models/inline-response503.ts
20
28
  models/list-public-keys-response-class.ts
29
+ models/list-setting-definitions-response-class.ts
30
+ models/list-setting-keys-response-class.ts
31
+ models/list-setting-values-response-class.ts
21
32
  models/public-key-class.ts
22
33
  models/rotate-public-key-response-class.ts
34
+ models/setting-definition-class.ts
35
+ models/setting-definition-version-class.ts
36
+ models/setting-key-class.ts
37
+ models/setting-value-class.ts
23
38
  models/update-public-key-request-dto.ts
24
39
  models/update-public-key-response-class.ts
40
+ models/update-setting-key-request-rest-dto.ts
41
+ models/update-setting-key-response-class.ts
25
42
  package.json
26
43
  tsconfig.json
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.17 --save
20
+ npm install @emilgroup/setting-sdk@0.3.1-beta.19 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/setting-sdk@0.3.1-beta.17
24
+ yarn add @emilgroup/setting-sdk@0.3.1-beta.19
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -0,0 +1,349 @@
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 globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { GetSettingDefinitionResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { ListSettingDefinitionsResponseClass } from '../models';
27
+ /**
28
+ * SettingDefinitionsApi - axios parameter creator
29
+ * @export
30
+ */
31
+ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?: Configuration) {
32
+ return {
33
+ /**
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\"
35
+ * @summary Retrieve the setting definition
36
+ * @param {string} code
37
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ getSettingDefinition: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
42
+ // verify required parameter 'code' is not null or undefined
43
+ assertParamExists('getSettingDefinition', 'code', code)
44
+ const localVarPath = `/settingservice/v1/settings/definitions/{code}`
45
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ let baseAccessToken;
50
+ if (configuration) {
51
+ baseOptions = configuration.baseOptions;
52
+ baseAccessToken = configuration.accessToken;
53
+ }
54
+
55
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56
+ const localVarHeaderParameter = {} as any;
57
+ const localVarQueryParameter = {} as any;
58
+
59
+ // authentication bearer required
60
+ // http bearer authentication required
61
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
62
+
63
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
64
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
65
+ }
66
+
67
+
68
+
69
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
71
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
72
+
73
+ return {
74
+ url: toPathString(localVarUrlObj),
75
+ options: localVarRequestOptions,
76
+ };
77
+ },
78
+ /**
79
+ * Returns a list of setting definitions you have previously created. The setting definitions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
80
+ * @summary List setting definitions
81
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
82
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
83
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
84
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
85
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
86
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
87
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
88
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ listSettingDefinitions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
93
+ const localVarPath = `/settingservice/v1/settings/definitions`;
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: 'GET', ...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 (pageSize !== undefined) {
112
+ localVarQueryParameter['pageSize'] = pageSize;
113
+ }
114
+
115
+ if (pageToken !== undefined) {
116
+ localVarQueryParameter['pageToken'] = pageToken;
117
+ }
118
+
119
+ if (filter !== undefined) {
120
+ localVarQueryParameter['filter'] = filter;
121
+ }
122
+
123
+ if (search !== undefined) {
124
+ localVarQueryParameter['search'] = search;
125
+ }
126
+
127
+ if (order !== undefined) {
128
+ localVarQueryParameter['order'] = order;
129
+ }
130
+
131
+ if (expand !== undefined) {
132
+ localVarQueryParameter['expand'] = expand;
133
+ }
134
+
135
+ if (filters !== undefined) {
136
+ localVarQueryParameter['filters'] = filters;
137
+ }
138
+
139
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
140
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
141
+ }
142
+
143
+
144
+
145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
148
+
149
+ return {
150
+ url: toPathString(localVarUrlObj),
151
+ options: localVarRequestOptions,
152
+ };
153
+ },
154
+ }
155
+ };
156
+
157
+ /**
158
+ * SettingDefinitionsApi - functional programming interface
159
+ * @export
160
+ */
161
+ export const SettingDefinitionsApiFp = function(configuration?: Configuration) {
162
+ const localVarAxiosParamCreator = SettingDefinitionsApiAxiosParamCreator(configuration)
163
+ return {
164
+ /**
165
+ * 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
+ * @summary Retrieve the setting definition
167
+ * @param {string} code
168
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ async getSettingDefinition(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingDefinitionResponseClass>> {
173
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSettingDefinition(code, authorization, options);
174
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
175
+ },
176
+ /**
177
+ * Returns a list of setting definitions you have previously created. The setting definitions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
178
+ * @summary List setting definitions
179
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
180
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
181
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
182
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
183
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
184
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
185
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
186
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ async listSettingDefinitions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettingDefinitionsResponseClass>> {
191
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSettingDefinitions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
192
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
193
+ },
194
+ }
195
+ };
196
+
197
+ /**
198
+ * SettingDefinitionsApi - factory interface
199
+ * @export
200
+ */
201
+ export const SettingDefinitionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
202
+ const localVarFp = SettingDefinitionsApiFp(configuration)
203
+ return {
204
+ /**
205
+ * 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
+ * @summary Retrieve the setting definition
207
+ * @param {string} code
208
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ getSettingDefinition(code: string, authorization?: string, options?: any): AxiosPromise<GetSettingDefinitionResponseClass> {
213
+ return localVarFp.getSettingDefinition(code, authorization, options).then((request) => request(axios, basePath));
214
+ },
215
+ /**
216
+ * Returns a list of setting definitions you have previously created. The setting definitions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
217
+ * @summary List setting definitions
218
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
219
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
220
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
221
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
222
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
223
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
224
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
225
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ */
229
+ listSettingDefinitions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettingDefinitionsResponseClass> {
230
+ return localVarFp.listSettingDefinitions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
231
+ },
232
+ };
233
+ };
234
+
235
+ /**
236
+ * Request parameters for getSettingDefinition operation in SettingDefinitionsApi.
237
+ * @export
238
+ * @interface SettingDefinitionsApiGetSettingDefinitionRequest
239
+ */
240
+ export interface SettingDefinitionsApiGetSettingDefinitionRequest {
241
+ /**
242
+ *
243
+ * @type {string}
244
+ * @memberof SettingDefinitionsApiGetSettingDefinition
245
+ */
246
+ readonly code: string
247
+
248
+ /**
249
+ * Bearer Token: provided by the login endpoint under the name accessToken.
250
+ * @type {string}
251
+ * @memberof SettingDefinitionsApiGetSettingDefinition
252
+ */
253
+ readonly authorization?: string
254
+ }
255
+
256
+ /**
257
+ * Request parameters for listSettingDefinitions operation in SettingDefinitionsApi.
258
+ * @export
259
+ * @interface SettingDefinitionsApiListSettingDefinitionsRequest
260
+ */
261
+ export interface SettingDefinitionsApiListSettingDefinitionsRequest {
262
+ /**
263
+ * Bearer Token: provided by the login endpoint under the name accessToken.
264
+ * @type {string}
265
+ * @memberof SettingDefinitionsApiListSettingDefinitions
266
+ */
267
+ readonly authorization?: string
268
+
269
+ /**
270
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
271
+ * @type {number}
272
+ * @memberof SettingDefinitionsApiListSettingDefinitions
273
+ */
274
+ readonly pageSize?: number
275
+
276
+ /**
277
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
278
+ * @type {string}
279
+ * @memberof SettingDefinitionsApiListSettingDefinitions
280
+ */
281
+ readonly pageToken?: string
282
+
283
+ /**
284
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
285
+ * @type {string}
286
+ * @memberof SettingDefinitionsApiListSettingDefinitions
287
+ */
288
+ readonly filter?: string
289
+
290
+ /**
291
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
292
+ * @type {string}
293
+ * @memberof SettingDefinitionsApiListSettingDefinitions
294
+ */
295
+ readonly search?: string
296
+
297
+ /**
298
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
299
+ * @type {string}
300
+ * @memberof SettingDefinitionsApiListSettingDefinitions
301
+ */
302
+ readonly order?: string
303
+
304
+ /**
305
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
306
+ * @type {string}
307
+ * @memberof SettingDefinitionsApiListSettingDefinitions
308
+ */
309
+ readonly expand?: string
310
+
311
+ /**
312
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
313
+ * @type {string}
314
+ * @memberof SettingDefinitionsApiListSettingDefinitions
315
+ */
316
+ readonly filters?: string
317
+ }
318
+
319
+ /**
320
+ * SettingDefinitionsApi - object-oriented interface
321
+ * @export
322
+ * @class SettingDefinitionsApi
323
+ * @extends {BaseAPI}
324
+ */
325
+ export class SettingDefinitionsApi extends BaseAPI {
326
+ /**
327
+ * 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
+ * @summary Retrieve the setting definition
329
+ * @param {SettingDefinitionsApiGetSettingDefinitionRequest} requestParameters Request parameters.
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ * @memberof SettingDefinitionsApi
333
+ */
334
+ public getSettingDefinition(requestParameters: SettingDefinitionsApiGetSettingDefinitionRequest, options?: AxiosRequestConfig) {
335
+ return SettingDefinitionsApiFp(this.configuration).getSettingDefinition(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
336
+ }
337
+
338
+ /**
339
+ * Returns a list of setting definitions you have previously created. The setting definitions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
340
+ * @summary List setting definitions
341
+ * @param {SettingDefinitionsApiListSettingDefinitionsRequest} requestParameters Request parameters.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ * @memberof SettingDefinitionsApi
345
+ */
346
+ public listSettingDefinitions(requestParameters: SettingDefinitionsApiListSettingDefinitionsRequest = {}, options?: AxiosRequestConfig) {
347
+ return SettingDefinitionsApiFp(this.configuration).listSettingDefinitions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
348
+ }
349
+ }