@emilgroup/setting-sdk 0.3.1-beta.24 → 0.3.1-beta.26

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.
@@ -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@0.3.1-beta.24 --save
20
+ npm install @emilgroup/setting-sdk@0.3.1-beta.26 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/setting-sdk@0.3.1-beta.24
24
+ yarn add @emilgroup/setting-sdk@0.3.1-beta.26
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -86,20 +86,16 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
86
86
  /**
87
87
  * Delete a tenant setting definition and cascade soft-delete its versions, keys, and values. **Required Permissions** \"tenant-management.settings.delete\"
88
88
  * @summary Delete the setting definition
89
- * @param {string} code
90
- * @param {any} settingDefinition Unique identifier for the object.
89
+ * @param {string} code Unique identifier for the object.
91
90
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
92
91
  * @param {*} [options] Override http request option.
93
92
  * @throws {RequiredError}
94
93
  */
95
- deleteSettingDefinition: async (code: string, settingDefinition: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
94
+ deleteSettingDefinition: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
96
95
  // verify required parameter 'code' is not null or undefined
97
96
  assertParamExists('deleteSettingDefinition', 'code', code)
98
- // verify required parameter 'settingDefinition' is not null or undefined
99
- assertParamExists('deleteSettingDefinition', 'settingDefinition', settingDefinition)
100
97
  const localVarPath = `/settingservice/v1/settings/definitions/{code}`
101
- .replace(`{${"code"}}`, encodeURIComponent(String(code)))
102
- .replace(`{${"setting definition"}}`, encodeURIComponent(String(settingDefinition)));
98
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
103
99
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
104
100
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
105
101
  let baseOptions;
@@ -137,10 +133,11 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
137
133
  * @summary Retrieve the setting definition
138
134
  * @param {string} code
139
135
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
136
+ * @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; &lt;i&gt;Allowed values: versions&lt;i&gt;
140
137
  * @param {*} [options] Override http request option.
141
138
  * @throws {RequiredError}
142
139
  */
143
- getSettingDefinition: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
140
+ getSettingDefinition: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
144
141
  // verify required parameter 'code' is not null or undefined
145
142
  assertParamExists('getSettingDefinition', 'code', code)
146
143
  const localVarPath = `/settingservice/v1/settings/definitions/{code}`
@@ -162,6 +159,10 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
162
159
  // http bearer authentication required
163
160
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
164
161
 
162
+ if (expand !== undefined) {
163
+ localVarQueryParameter['expand'] = expand;
164
+ }
165
+
165
166
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
166
167
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
167
168
  }
@@ -178,16 +179,16 @@ export const SettingDefinitionsApiAxiosParamCreator = function (configuration?:
178
179
  };
179
180
  },
180
181
  /**
181
- * 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\"
182
+ * List setting definitions with optional filters, sorting, and pagination. Use expand=versions to include schema version history. **Required Permissions** \"tenant-management.settings.view\"
182
183
  * @summary List setting definitions
183
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
184
185
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
185
186
  * @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.
186
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
187
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt&lt;/i&gt;
187
188
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
188
- * @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.
189
- * @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;
190
- * @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.
189
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt&lt;/i&gt;
190
+ * @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; &lt;i&gt;Allowed values: versions&lt;i&gt;
191
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt&lt;/i&gt;
191
192
  * @param {*} [options] Override http request option.
192
193
  * @throws {RequiredError}
193
194
  */
@@ -278,14 +279,13 @@ export const SettingDefinitionsApiFp = function(configuration?: Configuration) {
278
279
  /**
279
280
  * Delete a tenant setting definition and cascade soft-delete its versions, keys, and values. **Required Permissions** \"tenant-management.settings.delete\"
280
281
  * @summary Delete the setting definition
281
- * @param {string} code
282
- * @param {any} settingDefinition Unique identifier for the object.
282
+ * @param {string} code Unique identifier for the object.
283
283
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
284
284
  * @param {*} [options] Override http request option.
285
285
  * @throws {RequiredError}
286
286
  */
287
- async deleteSettingDefinition(code: string, settingDefinition: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
288
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettingDefinition(code, settingDefinition, authorization, options);
287
+ async deleteSettingDefinition(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettingDefinition(code, authorization, options);
289
289
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
290
290
  },
291
291
  /**
@@ -293,24 +293,25 @@ export const SettingDefinitionsApiFp = function(configuration?: Configuration) {
293
293
  * @summary Retrieve the setting definition
294
294
  * @param {string} code
295
295
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
296
+ * @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; &lt;i&gt;Allowed values: versions&lt;i&gt;
296
297
  * @param {*} [options] Override http request option.
297
298
  * @throws {RequiredError}
298
299
  */
299
- async getSettingDefinition(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingDefinitionResponseClass>> {
300
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSettingDefinition(code, authorization, options);
300
+ async getSettingDefinition(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingDefinitionResponseClass>> {
301
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSettingDefinition(code, authorization, expand, options);
301
302
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
302
303
  },
303
304
  /**
304
- * 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\"
305
+ * List setting definitions with optional filters, sorting, and pagination. Use expand=versions to include schema version history. **Required Permissions** \"tenant-management.settings.view\"
305
306
  * @summary List setting definitions
306
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
307
308
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
308
309
  * @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.
309
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
310
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt&lt;/i&gt;
310
311
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
311
- * @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.
312
- * @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;
313
- * @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.
312
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt&lt;/i&gt;
313
+ * @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; &lt;i&gt;Allowed values: versions&lt;i&gt;
314
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt&lt;/i&gt;
314
315
  * @param {*} [options] Override http request option.
315
316
  * @throws {RequiredError}
316
317
  */
@@ -342,37 +343,37 @@ export const SettingDefinitionsApiFactory = function (configuration?: Configurat
342
343
  /**
343
344
  * Delete a tenant setting definition and cascade soft-delete its versions, keys, and values. **Required Permissions** \"tenant-management.settings.delete\"
344
345
  * @summary Delete the setting definition
345
- * @param {string} code
346
- * @param {any} settingDefinition Unique identifier for the object.
346
+ * @param {string} code Unique identifier for the object.
347
347
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
348
  * @param {*} [options] Override http request option.
349
349
  * @throws {RequiredError}
350
350
  */
351
- deleteSettingDefinition(code: string, settingDefinition: any, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
352
- return localVarFp.deleteSettingDefinition(code, settingDefinition, authorization, options).then((request) => request(axios, basePath));
351
+ deleteSettingDefinition(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
352
+ return localVarFp.deleteSettingDefinition(code, authorization, options).then((request) => request(axios, basePath));
353
353
  },
354
354
  /**
355
355
  * 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\"
356
356
  * @summary Retrieve the setting definition
357
357
  * @param {string} code
358
358
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
359
+ * @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; &lt;i&gt;Allowed values: versions&lt;i&gt;
359
360
  * @param {*} [options] Override http request option.
360
361
  * @throws {RequiredError}
361
362
  */
362
- getSettingDefinition(code: string, authorization?: string, options?: any): AxiosPromise<GetSettingDefinitionResponseClass> {
363
- return localVarFp.getSettingDefinition(code, authorization, options).then((request) => request(axios, basePath));
363
+ getSettingDefinition(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetSettingDefinitionResponseClass> {
364
+ return localVarFp.getSettingDefinition(code, authorization, expand, options).then((request) => request(axios, basePath));
364
365
  },
365
366
  /**
366
- * 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\"
367
+ * List setting definitions with optional filters, sorting, and pagination. Use expand=versions to include schema version history. **Required Permissions** \"tenant-management.settings.view\"
367
368
  * @summary List setting definitions
368
369
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
369
370
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
370
371
  * @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.
371
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
372
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt&lt;/i&gt;
372
373
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
373
- * @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.
374
- * @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;
375
- * @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.
374
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt&lt;/i&gt;
375
+ * @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; &lt;i&gt;Allowed values: versions&lt;i&gt;
376
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt&lt;/i&gt;
376
377
  * @param {*} [options] Override http request option.
377
378
  * @throws {RequiredError}
378
379
  */
@@ -410,19 +411,12 @@ export interface SettingDefinitionsApiCreateSettingDefinitionRequest {
410
411
  */
411
412
  export interface SettingDefinitionsApiDeleteSettingDefinitionRequest {
412
413
  /**
413
- *
414
+ * Unique identifier for the object.
414
415
  * @type {string}
415
416
  * @memberof SettingDefinitionsApiDeleteSettingDefinition
416
417
  */
417
418
  readonly code: string
418
419
 
419
- /**
420
- * Unique identifier for the object.
421
- * @type {any}
422
- * @memberof SettingDefinitionsApiDeleteSettingDefinition
423
- */
424
- readonly settingDefinition: any
425
-
426
420
  /**
427
421
  * Bearer Token: provided by the login endpoint under the name accessToken.
428
422
  * @type {string}
@@ -450,6 +444,13 @@ export interface SettingDefinitionsApiGetSettingDefinitionRequest {
450
444
  * @memberof SettingDefinitionsApiGetSettingDefinition
451
445
  */
452
446
  readonly authorization?: string
447
+
448
+ /**
449
+ * 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; &lt;i&gt;Allowed values: versions&lt;i&gt;
450
+ * @type {string}
451
+ * @memberof SettingDefinitionsApiGetSettingDefinition
452
+ */
453
+ readonly expand?: string
453
454
  }
454
455
 
455
456
  /**
@@ -480,7 +481,7 @@ export interface SettingDefinitionsApiListSettingDefinitionsRequest {
480
481
  readonly pageToken?: string
481
482
 
482
483
  /**
483
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
484
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt&lt;/i&gt;
484
485
  * @type {string}
485
486
  * @memberof SettingDefinitionsApiListSettingDefinitions
486
487
  */
@@ -494,21 +495,21 @@ export interface SettingDefinitionsApiListSettingDefinitionsRequest {
494
495
  readonly search?: string
495
496
 
496
497
  /**
497
- * 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.
498
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt&lt;/i&gt;
498
499
  * @type {string}
499
500
  * @memberof SettingDefinitionsApiListSettingDefinitions
500
501
  */
501
502
  readonly order?: string
502
503
 
503
504
  /**
504
- * 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;
505
+ * 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; &lt;i&gt;Allowed values: versions&lt;i&gt;
505
506
  * @type {string}
506
507
  * @memberof SettingDefinitionsApiListSettingDefinitions
507
508
  */
508
509
  readonly expand?: string
509
510
 
510
511
  /**
511
- * 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.
512
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, isSecured, createdAt, updatedAt&lt;/i&gt;
512
513
  * @type {string}
513
514
  * @memberof SettingDefinitionsApiListSettingDefinitions
514
515
  */
@@ -543,7 +544,7 @@ export class SettingDefinitionsApi extends BaseAPI {
543
544
  * @memberof SettingDefinitionsApi
544
545
  */
545
546
  public deleteSettingDefinition(requestParameters: SettingDefinitionsApiDeleteSettingDefinitionRequest, options?: AxiosRequestConfig) {
546
- return SettingDefinitionsApiFp(this.configuration).deleteSettingDefinition(requestParameters.code, requestParameters.settingDefinition, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
547
+ return SettingDefinitionsApiFp(this.configuration).deleteSettingDefinition(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
547
548
  }
548
549
 
549
550
  /**
@@ -555,11 +556,11 @@ export class SettingDefinitionsApi extends BaseAPI {
555
556
  * @memberof SettingDefinitionsApi
556
557
  */
557
558
  public getSettingDefinition(requestParameters: SettingDefinitionsApiGetSettingDefinitionRequest, options?: AxiosRequestConfig) {
558
- return SettingDefinitionsApiFp(this.configuration).getSettingDefinition(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
559
+ return SettingDefinitionsApiFp(this.configuration).getSettingDefinition(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
559
560
  }
560
561
 
561
562
  /**
562
- * 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\"
563
+ * List setting definitions with optional filters, sorting, and pagination. Use expand=versions to include schema version history. **Required Permissions** \"tenant-management.settings.view\"
563
564
  * @summary List setting definitions
564
565
  * @param {SettingDefinitionsApiListSettingDefinitionsRequest} requestParameters Request parameters.
565
566
  * @param {*} [options] Override http request option.