diff --git a/packages/compliance/src/.openapi-generator/VERSION b/packages/compliance/src/.openapi-generator/VERSION
index cd802a1ec..412252180 100644
--- a/packages/compliance/src/.openapi-generator/VERSION
+++ b/packages/compliance/src/.openapi-generator/VERSION
@@ -1 +1 @@
-6.6.0
\ No newline at end of file
+7.0.0
\ No newline at end of file
diff --git a/packages/config-manager/src/.openapi-generator/FILES b/packages/config-manager/src/.openapi-generator/FILES
index 8981b206c..62da6d411 100644
--- a/packages/config-manager/src/.openapi-generator/FILES
+++ b/packages/config-manager/src/.openapi-generator/FILES
@@ -4,10 +4,6 @@
CreateProfile/index.ts
GetProfile/index.ts
api.ts
-docs/CreateProfileApi.md
-docs/CreateProfileRequest.md
-docs/GetProfileApi.md
-docs/Profile.md
git_push.sh
index.ts
index.ts
diff --git a/packages/config-manager/src/.openapi-generator/VERSION b/packages/config-manager/src/.openapi-generator/VERSION
index 2540a3a5b..412252180 100644
--- a/packages/config-manager/src/.openapi-generator/VERSION
+++ b/packages/config-manager/src/.openapi-generator/VERSION
@@ -1 +1 @@
-7.20.0
+7.0.0
\ No newline at end of file
diff --git a/packages/config-manager/src/api.ts b/packages/config-manager/src/api.ts
index 9f986865c..14220d9f7 100644
--- a/packages/config-manager/src/api.ts
+++ b/packages/config-manager/src/api.ts
@@ -10,7 +10,8 @@ import {
const endpointList = {
createProfile,
- getProfile,
+ getProfile,
+
};
diff --git a/packages/config-manager/src/docs/CreateProfileApi.md b/packages/config-manager/src/docs/CreateProfileApi.md
deleted file mode 100644
index 5eb1755dc..000000000
--- a/packages/config-manager/src/docs/CreateProfileApi.md
+++ /dev/null
@@ -1,63 +0,0 @@
-# CreateProfileApi
-
-All URIs are relative to *https://raw.githubusercontent.com/api/config-manager/v2*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**createProfile**](#createprofile) | **POST** /profiles | Create a new profile|
-
-# **createProfile**
-> Profile createProfile(createProfileRequest)
-
-Create and optionally activate a new profile.
-
-### Example
-
-```typescript
-import {
- CreateProfileApi,
- Configuration,
- CreateProfileRequest
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new CreateProfileApi(configuration);
-
-let createProfileRequest: CreateProfileRequest; //
-
-const { status, data } = await apiInstance.createProfile(
- createProfileRequest
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **createProfileRequest** | **CreateProfileRequest**| | |
-
-
-### Return type
-
-**Profile**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json, text/plain
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**201** | Created | - |
-|**304** | Not Modified | - |
-|**400** | Bad Request | - |
-|**500** | Internal Server Error | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/packages/config-manager/src/docs/CreateProfileRequest.md b/packages/config-manager/src/docs/CreateProfileRequest.md
deleted file mode 100644
index c8b31cc1b..000000000
--- a/packages/config-manager/src/docs/CreateProfileRequest.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# CreateProfileRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**active** | **boolean** | Remote host configuration enabled state | [default to undefined]
-**compliance** | **boolean** | Remote configuration status for running Compliance data collection | [default to undefined]
-**insights** | **boolean** | Remote configuration status for running Insights data collection | [default to undefined]
-**remediations** | **boolean** | Remote configuration status for running Remediation playbooks | [default to undefined]
-
-## Example
-
-```typescript
-import { CreateProfileRequest } from './api';
-
-const instance: CreateProfileRequest = {
- active,
- compliance,
- insights,
- remediations,
-};
-```
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/packages/config-manager/src/docs/GetProfileApi.md b/packages/config-manager/src/docs/GetProfileApi.md
deleted file mode 100644
index f59e86cf1..000000000
--- a/packages/config-manager/src/docs/GetProfileApi.md
+++ /dev/null
@@ -1,62 +0,0 @@
-# GetProfileApi
-
-All URIs are relative to *https://raw.githubusercontent.com/api/config-manager/v2*
-
-|Method | HTTP request | Description|
-|------------- | ------------- | -------------|
-|[**getProfile**](#getprofile) | **GET** /profiles/{id} | Get a specific profile|
-
-# **getProfile**
-> Profile getProfile()
-
-Retrieve a specific profile identified by the \'id\' path parameter for the identified account. If the special value \"current\" is used for the \'id\' path parameter, the most recent profile is retrieved instead.
-
-### Example
-
-```typescript
-import {
- GetProfileApi,
- Configuration
-} from './api';
-
-const configuration = new Configuration();
-const apiInstance = new GetProfileApi(configuration);
-
-let id: string; // (default to undefined)
-
-const { status, data } = await apiInstance.getProfile(
- id
-);
-```
-
-### Parameters
-
-|Name | Type | Description | Notes|
-|------------- | ------------- | ------------- | -------------|
-| **id** | [**string**] | | defaults to undefined|
-
-
-### Return type
-
-**Profile**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json, text/plain
-
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-|**200** | OK | - |
-|**400** | Bad Request | - |
-|**404** | Not Found | - |
-|**500** | Internal Server Error | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/packages/config-manager/src/docs/Profile.md b/packages/config-manager/src/docs/Profile.md
deleted file mode 100644
index ec1c9b86c..000000000
--- a/packages/config-manager/src/docs/Profile.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# Profile
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **string** | Profile unique identity value | [optional] [default to undefined]
-**account_id** | **string** | Red Hat account number | [optional] [default to undefined]
-**org_id** | **string** | Red Hat organization identity value | [optional] [default to undefined]
-**created_at** | **string** | Time of profile creation | [optional] [default to undefined]
-**active** | **boolean** | Remote host configuration enabled state | [optional] [default to undefined]
-**compliance** | **boolean** | Remote configuration status for running Compliance data collection | [optional] [default to undefined]
-**insights** | **boolean** | Remote configuration status for running Insights data collection | [optional] [default to undefined]
-**remediations** | **boolean** | Remote configuration status for running Remediation playbooks | [optional] [default to undefined]
-
-## Example
-
-```typescript
-import { Profile } from './api';
-
-const instance: Profile = {
- id,
- account_id,
- org_id,
- created_at,
- active,
- compliance,
- insights,
- remediations,
-};
-```
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/packages/host-inventory/src/.openapi-generator/FILES b/packages/host-inventory/src/.openapi-generator/FILES
index ed9dd6643..24cdc35c7 100644
--- a/packages/host-inventory/src/.openapi-generator/FILES
+++ b/packages/host-inventory/src/.openapi-generator/FILES
@@ -36,6 +36,12 @@ ApiSystemProfileGetSapSids/index.ts
ApiSystemProfileGetSapSystem/index.ts
ApiSystemProfileValidateSchema/index.ts
ApiTagGetTags/index.ts
+ApiViewsCloneView/index.ts
+ApiViewsCreateView/index.ts
+ApiViewsDeleteView/index.ts
+ApiViewsGetViewById/index.ts
+ApiViewsGetViewsList/index.ts
+ApiViewsUpdateView/index.ts
api.ts
git_push.sh
index.ts
diff --git a/packages/host-inventory/src/ApiGroupGetGroupList/index.ts b/packages/host-inventory/src/ApiGroupGetGroupList/index.ts
index 9c5831cfa..d6d6a92b3 100644
--- a/packages/host-inventory/src/ApiGroupGetGroupList/index.ts
+++ b/packages/host-inventory/src/ApiGroupGetGroupList/index.ts
@@ -37,7 +37,7 @@ export type ApiGroupGetGroupListParams = {
*/
orderBy?: ApiGroupGetGroupListOrderByEnum,
/**
- * Direction of the ordering (case-insensitive); defaults to ASC for name, and to DESC for host_count
+ * Direction of the ordering (case-insensitive); defaults to ASC for name, and to DESC for host_count and updated
* @type { string }
* @memberof ApiGroupGetGroupListApi
*/
diff --git a/packages/host-inventory/src/ApiGroupGetGroupsById/index.ts b/packages/host-inventory/src/ApiGroupGetGroupsById/index.ts
index 0af91ff56..e454b8e1b 100644
--- a/packages/host-inventory/src/ApiGroupGetGroupsById/index.ts
+++ b/packages/host-inventory/src/ApiGroupGetGroupsById/index.ts
@@ -37,7 +37,7 @@ export type ApiGroupGetGroupsByIdParams = {
*/
orderBy?: ApiGroupGetGroupsByIdOrderByEnum,
/**
- * Direction of the ordering (case-insensitive); defaults to ASC for name, and to DESC for host_count
+ * Direction of the ordering (case-insensitive); defaults to ASC for name, and to DESC for host_count and updated
* @type { string }
* @memberof ApiGroupGetGroupsByIdApi
*/
diff --git a/packages/host-inventory/src/ApiViewsCloneView/index.ts b/packages/host-inventory/src/ApiViewsCloneView/index.ts
new file mode 100644
index 000000000..efedff661
--- /dev/null
+++ b/packages/host-inventory/src/ApiViewsCloneView/index.ts
@@ -0,0 +1,72 @@
+// @ts-ignore
+import type { AxiosPromise, AxiosInstance, AxiosRequestConfig, Method } from 'axios';
+// @ts-ignore
+import { COLLECTION_FORMATS, RequiredError, AuthTypeEnum, DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+// @ts-ignore
+import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
+import { Configuration } from '@redhat-cloud-services/javascript-clients-shared/dist/configuration';
+
+// @ts-ignore
+import type { ViewOut } from '../types';
+
+
+export type ApiViewsCloneViewParams = {
+ /**
+ * View ID.
+ * @type { string }
+ * @memberof ApiViewsCloneViewApi
+ */
+ viewId: string,
+ options?: AxiosRequestConfig
+}
+
+export type ApiViewsCloneViewReturnType = ViewOut;
+
+const isApiViewsCloneViewObjectParams = (params: [ApiViewsCloneViewParams] | unknown[]): params is [ApiViewsCloneViewParams] => {
+ const l = params.length === 1
+ if(l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'viewId')
+ }
+ return false
+}
+/**
+* Creates a copy of any visible view (including system views) as a new private view owned by the requesting user. The cloned view name is prefixed with \"Copy of \".
Required permissions: inventory:views:write
NOTE: This endpoint is not yet implemented and will return HTTP 501.
+* @summary Clone an inventory view
+* @param {ApiViewsCloneViewParams} config with all available params.
+* @param {*} [options] Override http request option.
+* @throws {RequiredError}
+*/
+export const apiViewsCloneViewParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiViewsCloneViewParams] | [string, AxiosRequestConfig])) => {
+ const params = isApiViewsCloneViewObjectParams(config) ? config[0] : ['viewId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ApiViewsCloneViewParams;
+ const { viewId, options = {} } = params;
+ const localVarPath = `/beta/views/{view_id}/clone`
+ .replace(`{${"view_id"}}`, encodeURIComponent(String(viewId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ const localVarRequestOptions = { method: 'POST' as Method, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...options.headers};
+
+ const args = {
+ urlObj: localVarUrlObj,
+ options: localVarRequestOptions,
+ auth:[
+ {
+ // authentication ApiKeyAuth required
+ // in header with key required
+ authType: AuthTypeEnum.InHeader,
+ authKey: "x-rh-identity"
+ }
+ ]
+ };
+
+ return sendRequest(Promise.resolve(args));
+}
+
+export default apiViewsCloneViewParamCreator;
diff --git a/packages/host-inventory/src/ApiViewsCreateView/index.ts b/packages/host-inventory/src/ApiViewsCreateView/index.ts
new file mode 100644
index 000000000..86abc5fb0
--- /dev/null
+++ b/packages/host-inventory/src/ApiViewsCreateView/index.ts
@@ -0,0 +1,74 @@
+// @ts-ignore
+import type { AxiosPromise, AxiosInstance, AxiosRequestConfig, Method } from 'axios';
+// @ts-ignore
+import { COLLECTION_FORMATS, RequiredError, AuthTypeEnum, DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+// @ts-ignore
+import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
+import { Configuration } from '@redhat-cloud-services/javascript-clients-shared/dist/configuration';
+
+// @ts-ignore
+import type { ViewIn, ViewOut } from '../types';
+
+
+export type ApiViewsCreateViewParams = {
+ /**
+ * Data required to create a new inventory view.
+ * @type { ViewIn }
+ * @memberof ApiViewsCreateViewApi
+ */
+ viewIn: ViewIn,
+ options?: AxiosRequestConfig
+}
+
+export type ApiViewsCreateViewReturnType = ViewOut;
+
+const isApiViewsCreateViewObjectParams = (params: [ApiViewsCreateViewParams] | unknown[]): params is [ApiViewsCreateViewParams] => {
+ const l = params.length === 1
+ if(l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'viewIn')
+ }
+ return false
+}
+/**
+* Creates a new inventory view with the provided name and configuration. The view is owned by the requesting user.
Required permissions: inventory:views:write
NOTE: This endpoint is not yet implemented and will return HTTP 501.
+* @summary Create a new inventory view
+* @param {ApiViewsCreateViewParams} config with all available params.
+* @param {*} [options] Override http request option.
+* @throws {RequiredError}
+*/
+export const apiViewsCreateViewParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiViewsCreateViewParams] | [ViewIn, AxiosRequestConfig])) => {
+ const params = isApiViewsCreateViewObjectParams(config) ? config[0] : ['viewIn', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ApiViewsCreateViewParams;
+ const { viewIn, options = {} } = params;
+ const localVarPath = `/beta/views`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ const localVarRequestOptions = { method: 'POST' as Method, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+
+
+ localVarHeaderParameter['Content-Type'] = 'application/json';
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...options.headers};
+
+ const args = {
+ urlObj: localVarUrlObj,
+ options: localVarRequestOptions,
+ serializeData: viewIn,
+ auth:[
+ {
+ // authentication ApiKeyAuth required
+ // in header with key required
+ authType: AuthTypeEnum.InHeader,
+ authKey: "x-rh-identity"
+ }
+ ]
+ };
+
+ return sendRequest(Promise.resolve(args));
+}
+
+export default apiViewsCreateViewParamCreator;
diff --git a/packages/host-inventory/src/ApiViewsDeleteView/index.ts b/packages/host-inventory/src/ApiViewsDeleteView/index.ts
new file mode 100644
index 000000000..19bb4ef2c
--- /dev/null
+++ b/packages/host-inventory/src/ApiViewsDeleteView/index.ts
@@ -0,0 +1,72 @@
+// @ts-ignore
+import type { AxiosPromise, AxiosInstance, AxiosRequestConfig, Method } from 'axios';
+// @ts-ignore
+import { COLLECTION_FORMATS, RequiredError, AuthTypeEnum, DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+// @ts-ignore
+import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
+import { Configuration } from '@redhat-cloud-services/javascript-clients-shared/dist/configuration';
+
+// @ts-ignore
+import type { } from '../types';
+
+
+export type ApiViewsDeleteViewParams = {
+ /**
+ * View ID.
+ * @type { string }
+ * @memberof ApiViewsDeleteViewApi
+ */
+ viewId: string,
+ options?: AxiosRequestConfig
+}
+
+export type ApiViewsDeleteViewReturnType = void;
+
+const isApiViewsDeleteViewObjectParams = (params: [ApiViewsDeleteViewParams] | unknown[]): params is [ApiViewsDeleteViewParams] => {
+ const l = params.length === 1
+ if(l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'viewId')
+ }
+ return false
+}
+/**
+* Deletes an existing inventory view. Only the view creator can delete a view. System views cannot be deleted.
Required permissions: inventory:views:write
NOTE: This endpoint is not yet implemented and will return HTTP 501.
+* @summary Delete an inventory view
+* @param {ApiViewsDeleteViewParams} config with all available params.
+* @param {*} [options] Override http request option.
+* @throws {RequiredError}
+*/
+export const apiViewsDeleteViewParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiViewsDeleteViewParams] | [string, AxiosRequestConfig])) => {
+ const params = isApiViewsDeleteViewObjectParams(config) ? config[0] : ['viewId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ApiViewsDeleteViewParams;
+ const { viewId, options = {} } = params;
+ const localVarPath = `/beta/views/{view_id}`
+ .replace(`{${"view_id"}}`, encodeURIComponent(String(viewId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ const localVarRequestOptions = { method: 'DELETE' as Method, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...options.headers};
+
+ const args = {
+ urlObj: localVarUrlObj,
+ options: localVarRequestOptions,
+ auth:[
+ {
+ // authentication ApiKeyAuth required
+ // in header with key required
+ authType: AuthTypeEnum.InHeader,
+ authKey: "x-rh-identity"
+ }
+ ]
+ };
+
+ return sendRequest(Promise.resolve(args));
+}
+
+export default apiViewsDeleteViewParamCreator;
diff --git a/packages/host-inventory/src/ApiViewsGetViewById/index.ts b/packages/host-inventory/src/ApiViewsGetViewById/index.ts
new file mode 100644
index 000000000..ceee6ffae
--- /dev/null
+++ b/packages/host-inventory/src/ApiViewsGetViewById/index.ts
@@ -0,0 +1,72 @@
+// @ts-ignore
+import type { AxiosPromise, AxiosInstance, AxiosRequestConfig, Method } from 'axios';
+// @ts-ignore
+import { COLLECTION_FORMATS, RequiredError, AuthTypeEnum, DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+// @ts-ignore
+import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
+import { Configuration } from '@redhat-cloud-services/javascript-clients-shared/dist/configuration';
+
+// @ts-ignore
+import type { ViewOut } from '../types';
+
+
+export type ApiViewsGetViewByIdParams = {
+ /**
+ * View ID.
+ * @type { string }
+ * @memberof ApiViewsGetViewByIdApi
+ */
+ viewId: string,
+ options?: AxiosRequestConfig
+}
+
+export type ApiViewsGetViewByIdReturnType = ViewOut;
+
+const isApiViewsGetViewByIdObjectParams = (params: [ApiViewsGetViewByIdParams] | unknown[]): params is [ApiViewsGetViewByIdParams] => {
+ const l = params.length === 1
+ if(l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'viewId')
+ }
+ return false
+}
+/**
+* Returns the full details and configuration for a single inventory view. The view must be visible to the requesting user.
Required permissions: inventory:views:read
NOTE: This endpoint is not yet implemented and will return HTTP 501.
+* @summary Get a single inventory view
+* @param {ApiViewsGetViewByIdParams} config with all available params.
+* @param {*} [options] Override http request option.
+* @throws {RequiredError}
+*/
+export const apiViewsGetViewByIdParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiViewsGetViewByIdParams] | [string, AxiosRequestConfig])) => {
+ const params = isApiViewsGetViewByIdObjectParams(config) ? config[0] : ['viewId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ApiViewsGetViewByIdParams;
+ const { viewId, options = {} } = params;
+ const localVarPath = `/beta/views/{view_id}`
+ .replace(`{${"view_id"}}`, encodeURIComponent(String(viewId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ const localVarRequestOptions = { method: 'GET' as Method, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...options.headers};
+
+ const args = {
+ urlObj: localVarUrlObj,
+ options: localVarRequestOptions,
+ auth:[
+ {
+ // authentication ApiKeyAuth required
+ // in header with key required
+ authType: AuthTypeEnum.InHeader,
+ authKey: "x-rh-identity"
+ }
+ ]
+ };
+
+ return sendRequest(Promise.resolve(args));
+}
+
+export default apiViewsGetViewByIdParamCreator;
diff --git a/packages/host-inventory/src/ApiViewsGetViewsList/index.ts b/packages/host-inventory/src/ApiViewsGetViewsList/index.ts
new file mode 100644
index 000000000..0aae02a91
--- /dev/null
+++ b/packages/host-inventory/src/ApiViewsGetViewsList/index.ts
@@ -0,0 +1,85 @@
+// @ts-ignore
+import type { AxiosPromise, AxiosInstance, AxiosRequestConfig, Method } from 'axios';
+// @ts-ignore
+import { COLLECTION_FORMATS, RequiredError, AuthTypeEnum, DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+// @ts-ignore
+import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
+import { Configuration } from '@redhat-cloud-services/javascript-clients-shared/dist/configuration';
+
+// @ts-ignore
+import type { ViewsListOut } from '../types';
+
+
+export type ApiViewsGetViewsListParams = {
+ /**
+ * A number of items to return per page.
+ * @type { number }
+ * @memberof ApiViewsGetViewsListApi
+ */
+ perPage?: number,
+ /**
+ * A page number of the items to return.
+ * @type { number }
+ * @memberof ApiViewsGetViewsListApi
+ */
+ page?: number,
+ options?: AxiosRequestConfig
+}
+
+export type ApiViewsGetViewsListReturnType = ViewsListOut;
+
+const isApiViewsGetViewsListObjectParams = (params: [ApiViewsGetViewsListParams] | unknown[]): params is [ApiViewsGetViewsListParams] => {
+ const l = params.length === 1
+ if(l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
+ return true
+ }
+ return false
+}
+/**
+* Read the list of all inventory views visible to the requesting user. This includes system views, org-wide views, and private views owned by the requester.
Required permissions: inventory:views:read
NOTE: This endpoint is not yet implemented and will return HTTP 501.
+* @summary Read the list of inventory views
+* @param {ApiViewsGetViewsListParams} config with all available params.
+* @param {*} [options] Override http request option.
+* @throws {RequiredError}
+*/
+export const apiViewsGetViewsListParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiViewsGetViewsListParams] | [number, number, AxiosRequestConfig])) => {
+ const params = isApiViewsGetViewsListObjectParams(config) ? config[0] : ['perPage', 'page', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ApiViewsGetViewsListParams;
+ const { perPage, page, options = {} } = params;
+ const localVarPath = `/beta/views`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ const localVarRequestOptions = { method: 'GET' as Method, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ if (perPage !== undefined) {
+ localVarQueryParameter['per_page'] = perPage;
+ }
+
+ if (page !== undefined) {
+ localVarQueryParameter['page'] = page;
+ }
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...options.headers};
+
+ const args = {
+ urlObj: localVarUrlObj,
+ options: localVarRequestOptions,
+ auth:[
+ {
+ // authentication ApiKeyAuth required
+ // in header with key required
+ authType: AuthTypeEnum.InHeader,
+ authKey: "x-rh-identity"
+ }
+ ]
+ };
+
+ return sendRequest(Promise.resolve(args));
+}
+
+export default apiViewsGetViewsListParamCreator;
diff --git a/packages/host-inventory/src/ApiViewsUpdateView/index.ts b/packages/host-inventory/src/ApiViewsUpdateView/index.ts
new file mode 100644
index 000000000..6dba1fa32
--- /dev/null
+++ b/packages/host-inventory/src/ApiViewsUpdateView/index.ts
@@ -0,0 +1,81 @@
+// @ts-ignore
+import type { AxiosPromise, AxiosInstance, AxiosRequestConfig, Method } from 'axios';
+// @ts-ignore
+import { COLLECTION_FORMATS, RequiredError, AuthTypeEnum, DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
+// @ts-ignore
+import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
+import { Configuration } from '@redhat-cloud-services/javascript-clients-shared/dist/configuration';
+
+// @ts-ignore
+import type { ViewOut, ViewPatch } from '../types';
+
+
+export type ApiViewsUpdateViewParams = {
+ /**
+ * View ID.
+ * @type { string }
+ * @memberof ApiViewsUpdateViewApi
+ */
+ viewId: string,
+ /**
+ * Data with which to update the inventory view.
+ * @type { ViewPatch }
+ * @memberof ApiViewsUpdateViewApi
+ */
+ viewPatch: ViewPatch,
+ options?: AxiosRequestConfig
+}
+
+export type ApiViewsUpdateViewReturnType = ViewOut;
+
+const isApiViewsUpdateViewObjectParams = (params: [ApiViewsUpdateViewParams] | unknown[]): params is [ApiViewsUpdateViewParams] => {
+ const l = params.length === 1
+ if(l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'viewId') && Object.prototype.hasOwnProperty.call(params[0], 'viewPatch')
+ }
+ return false
+}
+/**
+* Updates an existing inventory view\'s name, description, configuration, or sharing settings. Only the view creator can update a view. System views cannot be updated.
Required permissions: inventory:views:write
NOTE: This endpoint is not yet implemented and will return HTTP 501.
+* @summary Update an inventory view
+* @param {ApiViewsUpdateViewParams} config with all available params.
+* @param {*} [options] Override http request option.
+* @throws {RequiredError}
+*/
+export const apiViewsUpdateViewParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiViewsUpdateViewParams] | [string, ViewPatch, AxiosRequestConfig])) => {
+ const params = isApiViewsUpdateViewObjectParams(config) ? config[0] : ['viewId', 'viewPatch', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ApiViewsUpdateViewParams;
+ const { viewId, viewPatch, options = {} } = params;
+ const localVarPath = `/beta/views/{view_id}`
+ .replace(`{${"view_id"}}`, encodeURIComponent(String(viewId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ const localVarRequestOptions = { method: 'PUT' as Method, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+
+
+ localVarHeaderParameter['Content-Type'] = 'application/json';
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...options.headers};
+
+ const args = {
+ urlObj: localVarUrlObj,
+ options: localVarRequestOptions,
+ serializeData: viewPatch,
+ auth:[
+ {
+ // authentication ApiKeyAuth required
+ // in header with key required
+ authType: AuthTypeEnum.InHeader,
+ authKey: "x-rh-identity"
+ }
+ ]
+ };
+
+ return sendRequest(Promise.resolve(args));
+}
+
+export default apiViewsUpdateViewParamCreator;
diff --git a/packages/host-inventory/src/api.ts b/packages/host-inventory/src/api.ts
index 992601a5f..ac654b47c 100644
--- a/packages/host-inventory/src/api.ts
+++ b/packages/host-inventory/src/api.ts
@@ -38,6 +38,12 @@ import {
apiSystemProfileGetSapSystem,
apiSystemProfileValidateSchema,
apiTagGetTags,
+ apiViewsCloneView,
+ apiViewsCreateView,
+ apiViewsDeleteView,
+ apiViewsGetViewById,
+ apiViewsGetViewsList,
+ apiViewsUpdateView,
} from './index';
@@ -77,6 +83,12 @@ const endpointList = {
apiSystemProfileGetSapSystem,
apiSystemProfileValidateSchema,
apiTagGetTags,
+ apiViewsCloneView,
+ apiViewsCreateView,
+ apiViewsDeleteView,
+ apiViewsGetViewById,
+ apiViewsGetViewsList,
+ apiViewsUpdateView,
};
diff --git a/packages/host-inventory/src/index.ts b/packages/host-inventory/src/index.ts
index 3f5cd4cd7..f277d6f2d 100644
--- a/packages/host-inventory/src/index.ts
+++ b/packages/host-inventory/src/index.ts
@@ -68,5 +68,17 @@ export { default as apiSystemProfileValidateSchema, type ApiSystemProfileValidat
export { default as apiTagGetTags, type ApiTagGetTagsReturnType } from './ApiTagGetTags'
+export { default as apiViewsCloneView, type ApiViewsCloneViewReturnType } from './ApiViewsCloneView'
+
+export { default as apiViewsCreateView, type ApiViewsCreateViewReturnType } from './ApiViewsCreateView'
+
+export { default as apiViewsDeleteView, type ApiViewsDeleteViewReturnType } from './ApiViewsDeleteView'
+
+export { default as apiViewsGetViewById, type ApiViewsGetViewByIdReturnType } from './ApiViewsGetViewById'
+
+export { default as apiViewsGetViewsList, type ApiViewsGetViewsListReturnType } from './ApiViewsGetViewsList'
+
+export { default as apiViewsUpdateView, type ApiViewsUpdateViewReturnType } from './ApiViewsUpdateView'
+
export * from './types'
diff --git a/packages/host-inventory/src/types/index.ts b/packages/host-inventory/src/types/index.ts
index 6d7512158..2eda6620f 100644
--- a/packages/host-inventory/src/types/index.ts
+++ b/packages/host-inventory/src/types/index.ts
@@ -2269,6 +2269,12 @@ export type SystemProfileDnfModuleStatusEnum = typeof SystemProfileDnfModuleStat
* @interface SystemProfileImageBuilder
*/
export interface SystemProfileImageBuilder {
+ /**
+ * The blueprint used to build the image deployed on this host
+ * @type {string}
+ * @memberof SystemProfileImageBuilder
+ */
+ 'blueprint_id'?: string;
/**
* The compliance policy that was used and applied during the image build
* @type {string}
@@ -3080,6 +3086,249 @@ export interface TagsOut {
*/
'results'?: { [key: string]: Array; };
}
+/**
+ * Configuration for a single column in a view.
+ * @export
+ * @interface ViewColumnConfig
+ */
+export interface ViewColumnConfig {
+ /**
+ * The column key identifier, e.g. \"insights_id\", \"compliance.last_scan\", \"advisor.recommendations\".
+ * @type {string}
+ * @memberof ViewColumnConfig
+ */
+ 'key': string;
+ /**
+ * Whether the column is visible in the view.
+ * @type {boolean}
+ * @memberof ViewColumnConfig
+ */
+ 'visible'?: boolean;
+}
+/**
+ * The full visual configuration for an inventory view, including column layout, sort order, and active filters.
+ * @export
+ * @interface ViewConfiguration
+ */
+export interface ViewConfiguration {
+ /**
+ * Ordered list of column configurations.
+ * @type {Array}
+ * @memberof ViewConfiguration
+ */
+ 'columns': Array;
+ /**
+ *
+ * @type {ViewSortConfig}
+ * @memberof ViewConfiguration
+ */
+ 'sort'?: ViewSortConfig;
+ /**
+ * Active filter criteria. Keys are filter names, values are arrays of selected filter values.
+ * @type {{ [key: string]: Array; }}
+ * @memberof ViewConfiguration
+ */
+ 'filters'?: { [key: string]: Array; };
+}
+/**
+ * Data required to create a new inventory view.
+ * @export
+ * @interface ViewIn
+ */
+export interface ViewIn {
+ /**
+ * The display name for the view.
+ * @type {string}
+ * @memberof ViewIn
+ */
+ 'name': string;
+ /**
+ * An optional description of the view.
+ * @type {string}
+ * @memberof ViewIn
+ */
+ 'description'?: string | null;
+ /**
+ *
+ * @type {ViewConfiguration}
+ * @memberof ViewIn
+ */
+ 'configuration': ViewConfiguration;
+ /**
+ * If true, the view is visible to all users in the organization. If false, only the creator can see it.
+ * @type {boolean}
+ * @memberof ViewIn
+ */
+ 'org_wide'?: boolean;
+}
+/**
+ * Full representation of an inventory view returned by the API.
+ * @export
+ * @interface ViewOut
+ */
+export interface ViewOut {
+ /**
+ * The unique identifier of the view.
+ * @type {string}
+ * @memberof ViewOut
+ */
+ 'id': string;
+ /**
+ * The organization ID that owns the view. null for system views.
+ * @type {string}
+ * @memberof ViewOut
+ */
+ 'org_id'?: string | null;
+ /**
+ * The display name for the view.
+ * @type {string}
+ * @memberof ViewOut
+ */
+ 'name': string;
+ /**
+ * An optional description of the view.
+ * @type {string}
+ * @memberof ViewOut
+ */
+ 'description'?: string | null;
+ /**
+ *
+ * @type {ViewConfiguration}
+ * @memberof ViewOut
+ */
+ 'configuration': ViewConfiguration;
+ /**
+ * Whether the view is visible to the entire organization.
+ * @type {boolean}
+ * @memberof ViewOut
+ */
+ 'org_wide': boolean;
+ /**
+ * True if this is a read-only system view (Red Hat preset). System views cannot be updated or deleted, but can be cloned.
+ * @type {boolean}
+ * @memberof ViewOut
+ */
+ 'is_system_view': boolean;
+ /**
+ * True if the requesting user is the creator of this view. Only the owner can update or delete a view.
+ * @type {boolean}
+ * @memberof ViewOut
+ */
+ 'is_owner': boolean;
+ /**
+ * The username of the view creator.
+ * @type {string}
+ * @memberof ViewOut
+ */
+ 'created_by'?: string | null;
+ /**
+ * Timestamp when the view was created.
+ * @type {string}
+ * @memberof ViewOut
+ */
+ 'created_at': string;
+ /**
+ * Timestamp when the view was last updated.
+ * @type {string}
+ * @memberof ViewOut
+ */
+ 'updated_at': string;
+}
+/**
+ * Data for updating an existing inventory view. All fields are optional.
+ * @export
+ * @interface ViewPatch
+ */
+export interface ViewPatch {
+ /**
+ * The display name for the view.
+ * @type {string}
+ * @memberof ViewPatch
+ */
+ 'name'?: string;
+ /**
+ * An optional description of the view.
+ * @type {string}
+ * @memberof ViewPatch
+ */
+ 'description'?: string | null;
+ /**
+ *
+ * @type {ViewConfiguration}
+ * @memberof ViewPatch
+ */
+ 'configuration'?: ViewConfiguration;
+ /**
+ * If true, the view is visible to all users in the organization. If false, only the creator can see it.
+ * @type {boolean}
+ * @memberof ViewPatch
+ */
+ 'org_wide'?: boolean;
+}
+/**
+ * Sort configuration for a view.
+ * @export
+ * @interface ViewSortConfig
+ */
+export interface ViewSortConfig {
+ /**
+ * The column key to sort by.
+ * @type {string}
+ * @memberof ViewSortConfig
+ */
+ 'key': string;
+ /**
+ * The sort direction.
+ * @type {string}
+ * @memberof ViewSortConfig
+ */
+ 'direction'?: ViewSortConfigDirectionEnum;
+}
+
+export const ViewSortConfigDirectionEnum = {
+ Asc: 'asc',
+ Desc: 'desc'
+} as const;
+
+export type ViewSortConfigDirectionEnum = typeof ViewSortConfigDirectionEnum[keyof typeof ViewSortConfigDirectionEnum];
+
+/**
+ * A paginated list of inventory views.
+ * @export
+ * @interface ViewsListOut
+ */
+export interface ViewsListOut {
+ /**
+ * The number of items on the current page
+ * @type {number}
+ * @memberof ViewsListOut
+ */
+ 'count': number;
+ /**
+ * The page number
+ * @type {number}
+ * @memberof ViewsListOut
+ */
+ 'page': number;
+ /**
+ * The number of items to return per page
+ * @type {number}
+ * @memberof ViewsListOut
+ */
+ 'per_page': number;
+ /**
+ * Total number of items
+ * @type {number}
+ * @memberof ViewsListOut
+ */
+ 'total': number;
+ /**
+ * List of inventory views.
+ * @type {Array}
+ * @memberof ViewsListOut
+ */
+ 'results': Array;
+}
/**
*
* @export
diff --git a/packages/insights/src/RuleSystemsDetailList/index.ts b/packages/insights/src/RuleSystemsDetailList/index.ts
index 99673966d..aa3bb6173 100644
--- a/packages/insights/src/RuleSystemsDetailList/index.ts
+++ b/packages/insights/src/RuleSystemsDetailList/index.ts
@@ -68,10 +68,10 @@ export type RuleSystemsDetailListParams = {
offset?: number,
/**
* Display only systems with these versions of RHEL
- * @type { Array }
+ * @type { Array }
* @memberof RuleSystemsDetailListApi
*/
- rhelVersion?: Array,
+ rhelVersion?: Array,
/**
* Order by this field
* @type { RuleSystemsDetailListSortEnum }
@@ -92,58 +92,6 @@ export type RuleSystemsDetailListParams = {
tags?: Array,
options?: AxiosRequestConfig
}
-/**
- * @export
- * @enum {string}
- */
-export const RuleSystemsDetailListRhelVersionEnum = {
- _100: '10.0',
- _101: '10.1',
- _102: '10.2',
- _60: '6.0',
- _61: '6.1',
- _610: '6.10',
- _62: '6.2',
- _63: '6.3',
- _64: '6.4',
- _65: '6.5',
- _66: '6.6',
- _67: '6.7',
- _68: '6.8',
- _69: '6.9',
- _70: '7.0',
- _71: '7.1',
- _710: '7.10',
- _72: '7.2',
- _73: '7.3',
- _74: '7.4',
- _75: '7.5',
- _76: '7.6',
- _77: '7.7',
- _78: '7.8',
- _79: '7.9',
- _80: '8.0',
- _81: '8.1',
- _810: '8.10',
- _82: '8.2',
- _83: '8.3',
- _84: '8.4',
- _85: '8.5',
- _86: '8.6',
- _87: '8.7',
- _88: '8.8',
- _89: '8.9',
- _90: '9.0',
- _91: '9.1',
- _92: '9.2',
- _93: '9.3',
- _94: '9.4',
- _95: '9.5',
- _96: '9.6',
- _97: '9.7',
- _98: '9.8'
-} as const;
-export type RuleSystemsDetailListRhelVersionEnum = typeof RuleSystemsDetailListRhelVersionEnum[keyof typeof RuleSystemsDetailListRhelVersionEnum];
/**
* @export
* @enum {string}
@@ -198,7 +146,7 @@ const isRuleSystemsDetailListObjectParams = (params: [RuleSystemsDetailListParam
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const ruleSystemsDetailListParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([RuleSystemsDetailListParams] | [string, boolean, boolean, Array, boolean, Array, number, string, number, Array, RuleSystemsDetailListSortEnum, RuleSystemsDetailListSystemTypeEnum, Array, AxiosRequestConfig])) => {
+export const ruleSystemsDetailListParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([RuleSystemsDetailListParams] | [string, boolean, boolean, Array, boolean, Array, number, string, number, Array, RuleSystemsDetailListSortEnum, RuleSystemsDetailListSystemTypeEnum, Array, AxiosRequestConfig])) => {
const params = isRuleSystemsDetailListObjectParams(config) ? config[0] : ['ruleId', 'filterSystemProfileAnsible', 'filterSystemProfileMssql', 'filterSystemProfileSapSidsContains', 'filterSystemProfileSapSystem', 'groups', 'limit', 'name', 'offset', 'rhelVersion', 'sort', 'systemType', 'tags', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as RuleSystemsDetailListParams;
const { ruleId, filterSystemProfileAnsible, filterSystemProfileMssql, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, name, offset, rhelVersion, sort, systemType, tags, options = {} } = params;
const localVarPath = `/api/insights/v1/rule/{rule_id}/systems_detail/`
diff --git a/packages/insights/src/RuleSystemsRetrieve/index.ts b/packages/insights/src/RuleSystemsRetrieve/index.ts
index a4108379f..d39cffdcf 100644
--- a/packages/insights/src/RuleSystemsRetrieve/index.ts
+++ b/packages/insights/src/RuleSystemsRetrieve/index.ts
@@ -62,10 +62,10 @@ export type RuleSystemsRetrieveParams = {
name?: string,
/**
* Display only systems with these versions of RHEL
- * @type { Array }
+ * @type { Array }
* @memberof RuleSystemsRetrieveApi
*/
- rhelVersion?: Array,
+ rhelVersion?: Array,
/**
* Order by this field
* @type { Array }
@@ -101,58 +101,6 @@ export const RuleSystemsRetrieveFormatEnum = {
Json: 'json'
} as const;
export type RuleSystemsRetrieveFormatEnum = typeof RuleSystemsRetrieveFormatEnum[keyof typeof RuleSystemsRetrieveFormatEnum];
-/**
- * @export
- * @enum {string}
- */
-export const RuleSystemsRetrieveRhelVersionEnum = {
- _100: '10.0',
- _101: '10.1',
- _102: '10.2',
- _60: '6.0',
- _61: '6.1',
- _610: '6.10',
- _62: '6.2',
- _63: '6.3',
- _64: '6.4',
- _65: '6.5',
- _66: '6.6',
- _67: '6.7',
- _68: '6.8',
- _69: '6.9',
- _70: '7.0',
- _71: '7.1',
- _710: '7.10',
- _72: '7.2',
- _73: '7.3',
- _74: '7.4',
- _75: '7.5',
- _76: '7.6',
- _77: '7.7',
- _78: '7.8',
- _79: '7.9',
- _80: '8.0',
- _81: '8.1',
- _810: '8.10',
- _82: '8.2',
- _83: '8.3',
- _84: '8.4',
- _85: '8.5',
- _86: '8.6',
- _87: '8.7',
- _88: '8.8',
- _89: '8.9',
- _90: '9.0',
- _91: '9.1',
- _92: '9.2',
- _93: '9.3',
- _94: '9.4',
- _95: '9.5',
- _96: '9.6',
- _97: '9.7',
- _98: '9.8'
-} as const;
-export type RuleSystemsRetrieveRhelVersionEnum = typeof RuleSystemsRetrieveRhelVersionEnum[keyof typeof RuleSystemsRetrieveRhelVersionEnum];
/**
* @export
* @enum {string}
@@ -206,7 +154,7 @@ const isRuleSystemsRetrieveObjectParams = (params: [RuleSystemsRetrieveParams] |
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const ruleSystemsRetrieveParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([RuleSystemsRetrieveParams] | [string, boolean, boolean, Array, boolean, RuleSystemsRetrieveFormatEnum, Array, string, Array, Array, RuleSystemsRetrieveSystemTypeEnum, Array, Array, AxiosRequestConfig])) => {
+export const ruleSystemsRetrieveParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([RuleSystemsRetrieveParams] | [string, boolean, boolean, Array, boolean, RuleSystemsRetrieveFormatEnum, Array, string, Array, Array, RuleSystemsRetrieveSystemTypeEnum, Array, Array, AxiosRequestConfig])) => {
const params = isRuleSystemsRetrieveObjectParams(config) ? config[0] : ['ruleId', 'filterSystemProfileAnsible', 'filterSystemProfileMssql', 'filterSystemProfileSapSidsContains', 'filterSystemProfileSapSystem', 'format', 'groups', 'name', 'rhelVersion', 'sort', 'systemType', 'tags', 'updateMethod', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as RuleSystemsRetrieveParams;
const { ruleId, filterSystemProfileAnsible, filterSystemProfileMssql, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, format, groups, name, rhelVersion, sort, systemType, tags, updateMethod, options = {} } = params;
const localVarPath = `/api/insights/v1/rule/{rule_id}/systems/`
diff --git a/packages/insights/src/SystemList/index.ts b/packages/insights/src/SystemList/index.ts
index aa97e815e..ea48f1f03 100644
--- a/packages/insights/src/SystemList/index.ts
+++ b/packages/insights/src/SystemList/index.ts
@@ -86,10 +86,10 @@ export type SystemListParams = {
pathway?: string,
/**
* Display only systems with these versions of RHEL
- * @type { Array }
+ * @type { Array }
* @memberof SystemListApi
*/
- rhelVersion?: Array,
+ rhelVersion?: Array,
/**
* Order by this field
* @type { SystemListSortEnum }
@@ -130,58 +130,6 @@ export const SystemListHitsEnum = {
Yes: 'yes'
} as const;
export type SystemListHitsEnum = typeof SystemListHitsEnum[keyof typeof SystemListHitsEnum];
-/**
- * @export
- * @enum {string}
- */
-export const SystemListRhelVersionEnum = {
- _100: '10.0',
- _101: '10.1',
- _102: '10.2',
- _60: '6.0',
- _61: '6.1',
- _610: '6.10',
- _62: '6.2',
- _63: '6.3',
- _64: '6.4',
- _65: '6.5',
- _66: '6.6',
- _67: '6.7',
- _68: '6.8',
- _69: '6.9',
- _70: '7.0',
- _71: '7.1',
- _710: '7.10',
- _72: '7.2',
- _73: '7.3',
- _74: '7.4',
- _75: '7.5',
- _76: '7.6',
- _77: '7.7',
- _78: '7.8',
- _79: '7.9',
- _80: '8.0',
- _81: '8.1',
- _810: '8.10',
- _82: '8.2',
- _83: '8.3',
- _84: '8.4',
- _85: '8.5',
- _86: '8.6',
- _87: '8.7',
- _88: '8.8',
- _89: '8.9',
- _90: '9.0',
- _91: '9.1',
- _92: '9.2',
- _93: '9.3',
- _94: '9.4',
- _95: '9.5',
- _96: '9.6',
- _97: '9.7',
- _98: '9.8'
-} as const;
-export type SystemListRhelVersionEnum = typeof SystemListRhelVersionEnum[keyof typeof SystemListRhelVersionEnum];
/**
* @export
* @enum {string}
@@ -243,7 +191,7 @@ const isSystemListObjectParams = (params: [SystemListParams] | unknown[]): param
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const systemListParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([SystemListParams] | [string, boolean, boolean, Array, boolean, Array, boolean, Array, boolean, number, number, string, Array, SystemListSortEnum, SystemListSystemTypeEnum, Array, Array, AxiosRequestConfig])) => {
+export const systemListParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([SystemListParams] | [string, boolean, boolean, Array, boolean, Array, boolean, Array, boolean, number, number, string, Array, SystemListSortEnum, SystemListSystemTypeEnum, Array, Array, AxiosRequestConfig])) => {
const params = isSystemListObjectParams(config) ? config[0] : ['displayName', 'filterSystemProfileAnsible', 'filterSystemProfileMssql', 'filterSystemProfileSapSidsContains', 'filterSystemProfileSapSystem', 'groups', 'hasDisabledRecommendation', 'hits', 'incident', 'limit', 'offset', 'pathway', 'rhelVersion', 'sort', 'systemType', 'tags', 'updateMethod', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as SystemListParams;
const { displayName, filterSystemProfileAnsible, filterSystemProfileMssql, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, hasDisabledRecommendation, hits, incident, limit, offset, pathway, rhelVersion, sort, systemType, tags, updateMethod, options = {} } = params;
const localVarPath = `/api/insights/v1/system/`;
diff --git a/packages/notifications/src/DrawerResourceV1GetDrawerEntries/index.ts b/packages/notifications/src/DrawerResourceV1GetDrawerEntries/index.ts
index fe28067fd..3a88d8c3d 100644
--- a/packages/notifications/src/DrawerResourceV1GetDrawerEntries/index.ts
+++ b/packages/notifications/src/DrawerResourceV1GetDrawerEntries/index.ts
@@ -91,7 +91,7 @@ const isDrawerResourceV1GetDrawerEntriesObjectParams = (params: [DrawerResourceV
return false
}
/**
-* Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
+* Retrieve paginated drawer notifications with optional filtering and sorting. Available filters: `bundleIds`, `appIds`, `eventTypeIds`, `startDate`, `endDate`, `readStatus`. Allowed `sort_by` fields: `bundle`, `application`, `event`, `created`. Sorting can be specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `created:desc`.
* @summary Retrieve drawer notifications entries.
* @param {DrawerResourceV1GetDrawerEntriesParams} config with all available params.
* @param {*} [options] Override http request option.
diff --git a/packages/notifications/src/types/index.ts b/packages/notifications/src/types/index.ts
index f7ed713ec..8d5c9519a 100644
--- a/packages/notifications/src/types/index.ts
+++ b/packages/notifications/src/types/index.ts
@@ -625,6 +625,12 @@ export interface EventType {
* @memberof EventType
*/
'restrict_to_recipients_integrations'?: any;
+ /**
+ *
+ * @type {any}
+ * @memberof EventType
+ */
+ 'included_in_drawer'?: any;
/**
*
* @type {any}
diff --git a/packages/notifications/src/v2/types/index.ts b/packages/notifications/src/v2/types/index.ts
index 586b969a2..8ea1b9bb4 100644
--- a/packages/notifications/src/v2/types/index.ts
+++ b/packages/notifications/src/v2/types/index.ts
@@ -356,6 +356,12 @@ export interface EventType {
* @memberof EventType
*/
'restrict_to_recipients_integrations'?: any;
+ /**
+ *
+ * @type {any}
+ * @memberof EventType
+ */
+ 'included_in_drawer'?: any;
/**
*
* @type {any}
diff --git a/packages/patch/src/ExportAdvisories/index.ts b/packages/patch/src/ExportAdvisories/index.ts
index 2720d6ec2..6da6b647c 100644
--- a/packages/patch/src/ExportAdvisories/index.ts
+++ b/packages/patch/src/ExportAdvisories/index.ts
@@ -56,6 +56,12 @@ export type ExportAdvisoriesParams = {
filterSeverity?: number,
/**
* Filter
+ * @type { ExportAdvisoriesFilterSeverityNameEnum }
+ * @memberof ExportAdvisoriesApi
+ */
+ filterSeverityName?: ExportAdvisoriesFilterSeverityNameEnum,
+ /**
+ * Filter
* @type { number }
* @memberof ExportAdvisoriesApi
*/
@@ -75,6 +81,17 @@ export const ExportAdvisoriesFilterAdvisoryTypeNameEnum = {
Security: 'security'
} as const;
export type ExportAdvisoriesFilterAdvisoryTypeNameEnum = typeof ExportAdvisoriesFilterAdvisoryTypeNameEnum[keyof typeof ExportAdvisoriesFilterAdvisoryTypeNameEnum];
+/**
+ * @export
+ * @enum {string}
+ */
+export const ExportAdvisoriesFilterSeverityNameEnum = {
+ Low: 'Low',
+ Medium: 'Medium',
+ High: 'High',
+ Critical: 'Critical'
+} as const;
+export type ExportAdvisoriesFilterSeverityNameEnum = typeof ExportAdvisoriesFilterSeverityNameEnum[keyof typeof ExportAdvisoriesFilterSeverityNameEnum];
export type ExportAdvisoriesReturnType = Array;
@@ -92,9 +109,9 @@ const isExportAdvisoriesObjectParams = (params: [ExportAdvisoriesParams] | unkno
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const exportAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ExportAdvisoriesParams] | [string, string, string, string, string, ExportAdvisoriesFilterAdvisoryTypeNameEnum, number, number, AxiosRequestConfig])) => {
- const params = isExportAdvisoriesObjectParams(config) ? config[0] : ['search', 'filterId', 'filterDescription', 'filterPublicDate', 'filterSynopsis', 'filterAdvisoryTypeName', 'filterSeverity', 'filterApplicableSystems', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ExportAdvisoriesParams;
- const { search, filterId, filterDescription, filterPublicDate, filterSynopsis, filterAdvisoryTypeName, filterSeverity, filterApplicableSystems, options = {} } = params;
+export const exportAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ExportAdvisoriesParams] | [string, string, string, string, string, ExportAdvisoriesFilterAdvisoryTypeNameEnum, number, ExportAdvisoriesFilterSeverityNameEnum, number, AxiosRequestConfig])) => {
+ const params = isExportAdvisoriesObjectParams(config) ? config[0] : ['search', 'filterId', 'filterDescription', 'filterPublicDate', 'filterSynopsis', 'filterAdvisoryTypeName', 'filterSeverity', 'filterSeverityName', 'filterApplicableSystems', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ExportAdvisoriesParams;
+ const { search, filterId, filterDescription, filterPublicDate, filterSynopsis, filterAdvisoryTypeName, filterSeverity, filterSeverityName, filterApplicableSystems, options = {} } = params;
const localVarPath = `/export/advisories`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -130,6 +147,10 @@ export const exportAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendReq
localVarQueryParameter['filter[severity]'] = filterSeverity;
}
+ if (filterSeverityName !== undefined) {
+ localVarQueryParameter['filter[severity_name]'] = filterSeverityName;
+ }
+
if (filterApplicableSystems !== undefined) {
localVarQueryParameter['filter[applicable_systems]'] = filterApplicableSystems;
}
diff --git a/packages/patch/src/ExportSystemAdvisories/index.ts b/packages/patch/src/ExportSystemAdvisories/index.ts
index c51222779..03dc32317 100644
--- a/packages/patch/src/ExportSystemAdvisories/index.ts
+++ b/packages/patch/src/ExportSystemAdvisories/index.ts
@@ -60,6 +60,12 @@ export type ExportSystemAdvisoriesParams = {
* @memberof ExportSystemAdvisoriesApi
*/
filterSeverity?: number,
+ /**
+ * Filter
+ * @type { ExportSystemAdvisoriesFilterSeverityNameEnum }
+ * @memberof ExportSystemAdvisoriesApi
+ */
+ filterSeverityName?: ExportSystemAdvisoriesFilterSeverityNameEnum,
options?: AxiosRequestConfig
}
/**
@@ -75,6 +81,17 @@ export const ExportSystemAdvisoriesFilterAdvisoryTypeNameEnum = {
Security: 'security'
} as const;
export type ExportSystemAdvisoriesFilterAdvisoryTypeNameEnum = typeof ExportSystemAdvisoriesFilterAdvisoryTypeNameEnum[keyof typeof ExportSystemAdvisoriesFilterAdvisoryTypeNameEnum];
+/**
+ * @export
+ * @enum {string}
+ */
+export const ExportSystemAdvisoriesFilterSeverityNameEnum = {
+ Low: 'Low',
+ Medium: 'Medium',
+ High: 'High',
+ Critical: 'Critical'
+} as const;
+export type ExportSystemAdvisoriesFilterSeverityNameEnum = typeof ExportSystemAdvisoriesFilterSeverityNameEnum[keyof typeof ExportSystemAdvisoriesFilterSeverityNameEnum];
export type ExportSystemAdvisoriesReturnType = Array;
@@ -92,9 +109,9 @@ const isExportSystemAdvisoriesObjectParams = (params: [ExportSystemAdvisoriesPar
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const exportSystemAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ExportSystemAdvisoriesParams] | [string, string, string, string, string, string, ExportSystemAdvisoriesFilterAdvisoryTypeNameEnum, number, AxiosRequestConfig])) => {
- const params = isExportSystemAdvisoriesObjectParams(config) ? config[0] : ['inventoryId', 'search', 'filterId', 'filterDescription', 'filterPublicDate', 'filterSynopsis', 'filterAdvisoryTypeName', 'filterSeverity', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ExportSystemAdvisoriesParams;
- const { inventoryId, search, filterId, filterDescription, filterPublicDate, filterSynopsis, filterAdvisoryTypeName, filterSeverity, options = {} } = params;
+export const exportSystemAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ExportSystemAdvisoriesParams] | [string, string, string, string, string, string, ExportSystemAdvisoriesFilterAdvisoryTypeNameEnum, number, ExportSystemAdvisoriesFilterSeverityNameEnum, AxiosRequestConfig])) => {
+ const params = isExportSystemAdvisoriesObjectParams(config) ? config[0] : ['inventoryId', 'search', 'filterId', 'filterDescription', 'filterPublicDate', 'filterSynopsis', 'filterAdvisoryTypeName', 'filterSeverity', 'filterSeverityName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ExportSystemAdvisoriesParams;
+ const { inventoryId, search, filterId, filterDescription, filterPublicDate, filterSynopsis, filterAdvisoryTypeName, filterSeverity, filterSeverityName, options = {} } = params;
const localVarPath = `/export/systems/{inventory_id}/advisories`
.replace(`{${"inventory_id"}}`, encodeURIComponent(String(inventoryId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -131,6 +148,10 @@ export const exportSystemAdvisoriesParamCreator = async (sendRequest: BaseAPI["s
localVarQueryParameter['filter[severity]'] = filterSeverity;
}
+ if (filterSeverityName !== undefined) {
+ localVarQueryParameter['filter[severity_name]'] = filterSeverityName;
+ }
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
diff --git a/packages/patch/src/ListAdvisories/index.ts b/packages/patch/src/ListAdvisories/index.ts
index bb73b11d9..7ed2eeb9b 100644
--- a/packages/patch/src/ListAdvisories/index.ts
+++ b/packages/patch/src/ListAdvisories/index.ts
@@ -74,6 +74,12 @@ export type ListAdvisoriesParams = {
filterSeverity?: number,
/**
* Filter
+ * @type { ListAdvisoriesFilterSeverityNameEnum }
+ * @memberof ListAdvisoriesApi
+ */
+ filterSeverityName?: ListAdvisoriesFilterSeverityNameEnum,
+ /**
+ * Filter
* @type { number }
* @memberof ListAdvisoriesApi
*/
@@ -161,6 +167,17 @@ export const ListAdvisoriesFilterAdvisoryTypeNameEnum = {
Security: 'security'
} as const;
export type ListAdvisoriesFilterAdvisoryTypeNameEnum = typeof ListAdvisoriesFilterAdvisoryTypeNameEnum[keyof typeof ListAdvisoriesFilterAdvisoryTypeNameEnum];
+/**
+ * @export
+ * @enum {string}
+ */
+export const ListAdvisoriesFilterSeverityNameEnum = {
+ Low: 'Low',
+ Medium: 'Medium',
+ High: 'High',
+ Critical: 'Critical'
+} as const;
+export type ListAdvisoriesFilterSeverityNameEnum = typeof ListAdvisoriesFilterSeverityNameEnum[keyof typeof ListAdvisoriesFilterSeverityNameEnum];
export type ListAdvisoriesReturnType = ControllersAdvisoriesResponse;
@@ -178,9 +195,9 @@ const isListAdvisoriesObjectParams = (params: [ListAdvisoriesParams] | unknown[]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const listAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ListAdvisoriesParams] | [number, number, ListAdvisoriesSortEnum, string, string, string, string, string, ListAdvisoriesFilterAdvisoryTypeNameEnum, number, number, number, Array, Array, boolean, Array, string, string, string, string, AxiosRequestConfig])) => {
- const params = isListAdvisoriesObjectParams(config) ? config[0] : ['limit', 'offset', 'sort', 'search', 'filterId', 'filterDescription', 'filterPublicDate', 'filterSynopsis', 'filterAdvisoryTypeName', 'filterSeverity', 'filterInstallableSystems', 'filterApplicableSystems', 'tags', 'filterGroupName', 'filterSystemProfileSapSystem', 'filterSystemProfileSapSids', 'filterSystemProfileAnsible', 'filterSystemProfileAnsibleControllerVersion', 'filterSystemProfileMssql', 'filterSystemProfileMssqlVersion', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ListAdvisoriesParams;
- const { limit, offset, sort, search, filterId, filterDescription, filterPublicDate, filterSynopsis, filterAdvisoryTypeName, filterSeverity, filterInstallableSystems, filterApplicableSystems, tags, filterGroupName, filterSystemProfileSapSystem, filterSystemProfileSapSids, filterSystemProfileAnsible, filterSystemProfileAnsibleControllerVersion, filterSystemProfileMssql, filterSystemProfileMssqlVersion, options = {} } = params;
+export const listAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ListAdvisoriesParams] | [number, number, ListAdvisoriesSortEnum, string, string, string, string, string, ListAdvisoriesFilterAdvisoryTypeNameEnum, number, ListAdvisoriesFilterSeverityNameEnum, number, number, Array, Array, boolean, Array, string, string, string, string, AxiosRequestConfig])) => {
+ const params = isListAdvisoriesObjectParams(config) ? config[0] : ['limit', 'offset', 'sort', 'search', 'filterId', 'filterDescription', 'filterPublicDate', 'filterSynopsis', 'filterAdvisoryTypeName', 'filterSeverity', 'filterSeverityName', 'filterInstallableSystems', 'filterApplicableSystems', 'tags', 'filterGroupName', 'filterSystemProfileSapSystem', 'filterSystemProfileSapSids', 'filterSystemProfileAnsible', 'filterSystemProfileAnsibleControllerVersion', 'filterSystemProfileMssql', 'filterSystemProfileMssqlVersion', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ListAdvisoriesParams;
+ const { limit, offset, sort, search, filterId, filterDescription, filterPublicDate, filterSynopsis, filterAdvisoryTypeName, filterSeverity, filterSeverityName, filterInstallableSystems, filterApplicableSystems, tags, filterGroupName, filterSystemProfileSapSystem, filterSystemProfileSapSids, filterSystemProfileAnsible, filterSystemProfileAnsibleControllerVersion, filterSystemProfileMssql, filterSystemProfileMssqlVersion, options = {} } = params;
const localVarPath = `/advisories`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -228,6 +245,10 @@ export const listAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendReque
localVarQueryParameter['filter[severity]'] = filterSeverity;
}
+ if (filterSeverityName !== undefined) {
+ localVarQueryParameter['filter[severity_name]'] = filterSeverityName;
+ }
+
if (filterInstallableSystems !== undefined) {
localVarQueryParameter['filter[installable_systems]'] = filterInstallableSystems;
}
diff --git a/packages/patch/src/ListAdvisorySystemsIds/index.ts b/packages/patch/src/ListAdvisorySystemsIds/index.ts
index 8abf7e6dc..586c6aa22 100644
--- a/packages/patch/src/ListAdvisorySystemsIds/index.ts
+++ b/packages/patch/src/ListAdvisorySystemsIds/index.ts
@@ -53,12 +53,6 @@ export type ListAdvisorySystemsIdsParams = {
* @type { string }
* @memberof ListAdvisorySystemsIdsApi
*/
- filterInsightsId?: string,
- /**
- * Filter
- * @type { string }
- * @memberof ListAdvisorySystemsIdsApi
- */
filterDisplayName?: string,
/**
* Filter
@@ -247,9 +241,9 @@ const isListAdvisorySystemsIdsObjectParams = (params: [ListAdvisorySystemsIdsPar
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const listAdvisorySystemsIdsParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ListAdvisorySystemsIdsParams] | [string, number, number, ListAdvisorySystemsIdsSortEnum, string, string, string, string, string, string, number, number, number, number, boolean, boolean, string, string, string, string, string, string, string, string, boolean, Array, Array, boolean, Array, string, string, string, string, AxiosRequestConfig])) => {
- const params = isListAdvisorySystemsIdsObjectParams(config) ? config[0] : ['advisoryId', 'limit', 'offset', 'sort', 'search', 'filterId', 'filterInsightsId', 'filterDisplayName', 'filterLastEvaluation', 'filterLastUpload', 'filterRhsaCount', 'filterRhbaCount', 'filterRheaCount', 'filterOtherCount', 'filterSatelliteManaged', 'filterStale', 'filterStaleTimestamp', 'filterStaleWarningTimestamp', 'filterCulledTimestamp', 'filterCreated', 'filterOsname', 'filterOsminor', 'filterOsmajor', 'filterOs', 'filterBuiltPkgcache', 'tags', 'filterGroupName', 'filterSystemProfileSapSystem', 'filterSystemProfileSapSids', 'filterSystemProfileAnsible', 'filterSystemProfileAnsibleControllerVersion', 'filterSystemProfileMssql', 'filterSystemProfileMssqlVersion', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ListAdvisorySystemsIdsParams;
- const { advisoryId, limit, offset, sort, search, filterId, filterInsightsId, filterDisplayName, filterLastEvaluation, filterLastUpload, filterRhsaCount, filterRhbaCount, filterRheaCount, filterOtherCount, filterSatelliteManaged, filterStale, filterStaleTimestamp, filterStaleWarningTimestamp, filterCulledTimestamp, filterCreated, filterOsname, filterOsminor, filterOsmajor, filterOs, filterBuiltPkgcache, tags, filterGroupName, filterSystemProfileSapSystem, filterSystemProfileSapSids, filterSystemProfileAnsible, filterSystemProfileAnsibleControllerVersion, filterSystemProfileMssql, filterSystemProfileMssqlVersion, options = {} } = params;
+export const listAdvisorySystemsIdsParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ListAdvisorySystemsIdsParams] | [string, number, number, ListAdvisorySystemsIdsSortEnum, string, string, string, string, string, number, number, number, number, boolean, boolean, string, string, string, string, string, string, string, string, boolean, Array, Array, boolean, Array, string, string, string, string, AxiosRequestConfig])) => {
+ const params = isListAdvisorySystemsIdsObjectParams(config) ? config[0] : ['advisoryId', 'limit', 'offset', 'sort', 'search', 'filterId', 'filterDisplayName', 'filterLastEvaluation', 'filterLastUpload', 'filterRhsaCount', 'filterRhbaCount', 'filterRheaCount', 'filterOtherCount', 'filterSatelliteManaged', 'filterStale', 'filterStaleTimestamp', 'filterStaleWarningTimestamp', 'filterCulledTimestamp', 'filterCreated', 'filterOsname', 'filterOsminor', 'filterOsmajor', 'filterOs', 'filterBuiltPkgcache', 'tags', 'filterGroupName', 'filterSystemProfileSapSystem', 'filterSystemProfileSapSids', 'filterSystemProfileAnsible', 'filterSystemProfileAnsibleControllerVersion', 'filterSystemProfileMssql', 'filterSystemProfileMssqlVersion', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ListAdvisorySystemsIdsParams;
+ const { advisoryId, limit, offset, sort, search, filterId, filterDisplayName, filterLastEvaluation, filterLastUpload, filterRhsaCount, filterRhbaCount, filterRheaCount, filterOtherCount, filterSatelliteManaged, filterStale, filterStaleTimestamp, filterStaleWarningTimestamp, filterCulledTimestamp, filterCreated, filterOsname, filterOsminor, filterOsmajor, filterOs, filterBuiltPkgcache, tags, filterGroupName, filterSystemProfileSapSystem, filterSystemProfileSapSids, filterSystemProfileAnsible, filterSystemProfileAnsibleControllerVersion, filterSystemProfileMssql, filterSystemProfileMssqlVersion, options = {} } = params;
const localVarPath = `/ids/advisories/{advisory_id}/systems`
.replace(`{${"advisory_id"}}`, encodeURIComponent(String(advisoryId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -278,10 +272,6 @@ export const listAdvisorySystemsIdsParamCreator = async (sendRequest: BaseAPI["s
localVarQueryParameter['filter[id]'] = filterId;
}
- if (filterInsightsId !== undefined) {
- localVarQueryParameter['filter[insights_id]'] = filterInsightsId;
- }
-
if (filterDisplayName !== undefined) {
localVarQueryParameter['filter[display_name]'] = filterDisplayName;
}
diff --git a/packages/patch/src/ListSystemAdvisories/index.ts b/packages/patch/src/ListSystemAdvisories/index.ts
index b426e9117..f26df0ce4 100644
--- a/packages/patch/src/ListSystemAdvisories/index.ts
+++ b/packages/patch/src/ListSystemAdvisories/index.ts
@@ -78,6 +78,12 @@ export type ListSystemAdvisoriesParams = {
* @memberof ListSystemAdvisoriesApi
*/
filterSeverity?: number,
+ /**
+ * Filter
+ * @type { ListSystemAdvisoriesFilterSeverityNameEnum }
+ * @memberof ListSystemAdvisoriesApi
+ */
+ filterSeverityName?: ListSystemAdvisoriesFilterSeverityNameEnum,
options?: AxiosRequestConfig
}
/**
@@ -105,6 +111,17 @@ export const ListSystemAdvisoriesFilterAdvisoryTypeNameEnum = {
Security: 'security'
} as const;
export type ListSystemAdvisoriesFilterAdvisoryTypeNameEnum = typeof ListSystemAdvisoriesFilterAdvisoryTypeNameEnum[keyof typeof ListSystemAdvisoriesFilterAdvisoryTypeNameEnum];
+/**
+ * @export
+ * @enum {string}
+ */
+export const ListSystemAdvisoriesFilterSeverityNameEnum = {
+ Low: 'Low',
+ Medium: 'Medium',
+ High: 'High',
+ Critical: 'Critical'
+} as const;
+export type ListSystemAdvisoriesFilterSeverityNameEnum = typeof ListSystemAdvisoriesFilterSeverityNameEnum[keyof typeof ListSystemAdvisoriesFilterSeverityNameEnum];
export type ListSystemAdvisoriesReturnType = ControllersSystemAdvisoriesResponse;
@@ -122,9 +139,9 @@ const isListSystemAdvisoriesObjectParams = (params: [ListSystemAdvisoriesParams]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const listSystemAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ListSystemAdvisoriesParams] | [string, number, number, ListSystemAdvisoriesSortEnum, string, string, string, string, string, ListSystemAdvisoriesFilterAdvisoryTypeNameEnum, number, AxiosRequestConfig])) => {
- const params = isListSystemAdvisoriesObjectParams(config) ? config[0] : ['inventoryId', 'limit', 'offset', 'sort', 'search', 'filterId', 'filterDescription', 'filterPublicDate', 'filterSynopsis', 'filterAdvisoryTypeName', 'filterSeverity', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ListSystemAdvisoriesParams;
- const { inventoryId, limit, offset, sort, search, filterId, filterDescription, filterPublicDate, filterSynopsis, filterAdvisoryTypeName, filterSeverity, options = {} } = params;
+export const listSystemAdvisoriesParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([ListSystemAdvisoriesParams] | [string, number, number, ListSystemAdvisoriesSortEnum, string, string, string, string, string, ListSystemAdvisoriesFilterAdvisoryTypeNameEnum, number, ListSystemAdvisoriesFilterSeverityNameEnum, AxiosRequestConfig])) => {
+ const params = isListSystemAdvisoriesObjectParams(config) ? config[0] : ['inventoryId', 'limit', 'offset', 'sort', 'search', 'filterId', 'filterDescription', 'filterPublicDate', 'filterSynopsis', 'filterAdvisoryTypeName', 'filterSeverity', 'filterSeverityName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as ListSystemAdvisoriesParams;
+ const { inventoryId, limit, offset, sort, search, filterId, filterDescription, filterPublicDate, filterSynopsis, filterAdvisoryTypeName, filterSeverity, filterSeverityName, options = {} } = params;
const localVarPath = `/systems/{inventory_id}/advisories`
.replace(`{${"inventory_id"}}`, encodeURIComponent(String(inventoryId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -173,6 +190,10 @@ export const listSystemAdvisoriesParamCreator = async (sendRequest: BaseAPI["sen
localVarQueryParameter['filter[severity]'] = filterSeverity;
}
+ if (filterSeverityName !== undefined) {
+ localVarQueryParameter['filter[severity_name]'] = filterSeverityName;
+ }
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
diff --git a/packages/patch/src/types/index.ts b/packages/patch/src/types/index.ts
index 733b359a1..861597a5e 100644
--- a/packages/patch/src/types/index.ts
+++ b/packages/patch/src/types/index.ts
@@ -64,6 +64,12 @@ export interface ControllersAdvisoriesDBLookup {
* @memberof ControllersAdvisoriesDBLookup
*/
'severity'?: number;
+ /**
+ *
+ * @type {string}
+ * @memberof ControllersAdvisoriesDBLookup
+ */
+ 'severity_name'?: string;
/**
*
* @type {string}
@@ -193,6 +199,12 @@ export interface ControllersAdvisoryDetailAttributes {
* @memberof ControllersAdvisoryDetailAttributes
*/
'severity'?: number;
+ /**
+ *
+ * @type {string}
+ * @memberof ControllersAdvisoryDetailAttributes
+ */
+ 'severity_name'?: string;
/**
*
* @type {string}
@@ -335,6 +347,12 @@ export interface ControllersAdvisoryItemAttributes {
* @memberof ControllersAdvisoryItemAttributes
*/
'severity'?: number;
+ /**
+ *
+ * @type {string}
+ * @memberof ControllersAdvisoryItemAttributes
+ */
+ 'severity_name'?: string;
/**
*
* @type {string}
@@ -1198,6 +1216,12 @@ export interface ControllersSystemAdvisoriesDBLookup {
* @memberof ControllersSystemAdvisoriesDBLookup
*/
'severity'?: number;
+ /**
+ *
+ * @type {string}
+ * @memberof ControllersSystemAdvisoriesDBLookup
+ */
+ 'severity_name'?: string;
/**
*
* @type {string}
@@ -1309,6 +1333,12 @@ export interface ControllersSystemAdvisoryItemAttributes {
* @memberof ControllersSystemAdvisoryItemAttributes
*/
'severity'?: number;
+ /**
+ *
+ * @type {string}
+ * @memberof ControllersSystemAdvisoryItemAttributes
+ */
+ 'severity_name'?: string;
/**
*
* @type {string}
@@ -1891,12 +1921,6 @@ export interface ControllersSystemItemAttributesExtended {
* @memberof ControllersSystemItemAttributesExtended
*/
'groups'?: Array;
- /**
- *
- * @type {string}
- * @memberof ControllersSystemItemAttributesExtended
- */
- 'insights_id'?: string;
/**
*
* @type {number}
diff --git a/packages/quickstarts/src/QuickstartsGet/index.ts b/packages/quickstarts/src/QuickstartsGet/index.ts
index 8e0d4d3b9..fd85beeb6 100644
--- a/packages/quickstarts/src/QuickstartsGet/index.ts
+++ b/packages/quickstarts/src/QuickstartsGet/index.ts
@@ -67,6 +67,12 @@ export type QuickstartsGetParams = {
*/
displayName?: string,
/**
+ * Enable fuzzy search using Levenshtein distance for typo tolerance (searches spec.displayName)
+ * @type { boolean }
+ * @memberof QuickstartsGetApi
+ */
+ fuzzy?: boolean,
+ /**
* Pagination limit
* @type { number }
* @memberof QuickstartsGetApi
@@ -97,9 +103,9 @@ const isQuickstartsGetObjectParams = (params: [QuickstartsGetParams] | unknown[]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const quickstartsGetParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([QuickstartsGetParams] | [Array, Array, Array, Array, Array, Array, Array, string, string, number, number, AxiosRequestConfig])) => {
- const params = isQuickstartsGetObjectParams(config) ? config[0] : ['productFamilies', 'content', 'useCase', 'bundle', 'application', 'kind', 'topic', 'name', 'displayName', 'limit', 'offset', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as QuickstartsGetParams;
- const { productFamilies, content, useCase, bundle, application, kind, topic, name, displayName, limit, offset, options = {} } = params;
+export const quickstartsGetParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([QuickstartsGetParams] | [Array, Array, Array, Array, Array, Array, Array, string, string, boolean, number, number, AxiosRequestConfig])) => {
+ const params = isQuickstartsGetObjectParams(config) ? config[0] : ['productFamilies', 'content', 'useCase', 'bundle', 'application', 'kind', 'topic', 'name', 'displayName', 'fuzzy', 'limit', 'offset', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as QuickstartsGetParams;
+ const { productFamilies, content, useCase, bundle, application, kind, topic, name, displayName, fuzzy, limit, offset, options = {} } = params;
const localVarPath = `/quickstarts`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -143,6 +149,10 @@ export const quickstartsGetParamCreator = async (sendRequest: BaseAPI["sendReque
localVarQueryParameter['display-name'] = displayName;
}
+ if (fuzzy !== undefined) {
+ localVarQueryParameter['fuzzy'] = fuzzy;
+ }
+
if (limit !== undefined) {
localVarQueryParameter['limit'] = limit;
}
diff --git a/packages/rbac/src/v2/RoleBindingsListBySubject/index.ts b/packages/rbac/src/v2/RoleBindingsListBySubject/index.ts
index 510387b9d..caae244c8 100644
--- a/packages/rbac/src/v2/RoleBindingsListBySubject/index.ts
+++ b/packages/rbac/src/v2/RoleBindingsListBySubject/index.ts
@@ -13,29 +13,35 @@ import type { ExcludeSources, ProblemsProblem403, ResourceType, RoleBindingsBind
export type RoleBindingsListBySubjectParams = {
/**
- * Filter by resource ID. For workspace: UUID. For tenant: tenant resource ID (format: {domain}/{org_id}).
+ *
+ * @type { number }
+ * @memberof RoleBindingsListBySubjectApi
+ */
+ limit?: number,
+ /**
+ * Cursor for cursor-based pagination.
* @type { string }
* @memberof RoleBindingsListBySubjectApi
*/
- resourceId: string,
+ cursor?: string,
/**
- * Filter by resource type
- * @type { ResourceType }
+ * Filter by resource ID. For workspace: UUID. For tenant: tenant resource ID (format: {domain}/{org_id}). Required unless resource.tenant.org_id is provided.
+ * @type { string }
* @memberof RoleBindingsListBySubjectApi
*/
- resourceType: ResourceType,
+ resourceId?: string,
/**
- *
- * @type { number }
+ * Filter by resource type. Required unless resource.tenant.org_id is provided.
+ * @type { ResourceType }
* @memberof RoleBindingsListBySubjectApi
*/
- limit?: number,
+ resourceType?: ResourceType,
/**
- * Cursor for cursor-based pagination.
+ * Org ID of the tenant resource to filter by. Cannot be combined with resource_id. When provided, resource_type is implicitly \'tenant\'.
* @type { string }
* @memberof RoleBindingsListBySubjectApi
*/
- cursor?: string,
+ resourceTenantOrgId?: string,
/**
* Filter by binding subject kind: group or user (principal UUID). There is no granted_subject.* on this endpoint.
* @type { RoleBindingsBindingSubjectType }
@@ -74,7 +80,7 @@ export type RoleBindingsListBySubjectReturnType = RoleBindingsListBySubject200Re
const isRoleBindingsListBySubjectObjectParams = (params: [RoleBindingsListBySubjectParams] | unknown[]): params is [RoleBindingsListBySubjectParams] => {
const l = params.length === 1
if(l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
- return true && Object.prototype.hasOwnProperty.call(params[0], 'resourceId') && Object.prototype.hasOwnProperty.call(params[0], 'resourceType')
+ return true
}
return false
}
@@ -85,9 +91,9 @@ const isRoleBindingsListBySubjectObjectParams = (params: [RoleBindingsListBySubj
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const roleBindingsListBySubjectParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([RoleBindingsListBySubjectParams] | [string, ResourceType, number, string, RoleBindingsBindingSubjectType, string, ExcludeSources, string, string, AxiosRequestConfig])) => {
- const params = isRoleBindingsListBySubjectObjectParams(config) ? config[0] : ['resourceId', 'resourceType', 'limit', 'cursor', 'subjectType', 'subjectId', 'excludeSources', 'fields', 'orderBy', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as RoleBindingsListBySubjectParams;
- const { resourceId, resourceType, limit, cursor, subjectType, subjectId, excludeSources, fields, orderBy, options = {} } = params;
+export const roleBindingsListBySubjectParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([RoleBindingsListBySubjectParams] | [number, string, string, ResourceType, string, RoleBindingsBindingSubjectType, string, ExcludeSources, string, string, AxiosRequestConfig])) => {
+ const params = isRoleBindingsListBySubjectObjectParams(config) ? config[0] : ['limit', 'cursor', 'resourceId', 'resourceType', 'resourceTenantOrgId', 'subjectType', 'subjectId', 'excludeSources', 'fields', 'orderBy', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as RoleBindingsListBySubjectParams;
+ const { limit, cursor, resourceId, resourceType, resourceTenantOrgId, subjectType, subjectId, excludeSources, fields, orderBy, options = {} } = params;
const localVarPath = `/role-bindings/by-subject/`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -111,6 +117,10 @@ export const roleBindingsListBySubjectParamCreator = async (sendRequest: BaseAPI
localVarQueryParameter['resource_type'] = resourceType;
}
+ if (resourceTenantOrgId !== undefined) {
+ localVarQueryParameter['resource.tenant.org_id'] = resourceTenantOrgId;
+ }
+
if (subjectType !== undefined) {
localVarQueryParameter['subject_type'] = subjectType;
}
diff --git a/packages/rbac/src/v2/RoleBindingsUpdate/index.ts b/packages/rbac/src/v2/RoleBindingsUpdate/index.ts
index 8a38dc783..9d7d4c520 100644
--- a/packages/rbac/src/v2/RoleBindingsUpdate/index.ts
+++ b/packages/rbac/src/v2/RoleBindingsUpdate/index.ts
@@ -12,18 +12,6 @@ import type { ProblemsProblem400, ProblemsProblem403, ProblemsProblem404, Resour
export type RoleBindingsUpdateParams = {
- /**
- * Identify the resource ID for the set of role bindings to replace. For workspace: UUID. For tenant: tenant resource ID (format: {domain}/{org_id}).
- * @type { string }
- * @memberof RoleBindingsUpdateApi
- */
- resourceId: string,
- /**
- * Identify the resource type for the set of role bindings to replace
- * @type { ResourceType }
- * @memberof RoleBindingsUpdateApi
- */
- resourceType: ResourceType,
/**
* Identify the subject ID for the set of role bindings to replace
* @type { string }
@@ -43,6 +31,24 @@ export type RoleBindingsUpdateParams = {
*/
roleBindingsUpdateRoleBindingsRequest: RoleBindingsUpdateRoleBindingsRequest,
/**
+ * Identify the resource ID for the set of role bindings to replace. For workspace: UUID. For tenant: tenant resource ID (format: {domain}/{org_id}). Required unless resource.tenant.org_id is provided.
+ * @type { string }
+ * @memberof RoleBindingsUpdateApi
+ */
+ resourceId?: string,
+ /**
+ * Identify the resource type for the set of role bindings to replace. Required unless resource.tenant.org_id is provided.
+ * @type { ResourceType }
+ * @memberof RoleBindingsUpdateApi
+ */
+ resourceType?: ResourceType,
+ /**
+ * Org ID of the tenant resource. Cannot be combined with resource_id. When provided, resource_type is implicitly \'tenant\'.
+ * @type { string }
+ * @memberof RoleBindingsUpdateApi
+ */
+ resourceTenantOrgId?: string,
+ /**
*
* @type { string }
* @memberof RoleBindingsUpdateApi
@@ -56,7 +62,7 @@ export type RoleBindingsUpdateReturnType = RoleBindingsRoleBindingBySubject;
const isRoleBindingsUpdateObjectParams = (params: [RoleBindingsUpdateParams] | unknown[]): params is [RoleBindingsUpdateParams] => {
const l = params.length === 1
if(l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
- return true && Object.prototype.hasOwnProperty.call(params[0], 'resourceId') && Object.prototype.hasOwnProperty.call(params[0], 'resourceType') && Object.prototype.hasOwnProperty.call(params[0], 'subjectId') && Object.prototype.hasOwnProperty.call(params[0], 'subjectType') && Object.prototype.hasOwnProperty.call(params[0], 'roleBindingsUpdateRoleBindingsRequest')
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'subjectId') && Object.prototype.hasOwnProperty.call(params[0], 'subjectType') && Object.prototype.hasOwnProperty.call(params[0], 'roleBindingsUpdateRoleBindingsRequest')
}
return false
}
@@ -67,9 +73,9 @@ const isRoleBindingsUpdateObjectParams = (params: [RoleBindingsUpdateParams] | u
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const roleBindingsUpdateParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([RoleBindingsUpdateParams] | [string, ResourceType, string, RoleBindingsBindingSubjectType, RoleBindingsUpdateRoleBindingsRequest, string, AxiosRequestConfig])) => {
- const params = isRoleBindingsUpdateObjectParams(config) ? config[0] : ['resourceId', 'resourceType', 'subjectId', 'subjectType', 'roleBindingsUpdateRoleBindingsRequest', 'fields', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as RoleBindingsUpdateParams;
- const { resourceId, resourceType, subjectId, subjectType, roleBindingsUpdateRoleBindingsRequest, fields, options = {} } = params;
+export const roleBindingsUpdateParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([RoleBindingsUpdateParams] | [string, RoleBindingsBindingSubjectType, RoleBindingsUpdateRoleBindingsRequest, string, ResourceType, string, string, AxiosRequestConfig])) => {
+ const params = isRoleBindingsUpdateObjectParams(config) ? config[0] : ['subjectId', 'subjectType', 'roleBindingsUpdateRoleBindingsRequest', 'resourceId', 'resourceType', 'resourceTenantOrgId', 'fields', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as RoleBindingsUpdateParams;
+ const { subjectId, subjectType, roleBindingsUpdateRoleBindingsRequest, resourceId, resourceType, resourceTenantOrgId, fields, options = {} } = params;
const localVarPath = `/role-bindings/by-subject/`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -85,6 +91,10 @@ export const roleBindingsUpdateParamCreator = async (sendRequest: BaseAPI["sendR
localVarQueryParameter['resource_type'] = resourceType;
}
+ if (resourceTenantOrgId !== undefined) {
+ localVarQueryParameter['resource.tenant.org_id'] = resourceTenantOrgId;
+ }
+
if (subjectId !== undefined) {
localVarQueryParameter['subject_id'] = subjectId;
}
diff --git a/packages/rbac/src/v2/WorkspacesList/index.ts b/packages/rbac/src/v2/WorkspacesList/index.ts
index 1f76e06a1..d8ff1c8bf 100644
--- a/packages/rbac/src/v2/WorkspacesList/index.ts
+++ b/packages/rbac/src/v2/WorkspacesList/index.ts
@@ -8,7 +8,7 @@ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/b
import { Configuration } from '@redhat-cloud-services/javascript-clients-shared/dist/configuration';
// @ts-ignore
-import type { ProblemsProblem403, RoleBindingsList401Response, RoleBindingsList500Response, WorkspacesWorkspaceListResponse, WorkspacesWorkspaceTypesQueryParam } from '../types';
+import type { ProblemsProblem403, RoleBindingsList401Response, RoleBindingsList500Response, WorkspacesWorkspaceListResponse } from '../types';
export type WorkspacesListParams = {
@@ -25,11 +25,11 @@ export type WorkspacesListParams = {
*/
offset?: number,
/**
- * Defaults to all when param is not supplied.
- * @type { WorkspacesWorkspaceTypesQueryParam }
+ * Filter by workspace type. Supports comma-separated values (e.g. type=standard,ungrouped-hosts). Defaults to all when not supplied. Case-insensitive.
+ * @type { string }
* @memberof WorkspacesListApi
*/
- type?: WorkspacesWorkspaceTypesQueryParam,
+ type?: string,
/**
* Case sensitive exact match of workspace by name.
* @type { string }
@@ -73,7 +73,7 @@ const isWorkspacesListObjectParams = (params: [WorkspacesListParams] | unknown[]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
-export const workspacesListParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([WorkspacesListParams] | [number, number, WorkspacesWorkspaceTypesQueryParam, string, string, Array, string, AxiosRequestConfig])) => {
+export const workspacesListParamCreator = async (sendRequest: BaseAPI["sendRequest"], ...config: ([WorkspacesListParams] | [number, number, string, string, string, Array, string, AxiosRequestConfig])) => {
const params = isWorkspacesListObjectParams(config) ? config[0] : ['limit', 'offset', 'type', 'name', 'parentId', 'ids', 'orderBy', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as WorkspacesListParams;
const { limit, offset, type, name, parentId, ids, orderBy, options = {} } = params;
const localVarPath = `/workspaces/`;
diff --git a/packages/remediations/src/types/index.ts b/packages/remediations/src/types/index.ts
index 7adef0a73..3ae278a7d 100644
--- a/packages/remediations/src/types/index.ts
+++ b/packages/remediations/src/types/index.ts
@@ -1401,6 +1401,12 @@ export interface RemediationListItem {
* @memberof RemediationListItem
*/
'archived': boolean;
+ /**
+ * Timestamp of the most recent playbook run for the remediation or null if never executed
+ * @type {string}
+ * @memberof RemediationListItem
+ */
+ 'last_run_at'?: string | null;
/**
*
* @type {Array}
diff --git a/packages/vulnerabilities/api.ts b/packages/vulnerabilities/api.ts
index 1c6530874..ec72b5d62 100644
--- a/packages/vulnerabilities/api.ts
+++ b/packages/vulnerabilities/api.ts
@@ -3,7 +3,7 @@
* Vulnerability Engine Manager
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
- * The version of the OpenAPI document: 2.70.8
+ * The version of the OpenAPI document: 2.74.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,1041 +33,2170 @@ export interface AffectedSystemsIdsOut {
data: string | Array