@emilgroup/setting-sdk-node 0.3.1-beta.23 → 0.3.1-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -2
- package/README.md +2 -2
- package/api/setting-definitions-api.ts +51 -50
- package/api/setting-keys-api.ts +38 -54
- package/api.ts +0 -2
- package/dist/api/setting-definitions-api.d.ts +39 -39
- package/dist/api/setting-definitions-api.js +38 -38
- package/dist/api/setting-keys-api.d.ts +35 -44
- package/dist/api/setting-keys-api.js +31 -39
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/setting-key-class.d.ts +1 -1
- package/models/index.ts +0 -1
- package/models/setting-key-class.ts +1 -1
- package/package.json +1 -1
- package/api/setting-values-api.ts +0 -250
- package/dist/api/setting-values-api.d.ts +0 -150
- package/dist/api/setting-values-api.js +0 -264
- package/dist/models/list-setting-values-response-class.d.ts +0 -43
- package/dist/models/list-setting-values-response-class.js +0 -15
- package/models/list-setting-values-response-class.ts +0 -49
package/.openapi-generator/FILES
CHANGED
|
@@ -7,7 +7,6 @@ api/health-api.ts
|
|
|
7
7
|
api/public-keys-api.ts
|
|
8
8
|
api/setting-definitions-api.ts
|
|
9
9
|
api/setting-keys-api.ts
|
|
10
|
-
api/setting-values-api.ts
|
|
11
10
|
base.ts
|
|
12
11
|
common.ts
|
|
13
12
|
configuration.ts
|
|
@@ -30,7 +29,6 @@ models/inline-response503.ts
|
|
|
30
29
|
models/list-public-keys-response-class.ts
|
|
31
30
|
models/list-setting-definitions-response-class.ts
|
|
32
31
|
models/list-setting-keys-response-class.ts
|
|
33
|
-
models/list-setting-values-response-class.ts
|
|
34
32
|
models/public-key-class.ts
|
|
35
33
|
models/rotate-public-key-response-class.ts
|
|
36
34
|
models/setting-definition-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/setting-sdk-node@0.3.1-beta.
|
|
20
|
+
npm install @emilgroup/setting-sdk-node@0.3.1-beta.25 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/setting-sdk-node@0.3.1-beta.
|
|
24
|
+
yarn add @emilgroup/setting-sdk-node@0.3.1-beta.25
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -90,20 +90,16 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
|
|
|
90
90
|
/**
|
|
91
91
|
* Delete a tenant setting definition and cascade soft-delete its versions, keys, and values. **Required Permissions** \"tenant-management.settings.delete\"
|
|
92
92
|
* @summary Delete the setting definition
|
|
93
|
-
* @param {string} code
|
|
94
|
-
* @param {any} settingDefinition Unique identifier for the object.
|
|
93
|
+
* @param {string} code Unique identifier for the object.
|
|
95
94
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
95
|
* @param {*} [options] Override http request option.
|
|
97
96
|
* @throws {RequiredError}
|
|
98
97
|
*/
|
|
99
|
-
deleteSettingDefinition: async (code: string,
|
|
98
|
+
deleteSettingDefinition: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
100
99
|
// verify required parameter 'code' is not null or undefined
|
|
101
100
|
assertParamExists('deleteSettingDefinition', 'code', code)
|
|
102
|
-
// verify required parameter 'settingDefinition' is not null or undefined
|
|
103
|
-
assertParamExists('deleteSettingDefinition', 'settingDefinition', settingDefinition)
|
|
104
101
|
const localVarPath = `/settingservice/v1/settings/definitions/{code}`
|
|
105
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)))
|
|
106
|
-
.replace(`{${"setting definition"}}`, encodeURIComponent(String(settingDefinition)));
|
|
102
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
107
103
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108
104
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
109
105
|
let baseOptions;
|
|
@@ -141,10 +137,11 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
|
|
|
141
137
|
* @summary Retrieve the setting definition
|
|
142
138
|
* @param {string} code
|
|
143
139
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
140
|
+
* @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/> <i>Allowed values: versions<i>
|
|
144
141
|
* @param {*} [options] Override http request option.
|
|
145
142
|
* @throws {RequiredError}
|
|
146
143
|
*/
|
|
147
|
-
getSettingDefinition: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
+
getSettingDefinition: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
145
|
// verify required parameter 'code' is not null or undefined
|
|
149
146
|
assertParamExists('getSettingDefinition', 'code', code)
|
|
150
147
|
const localVarPath = `/settingservice/v1/settings/definitions/{code}`
|
|
@@ -166,6 +163,10 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
|
|
|
166
163
|
// http bearer authentication required
|
|
167
164
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
168
165
|
|
|
166
|
+
if (expand !== undefined) {
|
|
167
|
+
localVarQueryParameter['expand'] = expand;
|
|
168
|
+
}
|
|
169
|
+
|
|
169
170
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
170
171
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
171
172
|
}
|
|
@@ -182,16 +183,16 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
|
|
|
182
183
|
};
|
|
183
184
|
},
|
|
184
185
|
/**
|
|
185
|
-
*
|
|
186
|
+
* List setting definitions with optional filters, sorting, and pagination. Use expand=versions to include schema version history. **Required Permissions** \"tenant-management.settings.view\"
|
|
186
187
|
* @summary List setting definitions
|
|
187
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
188
189
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
189
190
|
* @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.
|
|
190
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
191
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt</i>
|
|
191
192
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
192
|
-
* @param {string} [order]
|
|
193
|
-
* @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/>
|
|
194
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
193
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt</i>
|
|
194
|
+
* @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/> <i>Allowed values: versions<i>
|
|
195
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt</i>
|
|
195
196
|
* @param {*} [options] Override http request option.
|
|
196
197
|
* @throws {RequiredError}
|
|
197
198
|
*/
|
|
@@ -282,14 +283,13 @@ export const SettingDefinitionsApiFp = function(configuration?: Configuration) {
|
|
|
282
283
|
/**
|
|
283
284
|
* Delete a tenant setting definition and cascade soft-delete its versions, keys, and values. **Required Permissions** \"tenant-management.settings.delete\"
|
|
284
285
|
* @summary Delete the setting definition
|
|
285
|
-
* @param {string} code
|
|
286
|
-
* @param {any} settingDefinition Unique identifier for the object.
|
|
286
|
+
* @param {string} code Unique identifier for the object.
|
|
287
287
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
288
288
|
* @param {*} [options] Override http request option.
|
|
289
289
|
* @throws {RequiredError}
|
|
290
290
|
*/
|
|
291
|
-
async deleteSettingDefinition(code: string,
|
|
292
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettingDefinition(code,
|
|
291
|
+
async deleteSettingDefinition(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
|
|
292
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettingDefinition(code, authorization, options);
|
|
293
293
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
@@ -297,24 +297,25 @@ export const SettingDefinitionsApiFp = function(configuration?: Configuration) {
|
|
|
297
297
|
* @summary Retrieve the setting definition
|
|
298
298
|
* @param {string} code
|
|
299
299
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
300
|
+
* @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/> <i>Allowed values: versions<i>
|
|
300
301
|
* @param {*} [options] Override http request option.
|
|
301
302
|
* @throws {RequiredError}
|
|
302
303
|
*/
|
|
303
|
-
async getSettingDefinition(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingDefinitionResponseClass>> {
|
|
304
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettingDefinition(code, authorization, options);
|
|
304
|
+
async getSettingDefinition(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingDefinitionResponseClass>> {
|
|
305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettingDefinition(code, authorization, expand, options);
|
|
305
306
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
306
307
|
},
|
|
307
308
|
/**
|
|
308
|
-
*
|
|
309
|
+
* List setting definitions with optional filters, sorting, and pagination. Use expand=versions to include schema version history. **Required Permissions** \"tenant-management.settings.view\"
|
|
309
310
|
* @summary List setting definitions
|
|
310
311
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
311
312
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
312
313
|
* @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.
|
|
313
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
314
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt</i>
|
|
314
315
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
315
|
-
* @param {string} [order]
|
|
316
|
-
* @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/>
|
|
317
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
316
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt</i>
|
|
317
|
+
* @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/> <i>Allowed values: versions<i>
|
|
318
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt</i>
|
|
318
319
|
* @param {*} [options] Override http request option.
|
|
319
320
|
* @throws {RequiredError}
|
|
320
321
|
*/
|
|
@@ -346,37 +347,37 @@ export const SettingDefinitionsApiFactory = function (configuration?: Configurat
|
|
|
346
347
|
/**
|
|
347
348
|
* Delete a tenant setting definition and cascade soft-delete its versions, keys, and values. **Required Permissions** \"tenant-management.settings.delete\"
|
|
348
349
|
* @summary Delete the setting definition
|
|
349
|
-
* @param {string} code
|
|
350
|
-
* @param {any} settingDefinition Unique identifier for the object.
|
|
350
|
+
* @param {string} code Unique identifier for the object.
|
|
351
351
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
*/
|
|
355
|
-
deleteSettingDefinition(code: string,
|
|
356
|
-
return localVarFp.deleteSettingDefinition(code,
|
|
355
|
+
deleteSettingDefinition(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
|
|
356
|
+
return localVarFp.deleteSettingDefinition(code, authorization, options).then((request) => request(axios, basePath));
|
|
357
357
|
},
|
|
358
358
|
/**
|
|
359
359
|
* 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\"
|
|
360
360
|
* @summary Retrieve the setting definition
|
|
361
361
|
* @param {string} code
|
|
362
362
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
363
|
+
* @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/> <i>Allowed values: versions<i>
|
|
363
364
|
* @param {*} [options] Override http request option.
|
|
364
365
|
* @throws {RequiredError}
|
|
365
366
|
*/
|
|
366
|
-
getSettingDefinition(code: string, authorization?: string, options?: any): AxiosPromise<GetSettingDefinitionResponseClass> {
|
|
367
|
-
return localVarFp.getSettingDefinition(code, authorization, options).then((request) => request(axios, basePath));
|
|
367
|
+
getSettingDefinition(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetSettingDefinitionResponseClass> {
|
|
368
|
+
return localVarFp.getSettingDefinition(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
368
369
|
},
|
|
369
370
|
/**
|
|
370
|
-
*
|
|
371
|
+
* List setting definitions with optional filters, sorting, and pagination. Use expand=versions to include schema version history. **Required Permissions** \"tenant-management.settings.view\"
|
|
371
372
|
* @summary List setting definitions
|
|
372
373
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
373
374
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
374
375
|
* @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.
|
|
375
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
376
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt</i>
|
|
376
377
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
377
|
-
* @param {string} [order]
|
|
378
|
-
* @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/>
|
|
379
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
378
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt</i>
|
|
379
|
+
* @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/> <i>Allowed values: versions<i>
|
|
380
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt</i>
|
|
380
381
|
* @param {*} [options] Override http request option.
|
|
381
382
|
* @throws {RequiredError}
|
|
382
383
|
*/
|
|
@@ -414,19 +415,12 @@ export interface SettingDefinitionsApiCreateSettingDefinitionRequest {
|
|
|
414
415
|
*/
|
|
415
416
|
export interface SettingDefinitionsApiDeleteSettingDefinitionRequest {
|
|
416
417
|
/**
|
|
417
|
-
*
|
|
418
|
+
* Unique identifier for the object.
|
|
418
419
|
* @type {string}
|
|
419
420
|
* @memberof SettingDefinitionsApiDeleteSettingDefinition
|
|
420
421
|
*/
|
|
421
422
|
readonly code: string
|
|
422
423
|
|
|
423
|
-
/**
|
|
424
|
-
* Unique identifier for the object.
|
|
425
|
-
* @type {any}
|
|
426
|
-
* @memberof SettingDefinitionsApiDeleteSettingDefinition
|
|
427
|
-
*/
|
|
428
|
-
readonly settingDefinition: any
|
|
429
|
-
|
|
430
424
|
/**
|
|
431
425
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
432
426
|
* @type {string}
|
|
@@ -454,6 +448,13 @@ export interface SettingDefinitionsApiGetSettingDefinitionRequest {
|
|
|
454
448
|
* @memberof SettingDefinitionsApiGetSettingDefinition
|
|
455
449
|
*/
|
|
456
450
|
readonly authorization?: string
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* 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/> <i>Allowed values: versions<i>
|
|
454
|
+
* @type {string}
|
|
455
|
+
* @memberof SettingDefinitionsApiGetSettingDefinition
|
|
456
|
+
*/
|
|
457
|
+
readonly expand?: string
|
|
457
458
|
}
|
|
458
459
|
|
|
459
460
|
/**
|
|
@@ -484,7 +485,7 @@ export interface SettingDefinitionsApiListSettingDefinitionsRequest {
|
|
|
484
485
|
readonly pageToken?: string
|
|
485
486
|
|
|
486
487
|
/**
|
|
487
|
-
* Filter the response by one or multiple fields.
|
|
488
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt</i>
|
|
488
489
|
* @type {string}
|
|
489
490
|
* @memberof SettingDefinitionsApiListSettingDefinitions
|
|
490
491
|
*/
|
|
@@ -498,21 +499,21 @@ export interface SettingDefinitionsApiListSettingDefinitionsRequest {
|
|
|
498
499
|
readonly search?: string
|
|
499
500
|
|
|
500
501
|
/**
|
|
501
|
-
*
|
|
502
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt</i>
|
|
502
503
|
* @type {string}
|
|
503
504
|
* @memberof SettingDefinitionsApiListSettingDefinitions
|
|
504
505
|
*/
|
|
505
506
|
readonly order?: string
|
|
506
507
|
|
|
507
508
|
/**
|
|
508
|
-
* 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/>
|
|
509
|
+
* 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/> <i>Allowed values: versions<i>
|
|
509
510
|
* @type {string}
|
|
510
511
|
* @memberof SettingDefinitionsApiListSettingDefinitions
|
|
511
512
|
*/
|
|
512
513
|
readonly expand?: string
|
|
513
514
|
|
|
514
515
|
/**
|
|
515
|
-
* Filters the response by one or multiple fields.
|
|
516
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt</i>
|
|
516
517
|
* @type {string}
|
|
517
518
|
* @memberof SettingDefinitionsApiListSettingDefinitions
|
|
518
519
|
*/
|
|
@@ -547,7 +548,7 @@ export class SettingDefinitionsApi extends BaseAPI {
|
|
|
547
548
|
* @memberof SettingDefinitionsApi
|
|
548
549
|
*/
|
|
549
550
|
public deleteSettingDefinition(requestParameters: SettingDefinitionsApiDeleteSettingDefinitionRequest, options?: AxiosRequestConfig) {
|
|
550
|
-
return SettingDefinitionsApiFp(this.configuration).deleteSettingDefinition(requestParameters.code, requestParameters.
|
|
551
|
+
return SettingDefinitionsApiFp(this.configuration).deleteSettingDefinition(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
551
552
|
}
|
|
552
553
|
|
|
553
554
|
/**
|
|
@@ -559,11 +560,11 @@ export class SettingDefinitionsApi extends BaseAPI {
|
|
|
559
560
|
* @memberof SettingDefinitionsApi
|
|
560
561
|
*/
|
|
561
562
|
public getSettingDefinition(requestParameters: SettingDefinitionsApiGetSettingDefinitionRequest, options?: AxiosRequestConfig) {
|
|
562
|
-
return SettingDefinitionsApiFp(this.configuration).getSettingDefinition(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
563
|
+
return SettingDefinitionsApiFp(this.configuration).getSettingDefinition(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
563
564
|
}
|
|
564
565
|
|
|
565
566
|
/**
|
|
566
|
-
*
|
|
567
|
+
* List setting definitions with optional filters, sorting, and pagination. Use expand=versions to include schema version history. **Required Permissions** \"tenant-management.settings.view\"
|
|
567
568
|
* @summary List setting definitions
|
|
568
569
|
* @param {SettingDefinitionsApiListSettingDefinitionsRequest} requestParameters Request parameters.
|
|
569
570
|
* @param {*} [options] Override http request option.
|