@emilgroup/setting-sdk-node 0.3.1-beta.16 → 0.3.1-beta.18

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 +353 -0
  4. package/api/setting-keys-api.ts +868 -0
  5. package/api/setting-values-api.ts +250 -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 +356 -0
  9. package/dist/api/setting-keys-api.d.ts +490 -0
  10. package/dist/api/setting-keys-api.js +768 -0
  11. package/dist/api/setting-values-api.d.ts +150 -0
  12. package/dist/api/setting-values-api.js +264 -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
@@ -0,0 +1,250 @@
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 { ListSettingValuesResponseClass } from '../models';
25
+ // URLSearchParams not necessarily used
26
+ // @ts-ignore
27
+ import { URL, URLSearchParams } from 'url';
28
+ const FormData = require('form-data');
29
+ /**
30
+ * SettingValuesApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const SettingValuesApiAxiosParamCreator = function (configuration?: Configuration) {
34
+ return {
35
+ /**
36
+ * Returns a list of setting values you have previously created. The setting values 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\"
37
+ * @summary List setting values
38
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
39
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
40
+ * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
41
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
42
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
43
+ * @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.
44
+ * @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.<br/> <br/>
45
+ * @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.
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ listSettingValues: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
50
+ const localVarPath = `/settingservice/v2/setting-values`;
51
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53
+ let baseOptions;
54
+ let baseAccessToken;
55
+ if (configuration) {
56
+ baseOptions = configuration.baseOptions;
57
+ baseAccessToken = configuration.accessToken;
58
+ }
59
+
60
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
61
+ const localVarHeaderParameter = {} as any;
62
+ const localVarQueryParameter = {} as any;
63
+
64
+ // authentication bearer required
65
+ // http bearer authentication required
66
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
67
+
68
+ if (pageSize !== undefined) {
69
+ localVarQueryParameter['pageSize'] = pageSize;
70
+ }
71
+
72
+ if (pageToken !== undefined) {
73
+ localVarQueryParameter['pageToken'] = pageToken;
74
+ }
75
+
76
+ if (filter !== undefined) {
77
+ localVarQueryParameter['filter'] = filter;
78
+ }
79
+
80
+ if (search !== undefined) {
81
+ localVarQueryParameter['search'] = search;
82
+ }
83
+
84
+ if (order !== undefined) {
85
+ localVarQueryParameter['order'] = order;
86
+ }
87
+
88
+ if (expand !== undefined) {
89
+ localVarQueryParameter['expand'] = expand;
90
+ }
91
+
92
+ if (filters !== undefined) {
93
+ localVarQueryParameter['filters'] = filters;
94
+ }
95
+
96
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
97
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
98
+ }
99
+
100
+
101
+
102
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
103
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
105
+
106
+ return {
107
+ url: toPathString(localVarUrlObj),
108
+ options: localVarRequestOptions,
109
+ };
110
+ },
111
+ }
112
+ };
113
+
114
+ /**
115
+ * SettingValuesApi - functional programming interface
116
+ * @export
117
+ */
118
+ export const SettingValuesApiFp = function(configuration?: Configuration) {
119
+ const localVarAxiosParamCreator = SettingValuesApiAxiosParamCreator(configuration)
120
+ return {
121
+ /**
122
+ * Returns a list of setting values you have previously created. The setting values 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\"
123
+ * @summary List setting values
124
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
125
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
126
+ * @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.
127
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
128
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
129
+ * @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.
130
+ * @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;
131
+ * @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.
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ async listSettingValues(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettingValuesResponseClass>> {
136
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSettingValues(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
137
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
138
+ },
139
+ }
140
+ };
141
+
142
+ /**
143
+ * SettingValuesApi - factory interface
144
+ * @export
145
+ */
146
+ export const SettingValuesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
147
+ const localVarFp = SettingValuesApiFp(configuration)
148
+ return {
149
+ /**
150
+ * Returns a list of setting values you have previously created. The setting values 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\"
151
+ * @summary List setting values
152
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
154
+ * @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.
155
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
156
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
157
+ * @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.
158
+ * @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;
159
+ * @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.
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ listSettingValues(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettingValuesResponseClass> {
164
+ return localVarFp.listSettingValues(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
165
+ },
166
+ };
167
+ };
168
+
169
+ /**
170
+ * Request parameters for listSettingValues operation in SettingValuesApi.
171
+ * @export
172
+ * @interface SettingValuesApiListSettingValuesRequest
173
+ */
174
+ export interface SettingValuesApiListSettingValuesRequest {
175
+ /**
176
+ * Bearer Token: provided by the login endpoint under the name accessToken.
177
+ * @type {string}
178
+ * @memberof SettingValuesApiListSettingValues
179
+ */
180
+ readonly authorization?: string
181
+
182
+ /**
183
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
184
+ * @type {number}
185
+ * @memberof SettingValuesApiListSettingValues
186
+ */
187
+ readonly pageSize?: number
188
+
189
+ /**
190
+ * 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.
191
+ * @type {string}
192
+ * @memberof SettingValuesApiListSettingValues
193
+ */
194
+ readonly pageToken?: string
195
+
196
+ /**
197
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
198
+ * @type {string}
199
+ * @memberof SettingValuesApiListSettingValues
200
+ */
201
+ readonly filter?: string
202
+
203
+ /**
204
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
205
+ * @type {string}
206
+ * @memberof SettingValuesApiListSettingValues
207
+ */
208
+ readonly search?: string
209
+
210
+ /**
211
+ * 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.
212
+ * @type {string}
213
+ * @memberof SettingValuesApiListSettingValues
214
+ */
215
+ readonly order?: string
216
+
217
+ /**
218
+ * 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;
219
+ * @type {string}
220
+ * @memberof SettingValuesApiListSettingValues
221
+ */
222
+ readonly expand?: string
223
+
224
+ /**
225
+ * 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
+ * @type {string}
227
+ * @memberof SettingValuesApiListSettingValues
228
+ */
229
+ readonly filters?: string
230
+ }
231
+
232
+ /**
233
+ * SettingValuesApi - object-oriented interface
234
+ * @export
235
+ * @class SettingValuesApi
236
+ * @extends {BaseAPI}
237
+ */
238
+ export class SettingValuesApi extends BaseAPI {
239
+ /**
240
+ * Returns a list of setting values you have previously created. The setting values 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\"
241
+ * @summary List setting values
242
+ * @param {SettingValuesApiListSettingValuesRequest} requestParameters Request parameters.
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ * @memberof SettingValuesApi
246
+ */
247
+ public listSettingValues(requestParameters: SettingValuesApiListSettingValuesRequest = {}, options?: AxiosRequestConfig) {
248
+ return SettingValuesApiFp(this.configuration).listSettingValues(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
249
+ }
250
+ }
package/api.ts CHANGED
@@ -26,8 +26,14 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { HealthApi } from './api';
28
28
  import { PublicKeysApi } from './api';
29
+ import { SettingDefinitionsApi } from './api';
30
+ import { SettingKeysApi } from './api';
31
+ import { SettingValuesApi } from './api';
29
32
 
30
33
 
31
34
  export * from './api/health-api';
32
35
  export * from './api/public-keys-api';
36
+ export * from './api/setting-definitions-api';
37
+ export * from './api/setting-keys-api';
38
+ export * from './api/setting-values-api';
33
39
 
@@ -0,0 +1,206 @@
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { GetSettingDefinitionResponseClass } from '../models';
16
+ import { ListSettingDefinitionsResponseClass } from '../models';
17
+ /**
18
+ * SettingDefinitionsApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const SettingDefinitionsApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ * 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
+ * @summary Retrieve the setting definition
25
+ * @param {string} code
26
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ getSettingDefinition: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
+ /**
32
+ * 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\"
33
+ * @summary List setting definitions
34
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
35
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
36
+ * @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.
37
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
38
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
39
+ * @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.
40
+ * @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;
41
+ * @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.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ listSettingDefinitions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
+ };
47
+ /**
48
+ * SettingDefinitionsApi - functional programming interface
49
+ * @export
50
+ */
51
+ export declare const SettingDefinitionsApiFp: (configuration?: Configuration) => {
52
+ /**
53
+ * 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
+ * @summary Retrieve the setting definition
55
+ * @param {string} code
56
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ getSettingDefinition(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingDefinitionResponseClass>>;
61
+ /**
62
+ * 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\"
63
+ * @summary List setting definitions
64
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
65
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
66
+ * @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.
67
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
68
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
69
+ * @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.
70
+ * @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;
71
+ * @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.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ 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>>;
76
+ };
77
+ /**
78
+ * SettingDefinitionsApi - factory interface
79
+ * @export
80
+ */
81
+ export declare const SettingDefinitionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
82
+ /**
83
+ * 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
+ * @summary Retrieve the setting definition
85
+ * @param {string} code
86
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ getSettingDefinition(code: string, authorization?: string, options?: any): AxiosPromise<GetSettingDefinitionResponseClass>;
91
+ /**
92
+ * 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\"
93
+ * @summary List setting definitions
94
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
95
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
96
+ * @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.
97
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
98
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
99
+ * @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.
100
+ * @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;
101
+ * @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.
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ listSettingDefinitions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettingDefinitionsResponseClass>;
106
+ };
107
+ /**
108
+ * Request parameters for getSettingDefinition operation in SettingDefinitionsApi.
109
+ * @export
110
+ * @interface SettingDefinitionsApiGetSettingDefinitionRequest
111
+ */
112
+ export interface SettingDefinitionsApiGetSettingDefinitionRequest {
113
+ /**
114
+ *
115
+ * @type {string}
116
+ * @memberof SettingDefinitionsApiGetSettingDefinition
117
+ */
118
+ readonly code: string;
119
+ /**
120
+ * Bearer Token: provided by the login endpoint under the name accessToken.
121
+ * @type {string}
122
+ * @memberof SettingDefinitionsApiGetSettingDefinition
123
+ */
124
+ readonly authorization?: string;
125
+ }
126
+ /**
127
+ * Request parameters for listSettingDefinitions operation in SettingDefinitionsApi.
128
+ * @export
129
+ * @interface SettingDefinitionsApiListSettingDefinitionsRequest
130
+ */
131
+ export interface SettingDefinitionsApiListSettingDefinitionsRequest {
132
+ /**
133
+ * Bearer Token: provided by the login endpoint under the name accessToken.
134
+ * @type {string}
135
+ * @memberof SettingDefinitionsApiListSettingDefinitions
136
+ */
137
+ readonly authorization?: string;
138
+ /**
139
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
140
+ * @type {number}
141
+ * @memberof SettingDefinitionsApiListSettingDefinitions
142
+ */
143
+ readonly pageSize?: number;
144
+ /**
145
+ * 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.
146
+ * @type {string}
147
+ * @memberof SettingDefinitionsApiListSettingDefinitions
148
+ */
149
+ readonly pageToken?: string;
150
+ /**
151
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
152
+ * @type {string}
153
+ * @memberof SettingDefinitionsApiListSettingDefinitions
154
+ */
155
+ readonly filter?: string;
156
+ /**
157
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
158
+ * @type {string}
159
+ * @memberof SettingDefinitionsApiListSettingDefinitions
160
+ */
161
+ readonly search?: string;
162
+ /**
163
+ * 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.
164
+ * @type {string}
165
+ * @memberof SettingDefinitionsApiListSettingDefinitions
166
+ */
167
+ readonly order?: string;
168
+ /**
169
+ * 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;
170
+ * @type {string}
171
+ * @memberof SettingDefinitionsApiListSettingDefinitions
172
+ */
173
+ readonly expand?: string;
174
+ /**
175
+ * 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.
176
+ * @type {string}
177
+ * @memberof SettingDefinitionsApiListSettingDefinitions
178
+ */
179
+ readonly filters?: string;
180
+ }
181
+ /**
182
+ * SettingDefinitionsApi - object-oriented interface
183
+ * @export
184
+ * @class SettingDefinitionsApi
185
+ * @extends {BaseAPI}
186
+ */
187
+ export declare class SettingDefinitionsApi extends BaseAPI {
188
+ /**
189
+ * 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
+ * @summary Retrieve the setting definition
191
+ * @param {SettingDefinitionsApiGetSettingDefinitionRequest} requestParameters Request parameters.
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ * @memberof SettingDefinitionsApi
195
+ */
196
+ getSettingDefinition(requestParameters: SettingDefinitionsApiGetSettingDefinitionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSettingDefinitionResponseClass, any, {}>>;
197
+ /**
198
+ * 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\"
199
+ * @summary List setting definitions
200
+ * @param {SettingDefinitionsApiListSettingDefinitionsRequest} requestParameters Request parameters.
201
+ * @param {*} [options] Override http request option.
202
+ * @throws {RequiredError}
203
+ * @memberof SettingDefinitionsApi
204
+ */
205
+ listSettingDefinitions(requestParameters?: SettingDefinitionsApiListSettingDefinitionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSettingDefinitionsResponseClass, any, {}>>;
206
+ }