@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.
@@ -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.23 --save
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.23
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, settingDefinition: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
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
- * 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\"
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
190
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
191
+ * @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;
191
192
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
192
- * @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.
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.&lt;br/&gt; &lt;br/&gt;
194
- * @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.
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
195
+ * @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;
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, settingDefinition: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
292
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettingDefinition(code, settingDefinition, authorization, options);
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
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
- * 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\"
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
313
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
314
+ * @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;
314
315
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
315
- * @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.
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.&lt;br/&gt; &lt;br/&gt;
317
- * @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.
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
318
+ * @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;
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, settingDefinition: any, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
356
- return localVarFp.deleteSettingDefinition(code, settingDefinition, authorization, options).then((request) => request(axios, basePath));
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
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
- * 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\"
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
375
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
376
+ * @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;
376
377
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
377
- * @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.
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.&lt;br/&gt; &lt;br/&gt;
379
- * @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.
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, definitionKey, ownerService, scope, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
380
+ * @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;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
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. In general, fetching filtered responses will conserve bandwidth and reduce response time.
488
+ * 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;
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
- * 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.
502
+ * 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;
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.&lt;br/&gt; &lt;br/&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
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. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
516
+ * 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;
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.settingDefinition, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
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
- * 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\"
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.